|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("6MrE"),p=i.n(E)},"+QRC":function(U,R,i){"use strict";var y=i("E9nw"),m={"text/plain":"Text","text/html":"Url",default:"Text"},E="Copy to clipboard: #{key}, Enter";function p(f){var d=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return f.replace(/#{\s*key\s*}/g,d)}function v(f,d){var l,n,t,a,s,r,c=!1;d||(d={}),l=d.debug||!1;try{t=y(),a=document.createRange(),s=document.getSelection(),r=document.createElement("span"),r.textContent=f,r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(o){if(o.stopPropagation(),d.format)if(o.preventDefault(),typeof o.clipboardData=="undefined"){l&&console.warn("unable to use e.clipboardData"),l&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=m[d.format]||m.default;window.clipboardData.setData(u,f)}else o.clipboardData.clearData(),o.clipboardData.setData(d.format,f);d.onCopy&&(o.preventDefault(),d.onCopy(o.clipboardData))}),document.body.appendChild(r),a.selectNodeContents(r),s.addRange(a);var e=document.execCommand("copy");if(!e)throw new Error("copy command was unsuccessful");c=!0}catch(o){l&&console.error("unable to copy using execCommand: ",o),l&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(d.format||"text",f),d.onCopy&&d.onCopy(window.clipboardData),c=!0}catch(u){l&&console.error("unable to copy using clipboardData: ",u),l&&console.error("falling back to prompt"),n=p("message"in d?d.message:E),window.prompt(n,f)}}finally{s&&(typeof s.removeRange=="function"?s.removeRange(a):s.removeAllRanges()),r&&document.body.removeChild(r),t()}return c}U.exports=v},"+TT/":function(U,R,i){var y=i("bYtY"),m=i("mFDi"),E=i("OELB"),p=E.parsePercent,v=i("7aKB"),f=y.each,d=["left","right","top","bottom","width","height"],l=[["width","left","right"],["height","top","bottom"]];function n(A,w,x,C,T){var O=0,S=0;C==null&&(C=Infinity),T==null&&(T=Infinity);var _=0;w.eachChild(function(L,D){var F=L.position,j=L.getBoundingRect(),k=w.childAt(D+1),K=k&&k.getBoundingRect(),Z,B;if(A==="horizontal"){var V=j.width+(K?-K.x+j.x:0);Z=O+V,Z>C||L.newline?(O=0,Z=V,S+=_+x,_=j.height):_=Math.max(_,j.height)}else{var z=j.height+(K?-K.y+j.y:0);B=S+z,B>T||L.newline?(O+=_+x,S=0,B=z,_=j.width):_=Math.max(_,j.width)}if(L.newline)return;F[0]=O,F[1]=S,A==="horizontal"?O=Z+x:S=B+x})}var t=n,a=y.curry(n,"vertical"),s=y.curry(n,"horizontal");function r(A,w,x){var C=w.width,T=w.height,O=p(A.x,C),S=p(A.y,T),_=p(A.x2,C),L=p(A.y2,T);return(isNaN(O)||isNaN(parseFloat(A.x)))&&(O=0),(isNaN(_)||isNaN(parseFloat(A.x2)))&&(_=C),(isNaN(S)||isNaN(parseFloat(A.y)))&&(S=0),(isNaN(L)||isNaN(parseFloat(A.y2)))&&(L=T),x=v.normalizeCssArray(x||0),{width:Math.max(_-O-x[1]-x[3],0),height:Math.max(L-S-x[0]-x[2],0)}}function c(A,w,x){x=v.normalizeCssArray(x||0);var C=w.width,T=w.height,O=p(A.left,C),S=p(A.top,T),_=p(A.right,C),L=p(A.bottom,T),D=p(A.width,C),F=p(A.height,T),j=x[2]+x[0],k=x[1]+x[3],K=A.aspect;isNaN(D)&&(D=C-_-k-O),isNaN(F)&&(F=T-L-j-S),K!=null&&(isNaN(D)&&isNaN(F)&&(K>C/T?D=C*.8:F=T*.8),isNaN(D)&&(D=K*F),isNaN(F)&&(F=D/K)),isNaN(O)&&(O=C-_-D-k),isNaN(S)&&(S=T-L-F-j);switch(A.left||A.right){case"center":O=C/2-D/2-x[3];break;case"right":O=C-D-k;break}switch(A.top||A.bottom){case"middle":case"center":S=T/2-F/2-x[0];break;case"bottom":S=T-F-j;break}O=O||0,S=S||0,isNaN(D)&&(D=C-k-O-(_||0)),isNaN(F)&&(F=T-j-S-(L||0));var Z=new m(O+x[3],S+x[0],D,F);return Z.margin=x,Z}function e(A,w,x,C,T){var O=!T||!T.hv||T.hv[0],S=!T||!T.hv||T.hv[1],_=T&&T.boundingMode||"all";if(!O&&!S)return;var L;if(_==="raw")L=A.type==="group"?new m(0,0,+w.width||0,+w.height||0):A.getBoundingRect();else if(L=A.getBoundingRect(),A.needLocalTransform()){var D=A.getLocalTransform();L=L.clone(),L.applyTransform(D)}w=c(y.defaults({width:L.width,height:L.height},w),x,C);var F=A.position,j=O?w.x-L.x:0,k=S?w.y-L.y:0;A.attr("position",_==="raw"?[j,k]:[F[0]+j,F[1]+k])}function o(A,w){return A[l[w][0]]!=null||A[l[w][1]]!=null&&A[l[w][2]]!=null}function u(A,w,x){!y.isObject(x)&&(x={});var C=x.ignoreSize;!y.isArray(C)&&(C=[C,C]);var T=S(l[0],0),O=S(l[1],1);D(l[0],A,T),D(l[1],A,O);function S(F,j){var k={},K=0,Z={},B=0,V=2;if(f(F,function(W){Z[W]=A[W]}),f(F,function(W){_(w,W)&&(k[W]=Z[W]=w[W]),L(k,W)&&K++,L(Z,W)&&B++}),C[j])return L(w,F[1])?Z[F[2]]=null:L(w,F[2])&&(Z[F[1]]=null),Z;if(B===V||!K)return Z;if(K>=V)return k;for(var z=0;z<F.length;z++){var X=F[z];if(!_(k,X)&&_(A,X)){k[X]=A[X];break}}return k}function _(F,j){return F.hasOwnProperty(j)}function L(F,j){return F[j]!=null&&F[j]!=="auto"}function D(F,j,k){f(F,function(K){j[K]=k[K]})}}function h(A){return g({},A)}function g(A,w){return w&&A&&f(d,function(x){w.hasOwnProperty(x)&&(A[x]=w[x])}),A}R.LOCATION_PARAMS=d,R.HV_NAMES=l,R.box=t,R.vbox=a,R.hbox=s,R.getAvailableSize=r,R.getLayoutRect=c,R.positionElement=e,R.sizeCalculable=o,R.mergeLayoutParam=u,R.getLayoutParams=h,R.copyLayoutParams=g},"+Zaj":function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("ugBc")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CalendarOutlined";var l=p.forwardRef(d);R.default=l},"+d4F":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("y3Yb"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},"+eQT":function(U,R,i){"use strict";var y=i("wd/R"),m=i.n(y),E=i("Kwbf"),p={getNow:function(){return m()()},getWeekDay:function(Ft){var Cr=Ft.clone().locale("en_US");return Cr.weekday()+Cr.localeData().firstDayOfWeek()},getYear:function(Ft){return Ft.year()},getMonth:function(Ft){return Ft.month()},getDate:function(Ft){return Ft.date()},getHour:function(Ft){return Ft.hour()},getMinute:function(Ft){return Ft.minute()},getSecond:function(Ft){return Ft.second()},addYear:function(Ft,Cr){var gr=Ft.clone();return gr.add(Cr,"year")},addMonth:function(Ft,Cr){var gr=Ft.clone();return gr.add(Cr,"month")},addDate:function(Ft,Cr){var gr=Ft.clone();return gr.add(Cr,"day")},setYear:function(Ft,Cr){var gr=Ft.clone();return gr.year(Cr)},setMonth:function(Ft,Cr){var gr=Ft.clone();return gr.month(Cr)},setDate:function(Ft,Cr){var gr=Ft.clone();return gr.date(Cr)},setHour:function(Ft,Cr){var gr=Ft.clone();return gr.hour(Cr)},setMinute:function(Ft,Cr){var gr=Ft.clone();return gr.minute(Cr)},setSecond:function(Ft,Cr){var gr=Ft.clone();return gr.second(Cr)},isAfter:function(Ft,Cr){return Ft.isAfter(Cr)},isValidate:function(Ft){return Ft.isValid()},locale:{getWeekFirstDay:function(Ft){var Cr=m()().locale(Ft);return Cr.localeData().firstDayOfWeek()},getWeek:function(Ft,Cr){var gr=Cr.clone(),Yr=gr.locale(Ft);return Yr.week()},getShortWeekDays:function(Ft){var Cr=m()().locale(Ft);return Cr.localeData().weekdaysMin()},getShortMonths:function(Ft){var Cr=m()().locale(Ft);return Cr.localeData().monthsShort()},format:function(Ft,Cr,gr){var Yr=Cr.clone(),en=Yr.locale(Ft);return en.format(gr)},parse:function(Ft,Cr,gr){for(var Yr=[],en=0;en<gr.length;en+=1){var cn=gr[en],In=Cr;if(cn.includes("wo")||cn.includes("Wo")){cn=cn.replace(/wo/g,"w").replace(/Wo/g,"W");var Xn=cn.match(/[-YyMmDdHhSsWwGg]+/g),ii=In.match(/[-\d]+/g);Xn&&ii?(cn=Xn.join(""),In=ii.join("")):Yr.push(cn.replace(/o/g,""))}var fi=m()(In,cn,Ft,!0);if(fi.isValid())return fi}for(var ui=0;ui<Yr.length;ui+=1){var qn=m()(Cr,Yr[ui],Ft,!1);if(qn.isValid())return Object(E.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),qn}return null}}},v=p,f=i("pVnL"),d=i.n(f),l=i("q1tI"),n=i("2/Rp");function t(tt){return l.createElement(n.a,d()({size:"small",type:"primary"},tt))}var a=i("mr32");function s(tt){return l.createElement(a.a,d()({color:"blue"},tt))}var r=i("lSNA"),c=i.n(r),e=i("lwsE"),o=i.n(e),u=i("W8MJ"),h=i.n(u),g=i("7W2i"),A=i.n(g),w=i("LQ03"),x=i.n(w),C=i("TSYQ"),T=i.n(C),O=i("r/2G"),S=i.n(O),_=i("XzQk"),L=i.n(_),D=i("kbBi"),F=i.n(D),j=i("1OyB"),k=i("vuIU"),K=i("Ji7U"),Z=i("LK+K"),B=i("rePB"),V=i("VTBJ"),z=i("ODXe"),X=i("6cGi"),W=i("U8pU"),q=i("4IlW"),Y=l.createContext({}),re=Y,ne={visibility:"hidden"};function we(tt){var Ft=tt.prefixCls,Cr=tt.prevIcon,gr=Cr===void 0?"\u2039":Cr,Yr=tt.nextIcon,en=Yr===void 0?"\u203A":Yr,cn=tt.superPrevIcon,In=cn===void 0?"\xAB":cn,Xn=tt.superNextIcon,ii=Xn===void 0?"\xBB":Xn,fi=tt.onSuperPrev,ui=tt.onSuperNext,qn=tt.onPrev,ti=tt.onNext,oi=tt.children,Ci=l.useContext(re),Mi=Ci.hideNextBtn,Pi=Ci.hidePrevBtn;return l.createElement("div",{className:Ft},fi&&l.createElement("button",{type:"button",onClick:fi,tabIndex:-1,className:"".concat(Ft,"-super-prev-btn"),style:Pi?ne:{}},In),qn&&l.createElement("button",{type:"button",onClick:qn,tabIndex:-1,className:"".concat(Ft,"-prev-btn"),style:Pi?ne:{}},gr),l.createElement("div",{className:"".concat(Ft,"-view")},oi),ti&&l.createElement("button",{type:"button",onClick:ti,tabIndex:-1,className:"".concat(Ft,"-next-btn"),style:Mi?ne:{}},en),ui&&l.createElement("button",{type:"button",onClick:ui,tabIndex:-1,className:"".concat(Ft,"-super-next-btn"),style:Mi?ne:{}},ii))}var ie=we;function me(tt){var Ft=l.useContext(re),Cr=Ft.hideHeader;if(Cr)return null;var gr=tt.prefixCls,Yr=tt.generateConfig,en=tt.locale,cn=tt.value,In=tt.format,Xn="".concat(gr,"-header");return l.createElement(ie,{prefixCls:Xn},cn?Yr.locale.format(en.locale,cn,In):"\xA0")}var _e=me,Te=i("YrtM"),We=i("KQm4"),Ae=new Map;function je(tt,Ft,Cr){if(Ae.get(tt)&&cancelAnimationFrame(Ae.get(tt)),Cr<=0){Ae.set(tt,requestAnimationFrame(function(){tt.scrollTop=Ft}));return}var gr=Ft-tt.scrollTop,Yr=gr/Cr*10;Ae.set(tt,requestAnimationFrame(function(){tt.scrollTop+=Yr,tt.scrollTop!==Ft&&je(tt,Ft,Cr-10)}))}function ee(tt,Ft){var Cr=Ft.onLeftRight,gr=Ft.onCtrlLeftRight,Yr=Ft.onUpDown,en=Ft.onPageUpDown,cn=Ft.onEnter,In=tt.which,Xn=tt.ctrlKey,ii=tt.metaKey;switch(In){case q.a.LEFT:if(Xn||ii){if(gr)return gr(-1),!0}else if(Cr)return Cr(-1),!0;break;case q.a.RIGHT:if(Xn||ii){if(gr)return gr(1),!0}else if(Cr)return Cr(1),!0;break;case q.a.UP:if(Yr)return Yr(-1),!0;break;case q.a.DOWN:if(Yr)return Yr(1),!0;break;case q.a.PAGE_UP:if(en)return en(-1),!0;break;case q.a.PAGE_DOWN:if(en)return en(1),!0;break;case q.a.ENTER:if(cn)return cn(),!0;break}return!1}function he(tt,Ft,Cr,gr){var Yr=tt;if(!Yr)switch(Ft){case"time":Yr=gr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Yr="gggg-wo";break;case"month":Yr="YYYY-MM";break;case"quarter":Yr="YYYY-[Q]Q";break;case"year":Yr="YYYY";break;default:Yr=Cr?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Yr}function Ze(tt,Ft){var Cr=tt==="time"?8:10;return Math.max(Cr,Ft.length)+2}var oe=null,Q=new Set;function G(tt){return!oe&&typeof window!="undefined"&&window.addEventListener&&(oe=function(Cr){Object(We.a)(Q).forEach(function(gr){gr(Cr)})},window.addEventListener("mousedown",oe)),Q.add(tt),function(){Q.delete(tt),Q.size===0&&(window.removeEventListener("mousedown",oe),oe=null)}}var te=function(Ft){return Ft==="month"||Ft==="date"?"year":Ft},xe=function(Ft){return Ft==="date"?"month":Ft},fe=function(Ft){return Ft==="month"||Ft==="date"?"quarter":Ft},Be=function(Ft){return Ft==="date"?"week":Ft},Ne={year:te,month:xe,quarter:fe,week:Be,time:null,date:null};function de(tt,Ft){return tt.some(function(Cr){return Cr&&Cr.contains(Ft)})}function ve(tt){var Ft=tt.prefixCls,Cr=tt.units,gr=tt.onSelect,Yr=tt.value,en=tt.active,cn=tt.hideDisabledOptions,In="".concat(Ft,"-cell"),Xn=l.useContext(re),ii=Xn.open,fi=l.useRef(null),ui=l.useRef(new Map);return l.useLayoutEffect(function(){var qn=ui.current.get(Yr);qn&&ii!==!1&&je(fi.current,qn.offsetTop,120)},[Yr]),l.useLayoutEffect(function(){if(ii){var qn=ui.current.get(Yr);qn&&je(fi.current,qn.offsetTop,0)}},[ii]),l.createElement("ul",{className:T()("".concat(Ft,"-column"),Object(B.a)({},"".concat(Ft,"-column-active"),en)),ref:fi,style:{position:"relative"}},Cr.map(function(qn){var ti;return cn&&qn.disabled?null:l.createElement("li",{key:qn.value,ref:function(Ci){ui.current.set(qn.value,Ci)},className:T()(In,(ti={},Object(B.a)(ti,"".concat(In,"-disabled"),qn.disabled),Object(B.a)(ti,"".concat(In,"-selected"),Yr===qn.value),ti)),onClick:function(){if(qn.disabled)return;gr(qn.value)}},l.createElement("div",{className:"".concat(In,"-inner")},qn.label))}))}var Me=ve;function qe(tt,Ft){for(var Cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",gr=String(tt);gr.length<Ft;)gr="".concat(Cr).concat(tt);return gr}var gt=function(){for(var Ft=arguments.length,Cr=new Array(Ft),gr=0;gr<Ft;gr++)Cr[gr]=arguments[gr];return Cr};function ht(tt){return tt==null?[]:Array.isArray(tt)?tt:[tt]}function Pe(tt){var Ft={};return Object.keys(tt).forEach(function(Cr){(Cr.substr(0,5)==="data-"||Cr.substr(0,5)==="aria-"||Cr==="role"||Cr==="name")&&Cr.substr(0,7)!=="data-__"&&(Ft[Cr]=tt[Cr])}),Ft}function It(tt,Ft){return tt?tt[Ft]:null}function nt(tt,Ft,Cr){var gr=[It(tt,0),It(tt,1)];return gr[Cr]=typeof Ft=="function"?Ft(gr[Cr]):Ft,!gr[0]&&!gr[1]?null:gr}function Nt(tt,Ft,Cr,gr,Yr){var en=tt.setHour(Ft,Cr);return en=tt.setMinute(en,gr),en=tt.setSecond(en,Yr),en}function Bt(tt,Ft,Cr,gr,Yr,en){var cn=Math.floor(tt/gr)*gr;if(cn<tt)return[cn,60-Yr,60-en];var In=Math.floor(Ft/Yr)*Yr;if(In<Ft)return[cn,In,60-en];var Xn=Math.floor(Cr/en)*en;return[cn,In,Xn]}function Pt(tt,Ft){if(tt.length!==Ft.length)return!0;for(var Cr=0;Cr<tt.length;Cr+=1)if(tt[Cr].disabled!==Ft[Cr].disabled)return!0;return!1}function jt(tt,Ft,Cr,gr){for(var Yr=[],en=tt;en<=Ft;en+=Cr)Yr.push({label:qe(en,2),value:en,disabled:(gr||[]).includes(en)});return Yr}function er(tt){var Ft=tt.generateConfig,Cr=tt.prefixCls,gr=tt.operationRef,Yr=tt.activeColumnIndex,en=tt.value,cn=tt.showHour,In=tt.showMinute,Xn=tt.showSecond,ii=tt.use12Hours,fi=tt.hourStep,ui=fi===void 0?1:fi,qn=tt.minuteStep,ti=qn===void 0?1:qn,oi=tt.secondStep,Ci=oi===void 0?1:oi,Mi=tt.disabledHours,Pi=tt.disabledMinutes,ca=tt.disabledSeconds,sa=tt.hideDisabledOptions,Na=tt.onSelect,Pa=[],ya="".concat(Cr,"-content"),va="".concat(Cr,"-time-panel"),Ca,Ai=en?Ft.getHour(en):-1,Aa=en?Ft.getMinute(en):-1,za=en?Ft.getSecond(en):-1,Or=function(Di,Ui,ua,Xa){var vo=en||Ft.getNow(),wo=Math.max(0,Ui),ho=Math.max(0,ua),yo=Math.max(0,Xa);return vo=Nt(Ft,vo,!ii||!Di?wo:wo+12,ho,yo),vo},$r=jt(0,23,ui,Mi&&Mi()),vn=Object(Te.a)(function(){return $r},$r,Pt);ii&&(Ca=Ai>=12,Ai%=12);var Jr=l.useMemo(function(){if(!ii)return[!1,!1];var yi=[!0,!0];return vn.forEach(function(Di){var Ui=Di.disabled,ua=Di.value;if(Ui)return;ua>=12?yi[1]=!1:yi[0]=!1}),yi},[ii,vn]),ar=Object(z.a)(Jr,2),Hr=ar[0],mr=ar[1],tn=l.useMemo(function(){return ii?vn.filter(Ca?function(yi){return yi.value>=12}:function(yi){return yi.value<12}).map(function(yi){var Di=yi.value%12,Ui=Di===0?"12":qe(Di,2);return Object(V.a)(Object(V.a)({},yi),{},{label:Ui,value:Di})}):vn},[ii,vn]),sn=jt(0,59,ti,Pi&&Pi(Ai)),Hn=jt(0,59,Ci,ca&&ca(Ai,Aa));gr.current={onUpDown:function(Di){var Ui=Pa[Yr];if(Ui)for(var ua=Ui.units.findIndex(function(ho){return ho.value===Ui.value}),Xa=Ui.units.length,vo=1;vo<Xa;vo+=1){var wo=Ui.units[(ua+Di*vo+Xa)%Xa];if(wo.disabled!==!0){Ui.onSelect(wo.value);break}}}};function Ln(yi,Di,Ui,ua,Xa){yi!==!1&&Pa.push({node:l.cloneElement(Di,{prefixCls:va,value:Ui,active:Yr===Pa.length,onSelect:Xa,units:ua,hideDisabledOptions:sa}),onSelect:Xa,value:Ui,units:ua})}Ln(cn,l.createElement(Me,{key:"hour"}),Ai,tn,function(yi){Na(Or(Ca,yi,Aa,za),"mouse")}),Ln(In,l.createElement(Me,{key:"minute"}),Aa,sn,function(yi){Na(Or(Ca,Ai,yi,za),"mouse")}),Ln(Xn,l.createElement(Me,{key:"second"}),za,Hn,function(yi){Na(Or(Ca,Ai,Aa,yi),"mouse")});var Qn=-1;return typeof Ca=="boolean"&&(Qn=Ca?1:0),Ln(ii===!0,l.createElement(Me,{key:"12hours"}),Qn,[{label:"AM",value:0,disabled:Hr},{label:"PM",value:1,disabled:mr}],function(yi){Na(Or(!!yi,Ai,Aa,za),"mouse")}),l.createElement("div",{className:ya},Pa.map(function(yi){var Di=yi.node;return Di}))}var at=er,Ce=function(Ft){return Ft.filter(function(Cr){return Cr!==!1}).length};function ue(tt){var Ft=tt.generateConfig,Cr=tt.format,gr=Cr===void 0?"HH:mm:ss":Cr,Yr=tt.prefixCls,en=tt.active,cn=tt.operationRef,In=tt.showHour,Xn=tt.showMinute,ii=tt.showSecond,fi=tt.use12Hours,ui=fi===void 0?!1:fi,qn=tt.onSelect,ti=tt.value,oi="".concat(Yr,"-time-panel"),Ci=l.useRef(),Mi=l.useState(-1),Pi=Object(z.a)(Mi,2),ca=Pi[0],sa=Pi[1],Na=Ce([In,Xn,ii,ui]);return cn.current={onKeyDown:function(ya){return ee(ya,{onLeftRight:function(Ca){sa((ca+Ca+Na)%Na)},onUpDown:function(Ca){ca===-1?sa(0):Ci.current&&Ci.current.onUpDown(Ca)},onEnter:function(){qn(ti||Ft.getNow(),"key"),sa(-1)}})},onBlur:function(){sa(-1)}},l.createElement("div",{className:T()(oi,Object(B.a)({},"".concat(oi,"-active"),en))},l.createElement(_e,Object.assign({},tt,{format:gr,prefixCls:Yr})),l.createElement(at,Object.assign({},tt,{prefixCls:Yr,activeColumnIndex:ca,operationRef:Ci})))}var Dt=ue,rt=7;function ye(tt,Ft){return!tt&&!Ft?!0:!tt||!Ft?!1:void 0}function Xt(tt,Ft,Cr){var gr=ye(Ft,Cr);if(typeof gr=="boolean")return gr;var Yr=Math.floor(tt.getYear(Ft)/10),en=Math.floor(tt.getYear(Cr)/10);return Yr===en}function pr(tt,Ft,Cr){var gr=ye(Ft,Cr);return typeof gr=="boolean"?gr:tt.getYear(Ft)===tt.getYear(Cr)}function mt(tt,Ft){var Cr=Math.floor(tt.getMonth(Ft)/3);return Cr+1}function nr(tt,Ft,Cr){var gr=ye(Ft,Cr);return typeof gr=="boolean"?gr:pr(tt,Ft,Cr)&&mt(tt,Ft)===mt(tt,Cr)}function yr(tt,Ft,Cr){var gr=ye(Ft,Cr);return typeof gr=="boolean"?gr:pr(tt,Ft,Cr)&&tt.getMonth(Ft)===tt.getMonth(Cr)}function gn(tt,Ft,Cr){var gr=ye(Ft,Cr);return typeof gr=="boolean"?gr:tt.getYear(Ft)===tt.getYear(Cr)&&tt.getMonth(Ft)===tt.getMonth(Cr)&&tt.getDate(Ft)===tt.getDate(Cr)}function _r(tt,Ft,Cr){var gr=ye(Ft,Cr);return typeof gr=="boolean"?gr:tt.getHour(Ft)===tt.getHour(Cr)&&tt.getMinute(Ft)===tt.getMinute(Cr)&&tt.getSecond(Ft)===tt.getSecond(Cr)}function ur(tt,Ft,Cr,gr){var Yr=ye(Cr,gr);return typeof Yr=="boolean"?Yr:tt.locale.getWeek(Ft,Cr)===tt.locale.getWeek(Ft,gr)}function zt(tt,Ft,Cr){return gn(tt,Ft,Cr)&&_r(tt,Ft,Cr)}function bt(tt,Ft,Cr,gr){return!Ft||!Cr||!gr?!1:!gn(tt,Ft,gr)&&!gn(tt,Cr,gr)&&tt.isAfter(gr,Ft)&&tt.isAfter(Cr,gr)}function ot(tt,Ft,Cr){var gr=Ft.locale.getWeekFirstDay(tt),Yr=Ft.setDate(Cr,1),en=Ft.getWeekDay(Yr),cn=Ft.addDate(Yr,gr-en);return Ft.getMonth(cn)===Ft.getMonth(Cr)&&Ft.getDate(cn)>1&&(cn=Ft.addDate(cn,-7)),cn}function lr(tt,Ft,Cr){var gr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Ft){case"year":return Cr.addYear(tt,gr*10);case"quarter":case"month":return Cr.addYear(tt,gr);default:return Cr.addMonth(tt,gr)}}var jr=l.createContext({}),Rr=jr;function xr(tt){var Ft=tt.cellPrefixCls,Cr=tt.generateConfig,gr=tt.rangedValue,Yr=tt.hoverRangedValue,en=tt.isInView,cn=tt.isSameCell,In=tt.offsetCell,Xn=tt.today,ii=tt.value;function fi(ui){var qn,ti=In(ui,-1),oi=In(ui,1),Ci=It(gr,0),Mi=It(gr,1),Pi=It(Yr,0),ca=It(Yr,1),sa=bt(Cr,Pi,ca,ui);function Na(Aa){return cn(Ci,Aa)}function Pa(Aa){return cn(Mi,Aa)}var ya=cn(Pi,ui),va=cn(ca,ui),Ca=(sa||va)&&(!en(ti)||Pa(ti)),Ai=(sa||ya)&&(!en(oi)||Na(oi));return qn={},Object(B.a)(qn,"".concat(Ft,"-in-view"),en(ui)),Object(B.a)(qn,"".concat(Ft,"-in-range"),bt(Cr,Ci,Mi,ui)),Object(B.a)(qn,"".concat(Ft,"-range-start"),Na(ui)),Object(B.a)(qn,"".concat(Ft,"-range-end"),Pa(ui)),Object(B.a)(qn,"".concat(Ft,"-range-start-single"),Na(ui)&&!Mi),Object(B.a)(qn,"".concat(Ft,"-range-end-single"),Pa(ui)&&!Ci),Object(B.a)(qn,"".concat(Ft,"-range-start-near-hover"),Na(ui)&&(cn(ti,Pi)||bt(Cr,Pi,ca,ti))),Object(B.a)(qn,"".concat(Ft,"-range-end-near-hover"),Pa(ui)&&(cn(oi,ca)||bt(Cr,Pi,ca,oi))),Object(B.a)(qn,"".concat(Ft,"-range-hover"),sa),Object(B.a)(qn,"".concat(Ft,"-range-hover-start"),ya),Object(B.a)(qn,"".concat(Ft,"-range-hover-end"),va),Object(B.a)(qn,"".concat(Ft,"-range-hover-edge-start"),Ca),Object(B.a)(qn,"".concat(Ft,"-range-hover-edge-end"),Ai),Object(B.a)(qn,"".concat(Ft,"-range-hover-edge-start-near-range"),Ca&&cn(ti,Mi)),Object(B.a)(qn,"".concat(Ft,"-range-hover-edge-end-near-range"),Ai&&cn(oi,Ci)),Object(B.a)(qn,"".concat(Ft,"-today"),cn(Xn,ui)),Object(B.a)(qn,"".concat(Ft,"-selected"),cn(ii,ui)),qn}return fi}function Vn(tt){for(var Ft=tt.prefixCls,Cr=tt.disabledDate,gr=tt.onSelect,Yr=tt.rowNum,en=tt.colNum,cn=tt.prefixColumn,In=tt.rowClassName,Xn=tt.baseDate,ii=tt.getCellClassName,fi=tt.getCellText,ui=tt.getCellNode,qn=tt.getCellDate,ti=tt.titleCell,oi=tt.headerCells,Ci=l.useContext(re),Mi=Ci.onDateMouseEnter,Pi=Ci.onDateMouseLeave,ca="".concat(Ft,"-cell"),sa=[],Na=0;Na<Yr;Na+=1){for(var Pa=[],ya=void 0,va=function(Aa){var za=Na*en+Aa,Or=qn(Xn,za),$r=Cr&&Cr(Or);Aa===0&&(ya=Or,cn&&Pa.push(cn(ya))),Pa.push(l.createElement("td",{key:Aa,title:ti&&ti(Or),className:T()(ca,Object(V.a)(Object(B.a)({},"".concat(ca,"-disabled"),$r),ii(Or))),onClick:function(){$r||gr(Or)},onMouseEnter:function(){!$r&&Mi&&Mi(Or)},onMouseLeave:function(){!$r&&Pi&&Pi(Or)}},ui?ui(Or):l.createElement("div",{className:"".concat(ca,"-inner")},fi(Or))))},Ca=0;Ca<en;Ca+=1)va(Ca);sa.push(l.createElement("tr",{key:Na,className:In&&In(ya)},Pa))}return l.createElement("div",{className:"".concat(Ft,"-body")},l.createElement("table",{className:"".concat(Ft,"-content")},oi&&l.createElement("thead",null,l.createElement("tr",null,oi)),l.createElement("tbody",null,sa)))}function bn(tt){var Ft=tt.prefixCls,Cr=tt.generateConfig,gr=tt.prefixColumn,Yr=tt.locale,en=tt.rowCount,cn=tt.viewDate,In=tt.value,Xn=tt.dateRender,ii=l.useContext(Rr),fi=ii.rangedValue,ui=ii.hoverRangedValue,qn=ot(Yr.locale,Cr,cn),ti="".concat(Ft,"-cell"),oi=Cr.locale.getWeekFirstDay(Yr.locale),Ci=Cr.getNow(),Mi=[],Pi=Yr.shortWeekDays||(Cr.locale.getShortWeekDays?Cr.locale.getShortWeekDays(Yr.locale):[]);gr&&Mi.push(l.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var ca=0;ca<rt;ca+=1)Mi.push(l.createElement("th",{key:ca},Pi[(ca+oi)%rt]));var sa=xr({cellPrefixCls:ti,today:Ci,value:In,generateConfig:Cr,rangedValue:gr?null:fi,hoverRangedValue:gr?null:ui,isSameCell:function(ya,va){return gn(Cr,ya,va)},isInView:function(ya){return yr(Cr,ya,cn)},offsetCell:function(ya,va){return Cr.addDate(ya,va)}}),Na=Xn?function(Pa){return Xn(Pa,Ci)}:void 0;return l.createElement(Vn,Object.assign({},tt,{rowNum:en,colNum:rt,baseDate:qn,getCellNode:Na,getCellText:Cr.getDate,getCellClassName:sa,getCellDate:Cr.addDate,titleCell:function(ya){return Cr.locale.format(Yr.locale,ya,"YYYY-MM-DD")},headerCells:Mi}))}var di=bn;function lt(tt){var Ft=tt.prefixCls,Cr=tt.generateConfig,gr=tt.locale,Yr=tt.viewDate,en=tt.onNextMonth,cn=tt.onPrevMonth,In=tt.onNextYear,Xn=tt.onPrevYear,ii=tt.onYearClick,fi=tt.onMonthClick,ui=l.useContext(re),qn=ui.hideHeader;if(qn)return null;var ti="".concat(Ft,"-header"),oi=gr.shortMonths||(Cr.locale.getShortMonths?Cr.locale.getShortMonths(gr.locale):[]),Ci=Cr.getMonth(Yr),Mi=l.createElement("button",{type:"button",key:"year",onClick:ii,tabIndex:-1,className:"".concat(Ft,"-year-btn")},Cr.locale.format(gr.locale,Yr,gr.yearFormat)),Pi=l.createElement("button",{type:"button",key:"month",onClick:fi,tabIndex:-1,className:"".concat(Ft,"-month-btn")},gr.monthFormat?Cr.locale.format(gr.locale,Yr,gr.monthFormat):oi[Ci]),ca=gr.monthBeforeYear?[Pi,Mi]:[Mi,Pi];return l.createElement(ie,Object.assign({},tt,{prefixCls:ti,onSuperPrev:Xn,onPrev:cn,onNext:en,onSuperNext:In}),ca)}var ct=lt,Le=6;function Ue(tt){var Ft=tt.prefixCls,Cr=tt.panelName,gr=Cr===void 0?"date":Cr,Yr=tt.keyboardConfig,en=tt.active,cn=tt.operationRef,In=tt.generateConfig,Xn=tt.value,ii=tt.viewDate,fi=tt.onViewDateChange,ui=tt.onPanelChange,qn=tt.onSelect,ti="".concat(Ft,"-").concat(gr,"-panel");cn.current={onKeyDown:function(Pi){return ee(Pi,Object(V.a)({onLeftRight:function(sa){qn(In.addDate(Xn||ii,sa),"key")},onCtrlLeftRight:function(sa){qn(In.addYear(Xn||ii,sa),"key")},onUpDown:function(sa){qn(In.addDate(Xn||ii,sa*rt),"key")},onPageUpDown:function(sa){qn(In.addMonth(Xn||ii,sa),"key")}},Yr))}};var oi=function(Pi){var ca=In.addYear(ii,Pi);fi(ca),ui(null,ca)},Ci=function(Pi){var ca=In.addMonth(ii,Pi);fi(ca),ui(null,ca)};return l.createElement("div",{className:T()(ti,Object(B.a)({},"".concat(ti,"-active"),en))},l.createElement(ct,Object.assign({},tt,{prefixCls:Ft,value:Xn,viewDate:ii,onPrevYear:function(){oi(-1)},onNextYear:function(){oi(1)},onPrevMonth:function(){Ci(-1)},onNextMonth:function(){Ci(1)},onMonthClick:function(){ui("month",ii)},onYearClick:function(){ui("year",ii)}})),l.createElement(di,Object.assign({},tt,{onSelect:function(Pi){return qn(Pi,"mouse")},prefixCls:Ft,value:Xn,viewDate:ii,rowCount:Le})))}var Ye=Ue;function ft(tt,Ft,Cr){if(!Cr)return Ft;var gr=Ft;return gr=tt.setHour(gr,tt.getHour(Cr)),gr=tt.setMinute(gr,tt.getMinute(Cr)),gr=tt.setSecond(gr,tt.getSecond(Cr)),gr}var ir=gt("date","time");function Yt(tt){var Ft=tt.prefixCls,Cr=tt.operationRef,gr=tt.generateConfig,Yr=tt.value,en=tt.defaultValue,cn=tt.disabledTime,In=tt.showTime,Xn=tt.onSelect,ii="".concat(Ft,"-datetime-panel"),fi=l.useState(null),ui=Object(z.a)(fi,2),qn=ui[0],ti=ui[1],oi=l.useRef({}),Ci=l.useRef({}),Mi=Object(W.a)(In)==="object"?Object(V.a)({},In):{};function Pi(Pa){var ya=ir.indexOf(qn)+Pa,va=ir[ya]||null;return va}var ca=function(ya){Ci.current.onBlur&&Ci.current.onBlur(ya),ti(null)};Cr.current={onKeyDown:function(ya){if(ya.which===q.a.TAB){var va=Pi(ya.shiftKey?-1:1);return ti(va),va&&ya.preventDefault(),!0}if(qn){var Ca=qn==="date"?oi:Ci;return Ca.current&&Ca.current.onKeyDown&&Ca.current.onKeyDown(ya),!0}return[q.a.LEFT,q.a.RIGHT,q.a.UP,q.a.DOWN].includes(ya.which)?(ti("date"),!0):!1},onBlur:ca,onClose:ca};var sa=function(ya,va){var Ca=ya;va==="date"&&!Yr&&Mi.defaultValue?(Ca=gr.setHour(Ca,gr.getHour(Mi.defaultValue)),Ca=gr.setMinute(Ca,gr.getMinute(Mi.defaultValue)),Ca=gr.setSecond(Ca,gr.getSecond(Mi.defaultValue))):va==="time"&&!Yr&&en&&(Ca=gr.setYear(Ca,gr.getYear(en)),Ca=gr.setMonth(Ca,gr.getMonth(en)),Ca=gr.setDate(Ca,gr.getDate(en))),Xn&&Xn(Ca,"mouse")},Na=cn?cn(Yr||null):{};return l.createElement("div",{className:T()(ii,Object(B.a)({},"".concat(ii,"-active"),qn))},l.createElement(Ye,Object.assign({},tt,{operationRef:oi,active:qn==="date",onSelect:function(ya){sa(ft(gr,ya,In&&Object(W.a)(In)==="object"?In.defaultValue:null),"date")}})),l.createElement(Dt,Object.assign({},tt,{format:void 0},Mi,Na,{defaultValue:void 0,operationRef:Ci,active:qn==="time",onSelect:function(ya){sa(ya,"time")}})))}var rr=Yt;function Zr(tt){var Ft=tt.prefixCls,Cr=tt.generateConfig,gr=tt.locale,Yr=tt.value,en="".concat(Ft,"-cell"),cn=function(fi){return l.createElement("td",{key:"week",className:T()(en,"".concat(en,"-week"))},Cr.locale.getWeek(gr.locale,fi))},In="".concat(Ft,"-week-panel-row"),Xn=function(fi){return T()(In,Object(B.a)({},"".concat(In,"-selected"),ur(Cr,gr.locale,Yr,fi)))};return l.createElement(Ye,Object.assign({},tt,{panelName:"week",prefixColumn:cn,rowClassName:Xn,keyboardConfig:{onLeftRight:null}}))}var nn=Zr;function Pn(tt){var Ft=tt.prefixCls,Cr=tt.generateConfig,gr=tt.locale,Yr=tt.viewDate,en=tt.onNextYear,cn=tt.onPrevYear,In=tt.onYearClick,Xn=l.useContext(re),ii=Xn.hideHeader;if(ii)return null;var fi="".concat(Ft,"-header");return l.createElement(ie,Object.assign({},tt,{prefixCls:fi,onSuperPrev:cn,onSuperNext:en}),l.createElement("button",{type:"button",onClick:In,className:"".concat(Ft,"-year-btn")},Cr.locale.format(gr.locale,Yr,gr.yearFormat)))}var qt=Pn,St=3,At=4;function cr(tt){var Ft=tt.prefixCls,Cr=tt.locale,gr=tt.value,Yr=tt.viewDate,en=tt.generateConfig,cn=tt.monthCellRender,In=l.useContext(Rr),Xn=In.rangedValue,ii=In.hoverRangedValue,fi="".concat(Ft,"-cell"),ui=xr({cellPrefixCls:fi,value:gr,generateConfig:en,rangedValue:Xn,hoverRangedValue:ii,isSameCell:function(Mi,Pi){return yr(en,Mi,Pi)},isInView:function(){return!0},offsetCell:function(Mi,Pi){return en.addMonth(Mi,Pi)}}),qn=Cr.shortMonths||(en.locale.getShortMonths?en.locale.getShortMonths(Cr.locale):[]),ti=en.setMonth(Yr,0),oi=cn?function(Ci){return cn(Ci,Cr)}:void 0;return l.createElement(Vn,Object.assign({},tt,{rowNum:At,colNum:St,baseDate:ti,getCellNode:oi,getCellText:function(Mi){return Cr.monthFormat?en.locale.format(Cr.locale,Mi,Cr.monthFormat):qn[en.getMonth(Mi)]},getCellClassName:ui,getCellDate:en.addMonth,titleCell:function(Mi){return en.locale.format(Cr.locale,Mi,"YYYY-MM")}}))}var or=cr;function Tt(tt){var Ft=tt.prefixCls,Cr=tt.operationRef,gr=tt.onViewDateChange,Yr=tt.generateConfig,en=tt.value,cn=tt.viewDate,In=tt.onPanelChange,Xn=tt.onSelect,ii="".concat(Ft,"-month-panel");Cr.current={onKeyDown:function(qn){return ee(qn,{onLeftRight:function(oi){Xn(Yr.addMonth(en||cn,oi),"key")},onCtrlLeftRight:function(oi){Xn(Yr.addYear(en||cn,oi),"key")},onUpDown:function(oi){Xn(Yr.addMonth(en||cn,oi*St),"key")},onEnter:function(){In("date",en||cn)}})}};var fi=function(qn){var ti=Yr.addYear(cn,qn);gr(ti),In(null,ti)};return l.createElement("div",{className:ii},l.createElement(qt,Object.assign({},tt,{prefixCls:Ft,onPrevYear:function(){fi(-1)},onNextYear:function(){fi(1)},onYearClick:function(){In("year",cn)}})),l.createElement(or,Object.assign({},tt,{prefixCls:Ft,onSelect:function(qn){Xn(qn,"mouse"),In("date",qn)}})))}var Rt=Tt;function _t(tt){var Ft=tt.prefixCls,Cr=tt.generateConfig,gr=tt.locale,Yr=tt.viewDate,en=tt.onNextYear,cn=tt.onPrevYear,In=tt.onYearClick,Xn=l.useContext(re),ii=Xn.hideHeader;if(ii)return null;var fi="".concat(Ft,"-header");return l.createElement(ie,Object.assign({},tt,{prefixCls:fi,onSuperPrev:cn,onSuperNext:en}),l.createElement("button",{type:"button",onClick:In,className:"".concat(Ft,"-year-btn")},Cr.locale.format(gr.locale,Yr,gr.yearFormat)))}var Zt=_t,Nr=4,Sr=1;function br(tt){var Ft=tt.prefixCls,Cr=tt.locale,gr=tt.value,Yr=tt.viewDate,en=tt.generateConfig,cn=l.useContext(Rr),In=cn.rangedValue,Xn=cn.hoverRangedValue,ii="".concat(Ft,"-cell"),fi=xr({cellPrefixCls:ii,value:gr,generateConfig:en,rangedValue:In,hoverRangedValue:Xn,isSameCell:function(ti,oi){return nr(en,ti,oi)},isInView:function(){return!0},offsetCell:function(ti,oi){return en.addMonth(ti,oi*3)}}),ui=en.setDate(en.setMonth(Yr,0),1);return l.createElement(Vn,Object.assign({},tt,{rowNum:Sr,colNum:Nr,baseDate:ui,getCellText:function(ti){return en.locale.format(Cr.locale,ti,Cr.quarterFormat||"[Q]Q")},getCellClassName:fi,getCellDate:function(ti,oi){return en.addMonth(ti,oi*3)},titleCell:function(ti){return en.locale.format(Cr.locale,ti,"YYYY-[Q]Q")}}))}var hn=br;function fn(tt){var Ft=tt.prefixCls,Cr=tt.operationRef,gr=tt.onViewDateChange,Yr=tt.generateConfig,en=tt.value,cn=tt.viewDate,In=tt.onPanelChange,Xn=tt.onSelect,ii="".concat(Ft,"-quarter-panel");Cr.current={onKeyDown:function(qn){return ee(qn,{onLeftRight:function(oi){Xn(Yr.addMonth(en||cn,oi*3),"key")},onCtrlLeftRight:function(oi){Xn(Yr.addYear(en||cn,oi),"key")},onUpDown:function(oi){Xn(Yr.addYear(en||cn,oi),"key")}})}};var fi=function(qn){var ti=Yr.addYear(cn,qn);gr(ti),In(null,ti)};return l.createElement("div",{className:ii},l.createElement(Zt,Object.assign({},tt,{prefixCls:Ft,onPrevYear:function(){fi(-1)},onNextYear:function(){fi(1)},onYearClick:function(){In("year",cn)}})),l.createElement(hn,Object.assign({},tt,{prefixCls:Ft,onSelect:function(qn){Xn(qn,"mouse")}})))}var ni=fn;function mi(tt){var Ft=tt.prefixCls,Cr=tt.generateConfig,gr=tt.viewDate,Yr=tt.onPrevDecade,en=tt.onNextDecade,cn=tt.onDecadeClick,In=l.useContext(re),Xn=In.hideHeader;if(Xn)return null;var ii="".concat(Ft,"-header"),fi=Cr.getYear(gr),ui=Math.floor(fi/Re)*Re,qn=ui+Re-1;return l.createElement(ie,Object.assign({},tt,{prefixCls:ii,onSuperPrev:Yr,onSuperNext:en}),l.createElement("button",{type:"button",onClick:cn,className:"".concat(Ft,"-decade-btn")},ui,"-",qn))}var _i=mi,Hi=3,aa=4;function Ra(tt){var Ft=tt.prefixCls,Cr=tt.value,gr=tt.viewDate,Yr=tt.locale,en=tt.generateConfig,cn=l.useContext(Rr),In=cn.rangedValue,Xn=cn.hoverRangedValue,ii="".concat(Ft,"-cell"),fi=en.getYear(gr),ui=Math.floor(fi/Re)*Re,qn=ui+Re-1,ti=en.setYear(gr,ui-Math.ceil((Hi*aa-Re)/2)),oi=function(Pi){var ca=en.getYear(Pi);return ui<=ca&&ca<=qn},Ci=xr({cellPrefixCls:ii,value:Cr,generateConfig:en,rangedValue:In,hoverRangedValue:Xn,isSameCell:function(Pi,ca){return pr(en,Pi,ca)},isInView:oi,offsetCell:function(Pi,ca){return en.addYear(Pi,ca)}});return l.createElement(Vn,Object.assign({},tt,{rowNum:aa,colNum:Hi,baseDate:ti,getCellText:en.getYear,getCellClassName:Ci,getCellDate:en.addYear,titleCell:function(Pi){return en.locale.format(Yr.locale,Pi,"YYYY")}}))}var it=Ra,Re=10;function Ke(tt){var Ft=tt.prefixCls,Cr=tt.operationRef,gr=tt.onViewDateChange,Yr=tt.generateConfig,en=tt.value,cn=tt.viewDate,In=tt.sourceMode,Xn=tt.onSelect,ii=tt.onPanelChange,fi="".concat(Ft,"-year-panel");Cr.current={onKeyDown:function(ti){return ee(ti,{onLeftRight:function(Ci){Xn(Yr.addYear(en||cn,Ci),"key")},onCtrlLeftRight:function(Ci){Xn(Yr.addYear(en||cn,Ci*Re),"key")},onUpDown:function(Ci){Xn(Yr.addYear(en||cn,Ci*Hi),"key")},onEnter:function(){ii(In==="date"?"date":"month",en||cn)}})}};var ui=function(ti){var oi=Yr.addYear(cn,ti*10);gr(oi),ii(null,oi)};return l.createElement("div",{className:fi},l.createElement(_i,Object.assign({},tt,{prefixCls:Ft,onPrevDecade:function(){ui(-1)},onNextDecade:function(){ui(1)},onDecadeClick:function(){ii("decade",cn)}})),l.createElement(it,Object.assign({},tt,{prefixCls:Ft,onSelect:function(ti){ii(In==="date"?"date":"month",ti),Xn(ti,"mouse")}})))}var Ge=Ke;function et(tt){var Ft=tt.prefixCls,Cr=tt.generateConfig,gr=tt.viewDate,Yr=tt.onPrevDecades,en=tt.onNextDecades,cn=l.useContext(re),In=cn.hideHeader;if(In)return null;var Xn="".concat(Ft,"-header"),ii=Cr.getYear(gr),fi=Math.floor(ii/Lr)*Lr,ui=fi+Lr-1;return l.createElement(ie,Object.assign({},tt,{prefixCls:Xn,onSuperPrev:Yr,onSuperNext:en}),fi,"-",ui)}var $e=et,st=3,Lt=4;function vt(tt){var Ft=Fr-1,Cr=tt.prefixCls,gr=tt.viewDate,Yr=tt.generateConfig,en=tt.disabledDate,cn="".concat(Cr,"-cell"),In=Yr.getYear(gr),Xn=Math.floor(In/Fr)*Fr,ii=Math.floor(In/Lr)*Lr,fi=ii+Lr-1,ui=Yr.setYear(gr,ii-Math.ceil((st*Lt*Fr-Lr)/2)),qn=function(oi){var Ci,Mi=en&&en(oi),Pi=Yr.getYear(oi),ca=Pi+Ft;return Ci={},Object(B.a)(Ci,"".concat(cn,"-disabled"),Mi),Object(B.a)(Ci,"".concat(cn,"-in-view"),ii<=Pi&&ca<=fi),Object(B.a)(Ci,"".concat(cn,"-selected"),Pi===Xn),Ci};return l.createElement(Vn,Object.assign({},tt,{rowNum:Lt,colNum:st,baseDate:ui,getCellText:function(oi){var Ci=Yr.getYear(oi);return"".concat(Ci,"-").concat(Ci+Ft)},getCellClassName:qn,getCellDate:function(oi,Ci){return Yr.addYear(oi,Ci*Fr)}}))}var Qt=vt,Fr=10,Lr=Fr*10;function Gr(tt){var Ft=tt.prefixCls,Cr=tt.onViewDateChange,gr=tt.generateConfig,Yr=tt.viewDate,en=tt.operationRef,cn=tt.onSelect,In=tt.onPanelChange,Xn="".concat(Ft,"-decade-panel");en.current={onKeyDown:function(qn){return ee(qn,{onLeftRight:function(oi){cn(gr.addYear(Yr,oi*Fr),"key")},onCtrlLeftRight:function(oi){cn(gr.addYear(Yr,oi*Lr),"key")},onUpDown:function(oi){cn(gr.addYear(Yr,oi*Fr*st),"key")},onEnter:function(){In("year",Yr)}})}};var ii=function(qn){var ti=gr.addYear(Yr,qn*Lr);Cr(ti),In(null,ti)},fi=function(qn){cn(qn,"mouse"),In("year",qn)};return l.createElement("div",{className:Xn},l.createElement($e,Object.assign({},tt,{prefixCls:Ft,onPrevDecades:function(){ii(-1)},onNextDecades:function(){ii(1)}})),l.createElement(Qt,Object.assign({},tt,{prefixCls:Ft,onSelect:fi})))}var $t=Gr;function Rn(tt,Ft,Cr){return Cr?l.createElement("div",{className:"".concat(tt,"-footer-extra")},Cr(Ft)):null}function wr(tt){var Ft=tt.prefixCls,Cr=tt.rangeList,gr=Cr===void 0?[]:Cr,Yr=tt.components,en=Yr===void 0?{}:Yr,cn=tt.needConfirmButton,In=tt.onNow,Xn=tt.onOk,ii=tt.okDisabled,fi=tt.showNow,ui=tt.locale,qn,ti;if(gr.length){var oi=en.rangeItem||"span";qn=l.createElement(l.Fragment,null,gr.map(function(Mi){var Pi=Mi.label,ca=Mi.onClick,sa=Mi.onMouseEnter,Na=Mi.onMouseLeave;return l.createElement("li",{key:Pi,className:"".concat(Ft,"-preset")},l.createElement(oi,{onClick:ca,onMouseEnter:sa,onMouseLeave:Na},Pi))}))}if(cn){var Ci=en.button||"button";In&&!qn&&fi!==!1&&(qn=l.createElement("li",{className:"".concat(Ft,"-now")},l.createElement("a",{className:"".concat(Ft,"-now-btn"),onClick:In},ui.now))),ti=cn&&l.createElement("li",{className:"".concat(Ft,"-ok")},l.createElement(Ci,{disabled:ii,onClick:Xn},ui.ok))}return!qn&&!ti?null:l.createElement("ul",{className:"".concat(Ft,"-ranges")},qn,ti)}function pn(tt){var Ft,Cr=tt.prefixCls,gr=Cr===void 0?"rc-picker":Cr,Yr=tt.className,en=tt.style,cn=tt.locale,In=tt.generateConfig,Xn=tt.value,ii=tt.defaultValue,fi=tt.pickerValue,ui=tt.defaultPickerValue,qn=tt.disabledDate,ti=tt.mode,oi=tt.picker,Ci=oi===void 0?"date":oi,Mi=tt.tabIndex,Pi=Mi===void 0?0:Mi,ca=tt.showNow,sa=tt.showTime,Na=tt.showToday,Pa=tt.renderExtraFooter,ya=tt.hideHeader,va=tt.onSelect,Ca=tt.onChange,Ai=tt.onPanelChange,Aa=tt.onMouseDown,za=tt.onPickerValueChange,Or=tt.onOk,$r=tt.components,vn=tt.direction,Jr=tt.hourStep,ar=Jr===void 0?1:Jr,Hr=tt.minuteStep,mr=Hr===void 0?1:Hr,tn=tt.secondStep,sn=tn===void 0?1:tn,Hn=Ci==="date"&&!!sa||Ci==="time",Ln=24%ar===0,Qn=60%mr===0,yi=60%sn===0,Di=l.useContext(re),Ui=Di.operationRef,ua=Di.panelRef,Xa=Di.onSelect,vo=Di.hideRanges,wo=Di.defaultOpenValue,ho=l.useContext(Rr),yo=ho.inRange,Ga=ho.panelPosition,Ma=ho.rangedValue,uo=ho.hoverRangedValue,so=l.useRef({}),To=l.useRef(!0),No=Object(X.a)(null,{value:Xn,defaultValue:ii,postState:function(ka){return!ka&&wo&&Ci==="time"?wo:ka}}),oo=Object(z.a)(No,2),Ja=oo[0],zo=oo[1],Eo=Object(X.a)(null,{value:fi,defaultValue:ui||Ja,postState:function(ka){return ka||In.getNow()}}),Ea=Object(z.a)(Eo,2),jo=Ea[0],Zo=Ea[1],Za=function(ka){Zo(ka),za&&za(ka)},Xo=function(ka){var Go=Ne[Ci];return Go?Go(ka):ka},qo=Object(X.a)(function(){return Ci==="time"?"time":Xo("date")},{value:ti}),cs=Object(z.a)(qo,2),Oo=cs[0],ss=cs[1];l.useEffect(function(){ss(Ci)},[Ci]);var Io=l.useState(function(){return Oo}),lo=Object(z.a)(Io,2),ks=lo[0],As=lo[1],ko=function(ka,Go){var xl=Xo(ka||Oo);As(Oo),ss(xl),Ai&&(Oo!==xl||zt(In,jo,jo))&&Ai(Go,xl)},ys=function(ka,Go){var xl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Oo===Ci||xl)&&(zo(ka),va&&va(ka),Xa&&Xa(ka,Go),Ca&&!zt(In,ka,Ja)&&Ca(ka))},es=function(ka){return so.current&&so.current.onKeyDown?([q.a.LEFT,q.a.RIGHT,q.a.UP,q.a.DOWN,q.a.PAGE_UP,q.a.PAGE_DOWN,q.a.ENTER].includes(ka.which)&&ka.preventDefault(),so.current.onKeyDown(ka)):(Object(E.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},ts=function(ka){so.current&&so.current.onBlur&&so.current.onBlur(ka)};Ui&&Ga!=="right"&&(Ui.current={onKeyDown:es,onClose:function(){so.current&&so.current.onClose&&so.current.onClose()}}),l.useEffect(function(){Xn&&!To.current&&Zo(Xn)},[Xn]),l.useEffect(function(){To.current=!1},[]);var _s,Ts=Object(V.a)(Object(V.a)({},tt),{},{operationRef:so,prefixCls:gr,viewDate:jo,value:Ja,onViewDateChange:Za,sourceMode:ks,onPanelChange:ko,disabledDate:Oo!=="decade"?qn:void 0});delete Ts.onChange,delete Ts.onSelect;switch(Oo){case"decade":_s=l.createElement($t,Object.assign({},Ts,{onSelect:function(ka,Go){Za(ka),ys(ka,Go)}}));break;case"year":_s=l.createElement(Ge,Object.assign({},Ts,{onSelect:function(ka,Go){Za(ka),ys(ka,Go)}}));break;case"month":_s=l.createElement(Rt,Object.assign({},Ts,{onSelect:function(ka,Go){Za(ka),ys(ka,Go)}}));break;case"quarter":_s=l.createElement(ni,Object.assign({},Ts,{onSelect:function(ka,Go){Za(ka),ys(ka,Go)}}));break;case"week":_s=l.createElement(nn,Object.assign({},Ts,{onSelect:function(ka,Go){Za(ka),ys(ka,Go)}}));break;case"time":delete Ts.showTime,_s=l.createElement(Dt,Object.assign({},Ts,Object(W.a)(sa)==="object"?sa:null,{onSelect:function(ka,Go){Za(ka),ys(ka,Go)}}));break;default:sa?_s=l.createElement(rr,Object.assign({},Ts,{onSelect:function(ka,Go){Za(ka),ys(ka,Go)}})):_s=l.createElement(Ye,Object.assign({},Ts,{onSelect:function(ka,Go){Za(ka),ys(ka,Go)}}))}var $s,Ms,Fs=function(){var ka=In.getNow(),Go=Bt(In.getHour(ka),In.getMinute(ka),In.getSecond(ka),Ln?ar:1,Qn?mr:1,yi?sn:1),xl=Nt(In,ka,Go[0],Go[1],Go[2]);ys(xl,"submit")};vo||($s=Rn(gr,Oo,Pa),Ms=wr({prefixCls:gr,components:$r,needConfirmButton:Hn,okDisabled:!Ja||qn&&qn(Ja),locale:cn,showNow:ca,onNow:Hn&&Fs,onOk:function(){Ja&&(ys(Ja,"submit",!0),Or&&Or(Ja))}}));var as;if(Na&&Oo==="date"&&Ci==="date"&&!sa){var vs=In.getNow(),Ho="".concat(gr,"-today-btn"),Ns=qn&&qn(vs);as=l.createElement("a",{className:T()(Ho,Ns&&"".concat(Ho,"-disabled")),"aria-disabled":Ns,onClick:function(){Ns||ys(vs,"mouse",!0)}},cn.today)}return l.createElement(re.Provider,{value:Object(V.a)(Object(V.a)({},Di),{},{hideHeader:"hideHeader"in tt?ya:Di.hideHeader,hidePrevBtn:yo&&Ga==="right",hideNextBtn:yo&&Ga==="left"})},l.createElement("div",{tabIndex:Pi,className:T()("".concat(gr,"-panel"),Yr,(Ft={},Object(B.a)(Ft,"".concat(gr,"-panel-has-range"),Ma&&Ma[0]&&Ma[1]),Object(B.a)(Ft,"".concat(gr,"-panel-has-range-hover"),uo&&uo[0]&&uo[1]),Object(B.a)(Ft,"".concat(gr,"-panel-rtl"),vn==="rtl"),Ft)),style:en,onKeyDown:es,onBlur:ts,onMouseDown:Aa,ref:ua},_s,$s||Ms||as?l.createElement("div",{className:"".concat(gr,"-footer")},$s,Ms,as):null))}var rn=pn,Br=i("uciX"),Yn={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 xi(tt){var Ft,Cr=tt.prefixCls,gr=tt.popupElement,Yr=tt.popupStyle,en=tt.visible,cn=tt.dropdownClassName,In=tt.dropdownAlign,Xn=tt.transitionName,ii=tt.getPopupContainer,fi=tt.children,ui=tt.range,qn=tt.popupPlacement,ti=tt.direction,oi="".concat(Cr,"-dropdown"),Ci=function(){return qn!==void 0?qn:ti==="rtl"?"bottomRight":"bottomLeft"};return l.createElement(Br.a,{showAction:[],hideAction:[],popupPlacement:Ci(),builtinPlacements:Yn,prefixCls:oi,popupTransitionName:Xn,popup:gr,popupAlign:In,popupVisible:en,popupClassName:T()(cn,(Ft={},Object(B.a)(Ft,"".concat(oi,"-range"),ui),Object(B.a)(Ft,"".concat(oi,"-rtl"),ti==="rtl"),Ft)),popupStyle:Yr,getPopupContainer:ii},fi)}var Li=xi;function Vi(tt){var Ft=tt.open,Cr=tt.value,gr=tt.isClickOutside,Yr=tt.triggerOpen,en=tt.forwardKeyDown,cn=tt.blurToCancel,In=tt.onSubmit,Xn=tt.onCancel,ii=tt.onFocus,fi=tt.onBlur,ui=Object(l.useState)(!1),qn=Object(z.a)(ui,2),ti=qn[0],oi=qn[1],Ci=Object(l.useState)(!1),Mi=Object(z.a)(Ci,2),Pi=Mi[0],ca=Mi[1],sa=Object(l.useRef)(!1),Na=Object(l.useRef)(!1),Pa={onMouseDown:function(){oi(!0),Yr(!0)},onKeyDown:function(va){switch(va.which){case q.a.ENTER:{Ft?In()!==!1&&oi(!0):Yr(!0),va.preventDefault();return}case q.a.TAB:{ti&&Ft&&!va.shiftKey?(oi(!1),va.preventDefault()):!ti&&Ft&&(!en(va)&&va.shiftKey&&(oi(!0),va.preventDefault()));return}case q.a.ESC:{oi(!0),Xn();return}}!Ft&&![q.a.SHIFT].includes(va.which)?Yr(!0):ti||en(va)},onFocus:function(va){oi(!0),ca(!0),ii&&ii(va)},onBlur:function(va){if(sa.current||!gr(document.activeElement)){sa.current=!1;return}cn?setTimeout(function(){gr(document.activeElement)&&Xn()},0):Ft&&(Yr(!1),Na.current&&In()),ca(!1),fi&&fi(va)}};return Object(l.useEffect)(function(){Na.current=!1},[Ft]),Object(l.useEffect)(function(){Na.current=!0},[Cr]),Object(l.useEffect)(function(){return G(function(ya){var va=ya.target;Ft&&(gr(va)?Pi||Yr(!1):(sa.current=!0,requestAnimationFrame(function(){sa.current=!1})))})}),[Pa,{focused:Pi,typing:ti}]}function Wi(tt){var Ft=tt.valueTexts,Cr=tt.onTextChange,gr=l.useState(""),Yr=Object(z.a)(gr,2),en=Yr[0],cn=Yr[1],In=l.useRef([]);In.current=Ft;function Xn(fi){cn(fi),Cr(fi)}function ii(){cn(In.current[0])}return l.useEffect(function(){Ft.every(function(fi){return fi!==en})&&ii()},[Ft.join("||")]),[en,Xn,ii]}var qi=i("Gytx"),bi=i.n(qi);function ba(tt,Ft){var Cr=Ft.formatList,gr=Ft.generateConfig,Yr=Ft.locale;return Object(Te.a)(function(){if(!tt)return[[""],""];for(var en="",cn=[],In=0;In<Cr.length;In+=1){var Xn=Cr[In],ii=gr.locale.format(Yr.locale,tt,Xn);cn.push(ii),In===0&&(en=ii)}return[cn,en]},[tt,Cr],function(en,cn){return en[0]!==cn[0]||!bi()(en[1],cn[1])})}function Kn(tt,Ft){var Cr=Ft.formatList,gr=Ft.generateConfig,Yr=Ft.locale,en=Object(l.useState)(null),cn=Object(z.a)(en,2),In=cn[0],Xn=cn[1],ii=Object(l.useRef)(null);function fi(Mi){var Pi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(ii.current),Pi){Xn(Mi);return}ii.current=requestAnimationFrame(function(){Xn(Mi)})}var ui=ba(In,{formatList:Cr,generateConfig:gr,locale:Yr}),qn=Object(z.a)(ui,2),ti=qn[1];function oi(Mi){fi(Mi)}function Ci(){var Mi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;fi(null,Mi)}return Object(l.useEffect)(function(){Ci(!0)},[tt]),Object(l.useEffect)(function(){return function(){return cancelAnimationFrame(ii.current)}},[]),[ti,oi,Ci]}function un(tt){var Ft,Cr=tt.prefixCls,gr=Cr===void 0?"rc-picker":Cr,Yr=tt.id,en=tt.tabIndex,cn=tt.style,In=tt.className,Xn=tt.dropdownClassName,ii=tt.dropdownAlign,fi=tt.popupStyle,ui=tt.transitionName,qn=tt.generateConfig,ti=tt.locale,oi=tt.inputReadOnly,Ci=tt.allowClear,Mi=tt.autoFocus,Pi=tt.showTime,ca=tt.picker,sa=ca===void 0?"date":ca,Na=tt.format,Pa=tt.use12Hours,ya=tt.value,va=tt.defaultValue,Ca=tt.open,Ai=tt.defaultOpen,Aa=tt.defaultOpenValue,za=tt.suffixIcon,Or=tt.clearIcon,$r=tt.disabled,vn=tt.disabledDate,Jr=tt.placeholder,ar=tt.getPopupContainer,Hr=tt.pickerRef,mr=tt.panelRender,tn=tt.onChange,sn=tt.onOpenChange,Hn=tt.onFocus,Ln=tt.onBlur,Qn=tt.onMouseDown,yi=tt.onMouseUp,Di=tt.onMouseEnter,Ui=tt.onMouseLeave,ua=tt.onContextMenu,Xa=tt.onClick,vo=tt.direction,wo=tt.autoComplete,ho=wo===void 0?"off":wo,yo=l.useRef(null),Ga=sa==="date"&&!!Pi||sa==="time",Ma=ht(he(Na,sa,Pi,Pa)),uo=l.useRef(null),so=l.useRef(null),To=Object(X.a)(null,{value:ya,defaultValue:va}),No=Object(z.a)(To,2),oo=No[0],Ja=No[1],zo=l.useState(oo),Eo=Object(z.a)(zo,2),Ea=Eo[0],jo=Eo[1],Zo=l.useRef(null),Za=Object(X.a)(!1,{value:Ca,defaultValue:Ai,postState:function($o){return $r?!1:$o},onChange:function($o){sn&&sn($o),!$o&&Zo.current&&Zo.current.onClose&&Zo.current.onClose()}}),Xo=Object(z.a)(Za,2),qo=Xo[0],cs=Xo[1],Oo=ba(Ea,{formatList:Ma,generateConfig:qn,locale:ti}),ss=Object(z.a)(Oo,2),Io=ss[0],lo=ss[1],ks=Wi({valueTexts:Io,onTextChange:function($o){var Sl=qn.locale.parse(ti.locale,$o,Ma);Sl&&(!vn||!vn(Sl))&&jo(Sl)}}),As=Object(z.a)(ks,3),ko=As[0],ys=As[1],es=As[2],ts=function($o){jo($o),Ja($o),tn&&!zt(qn,oo,$o)&&tn($o,$o?qn.locale.format(ti.locale,$o,Ma[0]):"")},_s=function($o){if($r&&$o)return;cs($o)},Ts=function($o){return qo&&Zo.current&&Zo.current.onKeyDown?Zo.current.onKeyDown($o):(Object(E.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},$s=function(){yi&&yi.apply(void 0,arguments),yo.current&&(yo.current.focus(),_s(!0))},Ms=Vi({blurToCancel:Ga,open:qo,value:ko,triggerOpen:_s,forwardKeyDown:Ts,isClickOutside:function($o){return!de([uo.current,so.current],$o)},onSubmit:function(){return vn&&vn(Ea)?!1:(ts(Ea),_s(!1),es(),!0)},onCancel:function(){_s(!1),jo(oo),es()},onFocus:Hn,onBlur:Ln}),Fs=Object(z.a)(Ms,2),as=Fs[0],vs=Fs[1],Ho=vs.focused,Ns=vs.typing;l.useEffect(function(){qo||(jo(oo),!Io.length||Io[0]===""?ys(""):lo!==ko&&es())},[qo,Io]),l.useEffect(function(){qo||es()},[sa]),l.useEffect(function(){jo(oo)},[oo]),Hr&&(Hr.current={focus:function(){yo.current&&yo.current.focus()},blur:function(){yo.current&&yo.current.blur()}});var Us=Object(V.a)(Object(V.a)({},tt),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),ka=l.createElement(rn,Object.assign({},Us,{generateConfig:qn,className:T()(Object(B.a)({},"".concat(gr,"-panel-focused"),!Ns)),value:Ea,locale:ti,tabIndex:-1,onChange:jo,direction:vo}));mr&&(ka=mr(ka));var Go=l.createElement("div",{className:"".concat(gr,"-panel-container"),onMouseDown:function($o){$o.preventDefault()}},ka),xl;za&&(xl=l.createElement("span",{className:"".concat(gr,"-suffix")},za));var ul;Ci&&oo&&!$r&&(ul=l.createElement("span",{onMouseDown:function($o){$o.preventDefault(),$o.stopPropagation()},onMouseUp:function($o){$o.preventDefault(),$o.stopPropagation(),ts(null),_s(!1)},className:"".concat(gr,"-clear")},Or||l.createElement("span",{className:"".concat(gr,"-clear-btn")})));var gl=function($o,Sl){(Sl==="submit"||Sl!=="key"&&!Ga)&&(ts($o),_s(!1))},_l=vo==="rtl"?"bottomRight":"bottomLeft",Xs=Kn(ko,{formatList:Ma,generateConfig:qn,locale:ti}),Yo=Object(z.a)(Xs,3),al=Yo[0],Wl=Yo[1],Ps=Yo[2];return l.createElement(re.Provider,{value:{operationRef:Zo,hideHeader:sa==="time",panelRef:uo,onSelect:gl,open:qo,defaultOpenValue:Aa,onDateMouseEnter:Wl,onDateMouseLeave:Ps}},l.createElement(Li,{visible:qo,popupElement:Go,popupStyle:fi,prefixCls:gr,dropdownClassName:Xn,dropdownAlign:ii,getPopupContainer:ar,transitionName:ui,popupPlacement:_l,direction:vo},l.createElement("div",{className:T()(gr,In,(Ft={},Object(B.a)(Ft,"".concat(gr,"-disabled"),$r),Object(B.a)(Ft,"".concat(gr,"-focused"),Ho),Object(B.a)(Ft,"".concat(gr,"-rtl"),vo==="rtl"),Ft)),style:cn,onMouseDown:Qn,onMouseUp:$s,onMouseEnter:Di,onMouseLeave:Ui,onContextMenu:ua,onClick:Xa},l.createElement("div",{className:T()("".concat(gr,"-input"),Object(B.a)({},"".concat(gr,"-input-placeholder"),!!al)),ref:so},l.createElement("input",Object.assign({id:Yr,tabIndex:en,disabled:$r,readOnly:oi||!Ns,value:al||ko,onChange:function($o){ys($o.target.value)},autoFocus:Mi,placeholder:Jr,ref:yo,title:ko},as,{size:Ze(sa,Ma[0])},Pe(tt),{autoComplete:ho})),xl,ul))))}var ri=function(tt){Object(K.a)(Cr,tt);var Ft=Object(Z.a)(Cr);function Cr(){var gr;return Object(j.a)(this,Cr),gr=Ft.apply(this,arguments),gr.pickerRef=l.createRef(),gr.focus=function(){gr.pickerRef.current&&gr.pickerRef.current.focus()},gr.blur=function(){gr.pickerRef.current&&gr.pickerRef.current.blur()},gr}return Object(k.a)(Cr,[{key:"render",value:function(){return l.createElement(un,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Cr}(l.Component),Cn=ri;function ki(tt,Ft,Cr){var gr=tt.picker,Yr=tt.locale,en=tt.selectedValue,cn=tt.disabledDate,In=tt.disabled,Xn=tt.generateConfig,ii=It(en,0),fi=It(en,1);function ui(Mi){var Pi=Xn.getYear(Mi),ca=Xn.locale.getWeek(Yr.locale,Mi);return Pi*100+ca}function qn(Mi){var Pi=Xn.getYear(Mi),ca=Xn.getMonth(Mi);return Pi*100+ca}function ti(Mi){var Pi=Xn.getYear(Mi),ca=mt(Xn,Mi);return Pi*10+ca}var oi=l.useCallback(function(Mi){if(cn&&cn(Mi))return!0;if(In[1]&&fi)return!gn(Xn,Mi,fi)&&Xn.isAfter(Mi,fi);if(Ft&&fi)switch(gr){case"quarter":return ti(Mi)>ti(fi);case"month":return qn(Mi)>qn(fi);case"week":return ui(Mi)>ui(fi);default:return!gn(Xn,Mi,fi)&&Xn.isAfter(Mi,fi)}return!1},[cn,In[1],fi,Ft]),Ci=l.useCallback(function(Mi){if(cn&&cn(Mi))return!0;if(In[0]&&ii)return!gn(Xn,Mi,fi)&&Xn.isAfter(ii,Mi);if(Cr&&ii)switch(gr){case"quarter":return ti(Mi)<ti(ii);case"month":return qn(Mi)<qn(ii);case"week":return ui(Mi)<ui(ii);default:return!gn(Xn,Mi,ii)&&Xn.isAfter(ii,Mi)}return!1},[cn,In[0],ii,Cr]);return[oi,Ci]}function Tn(tt,Ft,Cr,gr){var Yr=lr(tt,Cr,gr,1);function en(cn){return cn(tt,Ft)?"same":cn(Yr,Ft)?"closing":"far"}switch(Cr){case"year":return en(function(cn,In){return Xt(gr,cn,In)});case"quarter":case"month":return en(function(cn,In){return pr(gr,cn,In)});default:return en(function(cn,In){return yr(gr,cn,In)})}}function oa(tt,Ft,Cr,gr){var Yr=It(tt,0),en=It(tt,1);if(Ft===0)return Yr;if(Yr&&en){var cn=Tn(Yr,en,Cr,gr);switch(cn){case"same":return Yr;case"closing":return Yr;default:return lr(en,Cr,gr,-1)}}return Yr}function Ti(tt){var Ft=tt.values,Cr=tt.picker,gr=tt.defaultDates,Yr=tt.generateConfig,en=l.useState(function(){return[It(gr,0),It(gr,1)]}),cn=Object(z.a)(en,2),In=cn[0],Xn=cn[1],ii=l.useState(null),fi=Object(z.a)(ii,2),ui=fi[0],qn=fi[1],ti=It(Ft,0),oi=It(Ft,1);function Ci(Pi){return In[Pi]?In[Pi]:It(ui,Pi)||oa(Ft,Pi,Cr,Yr)||ti||oi||Yr.getNow()}function Mi(Pi,ca){if(Pi){var sa=nt(ui,Pi,ca);Xn(nt(In,null,ca)||[null,null]);var Na=(ca+1)%2;It(Ft,Na)||(sa=nt(sa,Pi,Na)),qn(sa)}else(ti||oi)&&qn(null)}return[Ci,Mi]}function li(tt,Ft){return tt&&tt[0]&&tt[1]&&Ft.isAfter(tt[0],tt[1])?[tt[1],tt[0]]:tt}function Ri(tt,Ft,Cr,gr){return tt||gr&&gr[Ft]?!0:!!Cr[(Ft+1)%2]}function Da(tt){var Ft,Cr,gr,Yr=tt.prefixCls,en=Yr===void 0?"rc-picker":Yr,cn=tt.id,In=tt.style,Xn=tt.className,ii=tt.popupStyle,fi=tt.dropdownClassName,ui=tt.transitionName,qn=tt.dropdownAlign,ti=tt.getPopupContainer,oi=tt.generateConfig,Ci=tt.locale,Mi=tt.placeholder,Pi=tt.autoFocus,ca=tt.disabled,sa=tt.format,Na=tt.picker,Pa=Na===void 0?"date":Na,ya=tt.showTime,va=tt.use12Hours,Ca=tt.separator,Ai=Ca===void 0?"~":Ca,Aa=tt.value,za=tt.defaultValue,Or=tt.defaultPickerValue,$r=tt.open,vn=tt.defaultOpen,Jr=tt.disabledDate,ar=tt.disabledTime,Hr=tt.dateRender,mr=tt.panelRender,tn=tt.ranges,sn=tt.allowEmpty,Hn=tt.allowClear,Ln=tt.suffixIcon,Qn=tt.clearIcon,yi=tt.pickerRef,Di=tt.inputReadOnly,Ui=tt.mode,ua=tt.renderExtraFooter,Xa=tt.onChange,vo=tt.onOpenChange,wo=tt.onPanelChange,ho=tt.onCalendarChange,yo=tt.onFocus,Ga=tt.onBlur,Ma=tt.onOk,uo=tt.components,so=tt.order,To=tt.direction,No=tt.activePickerIndex,oo=tt.autoComplete,Ja=oo===void 0?"off":oo,zo=Pa==="date"&&!!ya||Pa==="time",Eo=Object(l.useRef)({}),Ea=Object(l.useRef)(null),jo=Object(l.useRef)(null),Zo=Object(l.useRef)(null),Za=Object(l.useRef)(null),Xo=Object(l.useRef)(null),qo=Object(l.useRef)(null),cs=Object(l.useRef)(null),Oo=ht(he(sa,Pa,ya,va)),ss=Object(X.a)(0,{value:No}),Io=Object(z.a)(ss,2),lo=Io[0],ks=Io[1],As=Object(l.useRef)(null),ko=l.useMemo(function(){return Array.isArray(ca)?ca:[ca||!1,ca||!1]},[ca]),ys=Object(X.a)(null,{value:Aa,defaultValue:za,postState:function(xo){return Pa==="time"&&!so?xo:li(xo,oi)}}),es=Object(z.a)(ys,2),ts=es[0],_s=es[1],Ts=Ti({values:ts,picker:Pa,defaultDates:Or,generateConfig:oi}),$s=Object(z.a)(Ts,2),Ms=$s[0],Fs=$s[1],as=Object(X.a)(ts,{postState:function(xo){var ls=xo;if(ko[0]&&ko[1])return ls;for(var Ds=0;Ds<2;Ds+=1)ko[Ds]&&!It(ls,Ds)&&!It(sn,Ds)&&(ls=nt(ls,oi.getNow(),Ds));return ls}}),vs=Object(z.a)(as,2),Ho=vs[0],Ns=vs[1],Us=Object(X.a)([Pa,Pa],{value:Ui}),ka=Object(z.a)(Us,2),Go=ka[0],xl=ka[1];Object(l.useEffect)(function(){xl([Pa,Pa])},[Pa]);var ul=function(xo,ls){xl(xo),wo&&wo(ls,xo)},gl=ki({picker:Pa,selectedValue:Ho,locale:Ci,disabled:ko,disabledDate:Jr,generateConfig:oi},Eo.current[1],Eo.current[0]),_l=Object(z.a)(gl,2),Xs=_l[0],Yo=_l[1],al=Object(X.a)(!1,{value:$r,defaultValue:vn,postState:function(xo){return ko[lo]?!1:xo},onChange:function(xo){vo&&vo(xo),!xo&&As.current&&As.current.onClose&&As.current.onClose()}}),Wl=Object(z.a)(al,2),Ps=Wl[0],nl=Wl[1],$o=Ps&&lo===0,Sl=Ps&&lo===1,Pc=Object(l.useState)(0),nc=Object(z.a)(Pc,2),hc=nc[0],ic=nc[1];Object(l.useEffect)(function(){!Ps&&Ea.current&&ic(Ea.current.offsetWidth)},[Ps]);var Jl=l.useRef();function Yl(ps,xo){if(ps)clearTimeout(Jl.current),Eo.current[xo]=!0,ks(xo),nl(ps),Ps||Fs(null,xo);else if(lo===xo){nl(ps);var ls=Eo.current;Jl.current=setTimeout(function(){ls===Eo.current&&(Eo.current={})})}}function Al(ps){Yl(!0,ps),setTimeout(function(){var xo=[qo,cs][ps];xo.current&&xo.current.focus()},0)}function zs(ps,xo){var ls=ps,Ds=It(ls,0),Nl=It(ls,1);Ds&&Nl&&oi.isAfter(Ds,Nl)&&(Pa==="week"&&!ur(oi,Ci.locale,Ds,Nl)||Pa==="quarter"&&!nr(oi,Ds,Nl)||Pa!=="week"&&Pa!=="quarter"&&Pa!=="time"&&!gn(oi,Ds,Nl)?(xo===0?(ls=[Ds,null],Nl=null):(Ds=null,ls=[null,Nl]),Eo.current=Object(B.a)({},xo,!0)):(Pa!=="time"||so!==!1)&&(ls=li(ls,oi))),Ns(ls);var vc=ls&&ls[0]?oi.locale.format(Ci.locale,ls[0],Oo[0]):"",ec=ls&&ls[1]?oi.locale.format(Ci.locale,ls[1],Oo[0]):"";if(ho){var Xl={range:xo===0?"start":"end"};ho(ls,[vc,ec],Xl)}var hl=Ri(Ds,0,ko,sn),tl=Ri(Nl,1,ko,sn),Ll=ls===null||hl&&tl;Ll&&(_s(ls),Xa&&(!zt(oi,It(ts,0),Ds)||!zt(oi,It(ts,1),Nl))&&Xa(ls,[vc,ec]));var Qs=null;xo===0&&!ko[1]?Qs=1:xo===1&&!ko[0]&&(Qs=0),Qs!==null&&Qs!==lo&&(!Eo.current[Qs]||!It(ls,Qs))&&It(ls,xo)?Al(Qs):Yl(!1,xo)}var Tl=function(xo){return Ps&&As.current&&As.current.onKeyDown?As.current.onKeyDown(xo):(Object(E.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},vl={formatList:Oo,generateConfig:oi,locale:Ci},Cl=ba(It(Ho,0),vl),dn=Object(z.a)(Cl,2),bl=dn[0],Lc=dn[1],bc=ba(It(Ho,1),vl),pc=Object(z.a)(bc,2),fs=pc[0],Ks=pc[1],Ol=function(xo,ls){var Ds=oi.locale.parse(Ci.locale,xo,Oo),Nl=ls===0?Xs:Yo;Ds&&!Nl(Ds)&&(Ns(nt(Ho,Ds,ls)),Fs(Ds,ls))},Hs=Wi({valueTexts:bl,onTextChange:function(xo){return Ol(xo,0)}}),ol=Object(z.a)(Hs,3),Gs=ol[0],Il=ol[1],Uc=ol[2],mc=Wi({valueTexts:fs,onTextChange:function(xo){return Ol(xo,1)}}),yc=Object(z.a)(mc,3),ac=yc[0],Ql=yc[1],gc=yc[2],Mt=Object(l.useState)(null),Vt=Object(z.a)(Mt,2),wn=Vt[0],ci=Vt[1],Et=Object(l.useState)(null),ce=Object(z.a)(Et,2),Se=ce[0],Oe=ce[1],Xe=Kn(Gs,{formatList:Oo,generateConfig:oi,locale:Ci}),wt=Object(z.a)(Xe,3),Ht=wt[0],Pr=wt[1],Xr=wt[2],yn=Kn(ac,{formatList:Oo,generateConfig:oi,locale:Ci}),Jn=Object(z.a)(yn,3),Ei=Jn[0],Ji=Jn[1],wa=Jn[2],Ya=function(xo){Oe(nt(Ho,xo,lo)),lo===0?Pr(xo):Ji(xo)},mo=function(){Oe(nt(Ho,null,lo)),lo===0?Xr():wa()},Mo=function(xo,ls){return{blurToCancel:zo,forwardKeyDown:Tl,onBlur:Ga,isClickOutside:function(Nl){return!de([jo.current,Zo.current,Za.current],Nl)},onFocus:function(Nl){ks(xo),yo&&yo(Nl)},triggerOpen:function(Nl){Yl(Nl,xo)},onSubmit:function(){zs(Ho,xo),ls()},onCancel:function(){Yl(!1,xo),Ns(ts),ls()}}},us=Vi(Object(V.a)(Object(V.a)({},Mo(0,Uc)),{},{open:$o,value:Gs})),ws=Object(z.a)(us,2),Os=ws[0],il=ws[1],Ys=il.focused,ro=il.typing,Ws=Vi(Object(V.a)(Object(V.a)({},Mo(1,gc)),{},{open:Sl,value:ac})),bs=Object(z.a)(Ws,2),Rl=bs[0],sl=bs[1],el=sl.focused,dl=sl.typing,$l=function(xo){!Ps&&!qo.current.contains(xo.target)&&!cs.current.contains(xo.target)&&(ko[0]?ko[1]||Al(1):Al(0))},zl=function(xo){Ps&&(Ys||el)&&!qo.current.contains(xo.target)&&!cs.current.contains(xo.target)&&xo.preventDefault()},Kl=ts&&ts[0]?oi.locale.format(Ci.locale,ts[0],"YYYYMMDDHHmmss"):"",ql=ts&&ts[1]?oi.locale.format(Ci.locale,ts[1],"YYYYMMDDHHmmss"):"";Object(l.useEffect)(function(){Ps||(Ns(ts),!bl.length||bl[0]===""?Il(""):Lc!==Gs&&Uc(),!fs.length||fs[0]===""?Ql(""):Ks!==ac&&gc())},[Ps,bl,fs]),Object(l.useEffect)(function(){Ns(ts)},[Kl,ql]),yi&&(yi.current={focus:function(){qo.current&&qo.current.focus()},blur:function(){qo.current&&qo.current.blur(),cs.current&&cs.current.blur()}});var Vl=Object.keys(tn||{}),Nc=Vl.map(function(ps){var xo=tn[ps],ls=typeof xo=="function"?xo():xo;return{label:ps,onClick:function(){zs(ls,null),Yl(!1,lo)},onMouseEnter:function(){ci(ls)},onMouseLeave:function(){ci(null)}}});function Zc(){var ps=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,xo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ls=null;Ps&&Se&&Se[0]&&Se[1]&&oi.isAfter(Se[1],Se[0])&&(ls=Se);var Ds=ya;if(ya&&Object(W.a)(ya)==="object"&&ya.defaultValue){var Nl=ya.defaultValue;Ds=Object(V.a)(Object(V.a)({},ya),{},{defaultValue:It(Nl,lo)||void 0})}var vc=null;return Hr&&(vc=function(Xl,hl){return Hr(Xl,hl,{range:lo?"end":"start"})}),l.createElement(Rr.Provider,{value:{inRange:!0,panelPosition:ps,rangedValue:wn||Ho,hoverRangedValue:ls}},l.createElement(rn,Object.assign({},tt,xo,{dateRender:vc,showTime:Ds,mode:Go[lo],generateConfig:oi,style:void 0,direction:To,disabledDate:lo===0?Xs:Yo,disabledTime:function(Xl){return ar?ar(Xl,lo===0?"start":"end"):!1},className:T()(Object(B.a)({},"".concat(en,"-panel-focused"),lo===0?!ro:!dl)),value:It(Ho,lo),locale:Ci,tabIndex:-1,onPanelChange:function(Xl,hl){ul(nt(Go,hl,lo),nt(Ho,Xl,lo));var tl=Xl;ps==="right"&&Go[lo]===hl&&(tl=lr(tl,hl,oi,-1)),Fs(tl,lo)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Zl=0,ll=0;lo&&Zo.current&&Xo.current&&jo.current&&(Zl=Zo.current.offsetWidth+Xo.current.offsetWidth,jo.current.offsetWidth&&Zl>jo.current.offsetWidth&&(ll=Zl));var Fl=To==="rtl"?{right:Zl}:{left:Zl};function Mc(){var ps,xo=Rn(en,Go[lo],ua),ls=wr({prefixCls:en,components:uo,needConfirmButton:zo,okDisabled:!It(Ho,lo)||Jr&&Jr(Ho[lo]),locale:Ci,rangeList:Nc,onOk:function(){It(Ho,lo)&&(zs(Ho,lo),Ma&&Ma(Ho))}});if(Pa!=="time"&&!ya){var Ds=Ms(lo),Nl=lr(Ds,Pa,oi),vc=Go[lo],ec=vc===Pa,Xl=Zc(ec?"left":!1,{pickerValue:Ds,onPickerValueChange:function(Qs){Fs(Qs,lo)}}),hl=Zc("right",{pickerValue:Nl,onPickerValueChange:function(Qs){Fs(lr(Qs,Pa,oi,-1),lo)}});To==="rtl"?ps=l.createElement(l.Fragment,null,hl,ec&&Xl):ps=l.createElement(l.Fragment,null,Xl,ec&&hl)}else ps=Zc();var tl=l.createElement(l.Fragment,null,l.createElement("div",{className:"".concat(en,"-panels")},ps),(xo||ls)&&l.createElement("div",{className:"".concat(en,"-footer")},xo,ls));return mr&&(tl=mr(tl)),l.createElement("div",{className:"".concat(en,"-panel-container"),style:{marginLeft:ll},ref:jo,onMouseDown:function(Qs){Qs.preventDefault()}},tl)}var fc=l.createElement("div",{className:T()("".concat(en,"-range-wrapper"),"".concat(en,"-").concat(Pa,"-range-wrapper")),style:{minWidth:hc}},l.createElement("div",{className:"".concat(en,"-range-arrow"),style:Fl}),Mc()),Cc;Ln&&(Cc=l.createElement("span",{className:"".concat(en,"-suffix")},Ln));var Oc;Hn&&(It(ts,0)&&!ko[0]||It(ts,1)&&!ko[1])&&(Oc=l.createElement("span",{onMouseDown:function(xo){xo.preventDefault(),xo.stopPropagation()},onMouseUp:function(xo){xo.preventDefault(),xo.stopPropagation();var ls=ts;ko[0]||(ls=nt(ls,null,0)),ko[1]||(ls=nt(ls,null,1)),zs(ls,null),Yl(!1,lo)},className:"".concat(en,"-clear")},Qn||l.createElement("span",{className:"".concat(en,"-clear-btn")})));var Ac={size:Ze(Pa,Oo[0])},Wc=0,Dc=0;Zo.current&&Za.current&&Xo.current&&(lo===0?Dc=Zo.current.offsetWidth:(Wc=Zl,Dc=Za.current.offsetWidth));var jc=To==="rtl"?{right:Wc}:{left:Wc},wc=function(xo,ls){var Ds=nt(Ho,xo,lo);ls==="submit"||ls!=="key"&&!zo?(zs(Ds,lo),lo===0?Xr():wa()):Ns(Ds)};return l.createElement(re.Provider,{value:{operationRef:As,hideHeader:Pa==="time",onDateMouseEnter:Ya,onDateMouseLeave:mo,hideRanges:!0,onSelect:wc,open:Ps}},l.createElement(Li,{visible:Ps,popupElement:fc,popupStyle:ii,prefixCls:en,dropdownClassName:fi,dropdownAlign:qn,getPopupContainer:ti,transitionName:ui,range:!0,direction:To},l.createElement("div",Object.assign({ref:Ea,className:T()(en,"".concat(en,"-range"),Xn,(Ft={},Object(B.a)(Ft,"".concat(en,"-disabled"),ko[0]&&ko[1]),Object(B.a)(Ft,"".concat(en,"-focused"),lo===0?Ys:el),Object(B.a)(Ft,"".concat(en,"-rtl"),To==="rtl"),Ft)),style:In,onClick:$l,onMouseDown:zl},Pe(tt)),l.createElement("div",{className:T()("".concat(en,"-input"),(Cr={},Object(B.a)(Cr,"".concat(en,"-input-active"),lo===0),Object(B.a)(Cr,"".concat(en,"-input-placeholder"),!!Ht),Cr)),ref:Zo},l.createElement("input",Object.assign({id:cn,disabled:ko[0],readOnly:Di||!ro,value:Ht||Gs,onChange:function(xo){Il(xo.target.value)},autoFocus:Pi,placeholder:It(Mi,0)||"",ref:qo},Os,Ac,{autoComplete:Ja}))),l.createElement("div",{className:"".concat(en,"-range-separator"),ref:Xo},Ai),l.createElement("div",{className:T()("".concat(en,"-input"),(gr={},Object(B.a)(gr,"".concat(en,"-input-active"),lo===1),Object(B.a)(gr,"".concat(en,"-input-placeholder"),!!Ei),gr)),ref:Za},l.createElement("input",Object.assign({disabled:ko[1],readOnly:Di||!dl,value:Ei||ac,onChange:function(xo){Ql(xo.target.value)},placeholder:It(Mi,1)||"",ref:cs},Rl,Ac,{autoComplete:Ja}))),l.createElement("div",{className:"".concat(en,"-active-bar"),style:Object(V.a)(Object(V.a)({},jc),{},{width:Dc,position:"absolute"})}),Cc,Oc)))}var Un=function(tt){Object(K.a)(Cr,tt);var Ft=Object(Z.a)(Cr);function Cr(){var gr;return Object(j.a)(this,Cr),gr=Ft.apply(this,arguments),gr.pickerRef=l.createRef(),gr.focus=function(){gr.pickerRef.current&&gr.pickerRef.current.focus()},gr.blur=function(){gr.pickerRef.current&&gr.pickerRef.current.blur()},gr}return Object(k.a)(Cr,[{key:"render",value:function(){return l.createElement(Da,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Cr}(l.Component),on=Un,Zn=Cn,hi=i("61s2");function Ni(tt,Ft,Cr){return Cr!==void 0?Cr:tt==="year"&&Ft.lang.yearPlaceholder?Ft.lang.yearPlaceholder:tt==="quarter"&&Ft.lang.quarterPlaceholder?Ft.lang.quarterPlaceholder:tt==="month"&&Ft.lang.monthPlaceholder?Ft.lang.monthPlaceholder:tt==="week"&&Ft.lang.weekPlaceholder?Ft.lang.weekPlaceholder:tt==="time"&&Ft.timePickerLocale.placeholder?Ft.timePickerLocale.placeholder:Ft.lang.placeholder}function zi(tt,Ft,Cr){return Cr!==void 0?Cr:tt==="year"&&Ft.lang.yearPlaceholder?Ft.lang.rangeYearPlaceholder:tt==="month"&&Ft.lang.monthPlaceholder?Ft.lang.rangeMonthPlaceholder:tt==="week"&&Ft.lang.weekPlaceholder?Ft.lang.rangeWeekPlaceholder:tt==="time"&&Ft.timePickerLocale.placeholder?Ft.timePickerLocale.rangePlaceholder:Ft.lang.rangePlaceholder}var ea=i("uaoM"),Fi=i("H84U"),ia=i("YMnH"),Va=i("3Nzz"),fo=function(tt,Ft){var Cr={};for(var gr in tt)Object.prototype.hasOwnProperty.call(tt,gr)&&Ft.indexOf(gr)<0&&(Cr[gr]=tt[gr]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yr=0,gr=Object.getOwnPropertySymbols(tt);Yr<gr.length;Yr++)Ft.indexOf(gr[Yr])<0&&Object.prototype.propertyIsEnumerable.call(tt,gr[Yr])&&(Cr[gr[Yr]]=tt[gr[Yr]]);return Cr};function ja(tt){function Ft(Xn,ii){var fi=function(ui){A()(ti,ui);var qn=x()(ti);function ti(oi){var Ci;return o()(this,ti),Ci=qn.call(this,oi),Ci.pickerRef=l.createRef(),Ci.focus=function(){Ci.pickerRef.current&&Ci.pickerRef.current.focus()},Ci.blur=function(){Ci.pickerRef.current&&Ci.pickerRef.current.blur()},Ci.getDefaultLocale=function(){var Mi=Ci.props.locale,Pi=d()(d()({},hi.a),Mi);return Pi.lang=d()(d()({},Pi.lang),(Mi||{}).lang),Pi},Ci.renderPicker=function(Mi){var Pi=Ci.context,ca=Pi.getPrefixCls,sa=Pi.direction,Na=Pi.getPopupContainer,Pa=Ci.props,ya=Pa.prefixCls,va=Pa.getPopupContainer,Ca=Pa.className,Ai=Pa.size,Aa=Pa.bordered,za=Aa===void 0?!0:Aa,Or=Pa.placeholder,$r=fo(Pa,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),vn=Ci.props,Jr=vn.format,ar=vn.showTime,Hr=ca("picker",ya),mr={showToday:!0},tn={};Xn&&(tn.picker=Xn);var sn=Xn||Ci.props.picker;return tn=d()(d()(d()({},tn),ar?ao(d()({format:Jr,picker:sn},ar)):{}),sn==="time"?ao(d()(d()({format:Jr},Ci.props),{picker:sn})):{}),l.createElement(Va.b.Consumer,null,function(Hn){var Ln,Qn=Ai||Hn;return l.createElement(Zn,d()({ref:Ci.pickerRef,placeholder:Ni(sn,Mi,Or),suffixIcon:sn==="time"?l.createElement(L.a,null):l.createElement(S.a,null),clearIcon:l.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},mr,$r,tn,{locale:Mi.lang,className:T()(Ca,(Ln={},c()(Ln,"".concat(Hr,"-").concat(Qn),Qn),c()(Ln,"".concat(Hr,"-borderless"),!za),Ln)),prefixCls:Hr,getPopupContainer:va||Na,generateConfig:tt,prevIcon:l.createElement("span",{className:"".concat(Hr,"-prev-icon")}),nextIcon:l.createElement("span",{className:"".concat(Hr,"-next-icon")}),superPrevIcon:l.createElement("span",{className:"".concat(Hr,"-super-prev-icon")}),superNextIcon:l.createElement("span",{className:"".concat(Hr,"-super-next-icon")}),components:io,direction:sa}))})},Object(ea.a)(Xn!=="quarter",ii,"DatePicker.".concat(ii," is legacy usage. Please use DatePicker[picker='").concat(Xn,"'] directly.")),Ci}return h()(ti,[{key:"render",value:function(){return l.createElement(ia.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),ti}(l.Component);return fi.contextType=Fi.b,ii&&(fi.displayName=ii),fi}var Cr=Ft(),gr=Ft("week","WeekPicker"),Yr=Ft("month","MonthPicker"),en=Ft("year","YearPicker"),cn=Ft("time","TimePicker"),In=Ft("quarter","QuarterPicker");return{DatePicker:Cr,WeekPicker:gr,MonthPicker:Yr,YearPicker:en,TimePicker:cn,QuarterPicker:In}}var Ka=i("8ISB"),Gi=i.n(Ka),mn=function(tt,Ft){var Cr={};for(var gr in tt)Object.prototype.hasOwnProperty.call(tt,gr)&&Ft.indexOf(gr)<0&&(Cr[gr]=tt[gr]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yr=0,gr=Object.getOwnPropertySymbols(tt);Yr<gr.length;Yr++)Ft.indexOf(gr[Yr])<0&&Object.prototype.propertyIsEnumerable.call(tt,gr[Yr])&&(Cr[gr[Yr]]=tt[gr[Yr]]);return Cr};function $i(tt){var Ft=function(Cr){A()(Yr,Cr);var gr=x()(Yr);function Yr(){var en;return o()(this,Yr),en=gr.apply(this,arguments),en.pickerRef=l.createRef(),en.focus=function(){en.pickerRef.current&&en.pickerRef.current.focus()},en.blur=function(){en.pickerRef.current&&en.pickerRef.current.blur()},en.getDefaultLocale=function(){var cn=en.props.locale,In=d()(d()({},hi.a),cn);return In.lang=d()(d()({},In.lang),(cn||{}).lang),In},en.renderPicker=function(cn){var In=en.context,Xn=In.getPrefixCls,ii=In.direction,fi=In.getPopupContainer,ui=en.props,qn=ui.prefixCls,ti=ui.getPopupContainer,oi=ui.className,Ci=ui.size,Mi=ui.bordered,Pi=Mi===void 0?!0:Mi,ca=ui.placeholder,sa=mn(ui,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Na=en.props,Pa=Na.format,ya=Na.showTime,va=Na.picker,Ca=Xn("picker",qn),Ai={};return Ai=d()(d()(d()({},Ai),ya?ao(d()({format:Pa,picker:va},ya)):{}),va==="time"?ao(d()(d()({format:Pa},en.props),{picker:va})):{}),l.createElement(Va.b.Consumer,null,function(Aa){var za,Or=Ci||Aa;return l.createElement(on,d()({separator:l.createElement("span",{"aria-label":"to",className:"".concat(Ca,"-separator")},l.createElement(Gi.a,null)),ref:en.pickerRef,placeholder:zi(va,cn,ca),suffixIcon:va==="time"?l.createElement(L.a,null):l.createElement(S.a,null),clearIcon:l.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},sa,Ai,{className:T()(oi,(za={},c()(za,"".concat(Ca,"-").concat(Or),Or),c()(za,"".concat(Ca,"-borderless"),!Pi),za)),locale:cn.lang,prefixCls:Ca,getPopupContainer:ti||fi,generateConfig:tt,prevIcon:l.createElement("span",{className:"".concat(Ca,"-prev-icon")}),nextIcon:l.createElement("span",{className:"".concat(Ca,"-next-icon")}),superPrevIcon:l.createElement("span",{className:"".concat(Ca,"-super-prev-icon")}),superNextIcon:l.createElement("span",{className:"".concat(Ca,"-super-next-icon")}),components:io,direction:ii}))})},en}return h()(Yr,[{key:"render",value:function(){return l.createElement(ia.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Yr}(l.Component);return Ft.contextType=Fi.b,Ft}var io={button:t,rangeItem:s};function La(tt){return tt?Array.isArray(tt)?tt:[tt]:[]}function ao(tt){var Ft=tt.format,Cr=tt.picker,gr=tt.showHour,Yr=tt.showMinute,en=tt.showSecond,cn=tt.use12Hours,In=La(Ft)[0],Xn=d()({},tt);return In&&(!In.includes("s")&&en===void 0&&(Xn.showSecond=!1),!In.includes("m")&&Yr===void 0&&(Xn.showMinute=!1),!In.includes("H")&&!In.includes("h")&&gr===void 0&&(Xn.showHour=!1),(In.includes("a")||In.includes("A"))&&cn===void 0&&(Xn.use12Hours=!0)),Cr==="time"?Xn:{showTime:Xn}}function tr(tt){var Ft=ja(tt),Cr=Ft.DatePicker,gr=Ft.WeekPicker,Yr=Ft.MonthPicker,en=Ft.YearPicker,cn=Ft.TimePicker,In=Ft.QuarterPicker,Xn=$i(tt),ii=Cr;return ii.WeekPicker=gr,ii.MonthPicker=Yr,ii.YearPicker=en,ii.RangePicker=Xn,ii.TimePicker=cn,ii.QuarterPicker=In,ii}var An=tr,_n=An(v),Bn=R.a=_n},"+lIL":function(U,R,i){var y=i("ProS");i("/ry/"),i("3OrL");var m=i("L5E0"),E=i("7Phj");y.registerVisual(m),y.registerLayout(E)},"+nKL":function(U,R,i){"use strict";var y=i("q1tI"),m=i("TSYQ"),E=i.n(m),p=i("wx14"),v=i("Zm9Q"),f=i("Kwbf"),d=i("VTBJ"),l=i("c+Xe"),n=i("m+aA"),t=i("bdgK"),a=new Map;function s(lt){lt.forEach(function(ct){var Le,Ue=ct.target;(Le=a.get(Ue))===null||Le===void 0||Le.forEach(function(Ye){return Ye(Ue)})})}var r=new t.default(s),c=null,e=null;function o(lt,ct){a.has(lt)||(a.set(lt,new Set),r.observe(lt)),a.get(lt).add(ct)}function u(lt,ct){a.has(lt)&&(a.get(lt).delete(ct),a.get(lt).size||(r.unobserve(lt),a.delete(lt)))}var h=i("1OyB"),g=i("vuIU"),A=i("Ji7U"),w=i("LK+K"),x=function(lt){Object(A.a)(Le,lt);var ct=Object(w.a)(Le);function Le(){return Object(h.a)(this,Le),ct.apply(this,arguments)}return Object(g.a)(Le,[{key:"render",value:function(){return this.props.children}}]),Le}(y.Component),C=y.createContext(null);function T(lt){var ct=lt.children,Le=lt.onBatchResize,Ue=y.useRef(0),Ye=y.useRef([]),ft=y.useContext(C),ir=y.useCallback(function(Yt,rr,Zr){Ue.current+=1;var nn=Ue.current;Ye.current.push({size:Yt,element:rr,data:Zr}),Promise.resolve().then(function(){nn===Ue.current&&(Le==null||Le(Ye.current),Ye.current=[])}),ft==null||ft(Yt,rr,Zr)},[Le,ft]);return y.createElement(C.Provider,{value:ir},ct)}function O(lt){var ct=lt.children,Le=lt.disabled,Ue=y.useRef(null),Ye=y.useRef(null),ft=y.useContext(C),ir=typeof ct=="function",Yt=ir?ct(Ue):ct,rr=y.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Zr=!ir&&y.isValidElement(Yt)&&Object(l.c)(Yt),nn=Zr?Yt.ref:null,Pn=y.useMemo(function(){return Object(l.a)(nn,Ue)},[nn,Ue]),qt=y.useRef(lt);qt.current=lt;var St=y.useCallback(function(At){var cr=qt.current,or=cr.onResize,Tt=cr.data,Rt=At.getBoundingClientRect(),_t=Rt.width,Zt=Rt.height,Nr=At.offsetWidth,Sr=At.offsetHeight,br=Math.floor(_t),hn=Math.floor(Zt);if(rr.current.width!==br||rr.current.height!==hn||rr.current.offsetWidth!==Nr||rr.current.offsetHeight!==Sr){var fn={width:br,height:hn,offsetWidth:Nr,offsetHeight:Sr};rr.current=fn;var ni=Nr===Math.round(_t)?_t:Nr,mi=Sr===Math.round(Zt)?Zt:Sr,_i=Object(d.a)(Object(d.a)({},fn),{},{offsetWidth:ni,offsetHeight:mi});ft==null||ft(_i,At,Tt),or&&Promise.resolve().then(function(){or(_i,At)})}},[]);return y.useEffect(function(){var At=Object(n.a)(Ue.current)||Object(n.a)(Ye.current);return At&&!Le&&o(At,St),function(){return u(At,St)}},[Ue.current,Le]),y.createElement(x,{ref:Ye},Zr?y.cloneElement(Yt,{ref:Pn}):Yt)}var S="rc-observer-key";function _(lt){var ct=lt.children,Le=typeof ct=="function"?[ct]:Object(v.a)(ct);return Le.map(function(Ue,Ye){var ft=(Ue==null?void 0:Ue.key)||"".concat(S,"-").concat(Ye);return y.createElement(O,Object(p.a)({},lt,{key:ft}),Ue)})}_.Collection=T;var L=_;function D(lt,ct){var Le=Object.keys(lt);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(lt);ct&&(Ue=Ue.filter(function(Ye){return Object.getOwnPropertyDescriptor(lt,Ye).enumerable})),Le.push.apply(Le,Ue)}return Le}function F(lt){for(var ct=1;ct<arguments.length;ct++){var Le=arguments[ct]!=null?arguments[ct]:{};ct%2?D(Object(Le),!0).forEach(function(Ue){j(lt,Ue,Le[Ue])}):Object.getOwnPropertyDescriptors?Object.defineProperties(lt,Object.getOwnPropertyDescriptors(Le)):D(Object(Le)).forEach(function(Ue){Object.defineProperty(lt,Ue,Object.getOwnPropertyDescriptor(Le,Ue))})}return lt}function j(lt,ct,Le){return ct in lt?Object.defineProperty(lt,ct,{value:Le,enumerable:!0,configurable:!0,writable:!0}):lt[ct]=Le,lt}var k=y.forwardRef(function(lt,ct){var Le=lt.height,Ue=lt.offset,Ye=lt.children,ft=lt.prefixCls,ir=lt.onInnerResize,Yt={},rr={display:"flex",flexDirection:"column"};return Ue!==void 0&&(Yt={height:Le,position:"relative",overflow:"hidden"},rr=F(F({},rr),{},{transform:"translateY(".concat(Ue,"px)"),position:"absolute",left:0,right:0,top:0})),y.createElement("div",{style:Yt},y.createElement(L,{onResize:function(nn){var Pn=nn.offsetHeight;Pn&&ir&&ir()}},y.createElement("div",{style:rr,className:E()(j({},"".concat(ft,"-holder-inner"),ft)),ref:ct},Ye)))});k.displayName="Filler";var K=k,Z=i("wgJM");function B(lt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?B=function(Le){return typeof Le}:B=function(Le){return Le&&typeof Symbol=="function"&&Le.constructor===Symbol&&Le!==Symbol.prototype?"symbol":typeof Le},B(lt)}function V(lt,ct,Le){return ct in lt?Object.defineProperty(lt,ct,{value:Le,enumerable:!0,configurable:!0,writable:!0}):lt[ct]=Le,lt}function z(lt,ct){if(!(lt instanceof ct))throw new TypeError("Cannot call a class as a function")}function X(lt,ct){for(var Le=0;Le<ct.length;Le++){var Ue=ct[Le];Ue.enumerable=Ue.enumerable||!1,Ue.configurable=!0,"value"in Ue&&(Ue.writable=!0),Object.defineProperty(lt,Ue.key,Ue)}}function W(lt,ct,Le){return ct&&X(lt.prototype,ct),Le&&X(lt,Le),lt}function q(lt,ct){if(typeof ct!="function"&&ct!==null)throw new TypeError("Super expression must either be null or a function");lt.prototype=Object.create(ct&&ct.prototype,{constructor:{value:lt,writable:!0,configurable:!0}}),ct&&Y(lt,ct)}function Y(lt,ct){return Y=Object.setPrototypeOf||function(Ue,Ye){return Ue.__proto__=Ye,Ue},Y(lt,ct)}function re(lt){var ct=ie();return function(){var Ue=me(lt),Ye;if(ct){var ft=me(this).constructor;Ye=Reflect.construct(Ue,arguments,ft)}else Ye=Ue.apply(this,arguments);return ne(this,Ye)}}function ne(lt,ct){if(ct&&(B(ct)==="object"||typeof ct=="function"))return ct;if(ct!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return we(lt)}function we(lt){if(lt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return lt}function ie(){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(lt){return!1}}function me(lt){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(Le){return Le.__proto__||Object.getPrototypeOf(Le)},me(lt)}var _e=20;function Te(lt){return"touches"in lt?lt.touches[0].pageY:lt.pageY}var We=function(lt){q(Le,lt);var ct=re(Le);function Le(){var Ue;z(this,Le);for(var Ye=arguments.length,ft=new Array(Ye),ir=0;ir<Ye;ir++)ft[ir]=arguments[ir];return Ue=ct.call.apply(ct,[this].concat(ft)),Ue.moveRaf=null,Ue.scrollbarRef=y.createRef(),Ue.thumbRef=y.createRef(),Ue.visibleTimeout=null,Ue.state={dragging:!1,pageY:null,startTop:null,visible:!1},Ue.delayHidden=function(){clearTimeout(Ue.visibleTimeout),Ue.setState({visible:!0}),Ue.visibleTimeout=setTimeout(function(){Ue.setState({visible:!1})},2e3)},Ue.onScrollbarTouchStart=function(Yt){Yt.preventDefault()},Ue.onContainerMouseDown=function(Yt){Yt.stopPropagation(),Yt.preventDefault()},Ue.patchEvents=function(){window.addEventListener("mousemove",Ue.onMouseMove),window.addEventListener("mouseup",Ue.onMouseUp),Ue.thumbRef.current.addEventListener("touchmove",Ue.onMouseMove),Ue.thumbRef.current.addEventListener("touchend",Ue.onMouseUp)},Ue.removeEvents=function(){window.removeEventListener("mousemove",Ue.onMouseMove),window.removeEventListener("mouseup",Ue.onMouseUp),Ue.scrollbarRef.current.removeEventListener("touchstart",Ue.onScrollbarTouchStart),Ue.thumbRef.current.removeEventListener("touchstart",Ue.onMouseDown),Ue.thumbRef.current.removeEventListener("touchmove",Ue.onMouseMove),Ue.thumbRef.current.removeEventListener("touchend",Ue.onMouseUp),Z.a.cancel(Ue.moveRaf)},Ue.onMouseDown=function(Yt){var rr=Ue.props.onStartMove;Ue.setState({dragging:!0,pageY:Te(Yt),startTop:Ue.getTop()}),rr(),Ue.patchEvents(),Yt.stopPropagation(),Yt.preventDefault()},Ue.onMouseMove=function(Yt){var rr=Ue.state,Zr=rr.dragging,nn=rr.pageY,Pn=rr.startTop,qt=Ue.props.onScroll;if(Z.a.cancel(Ue.moveRaf),Zr){var St=Te(Yt)-nn,At=Pn+St,cr=Ue.getEnableScrollRange(),or=Ue.getEnableHeightRange(),Tt=or?At/or:0,Rt=Math.ceil(Tt*cr);Ue.moveRaf=Object(Z.a)(function(){qt(Rt)})}},Ue.onMouseUp=function(){var Yt=Ue.props.onStopMove;Ue.setState({dragging:!1}),Yt(),Ue.removeEvents()},Ue.getSpinHeight=function(){var Yt=Ue.props,rr=Yt.height,Zr=Yt.count,nn=rr/Zr*10;return nn=Math.max(nn,_e),nn=Math.min(nn,rr/2),Math.floor(nn)},Ue.getEnableScrollRange=function(){var Yt=Ue.props,rr=Yt.scrollHeight,Zr=Yt.height;return rr-Zr||0},Ue.getEnableHeightRange=function(){var Yt=Ue.props.height,rr=Ue.getSpinHeight();return Yt-rr||0},Ue.getTop=function(){var Yt=Ue.props.scrollTop,rr=Ue.getEnableScrollRange(),Zr=Ue.getEnableHeightRange();if(Yt===0||rr===0)return 0;var nn=Yt/rr;return nn*Zr},Ue.showScroll=function(){var Yt=Ue.props,rr=Yt.height,Zr=Yt.scrollHeight;return Zr>rr},Ue}return W(Le,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(Ye){Ye.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ye=this.state,ft=Ye.dragging,ir=Ye.visible,Yt=this.props.prefixCls,rr=this.getSpinHeight(),Zr=this.getTop(),nn=this.showScroll(),Pn=nn&&ir;return y.createElement("div",{ref:this.scrollbarRef,className:E()("".concat(Yt,"-scrollbar"),V({},"".concat(Yt,"-scrollbar-show"),nn)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:Pn?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},y.createElement("div",{ref:this.thumbRef,className:E()("".concat(Yt,"-scrollbar-thumb"),V({},"".concat(Yt,"-scrollbar-thumb-moving"),ft)),style:{width:"100%",height:rr,top:Zr,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Le}(y.Component);function Ae(lt){var ct=lt.children,Le=lt.setRef,Ue=y.useCallback(function(Ye){Le(Ye)},[]);return y.cloneElement(ct,{ref:Ue})}function je(lt,ct,Le,Ue,Ye,ft){var ir=ft.getKey;return lt.slice(ct,Le+1).map(function(Yt,rr){var Zr=ct+rr,nn=Ye(Yt,Zr,{}),Pn=ir(Yt);return y.createElement(Ae,{key:Pn,setRef:function(St){return Ue(Yt,St)}},nn)})}function ee(lt,ct){if(!(lt instanceof ct))throw new TypeError("Cannot call a class as a function")}function he(lt,ct){for(var Le=0;Le<ct.length;Le++){var Ue=ct[Le];Ue.enumerable=Ue.enumerable||!1,Ue.configurable=!0,"value"in Ue&&(Ue.writable=!0),Object.defineProperty(lt,Ue.key,Ue)}}function Ze(lt,ct,Le){return ct&&he(lt.prototype,ct),Le&&he(lt,Le),lt}var oe=function(){function lt(){ee(this,lt),this.maps=void 0,this.maps=Object.create(null)}return Ze(lt,[{key:"set",value:function(Le,Ue){this.maps[Le]=Ue}},{key:"get",value:function(Le){return this.maps[Le]}}]),lt}(),Q=oe;function G(lt,ct){return Ne(lt)||Be(lt,ct)||xe(lt,ct)||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 xe(lt,ct){if(!lt)return;if(typeof lt=="string")return fe(lt,ct);var Le=Object.prototype.toString.call(lt).slice(8,-1);if(Le==="Object"&<.constructor&&(Le=lt.constructor.name),Le==="Map"||Le==="Set")return Array.from(lt);if(Le==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Le))return fe(lt,ct)}function fe(lt,ct){(ct==null||ct>lt.length)&&(ct=lt.length);for(var Le=0,Ue=new Array(ct);Le<ct;Le++)Ue[Le]=lt[Le];return Ue}function Be(lt,ct){var Le=lt==null?null:typeof Symbol!="undefined"&<[Symbol.iterator]||lt["@@iterator"];if(Le==null)return;var Ue=[],Ye=!0,ft=!1,ir,Yt;try{for(Le=Le.call(lt);!(Ye=(ir=Le.next()).done)&&!(Ue.push(ir.value),ct&&Ue.length===ct);Ye=!0);}catch(rr){ft=!0,Yt=rr}finally{try{!Ye&&Le.return!=null&&Le.return()}finally{if(ft)throw Yt}}return Ue}function Ne(lt){if(Array.isArray(lt))return lt}function de(lt,ct,Le){var Ue=y.useState(0),Ye=G(Ue,2),ft=Ye[0],ir=Ye[1],Yt=Object(y.useRef)(new Map),rr=Object(y.useRef)(new Q),Zr=Object(y.useRef)(0);function nn(){Zr.current+=1;var qt=Zr.current;Promise.resolve().then(function(){if(qt!==Zr.current)return;Yt.current.forEach(function(St,At){if(St&&St.offsetParent){var cr=Object(n.a)(St),or=cr.offsetHeight;rr.current.get(At)!==or&&rr.current.set(At,cr.offsetHeight)}}),ir(function(St){return St+1})})}function Pn(qt,St){var At=lt(qt),cr=Yt.current.get(At);St?(Yt.current.set(At,St),nn()):Yt.current.delete(At),!cr!==!St&&(St?ct==null||ct(qt):Le==null||Le(qt))}return[Pn,nn,rr.current,ft]}function ve(lt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ve=function(Le){return typeof Le}:ve=function(Le){return Le&&typeof Symbol=="function"&&Le.constructor===Symbol&&Le!==Symbol.prototype?"symbol":typeof Le},ve(lt)}function Me(lt,ct,Le,Ue,Ye,ft,ir,Yt){var rr=y.useRef();return function(Zr){if(Zr==null){Yt();return}if(Z.a.cancel(rr.current),typeof Zr=="number")ir(Zr);else if(Zr&&ve(Zr)==="object"){var nn,Pn=Zr.align;"index"in Zr?nn=Zr.index:nn=ct.findIndex(function(cr){return Ye(cr)===Zr.key});var qt=Zr.offset,St=qt===void 0?0:qt,At=function cr(or,Tt){if(or<0||!lt.current)return;var Rt=lt.current.clientHeight,_t=!1,Zt=Tt;if(Rt){for(var Nr=Tt||Pn,Sr=0,br=0,hn=0,fn=Math.min(ct.length,nn),ni=0;ni<=fn;ni+=1){var mi=Ye(ct[ni]);br=Sr;var _i=Le.get(mi);hn=br+(_i===void 0?Ue:_i),Sr=hn,ni===nn&&_i===void 0&&(_t=!0)}var Hi=null;switch(Nr){case"top":Hi=br-St;break;case"bottom":Hi=hn-Rt+St;break;default:{var aa=lt.current.scrollTop,Ra=aa+Rt;br<aa?Zt="top":hn>Ra&&(Zt="bottom")}}Hi!==null&&Hi!==lt.current.scrollTop&&ir(Hi)}rr.current=Object(Z.a)(function(){_t&&ft(),cr(or-1,Zt)})};At(3)}}}function qe(lt,ct,Le,Ue){var Ye=Le-lt,ft=ct-Le,ir=Math.min(Ye,ft)*2;if(Ue<=ir){var Yt=Math.floor(Ue/2);return Ue%2?Le+Yt+1:Le-Yt}return Ye>ft?Le-(Ue-ft):Le+(Ue-Ye)}function gt(lt,ct,Le){var Ue=lt.length,Ye=ct.length,ft,ir;if(Ue===0&&Ye===0)return null;Ue<Ye?(ft=lt,ir=ct):(ft=ct,ir=lt);var Yt={__EMPTY_ITEM__:!0};function rr(At){return At!==void 0?Le(At):Yt}for(var Zr=null,nn=Math.abs(Ue-Ye)!==1,Pn=0;Pn<ir.length;Pn+=1){var qt=rr(ft[Pn]),St=rr(ir[Pn]);if(qt!==St){Zr=Pn,nn=nn||qt!==rr(ir[Pn+1]);break}}return Zr===null?null:{index:Zr,multiple:nn}}function ht(lt,ct){return Bt(lt)||Nt(lt,ct)||It(lt,ct)||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 It(lt,ct){if(!lt)return;if(typeof lt=="string")return nt(lt,ct);var Le=Object.prototype.toString.call(lt).slice(8,-1);if(Le==="Object"&<.constructor&&(Le=lt.constructor.name),Le==="Map"||Le==="Set")return Array.from(lt);if(Le==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Le))return nt(lt,ct)}function nt(lt,ct){(ct==null||ct>lt.length)&&(ct=lt.length);for(var Le=0,Ue=new Array(ct);Le<ct;Le++)Ue[Le]=lt[Le];return Ue}function Nt(lt,ct){var Le=lt==null?null:typeof Symbol!="undefined"&<[Symbol.iterator]||lt["@@iterator"];if(Le==null)return;var Ue=[],Ye=!0,ft=!1,ir,Yt;try{for(Le=Le.call(lt);!(Ye=(ir=Le.next()).done)&&!(Ue.push(ir.value),ct&&Ue.length===ct);Ye=!0);}catch(rr){ft=!0,Yt=rr}finally{try{!Ye&&Le.return!=null&&Le.return()}finally{if(ft)throw Yt}}return Ue}function Bt(lt){if(Array.isArray(lt))return lt}function Pt(lt,ct,Le){var Ue=y.useState(lt),Ye=ht(Ue,2),ft=Ye[0],ir=Ye[1],Yt=y.useState(null),rr=ht(Yt,2),Zr=rr[0],nn=rr[1];return y.useEffect(function(){var Pn=gt(ft||[],lt||[],ct);(Pn==null?void 0:Pn.index)!==void 0&&(Le==null||Le(Pn.index),nn(lt[Pn.index])),ir(lt)},[lt]),[Zr]}function jt(lt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jt=function(Le){return typeof Le}:jt=function(Le){return Le&&typeof Symbol=="function"&&Le.constructor===Symbol&&Le!==Symbol.prototype?"symbol":typeof Le},jt(lt)}var er=(typeof navigator=="undefined"?"undefined":jt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),at=er,Ce=function(lt,ct){var Le=Object(y.useRef)(!1),Ue=Object(y.useRef)(null);function Ye(){clearTimeout(Ue.current),Le.current=!0,Ue.current=setTimeout(function(){Le.current=!1},50)}var ft=Object(y.useRef)({top:lt,bottom:ct});return ft.current.top=lt,ft.current.bottom=ct,function(ir){var Yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rr=ir<0&&ft.current.top||ir>0&&ft.current.bottom;return Yt&&rr?(clearTimeout(Ue.current),Le.current=!1):(!rr||Le.current)&&Ye(),!Le.current&&rr}};function ue(lt,ct,Le,Ue){var Ye=Object(y.useRef)(0),ft=Object(y.useRef)(null),ir=Object(y.useRef)(null),Yt=Object(y.useRef)(!1),rr=Ce(ct,Le);function Zr(Pn){if(!lt)return;Z.a.cancel(ft.current);var qt=Pn.deltaY;if(Ye.current+=qt,ir.current=qt,rr(qt))return;at||Pn.preventDefault(),ft.current=Object(Z.a)(function(){var St=Yt.current?10:1;Ue(Ye.current*St),Ye.current=0})}function nn(Pn){if(!lt)return;Yt.current=Pn.detail===ir.current}return[Zr,nn]}var Dt=14/15;function rt(lt,ct,Le){var Ue=Object(y.useRef)(!1),Ye=Object(y.useRef)(0),ft=Object(y.useRef)(null),ir=Object(y.useRef)(null),Yt,rr=function(qt){if(Ue.current){var St=Math.ceil(qt.touches[0].pageY),At=Ye.current-St;Ye.current=St,Le(At)&&qt.preventDefault(),clearInterval(ir.current),ir.current=setInterval(function(){At*=Dt,(!Le(At,!0)||Math.abs(At)<=.1)&&clearInterval(ir.current)},16)}},Zr=function(){Ue.current=!1,Yt()},nn=function(qt){Yt(),qt.touches.length===1&&!Ue.current&&(Ue.current=!0,Ye.current=Math.ceil(qt.touches[0].pageY),ft.current=qt.target,ft.current.addEventListener("touchmove",rr),ft.current.addEventListener("touchend",Zr))};Yt=function(){ft.current&&(ft.current.removeEventListener("touchmove",rr),ft.current.removeEventListener("touchend",Zr))},y.useLayoutEffect(function(){return lt&&ct.current.addEventListener("touchstart",nn),function(){ct.current.removeEventListener("touchstart",nn),Yt(),clearInterval(ir.current)}},[lt])}var ye=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function Xt(){return Xt=Object.assign||function(lt){for(var ct=1;ct<arguments.length;ct++){var Le=arguments[ct];for(var Ue in Le)Object.prototype.hasOwnProperty.call(Le,Ue)&&(lt[Ue]=Le[Ue])}return lt},Xt.apply(this,arguments)}function pr(lt,ct){var Le=Object.keys(lt);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(lt);ct&&(Ue=Ue.filter(function(Ye){return Object.getOwnPropertyDescriptor(lt,Ye).enumerable})),Le.push.apply(Le,Ue)}return Le}function mt(lt){for(var ct=1;ct<arguments.length;ct++){var Le=arguments[ct]!=null?arguments[ct]:{};ct%2?pr(Object(Le),!0).forEach(function(Ue){nr(lt,Ue,Le[Ue])}):Object.getOwnPropertyDescriptors?Object.defineProperties(lt,Object.getOwnPropertyDescriptors(Le)):pr(Object(Le)).forEach(function(Ue){Object.defineProperty(lt,Ue,Object.getOwnPropertyDescriptor(Le,Ue))})}return lt}function nr(lt,ct,Le){return ct in lt?Object.defineProperty(lt,ct,{value:Le,enumerable:!0,configurable:!0,writable:!0}):lt[ct]=Le,lt}function yr(lt,ct){return bt(lt)||zt(lt,ct)||_r(lt,ct)||gn()}function gn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _r(lt,ct){if(!lt)return;if(typeof lt=="string")return ur(lt,ct);var Le=Object.prototype.toString.call(lt).slice(8,-1);if(Le==="Object"&<.constructor&&(Le=lt.constructor.name),Le==="Map"||Le==="Set")return Array.from(lt);if(Le==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Le))return ur(lt,ct)}function ur(lt,ct){(ct==null||ct>lt.length)&&(ct=lt.length);for(var Le=0,Ue=new Array(ct);Le<ct;Le++)Ue[Le]=lt[Le];return Ue}function zt(lt,ct){var Le=lt==null?null:typeof Symbol!="undefined"&<[Symbol.iterator]||lt["@@iterator"];if(Le==null)return;var Ue=[],Ye=!0,ft=!1,ir,Yt;try{for(Le=Le.call(lt);!(Ye=(ir=Le.next()).done)&&!(Ue.push(ir.value),ct&&Ue.length===ct);Ye=!0);}catch(rr){ft=!0,Yt=rr}finally{try{!Ye&&Le.return!=null&&Le.return()}finally{if(ft)throw Yt}}return Ue}function bt(lt){if(Array.isArray(lt))return lt}function ot(lt,ct){if(lt==null)return{};var Le=lr(lt,ct),Ue,Ye;if(Object.getOwnPropertySymbols){var ft=Object.getOwnPropertySymbols(lt);for(Ye=0;Ye<ft.length;Ye++){if(Ue=ft[Ye],ct.indexOf(Ue)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(lt,Ue))continue;Le[Ue]=lt[Ue]}}return Le}function lr(lt,ct){if(lt==null)return{};var Le={},Ue=Object.keys(lt),Ye,ft;for(ft=0;ft<Ue.length;ft++){if(Ye=Ue[ft],ct.indexOf(Ye)>=0)continue;Le[Ye]=lt[Ye]}return Le}var jr=[],Rr={overflowY:"auto",overflowAnchor:"none"};function xr(lt,ct){var Le=lt.prefixCls,Ue=Le===void 0?"rc-virtual-list":Le,Ye=lt.className,ft=lt.height,ir=lt.itemHeight,Yt=lt.fullHeight,rr=Yt===void 0?!0:Yt,Zr=lt.style,nn=lt.data,Pn=lt.children,qt=lt.itemKey,St=lt.virtual,At=lt.component,cr=At===void 0?"div":At,or=lt.onScroll,Tt=lt.onVisibleChange,Rt=ot(lt,ye),_t=!!(St!==!1&&ft&&ir),Zt=_t&&nn&&ir*nn.length>ft,Nr=Object(y.useState)(0),Sr=yr(Nr,2),br=Sr[0],hn=Sr[1],fn=Object(y.useState)(!1),ni=yr(fn,2),mi=ni[0],_i=ni[1],Hi=E()(Ue,Ye),aa=nn||jr,Ra=Object(y.useRef)(),it=Object(y.useRef)(),Re=Object(y.useRef)(),Ke=y.useCallback(function(Ri){return typeof qt=="function"?qt(Ri):Ri==null?void 0:Ri[qt]},[qt]),Ge={getKey:Ke};function et(Ri){hn(function(Da){var Un;typeof Ri=="function"?Un=Ri(Da):Un=Ri;var on=Wi(Un);return Ra.current.scrollTop=on,on})}var $e=Object(y.useRef)({start:0,end:aa.length}),st=Object(y.useRef)(),Lt=Pt(aa,Ke),vt=yr(Lt,1),Qt=vt[0];st.current=Qt;var Fr=de(Ke,null,null),Lr=yr(Fr,4),Gr=Lr[0],$t=Lr[1],Rn=Lr[2],wr=Lr[3],pn=y.useMemo(function(){if(!_t)return{scrollHeight:void 0,start:0,end:aa.length-1,offset:void 0};if(!Zt){var Ri;return{scrollHeight:((Ri=it.current)===null||Ri===void 0?void 0:Ri.offsetHeight)||0,start:0,end:aa.length-1,offset:void 0}}for(var Da=0,Un,on,Zn,hi=aa.length,Ni=0;Ni<hi;Ni+=1){var zi=aa[Ni],ea=Ke(zi),Fi=Rn.get(ea),ia=Da+(Fi===void 0?ir:Fi);ia>=br&&Un===void 0&&(Un=Ni,on=Da),ia>br+ft&&Zn===void 0&&(Zn=Ni),Da=ia}return Un===void 0&&(Un=0,on=0),Zn===void 0&&(Zn=aa.length-1),Zn=Math.min(Zn+1,aa.length),{scrollHeight:Da,start:Un,end:Zn,offset:on}},[Zt,_t,br,aa,wr,ft]),rn=pn.scrollHeight,Br=pn.start,Yn=pn.end,xi=pn.offset;$e.current.start=Br,$e.current.end=Yn;var Li=rn-ft,Vi=Object(y.useRef)(Li);Vi.current=Li;function Wi(Ri){var Da=Ri;return Number.isNaN(Vi.current)||(Da=Math.min(Da,Vi.current)),Da=Math.max(Da,0),Da}var qi=br<=0,bi=br>=Li,ba=Ce(qi,bi);function Kn(Ri){var Da=Ri;et(Da)}function un(Ri){var Da=Ri.currentTarget.scrollTop;Da!==br&&et(Da),or==null||or(Ri)}var ri=ue(_t,qi,bi,function(Ri){et(function(Da){var Un=Da+Ri;return Un})}),Cn=yr(ri,2),ki=Cn[0],Tn=Cn[1];rt(_t,Ra,function(Ri,Da){return ba(Ri,Da)?!1:(ki({preventDefault:function(){},deltaY:Ri}),!0)}),Object(y.useLayoutEffect)(function(){function Ri(Da){_t&&Da.preventDefault()}return Ra.current.addEventListener("wheel",ki),Ra.current.addEventListener("DOMMouseScroll",Tn),Ra.current.addEventListener("MozMousePixelScroll",Ri),function(){Ra.current.removeEventListener("wheel",ki),Ra.current.removeEventListener("DOMMouseScroll",Tn),Ra.current.removeEventListener("MozMousePixelScroll",Ri)}},[_t]);var oa=Me(Ra,aa,Rn,ir,Ke,$t,et,function(){var Ri;(Ri=Re.current)===null||Ri===void 0||Ri.delayHidden()});y.useImperativeHandle(ct,function(){return{scrollTo:oa}}),Object(y.useLayoutEffect)(function(){if(Tt){var Ri=aa.slice(Br,Yn+1);Tt(Ri,aa)}},[Br,Yn,aa]);var Ti=je(aa,Br,Yn,Gr,Pn,Ge),li=null;return ft&&(li=mt(nr({},rr?"height":"maxHeight",ft),Rr),_t&&(li.overflowY="hidden",mi&&(li.pointerEvents="none"))),y.createElement("div",Xt({style:mt(mt({},Zr),{},{position:"relative"}),className:Hi},Rt),y.createElement(cr,{className:"".concat(Ue,"-holder"),style:li,ref:Ra,onScroll:un},y.createElement(K,{prefixCls:Ue,height:rn,offset:xi,onInnerResize:$t,ref:it},Ti)),_t&&y.createElement(We,{ref:Re,prefixCls:Ue,scrollTop:br,height:ft,scrollHeight:rn,count:aa.length,onScroll:Kn,onStartMove:function(){_i(!0)},onStopMove:function(){_i(!1)}}))}var Vn=y.forwardRef(xr);Vn.displayName="List";var bn=Vn,di=R.a=bn},"+rIm":function(U,R,i){var y=i("bYtY"),m=y.retrieve,E=y.defaults,p=y.extend,v=y.each,f=i("7aKB"),d=i("IwbS"),l=i("Qxkt"),n=i("OELB"),t=n.isRadianAroundZero,a=n.remRadian,s=i("oVpE"),r=s.createSymbol,c=i("Fofx"),e=i("QBsz"),o=e.applyTransform,u=i("aX7z"),h=u.shouldShowAllLabels,g=Math.PI,A=function(B,V){this.opt=V,this.axisModel=B,E(V,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new d.Group;var z=new d.Group({position:V.position.slice(),rotation:V.rotation});z.updateTransform(),this._transform=z.transform,this._dumbGroup=z};A.prototype={constructor:A,hasBuilder:function(B){return!!w[B]},add:function(B){w[B].call(this)},getGroup:function(){return this.group}};var w={axisLine:function(){var B=this.opt,V=this.axisModel;if(!V.get("axisLine.show"))return;var z=this.axisModel.axis.getExtent(),X=this._transform,W=[z[0],0],q=[z[1],0];X&&(o(W,W,X),o(q,q,X));var Y=p({lineCap:"round"},V.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new d.Line({anid:"line",subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:q[0],y2:q[1]},style:Y,strokeContainThreshold:B.strokeContainThreshold||5,silent:!0,z2:1}));var re=V.get("axisLine.symbol"),ne=V.get("axisLine.symbolSize"),we=V.get("axisLine.symbolOffset")||0;if(typeof we=="number"&&(we=[we,we]),re!=null){typeof re=="string"&&(re=[re,re]),(typeof ne=="string"||typeof ne=="number")&&(ne=[ne,ne]);var ie=ne[0],me=ne[1];v([{rotate:B.rotation+Math.PI/2,offset:we[0],r:0},{rotate:B.rotation-Math.PI/2,offset:we[1],r:Math.sqrt((W[0]-q[0])*(W[0]-q[0])+(W[1]-q[1])*(W[1]-q[1]))}],function(_e,Te){if(re[Te]!=="none"&&re[Te]!=null){var We=r(re[Te],-ie/2,-me/2,ie,me,Y.stroke,!0),Ae=_e.r+_e.offset,je=[W[0]+Ae*Math.cos(B.rotation),W[1]-Ae*Math.sin(B.rotation)];We.attr({rotation:_e.rotate,position:je,silent:!0,z2:11}),this.group.add(We)}},this)}},axisTickLabel:function(){var B=this.axisModel,V=this.opt,z=j(this,B,V),X=K(this,B,V);S(B,X,z),k(this,B,V)},axisName:function(){var B=this.opt,V=this.axisModel,z=m(B.axisName,V.get("name"));if(!z)return;var X=V.get("nameLocation"),W=B.nameDirection,q=V.getModel("nameTextStyle"),Y=V.get("nameGap")||0,re=this.axisModel.axis.getExtent(),ne=re[0]>re[1]?-1:1,we=[X==="start"?re[0]-ne*Y:X==="end"?re[1]+ne*Y:(re[0]+re[1])/2,D(X)?B.labelOffset+W*Y:0],ie,me=V.get("nameRotate");me!=null&&(me=me*g/180);var _e;D(X)?ie=C(B.rotation,me!=null?me:B.rotation,W):(ie=T(B,X,me||0,re),_e=B.axisNameAvailableWidth,_e!=null&&(_e=Math.abs(_e/Math.sin(ie.rotation)),!isFinite(_e)&&(_e=null)));var Te=q.getFont(),We=V.get("nameTruncate",!0)||{},Ae=We.ellipsis,je=m(B.nameTruncateMaxWidth,We.maxWidth,_e),ee=Ae!=null&&je!=null?f.truncateText(z,je,Te,Ae,{minChar:2,placeholder:We.placeholder}):z,he=V.get("tooltip",!0),Ze=V.mainType,oe={componentType:Ze,name:z,$vars:["name"]};oe[Ze+"Index"]=V.componentIndex;var Q=new d.Text({anid:"name",__fullText:z,__truncatedText:ee,position:we,rotation:ie.rotation,silent:O(V),z2:1,tooltip:he&&he.show?p({content:z,formatter:function(){return z},formatterParams:oe},he):null});d.setTextStyle(Q.style,q,{text:ee,textFont:Te,textFill:q.getTextColor()||V.get("axisLine.lineStyle.color"),textAlign:q.get("align")||ie.textAlign,textVerticalAlign:q.get("verticalAlign")||ie.textVerticalAlign}),V.get("triggerEvent")&&(Q.eventData=x(V),Q.eventData.targetType="axisName",Q.eventData.name=z),this._dumbGroup.add(Q),Q.updateTransform(),this.group.add(Q),Q.decomposeTransform()}},x=A.makeAxisEventDataBase=function(B){var V={componentType:B.mainType,componentIndex:B.componentIndex};return V[B.mainType+"Index"]=B.componentIndex,V},C=A.innerTextLayout=function(B,V,z){var X=a(V-B),W,q;return t(X)?(q=z>0?"top":"bottom",W="center"):t(X-g)?(q=z>0?"bottom":"top",W="center"):(q="middle",X>0&&X<g?W=z>0?"right":"left":W=z>0?"left":"right"),{rotation:X,textAlign:W,textVerticalAlign:q}};function T(B,V,z,X){var W=a(z-B.rotation),q,Y,re=X[0]>X[1],ne=V==="start"&&!re||V!=="start"&&re;return t(W-g/2)?(Y=ne?"bottom":"top",q="center"):t(W-g*1.5)?(Y=ne?"top":"bottom",q="center"):(Y="middle",W<g*1.5&&W>g/2?q=ne?"left":"right":q=ne?"right":"left"),{rotation:W,textAlign:q,textVerticalAlign:Y}}var O=A.isLabelSilent=function(B){var V=B.get("tooltip");return B.get("silent")||!(B.get("triggerEvent")||V&&V.show)};function S(B,V,z){if(h(B.axis))return;var X=B.get("axisLabel.showMinLabel"),W=B.get("axisLabel.showMaxLabel");V=V||[],z=z||[];var q=V[0],Y=V[1],re=V[V.length-1],ne=V[V.length-2],we=z[0],ie=z[1],me=z[z.length-1],_e=z[z.length-2];X===!1?(_(q),_(we)):L(q,Y)&&(X?(_(Y),_(ie)):(_(q),_(we))),W===!1?(_(re),_(me)):L(ne,re)&&(W?(_(ne),_(_e)):(_(re),_(me)))}function _(B){B&&(B.ignore=!0)}function L(B,V,z){var X=B&&B.getBoundingRect().clone(),W=V&&V.getBoundingRect().clone();if(!X||!W)return;var q=c.identity([]);return c.rotate(q,q,-B.rotation),X.applyTransform(c.mul([],q,B.getLocalTransform())),W.applyTransform(c.mul([],q,V.getLocalTransform())),X.intersect(W)}function D(B){return B==="middle"||B==="center"}function F(B,V,z,X,W){for(var q=[],Y=[],re=[],ne=0;ne<B.length;ne++){var we=B[ne].coord;Y[0]=we,Y[1]=0,re[0]=we,re[1]=z,V&&(o(Y,Y,V),o(re,re,V));var ie=new d.Line({anid:W+"_"+B[ne].tickValue,subPixelOptimize:!0,shape:{x1:Y[0],y1:Y[1],x2:re[0],y2:re[1]},style:X,z2:2,silent:!0});q.push(ie)}return q}function j(B,V,z){var X=V.axis,W=V.getModel("axisTick");if(!W.get("show")||X.scale.isBlank())return;for(var q=W.getModel("lineStyle"),Y=z.tickDirection*W.get("length"),re=X.getTicksCoords(),ne=F(re,B._transform,Y,E(q.getLineStyle(),{stroke:V.get("axisLine.lineStyle.color")}),"ticks"),we=0;we<ne.length;we++)B.group.add(ne[we]);return ne}function k(B,V,z){var X=V.axis,W=V.getModel("minorTick");if(!W.get("show")||X.scale.isBlank())return;var q=X.getMinorTicksCoords();if(!q.length)return;for(var Y=W.getModel("lineStyle"),re=z.tickDirection*W.get("length"),ne=E(Y.getLineStyle(),E(V.getModel("axisTick").getLineStyle(),{stroke:V.get("axisLine.lineStyle.color")})),we=0;we<q.length;we++)for(var ie=F(q[we],B._transform,re,ne,"minorticks_"+we),me=0;me<ie.length;me++)B.group.add(ie[me])}function K(B,V,z){var X=V.axis,W=m(z.axisLabelShow,V.get("axisLabel.show"));if(!W||X.scale.isBlank())return;var q=V.getModel("axisLabel"),Y=q.get("margin"),re=X.getViewLabels(),ne=(m(z.labelRotate,q.get("rotate"))||0)*g/180,we=C(z.rotation,ne,z.labelDirection),ie=V.getCategories&&V.getCategories(!0),me=[],_e=O(V),Te=V.get("triggerEvent");return v(re,function(We,Ae){var je=We.tickValue,ee=We.formattedLabel,he=We.rawLabel,Ze=q;ie&&ie[je]&&ie[je].textStyle&&(Ze=new l(ie[je].textStyle,q,V.ecModel));var oe=Ze.getTextColor()||V.get("axisLine.lineStyle.color"),Q=X.dataToCoord(je),G=[Q,z.labelOffset+z.labelDirection*Y],te=new d.Text({anid:"label_"+je,position:G,rotation:we.rotation,silent:_e,z2:10});d.setTextStyle(te.style,Ze,{text:ee,textAlign:Ze.getShallow("align",!0)||we.textAlign,textVerticalAlign:Ze.getShallow("verticalAlign",!0)||Ze.getShallow("baseline",!0)||we.textVerticalAlign,textFill:typeof oe=="function"?oe(X.type==="category"?he:X.type==="value"?je+"":je,Ae):oe}),Te&&(te.eventData=x(V),te.eventData.targetType="axisLabel",te.eventData.value=he),B._dumbGroup.add(te),te.updateTransform(),me.push(te),B.group.add(te),te.decomposeTransform()}),me}var Z=A;U.exports=Z},"+wW9":function(U,R,i){var y=i("bYtY"),m=y.each,E=y.isArray,p=y.isObject,v=i("JuEJ"),f=i("4NO4"),d=f.normalizeToArray;function l(c,e){e=e.split(",");for(var o=c,u=0;u<e.length&&!(o=o&&o[e[u]],o==null);u++);return o}function n(c,e,o,u){e=e.split(",");for(var h=c,g,A=0;A<e.length-1;A++)g=e[A],h[g]==null&&(h[g]={}),h=h[g];(u||h[e[A]]==null)&&(h[e[A]]=o)}function t(c){m(a,function(e){e[0]in c&&!(e[1]in c)&&(c[e[1]]=c[e[0]])})}var a=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],s=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function r(c,e){v(c,e),c.series=d(c.series),m(c.series,function(o){if(!p(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=l(o,"pointer.color");h!=null&&n(o,"itemStyle.color",h)}t(o)}),c.dataRange&&(c.visualMap=c.dataRange),m(s,function(o){var u=c[o];u&&(E(u)||(u=[u]),m(u,function(h){t(h)}))})}U.exports=r},"/IIm":function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("H6uX"),v=i("IwbS"),f=i("pP6R"),d=i("gPAo"),l=E.curry,n=E.each,t=E.map,a=Math.min,s=Math.max,r=Math.pow,c=1e4,e=6,o=6,u="globalPan",h={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},g={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},A={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function x(de){p.call(this),this._zr=de,this.group=new v.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},n(G,function(ve,Me){this._handlers[Me]=E.bind(ve,this)},this)}x.prototype={constructor:x,enableBrush:function(de){return this._brushType&&T(this),de.brushType&&C(this,de),this},setPanels:function(de){if(de&&de.length){var ve=this._panels={};E.each(de,function(Me){ve[Me.panelId]=E.clone(Me)})}else this._panels=null;return this},mount:function(de){de=de||{},this._enableGlobalPan=de.enableGlobalPan;var ve=this.group;return this._zr.add(ve),ve.attr({position:de.position||[0,0],rotation:de.rotation||0,scale:de.scale||[1,1]}),this._transform=ve.getLocalTransform(),this},eachCover:function(de,ve){n(this._covers,de,ve)},updateCovers:function(de){de=E.map(de,function(Bt){return E.merge(E.clone(A),Bt,!0)});var ve="\0-brush-index-",Me=this._covers,qe=this._covers=[],gt=this,ht=this._creatingCover;return new d(Me,de,It,Pe).add(nt).update(nt).remove(Nt).execute(),this;function Pe(Bt,Pt){return(Bt.id!=null?Bt.id:ve+Pt)+"-"+Bt.brushType}function It(Bt,Pt){return Pe(Bt.__brushOption,Pt)}function nt(Bt,Pt){var jt=de[Bt];if(Pt!=null&&Me[Pt]===ht)qe[Bt]=Me[Pt];else{var er=qe[Bt]=Pt!=null?(Me[Pt].__brushOption=jt,Me[Pt]):L(gt,_(gt,jt));j(gt,er)}}function Nt(Bt){Me[Bt]!==ht&>.group.remove(Me[Bt])}},unmount:function(){return this.enableBrush(!1),B(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},E.mixin(x,p);function C(de,ve){var Me=de._zr;de._enableGlobalPan||f.take(Me,u,de._uid),O(Me,de._handlers),de._brushType=ve.brushType,de._brushOption=E.merge(E.clone(A),ve,!0)}function T(de){var ve=de._zr;f.release(ve,u,de._uid),S(ve,de._handlers),de._brushType=de._brushOption=null}function O(de,ve){n(ve,function(Me,qe){de.on(qe,Me)})}function S(de,ve){n(ve,function(Me,qe){de.off(qe,Me)})}function _(de,ve){var Me=fe[ve.brushType].createCover(de,ve);return Me.__brushOption=ve,F(Me,ve),de.group.add(Me),Me}function L(de,ve){var Me=k(ve);return Me.endCreating&&(Me.endCreating(de,ve),F(ve,ve.__brushOption)),ve}function D(de,ve){var Me=ve.__brushOption;k(ve).updateCoverShape(de,ve,Me.range,Me)}function F(de,ve){var Me=ve.z;Me==null&&(Me=c),de.traverse(function(qe){qe.z=Me,qe.z2=Me})}function j(de,ve){k(ve).updateCommon(de,ve),D(de,ve)}function k(de){return fe[de.__brushOption.brushType]}function K(de,ve,Me){var qe=de._panels;if(!qe)return!0;var gt,ht=de._transform;return n(qe,function(Pe){Pe.isTargetByCursor(ve,Me,ht)&&(gt=Pe)}),gt}function Z(de,ve){var Me=de._panels;if(!Me)return!0;var qe=ve.__brushOption.panelId;return qe!=null?Me[qe]:!0}function B(de){var ve=de._covers,Me=ve.length;return n(ve,function(qe){de.group.remove(qe)},de),ve.length=0,!!Me}function V(de,ve){var Me=t(de._covers,function(qe){var gt=qe.__brushOption,ht=E.clone(gt.range);return{brushType:gt.brushType,panelId:gt.panelId,range:ht}});de.trigger("brush",Me,{isEnd:!!ve.isEnd,removeOnClick:!!ve.removeOnClick})}function z(de){var ve=de._track;if(!ve.length)return!1;var Me=ve[ve.length-1],qe=ve[0],gt=Me[0]-qe[0],ht=Me[1]-qe[1],Pe=r(gt*gt+ht*ht,.5);return Pe>e}function X(de){var ve=de.length-1;return ve<0&&(ve=0),[de[0],de[ve]]}function W(de,ve,Me,qe){var gt=new v.Group;return gt.add(new v.Rect({name:"main",style:ne(Me),silent:!0,draggable:!0,cursor:"move",drift:l(de,ve,gt,"nswe"),ondragend:l(V,ve,{isEnd:!0})})),n(qe,function(ht){gt.add(new v.Rect({name:ht,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(de,ve,gt,ht),ondragend:l(V,ve,{isEnd:!0})}))}),gt}function q(de,ve,Me,qe){var gt=qe.brushStyle.lineWidth||0,ht=s(gt,o),Pe=Me[0][0],It=Me[1][0],nt=Pe-gt/2,Nt=It-gt/2,Bt=Me[0][1],Pt=Me[1][1],jt=Bt-ht+gt/2,er=Pt-ht+gt/2,at=Bt-Pe,Ce=Pt-It,ue=at+gt,Dt=Ce+gt;re(de,ve,"main",Pe,It,at,Ce),qe.transformable&&(re(de,ve,"w",nt,Nt,ht,Dt),re(de,ve,"e",jt,Nt,ht,Dt),re(de,ve,"n",nt,Nt,ue,ht),re(de,ve,"s",nt,er,ue,ht),re(de,ve,"nw",nt,Nt,ht,ht),re(de,ve,"ne",jt,Nt,ht,ht),re(de,ve,"sw",nt,er,ht,ht),re(de,ve,"se",jt,er,ht,ht))}function Y(de,ve){var Me=ve.__brushOption,qe=Me.transformable,gt=ve.childAt(0);gt.useStyle(ne(Me)),gt.attr({silent:!qe,cursor:qe?"move":"default"}),n(["w","e","n","s","se","sw","ne","nw"],function(ht){var Pe=ve.childOfName(ht),It=me(de,ht);Pe&&Pe.attr({silent:!qe,invisible:!qe,cursor:qe?g[It]+"-resize":null})})}function re(de,ve,Me,qe,gt,ht,Pe){var It=ve.childOfName(Me);It&&It.setShape(je(Ae(de,ve,[[qe,gt],[qe+ht,gt+Pe]])))}function ne(de){return E.defaults({strokeNoScale:!0},de.brushStyle)}function we(de,ve,Me,qe){var gt=[a(de,Me),a(ve,qe)],ht=[s(de,Me),s(ve,qe)];return[[gt[0],ht[0]],[gt[1],ht[1]]]}function ie(de){return v.getTransform(de.group)}function me(de,ve){if(ve.length>1){ve=ve.split("");var Me=[me(de,ve[0]),me(de,ve[1])];return(Me[0]==="e"||Me[0]==="w")&&Me.reverse(),Me.join("")}else{var qe={w:"left",e:"right",n:"top",s:"bottom"},gt={left:"w",right:"e",top:"n",bottom:"s"},Me=v.transformDirection(qe[ve],ie(de));return gt[Me]}}function _e(de,ve,Me,qe,gt,ht,Pe,It){var nt=qe.__brushOption,Nt=de(nt.range),Bt=We(Me,ht,Pe);n(gt.split(""),function(Pt){var jt=h[Pt];Nt[jt[0]][jt[1]]+=Bt[jt[0]]}),nt.range=ve(we(Nt[0][0],Nt[1][0],Nt[0][1],Nt[1][1])),j(Me,qe),V(Me,{isEnd:!1})}function Te(de,ve,Me,qe,gt){var ht=ve.__brushOption.range,Pe=We(de,Me,qe);n(ht,function(It){It[0]+=Pe[0],It[1]+=Pe[1]}),j(de,ve),V(de,{isEnd:!1})}function We(de,ve,Me){var qe=de.group,gt=qe.transformCoordToLocal(ve,Me),ht=qe.transformCoordToLocal(0,0);return[gt[0]-ht[0],gt[1]-ht[1]]}function Ae(de,ve,Me){var qe=Z(de,ve);return qe&&qe!==!0?qe.clipPath(Me,de._transform):E.clone(Me)}function je(de){var ve=a(de[0][0],de[1][0]),Me=a(de[0][1],de[1][1]),qe=s(de[0][0],de[1][0]),gt=s(de[0][1],de[1][1]);return{x:ve,y:Me,width:qe-ve,height:gt-Me}}function ee(de,ve,Me){if(!de._brushType||xe(de,ve))return;var qe=de._zr,gt=de._covers,ht=K(de,ve,Me);if(!de._dragging)for(var Pe=0;Pe<gt.length;Pe++){var It=gt[Pe].__brushOption;if(ht&&(ht===!0||It.panelId===ht.panelId)&&fe[It.brushType].contain(gt[Pe],Me[0],Me[1]))return}ht&&qe.setCursorStyle("crosshair")}function he(de){var ve=de.event;ve.preventDefault&&ve.preventDefault()}function Ze(de,ve,Me){return de.childOfName("main").contain(ve,Me)}function oe(de,ve,Me,qe){var gt=de._creatingCover,ht=de._creatingPanel,Pe=de._brushOption,It;if(de._track.push(Me.slice()),z(de)||gt){if(ht&&!gt){Pe.brushMode==="single"&&B(de);var nt=E.clone(Pe);nt.brushType=Q(nt.brushType,ht),nt.panelId=ht===!0?null:ht.panelId,gt=de._creatingCover=_(de,nt),de._covers.push(gt)}if(gt){var Nt=fe[Q(de._brushType,ht)],Bt=gt.__brushOption;Bt.range=Nt.getCreatingRange(Ae(de,gt,de._track)),qe&&(L(de,gt),Nt.updateCommon(de,gt)),D(de,gt),It={isEnd:qe}}}else qe&&Pe.brushMode==="single"&&Pe.removeOnClick&&(K(de,ve,Me)&&B(de)&&(It={isEnd:qe,removeOnClick:!0}));return It}function Q(de,ve){return de==="auto"?ve.defaultBrushType:de}var G={mousedown:function(de){if(this._dragging)te(this,de);else if(!de.target||!de.target.draggable){he(de);var ve=this.group.transformCoordToLocal(de.offsetX,de.offsetY);this._creatingCover=null;var Me=this._creatingPanel=K(this,de,ve);Me&&(this._dragging=!0,this._track=[ve.slice()])}},mousemove:function(de){var ve=de.offsetX,Me=de.offsetY,qe=this.group.transformCoordToLocal(ve,Me);if(ee(this,de,qe),this._dragging){he(de);var gt=oe(this,de,qe,!1);gt&&V(this,gt)}},mouseup:function(de){te(this,de)}};function te(de,ve){if(de._dragging){he(ve);var Me=ve.offsetX,qe=ve.offsetY,gt=de.group.transformCoordToLocal(Me,qe),ht=oe(de,ve,gt,!0);de._dragging=!1,de._track=[],de._creatingCover=null,ht&&V(de,ht)}}function xe(de,ve,Me){var qe=de._zr;return ve<0||ve>qe.getWidth()||Me<0||Me>qe.getHeight()}var fe={lineX:Be(0),lineY:Be(1),rect:{createCover:function(de,ve){return W(l(_e,function(Me){return Me},function(Me){return Me}),de,ve,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(de){var ve=X(de);return we(ve[1][0],ve[1][1],ve[0][0],ve[0][1])},updateCoverShape:function(de,ve,Me,qe){q(de,ve,Me,qe)},updateCommon:Y,contain:Ze},polygon:{createCover:function(de,ve){var Me=new v.Group;return Me.add(new v.Polyline({name:"main",style:ne(ve),silent:!0})),Me},getCreatingRange:function(de){return de},endCreating:function(de,ve){ve.remove(ve.childAt(0)),ve.add(new v.Polygon({name:"main",draggable:!0,drift:l(Te,de,ve),ondragend:l(V,de,{isEnd:!0})}))},updateCoverShape:function(de,ve,Me,qe){ve.childAt(0).setShape({points:Ae(de,ve,Me)})},updateCommon:Y,contain:Ze}};function Be(de){return{createCover:function(ve,Me){return W(l(_e,function(qe){var gt=[qe,[0,100]];return de&>.reverse(),gt},function(qe){return qe[de]}),ve,Me,[["w","e"],["n","s"]][de])},getCreatingRange:function(ve){var Me=X(ve),qe=a(Me[0][de],Me[1][de]),gt=s(Me[0][de],Me[1][de]);return[qe,gt]},updateCoverShape:function(ve,Me,qe,gt){var ht,Pe=Z(ve,Me);if(Pe!==!0&&Pe.getLinearBrushOtherExtent)ht=Pe.getLinearBrushOtherExtent(de,ve._transform);else{var It=ve._zr;ht=[0,[It.getWidth(),It.getHeight()][1-de]]}var nt=[qe,ht];de&&nt.reverse(),q(ve,Me,nt,gt)},updateCommon:Y,contain:Ze}}var Ne=x;U.exports=Ne},"/MfK":function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DeleteOutlined";var d=R.a=m.forwardRef(f)},"/POA":function(U,R,i){!function(y,m){if(!0)U.exports=m();else var E,p}(window,function(){return function(y){var m={};function E(p){if(m[p])return m[p].exports;var v=m[p]={i:p,l:!1,exports:{}};return y[p].call(v.exports,v,v.exports,E),v.l=!0,v.exports}return E.m=y,E.c=m,E.d=function(p,v,f){E.o(p,v)||Object.defineProperty(p,v,{enumerable:!0,get:f})},E.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},E.t=function(p,v){if(1&v&&(p=E(p)),8&v)return p;if(4&v&&typeof p=="object"&&p&&p.__esModule)return p;var f=Object.create(null);if(E.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:p}),2&v&&typeof p!="string")for(var d in p)E.d(f,d,function(l){return p[l]}.bind(null,d));return f},E.n=function(p){var v=p&&p.__esModule?function(){return p.default}:function(){return p};return E.d(v,"a",v),v},E.o=function(p,v){return Object.prototype.hasOwnProperty.call(p,v)},E.p="",E(E.s=34)}([function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.forwardEvent=m.EventEmitter=void 0;var p=function(){function v(){this._listeners=[],this._disposed=!1}return Object.defineProperty(v.prototype,"event",{get:function(){var d=this;return this._event||(this._event=function(l){return d._listeners.push(l),{dispose:function(){if(!d._disposed){for(var t=0;t<d._listeners.length;t++)if(d._listeners[t]===l)return void d._listeners.splice(t,1)}}}}),this._event},enumerable:!1,configurable:!0}),v.prototype.fire=function(f,d){for(var l=[],n=0;n<this._listeners.length;n++)l.push(this._listeners[n]);for(n=0;n<l.length;n++)l[n].call(void 0,f,d)},v.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},v}();m.EventEmitter=p,m.forwardEvent=function(v,f){return v(function(d){return f.fire(d)})}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.IUnicodeService=m.IOptionsService=m.ILogService=m.IInstantiationService=m.IDirtyRowService=m.ICharsetService=m.ICoreService=m.ICoreMouseService=m.IBufferService=void 0;var p=E(14);m.IBufferService=p.createDecorator("BufferService"),m.ICoreMouseService=p.createDecorator("CoreMouseService"),m.ICoreService=p.createDecorator("CoreService"),m.ICharsetService=p.createDecorator("CharsetService"),m.IDirtyRowService=p.createDecorator("DirtyRowService"),m.IInstantiationService=p.createDecorator("InstantiationService"),m.ILogService=p.createDecorator("LogService"),m.IOptionsService=p.createDecorator("OptionsService"),m.IUnicodeService=p.createDecorator("UnicodeService")},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.getDisposeArrayDisposable=m.disposeArray=m.Disposable=void 0;var p=function(){function f(){this._disposables=[],this._isDisposed=!1}return f.prototype.dispose=function(){this._isDisposed=!0;for(var d=0,l=this._disposables;d<l.length;d++)l[d].dispose();this._disposables.length=0},f.prototype.register=function(d){return this._disposables.push(d),d},f.prototype.unregister=function(d){var l=this._disposables.indexOf(d);l!==-1&&this._disposables.splice(l,1)},f}();function v(f){for(var d=0,l=f;d<l.length;d++)l[d].dispose();f.length=0}m.Disposable=p,m.disposeArray=v,m.getDisposeArrayDisposable=function(f){return{dispose:function(){return v(f)}}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.WHITESPACE_CELL_CODE=m.WHITESPACE_CELL_WIDTH=m.WHITESPACE_CELL_CHAR=m.NULL_CELL_CODE=m.NULL_CELL_WIDTH=m.NULL_CELL_CHAR=m.CHAR_DATA_CODE_INDEX=m.CHAR_DATA_WIDTH_INDEX=m.CHAR_DATA_CHAR_INDEX=m.CHAR_DATA_ATTR_INDEX=m.DEFAULT_ATTR=m.DEFAULT_COLOR=void 0,m.DEFAULT_COLOR=256,m.DEFAULT_ATTR=256|m.DEFAULT_COLOR<<9,m.CHAR_DATA_ATTR_INDEX=0,m.CHAR_DATA_CHAR_INDEX=1,m.CHAR_DATA_WIDTH_INDEX=2,m.CHAR_DATA_CODE_INDEX=3,m.NULL_CELL_CHAR="",m.NULL_CELL_WIDTH=1,m.NULL_CELL_CODE=0,m.WHITESPACE_CELL_CHAR=" ",m.WHITESPACE_CELL_WIDTH=1,m.WHITESPACE_CELL_CODE=32},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(a,s){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var e in c)c.hasOwnProperty(e)&&(r[e]=c[e])})(a,s)},function(t,a){function s(){this.constructor=t}p(t,a),t.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)});Object.defineProperty(m,"__esModule",{value:!0}),m.CellData=void 0;var f=E(8),d=E(3),l=E(6),n=function(t){function a(){var s=t!==null&&t.apply(this,arguments)||this;return s.content=0,s.fg=0,s.bg=0,s.extended=new l.ExtendedAttrs,s.combinedData="",s}return v(a,t),a.fromCharData=function(s){var r=new a;return r.setFromCharData(s),r},a.prototype.isCombined=function(){return 2097152&this.content},a.prototype.getWidth=function(){return this.content>>22},a.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?f.stringFromCodePoint(2097151&this.content):""},a.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},a.prototype.setFromCharData=function(s){this.fg=s[d.CHAR_DATA_ATTR_INDEX],this.bg=0;var r=!1;if(s[d.CHAR_DATA_CHAR_INDEX].length>2)r=!0;else if(s[d.CHAR_DATA_CHAR_INDEX].length===2){var c=s[d.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=c&&c<=56319){var e=s[d.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=e&&e<=57343?this.content=1024*(c-55296)+e-56320+65536|s[d.CHAR_DATA_WIDTH_INDEX]<<22:r=!0}else r=!0}else this.content=s[d.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|s[d.CHAR_DATA_WIDTH_INDEX]<<22;r&&(this.combinedData=s[d.CHAR_DATA_CHAR_INDEX],this.content=2097152|s[d.CHAR_DATA_WIDTH_INDEX]<<22)},a.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},a}(l.AttributeData);m.CellData=n},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ISoundService=m.ISelectionService=m.IRenderService=m.IMouseService=m.ICoreBrowserService=m.ICharSizeService=void 0;var p=E(14);m.ICharSizeService=p.createDecorator("CharSizeService"),m.ICoreBrowserService=p.createDecorator("CoreBrowserService"),m.IMouseService=p.createDecorator("MouseService"),m.IRenderService=p.createDecorator("RenderService"),m.ISelectionService=p.createDecorator("SelectionService"),m.ISoundService=p.createDecorator("SoundService")},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ExtendedAttrs=m.AttributeData=void 0;var p=function(){function f(){this.fg=0,this.bg=0,this.extended=new v}return f.toColorRGB=function(d){return[d>>>16&255,d>>>8&255,255&d]},f.fromColorRGB=function(d){return(255&d[0])<<16|(255&d[1])<<8|255&d[2]},f.prototype.clone=function(){var d=new f;return d.fg=this.fg,d.bg=this.bg,d.extended=this.extended.clone(),d},f.prototype.isInverse=function(){return 67108864&this.fg},f.prototype.isBold=function(){return 134217728&this.fg},f.prototype.isUnderline=function(){return 268435456&this.fg},f.prototype.isBlink=function(){return 536870912&this.fg},f.prototype.isInvisible=function(){return 1073741824&this.fg},f.prototype.isItalic=function(){return 67108864&this.bg},f.prototype.isDim=function(){return 134217728&this.bg},f.prototype.getFgColorMode=function(){return 50331648&this.fg},f.prototype.getBgColorMode=function(){return 50331648&this.bg},f.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},f.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},f.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},f.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},f.prototype.isFgDefault=function(){return(50331648&this.fg)==0},f.prototype.isBgDefault=function(){return(50331648&this.bg)==0},f.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},f.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},f.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},f.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},f.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},f.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()},f.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},f.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},f.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},f.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},f.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},f}();m.AttributeData=p;var v=function(){function f(d,l){d===void 0&&(d=0),l===void 0&&(l=-1),this.underlineStyle=d,this.underlineColor=l}return f.prototype.clone=function(){return new f(this.underlineStyle,this.underlineColor)},f.prototype.isEmpty=function(){return this.underlineStyle===0},f}();m.ExtendedAttrs=v},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.addDisposableDomListener=void 0,m.addDisposableDomListener=function(p,v,f,d){p.addEventListener(v,f,d);var l=!1;return{dispose:function(){l||(l=!0,p.removeEventListener(v,f,d))}}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Utf8ToUtf32=m.StringToUtf32=m.utf32ToString=m.stringFromCodePoint=void 0,m.stringFromCodePoint=function(f){return f>65535?(f-=65536,String.fromCharCode(55296+(f>>10))+String.fromCharCode(f%1024+56320)):String.fromCharCode(f)},m.utf32ToString=function(f,d,l){d===void 0&&(d=0),l===void 0&&(l=f.length);for(var n="",t=d;t<l;++t){var a=f[t];a>65535?(a-=65536,n+=String.fromCharCode(55296+(a>>10))+String.fromCharCode(a%1024+56320)):n+=String.fromCharCode(a)}return n};var p=function(){function f(){this._interim=0}return f.prototype.clear=function(){this._interim=0},f.prototype.decode=function(d,l){var n=d.length;if(!n)return 0;var t=0,a=0;this._interim&&(56320<=(c=d.charCodeAt(a++))&&c<=57343?l[t++]=1024*(this._interim-55296)+c-56320+65536:(l[t++]=this._interim,l[t++]=c),this._interim=0);for(var s=a;s<n;++s){var r=d.charCodeAt(s);if(55296<=r&&r<=56319){if(++s>=n)return this._interim=r,t;var c;56320<=(c=d.charCodeAt(s))&&c<=57343?l[t++]=1024*(r-55296)+c-56320+65536:(l[t++]=r,l[t++]=c)}else l[t++]=r}return t},f}();m.StringToUtf32=p;var v=function(){function f(){this.interim=new Uint8Array(3)}return f.prototype.clear=function(){this.interim.fill(0)},f.prototype.decode=function(d,l){var n=d.length;if(!n)return 0;var t,a,s,r,c=0,e=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 g=0,A=void 0;(A=63&this.interim[++g])&&g<4;)h<<=6,h|=A;for(var w=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,x=w-g;o<x;){if(o>=n)return 0;if((192&(A=d[o++]))!=128){o--,u=!0;break}this.interim[g++]=A,h<<=6,h|=63&A}u||(w===2?h<128?o--:l[c++]=h:w===3?h<2048||h>=55296&&h<=57343||(l[c++]=h):h<65536||h>1114111||(l[c++]=h)),this.interim.fill(0)}for(var C=n-4,T=o;T<n;){for(;!(!(T<C)||128&(t=d[T])||128&(a=d[T+1])||128&(s=d[T+2])||128&(r=d[T+3]));)l[c++]=t,l[c++]=a,l[c++]=s,l[c++]=r,T+=4;if((t=d[T++])<128)l[c++]=t;else if((224&t)==192){if(T>=n)return this.interim[0]=t,c;if((192&(a=d[T++]))!=128){T--;continue}if((e=(31&t)<<6|63&a)<128){T--;continue}l[c++]=e}else if((240&t)==224){if(T>=n)return this.interim[0]=t,c;if((192&(a=d[T++]))!=128){T--;continue}if(T>=n)return this.interim[0]=t,this.interim[1]=a,c;if((192&(s=d[T++]))!=128){T--;continue}if((e=(15&t)<<12|(63&a)<<6|63&s)<2048||e>=55296&&e<=57343)continue;l[c++]=e}else if((248&t)==240){if(T>=n)return this.interim[0]=t,c;if((192&(a=d[T++]))!=128){T--;continue}if(T>=n)return this.interim[0]=t,this.interim[1]=a,c;if((192&(s=d[T++]))!=128){T--;continue}if(T>=n)return this.interim[0]=t,this.interim[1]=a,this.interim[2]=s,c;if((192&(r=d[T++]))!=128){T--;continue}if((e=(7&t)<<18|(63&a)<<12|(63&s)<<6|63&r)<65536||e>1114111)continue;l[c++]=e}}return c},f}();m.Utf8ToUtf32=v},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CHAR_ATLAS_CELL_SPACING=m.DIM_OPACITY=m.INVERTED_DEFAULT_COLOR=void 0,m.INVERTED_DEFAULT_COLOR=257,m.DIM_OPACITY=.5,m.CHAR_ATLAS_CELL_SPACING=1},function(y,m,E){"use strict";var p,v,f,d;function l(t){var a=t.toString(16);return a.length<2?"0"+a:a}function n(t,a){return t<a?(a+.05)/(t+.05):(t+.05)/(a+.05)}Object.defineProperty(m,"__esModule",{value:!0}),m.contrastRatio=m.toPaddedHex=m.rgba=m.rgb=m.css=m.color=m.channels=void 0,function(t){t.toCss=function(a,s,r,c){return c!==void 0?"#"+l(a)+l(s)+l(r)+l(c):"#"+l(a)+l(s)+l(r)},t.toRgba=function(a,s,r,c){return c===void 0&&(c=255),(a<<24|s<<16|r<<8|c)>>>0}}(p=m.channels||(m.channels={})),(v=m.color||(m.color={})).blend=function(t,a){var s=(255&a.rgba)/255;if(s===1)return{css:a.css,rgba:a.rgba};var r=a.rgba>>24&255,c=a.rgba>>16&255,e=a.rgba>>8&255,o=t.rgba>>24&255,u=t.rgba>>16&255,h=t.rgba>>8&255,g=o+Math.round((r-o)*s),A=u+Math.round((c-u)*s),w=h+Math.round((e-h)*s);return{css:p.toCss(g,A,w),rgba:p.toRgba(g,A,w)}},v.isOpaque=function(t){return(255&t.rgba)==255},v.ensureContrastRatio=function(t,a,s){var r=d.ensureContrastRatio(t.rgba,a.rgba,s);if(r)return d.toColor(r>>24&255,r>>16&255,r>>8&255)},v.opaque=function(t){var a=(255|t.rgba)>>>0,s=d.toChannels(a),r=s[0],c=s[1],e=s[2];return{css:p.toCss(r,c,e),rgba:a}},v.opacity=function(t,a){var s=Math.round(255*a),r=d.toChannels(t.rgba),c=r[0],e=r[1],o=r[2];return{css:p.toCss(c,e,o,s),rgba:p.toRgba(c,e,o,s)}},(m.css||(m.css={})).toColor=function(t){switch(t.length){case 7:return{css:t,rgba:(parseInt(t.slice(1),16)<<8|255)>>>0};case 9:return{css:t,rgba:parseInt(t.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(t){function a(s,r,c){var e=s/255,o=r/255,u=c/255;return .2126*(e<=.03928?e/12.92:Math.pow((e+.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))}t.relativeLuminance=function(s){return a(s>>16&255,s>>8&255,255&s)},t.relativeLuminance2=a}(f=m.rgb||(m.rgb={})),function(t){function a(r,c,e){for(var o=r>>24&255,u=r>>16&255,h=r>>8&255,g=c>>24&255,A=c>>16&255,w=c>>8&255,x=n(f.relativeLuminance2(g,w,A),f.relativeLuminance2(o,u,h));x<e&&(g>0||A>0||w>0);)g-=Math.max(0,Math.ceil(.1*g)),A-=Math.max(0,Math.ceil(.1*A)),w-=Math.max(0,Math.ceil(.1*w)),x=n(f.relativeLuminance2(g,w,A),f.relativeLuminance2(o,u,h));return(g<<24|A<<16|w<<8|255)>>>0}function s(r,c,e){for(var o=r>>24&255,u=r>>16&255,h=r>>8&255,g=c>>24&255,A=c>>16&255,w=c>>8&255,x=n(f.relativeLuminance2(g,w,A),f.relativeLuminance2(o,u,h));x<e&&(g<255||A<255||w<255);)g=Math.min(255,g+Math.ceil(.1*(255-g))),A=Math.min(255,A+Math.ceil(.1*(255-A))),w=Math.min(255,w+Math.ceil(.1*(255-w))),x=n(f.relativeLuminance2(g,w,A),f.relativeLuminance2(o,u,h));return(g<<24|A<<16|w<<8|255)>>>0}t.ensureContrastRatio=function(r,c,e){var o=f.relativeLuminance(r>>8),u=f.relativeLuminance(c>>8);if(n(o,u)<e)return u<o?a(r,c,e):s(r,c,e)},t.reduceLuminance=a,t.increaseLuminance=s,t.toChannels=function(r){return[r>>24&255,r>>16&255,r>>8&255,255&r]},t.toColor=function(r,c,e){return{css:p.toCss(r,c,e),rgba:p.toRgba(r,c,e)}}}(d=m.rgba||(m.rgba={})),m.toPaddedHex=l,m.contrastRatio=n},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isLinux=m.isWindows=m.isIphone=m.isIpad=m.isMac=m.isSafari=m.isFirefox=void 0;var p=typeof navigator=="undefined",v=p?"node":navigator.userAgent,f=p?"node":navigator.platform;function d(l,n){return l.indexOf(n)>=0}m.isFirefox=!!~v.indexOf("Firefox"),m.isSafari=/^((?!chrome|android).)*safari/i.test(v),m.isMac=d(["Macintosh","MacIntel","MacPPC","Mac68K"],f),m.isIpad=f==="iPad",m.isIphone=f==="iPhone",m.isWindows=d(["Windows","Win16","Win32","WinCE"],f),m.isLinux=f.indexOf("Linux")>=0},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.C1=m.C0=void 0,function(p){p.NUL="\0",p.SOH="",p.STX="",p.ETX="",p.EOT="",p.ENQ="",p.ACK="",p.BEL="\x07",p.BS="\b",p.HT=" ",p.LF=`
|
|
|
`,p.VT="\v",p.FF="\f",p.CR="\r",p.SO="",p.SI="",p.DLE="",p.DC1="",p.DC2="",p.DC3="",p.DC4="",p.NAK="",p.SYN="",p.ETB="",p.CAN="",p.EM="",p.SUB="",p.ESC="",p.FS="",p.GS="",p.RS="",p.US="",p.SP=" ",p.DEL="\x7F"}(m.C0||(m.C0={})),function(p){p.PAD="\x80",p.HOP="\x81",p.BPH="\x82",p.NBH="\x83",p.IND="\x84",p.NEL="\x85",p.SSA="\x86",p.ESA="\x87",p.HTS="\x88",p.HTJ="\x89",p.VTS="\x8A",p.PLD="\x8B",p.PLU="\x8C",p.RI="\x8D",p.SS2="\x8E",p.SS3="\x8F",p.DCS="\x90",p.PU1="\x91",p.PU2="\x92",p.STS="\x93",p.CCH="\x94",p.MW="\x95",p.SPA="\x96",p.EPA="\x97",p.SOS="\x98",p.SGCI="\x99",p.SCI="\x9A",p.CSI="\x9B",p.ST="\x9C",p.OSC="\x9D",p.PM="\x9E",p.APC="\x9F"}(m.C1||(m.C1={}))},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BaseRenderLayer=void 0;var p=E(3),v=E(9),f=E(25),d=E(6),l=E(28),n=E(10),t=E(17),a=function(){function s(r,c,e,o,u,h,g,A){this._container=r,this._alpha=o,this._colors=u,this._rendererId=h,this._bufferService=g,this._optionsService=A,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+c+"-layer"),this._canvas.style.zIndex=e.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return s.prototype.dispose=function(){var r;t.removeElementFromParent(this._canvas),(r=this._charAtlas)===null||r===void 0||r.dispose()},s.prototype._initCanvas=function(){this._ctx=l.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},s.prototype.onOptionsChanged=function(){},s.prototype.onBlur=function(){},s.prototype.onFocus=function(){},s.prototype.onCursorMove=function(){},s.prototype.onGridChanged=function(r,c){},s.prototype.onSelectionChanged=function(r,c,e){e===void 0&&(e=!1)},s.prototype.setColors=function(r){this._refreshCharAtlas(r)},s.prototype._setTransparency=function(r){if(r!==this._alpha){var c=this._canvas;this._alpha=r,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,c),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},s.prototype._refreshCharAtlas=function(r){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=f.acquireCharAtlas(this._optionsService.options,this._rendererId,r,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},s.prototype.resize=function(r){this._scaledCellWidth=r.scaledCellWidth,this._scaledCellHeight=r.scaledCellHeight,this._scaledCharWidth=r.scaledCharWidth,this._scaledCharHeight=r.scaledCharHeight,this._scaledCharLeft=r.scaledCharLeft,this._scaledCharTop=r.scaledCharTop,this._canvas.width=r.scaledCanvasWidth,this._canvas.height=r.scaledCanvasHeight,this._canvas.style.width=r.canvasWidth+"px",this._canvas.style.height=r.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},s.prototype._fillCells=function(r,c,e,o){this._ctx.fillRect(r*this._scaledCellWidth,c*this._scaledCellHeight,e*this._scaledCellWidth,o*this._scaledCellHeight)},s.prototype._fillBottomLineAtCells=function(r,c,e){e===void 0&&(e=1),this._ctx.fillRect(r*this._scaledCellWidth,(c+1)*this._scaledCellHeight-window.devicePixelRatio-1,e*this._scaledCellWidth,window.devicePixelRatio)},s.prototype._fillLeftLineAtCell=function(r,c,e){this._ctx.fillRect(r*this._scaledCellWidth,c*this._scaledCellHeight,window.devicePixelRatio*e,this._scaledCellHeight)},s.prototype._strokeRectAtCell=function(r,c,e,o){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(r*this._scaledCellWidth+window.devicePixelRatio/2,c*this._scaledCellHeight+window.devicePixelRatio/2,e*this._scaledCellWidth-window.devicePixelRatio,o*this._scaledCellHeight-window.devicePixelRatio)},s.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))},s.prototype._clearCells=function(r,c,e,o){this._alpha?this._ctx.clearRect(r*this._scaledCellWidth,c*this._scaledCellHeight,e*this._scaledCellWidth,o*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(r*this._scaledCellWidth,c*this._scaledCellHeight,e*this._scaledCellWidth,o*this._scaledCellHeight))},s.prototype._fillCharTrueColor=function(r,c,e){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(e),this._ctx.fillText(r.getChars(),c*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},s.prototype._drawChars=function(r,c,e){var o,u,h=this._getContrastColor(r);h||r.isFgRGB()||r.isBgRGB()?this._drawUncachedChars(r,c,e,h):(r.isInverse()?(o=r.isBgDefault()?v.INVERTED_DEFAULT_COLOR:r.getBgColor(),u=r.isFgDefault()?v.INVERTED_DEFAULT_COLOR:r.getFgColor()):(u=r.isBgDefault()?p.DEFAULT_COLOR:r.getBgColor(),o=r.isFgDefault()?p.DEFAULT_COLOR:r.getFgColor()),o+=this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&o<8?8:0,this._currentGlyphIdentifier.chars=r.getChars()||p.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=r.getCode()||p.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=u,this._currentGlyphIdentifier.fg=o,this._currentGlyphIdentifier.bold=!!r.isBold(),this._currentGlyphIdentifier.dim=!!r.isDim(),this._currentGlyphIdentifier.italic=!!r.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,c*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(r,c,e))},s.prototype._drawUncachedChars=function(r,c,e,o){if(this._ctx.save(),this._ctx.font=this._getFont(!!r.isBold(),!!r.isItalic()),this._ctx.textBaseline="middle",r.isInverse())if(o)this._ctx.fillStyle=o.css;else if(r.isBgDefault())this._ctx.fillStyle=n.color.opaque(this._colors.background).css;else if(r.isBgRGB())this._ctx.fillStyle="rgb("+d.AttributeData.toColorRGB(r.getBgColor()).join(",")+")";else{var u=r.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}else if(o)this._ctx.fillStyle=o.css;else if(r.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(r.isFgRGB())this._ctx.fillStyle="rgb("+d.AttributeData.toColorRGB(r.getFgColor()).join(",")+")";else{var h=r.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&h<8&&(h+=8),this._ctx.fillStyle=this._colors.ansi[h].css}this._clipRow(e),r.isDim()&&(this._ctx.globalAlpha=v.DIM_OPACITY),this._ctx.fillText(r.getChars(),c*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},s.prototype._clipRow=function(r){this._ctx.beginPath(),this._ctx.rect(0,r*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},s.prototype._getFont=function(r,c){return(c?"italic":"")+" "+(r?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},s.prototype._getContrastColor=function(r){if(this._optionsService.options.minimumContrastRatio!==1){var c=this._colors.contrastCache.getColor(r.bg,r.fg);if(c!==void 0)return c||void 0;var e=r.getFgColor(),o=r.getFgColorMode(),u=r.getBgColor(),h=r.getBgColorMode(),g=!!r.isInverse(),A=!!r.isInverse();if(g){var w=e;e=u,u=w;var x=o;o=h,h=x}var C=this._resolveBackgroundRgba(h,u,g),T=this._resolveForegroundRgba(o,e,g,A),O=n.rgba.ensureContrastRatio(C,T,this._optionsService.options.minimumContrastRatio);if(O){var S={css:n.channels.toCss(O>>24&255,O>>16&255,O>>8&255),rgba:O};return this._colors.contrastCache.setColor(r.bg,r.fg,S),S}this._colors.contrastCache.setColor(r.bg,r.fg,null)}},s.prototype._resolveBackgroundRgba=function(r,c,e){switch(r){case 16777216:case 33554432:return this._colors.ansi[c].rgba;case 50331648:return c<<8;case 0:default:return e?this._colors.foreground.rgba:this._colors.background.rgba}},s.prototype._resolveForegroundRgba=function(r,c,e,o){switch(r){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&o&&c<8&&(c+=8),this._colors.ansi[c].rgba;case 50331648:return c<<8;case 0:default:return e?this._colors.background.rgba:this._colors.foreground.rgba}},s}();m.BaseRenderLayer=a},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createDecorator=m.getServiceDependencies=m.serviceRegistry=void 0;function p(v,f,d){f.di$target===f?f.di$dependencies.push({id:v,index:d}):(f.di$dependencies=[{id:v,index:d}],f.di$target=f)}m.serviceRegistry=new Map,m.getServiceDependencies=function(v){return v.di$dependencies||[]},m.createDecorator=function(v){if(m.serviceRegistry.has(v))return m.serviceRegistry.get(v);var f=function d(l,n,t){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");p(d,l,t)};return f.toString=function(){return v},m.serviceRegistry.set(v,f),f}},function(y,m,E){"use strict";function p(v,f,d,l){if(d===void 0&&(d=0),l===void 0&&(l=v.length),d>=v.length)return v;d=(v.length+d)%v.length,l=l>=v.length?v.length:(v.length+l)%v.length;for(var n=d;n<l;++n)v[n]=f;return v}Object.defineProperty(m,"__esModule",{value:!0}),m.concat=m.fillFallback=m.fill=void 0,m.fill=function(v,f,d,l){return v.fill?v.fill(f,d,l):p(v,f,d,l)},m.fillFallback=p,m.concat=function(v,f){var d=new v.constructor(v.length+f.length);return d.set(v),d.set(f,v.length),d}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BufferLine=m.DEFAULT_ATTR_DATA=void 0;var p=E(8),v=E(3),f=E(4),d=E(6);m.DEFAULT_ATTR_DATA=Object.freeze(new d.AttributeData);var l=function(){function n(t,a,s){s===void 0&&(s=!1),this.isWrapped=s,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*t);for(var r=a||f.CellData.fromCharData([0,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),c=0;c<t;++c)this.setCell(c,r);this.length=t}return n.prototype.get=function(t){var a=this._data[3*t+0],s=2097151&a;return[this._data[3*t+1],2097152&a?this._combined[t]:s?p.stringFromCodePoint(s):"",a>>22,2097152&a?this._combined[t].charCodeAt(this._combined[t].length-1):s]},n.prototype.set=function(t,a){this._data[3*t+1]=a[v.CHAR_DATA_ATTR_INDEX],a[v.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[t]=a[1],this._data[3*t+0]=2097152|t|a[v.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*t+0]=a[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|a[v.CHAR_DATA_WIDTH_INDEX]<<22},n.prototype.getWidth=function(t){return this._data[3*t+0]>>22},n.prototype.hasWidth=function(t){return 12582912&this._data[3*t+0]},n.prototype.getFg=function(t){return this._data[3*t+1]},n.prototype.getBg=function(t){return this._data[3*t+2]},n.prototype.hasContent=function(t){return 4194303&this._data[3*t+0]},n.prototype.getCodePoint=function(t){var a=this._data[3*t+0];return 2097152&a?this._combined[t].charCodeAt(this._combined[t].length-1):2097151&a},n.prototype.isCombined=function(t){return 2097152&this._data[3*t+0]},n.prototype.getString=function(t){var a=this._data[3*t+0];return 2097152&a?this._combined[t]:2097151&a?p.stringFromCodePoint(2097151&a):""},n.prototype.loadCell=function(t,a){var s=3*t;return a.content=this._data[s+0],a.fg=this._data[s+1],a.bg=this._data[s+2],2097152&a.content&&(a.combinedData=this._combined[t]),268435456&a.bg&&(a.extended=this._extendedAttrs[t]),a},n.prototype.setCell=function(t,a){2097152&a.content&&(this._combined[t]=a.combinedData),268435456&a.bg&&(this._extendedAttrs[t]=a.extended),this._data[3*t+0]=a.content,this._data[3*t+1]=a.fg,this._data[3*t+2]=a.bg},n.prototype.setCellFromCodePoint=function(t,a,s,r,c,e){268435456&c&&(this._extendedAttrs[t]=e),this._data[3*t+0]=a|s<<22,this._data[3*t+1]=r,this._data[3*t+2]=c},n.prototype.addCodepointToCell=function(t,a){var s=this._data[3*t+0];2097152&s?this._combined[t]+=p.stringFromCodePoint(a):(2097151&s?(this._combined[t]=p.stringFromCodePoint(2097151&s)+p.stringFromCodePoint(a),s&=-2097152,s|=2097152):s=a|1<<22,this._data[3*t+0]=s)},n.prototype.insertCells=function(t,a,s,r){if((t%=this.length)&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new d.ExtendedAttrs),a<this.length-t){for(var c=new f.CellData,e=this.length-t-a-1;e>=0;--e)this.setCell(t+a+e,this.loadCell(t+e,c));for(e=0;e<a;++e)this.setCell(t+e,s)}else for(e=t;e<this.length;++e)this.setCell(e,s);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new d.ExtendedAttrs)},n.prototype.deleteCells=function(t,a,s,r){if(t%=this.length,a<this.length-t){for(var c=new f.CellData,e=0;e<this.length-t-a;++e)this.setCell(t+e,this.loadCell(t+a+e,c));for(e=this.length-a;e<this.length;++e)this.setCell(e,s)}else for(e=t;e<this.length;++e)this.setCell(e,s);t&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new d.ExtendedAttrs),this.getWidth(t)!==0||this.hasContent(t)||this.setCellFromCodePoint(t,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new d.ExtendedAttrs)},n.prototype.replaceCells=function(t,a,s,r){for(t&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new d.ExtendedAttrs),a<this.length&&this.getWidth(a-1)===2&&this.setCellFromCodePoint(a,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new d.ExtendedAttrs);t<a&&t<this.length;)this.setCell(t++,s)},n.prototype.resize=function(t,a){if(t!==this.length){if(t>this.length){var s=new Uint32Array(3*t);this.length&&(3*t<this._data.length?s.set(this._data.subarray(0,3*t)):s.set(this._data)),this._data=s;for(var r=this.length;r<t;++r)this.setCell(r,a)}else if(t){(s=new Uint32Array(3*t)).set(this._data.subarray(0,3*t)),this._data=s;var c=Object.keys(this._combined);for(r=0;r<c.length;r++){var e=parseInt(c[r],10);e>=t&&delete this._combined[e]}}else this._data=new Uint32Array(0),this._combined={};this.length=t}},n.prototype.fill=function(t){this._combined={},this._extendedAttrs={};for(var a=0;a<this.length;++a)this.setCell(a,t)},n.prototype.copyFrom=function(t){for(var a in this.length!==t.length?this._data=new Uint32Array(t._data):this._data.set(t._data),this.length=t.length,this._combined={},t._combined)this._combined[a]=t._combined[a];for(var a in this._extendedAttrs={},t._extendedAttrs)this._extendedAttrs[a]=t._extendedAttrs[a];this.isWrapped=t.isWrapped},n.prototype.clone=function(){var t=new n(0);for(var a in t._data=new Uint32Array(this._data),t.length=this.length,this._combined)t._combined[a]=this._combined[a];for(var a in this._extendedAttrs)t._extendedAttrs[a]=this._extendedAttrs[a];return t.isWrapped=this.isWrapped,t},n.prototype.getTrimmedLength=function(){for(var t=this.length-1;t>=0;--t)if(4194303&this._data[3*t+0])return t+(this._data[3*t+0]>>22);return 0},n.prototype.copyCellsFrom=function(t,a,s,r,c){var e=t._data;if(c)for(var o=r-1;o>=0;o--)for(var u=0;u<3;u++)this._data[3*(s+o)+u]=e[3*(a+o)+u];else for(o=0;o<r;o++)for(u=0;u<3;u++)this._data[3*(s+o)+u]=e[3*(a+o)+u];var h=Object.keys(t._combined);for(u=0;u<h.length;u++){var g=parseInt(h[u],10);g>=a&&(this._combined[g-a+s]=t._combined[g])}},n.prototype.translateToString=function(t,a,s){t===void 0&&(t=!1),a===void 0&&(a=0),s===void 0&&(s=this.length),t&&(s=Math.min(s,this.getTrimmedLength()));for(var r="";a<s;){var c=this._data[3*a+0],e=2097151&c;r+=2097152&c?this._combined[a]:e?p.stringFromCodePoint(e):v.WHITESPACE_CELL_CHAR,a+=c>>22||1}return r},n}();m.BufferLine=l},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.removeElementFromParent=void 0,m.removeElementFromParent=function(){for(var p,v=[],f=0;f<arguments.length;f++)v[f]=arguments[f];for(var d=0,l=v;d<l.length;d++){var n=l[d];(p=n==null?void 0:n.parentElement)===null||p===void 0||p.removeChild(n)}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.tooMuchOutput=m.promptLabel=void 0,m.promptLabel="Terminal input",m.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(O,S){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,L){_.__proto__=L}||function(_,L){for(var D in L)L.hasOwnProperty(D)&&(_[D]=L[D])})(O,S)},function(T,O){function S(){this.constructor=T}p(T,O),T.prototype=O===null?Object.create(O):(S.prototype=O.prototype,new S)});Object.defineProperty(m,"__esModule",{value:!0}),m.InputHandler=m.WindowsOptionsReportType=void 0;var f,d=E(12),l=E(20),n=E(39),t=E(2),a=E(15),s=E(8),r=E(16),c=E(0),e=E(3),o=E(4),u=E(6),h=E(22),g=E(24),A={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function w(T,O){if(T>24)return O.setWinLines||!1;switch(T){case 1:return!!O.restoreWin;case 2:return!!O.minimizeWin;case 3:return!!O.setWinPosition;case 4:return!!O.setWinSizePixels;case 5:return!!O.raiseWin;case 6:return!!O.lowerWin;case 7:return!!O.refreshWin;case 8:return!!O.setWinSizeChars;case 9:return!!O.maximizeWin;case 10:return!!O.fullscreenWin;case 11:return!!O.getWinState;case 13:return!!O.getWinPosition;case 14:return!!O.getWinSizePixels;case 15:return!!O.getScreenSizePixels;case 16:return!!O.getCellSizePixels;case 18:return!!O.getWinSizeChars;case 19:return!!O.getScreenSizeChars;case 20:return!!O.getIconTitle;case 21:return!!O.getWinTitle;case 22:return!!O.pushTitle;case 23:return!!O.popTitle;case 24:return!!O.setWinLines}return!1}!function(T){T[T.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",T[T.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(f=m.WindowsOptionsReportType||(m.WindowsOptionsReportType={}));var x=function(){function T(O,S,_,L){this._bufferService=O,this._coreService=S,this._logService=_,this._optionsService=L,this._data=new Uint32Array(0)}return T.prototype.hook=function(O){this._data=new Uint32Array(0)},T.prototype.put=function(O,S,_){this._data=a.concat(this._data,O.subarray(S,_))},T.prototype.unhook=function(O){if(O){var S=s.utf32ToString(this._data);switch(this._data=new Uint32Array(0),S){case'"q':return this._coreService.triggerDataEvent(d.C0.ESC+'P1$r0"q'+d.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(d.C0.ESC+'P1$r61;1"p'+d.C0.ESC+"\\");case"r":var _=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(d.C0.ESC+"P1$r"+_+d.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(d.C0.ESC+"P1$r0m"+d.C0.ESC+"\\");case" q":var L={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return L-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(d.C0.ESC+"P1$r"+L+" q"+d.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",S),this._coreService.triggerDataEvent(d.C0.ESC+"P0$r"+d.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},T}(),C=function(T){function O(S,_,L,D,F,j,k,K,Z){Z===void 0&&(Z=new n.EscapeSequenceParser);var B=T.call(this)||this;B._bufferService=S,B._charsetService=_,B._coreService=L,B._dirtyRowService=D,B._logService=F,B._optionsService=j,B._coreMouseService=k,B._unicodeService=K,B._parser=Z,B._parseBuffer=new Uint32Array(4096),B._stringDecoder=new s.StringToUtf32,B._utf8Decoder=new s.Utf8ToUtf32,B._workCell=new o.CellData,B._windowTitle="",B._iconName="",B._windowTitleStack=[],B._iconNameStack=[],B._curAttrData=r.DEFAULT_ATTR_DATA.clone(),B._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone(),B._onRequestBell=new c.EventEmitter,B._onRequestRefreshRows=new c.EventEmitter,B._onRequestReset=new c.EventEmitter,B._onRequestScroll=new c.EventEmitter,B._onRequestSyncScrollBar=new c.EventEmitter,B._onRequestWindowsOptionsReport=new c.EventEmitter,B._onA11yChar=new c.EventEmitter,B._onA11yTab=new c.EventEmitter,B._onCursorMove=new c.EventEmitter,B._onLineFeed=new c.EventEmitter,B._onScroll=new c.EventEmitter,B._onTitleChange=new c.EventEmitter,B.register(B._parser),B._parser.setCsiHandlerFallback(function(W,q){B._logService.debug("Unknown CSI code: ",{identifier:B._parser.identToString(W),params:q.toArray()})}),B._parser.setEscHandlerFallback(function(W){B._logService.debug("Unknown ESC code: ",{identifier:B._parser.identToString(W)})}),B._parser.setExecuteHandlerFallback(function(W){B._logService.debug("Unknown EXECUTE code: ",{code:W})}),B._parser.setOscHandlerFallback(function(W,q,Y){B._logService.debug("Unknown OSC code: ",{identifier:W,action:q,data:Y})}),B._parser.setDcsHandlerFallback(function(W,q,Y){q==="HOOK"&&(Y=Y.toArray()),B._logService.debug("Unknown DCS code: ",{identifier:B._parser.identToString(W),action:q,payload:Y})}),B._parser.setPrintHandler(function(W,q,Y){return B.print(W,q,Y)}),B._parser.setCsiHandler({final:"@"},function(W){return B.insertChars(W)}),B._parser.setCsiHandler({intermediates:" ",final:"@"},function(W){return B.scrollLeft(W)}),B._parser.setCsiHandler({final:"A"},function(W){return B.cursorUp(W)}),B._parser.setCsiHandler({intermediates:" ",final:"A"},function(W){return B.scrollRight(W)}),B._parser.setCsiHandler({final:"B"},function(W){return B.cursorDown(W)}),B._parser.setCsiHandler({final:"C"},function(W){return B.cursorForward(W)}),B._parser.setCsiHandler({final:"D"},function(W){return B.cursorBackward(W)}),B._parser.setCsiHandler({final:"E"},function(W){return B.cursorNextLine(W)}),B._parser.setCsiHandler({final:"F"},function(W){return B.cursorPrecedingLine(W)}),B._parser.setCsiHandler({final:"G"},function(W){return B.cursorCharAbsolute(W)}),B._parser.setCsiHandler({final:"H"},function(W){return B.cursorPosition(W)}),B._parser.setCsiHandler({final:"I"},function(W){return B.cursorForwardTab(W)}),B._parser.setCsiHandler({final:"J"},function(W){return B.eraseInDisplay(W)}),B._parser.setCsiHandler({prefix:"?",final:"J"},function(W){return B.eraseInDisplay(W)}),B._parser.setCsiHandler({final:"K"},function(W){return B.eraseInLine(W)}),B._parser.setCsiHandler({prefix:"?",final:"K"},function(W){return B.eraseInLine(W)}),B._parser.setCsiHandler({final:"L"},function(W){return B.insertLines(W)}),B._parser.setCsiHandler({final:"M"},function(W){return B.deleteLines(W)}),B._parser.setCsiHandler({final:"P"},function(W){return B.deleteChars(W)}),B._parser.setCsiHandler({final:"S"},function(W){return B.scrollUp(W)}),B._parser.setCsiHandler({final:"T"},function(W){return B.scrollDown(W)}),B._parser.setCsiHandler({final:"X"},function(W){return B.eraseChars(W)}),B._parser.setCsiHandler({final:"Z"},function(W){return B.cursorBackwardTab(W)}),B._parser.setCsiHandler({final:"`"},function(W){return B.charPosAbsolute(W)}),B._parser.setCsiHandler({final:"a"},function(W){return B.hPositionRelative(W)}),B._parser.setCsiHandler({final:"b"},function(W){return B.repeatPrecedingCharacter(W)}),B._parser.setCsiHandler({final:"c"},function(W){return B.sendDeviceAttributesPrimary(W)}),B._parser.setCsiHandler({prefix:">",final:"c"},function(W){return B.sendDeviceAttributesSecondary(W)}),B._parser.setCsiHandler({final:"d"},function(W){return B.linePosAbsolute(W)}),B._parser.setCsiHandler({final:"e"},function(W){return B.vPositionRelative(W)}),B._parser.setCsiHandler({final:"f"},function(W){return B.hVPosition(W)}),B._parser.setCsiHandler({final:"g"},function(W){return B.tabClear(W)}),B._parser.setCsiHandler({final:"h"},function(W){return B.setMode(W)}),B._parser.setCsiHandler({prefix:"?",final:"h"},function(W){return B.setModePrivate(W)}),B._parser.setCsiHandler({final:"l"},function(W){return B.resetMode(W)}),B._parser.setCsiHandler({prefix:"?",final:"l"},function(W){return B.resetModePrivate(W)}),B._parser.setCsiHandler({final:"m"},function(W){return B.charAttributes(W)}),B._parser.setCsiHandler({final:"n"},function(W){return B.deviceStatus(W)}),B._parser.setCsiHandler({prefix:"?",final:"n"},function(W){return B.deviceStatusPrivate(W)}),B._parser.setCsiHandler({intermediates:"!",final:"p"},function(W){return B.softReset(W)}),B._parser.setCsiHandler({intermediates:" ",final:"q"},function(W){return B.setCursorStyle(W)}),B._parser.setCsiHandler({final:"r"},function(W){return B.setScrollRegion(W)}),B._parser.setCsiHandler({final:"s"},function(W){return B.saveCursor(W)}),B._parser.setCsiHandler({final:"t"},function(W){return B.windowOptions(W)}),B._parser.setCsiHandler({final:"u"},function(W){return B.restoreCursor(W)}),B._parser.setCsiHandler({intermediates:"'",final:"}"},function(W){return B.insertColumns(W)}),B._parser.setCsiHandler({intermediates:"'",final:"~"},function(W){return B.deleteColumns(W)}),B._parser.setExecuteHandler(d.C0.BEL,function(){return B.bell()}),B._parser.setExecuteHandler(d.C0.LF,function(){return B.lineFeed()}),B._parser.setExecuteHandler(d.C0.VT,function(){return B.lineFeed()}),B._parser.setExecuteHandler(d.C0.FF,function(){return B.lineFeed()}),B._parser.setExecuteHandler(d.C0.CR,function(){return B.carriageReturn()}),B._parser.setExecuteHandler(d.C0.BS,function(){return B.backspace()}),B._parser.setExecuteHandler(d.C0.HT,function(){return B.tab()}),B._parser.setExecuteHandler(d.C0.SO,function(){return B.shiftOut()}),B._parser.setExecuteHandler(d.C0.SI,function(){return B.shiftIn()}),B._parser.setExecuteHandler(d.C1.IND,function(){return B.index()}),B._parser.setExecuteHandler(d.C1.NEL,function(){return B.nextLine()}),B._parser.setExecuteHandler(d.C1.HTS,function(){return B.tabSet()}),B._parser.setOscHandler(0,new h.OscHandler(function(W){B.setTitle(W),B.setIconName(W)})),B._parser.setOscHandler(1,new h.OscHandler(function(W){return B.setIconName(W)})),B._parser.setOscHandler(2,new h.OscHandler(function(W){return B.setTitle(W)})),B._parser.setEscHandler({final:"7"},function(){return B.saveCursor()}),B._parser.setEscHandler({final:"8"},function(){return B.restoreCursor()}),B._parser.setEscHandler({final:"D"},function(){return B.index()}),B._parser.setEscHandler({final:"E"},function(){return B.nextLine()}),B._parser.setEscHandler({final:"H"},function(){return B.tabSet()}),B._parser.setEscHandler({final:"M"},function(){return B.reverseIndex()}),B._parser.setEscHandler({final:"="},function(){return B.keypadApplicationMode()}),B._parser.setEscHandler({final:">"},function(){return B.keypadNumericMode()}),B._parser.setEscHandler({final:"c"},function(){return B.fullReset()}),B._parser.setEscHandler({final:"n"},function(){return B.setgLevel(2)}),B._parser.setEscHandler({final:"o"},function(){return B.setgLevel(3)}),B._parser.setEscHandler({final:"|"},function(){return B.setgLevel(3)}),B._parser.setEscHandler({final:"}"},function(){return B.setgLevel(2)}),B._parser.setEscHandler({final:"~"},function(){return B.setgLevel(1)}),B._parser.setEscHandler({intermediates:"%",final:"@"},function(){return B.selectDefaultCharset()}),B._parser.setEscHandler({intermediates:"%",final:"G"},function(){return B.selectDefaultCharset()});var V=function(q){z._parser.setEscHandler({intermediates:"(",final:q},function(){return B.selectCharset("("+q)}),z._parser.setEscHandler({intermediates:")",final:q},function(){return B.selectCharset(")"+q)}),z._parser.setEscHandler({intermediates:"*",final:q},function(){return B.selectCharset("*"+q)}),z._parser.setEscHandler({intermediates:"+",final:q},function(){return B.selectCharset("+"+q)}),z._parser.setEscHandler({intermediates:"-",final:q},function(){return B.selectCharset("-"+q)}),z._parser.setEscHandler({intermediates:".",final:q},function(){return B.selectCharset("."+q)}),z._parser.setEscHandler({intermediates:"/",final:q},function(){return B.selectCharset("/"+q)})},z=this;for(var X in l.CHARSETS)V(X);return B._parser.setEscHandler({intermediates:"#",final:"8"},function(){return B.screenAlignmentPattern()}),B._parser.setErrorHandler(function(W){return B._logService.error("Parsing error: ",W),W}),B._parser.setDcsHandler({intermediates:"$",final:"q"},new x(B._bufferService,B._coreService,B._logService,B._optionsService)),B}return v(O,T),Object.defineProperty(O.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),O.prototype.dispose=function(){T.prototype.dispose.call(this)},O.prototype.parse=function(S){var _=this._bufferService.buffer,L=_.x,D=_.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 F=0;F<S.length;F+=131072){var j=F+131072<S.length?F+131072:S.length,k=typeof S=="string"?this._stringDecoder.decode(S.substring(F,j),this._parseBuffer):this._utf8Decoder.decode(S.subarray(F,j),this._parseBuffer);this._parser.parse(this._parseBuffer,k)}else k=typeof S=="string"?this._stringDecoder.decode(S,this._parseBuffer):this._utf8Decoder.decode(S,this._parseBuffer),this._parser.parse(this._parseBuffer,k);(_=this._bufferService.buffer).x===L&&_.y===D||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},O.prototype.print=function(S,_,L){var D,F,j=this._bufferService.buffer,k=this._charsetService.charset,K=this._optionsService.options.screenReaderMode,Z=this._bufferService.cols,B=this._coreService.decPrivateModes.wraparound,V=this._coreService.modes.insertMode,z=this._curAttrData,X=j.lines.get(j.ybase+j.y);this._dirtyRowService.markDirty(j.y),j.x&&L-_>0&&X.getWidth(j.x-1)===2&&X.setCellFromCodePoint(j.x-1,0,1,z.fg,z.bg,z.extended);for(var W=_;W<L;++W){if(D=S[W],F=this._unicodeService.wcwidth(D),D<127&&k){var q=k[String.fromCharCode(D)];q&&(D=q.charCodeAt(0))}if(K&&this._onA11yChar.fire(s.stringFromCodePoint(D)),F||!j.x){if(j.x+F-1>=Z){if(B){for(;j.x<Z;)X.setCellFromCodePoint(j.x++,0,1,z.fg,z.bg,z.extended);j.x=0,j.y++,j.y===j.scrollBottom+1?(j.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(j.y>=this._bufferService.rows&&(j.y=this._bufferService.rows-1),j.lines.get(j.ybase+j.y).isWrapped=!0),X=j.lines.get(j.ybase+j.y)}else if(j.x=Z-1,F===2)continue}if(V&&(X.insertCells(j.x,F,j.getNullCell(z),z),X.getWidth(Z-1)===2&&X.setCellFromCodePoint(Z-1,e.NULL_CELL_CODE,e.NULL_CELL_WIDTH,z.fg,z.bg,z.extended)),X.setCellFromCodePoint(j.x++,D,F,z.fg,z.bg,z.extended),F>0)for(;--F;)X.setCellFromCodePoint(j.x++,0,0,z.fg,z.bg,z.extended)}else X.getWidth(j.x-1)?X.addCodepointToCell(j.x-1,D):X.addCodepointToCell(j.x-2,D)}L-_>0&&(X.loadCell(j.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),j.x<Z&&L-_>0&&X.getWidth(j.x)===0&&!X.hasContent(j.x)&&X.setCellFromCodePoint(j.x,0,1,z.fg,z.bg,z.extended),this._dirtyRowService.markDirty(j.y)},O.prototype.addCsiHandler=function(S,_){var L=this;return S.final!=="t"||S.prefix||S.intermediates?this._parser.addCsiHandler(S,_):this._parser.addCsiHandler(S,function(D){return!w(D.params[0],L._optionsService.options.windowOptions)||_(D)})},O.prototype.addDcsHandler=function(S,_){return this._parser.addDcsHandler(S,new g.DcsHandler(_))},O.prototype.addEscHandler=function(S,_){return this._parser.addEscHandler(S,_)},O.prototype.addOscHandler=function(S,_){return this._parser.addOscHandler(S,new h.OscHandler(_))},O.prototype.bell=function(){this._onRequestBell.fire()},O.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()},O.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},O.prototype.backspace=function(){var S,_=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(_.x>0&&_.x--);if(this._restrictCursor(this._bufferService.cols),_.x>0)_.x--;else if(_.x===0&&_.y>_.scrollTop&&_.y<=_.scrollBottom&&((S=_.lines.get(_.ybase+_.y))===null||S===void 0?void 0:S.isWrapped)){_.lines.get(_.ybase+_.y).isWrapped=!1,_.y--,_.x=this._bufferService.cols-1;var L=_.lines.get(_.ybase+_.y);L.hasWidth(_.x)&&!L.hasContent(_.x)&&_.x--}this._restrictCursor()},O.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)}},O.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},O.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},O.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)},O.prototype._setCursor=function(S,_){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=S,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+_):(this._bufferService.buffer.x=S,this._bufferService.buffer.y=_),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},O.prototype._moveCursor=function(S,_){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+S,this._bufferService.buffer.y+_)},O.prototype.cursorUp=function(S){var _=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;_>=0?this._moveCursor(0,-Math.min(_,S.params[0]||1)):this._moveCursor(0,-(S.params[0]||1))},O.prototype.cursorDown=function(S){var _=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;_>=0?this._moveCursor(0,Math.min(_,S.params[0]||1)):this._moveCursor(0,S.params[0]||1)},O.prototype.cursorForward=function(S){this._moveCursor(S.params[0]||1,0)},O.prototype.cursorBackward=function(S){this._moveCursor(-(S.params[0]||1),0)},O.prototype.cursorNextLine=function(S){this.cursorDown(S),this._bufferService.buffer.x=0},O.prototype.cursorPrecedingLine=function(S){this.cursorUp(S),this._bufferService.buffer.x=0},O.prototype.cursorCharAbsolute=function(S){this._setCursor((S.params[0]||1)-1,this._bufferService.buffer.y)},O.prototype.cursorPosition=function(S){this._setCursor(S.length>=2?(S.params[1]||1)-1:0,(S.params[0]||1)-1)},O.prototype.charPosAbsolute=function(S){this._setCursor((S.params[0]||1)-1,this._bufferService.buffer.y)},O.prototype.hPositionRelative=function(S){this._moveCursor(S.params[0]||1,0)},O.prototype.linePosAbsolute=function(S){this._setCursor(this._bufferService.buffer.x,(S.params[0]||1)-1)},O.prototype.vPositionRelative=function(S){this._moveCursor(0,S.params[0]||1)},O.prototype.hVPosition=function(S){this.cursorPosition(S)},O.prototype.tabClear=function(S){var _=S.params[0];_===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:_===3&&(this._bufferService.buffer.tabs={})},O.prototype.cursorForwardTab=function(S){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var _=S.params[0]||1;_--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},O.prototype.cursorBackwardTab=function(S){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var _=S.params[0]||1,L=this._bufferService.buffer;_--;)L.x=L.prevStop()},O.prototype._eraseInBufferLine=function(S,_,L,D){D===void 0&&(D=!1);var F=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+S);F.replaceCells(_,L,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D&&(F.isWrapped=!1)},O.prototype._resetBufferLine=function(S){var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+S);_.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),_.isWrapped=!1},O.prototype.eraseInDisplay=function(S){var _;switch(this._restrictCursor(),S.params[0]){case 0:for(_=this._bufferService.buffer.y,this._dirtyRowService.markDirty(_),this._eraseInBufferLine(_++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);_<this._bufferService.rows;_++)this._resetBufferLine(_);this._dirtyRowService.markDirty(_);break;case 1:for(_=this._bufferService.buffer.y,this._dirtyRowService.markDirty(_),this._eraseInBufferLine(_,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(_+1).isWrapped=!1);_--;)this._resetBufferLine(_);this._dirtyRowService.markDirty(0);break;case 2:for(_=this._bufferService.rows,this._dirtyRowService.markDirty(_-1);_--;)this._resetBufferLine(_);this._dirtyRowService.markDirty(0);break;case 3:var L=this._bufferService.buffer.lines.length-this._bufferService.rows;L>0&&(this._bufferService.buffer.lines.trimStart(L),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-L,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-L,0),this._onScroll.fire(0))}},O.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)},O.prototype.insertLines=function(S){this._restrictCursor();var _=S.params[0]||1,L=this._bufferService.buffer;if(!(L.y>L.scrollBottom||L.y<L.scrollTop)){for(var D=L.ybase+L.y,F=this._bufferService.rows-1-L.scrollBottom,j=this._bufferService.rows-1+L.ybase-F+1;_--;)L.lines.splice(j-1,1),L.lines.splice(D,0,L.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(L.y,L.scrollBottom),L.x=0}},O.prototype.deleteLines=function(S){this._restrictCursor();var _=S.params[0]||1,L=this._bufferService.buffer;if(!(L.y>L.scrollBottom||L.y<L.scrollTop)){var D,F=L.ybase+L.y;for(D=this._bufferService.rows-1-L.scrollBottom,D=this._bufferService.rows-1+L.ybase-D;_--;)L.lines.splice(F,1),L.lines.splice(D,0,L.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(L.y,L.scrollBottom),L.x=0}},O.prototype.insertChars=function(S){this._restrictCursor();var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);_&&(_.insertCells(this._bufferService.buffer.x,S.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},O.prototype.deleteChars=function(S){this._restrictCursor();var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);_&&(_.deleteCells(this._bufferService.buffer.x,S.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},O.prototype.scrollUp=function(S){for(var _=S.params[0]||1,L=this._bufferService.buffer;_--;)L.lines.splice(L.ybase+L.scrollTop,1),L.lines.splice(L.ybase+L.scrollBottom,0,L.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(L.scrollTop,L.scrollBottom)},O.prototype.scrollDown=function(S){for(var _=S.params[0]||1,L=this._bufferService.buffer;_--;)L.lines.splice(L.ybase+L.scrollBottom,1),L.lines.splice(L.ybase+L.scrollTop,0,L.getBlankLine(r.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(L.scrollTop,L.scrollBottom)},O.prototype.scrollLeft=function(S){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var L=S.params[0]||1,D=_.scrollTop;D<=_.scrollBottom;++D){var F=_.lines.get(_.ybase+D);F.deleteCells(0,L,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},O.prototype.scrollRight=function(S){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var L=S.params[0]||1,D=_.scrollTop;D<=_.scrollBottom;++D){var F=_.lines.get(_.ybase+D);F.insertCells(0,L,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},O.prototype.insertColumns=function(S){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var L=S.params[0]||1,D=_.scrollTop;D<=_.scrollBottom;++D){var F=this._bufferService.buffer.lines.get(_.ybase+D);F.insertCells(_.x,L,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},O.prototype.deleteColumns=function(S){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var L=S.params[0]||1,D=_.scrollTop;D<=_.scrollBottom;++D){var F=_.lines.get(_.ybase+D);F.deleteCells(_.x,L,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},O.prototype.eraseChars=function(S){this._restrictCursor();var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);_&&(_.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))},O.prototype.repeatPrecedingCharacter=function(S){if(this._parser.precedingCodepoint){for(var _=S.params[0]||1,L=new Uint32Array(_),D=0;D<_;++D)L[D]=this._parser.precedingCodepoint;this.print(L,0,L.length)}},O.prototype.sendDeviceAttributesPrimary=function(S){S.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(d.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(d.C0.ESC+"[?6c"))},O.prototype.sendDeviceAttributesSecondary=function(S){S.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(d.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(d.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(S.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(d.C0.ESC+"[>83;40003;0c"))},O.prototype._is=function(S){return(this._optionsService.options.termName+"").indexOf(S)===0},O.prototype.setMode=function(S){for(var _=0;_<S.length;_++)switch(S.params[_]){case 4:this._coreService.modes.insertMode=!0}},O.prototype.setModePrivate=function(S){for(var _=0;_<S.length;_++)switch(S.params[_]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,l.DEFAULT_CHARSET),this._charsetService.setgCharset(1,l.DEFAULT_CHARSET),this._charsetService.setgCharset(2,l.DEFAULT_CHARSET),this._charsetService.setgCharset(3,l.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}},O.prototype.resetMode=function(S){for(var _=0;_<S.length;_++)switch(S.params[_]){case 4:this._coreService.modes.insertMode=!1}},O.prototype.resetModePrivate=function(S){for(var _=0;_<S.length;_++)switch(S.params[_]){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[_]===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}},O.prototype._updateAttrColor=function(S,_,L,D,F){return _===2?(S|=50331648,S&=-16777216,S|=u.AttributeData.fromColorRGB([L,D,F])):_===5&&(S&=-50331904,S|=33554432|255&L),S},O.prototype._extractColor=function(S,_,L){var D=[0,0,-1,0,0,0],F=0,j=0;do{if(D[j+F]=S.params[_+j],S.hasSubParams(_+j)){var k=S.getSubParams(_+j),K=0;do D[1]===5&&(F=1),D[j+K+1+F]=k[K];while(++K<k.length&&K+j+1+F<D.length);break}if(D[1]===5&&j+F>=2||D[1]===2&&j+F>=5)break;D[1]&&(F=1)}while(++j+_<S.length&&j+F<D.length);for(K=2;K<D.length;++K)D[K]===-1&&(D[K]=0);switch(D[0]){case 38:L.fg=this._updateAttrColor(L.fg,D[1],D[3],D[4],D[5]);break;case 48:L.bg=this._updateAttrColor(L.bg,D[1],D[3],D[4],D[5]);break;case 58:L.extended=L.extended.clone(),L.extended.underlineColor=this._updateAttrColor(L.extended.underlineColor,D[1],D[3],D[4],D[5])}return j},O.prototype._processUnderline=function(S,_){_.extended=_.extended.clone(),(!~S||S>5)&&(S=1),_.extended.underlineStyle=S,_.fg|=268435456,S===0&&(_.fg&=-268435457),_.updateExtended()},O.prototype.charAttributes=function(S){if(S.length===1&&S.params[0]===0)return this._curAttrData.fg=r.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=r.DEFAULT_ATTR_DATA.bg);for(var _,L=S.length,D=this._curAttrData,F=0;F<L;F++)(_=S.params[F])>=30&&_<=37?(D.fg&=-50331904,D.fg|=16777216|_-30):_>=40&&_<=47?(D.bg&=-50331904,D.bg|=16777216|_-40):_>=90&&_<=97?(D.fg&=-50331904,D.fg|=16777224|_-90):_>=100&&_<=107?(D.bg&=-50331904,D.bg|=16777224|_-100):_===0?(D.fg=r.DEFAULT_ATTR_DATA.fg,D.bg=r.DEFAULT_ATTR_DATA.bg):_===1?D.fg|=134217728:_===3?D.bg|=67108864:_===4?(D.fg|=268435456,this._processUnderline(S.hasSubParams(F)?S.getSubParams(F)[0]:1,D)):_===5?D.fg|=536870912:_===7?D.fg|=67108864:_===8?D.fg|=1073741824:_===2?D.bg|=134217728:_===21?this._processUnderline(2,D):_===22?(D.fg&=-134217729,D.bg&=-134217729):_===23?D.bg&=-67108865:_===24?D.fg&=-268435457:_===25?D.fg&=-536870913:_===27?D.fg&=-67108865:_===28?D.fg&=-1073741825:_===39?(D.fg&=-67108864,D.fg|=16777215&r.DEFAULT_ATTR_DATA.fg):_===49?(D.bg&=-67108864,D.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):_===38||_===48||_===58?F+=this._extractColor(S,F,D):_===59?(D.extended=D.extended.clone(),D.extended.underlineColor=-1,D.updateExtended()):_===100?(D.fg&=-67108864,D.fg|=16777215&r.DEFAULT_ATTR_DATA.fg,D.bg&=-67108864,D.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",_)},O.prototype.deviceStatus=function(S){switch(S.params[0]){case 5:this._coreService.triggerDataEvent(d.C0.ESC+"[0n");break;case 6:var _=this._bufferService.buffer.y+1,L=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(d.C0.ESC+"["+_+";"+L+"R")}},O.prototype.deviceStatusPrivate=function(S){switch(S.params[0]){case 6:var _=this._bufferService.buffer.y+1,L=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(d.C0.ESC+"[?"+_+";"+L+"R")}},O.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=r.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},O.prototype.setCursorStyle=function(S){var _=S.params[0]||1;switch(_){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 L=_%2==1;this._optionsService.options.cursorBlink=L},O.prototype.setScrollRegion=function(S){var _,L=S.params[0]||1;(S.length<2||(_=S.params[1])>this._bufferService.rows||_===0)&&(_=this._bufferService.rows),_>L&&(this._bufferService.buffer.scrollTop=L-1,this._bufferService.buffer.scrollBottom=_-1,this._setCursor(0,0))},O.prototype.windowOptions=function(S){if(w(S.params[0],this._optionsService.options.windowOptions)){var _=S.length>1?S.params[1]:0;switch(S.params[0]){case 14:_!==2&&this._onRequestWindowsOptionsReport.fire(f.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(f.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(d.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:_!==0&&_!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),_!==0&&_!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:_!==0&&_!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),_!==0&&_!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},O.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},O.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()},O.prototype.setTitle=function(S){this._windowTitle=S,this._onTitleChange.fire(S)},O.prototype.setIconName=function(S){this._iconName=S},O.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},O.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},O.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},O.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,l.DEFAULT_CHARSET)},O.prototype.selectCharset=function(S){S.length===2?S[0]!=="/"&&this._charsetService.setgCharset(A[S[0]],l.CHARSETS[S[1]]||l.DEFAULT_CHARSET):this.selectDefaultCharset()},O.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()},O.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},O.prototype.reverseIndex=function(){this._restrictCursor();var S=this._bufferService.buffer;if(S.y===S.scrollTop){var _=S.scrollBottom-S.scrollTop;S.lines.shiftElements(S.ybase+S.y,_,1),S.lines.set(S.ybase+S.y,S.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}else S.y--,this._restrictCursor()},O.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},O.prototype.reset=function(){this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone()},O.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},O.prototype.setgLevel=function(S){this._charsetService.setgLevel(S)},O.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 _=this._bufferService.buffer;this._setCursor(0,0);for(var L=0;L<this._bufferService.rows;++L){var D=_.ybase+_.y+L,F=_.lines.get(D);F&&(F.fill(S),F.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},O}(t.Disposable);m.InputHandler=C},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DEFAULT_CHARSET=m.CHARSETS=void 0,m.CHARSETS={},m.DEFAULT_CHARSET=m.CHARSETS.B,m.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"},m.CHARSETS.A={"#":"\xA3"},m.CHARSETS.B=void 0,m.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},m.CHARSETS.C=m.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},m.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},m.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},m.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},m.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},m.CHARSETS.E=m.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},m.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},m.CHARSETS.H=m.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},m.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Params=void 0;var p=function(){function v(f,d){if(f===void 0&&(f=32),d===void 0&&(d=32),this.maxLength=f,this.maxSubParamsLength=d,d>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(f),this.length=0,this._subParams=new Int32Array(d),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(f),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return v.fromArray=function(f){var d=new v;if(!f.length)return d;for(var l=f[0]instanceof Array?1:0;l<f.length;++l){var n=f[l];if(n instanceof Array)for(var t=0;t<n.length;++t)d.addSubParam(n[t]);else d.addParam(n)}return d},v.prototype.clone=function(){var f=new v(this.maxLength,this.maxSubParamsLength);return f.params.set(this.params),f.length=this.length,f._subParams.set(this._subParams),f._subParamsLength=this._subParamsLength,f._subParamsIdx.set(this._subParamsIdx),f._rejectDigits=this._rejectDigits,f._rejectSubDigits=this._rejectSubDigits,f._digitIsSub=this._digitIsSub,f},v.prototype.toArray=function(){for(var f=[],d=0;d<this.length;++d){f.push(this.params[d]);var l=this._subParamsIdx[d]>>8,n=255&this._subParamsIdx[d];n-l>0&&f.push(Array.prototype.slice.call(this._subParams,l,n))}return f},v.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},v.prototype.addParam=function(f){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(f<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=f>2147483647?2147483647:f}},v.prototype.addSubParam=function(f){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(f<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=f>2147483647?2147483647:f,this._subParamsIdx[this.length-1]++}},v.prototype.hasSubParams=function(f){return(255&this._subParamsIdx[f])-(this._subParamsIdx[f]>>8)>0},v.prototype.getSubParams=function(f){var d=this._subParamsIdx[f]>>8,l=255&this._subParamsIdx[f];return l-d>0?this._subParams.subarray(d,l):null},v.prototype.getSubParamsAll=function(){for(var f={},d=0;d<this.length;++d){var l=this._subParamsIdx[d]>>8,n=255&this._subParamsIdx[d];n-l>0&&(f[d]=this._subParams.slice(l,n))}return f},v.prototype.addDigit=function(f){var d;if(!(this._rejectDigits||!(d=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var l=this._digitIsSub?this._subParams:this.params,n=l[d-1];l[d-1]=~n?Math.min(10*n+f,2147483647):f}},v}();m.Params=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.OscHandler=m.OscParser=void 0;var p=E(23),v=E(8),f=function(){function l(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return l.prototype.addHandler=function(n,t){this._handlers[n]===void 0&&(this._handlers[n]=[]);var a=this._handlers[n];return a.push(t),{dispose:function(){var r=a.indexOf(t);r!==-1&&a.splice(r,1)}}},l.prototype.setHandler=function(n,t){this._handlers[n]=[t]},l.prototype.clearHandler=function(n){this._handlers[n]&&delete this._handlers[n]},l.prototype.setHandlerFallback=function(n){this._handlerFb=n},l.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},l.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},l.prototype._start=function(){var n=this._handlers[this._id];if(n)for(var t=n.length-1;t>=0;t--)n[t].start();else this._handlerFb(this._id,"START")},l.prototype._put=function(n,t,a){var s=this._handlers[this._id];if(s)for(var r=s.length-1;r>=0;r--)s[r].put(n,t,a);else this._handlerFb(this._id,"PUT",v.utf32ToString(n,t,a))},l.prototype._end=function(n){var t=this._handlers[this._id];if(t){for(var a=t.length-1;a>=0&&t[a].end(n)===!1;a--);for(a--;a>=0;a--)t[a].end(!1)}else this._handlerFb(this._id,"END",n)},l.prototype.start=function(){this.reset(),this._id=-1,this._state=1},l.prototype.put=function(n,t,a){if(this._state!==3){if(this._state===1)for(;t<a;){var s=n[t++];if(s===59){this._state=2,this._start();break}if(s<48||57<s)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+s-48}this._state===2&&a-t>0&&this._put(n,t,a)}},l.prototype.end=function(n){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(n)),this._id=-1,this._state=0)},l}();m.OscParser=f;var d=function(){function l(n){this._handler=n,this._data="",this._hitLimit=!1}return l.prototype.start=function(){this._data="",this._hitLimit=!1},l.prototype.put=function(n,t,a){this._hitLimit||(this._data+=v.utf32ToString(n,t,a),this._data.length>p.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},l.prototype.end=function(n){var t;return this._hitLimit?t=!1:n&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},l}();m.OscHandler=d},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PAYLOAD_LIMIT=void 0,m.PAYLOAD_LIMIT=1e7},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DcsHandler=m.DcsParser=void 0;var p=E(8),v=E(21),f=E(23),d=[],l=function(){function t(){this._handlers=Object.create(null),this._active=d,this._ident=0,this._handlerFb=function(){}}return t.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},t.prototype.addHandler=function(a,s){this._handlers[a]===void 0&&(this._handlers[a]=[]);var r=this._handlers[a];return r.push(s),{dispose:function(){var e=r.indexOf(s);e!==-1&&r.splice(e,1)}}},t.prototype.setHandler=function(a,s){this._handlers[a]=[s]},t.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},t.prototype.setHandlerFallback=function(a){this._handlerFb=a},t.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=d,this._ident=0},t.prototype.hook=function(a,s){if(this.reset(),this._ident=a,this._active=this._handlers[a]||d,this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].hook(s);else this._handlerFb(this._ident,"HOOK",s)},t.prototype.put=function(a,s,r){if(this._active.length)for(var c=this._active.length-1;c>=0;c--)this._active[c].put(a,s,r);else this._handlerFb(this._ident,"PUT",p.utf32ToString(a,s,r))},t.prototype.unhook=function(a){if(this._active.length){for(var s=this._active.length-1;s>=0&&this._active[s].unhook(a)===!1;s--);for(s--;s>=0;s--)this._active[s].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",a);this._active=d,this._ident=0},t}();m.DcsParser=l;var n=function(){function t(a){this._handler=a,this._data="",this._hitLimit=!1}return t.prototype.hook=function(a){this._params=a.clone(),this._data="",this._hitLimit=!1},t.prototype.put=function(a,s,r){this._hitLimit||(this._data+=p.utf32ToString(a,s,r),this._data.length>f.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},t.prototype.unhook=function(a){var s;return this._hitLimit?s=!1:a&&(s=this._handler(this._data,this._params||new v.Params)),this._params=void 0,this._data="",this._hitLimit=!1,s},t}();m.DcsHandler=n},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.removeTerminalFromCache=m.acquireCharAtlas=void 0;var p=E(26),v=E(43),f=[];m.acquireCharAtlas=function(d,l,n,t,a){for(var s=p.generateConfig(t,a,d,n),r=0;r<f.length;r++){var c=(e=f[r]).ownedBy.indexOf(l);if(c>=0){if(p.configEquals(e.config,s))return e.atlas;e.ownedBy.length===1?(e.atlas.dispose(),f.splice(r,1)):e.ownedBy.splice(c,1);break}}for(r=0;r<f.length;r++){var e=f[r];if(p.configEquals(e.config,s))return e.ownedBy.push(l),e.atlas}var o={atlas:new v.DynamicCharAtlas(document,s),config:s,ownedBy:[l]};return f.push(o),o.atlas},m.removeTerminalFromCache=function(d){for(var l=0;l<f.length;l++){var n=f[l].ownedBy.indexOf(d);if(n!==-1){f[l].ownedBy.length===1?(f[l].atlas.dispose(),f.splice(l,1)):f[l].ownedBy.splice(n,1);break}}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.is256Color=m.configEquals=m.generateConfig=void 0;var p=E(3);m.generateConfig=function(v,f,d,l){var n={foreground:l.foreground,background:l.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:l.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:v,scaledCharHeight:f,fontFamily:d.fontFamily,fontSize:d.fontSize,fontWeight:d.fontWeight,fontWeightBold:d.fontWeightBold,allowTransparency:d.allowTransparency,colors:n}},m.configEquals=function(v,f){for(var d=0;d<v.colors.ansi.length;d++)if(v.colors.ansi[d].rgba!==f.colors.ansi[d].rgba)return!1;return v.devicePixelRatio===f.devicePixelRatio&&v.fontFamily===f.fontFamily&&v.fontSize===f.fontSize&&v.fontWeight===f.fontWeight&&v.fontWeightBold===f.fontWeightBold&&v.allowTransparency===f.allowTransparency&&v.scaledCharWidth===f.scaledCharWidth&&v.scaledCharHeight===f.scaledCharHeight&&v.colors.foreground===f.colors.foreground&&v.colors.background===f.colors.background},m.is256Color=function(v){return v<p.DEFAULT_COLOR}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ColorManager=m.DEFAULT_ANSI_COLORS=void 0;var p=E(10),v=E(45),f=p.css.toColor("#ffffff"),d=p.css.toColor("#000000"),l=p.css.toColor("#ffffff"),n=p.css.toColor("#000000"),t={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};m.DEFAULT_ANSI_COLORS=function(){for(var s=[p.css.toColor("#2e3436"),p.css.toColor("#cc0000"),p.css.toColor("#4e9a06"),p.css.toColor("#c4a000"),p.css.toColor("#3465a4"),p.css.toColor("#75507b"),p.css.toColor("#06989a"),p.css.toColor("#d3d7cf"),p.css.toColor("#555753"),p.css.toColor("#ef2929"),p.css.toColor("#8ae234"),p.css.toColor("#fce94f"),p.css.toColor("#729fcf"),p.css.toColor("#ad7fa8"),p.css.toColor("#34e2e2"),p.css.toColor("#eeeeec")],r=[0,95,135,175,215,255],c=0;c<216;c++){var e=r[c/36%6|0],o=r[c/6%6|0],u=r[c%6];s.push({css:p.channels.toCss(e,o,u),rgba:p.channels.toRgba(e,o,u)})}for(c=0;c<24;c++){var h=8+10*c;s.push({css:p.channels.toCss(h,h,h),rgba:p.channels.toRgba(h,h,h)})}return s}();var a=function(){function s(r,c){this.allowTransparency=c;var e=r.createElement("canvas");e.width=1,e.height=1;var o=e.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 v.ColorContrastCache,this.colors={foreground:f,background:d,cursor:l,cursorAccent:n,selectionTransparent:t,selectionOpaque:p.color.blend(d,t),ansi:m.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return s.prototype.onOptionsChange=function(r){r==="minimumContrastRatio"&&this._contrastCache.clear()},s.prototype.setTheme=function(r){(r===void 0&&(r={}),this.colors.foreground=this._parseColor(r.foreground,f),this.colors.background=this._parseColor(r.background,d),this.colors.cursor=this._parseColor(r.cursor,l,!0),this.colors.cursorAccent=this._parseColor(r.cursorAccent,n,!0),this.colors.selectionTransparent=this._parseColor(r.selection,t,!0),this.colors.selectionOpaque=p.color.blend(this.colors.background,this.colors.selectionTransparent),p.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=p.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(r.black,m.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(r.red,m.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(r.green,m.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(r.yellow,m.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(r.blue,m.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(r.magenta,m.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(r.cyan,m.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(r.white,m.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(r.brightBlack,m.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(r.brightRed,m.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(r.brightGreen,m.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(r.brightYellow,m.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(r.brightBlue,m.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(r.brightMagenta,m.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(r.brightCyan,m.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(r.brightWhite,m.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},s.prototype._parseColor=function(r,c,e){if(e===void 0&&(e=this.allowTransparency),r===void 0)return c;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=r,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+r+" is invalid using fallback "+c.css),c;this._ctx.fillRect(0,0,1,1);var o=this._ctx.getImageData(0,0,1,1).data;if(o[3]!==255){if(!e)return console.warn("Color: "+r+" is using transparency, but allowTransparency is false. Using fallback "+c.css+"."),c;var u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(C){return Number(C)}),h=u[0],g=u[1],A=u[2],w=u[3],x=Math.round(255*w);return{rgba:p.channels.toRgba(h,g,A,x),css:r}}return{css:this._ctx.fillStyle,rgba:p.channels.toRgba(o[0],o[1],o[2],o[3])}},s}();m.ColorManager=a},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throwIfFalsy=void 0,m.throwIfFalsy=function(p){if(!p)throw new Error("value must not be falsy");return p}},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(s,r){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,e){c.__proto__=e}||function(c,e){for(var o in e)e.hasOwnProperty(o)&&(c[o]=e[o])})(s,r)},function(a,s){function r(){this.constructor=a}p(a,s),a.prototype=s===null?Object.create(s):(r.prototype=s.prototype,new r)});Object.defineProperty(m,"__esModule",{value:!0}),m.CharacterJoinerRegistry=m.JoinedCellData=void 0;var f=E(6),d=E(3),l=E(4),n=function(a){function s(r,c,e){var o=a.call(this)||this;return o.content=0,o.combinedData="",o.fg=r.fg,o.bg=r.bg,o.combinedData=c,o._width=e,o}return v(s,a),s.prototype.isCombined=function(){return 2097152},s.prototype.getWidth=function(){return this._width},s.prototype.getChars=function(){return this.combinedData},s.prototype.getCode=function(){return 2097151},s.prototype.setFromCharData=function(r){throw new Error("not implemented")},s.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},s}(f.AttributeData);m.JoinedCellData=n;var t=function(){function a(s){this._bufferService=s,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new l.CellData}return a.prototype.registerCharacterJoiner=function(s){var r={id:this._nextCharacterJoinerId++,handler:s};return this._characterJoiners.push(r),r.id},a.prototype.deregisterCharacterJoiner=function(s){for(var r=0;r<this._characterJoiners.length;r++)if(this._characterJoiners[r].id===s)return this._characterJoiners.splice(r,1),!0;return!1},a.prototype.getJoinedCharacters=function(s){if(this._characterJoiners.length===0)return[];var r=this._bufferService.buffer.lines.get(s);if(!r||r.length===0)return[];for(var c=[],e=r.translateToString(!0),o=0,u=0,h=0,g=r.getFg(0),A=r.getBg(0),w=0;w<r.getTrimmedLength();w++)if(r.loadCell(w,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==g||this._workCell.bg!==A){if(w-o>1)for(var x=this._getJoinedRanges(e,h,u,r,o),C=0;C<x.length;C++)c.push(x[C]);o=w,h=u,g=this._workCell.fg,A=this._workCell.bg}u+=this._workCell.getChars().length||d.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-o>1)for(x=this._getJoinedRanges(e,h,u,r,o),C=0;C<x.length;C++)c.push(x[C]);return c},a.prototype._getJoinedRanges=function(s,r,c,e,o){for(var u=s.substring(r,c),h=this._characterJoiners[0].handler(u),g=1;g<this._characterJoiners.length;g++)for(var A=this._characterJoiners[g].handler(u),w=0;w<A.length;w++)a._mergeRanges(h,A[w]);return this._stringRangesToCellRanges(h,e,o),h},a.prototype._stringRangesToCellRanges=function(s,r,c){var e=0,o=!1,u=0,h=s[e];if(h){for(var g=c;g<this._bufferService.cols;g++){var A=r.getWidth(g),w=r.getString(g).length||d.WHITESPACE_CELL_CHAR.length;if(A!==0){if(!o&&h[0]<=u&&(h[0]=g,o=!0),h[1]<=u){if(h[1]=g,!(h=s[++e]))break;h[0]<=u?(h[0]=g,o=!0):o=!1}u+=w}}h&&(h[1]=this._bufferService.cols)}},a._mergeRanges=function(s,r){for(var c=!1,e=0;e<s.length;e++){var o=s[e];if(c){if(r[1]<=o[0])return s[e-1][1]=r[1],s;if(r[1]<=o[1])return s[e-1][1]=Math.max(r[1],o[1]),s.splice(e,1),s;s.splice(e,1),e--}else{if(r[1]<=o[0])return s.splice(e,0,r),s;if(r[1]<=o[1])return o[0]=Math.min(r[0],o[0]),s;r[0]<o[1]&&(o[0]=Math.min(r[0],o[0]),c=!0)}}return c?s[s.length-1][1]=r[1]:s.push(r),s},a}();m.CharacterJoinerRegistry=t},function(y,m,E){"use strict";function p(v,f){var d=f.getBoundingClientRect();return[v.clientX-d.left,v.clientY-d.top]}Object.defineProperty(m,"__esModule",{value:!0}),m.getRawByteCoords=m.getCoords=m.getCoordsRelativeToElement=void 0,m.getCoordsRelativeToElement=p,m.getCoords=function(v,f,d,l,n,t,a,s){if(n){var r=p(v,f);if(r)return r[0]=Math.ceil((r[0]+(s?t/2:0))/t),r[1]=Math.ceil(r[1]/a),r[0]=Math.min(Math.max(r[0],1),d+(s?1:0)),r[1]=Math.min(Math.max(r[1],1),l),r}},m.getRawByteCoords=function(v){if(v)return{x:v[0]+32,y:v[1]+32}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.RenderDebouncer=void 0;var p=function(){function v(f){this._renderCallback=f}return v.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},v.prototype.refresh=function(f,d,l){var n=this;this._rowCount=l,f=f!==void 0?f:0,d=d!==void 0?d:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,f):f,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,d):d,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return n._innerRefresh()}))},v.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var f=Math.max(this._rowStart,0),d=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(f,d)}},v}();m.RenderDebouncer=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(l,n){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var s in a)a.hasOwnProperty(s)&&(t[s]=a[s])})(l,n)},function(d,l){function n(){this.constructor=d}p(d,l),d.prototype=l===null?Object.create(l):(n.prototype=l.prototype,new n)});Object.defineProperty(m,"__esModule",{value:!0}),m.ScreenDprMonitor=void 0;var f=function(d){function l(){var n=d!==null&&d.apply(this,arguments)||this;return n._currentDevicePixelRatio=window.devicePixelRatio,n}return v(l,d),l.prototype.setListener=function(n){var t=this;this._listener&&this.clearListener(),this._listener=n,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},l.prototype.dispose=function(){d.prototype.dispose.call(this),this.clearListener()},l.prototype._updateDpr=function(){var n;this._outerListener&&((n=this._resolutionMediaMatchList)===null||n===void 0||n.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},l.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)},l}(E(2).Disposable);m.ScreenDprMonitor=f},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.clone=void 0,m.clone=function p(v,f){if(f===void 0&&(f=5),typeof v!="object")return v;var d=Array.isArray(v)?[]:{};for(var l in v)d[l]=f<=1?v[l]:v[l]?p(v[l],f-1):v[l];return d}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Terminal=void 0;var p=E(4),v=E(35),f=E(18),d=E(0),l=E(83),n=function(){function e(o){this._core=new v.Terminal(o),this._addonManager=new l.AddonManager}return e.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(e.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new r(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new c(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this._checkProposedApi(),new a(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),e.prototype.blur=function(){this._core.blur()},e.prototype.focus=function(){this._core.focus()},e.prototype.resize=function(o,u){this._verifyIntegers(o,u),this._core.resize(o,u)},e.prototype.open=function(o){this._core.open(o)},e.prototype.attachCustomKeyEventHandler=function(o){this._core.attachCustomKeyEventHandler(o)},e.prototype.registerLinkMatcher=function(o,u,h){return this._checkProposedApi(),this._core.registerLinkMatcher(o,u,h)},e.prototype.deregisterLinkMatcher=function(o){this._checkProposedApi(),this._core.deregisterLinkMatcher(o)},e.prototype.registerLinkProvider=function(o){return this._checkProposedApi(),this._core.registerLinkProvider(o)},e.prototype.registerCharacterJoiner=function(o){return this._checkProposedApi(),this._core.registerCharacterJoiner(o)},e.prototype.deregisterCharacterJoiner=function(o){this._checkProposedApi(),this._core.deregisterCharacterJoiner(o)},e.prototype.registerMarker=function(o){return this._checkProposedApi(),this._verifyIntegers(o),this._core.addMarker(o)},e.prototype.addMarker=function(o){return this.registerMarker(o)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(o,u,h){this._verifyIntegers(o,u,h),this._core.select(o,u,h)},e.prototype.getSelection=function(){return this._core.getSelection()},e.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},e.prototype.clearSelection=function(){this._core.clearSelection()},e.prototype.selectAll=function(){this._core.selectAll()},e.prototype.selectLines=function(o,u){this._verifyIntegers(o,u),this._core.selectLines(o,u)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(o){this._verifyIntegers(o),this._core.scrollLines(o)},e.prototype.scrollPages=function(o){this._verifyIntegers(o),this._core.scrollPages(o)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(o){this._verifyIntegers(o),this._core.scrollToLine(o)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(o,u){this._core.write(o,u)},e.prototype.writeUtf8=function(o,u){this._core.write(o,u)},e.prototype.writeln=function(o,u){this._core.write(o),this._core.write(`\r
|
|
|
`,u)},e.prototype.paste=function(o){this._core.paste(o)},e.prototype.getOption=function(o){return this._core.optionsService.getOption(o)},e.prototype.setOption=function(o,u){this._core.optionsService.setOption(o,u)},e.prototype.refresh=function(o,u){this._verifyIntegers(o,u),this._core.refresh(o,u)},e.prototype.reset=function(){this._core.reset()},e.prototype.loadAddon=function(o){return this._addonManager.loadAddon(this,o)},Object.defineProperty(e,"strings",{get:function(){return f},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];for(var h=0,g=o;h<g.length;h++){var A=g[h];if(A===1/0||isNaN(A)||A%1!=0)throw new Error("This API only accepts integers")}},e}();m.Terminal=n;var t=function(){function e(o,u){this._buffer=o,this.type=u}return e.prototype.init=function(o){return this._buffer=o,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(o){var u=this._buffer.lines.get(o);if(u)return new s(u)},e.prototype.getNullCell=function(){return new p.CellData},e}(),a=function(){function e(o){var u=this;this._buffers=o,this._onBufferChange=new d.EventEmitter,this._normal=new t(this._buffers.normal,"normal"),this._alternate=new t(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return u._onBufferChange.fire(u.active)})}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),e}(),s=function(){function e(o){this._line=o}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(o,u){if(!(o<0||o>=this._line.length))return u?(this._line.loadCell(o,u),u):this._line.loadCell(o,new p.CellData)},e.prototype.translateToString=function(o,u,h){return this._line.translateToString(o,u,h)},e}(),r=function(){function e(o){this._core=o}return e.prototype.registerCsiHandler=function(o,u){return this._core.addCsiHandler(o,function(h){return u(h.toArray())})},e.prototype.addCsiHandler=function(o,u){return this.registerCsiHandler(o,u)},e.prototype.registerDcsHandler=function(o,u){return this._core.addDcsHandler(o,function(h,g){return u(h,g.toArray())})},e.prototype.addDcsHandler=function(o,u){return this.registerDcsHandler(o,u)},e.prototype.registerEscHandler=function(o,u){return this._core.addEscHandler(o,u)},e.prototype.addEscHandler=function(o,u){return this.registerEscHandler(o,u)},e.prototype.registerOscHandler=function(o,u){return this._core.addOscHandler(o,u)},e.prototype.addOscHandler=function(o,u){return this.registerOscHandler(o,u)},e}(),c=function(){function e(o){this._core=o}return e.prototype.register=function(o){this._core.unicodeService.register(o)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(u){this._core.unicodeService.activeVersion=u},enumerable:!1,configurable:!0}),e}()},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(B,V){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,X){z.__proto__=X}||function(z,X){for(var W in X)X.hasOwnProperty(W)&&(z[W]=X[W])})(B,V)},function(Z,B){function V(){this.constructor=Z}p(Z,B),Z.prototype=B===null?Object.create(B):(V.prototype=B.prototype,new V)});Object.defineProperty(m,"__esModule",{value:!0}),m.Terminal=void 0;var f=E(36),d=E(37),l=E(38),n=E(12),t=E(19),a=E(40),s=E(50),r=E(51),c=E(11),e=E(7),o=E(18),u=E(54),h=E(55),g=E(56),A=E(57),w=E(59),x=E(0),C=E(16),T=E(27),O=E(60),S=E(5),_=E(61),L=E(62),D=E(63),F=E(64),j=E(65),k=typeof window!="undefined"?window.document:null,K=function(Z){function B(V){V===void 0&&(V={});var z=Z.call(this,V)||this;return z.browser=c,z._keyDownHandled=!1,z._onCursorMove=new x.EventEmitter,z._onKey=new x.EventEmitter,z._onRender=new x.EventEmitter,z._onSelectionChange=new x.EventEmitter,z._onTitleChange=new x.EventEmitter,z._onFocus=new x.EventEmitter,z._onBlur=new x.EventEmitter,z._onA11yCharEmitter=new x.EventEmitter,z._onA11yTabEmitter=new x.EventEmitter,z._setup(),z.linkifier=z._instantiationService.createInstance(s.Linkifier),z.linkifier2=z.register(z._instantiationService.createInstance(D.Linkifier2)),z.register(z._inputHandler.onRequestBell(function(){return z.bell()})),z.register(z._inputHandler.onRequestRefreshRows(function(X,W){return z.refresh(X,W)})),z.register(z._inputHandler.onRequestReset(function(){return z.reset()})),z.register(z._inputHandler.onRequestScroll(function(X,W){return z.scroll(X,W||void 0)})),z.register(z._inputHandler.onRequestWindowsOptionsReport(function(X){return z._reportWindowsOptions(X)})),z.register(x.forwardEvent(z._inputHandler.onCursorMove,z._onCursorMove)),z.register(x.forwardEvent(z._inputHandler.onTitleChange,z._onTitleChange)),z.register(x.forwardEvent(z._inputHandler.onA11yChar,z._onA11yCharEmitter)),z.register(x.forwardEvent(z._inputHandler.onA11yTab,z._onA11yTabEmitter)),z.register(z._bufferService.onResize(function(X){return z._afterResize(X.cols,X.rows)})),z}return v(B,Z),Object.defineProperty(B.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),B.prototype.dispose=function(){var V,z,X;this._isDisposed||(Z.prototype.dispose.call(this),(V=this._renderService)===null||V===void 0||V.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(X=(z=this.element)===null||z===void 0?void 0:z.parentNode)===null||X===void 0||X.removeChild(this.element))},B.prototype._setup=function(){Z.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(B.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),B.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},B.prototype._updateOptions=function(V){var z,X,W,q;switch(Z.prototype._updateOptions.call(this,V),V){case"fontFamily":case"fontSize":(z=this._renderService)===null||z===void 0||z.clear(),(X=this._charSizeService)===null||X===void 0||X.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 g.AccessibilityManager(this,this._renderService)):((q=this._accessibilityManager)===null||q===void 0||q.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},B.prototype._onTextAreaFocus=function(V){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(n.C0.ESC+"[I"),this.updateCursorStyle(V),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},B.prototype.blur=function(){var V;return(V=this.textarea)===null||V===void 0?void 0:V.blur()},B.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(n.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},B.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var V=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),z=this._bufferService.buffer.y*V,X=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=X+"px",this.textarea.style.top=z+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=V+"px",this.textarea.style.lineHeight=V+"px",this.textarea.style.zIndex="-5"}},B.prototype._initGlobal=function(){var V=this;this._bindKeys(),this.register(e.addDisposableDomListener(this.element,"copy",function(X){V.hasSelection()&&l.copyHandler(X,V._selectionService)}));var z=function(W){return l.handlePasteEvent(W,V.textarea,V._coreService)};this.register(e.addDisposableDomListener(this.textarea,"paste",z)),this.register(e.addDisposableDomListener(this.element,"paste",z)),c.isFirefox?this.register(e.addDisposableDomListener(this.element,"mousedown",function(X){X.button===2&&l.rightClickHandler(X,V.textarea,V.screenElement,V._selectionService,V.options.rightClickSelectsWord)})):this.register(e.addDisposableDomListener(this.element,"contextmenu",function(X){l.rightClickHandler(X,V.textarea,V.screenElement,V._selectionService,V.options.rightClickSelectsWord)})),c.isLinux&&this.register(e.addDisposableDomListener(this.element,"auxclick",function(X){X.button===1&&l.moveTextAreaUnderMouseCursor(X,V.textarea,V.screenElement)}))},B.prototype._bindKeys=function(){var V=this;this.register(e.addDisposableDomListener(this.textarea,"keyup",function(z){return V._keyUp(z)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keydown",function(z){return V._keyDown(z)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keypress",function(z){return V._keyPress(z)},!0)),this.register(e.addDisposableDomListener(this.textarea,"compositionstart",function(){return V._compositionHelper.compositionstart()})),this.register(e.addDisposableDomListener(this.textarea,"compositionupdate",function(z){return V._compositionHelper.compositionupdate(z)})),this.register(e.addDisposableDomListener(this.textarea,"compositionend",function(){return V._compositionHelper.compositionend()})),this.register(this.onRender(function(){return V._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(z){return V._queueLinkification(z.start,z.end)}))},B.prototype.open=function(V){var z=this;if(!V)throw new Error("Terminal requires a parent element.");k.body.contains(V)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=V.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"),V.appendChild(this.element);var X=k.createDocumentFragment();this._viewportElement=k.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),X.appendChild(this._viewportElement),this._viewportScrollArea=k.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=k.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=k.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),X.appendChild(this.screenElement),this.textarea=k.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(e.addDisposableDomListener(this.textarea,"focus",function(Y){return z._onTextAreaFocus(Y)})),this.register(e.addDisposableDomListener(this.textarea,"blur",function(){return z._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var W=this._instantiationService.createInstance(F.CoreBrowserService,this.textarea);this._instantiationService.setService(S.ICoreBrowserService,W),this._charSizeService=this._instantiationService.createInstance(_.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(S.ICharSizeService,this._charSizeService),this._compositionView=k.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(f.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(X),this._theme=this.options.theme||this._theme,this._colorManager=new T.ColorManager(k,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(Y){return z._colorManager.onOptionsChange(Y)})),this._colorManager.setTheme(this._theme);var q=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(O.RenderService,q,this.rows,this.screenElement)),this._instantiationService.setService(S.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(Y){return z._onRender.fire(Y)})),this.onResize(function(Y){return z._renderService.resize(Y.cols,Y.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(S.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(L.MouseService),this._instantiationService.setService(S.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(d.Viewport,function(Y,re){return z.scrollLines(Y,re)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return z.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){z._renderService.onCursorMove(),z._syncTextArea()})),this.register(this.onResize(function(){return z._renderService.onResize(z.cols,z.rows)})),this.register(this.onBlur(function(){return z._renderService.onBlur()})),this.register(this.onFocus(function(){return z._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return z.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(r.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(S.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(Y){return z.scrollLines(Y.amount,Y.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return z._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(Y){return z._renderService.onSelectionChanged(Y.start,Y.end,Y.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(Y){z.textarea.value=Y,z.textarea.focus(),z.textarea.select()})),this.register(this.onScroll(function(){z.viewport.syncScrollArea(),z._selectionService.refresh()})),this.register(e.addDisposableDomListener(this._viewportElement,"scroll",function(){return z._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(h.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return z._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(e.addDisposableDomListener(this.element,"mousedown",function(Y){return z._selectionService.onMouseDown(Y)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},B.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(a.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(A.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},B.prototype._setTheme=function(V){var z,X,W;this._theme=V,(z=this._colorManager)===null||z===void 0||z.setTheme(V),(X=this._renderService)===null||X===void 0||X.setColors(this._colorManager.colors),(W=this.viewport)===null||W===void 0||W.onThemeChange(this._colorManager.colors)},B.prototype.bindMouse=function(){var V=this,z=this,X=this.element;function W(ie){var me,_e,Te=z._mouseService.getRawByteCoords(ie,z.screenElement,z.cols,z.rows);if(!Te)return!1;switch(ie.overrideType||ie.type){case"mousemove":_e=32,ie.buttons===void 0?(me=3,ie.button!==void 0&&(me=ie.button<3?ie.button:3)):me=1&ie.buttons?0:4&ie.buttons?1:2&ie.buttons?2:3;break;case"mouseup":_e=0,me=ie.button<3?ie.button:3;break;case"mousedown":_e=1,me=ie.button<3?ie.button:3;break;case"wheel":ie.deltaY!==0&&(_e=ie.deltaY<0?0:1),me=4;break;default:return!1}return!(_e===void 0||me===void 0||me>4)&&z._coreMouseService.triggerMouseEvent({col:Te.x-33,row:Te.y-33,button:me,action:_e,ctrl:ie.ctrlKey,alt:ie.altKey,shift:ie.shiftKey})}var q={mouseup:null,wheel:null,mousedrag:null,mousemove:null},Y=function(me){return W(me),me.buttons||(V._document.removeEventListener("mouseup",q.mouseup),q.mousedrag&&V._document.removeEventListener("mousemove",q.mousedrag)),V.cancel(me)},re=function(me){return W(me),me.preventDefault(),V.cancel(me)},ne=function(me){me.buttons&&W(me)},we=function(me){me.buttons||W(me)};this.register(this._coreMouseService.onProtocolChange(function(ie){ie?(V.optionsService.options.logLevel==="debug"&&V._logService.debug("Binding to mouse events:",V._coreMouseService.explainEvents(ie)),V.element.classList.add("enable-mouse-events"),V._selectionService.disable()):(V._logService.debug("Unbinding from mouse events."),V.element.classList.remove("enable-mouse-events"),V._selectionService.enable()),8&ie?q.mousemove||(X.addEventListener("mousemove",we),q.mousemove=we):(X.removeEventListener("mousemove",q.mousemove),q.mousemove=null),16&ie?q.wheel||(X.addEventListener("wheel",re,{passive:!1}),q.wheel=re):(X.removeEventListener("wheel",q.wheel),q.wheel=null),2&ie?q.mouseup||(q.mouseup=Y):(V._document.removeEventListener("mouseup",q.mouseup),q.mouseup=null),4&ie?q.mousedrag||(q.mousedrag=ne):(V._document.removeEventListener("mousemove",q.mousedrag),q.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(e.addDisposableDomListener(X,"mousedown",function(ie){if(ie.preventDefault(),V.focus(),V._coreMouseService.areMouseEventsActive&&!V._selectionService.shouldForceSelection(ie))return W(ie),q.mouseup&&V._document.addEventListener("mouseup",q.mouseup),q.mousedrag&&V._document.addEventListener("mousemove",q.mousedrag),V.cancel(ie)})),this.register(e.addDisposableDomListener(X,"wheel",function(ie){if(!q.wheel){if(!V.buffer.hasScrollback){var me=V.viewport.getLinesScrolled(ie);if(me===0)return;for(var _e=n.C0.ESC+(V._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ie.deltaY<0?"A":"B"),Te="",We=0;We<Math.abs(me);We++)Te+=_e;V._coreService.triggerDataEvent(Te,!0)}}},{passive:!0})),this.register(e.addDisposableDomListener(X,"wheel",function(ie){if(!q.wheel)return V.viewport.onWheel(ie)?void 0:V.cancel(ie)},{passive:!1})),this.register(e.addDisposableDomListener(X,"touchstart",function(ie){if(!V._coreMouseService.areMouseEventsActive)return V.viewport.onTouchStart(ie),V.cancel(ie)},{passive:!0})),this.register(e.addDisposableDomListener(X,"touchmove",function(ie){if(!V._coreMouseService.areMouseEventsActive)return V.viewport.onTouchMove(ie)?void 0:V.cancel(ie)},{passive:!1}))},B.prototype.refresh=function(V,z){var X;(X=this._renderService)===null||X===void 0||X.refreshRows(V,z)},B.prototype._queueLinkification=function(V,z){var X;(X=this.linkifier)===null||X===void 0||X.linkifyRows(V,z)},B.prototype.updateCursorStyle=function(V){this._selectionService&&this._selectionService.shouldColumnSelect(V)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},B.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},B.prototype.scrollLines=function(V,z){Z.prototype.scrollLines.call(this,V,z),this.refresh(0,this.rows-1)},B.prototype.paste=function(V){l.paste(V,this.textarea,this._coreService)},B.prototype.attachCustomKeyEventHandler=function(V){this._customKeyEventHandler=V},B.prototype.registerLinkMatcher=function(V,z,X){var W=this.linkifier.registerLinkMatcher(V,z,X);return this.refresh(0,this.rows-1),W},B.prototype.deregisterLinkMatcher=function(V){this.linkifier.deregisterLinkMatcher(V)&&this.refresh(0,this.rows-1)},B.prototype.registerLinkProvider=function(V){return this.linkifier2.registerLinkProvider(V)},B.prototype.registerCharacterJoiner=function(V){var z=this._renderService.registerCharacterJoiner(V);return this.refresh(0,this.rows-1),z},B.prototype.deregisterCharacterJoiner=function(V){this._renderService.deregisterCharacterJoiner(V)&&this.refresh(0,this.rows-1)},Object.defineProperty(B.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),B.prototype.addMarker=function(V){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+V)},B.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},B.prototype.select=function(V,z,X){this._selectionService.setSelection(V,z,X)},B.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},B.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]}},B.prototype.clearSelection=function(){var V;(V=this._selectionService)===null||V===void 0||V.clearSelection()},B.prototype.selectAll=function(){var V;(V=this._selectionService)===null||V===void 0||V.selectAll()},B.prototype.selectLines=function(V,z){var X;(X=this._selectionService)===null||X===void 0||X.selectLines(V,z)},B.prototype._keyDown=function(V){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(V)===!1)return!1;if(!this._compositionHelper.keydown(V))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var z=w.evaluateKeyboardEvent(V,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(V),z.type===3||z.type===2){var X=this.rows-1;return this.scrollLines(z.type===2?-X:X),this.cancel(V,!0)}return z.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,V)||(z.cancel&&this.cancel(V,!0),!z.key||(z.key!==n.C0.ETX&&z.key!==n.C0.CR||(this.textarea.value=""),this._onKey.fire({key:z.key,domEvent:V}),this._showCursor(),this._coreService.triggerDataEvent(z.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(V,!0)))},B.prototype._isThirdLevelShift=function(V,z){var X=V.isMac&&!this.options.macOptionIsMeta&&z.altKey&&!z.ctrlKey&&!z.metaKey||V.isWindows&&z.altKey&&z.ctrlKey&&!z.metaKey;return z.type==="keypress"?X:X&&(!z.keyCode||z.keyCode>47)},B.prototype._keyUp=function(V){this._customKeyEventHandler&&this._customKeyEventHandler(V)===!1||(function(z){return z.keyCode===16||z.keyCode===17||z.keyCode===18}(V)||this.focus(),this.updateCursorStyle(V))},B.prototype._keyPress=function(V){var z;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(V)===!1)return!1;if(this.cancel(V),V.charCode)z=V.charCode;else if(V.which===null||V.which===void 0)z=V.keyCode;else{if(V.which===0||V.charCode===0)return!1;z=V.which}return!(!z||(V.altKey||V.ctrlKey||V.metaKey)&&!this._isThirdLevelShift(this.browser,V))&&(z=String.fromCharCode(z),this._onKey.fire({key:z,domEvent:V}),this._showCursor(),this._coreService.triggerDataEvent(z,!0),!0)},B.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},B.prototype.resize=function(V,z){V!==this.cols||z!==this.rows?Z.prototype.resize.call(this,V,z):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},B.prototype._afterResize=function(V,z){var X,W;(X=this._charSizeService)===null||X===void 0||X.measure(),(W=this.viewport)===null||W===void 0||W.syncScrollArea(!0)},B.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 V=1;V<this.rows;V++)this.buffer.lines.push(this.buffer.getBlankLine(C.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},B.prototype.reset=function(){var V,z;this.options.rows=this.rows,this.options.cols=this.cols;var X=this._customKeyEventHandler;this._setup(),Z.prototype.reset.call(this),(V=this._selectionService)===null||V===void 0||V.reset(),this._customKeyEventHandler=X,this.refresh(0,this.rows-1),(z=this.viewport)===null||z===void 0||z.syncScrollArea()},B.prototype._reportWindowsOptions=function(V){if(this._renderService)switch(V){case t.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var z=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),X=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(n.C0.ESC+"[4;"+X+";"+z+"t");break;case t.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var W=this._renderService.dimensions.scaledCellWidth.toFixed(0),q=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(n.C0.ESC+"[6;"+q+";"+W+"t")}},B.prototype.cancel=function(V,z){if(this.options.cancelEvents||z)return V.preventDefault(),V.stopPropagation(),!1},B.prototype._visualBell=function(){return!1},B.prototype._soundBell=function(){return this.options.bellStyle==="sound"},B}(j.CoreTerminal);m.Terminal=K},function(y,m,E){"use strict";var p=this&&this.__decorate||function(n,t,a,s){var r,c=arguments.length,e=c<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,a):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(n,t,a,s);else for(var o=n.length-1;o>=0;o--)(r=n[o])&&(e=(c<3?r(e):c>3?r(t,a,e):r(t,a))||e);return c>3&&e&&Object.defineProperty(t,a,e),e},v=this&&this.__param||function(n,t){return function(a,s){t(a,s,n)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CompositionHelper=void 0;var f=E(5),d=E(1),l=function(){function n(t,a,s,r,c,e){this._textarea=t,this._compositionView=a,this._bufferService=s,this._optionsService=r,this._charSizeService=c,this._coreService=e,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(n.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),n.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},n.prototype.compositionupdate=function(t){var a=this;this._compositionView.textContent=t.data,this.updateCompositionElements(),setTimeout(function(){a._compositionPosition.end=a._textarea.value.length},0)},n.prototype.compositionend=function(){this._finalizeComposition(!0)},n.prototype.keydown=function(t){if(this._isComposing||this._isSendingComposition){if(t.keyCode===229)return!1;if(t.keyCode===16||t.keyCode===17||t.keyCode===18)return!1;this._finalizeComposition(!1)}return t.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},n.prototype._finalizeComposition=function(t){var a=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,t){var s={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(a._isSendingComposition){a._isSendingComposition=!1;var c=void 0;c=a._isComposing?a._textarea.value.substring(s.start,s.end):a._textarea.value.substring(s.start),a._coreService.triggerDataEvent(c,!0)}},0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},n.prototype._handleAnyTextareaChanges=function(){var t=this,a=this._textarea.value;setTimeout(function(){if(!t._isComposing){var s=t._textarea.value.replace(a,"");s.length>0&&t._coreService.triggerDataEvent(s,!0)}},0)},n.prototype.updateCompositionElements=function(t){var a=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var s=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),r=this._bufferService.buffer.y*s,c=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=c+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=s+"px",this._compositionView.style.lineHeight=s+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._compositionView.getBoundingClientRect();this._textarea.style.left=c+"px",this._textarea.style.top=r+"px",this._textarea.style.width=e.width+"px",this._textarea.style.height=e.height+"px",this._textarea.style.lineHeight=e.height+"px"}t||setTimeout(function(){return a.updateCompositionElements(!0)},0)}},n=p([v(2,d.IBufferService),v(3,d.IOptionsService),v(4,f.ICharSizeService),v(5,d.ICoreService)],n)}();m.CompositionHelper=l},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),f=this&&this.__decorate||function(r,c,e,o){var u,h=arguments.length,g=h<3?c:o===null?o=Object.getOwnPropertyDescriptor(c,e):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,o);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},d=this&&this.__param||function(r,c){return function(e,o){c(e,o,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.Viewport=void 0;var l=E(2),n=E(7),t=E(5),a=E(1),s=function(r){function c(e,o,u,h,g,A,w){var x=r.call(this)||this;return x._scrollLines=e,x._viewportElement=o,x._scrollArea=u,x._bufferService=h,x._optionsService=g,x._charSizeService=A,x._renderService=w,x.scrollBarWidth=0,x._currentRowHeight=0,x._lastRecordedBufferLength=0,x._lastRecordedViewportHeight=0,x._lastRecordedBufferHeight=0,x._lastTouchY=0,x._lastScrollTop=0,x._wheelPartialScroll=0,x._refreshAnimationFrame=null,x._ignoreNextScrollEvent=!1,x.scrollBarWidth=x._viewportElement.offsetWidth-x._scrollArea.offsetWidth||15,x.register(n.addDisposableDomListener(x._viewportElement,"scroll",x._onScroll.bind(x))),setTimeout(function(){return x.syncScrollArea()},0),x}return v(c,r),c.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},c.prototype._refresh=function(e){var o=this;if(e)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return o._innerRefresh()}))},c.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var o=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==o&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=o),this._refreshAnimationFrame=null},c.prototype.syncScrollArea=function(e){if(e===void 0&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var 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(e)}else this._refresh(e)},c.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var o=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(o,!0)}},c.prototype._bubbleScroll=function(e,o){var u=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(o<0&&this._viewportElement.scrollTop!==0||o>0&&u<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},c.prototype.onWheel=function(e){var o=this._getPixelsScrolled(e);return o!==0&&(this._viewportElement.scrollTop+=o,this._bubbleScroll(e,o))},c.prototype._getPixelsScrolled=function(e){if(e.deltaY===0)return 0;var o=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?o*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(o*=this._currentRowHeight*this._bufferService.rows),o},c.prototype.getLinesScrolled=function(e){if(e.deltaY===0)return 0;var o=this._applyScrollModifier(e.deltaY,e);return e.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):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(o*=this._bufferService.rows),o},c.prototype._applyScrollModifier=function(e,o){var u=this._optionsService.options.fastScrollModifier;return u==="alt"&&o.altKey||u==="ctrl"&&o.ctrlKey||u==="shift"&&o.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},c.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},c.prototype.onTouchMove=function(e){var o=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,o!==0&&(this._viewportElement.scrollTop+=o,this._bubbleScroll(e,o))},c=f([d(3,a.IBufferService),d(4,a.IOptionsService),d(5,t.ICharSizeService),d(6,t.IRenderService)],c)}(l.Disposable);m.Viewport=s},function(y,m,E){"use strict";function p(l){return l.replace(/\r?\n/g,"\r")}function v(l,n){return n?"[200~"+l+"[201~":l}function f(l,n,t){l=v(l=p(l),t.decPrivateModes.bracketedPasteMode),t.triggerDataEvent(l,!0),n.value=""}function d(l,n,t){var a=t.getBoundingClientRect(),s=l.clientX-a.left-10,r=l.clientY-a.top-10;n.style.width="20px",n.style.height="20px",n.style.left=s+"px",n.style.top=r+"px",n.style.zIndex="1000",n.focus()}Object.defineProperty(m,"__esModule",{value:!0}),m.rightClickHandler=m.moveTextAreaUnderMouseCursor=m.paste=m.handlePasteEvent=m.copyHandler=m.bracketTextForPaste=m.prepareTextForTerminal=void 0,m.prepareTextForTerminal=p,m.bracketTextForPaste=v,m.copyHandler=function(l,n){l.clipboardData&&l.clipboardData.setData("text/plain",n.selectionText),l.preventDefault()},m.handlePasteEvent=function(l,n,t){l.stopPropagation(),l.clipboardData&&f(l.clipboardData.getData("text/plain"),n,t)},m.paste=f,m.moveTextAreaUnderMouseCursor=d,m.rightClickHandler=function(l,n,t,a,s){d(l,n,t),s&&!a.isClickInSelection(l)&&a.selectWordAtCursor(l),n.value=a.selectionText,n.select()}},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)});Object.defineProperty(m,"__esModule",{value:!0}),m.EscapeSequenceParser=m.VT500_TRANSITION_TABLE=m.TransitionTable=void 0;var f=E(2),d=E(15),l=E(21),n=E(22),t=E(24),a=function(){function r(c){this.table=new Uint8Array(c)}return r.prototype.setDefault=function(c,e){d.fill(this.table,c<<4|e)},r.prototype.add=function(c,e,o,u){this.table[e<<8|c]=o<<4|u},r.prototype.addMany=function(c,e,o,u){for(var h=0;h<c.length;h++)this.table[e<<8|c[h]]=o<<4|u},r}();m.TransitionTable=a,m.VT500_TRANSITION_TABLE=function(){var r=new a(4095),c=Array.apply(null,Array(256)).map(function(A,w){return w}),e=function(w,x){return c.slice(w,x)},o=e(32,127),u=e(0,24);u.push(25),u.push.apply(u,e(28,32));var h,g=e(0,14);for(h in r.setDefault(1,0),r.addMany(o,0,2,0),g)r.addMany([24,26,153,154],h,3,0),r.addMany(e(128,144),h,3,0),r.addMany(e(144,152),h,3,0),r.add(156,h,0,0),r.add(27,h,11,1),r.add(157,h,4,8),r.addMany([152,158,159],h,0,7),r.add(155,h,11,3),r.add(144,h,11,9);return r.addMany(u,0,3,0),r.addMany(u,1,3,1),r.add(127,1,0,1),r.addMany(u,8,0,8),r.addMany(u,3,3,3),r.add(127,3,0,3),r.addMany(u,4,3,4),r.add(127,4,0,4),r.addMany(u,6,3,6),r.addMany(u,5,3,5),r.add(127,5,0,5),r.addMany(u,2,3,2),r.add(127,2,0,2),r.add(93,1,4,8),r.addMany(o,8,5,8),r.add(127,8,5,8),r.addMany([156,27,24,26,7],8,6,0),r.addMany(e(28,32),8,0,8),r.addMany([88,94,95],1,0,7),r.addMany(o,7,0,7),r.addMany(u,7,0,7),r.add(156,7,0,0),r.add(127,7,0,7),r.add(91,1,11,3),r.addMany(e(64,127),3,7,0),r.addMany(e(48,60),3,8,4),r.addMany([60,61,62,63],3,9,4),r.addMany(e(48,60),4,8,4),r.addMany(e(64,127),4,7,0),r.addMany([60,61,62,63],4,0,6),r.addMany(e(32,64),6,0,6),r.add(127,6,0,6),r.addMany(e(64,127),6,0,0),r.addMany(e(32,48),3,9,5),r.addMany(e(32,48),5,9,5),r.addMany(e(48,64),5,0,6),r.addMany(e(64,127),5,7,0),r.addMany(e(32,48),4,9,5),r.addMany(e(32,48),1,9,2),r.addMany(e(32,48),2,9,2),r.addMany(e(48,127),2,10,0),r.addMany(e(48,80),1,10,0),r.addMany(e(81,88),1,10,0),r.addMany([89,90,92],1,10,0),r.addMany(e(96,127),1,10,0),r.add(80,1,11,9),r.addMany(u,9,0,9),r.add(127,9,0,9),r.addMany(e(28,32),9,0,9),r.addMany(e(32,48),9,9,12),r.addMany(e(48,60),9,8,10),r.addMany([60,61,62,63],9,9,10),r.addMany(u,11,0,11),r.addMany(e(32,128),11,0,11),r.addMany(e(28,32),11,0,11),r.addMany(u,10,0,10),r.add(127,10,0,10),r.addMany(e(28,32),10,0,10),r.addMany(e(48,60),10,8,10),r.addMany([60,61,62,63],10,0,11),r.addMany(e(32,48),10,9,12),r.addMany(u,12,0,12),r.add(127,12,0,12),r.addMany(e(28,32),12,0,12),r.addMany(e(32,48),12,9,12),r.addMany(e(48,64),12,0,11),r.addMany(e(64,127),12,12,13),r.addMany(e(64,127),10,12,13),r.addMany(e(64,127),9,12,13),r.addMany(u,13,13,13),r.addMany(o,13,13,13),r.add(127,13,0,13),r.addMany([27,156,24,26],13,14,0),r.add(160,0,2,0),r.add(160,8,5,8),r.add(160,6,0,6),r.add(160,11,0,11),r.add(160,13,13,13),r}();var s=function(r){function c(e){e===void 0&&(e=m.VT500_TRANSITION_TABLE);var o=r.call(this)||this;return o._transitions=e,o.initialState=0,o.currentState=o.initialState,o._params=new l.Params,o._params.addParam(0),o._collect=0,o.precedingCodepoint=0,o._printHandlerFb=function(u,h,g){},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 n.OscParser,o._dcsParser=new t.DcsParser,o._errorHandler=o._errorHandlerFb,o.setEscHandler({final:"\\"},function(){}),o}return v(c,r),c.prototype._identifier=function(e,o){o===void 0&&(o=[64,126]);var u=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if((u=e.prefix.charCodeAt(0))&&60>u||u>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var h=0;h<e.intermediates.length;++h){var g=e.intermediates.charCodeAt(h);if(32>g||g>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=g}}if(e.final.length!==1)throw new Error("final must be a single byte");var A=e.final.charCodeAt(0);if(o[0]>A||A>o[1])throw new Error("final must be in range "+o[0]+" .. "+o[1]);return u<<=8,u|=A},c.prototype.identToString=function(e){for(var o=[];e;)o.push(String.fromCharCode(255&e)),e>>=8;return o.reverse().join("")},c.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},c.prototype.setPrintHandler=function(e){this._printHandler=e},c.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},c.prototype.addEscHandler=function(e,o){var u=this._identifier(e,[48,126]);this._escHandlers[u]===void 0&&(this._escHandlers[u]=[]);var h=this._escHandlers[u];return h.push(o),{dispose:function(){var A=h.indexOf(o);A!==-1&&h.splice(A,1)}}},c.prototype.setEscHandler=function(e,o){this._escHandlers[this._identifier(e,[48,126])]=[o]},c.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},c.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},c.prototype.setExecuteHandler=function(e,o){this._executeHandlers[e.charCodeAt(0)]=o},c.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},c.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},c.prototype.addCsiHandler=function(e,o){var u=this._identifier(e);this._csiHandlers[u]===void 0&&(this._csiHandlers[u]=[]);var h=this._csiHandlers[u];return h.push(o),{dispose:function(){var A=h.indexOf(o);A!==-1&&h.splice(A,1)}}},c.prototype.setCsiHandler=function(e,o){this._csiHandlers[this._identifier(e)]=[o]},c.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},c.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},c.prototype.addDcsHandler=function(e,o){return this._dcsParser.addHandler(this._identifier(e),o)},c.prototype.setDcsHandler=function(e,o){this._dcsParser.setHandler(this._identifier(e),o)},c.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},c.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},c.prototype.addOscHandler=function(e,o){return this._oscParser.addHandler(e,o)},c.prototype.setOscHandler=function(e,o){this._oscParser.setHandler(e,o)},c.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},c.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},c.prototype.setErrorHandler=function(e){this._errorHandler=e},c.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},c.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},c.prototype.parse=function(e,o){for(var u=0,h=0,g=this.currentState,A=this._oscParser,w=this._dcsParser,x=this._collect,C=this._params,T=this._transitions.table,O=0;O<o;++O){switch((h=T[g<<8|((u=e[O])<160?u:160)])>>4){case 2:for(var S=O+1;;++S){if(S>=o||(u=e[S])<32||u>126&&u<160){this._printHandler(e,O,S),O=S-1;break}if(++S>=o||(u=e[S])<32||u>126&&u<160){this._printHandler(e,O,S),O=S-1;break}if(++S>=o||(u=e[S])<32||u>126&&u<160){this._printHandler(e,O,S),O=S-1;break}if(++S>=o||(u=e[S])<32||u>126&&u<160){this._printHandler(e,O,S),O=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:O,code:u,currentState:g,collect:x,params:C,abort:!1}).abort)return;break;case 7:for(var _=this._csiHandlers[x<<8|u],L=_?_.length-1:-1;L>=0&&_[L](C)===!1;L--);L<0&&this._csiHandlerFb(x<<8|u,C),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:C.addParam(0);break;case 58:C.addSubParam(-1);break;default:C.addDigit(u-48)}while(++O<o&&(u=e[O])>47&&u<60);O--;break;case 9:x<<=8,x|=u;break;case 10:for(var D=this._escHandlers[x<<8|u],F=D?D.length-1:-1;F>=0&&D[F]()===!1;F--);F<0&&this._escHandlerFb(x<<8|u),this.precedingCodepoint=0;break;case 11:C.reset(),C.addParam(0),x=0;break;case 12:w.hook(x<<8|u,C);break;case 13:for(var j=O+1;;++j)if(j>=o||(u=e[j])===24||u===26||u===27||u>127&&u<160){w.put(e,O,j),O=j-1;break}break;case 14:w.unhook(u!==24&&u!==26),u===27&&(h|=1),C.reset(),C.addParam(0),x=0,this.precedingCodepoint=0;break;case 4:A.start();break;case 5:for(var k=O+1;;k++)if(k>=o||(u=e[k])<32||u>127&&u<=159){A.put(e,O,k),O=k-1;break}break;case 6:A.end(u!==24&&u!==26),u===27&&(h|=1),C.reset(),C.addParam(0),x=0,this.precedingCodepoint=0}g=15&h}this._collect=x,this.currentState=g},c}(f.Disposable);m.EscapeSequenceParser=s},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(w,x){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var O in T)T.hasOwnProperty(O)&&(C[O]=T[O])})(w,x)},function(A,w){function x(){this.constructor=A}p(A,w),A.prototype=w===null?Object.create(w):(x.prototype=w.prototype,new x)}),f=this&&this.__decorate||function(A,w,x,C){var T,O=arguments.length,S=O<3?w:C===null?C=Object.getOwnPropertyDescriptor(w,x):C;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(A,w,x,C);else for(var _=A.length-1;_>=0;_--)(T=A[_])&&(S=(O<3?T(S):O>3?T(w,x,S):T(w,x))||S);return O>3&&S&&Object.defineProperty(w,x,S),S},d=this&&this.__param||function(A,w){return function(x,C){w(x,C,A)}};Object.defineProperty(m,"__esModule",{value:!0}),m.Renderer=void 0;var l=E(41),n=E(47),t=E(48),a=E(49),s=E(29),r=E(2),c=E(5),e=E(1),o=E(25),u=E(0),h=1,g=function(A){function w(x,C,T,O,S,_,L,D,F){var j=A.call(this)||this;j._colors=x,j._screenElement=C,j._bufferService=S,j._charSizeService=_,j._optionsService=L,j._id=h++,j._onRequestRedraw=new u.EventEmitter;var k=j._optionsService.options.allowTransparency;return j._characterJoinerRegistry=new s.CharacterJoinerRegistry(j._bufferService),j._renderLayers=[new l.TextRenderLayer(j._screenElement,0,j._colors,j._characterJoinerRegistry,k,j._id,j._bufferService,L),new n.SelectionRenderLayer(j._screenElement,1,j._colors,j._id,j._bufferService,L),new a.LinkRenderLayer(j._screenElement,2,j._colors,j._id,T,O,j._bufferService,L),new t.CursorRenderLayer(j._screenElement,3,j._colors,j._id,j._onRequestRedraw,j._bufferService,L,D,F)],j.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},j._devicePixelRatio=window.devicePixelRatio,j._updateDimensions(),j.onOptionsChanged(),j}return v(w,A),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){for(var x=0,C=this._renderLayers;x<C.length;x++)C[x].dispose();A.prototype.dispose.call(this),o.removeTerminalFromCache(this._id)},w.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},w.prototype.setColors=function(x){this._colors=x;for(var C=0,T=this._renderLayers;C<T.length;C++){var O=T[C];O.setColors(this._colors),O.reset()}},w.prototype.onResize=function(x,C){this._updateDimensions();for(var T=0,O=this._renderLayers;T<O.length;T++)O[T].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},w.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},w.prototype.onBlur=function(){this._runOperation(function(x){return x.onBlur()})},w.prototype.onFocus=function(){this._runOperation(function(x){return x.onFocus()})},w.prototype.onSelectionChanged=function(x,C,T){T===void 0&&(T=!1),this._runOperation(function(O){return O.onSelectionChanged(x,C,T)})},w.prototype.onCursorMove=function(){this._runOperation(function(x){return x.onCursorMove()})},w.prototype.onOptionsChanged=function(){this._runOperation(function(x){return x.onOptionsChanged()})},w.prototype.clear=function(){this._runOperation(function(x){return x.reset()})},w.prototype._runOperation=function(x){for(var C=0,T=this._renderLayers;C<T.length;C++)x(T[C])},w.prototype.renderRows=function(x,C){for(var T=0,O=this._renderLayers;T<O.length;T++)O[T].onGridChanged(x,C)},w.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)},w.prototype.registerCharacterJoiner=function(x){return this._characterJoinerRegistry.registerCharacterJoiner(x)},w.prototype.deregisterCharacterJoiner=function(x){return this._characterJoinerRegistry.deregisterCharacterJoiner(x)},w=f([d(4,e.IBufferService),d(5,c.ICharSizeService),d(6,e.IOptionsService),d(7,e.ICoreService),d(8,c.ICoreBrowserService)],w)}(r.Disposable);m.Renderer=g},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)});Object.defineProperty(m,"__esModule",{value:!0}),m.TextRenderLayer=void 0;var f=E(42),d=E(13),l=E(6),n=E(3),t=E(29),a=E(4),s=function(r){function c(e,o,u,h,g,A,w,x){var C=r.call(this,e,"text",o,g,u,A,w,x)||this;return C._characterWidth=0,C._characterFont="",C._characterOverlapCache={},C._workCell=new a.CellData,C._state=new f.GridCache,C._characterJoinerRegistry=h,C}return v(c,r),c.prototype.resize=function(e){r.prototype.resize.call(this,e);var o=this._getFont(!1,!1);this._characterWidth===e.scaledCharWidth&&this._characterFont===o||(this._characterWidth=e.scaledCharWidth,this._characterFont=o,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},c.prototype.reset=function(){this._state.clear(),this._clearAll()},c.prototype._forEachCell=function(e,o,u,h){for(var g=e;g<=o;g++)for(var A=g+this._bufferService.buffer.ydisp,w=this._bufferService.buffer.lines.get(A),x=u?u.getJoinedCharacters(A):[],C=0;C<this._bufferService.cols;C++){w.loadCell(C,this._workCell);var T=this._workCell,O=!1,S=C;if(T.getWidth()!==0){if(x.length>0&&C===x[0][0]){O=!0;var _=x.shift();T=new t.JoinedCellData(this._workCell,w.translateToString(!0,_[0],_[1]),_[1]-_[0]),S=_[1]-1}!O&&this._isOverlapping(T)&&S<w.length-1&&w.getCodePoint(S+1)===n.NULL_CELL_CODE&&(T.content&=-12582913,T.content|=2<<22),h(T,C,g),C=S}}},c.prototype._drawBackground=function(e,o){var u=this,h=this._ctx,g=this._bufferService.cols,A=0,w=0,x=null;h.save(),this._forEachCell(e,o,null,function(C,T,O){var S=null;C.isInverse()?S=C.isFgDefault()?u._colors.foreground.css:C.isFgRGB()?"rgb("+l.AttributeData.toColorRGB(C.getFgColor()).join(",")+")":u._colors.ansi[C.getFgColor()].css:C.isBgRGB()?S="rgb("+l.AttributeData.toColorRGB(C.getBgColor()).join(",")+")":C.isBgPalette()&&(S=u._colors.ansi[C.getBgColor()].css),x===null&&(A=T,w=O),O!==w?(h.fillStyle=x||"",u._fillCells(A,w,g-A,1),A=T,w=O):x!==S&&(h.fillStyle=x||"",u._fillCells(A,w,T-A,1),A=T,w=O),x=S}),x!==null&&(h.fillStyle=x,this._fillCells(A,w,g-A,1)),h.restore()},c.prototype._drawForeground=function(e,o){var u=this;this._forEachCell(e,o,this._characterJoinerRegistry,function(h,g,A){if(!h.isInvisible()&&(u._drawChars(h,g,A),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("+l.AttributeData.toColorRGB(h.getBgColor()).join(",")+")";else{var w=h.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&w<8&&(w+=8),u._ctx.fillStyle=u._colors.ansi[w].css}else if(h.isFgDefault())u._ctx.fillStyle=u._colors.foreground.css;else if(h.isFgRGB())u._ctx.fillStyle="rgb("+l.AttributeData.toColorRGB(h.getFgColor()).join(",")+")";else{var x=h.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&x<8&&(x+=8),u._ctx.fillStyle=u._colors.ansi[x].css}u._fillBottomLineAtCells(g,A,h.getWidth()),u._ctx.restore()}})},c.prototype.onGridChanged=function(e,o){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,o-e+1),this._drawBackground(e,o),this._drawForeground(e,o))},c.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},c.prototype._isOverlapping=function(e){if(e.getWidth()!==1)return!1;if(e.getCode()<256)return!1;var o=e.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},c}(d.BaseRenderLayer);m.TextRenderLayer=s},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.GridCache=void 0;var p=function(){function v(){this.cache=[]}return v.prototype.resize=function(f,d){for(var l=0;l<f;l++){this.cache.length<=l&&this.cache.push([]);for(var n=this.cache[l].length;n<d;n++)this.cache[l].push(void 0);this.cache[l].length=d}this.cache.length=f},v.prototype.clear=function(){for(var f=0;f<this.cache.length;f++)for(var d=0;d<this.cache[f].length;d++)this.cache[f][d]=void 0},v}();m.GridCache=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(h,g){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,w){A.__proto__=w}||function(A,w){for(var x in w)w.hasOwnProperty(x)&&(A[x]=w[x])})(h,g)},function(u,h){function g(){this.constructor=u}p(u,h),u.prototype=h===null?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(m,"__esModule",{value:!0}),m.NoneCharAtlas=m.DynamicCharAtlas=m.getGlyphCacheKey=void 0;var f=E(9),d=E(44),l=E(27),n=E(46),t=E(11),a=E(28),s=E(10),r={css:"rgba(0, 0, 0, 0)",rgba:0};function c(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}m.getGlyphCacheKey=c;var e=function(u){function h(g,A){var w=u.call(this)||this;w._config=A,w._drawToCacheCount=0,w._glyphsWaitingOnBitmap=[],w._bitmapCommitTimeout=null,w._bitmap=null,w._cacheCanvas=g.createElement("canvas"),w._cacheCanvas.width=1024,w._cacheCanvas.height=1024,w._cacheCtx=a.throwIfFalsy(w._cacheCanvas.getContext("2d",{alpha:!0}));var x=g.createElement("canvas");x.width=w._config.scaledCharWidth,x.height=w._config.scaledCharHeight,w._tmpCtx=a.throwIfFalsy(x.getContext("2d",{alpha:w._config.allowTransparency})),w._width=Math.floor(1024/w._config.scaledCharWidth),w._height=Math.floor(1024/w._config.scaledCharHeight);var C=w._width*w._height;return w._cacheMap=new n.LRUMap(C),w._cacheMap.prealloc(C),w}return v(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(g,A,w,x){if(A.code===32)return!0;if(!this._canCache(A))return!1;var C=c(A),T=this._cacheMap.get(C);if(T!=null)return this._drawFromCache(g,T,w,x),!0;if(this._drawToCacheCount<100){var O=void 0;O=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var S=this._drawToCache(A,O);return this._cacheMap.set(C,S),this._drawFromCache(g,S,w,x),!0}return!1},h.prototype._canCache=function(g){return g.code<256},h.prototype._toCoordinateX=function(g){return g%this._width*this._config.scaledCharWidth},h.prototype._toCoordinateY=function(g){return Math.floor(g/this._width)*this._config.scaledCharHeight},h.prototype._drawFromCache=function(g,A,w,x){if(!A.isEmpty){var C=this._toCoordinateX(A.index),T=this._toCoordinateY(A.index);g.drawImage(A.inBitmap?this._bitmap:this._cacheCanvas,C,T,this._config.scaledCharWidth,this._config.scaledCharHeight,w,x,this._config.scaledCharWidth,this._config.scaledCharHeight)}},h.prototype._getColorFromAnsiIndex=function(g){return g<this._config.colors.ansi.length?this._config.colors.ansi[g]:l.DEFAULT_ANSI_COLORS[g]},h.prototype._getBackgroundColor=function(g){return this._config.allowTransparency?r:g.bg===f.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:g.bg<256?this._getColorFromAnsiIndex(g.bg):this._config.colors.background},h.prototype._getForegroundColor=function(g){return g.fg===f.INVERTED_DEFAULT_COLOR?s.color.opaque(this._config.colors.background):g.fg<256?this._getColorFromAnsiIndex(g.fg):this._config.colors.foreground},h.prototype._drawToCache=function(g,A){this._drawToCacheCount++,this._tmpCtx.save();var w=this._getBackgroundColor(g);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=w.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var x=g.bold?this._config.fontWeightBold:this._config.fontWeight,C=g.italic?"italic":"";this._tmpCtx.font=C+" "+x+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(g).css,g.dim&&(this._tmpCtx.globalAlpha=f.DIM_OPACITY),this._tmpCtx.fillText(g.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var T=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),O=!1;this._config.allowTransparency||(O=function(D,F){for(var j=!0,k=F.rgba>>>24,K=F.rgba>>>16&255,Z=F.rgba>>>8&255,B=0;B<D.data.length;B+=4)D.data[B]===k&&D.data[B+1]===K&&D.data[B+2]===Z?D.data[B+3]=0:j=!1;return j}(T,w));var S=this._toCoordinateX(A),_=this._toCoordinateY(A);this._cacheCtx.putImageData(T,S,_);var L={index:A,isEmpty:O,inBitmap:!1};return this._addGlyphToBitmap(L),L},h.prototype._addGlyphToBitmap=function(g){var A=this;!("createImageBitmap"in window)||t.isFirefox||t.isSafari||(this._glyphsWaitingOnBitmap.push(g),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return A._generateBitmap()},100)))},h.prototype._generateBitmap=function(){var g=this,A=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(w){g._bitmap=w;for(var x=0;x<A.length;x++)A[x].inBitmap=!0}),this._bitmapCommitTimeout=null},h}(d.BaseCharAtlas);m.DynamicCharAtlas=e;var o=function(u){function h(g,A){return u.call(this)||this}return v(h,u),h.prototype.draw=function(g,A,w,x){return!1},h}(d.BaseCharAtlas);m.NoneCharAtlas=o},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BaseCharAtlas=void 0;var p=function(){function v(){this._didWarmUp=!1}return v.prototype.dispose=function(){},v.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},v.prototype._doWarmUp=function(){},v.prototype.beginFrame=function(){},v}();m.BaseCharAtlas=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ColorContrastCache=void 0;var p=function(){function v(){this._color={},this._rgba={}}return v.prototype.clear=function(){this._color={},this._rgba={}},v.prototype.setCss=function(f,d,l){this._rgba[f]||(this._rgba[f]={}),this._rgba[f][d]=l},v.prototype.getCss=function(f,d){return this._rgba[f]?this._rgba[f][d]:void 0},v.prototype.setColor=function(f,d,l){this._color[f]||(this._color[f]={}),this._color[f][d]=l},v.prototype.getColor=function(f,d){return this._color[f]?this._color[f][d]:void 0},v}();m.ColorContrastCache=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.LRUMap=void 0;var p=function(){function v(f){this.capacity=f,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return v.prototype._unlinkNode=function(f){var d=f.prev,l=f.next;f===this._head&&(this._head=l),f===this._tail&&(this._tail=d),d!==null&&(d.next=l),l!==null&&(l.prev=d)},v.prototype._appendNode=function(f){var d=this._tail;d!==null&&(d.next=f),f.prev=d,f.next=null,this._tail=f,this._head===null&&(this._head=f)},v.prototype.prealloc=function(f){for(var d=this._nodePool,l=0;l<f;l++)d.push({prev:null,next:null,key:null,value:null})},v.prototype.get=function(f){var d=this._map[f];return d!==void 0?(this._unlinkNode(d),this._appendNode(d),d.value):null},v.prototype.peekValue=function(f){var d=this._map[f];return d!==void 0?d.value:null},v.prototype.peek=function(){var f=this._head;return f===null?null:f.value},v.prototype.set=function(f,d){var l=this._map[f];if(l!==void 0)l=this._map[f],this._unlinkNode(l),l.value=d;else if(this.size>=this.capacity)l=this._head,this._unlinkNode(l),delete this._map[l.key],l.key=f,l.value=d,this._map[f]=l;else{var n=this._nodePool;n.length>0?((l=n.pop()).key=f,l.value=d):l={prev:null,next:null,key:f,value:d},this._map[f]=l,this.size++}this._appendNode(l)},v}();m.LRUMap=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(l,n){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var s in a)a.hasOwnProperty(s)&&(t[s]=a[s])})(l,n)},function(d,l){function n(){this.constructor=d}p(d,l),d.prototype=l===null?Object.create(l):(n.prototype=l.prototype,new n)});Object.defineProperty(m,"__esModule",{value:!0}),m.SelectionRenderLayer=void 0;var f=function(d){function l(n,t,a,s,r,c){var e=d.call(this,n,"selection",t,!0,a,s,r,c)||this;return e._clearState(),e}return v(l,d),l.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},l.prototype.resize=function(n){d.prototype.resize.call(this,n),this._clearState()},l.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},l.prototype.onSelectionChanged=function(n,t,a){if(this._didStateChange(n,t,a,this._bufferService.buffer.ydisp))if(this._clearAll(),n&&t){var s=n[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,c=Math.max(s,0),e=Math.min(r,this._bufferService.rows-1);if(!(c>=this._bufferService.rows||e<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,a){var o=n[0],u=t[0]-o,h=e-c+1;this._fillCells(o,c,u,h)}else{o=s===c?n[0]:0;var g=c===e?t[0]:this._bufferService.cols;this._fillCells(o,c,g-o,1);var A=Math.max(e-c-1,0);if(this._fillCells(0,c+1,this._bufferService.cols,A),c!==e){var w=r===e?t[0]:this._bufferService.cols;this._fillCells(0,e,w,1)}}this._state.start=[n[0],n[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=a,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},l.prototype._didStateChange=function(n,t,a,s){return!this._areCoordinatesEqual(n,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||a!==this._state.columnSelectMode||s!==this._state.ydisp},l.prototype._areCoordinatesEqual=function(n,t){return!(!n||!t)&&n[0]===t[0]&&n[1]===t[1]},l}(E(13).BaseRenderLayer);m.SelectionRenderLayer=f},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(a,s){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var e in c)c.hasOwnProperty(e)&&(r[e]=c[e])})(a,s)},function(t,a){function s(){this.constructor=t}p(t,a),t.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)});Object.defineProperty(m,"__esModule",{value:!0}),m.CursorRenderLayer=void 0;var f=E(13),d=E(4),l=function(t){function a(s,r,c,e,o,u,h,g,A){var w=t.call(this,s,"cursor",r,!0,c,e,u,h)||this;return w._onRequestRedraw=o,w._coreService=g,w._coreBrowserService=A,w._cell=new d.CellData,w._state={x:0,y:0,isFocused:!1,style:"",width:0},w._cursorRenderers={bar:w._renderBarCursor.bind(w),block:w._renderBlockCursor.bind(w),underline:w._renderUnderlineCursor.bind(w)},w}return v(a,t),a.prototype.resize=function(s){t.prototype.resize.call(this,s),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},a.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},a.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onOptionsChanged=function(){var s,r=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new n(this._coreBrowserService.isFocused,function(){r._render(!0)})):((s=this._cursorBlinkStateManager)===null||s===void 0||s.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype.onGridChanged=function(s,r){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype._render=function(s){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var r=this._bufferService.buffer.ybase+this._bufferService.buffer.y,c=r-this._bufferService.buffer.ydisp;if(c<0||c>=this._bufferService.rows)this._clearCursor();else{var e=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(r).loadCell(e,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var o=this._optionsService.options.cursorStyle;return o&&o!=="block"?this._cursorRenderers[o](e,c,this._cell):this._renderBlurCursor(e,c,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=c,this._state.isFocused=!1,this._state.style=o,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===e&&this._state.y===c&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](e,c,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=c,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},a.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},a.prototype._renderBarCursor=function(s,r,c){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(s,r,this._optionsService.options.cursorWidth),this._ctx.restore()},a.prototype._renderBlockCursor=function(s,r,c){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(s,r,c.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(c,s,r),this._ctx.restore()},a.prototype._renderUnderlineCursor=function(s,r,c){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(s,r),this._ctx.restore()},a.prototype._renderBlurCursor=function(s,r,c){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(s,r,c.getWidth(),1),this._ctx.restore()},a}(f.BaseRenderLayer);m.CursorRenderLayer=l;var n=function(){function t(a,s){this._renderCallback=s,this.isCursorVisible=!0,a&&this._restartInterval()}return Object.defineProperty(t.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),t.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)},t.prototype.restartBlinkAnimation=function(){var a=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){a._renderCallback(),a._animationFrame=void 0})))},t.prototype._restartInterval=function(a){var s=this;a===void 0&&(a=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(s._animationTimeRestarted){var r=600-(Date.now()-s._animationTimeRestarted);if(s._animationTimeRestarted=void 0,r>0)return void s._restartInterval(r)}s.isCursorVisible=!1,s._animationFrame=window.requestAnimationFrame(function(){s._renderCallback(),s._animationFrame=void 0}),s._blinkInterval=window.setInterval(function(){if(s._animationTimeRestarted){var c=600-(Date.now()-s._animationTimeRestarted);return s._animationTimeRestarted=void 0,void s._restartInterval(c)}s.isCursorVisible=!s.isCursorVisible,s._animationFrame=window.requestAnimationFrame(function(){s._renderCallback(),s._animationFrame=void 0})},600)},a)},t.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)},t.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},t}()},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(a,s){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var e in c)c.hasOwnProperty(e)&&(r[e]=c[e])})(a,s)},function(t,a){function s(){this.constructor=t}p(t,a),t.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)});Object.defineProperty(m,"__esModule",{value:!0}),m.LinkRenderLayer=void 0;var f=E(13),d=E(9),l=E(26),n=function(t){function a(s,r,c,e,o,u,h,g){var A=t.call(this,s,"link",r,!0,c,e,h,g)||this;return o.onShowLinkUnderline(function(w){return A._onShowLinkUnderline(w)}),o.onHideLinkUnderline(function(w){return A._onHideLinkUnderline(w)}),u.onShowLinkUnderline(function(w){return A._onShowLinkUnderline(w)}),u.onHideLinkUnderline(function(w){return A._onHideLinkUnderline(w)}),A}return v(a,t),a.prototype.resize=function(s){t.prototype.resize.call(this,s),this._state=void 0},a.prototype.reset=function(){this._clearCurrentLink()},a.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var s=this._state.y2-this._state.y1-1;s>0&&this._clearCells(0,this._state.y1+1,this._state.cols,s),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},a.prototype._onShowLinkUnderline=function(s){if(s.fg===d.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:s.fg&&l.is256Color(s.fg)?this._ctx.fillStyle=this._colors.ansi[s.fg].css:this._ctx.fillStyle=this._colors.foreground.css,s.y1===s.y2)this._fillBottomLineAtCells(s.x1,s.y1,s.x2-s.x1);else{this._fillBottomLineAtCells(s.x1,s.y1,s.cols-s.x1);for(var r=s.y1+1;r<s.y2;r++)this._fillBottomLineAtCells(0,r,s.cols);this._fillBottomLineAtCells(0,s.y2,s.x2)}this._state=s},a.prototype._onHideLinkUnderline=function(s){this._clearCurrentLink()},a}(f.BaseRenderLayer);m.LinkRenderLayer=n},function(y,m,E){"use strict";var p=this&&this.__decorate||function(t,a,s,r){var c,e=arguments.length,o=e<3?a:r===null?r=Object.getOwnPropertyDescriptor(a,s):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,a,s,r);else for(var u=t.length-1;u>=0;u--)(c=t[u])&&(o=(e<3?c(o):e>3?c(a,s,o):c(a,s))||o);return e>3&&o&&Object.defineProperty(a,s,o),o},v=this&&this.__param||function(t,a){return function(s,r){a(s,r,t)}};Object.defineProperty(m,"__esModule",{value:!0}),m.MouseZone=m.Linkifier=void 0;var f=E(0),d=E(1),l=function(){function t(a,s,r){this._bufferService=a,this._logService=s,this._unicodeService=r,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new f.EventEmitter,this._onHideLinkUnderline=new f.EventEmitter,this._onLinkTooltip=new f.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(t.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),t.prototype.attachToDom=function(a,s){this._element=a,this._mouseZoneManager=s},t.prototype.linkifyRows=function(a,s){var r=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=a,this._rowsToLinkify.end=s):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,a),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,s)),this._mouseZoneManager.clearAll(a,s),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return r._linkifyRows()},t._timeBeforeLatency))},t.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var a=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var s=a.ydisp+this._rowsToLinkify.start;if(!(s>=a.lines.length)){for(var r=a.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,c=Math.ceil(2e3/this._bufferService.cols),e=this._bufferService.buffer.iterator(!1,s,r,c,c);e.hasNext();)for(var o=e.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")},t.prototype.registerLinkMatcher=function(a,s,r){if(r===void 0&&(r={}),!s)throw new Error("handler must be defined");var c={id:this._nextLinkMatcherId++,regex:a,handler:s,matchIndex:r.matchIndex,validationCallback:r.validationCallback,hoverTooltipCallback:r.tooltipCallback,hoverLeaveCallback:r.leaveCallback,willLinkActivate:r.willLinkActivate,priority:r.priority||0};return this._addLinkMatcherToList(c),c.id},t.prototype._addLinkMatcherToList=function(a){if(this._linkMatchers.length!==0){for(var s=this._linkMatchers.length-1;s>=0;s--)if(a.priority<=this._linkMatchers[s].priority)return void this._linkMatchers.splice(s+1,0,a);this._linkMatchers.splice(0,0,a)}else this._linkMatchers.push(a)},t.prototype.deregisterLinkMatcher=function(a){for(var s=0;s<this._linkMatchers.length;s++)if(this._linkMatchers[s].id===a)return this._linkMatchers.splice(s,1),!0;return!1},t.prototype._doLinkifyRow=function(a,s,r){for(var c,e=this,o=new RegExp(r.regex.source,(r.regex.flags||"")+"g"),u=-1,h=function(){var w=c[typeof r.matchIndex!="number"?0:r.matchIndex];if(!w)return g._logService.debug("match found without corresponding matchIndex",c,r),"break";if(u=s.indexOf(w,u+1),o.lastIndex=u+w.length,u<0)return"break";var x=g._bufferService.buffer.stringIndexToBufferIndex(a,u);if(x[0]<0)return"break";var C=g._bufferService.buffer.lines.get(x[0]);if(!C)return"break";var T=C.getFg(x[1]),O=T?T>>9&511:void 0;r.validationCallback?r.validationCallback(w,function(S){e._rowsTimeoutId||S&&e._addLink(x[1],x[0]-e._bufferService.buffer.ydisp,w,r,O)}):g._addLink(x[1],x[0]-g._bufferService.buffer.ydisp,w,r,O)},g=this;(c=o.exec(s))!==null&&!(h()==="break"););},t.prototype._addLink=function(a,s,r,c,e){var o=this;if(this._mouseZoneManager&&this._element){var u=this._unicodeService.getStringCellWidth(r),h=a%this._bufferService.cols,g=s+Math.floor(a/this._bufferService.cols),A=(h+u)%this._bufferService.cols,w=g+Math.floor((h+u)/this._bufferService.cols);A===0&&(A=this._bufferService.cols,w--),this._mouseZoneManager.add(new n(h+1,g+1,A+1,w+1,function(x){if(c.handler)return c.handler(x,r);var C=window.open();C?(C.opener=null,C.location.href=r):console.warn("Opening link blocked as opener could not be cleared")},function(){o._onShowLinkUnderline.fire(o._createLinkHoverEvent(h,g,A,w,e)),o._element.classList.add("xterm-cursor-pointer")},function(x){o._onLinkTooltip.fire(o._createLinkHoverEvent(h,g,A,w,e)),c.hoverTooltipCallback&&c.hoverTooltipCallback(x,r,{start:{x:h,y:g},end:{x:A,y:w}})},function(){o._onHideLinkUnderline.fire(o._createLinkHoverEvent(h,g,A,w,e)),o._element.classList.remove("xterm-cursor-pointer"),c.hoverLeaveCallback&&c.hoverLeaveCallback()},function(x){return!c.willLinkActivate||c.willLinkActivate(x,r)}))}},t.prototype._createLinkHoverEvent=function(a,s,r,c,e){return{x1:a,y1:s,x2:r,y2:c,cols:this._bufferService.cols,fg:e}},t._timeBeforeLatency=200,t=p([v(0,d.IBufferService),v(1,d.ILogService),v(2,d.IUnicodeService)],t)}();m.Linkifier=l;var n=function(a,s,r,c,e,o,u,h,g){this.x1=a,this.y1=s,this.x2=r,this.y2=c,this.clickCallback=e,this.hoverCallback=o,this.tooltipCallback=u,this.leaveCallback=h,this.willLinkActivate=g};m.MouseZone=n},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(w,x){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var O in T)T.hasOwnProperty(O)&&(C[O]=T[O])})(w,x)},function(A,w){function x(){this.constructor=A}p(A,w),A.prototype=w===null?Object.create(w):(x.prototype=w.prototype,new x)}),f=this&&this.__decorate||function(A,w,x,C){var T,O=arguments.length,S=O<3?w:C===null?C=Object.getOwnPropertyDescriptor(w,x):C;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(A,w,x,C);else for(var _=A.length-1;_>=0;_--)(T=A[_])&&(S=(O<3?T(S):O>3?T(w,x,S):T(w,x))||S);return O>3&&S&&Object.defineProperty(w,x,S),S},d=this&&this.__param||function(A,w){return function(x,C){w(x,C,A)}};Object.defineProperty(m,"__esModule",{value:!0}),m.SelectionService=void 0;var l=E(11),n=E(52),t=E(4),a=E(0),s=E(5),r=E(1),c=E(30),e=E(53),o=E(2),u=String.fromCharCode(160),h=new RegExp(u,"g"),g=function(A){function w(x,C,T,O,S,_,L){var D=A.call(this)||this;return D._element=x,D._screenElement=C,D._bufferService=T,D._coreService=O,D._mouseService=S,D._optionsService=_,D._renderService=L,D._dragScrollAmount=0,D._enabled=!0,D._workCell=new t.CellData,D._mouseDownTimeStamp=0,D._onLinuxMouseSelection=D.register(new a.EventEmitter),D._onRedrawRequest=D.register(new a.EventEmitter),D._onSelectionChange=D.register(new a.EventEmitter),D._onRequestScrollLines=D.register(new a.EventEmitter),D._mouseMoveListener=function(F){return D._onMouseMove(F)},D._mouseUpListener=function(F){return D._onMouseUp(F)},D._coreService.onUserInput(function(){D.hasSelection&&D.clearSelection()}),D._trimListener=D._bufferService.buffer.lines.onTrim(function(F){return D._onTrim(F)}),D.register(D._bufferService.buffers.onBufferActivate(function(F){return D._onBufferActivate(F)})),D.enable(),D._model=new n.SelectionModel(D._bufferService),D._activeSelectionMode=0,D}return v(w,A),Object.defineProperty(w.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){this._removeMouseDownListeners()},w.prototype.reset=function(){this.clearSelection()},w.prototype.disable=function(){this.clearSelection(),this._enabled=!1},w.prototype.enable=function(){this._enabled=!0},Object.defineProperty(w.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"hasSelection",{get:function(){var C=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!(!C||!T)&&(C[0]!==T[0]||C[1]!==T[1])},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectionText",{get:function(){var C=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;if(!C||!T)return"";var O=this._bufferService.buffer,S=[];if(this._activeSelectionMode===3){if(C[0]===T[0])return"";for(var _=C[1];_<=T[1];_++){var L=O.translateBufferLineToString(_,!0,C[0],T[0]);S.push(L)}}else{var D=C[1]===T[1]?T[0]:void 0;for(S.push(O.translateBufferLineToString(C[1],!0,C[0],D)),_=C[1]+1;_<=T[1]-1;_++){var F=O.lines.get(_);L=O.translateBufferLineToString(_,!0),F&&F.isWrapped?S[S.length-1]+=L:S.push(L)}C[1]!==T[1]&&(F=O.lines.get(T[1]),L=O.translateBufferLineToString(T[1],!0,0,T[0]),F&&F.isWrapped?S[S.length-1]+=L:S.push(L))}return S.map(function(j){return j.replace(h," ")}).join(l.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),w.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},w.prototype.refresh=function(x){var C=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return C._refresh()})),l.isLinux&&x)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},w.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},w.prototype.isClickInSelection=function(x){var C=this._getMouseBufferCoords(x),T=this._model.finalSelectionStart,O=this._model.finalSelectionEnd;return!!(T&&O&&C)&&this._areCoordsInSelection(C,T,O)},w.prototype._areCoordsInSelection=function(x,C,T){return x[1]>C[1]&&x[1]<T[1]||C[1]===T[1]&&x[1]===C[1]&&x[0]>=C[0]&&x[0]<T[0]||C[1]<T[1]&&x[1]===T[1]&&x[0]<T[0]||C[1]<T[1]&&x[1]===C[1]&&x[0]>=C[0]},w.prototype.selectWordAtCursor=function(x){var C=this._getMouseBufferCoords(x);C&&(this._selectWordAt(C,!1),this._model.selectionEnd=void 0,this.refresh(!0))},w.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},w.prototype.selectLines=function(x,C){this._model.clearSelection(),x=Math.max(x,0),C=Math.min(C,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,x],this._model.selectionEnd=[this._bufferService.cols,C],this.refresh(),this._onSelectionChange.fire()},w.prototype._onTrim=function(x){this._model.onTrim(x)&&this.refresh()},w.prototype._getMouseBufferCoords=function(x){var C=this._mouseService.getCoords(x,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(C)return C[0]--,C[1]--,C[1]+=this._bufferService.buffer.ydisp,C},w.prototype._getMouseEventScrollAmount=function(x){var C=c.getCoordsRelativeToElement(x,this._screenElement)[1],T=this._renderService.dimensions.canvasHeight;return C>=0&&C<=T?0:(C>T&&(C-=T),C=Math.min(Math.max(C,-50),50),(C/=50)/Math.abs(C)+Math.round(14*C))},w.prototype.shouldForceSelection=function(x){return l.isMac?x.altKey&&this._optionsService.options.macOptionClickForcesSelection:x.shiftKey},w.prototype.onMouseDown=function(x){if(this._mouseDownTimeStamp=x.timeStamp,(x.button!==2||!this.hasSelection)&&x.button===0){if(!this._enabled){if(!this.shouldForceSelection(x))return;x.stopPropagation()}x.preventDefault(),this._dragScrollAmount=0,this._enabled&&x.shiftKey?this._onIncrementalClick(x):x.detail===1?this._onSingleClick(x):x.detail===2?this._onDoubleClick(x):x.detail===3&&this._onTripleClick(x),this._addMouseDownListeners(),this.refresh(!0)}},w.prototype._addMouseDownListeners=function(){var x=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return x._dragScroll()},50)},w.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},w.prototype._onIncrementalClick=function(x){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(x))},w.prototype._onSingleClick=function(x){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(x)?3:0,this._model.selectionStart=this._getMouseBufferCoords(x),this._model.selectionStart){this._model.selectionEnd=void 0;var C=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);C&&C.length!==this._model.selectionStart[0]&&C.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},w.prototype._onDoubleClick=function(x){var C=this._getMouseBufferCoords(x);C&&(this._activeSelectionMode=1,this._selectWordAt(C,!0))},w.prototype._onTripleClick=function(x){var C=this._getMouseBufferCoords(x);C&&(this._activeSelectionMode=2,this._selectLineAt(C[1]))},w.prototype.shouldColumnSelect=function(x){return x.altKey&&!(l.isMac&&this._optionsService.options.macOptionClickForcesSelection)},w.prototype._onMouseMove=function(x){if(x.stopImmediatePropagation(),this._model.selectionStart){var C=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(x),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(x),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var T=this._bufferService.buffer;if(this._model.selectionEnd[1]<T.lines.length){var O=T.lines.get(this._model.selectionEnd[1]);O&&O.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}C&&C[0]===this._model.selectionEnd[0]&&C[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},w.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var x=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(x.ydisp+this._bufferService.rows,x.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=x.ydisp),this.refresh()}},w.prototype._onMouseUp=function(x){var C=x.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&C<500&&x.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var T=this._mouseService.getCoords(x,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(T&&T[0]!==void 0&&T[1]!==void 0){var O=e.moveToCellSequence(T[0]-1,T[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(O,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},w.prototype._onBufferActivate=function(x){var C=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=x.activeBuffer.lines.onTrim(function(T){return C._onTrim(T)})},w.prototype._convertViewportColToCharacterIndex=function(x,C){for(var T=C[0],O=0;C[0]>=O;O++){var S=x.loadCell(O,this._workCell).getChars().length;this._workCell.getWidth()===0?T--:S>1&&C[0]!==O&&(T+=S-1)}return T},w.prototype.setSelection=function(x,C,T){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[x,C],this._model.selectionStartLength=T,this.refresh()},w.prototype._getWordAt=function(x,C,T,O){if(T===void 0&&(T=!0),O===void 0&&(O=!0),!(x[0]>=this._bufferService.cols)){var S=this._bufferService.buffer,_=S.lines.get(x[1]);if(_){var L=S.translateBufferLineToString(x[1],!1),D=this._convertViewportColToCharacterIndex(_,x),F=D,j=x[0]-D,k=0,K=0,Z=0,B=0;if(L.charAt(D)===" "){for(;D>0&&L.charAt(D-1)===" ";)D--;for(;F<L.length&&L.charAt(F+1)===" ";)F++}else{var V=x[0],z=x[0];_.getWidth(V)===0&&(k++,V--),_.getWidth(z)===2&&(K++,z++);var X=_.getString(z).length;for(X>1&&(B+=X-1,F+=X-1);V>0&&D>0&&!this._isCharWordSeparator(_.loadCell(V-1,this._workCell));){_.loadCell(V-1,this._workCell);var W=this._workCell.getChars().length;this._workCell.getWidth()===0?(k++,V--):W>1&&(Z+=W-1,D-=W-1),D--,V--}for(;z<_.length&&F+1<L.length&&!this._isCharWordSeparator(_.loadCell(z+1,this._workCell));){_.loadCell(z+1,this._workCell);var q=this._workCell.getChars().length;this._workCell.getWidth()===2?(K++,z++):q>1&&(B+=q-1,F+=q-1),F++,z++}}F++;var Y=D+j-k+Z,re=Math.min(this._bufferService.cols,F-D+k+K-Z-B);if(C||L.slice(D,F).trim()!==""){if(T&&Y===0&&_.getCodePoint(0)!==32){var ne=S.lines.get(x[1]-1);if(ne&&_.isWrapped&&ne.getCodePoint(this._bufferService.cols-1)!==32){var we=this._getWordAt([this._bufferService.cols-1,x[1]-1],!1,!0,!1);if(we){var ie=this._bufferService.cols-we.start;Y-=ie,re+=ie}}}if(O&&Y+re===this._bufferService.cols&&_.getCodePoint(this._bufferService.cols-1)!==32){var me=S.lines.get(x[1]+1);if(me&&me.isWrapped&&me.getCodePoint(0)!==32){var _e=this._getWordAt([0,x[1]+1],!1,!1,!0);_e&&(re+=_e.length)}}return{start:Y,length:re}}}}},w.prototype._selectWordAt=function(x,C){var T=this._getWordAt(x,C);if(T){for(;T.start<0;)T.start+=this._bufferService.cols,x[1]--;this._model.selectionStart=[T.start,x[1]],this._model.selectionStartLength=T.length}},w.prototype._selectToWordAt=function(x){var C=this._getWordAt(x,!0);if(C){for(var T=x[1];C.start<0;)C.start+=this._bufferService.cols,T--;if(!this._model.areSelectionValuesReversed())for(;C.start+C.length>this._bufferService.cols;)C.length-=this._bufferService.cols,T++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?C.start:C.start+C.length,T]}},w.prototype._isCharWordSeparator=function(x){return x.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(x.getChars())>=0},w.prototype._selectLineAt=function(x){var C=this._bufferService.buffer.getWrappedRangeForLine(x);this._model.selectionStart=[0,C.first],this._model.selectionEnd=[this._bufferService.cols,C.last],this._model.selectionStartLength=0},w=f([d(2,r.IBufferService),d(3,r.ICoreService),d(4,s.IMouseService),d(5,r.IOptionsService),d(6,s.IRenderService)],w)}(o.Disposable);m.SelectionService=g},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SelectionModel=void 0;var p=function(){function v(f){this._bufferService=f,this.isSelectAllActive=!1,this.selectionStartLength=0}return v.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(v.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var d=this.selectionStart[0]+this.selectionStartLength;return d>this._bufferService.cols?[d%this._bufferService.cols,this.selectionStart[1]+Math.floor(d/this._bufferService.cols)]:[d,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),v.prototype.areSelectionValuesReversed=function(){var f=this.selectionStart,d=this.selectionEnd;return!(!f||!d)&&(f[1]>d[1]||f[1]===d[1]&&f[0]>d[0])},v.prototype.onTrim=function(f){return this.selectionStart&&(this.selectionStart[1]-=f),this.selectionEnd&&(this.selectionEnd[1]-=f),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},v}();m.SelectionModel=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.moveToCellSequence=void 0;var p=E(12);function v(a,s,r,c){var e=a-f(r,a),o=s-f(r,s);return t(Math.abs(e-o)-function(u,h,g){for(var A=0,w=u-f(g,u),x=h-f(g,h),C=0;C<Math.abs(w-x);C++){var T=d(u,h)==="A"?-1:1,O=g.buffer.lines.get(w+T*C);O&&O.isWrapped&&A++}return A}(a,s,r),n(d(a,s),c))}function f(a,s){for(var r=0,c=a.buffer.lines.get(s),e=c&&c.isWrapped;e&&s>=0&&s<a.rows;)r++,e=(c=a.buffer.lines.get(--s))&&c.isWrapped;return r}function d(a,s){return a>s?"A":"B"}function l(a,s,r,c,e,o){for(var u=a,h=s,g="";u!==r||h!==c;)u+=e?1:-1,e&&u>o.cols-1?(g+=o.buffer.translateBufferLineToString(h,!1,a,u),u=0,a=0,h++):!e&&u<0&&(g+=o.buffer.translateBufferLineToString(h,!1,0,a+1),a=u=o.cols-1,h--);return g+o.buffer.translateBufferLineToString(h,!1,a,u)}function n(a,s){var r=s?"O":"[";return p.C0.ESC+r+a}function t(a,s){a=Math.floor(a);for(var r="",c=0;c<a;c++)r+=s;return r}m.moveToCellSequence=function(a,s,r,c){var e,o=r.buffer.x,u=r.buffer.y;if(!r.buffer.hasScrollback)return function(g,A,w,x,C,T){return v(A,x,C,T).length===0?"":t(l(g,A,g,A-f(C,A),!1,C).length,n("D",T))}(o,u,0,s,r,c)+v(u,s,r,c)+function(g,A,w,x,C,T){var O;O=v(A,x,C,T).length>0?x-f(C,x):A;var S=x,_=function(L,D,F,j,k,K){var Z;return Z=v(F,j,k,K).length>0?j-f(k,j):D,L<F&&Z<=j||L>=F&&Z<j?"C":"D"}(g,A,w,x,C,T);return t(l(g,O,w,S,_==="C",C).length,n(_,T))}(o,u,a,s,r,c);if(u===s)return e=o>a?"D":"C",t(Math.abs(o-a),n(e,c));e=u>s?"D":"C";var h=Math.abs(u-s);return t(function(g,A){return A.cols-g}(u>s?a:o,r)+(h-1)*r.cols+1+((u>s?o:a)-1),n(e,c))}},function(y,m,E){"use strict";var p=this&&this.__decorate||function(l,n,t,a){var s,r=arguments.length,c=r<3?n:a===null?a=Object.getOwnPropertyDescriptor(n,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(l,n,t,a);else for(var e=l.length-1;e>=0;e--)(s=l[e])&&(c=(r<3?s(c):r>3?s(n,t,c):s(n,t))||c);return r>3&&c&&Object.defineProperty(n,t,c),c},v=this&&this.__param||function(l,n){return function(t,a){n(t,a,l)}};Object.defineProperty(m,"__esModule",{value:!0}),m.SoundService=void 0;var f=E(1),d=function(){function l(n){this._optionsService=n}return Object.defineProperty(l,"audioContext",{get:function(){if(!l._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;l._audioContext=new t}return l._audioContext},enumerable:!1,configurable:!0}),l.prototype.playBellSound=function(){var n=l.audioContext;if(n){var t=n.createBufferSource();n.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(a){t.buffer=a,t.connect(n.destination),t.start(0)})}},l.prototype._base64ToArrayBuffer=function(n){for(var t=window.atob(n),a=t.length,s=new Uint8Array(a),r=0;r<a;r++)s[r]=t.charCodeAt(r);return s.buffer},l.prototype._removeMimeType=function(n){return n.split(",")[1]},l=p([v(0,f.IOptionsService)],l)}();m.SoundService=d},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),f=this&&this.__decorate||function(r,c,e,o){var u,h=arguments.length,g=h<3?c:o===null?o=Object.getOwnPropertyDescriptor(c,e):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,o);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},d=this&&this.__param||function(r,c){return function(e,o){c(e,o,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.MouseZoneManager=void 0;var l=E(2),n=E(7),t=E(5),a=E(1),s=function(r){function c(e,o,u,h,g,A){var w=r.call(this)||this;return w._element=e,w._screenElement=o,w._bufferService=u,w._mouseService=h,w._selectionService=g,w._optionsService=A,w._zones=[],w._areZonesActive=!1,w._lastHoverCoords=[void 0,void 0],w._initialSelectionLength=0,w.register(n.addDisposableDomListener(w._element,"mousedown",function(x){return w._onMouseDown(x)})),w._mouseMoveListener=function(x){return w._onMouseMove(x)},w._mouseLeaveListener=function(x){return w._onMouseLeave(x)},w._clickListener=function(x){return w._onClick(x)},w}return v(c,r),c.prototype.dispose=function(){r.prototype.dispose.call(this),this._deactivate()},c.prototype.add=function(e){this._zones.push(e),this._zones.length===1&&this._activate()},c.prototype.clearAll=function(e,o){if(this._zones.length!==0){e&&o||(e=0,o=this._bufferService.rows-1);for(var u=0;u<this._zones.length;u++){var h=this._zones[u];(h.y1>e&&h.y1<=o+1||h.y2>e&&h.y2<=o+1||h.y1<e&&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()}},c.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},c.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},c.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},c.prototype._onHover=function(e){var o=this,u=this._findZoneEventAt(e);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(e),this._tooltipTimeout=window.setTimeout(function(){return o._onTooltip(e)},this._optionsService.options.linkTooltipHoverDuration)))},c.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var o=this._findZoneEventAt(e);o&&o.tooltipCallback&&o.tooltipCallback(e)},c.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var o=this._findZoneEventAt(e);(o==null?void 0:o.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},c.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},c.prototype._onClick=function(e){var o=this._findZoneEventAt(e),u=this._getSelectionLength();o&&u===this._initialSelectionLength&&(o.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},c.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},c.prototype._findZoneEventAt=function(e){var o=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(o)for(var u=o[0],h=o[1],g=0;g<this._zones.length;g++){var A=this._zones[g];if(A.y1===A.y2){if(h===A.y1&&u>=A.x1&&u<A.x2)return A}else if(h===A.y1&&u>=A.x1||h===A.y2&&u<A.x2||h>A.y1&&h<A.y2)return A}},c=f([d(2,a.IBufferService),d(3,t.IMouseService),d(4,t.ISelectionService),d(5,a.IOptionsService)],c)}(l.Disposable);m.MouseZoneManager=s},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(e,o){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,h){u.__proto__=h}||function(u,h){for(var g in h)h.hasOwnProperty(g)&&(u[g]=h[g])})(e,o)},function(c,e){function o(){this.constructor=c}p(c,e),c.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(m,"__esModule",{value:!0}),m.AccessibilityManager=void 0;var f=E(18),d=E(11),l=E(31),n=E(7),t=E(2),a=E(32),s=E(17),r=function(c){function e(o,u){var h=c.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 g=0;g<h._terminal.rows;g++)h._rowElements[g]=h._createAccessibilityTreeNode(),h._rowContainer.appendChild(h._rowElements[g]);if(h._topBoundaryFocusListener=function(A){return h._onBoundaryFocus(A,0)},h._bottomBoundaryFocusListener=function(A){return h._onBoundaryFocus(A,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 l.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(A){return h._onResize(A.rows)})),h.register(h._terminal.onRender(function(A){return h._refreshRows(A.start,A.end)})),h.register(h._terminal.onScroll(function(){return h._refreshRows()})),h.register(h._terminal.onA11yChar(function(A){return h._onChar(A)})),h.register(h._terminal.onLineFeed(function(){return h._onChar(`
|
|
|
`)})),h.register(h._terminal.onA11yTab(function(A){return h._onTab(A)})),h.register(h._terminal.onKey(function(A){return h._onKey(A.key)})),h.register(h._terminal.onBlur(function(){return h._clearLiveRegion()})),h.register(h._renderService.onDimensionsChange(function(){return h._refreshRowsDimensions()})),h._screenDprMonitor=new a.ScreenDprMonitor,h.register(h._screenDprMonitor),h._screenDprMonitor.setListener(function(){return h._refreshRowsDimensions()}),h.register(n.addDisposableDomListener(window,"resize",function(){return h._refreshRowsDimensions()})),h}return v(e,c),e.prototype.dispose=function(){c.prototype.dispose.call(this),s.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},e.prototype._onBoundaryFocus=function(o,u){var h=o.target,g=this._rowElements[u===0?1:this._rowElements.length-2];if(h.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&o.relatedTarget===g){var A,w;if(u===0?(A=h,w=this._rowElements.pop(),this._rowContainer.removeChild(w)):(A=this._rowElements.shift(),w=h,this._rowContainer.removeChild(A)),A.removeEventListener("focus",this._topBoundaryFocusListener),w.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var x=this._createAccessibilityTreeNode();this._rowElements.unshift(x),this._rowContainer.insertAdjacentElement("afterbegin",x)}else x=this._createAccessibilityTreeNode(),this._rowElements.push(x),this._rowContainer.appendChild(x);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()}},e.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()},e.prototype._createAccessibilityTreeNode=function(){var o=document.createElement("div");return o.setAttribute("role","listitem"),o.tabIndex=-1,this._refreshRowDimensions(o),o},e.prototype._onTab=function(o){for(var u=0;u<o;u++)this._onChar(" ")},e.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+=f.tooMuchOutput)),d.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){u._accessibilityTreeRoot.appendChild(u._liveRegion)},0))},e.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,d.isMac&&s.removeElementFromParent(this._liveRegion)},e.prototype._onKey=function(o){this._clearLiveRegion(),this._charsToConsume.push(o)},e.prototype._refreshRows=function(o,u){this._renderRowsDebouncer.refresh(o,u,this._terminal.rows)},e.prototype._renderRows=function(o,u){for(var h=this._terminal.buffer,g=h.lines.length.toString(),A=o;A<=u;A++){var w=h.translateBufferLineToString(h.ydisp+A,!0),x=(h.ydisp+A+1).toString(),C=this._rowElements[A];C&&(w.length===0?C.innerHTML=" ":C.textContent=w,C.setAttribute("aria-posinset",x),C.setAttribute("aria-setsize",g))}this._announceCharacters()},e.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])}},e.prototype._refreshRowDimensions=function(o){o.style.height=this._renderService.dimensions.actualCellHeight+"px"},e.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},e}(t.Disposable);m.AccessibilityManager=r},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(g,A){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,x){w.__proto__=x}||function(w,x){for(var C in x)x.hasOwnProperty(C)&&(w[C]=x[C])})(g,A)},function(h,g){function A(){this.constructor=h}p(h,g),h.prototype=g===null?Object.create(g):(A.prototype=g.prototype,new A)}),f=this&&this.__decorate||function(h,g,A,w){var x,C=arguments.length,T=C<3?g:w===null?w=Object.getOwnPropertyDescriptor(g,A):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(h,g,A,w);else for(var O=h.length-1;O>=0;O--)(x=h[O])&&(T=(C<3?x(T):C>3?x(g,A,T):x(g,A))||T);return C>3&&T&&Object.defineProperty(g,A,T),T},d=this&&this.__param||function(h,g){return function(A,w){g(A,w,h)}};Object.defineProperty(m,"__esModule",{value:!0}),m.DomRenderer=void 0;var l=E(58),n=E(9),t=E(2),a=E(5),s=E(1),r=E(0),c=E(10),e=E(17),o=1,u=function(h){function g(A,w,x,C,T,O,S,_,L){var D=h.call(this)||this;return D._colors=A,D._element=w,D._screenElement=x,D._viewportElement=C,D._linkifier=T,D._linkifier2=O,D._charSizeService=S,D._optionsService=_,D._bufferService=L,D._terminalClass=o++,D._rowElements=[],D._rowContainer=document.createElement("div"),D._rowContainer.classList.add("xterm-rows"),D._rowContainer.style.lineHeight="normal",D._rowContainer.setAttribute("aria-hidden","true"),D._refreshRowElements(D._bufferService.cols,D._bufferService.rows),D._selectionContainer=document.createElement("div"),D._selectionContainer.classList.add("xterm-selection"),D._selectionContainer.setAttribute("aria-hidden","true"),D.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},D._updateDimensions(),D._injectCss(),D._rowFactory=new l.DomRendererRowFactory(document,D._optionsService,D._colors),D._element.classList.add("xterm-dom-renderer-owner-"+D._terminalClass),D._screenElement.appendChild(D._rowContainer),D._screenElement.appendChild(D._selectionContainer),D._linkifier.onShowLinkUnderline(function(F){return D._onLinkHover(F)}),D._linkifier.onHideLinkUnderline(function(F){return D._onLinkLeave(F)}),D._linkifier2.onShowLinkUnderline(function(F){return D._onLinkHover(F)}),D._linkifier2.onHideLinkUnderline(function(F){return D._onLinkLeave(F)}),D}return v(g,h),Object.defineProperty(g.prototype,"onRequestRedraw",{get:function(){return new r.EventEmitter().event},enumerable:!1,configurable:!0}),g.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),e.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),h.prototype.dispose.call(this)},g.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 A=0,w=this._rowElements;A<w.length;A++){var x=w[A];x.style.width=this.dimensions.canvasWidth+"px",x.style.height=this.dimensions.actualCellHeight+"px",x.style.lineHeight=this.dimensions.actualCellHeight+"px",x.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var C=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=C,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},g.prototype.setColors=function(A){this._colors=A,this._injectCss()},g.prototype._injectCss=function(){var A=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var w=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";w+=this._terminalSelector+" span:not(."+l.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+l.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+l.ITALIC_CLASS+" { font-style: italic;}",w+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",w+="@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+"; }}",w+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+l.CURSOR_CLASS+"."+l.CURSOR_BLINK_CLASS+":not(."+l.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+l.CURSOR_CLASS+"."+l.CURSOR_BLINK_CLASS+"."+l.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",w+=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(x,C){w+=A._terminalSelector+" .xterm-fg-"+C+" { color: "+x.css+"; }"+A._terminalSelector+" .xterm-bg-"+C+" { background-color: "+x.css+"; }"}),w+=this._terminalSelector+" .xterm-fg-"+n.INVERTED_DEFAULT_COLOR+" { color: "+c.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+n.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=w},g.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},g.prototype._refreshRowElements=function(A,w){for(var x=this._rowElements.length;x<=w;x++){var C=document.createElement("div");this._rowContainer.appendChild(C),this._rowElements.push(C)}for(;this._rowElements.length>w;)this._rowContainer.removeChild(this._rowElements.pop())},g.prototype.onResize=function(A,w){this._refreshRowElements(A,w),this._updateDimensions()},g.prototype.onCharSizeChanged=function(){this._updateDimensions()},g.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},g.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},g.prototype.onSelectionChanged=function(A,w,x){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(A&&w){var C=A[1]-this._bufferService.buffer.ydisp,T=w[1]-this._bufferService.buffer.ydisp,O=Math.max(C,0),S=Math.min(T,this._bufferService.rows-1);if(!(O>=this._bufferService.rows||S<0)){var _=document.createDocumentFragment();if(x)_.appendChild(this._createSelectionElement(O,A[0],w[0],S-O+1));else{var L=C===O?A[0]:0,D=O===S?w[0]:this._bufferService.cols;_.appendChild(this._createSelectionElement(O,L,D));var F=S-O-1;if(_.appendChild(this._createSelectionElement(O+1,0,this._bufferService.cols,F)),O!==S){var j=T===S?w[0]:this._bufferService.cols;_.appendChild(this._createSelectionElement(S,0,j))}}this._selectionContainer.appendChild(_)}}},g.prototype._createSelectionElement=function(A,w,x,C){C===void 0&&(C=1);var T=document.createElement("div");return T.style.height=C*this.dimensions.actualCellHeight+"px",T.style.top=A*this.dimensions.actualCellHeight+"px",T.style.left=w*this.dimensions.actualCellWidth+"px",T.style.width=this.dimensions.actualCellWidth*(x-w)+"px",T},g.prototype.onCursorMove=function(){},g.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},g.prototype.clear=function(){for(var A=0,w=this._rowElements;A<w.length;A++)w[A].innerHTML=""},g.prototype.renderRows=function(A,w){for(var x=this._bufferService.buffer.ybase+this._bufferService.buffer.y,C=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),T=this._optionsService.options.cursorBlink,O=A;O<=w;O++){var S=this._rowElements[O];S.innerHTML="";var _=O+this._bufferService.buffer.ydisp,L=this._bufferService.buffer.lines.get(_),D=this._optionsService.options.cursorStyle;S.appendChild(this._rowFactory.createRow(L,_===x,D,C,T,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(g.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),g.prototype.registerCharacterJoiner=function(A){return-1},g.prototype.deregisterCharacterJoiner=function(A){return!1},g.prototype._onLinkHover=function(A){this._setCellUnderline(A.x1,A.x2,A.y1,A.y2,A.cols,!0)},g.prototype._onLinkLeave=function(A){this._setCellUnderline(A.x1,A.x2,A.y1,A.y2,A.cols,!1)},g.prototype._setCellUnderline=function(A,w,x,C,T,O){for(;A!==w||x!==C;){var S=this._rowElements[x];if(!S)return;var _=S.children[A];_&&(_.style.textDecoration=O?"underline":"none"),++A>=T&&(A=0,x++)}},g=f([d(6,a.ICharSizeService),d(7,s.IOptionsService),d(8,s.IBufferService)],g)}(t.Disposable);m.DomRenderer=u},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DomRendererRowFactory=m.CURSOR_STYLE_UNDERLINE_CLASS=m.CURSOR_STYLE_BAR_CLASS=m.CURSOR_STYLE_BLOCK_CLASS=m.CURSOR_BLINK_CLASS=m.CURSOR_CLASS=m.UNDERLINE_CLASS=m.ITALIC_CLASS=m.DIM_CLASS=m.BOLD_CLASS=void 0;var p=E(9),v=E(3),f=E(4),d=E(10);m.BOLD_CLASS="xterm-bold",m.DIM_CLASS="xterm-dim",m.ITALIC_CLASS="xterm-italic",m.UNDERLINE_CLASS="xterm-underline",m.CURSOR_CLASS="xterm-cursor",m.CURSOR_BLINK_CLASS="xterm-cursor-blink",m.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",m.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",m.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var l=function(){function t(a,s,r){this._document=a,this._optionsService=s,this._colors=r,this._workCell=new f.CellData}return t.prototype.setColors=function(a){this._colors=a},t.prototype.createRow=function(a,s,r,c,e,o,u){for(var h=this._document.createDocumentFragment(),g=0,A=Math.min(a.length,u)-1;A>=0;A--)if(a.loadCell(A,this._workCell).getCode()!==v.NULL_CELL_CODE||s&&A===c){g=A+1;break}for(A=0;A<g;A++){a.loadCell(A,this._workCell);var w=this._workCell.getWidth();if(w!==0){var x=this._document.createElement("span");if(w>1&&(x.style.width=o*w+"px"),s&&A===c)switch(x.classList.add(m.CURSOR_CLASS),e&&x.classList.add(m.CURSOR_BLINK_CLASS),r){case"bar":x.classList.add(m.CURSOR_STYLE_BAR_CLASS);break;case"underline":x.classList.add(m.CURSOR_STYLE_UNDERLINE_CLASS);break;default:x.classList.add(m.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&x.classList.add(m.BOLD_CLASS),this._workCell.isItalic()&&x.classList.add(m.ITALIC_CLASS),this._workCell.isDim()&&x.classList.add(m.DIM_CLASS),this._workCell.isUnderline()&&x.classList.add(m.UNDERLINE_CLASS),this._workCell.isInvisible()?x.textContent=v.WHITESPACE_CELL_CHAR:x.textContent=this._workCell.getChars()||v.WHITESPACE_CELL_CHAR;var C=this._workCell.getFgColor(),T=this._workCell.getFgColorMode(),O=this._workCell.getBgColor(),S=this._workCell.getBgColorMode(),_=!!this._workCell.isInverse();if(_){var L=C;C=O,O=L;var D=T;T=S,S=D}switch(T){case 16777216:case 33554432:this._workCell.isBold()&&C<8&&this._optionsService.options.drawBoldTextInBrightColors&&(C+=8),this._applyMinimumContrast(x,this._colors.background,this._colors.ansi[C])||x.classList.add("xterm-fg-"+C);break;case 50331648:var F=d.rgba.toColor(C>>16&255,C>>8&255,255&C);this._applyMinimumContrast(x,this._colors.background,F)||this._addStyle(x,"color:#"+n(C.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(x,this._colors.background,this._colors.foreground)||_&&x.classList.add("xterm-fg-"+p.INVERTED_DEFAULT_COLOR)}switch(S){case 16777216:case 33554432:x.classList.add("xterm-bg-"+O);break;case 50331648:this._addStyle(x,"background-color:#"+n(O.toString(16),"0",6));break;case 0:default:_&&x.classList.add("xterm-bg-"+p.INVERTED_DEFAULT_COLOR)}h.appendChild(x)}}return h},t.prototype._applyMinimumContrast=function(a,s,r){if(this._optionsService.options.minimumContrastRatio===1)return!1;var c=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return c===void 0&&(c=d.color.ensureContrastRatio(s,r,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,c!=null?c:null)),!!c&&(this._addStyle(a,"color:"+c.css),!0)},t.prototype._addStyle=function(a,s){a.setAttribute("style",""+(a.getAttribute("style")||"")+s+";")},t}();function n(t,a,s){for(;t.length<s;)t=a+t;return t}m.DomRendererRowFactory=l},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.evaluateKeyboardEvent=void 0;var p=E(12),v={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};m.evaluateKeyboardEvent=function(f,d,l,n){var t={type:0,cancel:!1,key:void 0},a=(f.shiftKey?1:0)|(f.altKey?2:0)|(f.ctrlKey?4:0)|(f.metaKey?8:0);switch(f.keyCode){case 0:f.key==="UIKeyInputUpArrow"?t.key=d?p.C0.ESC+"OA":p.C0.ESC+"[A":f.key==="UIKeyInputLeftArrow"?t.key=d?p.C0.ESC+"OD":p.C0.ESC+"[D":f.key==="UIKeyInputRightArrow"?t.key=d?p.C0.ESC+"OC":p.C0.ESC+"[C":f.key==="UIKeyInputDownArrow"&&(t.key=d?p.C0.ESC+"OB":p.C0.ESC+"[B");break;case 8:if(f.shiftKey){t.key=p.C0.BS;break}if(f.altKey){t.key=p.C0.ESC+p.C0.DEL;break}t.key=p.C0.DEL;break;case 9:if(f.shiftKey){t.key=p.C0.ESC+"[Z";break}t.key=p.C0.HT,t.cancel=!0;break;case 13:t.key=f.altKey?p.C0.ESC+p.C0.CR:p.C0.CR,t.cancel=!0;break;case 27:t.key=p.C0.ESC,f.altKey&&(t.key=p.C0.ESC+p.C0.ESC),t.cancel=!0;break;case 37:if(f.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"D",t.key===p.C0.ESC+"[1;3D"&&(t.key=p.C0.ESC+(l?"b":"[1;5D"))):t.key=d?p.C0.ESC+"OD":p.C0.ESC+"[D";break;case 39:if(f.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"C",t.key===p.C0.ESC+"[1;3C"&&(t.key=p.C0.ESC+(l?"f":"[1;5C"))):t.key=d?p.C0.ESC+"OC":p.C0.ESC+"[C";break;case 38:if(f.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"A",l||t.key!==p.C0.ESC+"[1;3A"||(t.key=p.C0.ESC+"[1;5A")):t.key=d?p.C0.ESC+"OA":p.C0.ESC+"[A";break;case 40:if(f.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"B",l||t.key!==p.C0.ESC+"[1;3B"||(t.key=p.C0.ESC+"[1;5B")):t.key=d?p.C0.ESC+"OB":p.C0.ESC+"[B";break;case 45:f.shiftKey||f.ctrlKey||(t.key=p.C0.ESC+"[2~");break;case 46:t.key=a?p.C0.ESC+"[3;"+(a+1)+"~":p.C0.ESC+"[3~";break;case 36:t.key=a?p.C0.ESC+"[1;"+(a+1)+"H":d?p.C0.ESC+"OH":p.C0.ESC+"[H";break;case 35:t.key=a?p.C0.ESC+"[1;"+(a+1)+"F":d?p.C0.ESC+"OF":p.C0.ESC+"[F";break;case 33:f.shiftKey?t.type=2:t.key=p.C0.ESC+"[5~";break;case 34:f.shiftKey?t.type=3:t.key=p.C0.ESC+"[6~";break;case 112:t.key=a?p.C0.ESC+"[1;"+(a+1)+"P":p.C0.ESC+"OP";break;case 113:t.key=a?p.C0.ESC+"[1;"+(a+1)+"Q":p.C0.ESC+"OQ";break;case 114:t.key=a?p.C0.ESC+"[1;"+(a+1)+"R":p.C0.ESC+"OR";break;case 115:t.key=a?p.C0.ESC+"[1;"+(a+1)+"S":p.C0.ESC+"OS";break;case 116:t.key=a?p.C0.ESC+"[15;"+(a+1)+"~":p.C0.ESC+"[15~";break;case 117:t.key=a?p.C0.ESC+"[17;"+(a+1)+"~":p.C0.ESC+"[17~";break;case 118:t.key=a?p.C0.ESC+"[18;"+(a+1)+"~":p.C0.ESC+"[18~";break;case 119:t.key=a?p.C0.ESC+"[19;"+(a+1)+"~":p.C0.ESC+"[19~";break;case 120:t.key=a?p.C0.ESC+"[20;"+(a+1)+"~":p.C0.ESC+"[20~";break;case 121:t.key=a?p.C0.ESC+"[21;"+(a+1)+"~":p.C0.ESC+"[21~";break;case 122:t.key=a?p.C0.ESC+"[23;"+(a+1)+"~":p.C0.ESC+"[23~";break;case 123:t.key=a?p.C0.ESC+"[24;"+(a+1)+"~":p.C0.ESC+"[24~";break;default:if(!f.ctrlKey||f.shiftKey||f.altKey||f.metaKey)if(l&&!n||!f.altKey||f.metaKey)l&&!f.altKey&&!f.ctrlKey&&f.metaKey?f.keyCode===65&&(t.type=1):f.key&&!f.ctrlKey&&!f.altKey&&!f.metaKey&&f.keyCode>=48&&f.key.length===1?t.key=f.key:f.key&&f.ctrlKey&&f.key==="_"&&(t.key=p.C0.US);else{var s=v[f.keyCode],r=s&&s[f.shiftKey?1:0];if(r)t.key=p.C0.ESC+r;else if(f.keyCode>=65&&f.keyCode<=90){var c=f.ctrlKey?f.keyCode-64:f.keyCode+32;t.key=p.C0.ESC+String.fromCharCode(c)}}else f.keyCode>=65&&f.keyCode<=90?t.key=String.fromCharCode(f.keyCode-64):f.keyCode===32?t.key=p.C0.NUL:f.keyCode>=51&&f.keyCode<=55?t.key=String.fromCharCode(f.keyCode-51+27):f.keyCode===56?t.key=p.C0.DEL:f.keyCode===219?t.key=p.C0.ESC:f.keyCode===220?t.key=p.C0.FS:f.keyCode===221&&(t.key=p.C0.GS)}return t}},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(u,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,A){g.__proto__=A}||function(g,A){for(var w in A)A.hasOwnProperty(w)&&(g[w]=A[w])})(u,h)},function(o,u){function h(){this.constructor=o}p(o,u),o.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}),f=this&&this.__decorate||function(o,u,h,g){var A,w=arguments.length,x=w<3?u:g===null?g=Object.getOwnPropertyDescriptor(u,h):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(o,u,h,g);else for(var C=o.length-1;C>=0;C--)(A=o[C])&&(x=(w<3?A(x):w>3?A(u,h,x):A(u,h))||x);return w>3&&x&&Object.defineProperty(u,h,x),x},d=this&&this.__param||function(o,u){return function(h,g){u(h,g,o)}};Object.defineProperty(m,"__esModule",{value:!0}),m.RenderService=void 0;var l=E(31),n=E(0),t=E(2),a=E(32),s=E(7),r=E(1),c=E(5),e=function(o){function u(h,g,A,w,x,C){var T=o.call(this)||this;if(T._renderer=h,T._rowCount=g,T._isPaused=!1,T._needsFullRefresh=!1,T._isNextRenderRedrawOnly=!0,T._needsSelectionRefresh=!1,T._canvasWidth=0,T._canvasHeight=0,T._selectionState={start:void 0,end:void 0,columnSelectMode:!1},T._onDimensionsChange=new n.EventEmitter,T._onRender=new n.EventEmitter,T._onRefreshRequest=new n.EventEmitter,T.register({dispose:function(){return T._renderer.dispose()}}),T._renderDebouncer=new l.RenderDebouncer(function(S,_){return T._renderRows(S,_)}),T.register(T._renderDebouncer),T._screenDprMonitor=new a.ScreenDprMonitor,T._screenDprMonitor.setListener(function(){return T.onDevicePixelRatioChange()}),T.register(T._screenDprMonitor),T.register(C.onResize(function(S){return T._fullRefresh()})),T.register(w.onOptionChange(function(){return T._renderer.onOptionsChanged()})),T.register(x.onCharSizeChange(function(){return T.onCharSizeChanged()})),T._renderer.onRequestRedraw(function(S){return T.refreshRows(S.start,S.end,!0)}),T.register(s.addDisposableDomListener(window,"resize",function(){return T.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var O=new IntersectionObserver(function(S){return T._onIntersectionChange(S[S.length-1])},{threshold:0});O.observe(A),T.register({dispose:function(){return O.disconnect()}})}return T}return v(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,g,A){A===void 0&&(A=!1),this._isPaused?this._needsFullRefresh=!0:(A||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(h,g,this._rowCount))},u.prototype._renderRows=function(h,g){this._renderer.renderRows(h,g),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:g}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(h,g){this._rowCount=g,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 g=this;this._renderer.dispose(),this._renderer=h,this._renderer.onRequestRedraw(function(A){return g.refreshRows(A.start,A.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,g){this._renderer.onResize(h,g),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,g,A){this._selectionState.start=h,this._selectionState.end=g,this._selectionState.columnSelectMode=A,this._renderer.onSelectionChanged(h,g,A)},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=f([d(3,r.IOptionsService),d(4,c.ICharSizeService),d(5,r.IBufferService)],u)}(t.Disposable);m.RenderService=e},function(y,m,E){"use strict";var p=this&&this.__decorate||function(t,a,s,r){var c,e=arguments.length,o=e<3?a:r===null?r=Object.getOwnPropertyDescriptor(a,s):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,a,s,r);else for(var u=t.length-1;u>=0;u--)(c=t[u])&&(o=(e<3?c(o):e>3?c(a,s,o):c(a,s))||o);return e>3&&o&&Object.defineProperty(a,s,o),o},v=this&&this.__param||function(t,a){return function(s,r){a(s,r,t)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CharSizeService=void 0;var f=E(1),d=E(0),l=function(){function t(a,s,r){this._optionsService=r,this.width=0,this.height=0,this._onCharSizeChange=new d.EventEmitter,this._measureStrategy=new n(a,s,this._optionsService)}return Object.defineProperty(t.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),t.prototype.measure=function(){var a=this._measureStrategy.measure();a.width===this.width&&a.height===this.height||(this.width=a.width,this.height=a.height,this._onCharSizeChange.fire())},t=p([v(2,f.IOptionsService)],t)}();m.CharSizeService=l;var n=function(){function t(a,s,r){this._document=a,this._parentElement=s,this._optionsService=r,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return t.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var a=this._measureElement.getBoundingClientRect();return a.width!==0&&a.height!==0&&(this._result.width=a.width,this._result.height=Math.ceil(a.height)),this._result},t}()},function(y,m,E){"use strict";var p=this&&this.__decorate||function(n,t,a,s){var r,c=arguments.length,e=c<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,a):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(n,t,a,s);else for(var o=n.length-1;o>=0;o--)(r=n[o])&&(e=(c<3?r(e):c>3?r(t,a,e):r(t,a))||e);return c>3&&e&&Object.defineProperty(t,a,e),e},v=this&&this.__param||function(n,t){return function(a,s){t(a,s,n)}};Object.defineProperty(m,"__esModule",{value:!0}),m.MouseService=void 0;var f=E(5),d=E(30),l=function(){function n(t,a){this._renderService=t,this._charSizeService=a}return n.prototype.getCoords=function(t,a,s,r,c){return d.getCoords(t,a,s,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,c)},n.prototype.getRawByteCoords=function(t,a,s,r){var c=this.getCoords(t,a,s,r);return d.getRawByteCoords(c)},n=p([v(0,f.IRenderService),v(1,f.ICharSizeService)],n)}();m.MouseService=l},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),f=this&&this.__decorate||function(r,c,e,o){var u,h=arguments.length,g=h<3?c:o===null?o=Object.getOwnPropertyDescriptor(c,e):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,o);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},d=this&&this.__param||function(r,c){return function(e,o){c(e,o,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.Linkifier2=void 0;var l=E(1),n=E(0),t=E(2),a=E(7),s=function(r){function c(e){var o=r.call(this)||this;return o._bufferService=e,o._linkProviders=[],o._linkCacheDisposables=[],o._isMouseOut=!0,o._activeLine=-1,o._onShowLinkUnderline=o.register(new n.EventEmitter),o._onHideLinkUnderline=o.register(new n.EventEmitter),o.register(t.getDisposeArrayDisposable(o._linkCacheDisposables)),o}return v(c,r),Object.defineProperty(c.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),c.prototype.registerLinkProvider=function(e){var o=this;return this._linkProviders.push(e),{dispose:function(){var h=o._linkProviders.indexOf(e);h!==-1&&o._linkProviders.splice(h,1)}}},c.prototype.attachToDom=function(e,o,u){var h=this;this._element=e,this._mouseService=o,this._renderService=u,this.register(a.addDisposableDomListener(this._element,"mouseleave",function(){h._isMouseOut=!0,h._clearCurrentLink()})),this.register(a.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(a.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},c.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var o=this._positionFromMouseEvent(e,this._element,this._mouseService);if(o){this._isMouseOut=!1;for(var u=e.composedPath(),h=0;h<u.length;h++){var g=u[h];if(g.classList.contains("xterm"))break;if(g.classList.contains("xterm-hover"))return}this._lastBufferCell&&o.x===this._lastBufferCell.x&&o.y===this._lastBufferCell.y||(this._onHover(o),this._lastBufferCell=o)}}},c.prototype._onHover=function(e){if(this._activeLine!==e.y)return this._clearCurrentLink(),void this._askForLink(e,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))},c.prototype._askForLink=function(e,o){var u=this;this._activeProviderReplies&&o||(this._activeProviderReplies=new Map,this._activeLine=e.y);var h=!1;this._linkProviders.forEach(function(g,A){var w;o?((w=u._activeProviderReplies)===null||w===void 0?void 0:w.get(A))&&(h=u._checkLinkProviderResult(A,e,h)):g.provideLinks(e.y,function(x){var C,T;if(!u._isMouseOut){var O=x==null?void 0:x.map(function(S){return{link:S}});(C=u._activeProviderReplies)===null||C===void 0||C.set(A,O),h=u._checkLinkProviderResult(A,e,h),((T=u._activeProviderReplies)===null||T===void 0?void 0:T.size)===u._linkProviders.length&&u._removeIntersectingLinks(e.y,u._activeProviderReplies)}})})},c.prototype._removeIntersectingLinks=function(e,o){for(var u=new Set,h=0;h<o.size;h++){var g=o.get(h);if(g)for(var A=0;A<g.length;A++)for(var w=g[A],x=w.link.range.start.y<e?0:w.link.range.start.x,C=w.link.range.end.y>e?this._bufferService.cols:w.link.range.end.x,T=x;T<=C;T++){if(u.has(T)){g.splice(A--,1);break}u.add(T)}}},c.prototype._checkLinkProviderResult=function(e,o,u){var h,g=this;if(!this._activeProviderReplies)return u;for(var A=this._activeProviderReplies.get(e),w=!1,x=0;x<e;x++)this._activeProviderReplies.has(x)&&!this._activeProviderReplies.get(x)||(w=!0);if(!w&&A){var C=A.find(function(O){return g._linkAtPosition(O.link,o)});C&&(u=!0,this._handleNewLink(C))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(x=0;x<this._activeProviderReplies.size;x++){var T=(h=this._activeProviderReplies.get(x))===null||h===void 0?void 0:h.find(function(O){return g._linkAtPosition(O.link,o)});if(T){u=!0,this._handleNewLink(T);break}}return u},c.prototype._onClick=function(e){if(this._element&&this._mouseService&&this._currentLink){var o=this._positionFromMouseEvent(e,this._element,this._mouseService);o&&this._linkAtPosition(this._currentLink.link,o)&&this._currentLink.link.activate(e,this._currentLink.link.text)}},c.prototype._clearCurrentLink=function(e,o){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!o||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=o)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,t.disposeArray(this._linkCacheDisposables))},c.prototype._handleNewLink=function(e){var o=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var u=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);u&&this._linkAtPosition(e.link,u)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:e.link.decorations===void 0||e.link.decorations.underline,pointerCursor:e.link.decorations===void 0||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var g,A;return(A=(g=o._currentLink)===null||g===void 0?void 0:g.state)===null||A===void 0?void 0:A.decorations.pointerCursor},set:function(g){var A,w;((A=o._currentLink)===null||A===void 0?void 0:A.state)&&o._currentLink.state.decorations.pointerCursor!==g&&(o._currentLink.state.decorations.pointerCursor=g,o._currentLink.state.isHovered&&((w=o._element)===null||w===void 0||w.classList.toggle("xterm-cursor-pointer",g)))}},underline:{get:function(){var g,A;return(A=(g=o._currentLink)===null||g===void 0?void 0:g.state)===null||A===void 0?void 0:A.decorations.underline},set:function(g){var A,w,x;((A=o._currentLink)===null||A===void 0?void 0:A.state)&&((x=(w=o._currentLink)===null||w===void 0?void 0:w.state)===null||x===void 0?void 0:x.decorations.underline)!==g&&(o._currentLink.state.decorations.underline=g,o._currentLink.state.isHovered&&o._fireUnderlineEvent(e.link,g))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(h){var g=h.start===0?0:h.start+1+o._bufferService.buffer.ydisp;o._clearCurrentLink(g,h.end+1+o._bufferService.buffer.ydisp)})))}},c.prototype._linkHover=function(e,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&&e.classList.add("xterm-cursor-pointer")),o.hover&&o.hover(u,o.text)},c.prototype._fireUnderlineEvent=function(e,o){var u=e.range,h=this._bufferService.buffer.ydisp,g=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(g)},c.prototype._linkLeave=function(e,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&&e.classList.remove("xterm-cursor-pointer")),o.leave&&o.leave(u,o.text)},c.prototype._linkAtPosition=function(e,o){var u=e.range.start.y===e.range.end.y,h=e.range.start.y<o.y,g=e.range.end.y>o.y;return(u&&e.range.start.x<=o.x&&e.range.end.x>=o.x||h&&e.range.end.x>=o.x||g&&e.range.start.x<=o.x||h&&g)&&e.range.start.y<=o.y&&e.range.end.y>=o.y},c.prototype._positionFromMouseEvent=function(e,o,u){var h=u.getCoords(e,o,this._bufferService.cols,this._bufferService.rows);if(h)return{x:h[0],y:h[1]+this._bufferService.buffer.ydisp}},c.prototype._createLinkUnderlineEvent=function(e,o,u,h,g){return{x1:e,y1:o,x2:u,y2:h,cols:this._bufferService.cols,fg:g}},c=f([d(0,l.IBufferService)],c)}(t.Disposable);m.Linkifier2=s},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CoreBrowserService=void 0;var p=function(){function v(f){this._textarea=f}return Object.defineProperty(v.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),v}();m.CoreBrowserService=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(C,T){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,S){O.__proto__=S}||function(O,S){for(var _ in S)S.hasOwnProperty(_)&&(O[_]=S[_])})(C,T)},function(x,C){function T(){this.constructor=x}p(x,C),x.prototype=C===null?Object.create(C):(T.prototype=C.prototype,new T)});Object.defineProperty(m,"__esModule",{value:!0}),m.CoreTerminal=void 0;var f=E(2),d=E(1),l=E(66),n=E(67),t=E(68),a=E(74),s=E(75),r=E(0),c=E(76),e=E(77),o=E(78),u=E(80),h=E(81),g=E(19),A=E(82),w=function(x){function C(T){var O=x.call(this)||this;return O._onBinary=new r.EventEmitter,O._onData=new r.EventEmitter,O._onLineFeed=new r.EventEmitter,O._onResize=new r.EventEmitter,O._onScroll=new r.EventEmitter,O._instantiationService=new l.InstantiationService,O.optionsService=new a.OptionsService(T),O._instantiationService.setService(d.IOptionsService,O.optionsService),O._bufferService=O.register(O._instantiationService.createInstance(t.BufferService)),O._instantiationService.setService(d.IBufferService,O._bufferService),O._logService=O._instantiationService.createInstance(n.LogService),O._instantiationService.setService(d.ILogService,O._logService),O._coreService=O.register(O._instantiationService.createInstance(s.CoreService,function(){return O.scrollToBottom()})),O._instantiationService.setService(d.ICoreService,O._coreService),O._coreMouseService=O._instantiationService.createInstance(c.CoreMouseService),O._instantiationService.setService(d.ICoreMouseService,O._coreMouseService),O._dirtyRowService=O._instantiationService.createInstance(e.DirtyRowService),O._instantiationService.setService(d.IDirtyRowService,O._dirtyRowService),O.unicodeService=O._instantiationService.createInstance(o.UnicodeService),O._instantiationService.setService(d.IUnicodeService,O.unicodeService),O._charsetService=O._instantiationService.createInstance(u.CharsetService),O._instantiationService.setService(d.ICharsetService,O._charsetService),O._inputHandler=new g.InputHandler(O._bufferService,O._charsetService,O._coreService,O._dirtyRowService,O._logService,O.optionsService,O._coreMouseService,O.unicodeService),O.register(r.forwardEvent(O._inputHandler.onLineFeed,O._onLineFeed)),O.register(O._inputHandler),O.register(r.forwardEvent(O._bufferService.onResize,O._onResize)),O.register(r.forwardEvent(O._coreService.onData,O._onData)),O.register(r.forwardEvent(O._coreService.onBinary,O._onBinary)),O.register(O.optionsService.onOptionChange(function(S){return O._updateOptions(S)})),O._writeBuffer=new A.WriteBuffer(function(S){return O._inputHandler.parse(S)}),O}return v(C,x),Object.defineProperty(C.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),C.prototype.dispose=function(){var T;this._isDisposed||(x.prototype.dispose.call(this),(T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)},C.prototype.write=function(T,O){this._writeBuffer.write(T,O)},C.prototype.writeSync=function(T){this._writeBuffer.writeSync(T)},C.prototype.resize=function(T,O){isNaN(T)||isNaN(O)||(T=Math.max(T,t.MINIMUM_COLS),O=Math.max(O,t.MINIMUM_ROWS),this._bufferService.resize(T,O))},C.prototype.scroll=function(T,O){O===void 0&&(O=!1);var S,_=this._bufferService.buffer;(S=this._cachedBlankLine)&&S.length===this.cols&&S.getFg(0)===T.fg&&S.getBg(0)===T.bg||(S=_.getBlankLine(T,O),this._cachedBlankLine=S),S.isWrapped=O;var L=_.ybase+_.scrollTop,D=_.ybase+_.scrollBottom;if(_.scrollTop===0){var F=_.lines.isFull;D===_.lines.length-1?F?_.lines.recycle().copyFrom(S):_.lines.push(S.clone()):_.lines.splice(D+1,0,S.clone()),F?this._bufferService.isUserScrolling&&(_.ydisp=Math.max(_.ydisp-1,0)):(_.ybase++,this._bufferService.isUserScrolling||_.ydisp++)}else{var j=D-L+1;_.lines.shiftElements(L+1,j-1,-1),_.lines.set(D,S.clone())}this._bufferService.isUserScrolling||(_.ydisp=_.ybase),this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom),this._onScroll.fire(_.ydisp)},C.prototype.scrollLines=function(T,O){var S=this._bufferService.buffer;if(T<0){if(S.ydisp===0)return;this._bufferService.isUserScrolling=!0}else T+S.ydisp>=S.ybase&&(this._bufferService.isUserScrolling=!1);var _=S.ydisp;S.ydisp=Math.max(Math.min(S.ydisp+T,S.ybase),0),_!==S.ydisp&&(O||this._onScroll.fire(S.ydisp))},C.prototype.scrollPages=function(T){this.scrollLines(T*(this.rows-1))},C.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},C.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},C.prototype.scrollToLine=function(T){var O=T-this._bufferService.buffer.ydisp;O!==0&&this.scrollLines(O)},C.prototype.addEscHandler=function(T,O){return this._inputHandler.addEscHandler(T,O)},C.prototype.addDcsHandler=function(T,O){return this._inputHandler.addDcsHandler(T,O)},C.prototype.addCsiHandler=function(T,O){return this._inputHandler.addCsiHandler(T,O)},C.prototype.addOscHandler=function(T,O){return this._inputHandler.addOscHandler(T,O)},C.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},C.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},C.prototype._updateOptions=function(T){var O;switch(T){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((O=this._windowsMode)===null||O===void 0||O.dispose(),this._windowsMode=void 0)}},C.prototype._enableWindowsMode=function(){var T=this;if(!this._windowsMode){var O=[];O.push(this.onLineFeed(h.updateWindowsModeWrappedState.bind(null,this._bufferService))),O.push(this.addCsiHandler({final:"H"},function(){return h.updateWindowsModeWrappedState(T._bufferService),!1})),this._windowsMode={dispose:function(){for(var _=0,L=O;_<L.length;_++)L[_].dispose()}}}},C}(f.Disposable);m.CoreTerminal=w},function(y,m,E){"use strict";var p=this&&this.__spreadArrays||function(){for(var n=0,t=0,a=arguments.length;t<a;t++)n+=arguments[t].length;var s=Array(n),r=0;for(t=0;t<a;t++)for(var c=arguments[t],e=0,o=c.length;e<o;e++,r++)s[r]=c[e];return s};Object.defineProperty(m,"__esModule",{value:!0}),m.InstantiationService=m.ServiceCollection=void 0;var v=E(1),f=E(14),d=function(){function n(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];this._entries=new Map;for(var s=0,r=t;s<r.length;s++){var c=r[s],e=c[0],o=c[1];this.set(e,o)}}return n.prototype.set=function(t,a){var s=this._entries.get(t);return this._entries.set(t,a),s},n.prototype.forEach=function(t){this._entries.forEach(function(a,s){return t(s,a)})},n.prototype.has=function(t){return this._entries.has(t)},n.prototype.get=function(t){return this._entries.get(t)},n}();m.ServiceCollection=d;var l=function(){function n(){this._services=new d,this._services.set(v.IInstantiationService,this)}return n.prototype.setService=function(t,a){this._services.set(t,a)},n.prototype.getService=function(t){return this._services.get(t)},n.prototype.createInstance=function(t){for(var a=[],s=1;s<arguments.length;s++)a[s-1]=arguments[s];for(var r=f.getServiceDependencies(t).sort(function(A,w){return A.index-w.index}),c=[],e=0,o=r;e<o.length;e++){var u=o[e],h=this._services.get(u.id);if(!h)throw new Error("[createInstance] "+t.name+" depends on UNKNOWN service "+u.id+".");c.push(h)}var g=r.length>0?r[0].index:a.length;if(a.length!==g)throw new Error("[createInstance] First service dependency of "+t.name+" at position "+(g+1)+" conflicts with "+a.length+" static arguments");return new(t.bind.apply(t,p([void 0],p(a,c))))},n}();m.InstantiationService=l},function(y,m,E){"use strict";var p=this&&this.__decorate||function(a,s,r,c){var e,o=arguments.length,u=o<3?s:c===null?c=Object.getOwnPropertyDescriptor(s,r):c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(a,s,r,c);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(u=(o<3?e(u):o>3?e(s,r,u):e(s,r))||u);return o>3&&u&&Object.defineProperty(s,r,u),u},v=this&&this.__param||function(a,s){return function(r,c){s(r,c,a)}},f=this&&this.__spreadArrays||function(){for(var a=0,s=0,r=arguments.length;s<r;s++)a+=arguments[s].length;var c=Array(a),e=0;for(s=0;s<r;s++)for(var o=arguments[s],u=0,h=o.length;u<h;u++,e++)c[e]=o[u];return c};Object.defineProperty(m,"__esModule",{value:!0}),m.LogService=m.LogLevel=void 0;var d,l=E(1);!function(a){a[a.DEBUG=0]="DEBUG",a[a.INFO=1]="INFO",a[a.WARN=2]="WARN",a[a.ERROR=3]="ERROR",a[a.OFF=4]="OFF"}(d=m.LogLevel||(m.LogLevel={}));var n={debug:d.DEBUG,info:d.INFO,warn:d.WARN,error:d.ERROR,off:d.OFF},t=function(){function a(s){var r=this;this._optionsService=s,this._updateLogLevel(),this._optionsService.onOptionChange(function(c){c==="logLevel"&&r._updateLogLevel()})}return a.prototype._updateLogLevel=function(){this._logLevel=n[this._optionsService.options.logLevel]},a.prototype._evalLazyOptionalParams=function(s){for(var r=0;r<s.length;r++)typeof s[r]=="function"&&(s[r]=s[r]())},a.prototype._log=function(s,r,c){this._evalLazyOptionalParams(c),s.call.apply(s,f([console,"xterm.js: "+r],c))},a.prototype.debug=function(s){for(var r=[],c=1;c<arguments.length;c++)r[c-1]=arguments[c];this._logLevel<=d.DEBUG&&this._log(console.log,s,r)},a.prototype.info=function(s){for(var r=[],c=1;c<arguments.length;c++)r[c-1]=arguments[c];this._logLevel<=d.INFO&&this._log(console.info,s,r)},a.prototype.warn=function(s){for(var r=[],c=1;c<arguments.length;c++)r[c-1]=arguments[c];this._logLevel<=d.WARN&&this._log(console.warn,s,r)},a.prototype.error=function(s){for(var r=[],c=1;c<arguments.length;c++)r[c-1]=arguments[c];this._logLevel<=d.ERROR&&this._log(console.error,s,r)},a=p([v(0,l.IOptionsService)],a)}();m.LogService=t},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),f=this&&this.__decorate||function(r,c,e,o){var u,h=arguments.length,g=h<3?c:o===null?o=Object.getOwnPropertyDescriptor(c,e):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,o);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},d=this&&this.__param||function(r,c){return function(e,o){c(e,o,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.BufferService=m.MINIMUM_ROWS=m.MINIMUM_COLS=void 0;var l=E(1),n=E(69),t=E(0),a=E(2);m.MINIMUM_COLS=2,m.MINIMUM_ROWS=1;var s=function(r){function c(e){var o=r.call(this)||this;return o._optionsService=e,o.isUserScrolling=!1,o._onResize=new t.EventEmitter,o.cols=Math.max(e.options.cols,m.MINIMUM_COLS),o.rows=Math.max(e.options.rows,m.MINIMUM_ROWS),o.buffers=new n.BufferSet(e,o),o}return v(c,r),Object.defineProperty(c.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),c.prototype.dispose=function(){r.prototype.dispose.call(this),this.buffers.dispose()},c.prototype.resize=function(e,o){this.cols=e,this.rows=o,this.buffers.resize(e,o),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:o})},c.prototype.reset=function(){this.buffers.dispose(),this.buffers=new n.BufferSet(this._optionsService,this),this.isUserScrolling=!1},c=f([d(0,l.IOptionsService)],c)}(a.Disposable);m.BufferService=s},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(t,a){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,r){s.__proto__=r}||function(s,r){for(var c in r)r.hasOwnProperty(c)&&(s[c]=r[c])})(t,a)},function(n,t){function a(){this.constructor=n}p(n,t),n.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)});Object.defineProperty(m,"__esModule",{value:!0}),m.BufferSet=void 0;var f=E(70),d=E(0),l=function(n){function t(a,s){var r=n.call(this)||this;return r._onBufferActivate=r.register(new d.EventEmitter),r._normal=new f.Buffer(!0,a,s),r._normal.fillViewportRows(),r._alt=new f.Buffer(!1,a,s),r._activeBuffer=r._normal,r.setupTabStops(),r}return v(t,n),Object.defineProperty(t.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),t.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}))},t.prototype.activateAltBuffer=function(a){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(a),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},t.prototype.resize=function(a,s){this._normal.resize(a,s),this._alt.resize(a,s)},t.prototype.setupTabStops=function(a){this._normal.setupTabStops(a),this._alt.setupTabStops(a)},t}(E(2).Disposable);m.BufferSet=l},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BufferStringIterator=m.Buffer=m.MAX_BUFFER_SIZE=void 0;var p=E(71),v=E(16),f=E(4),d=E(3),l=E(72),n=E(73),t=E(20),a=E(6);m.MAX_BUFFER_SIZE=4294967295;var s=function(){function c(e,o,u){this._hasScrollback=e,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=v.DEFAULT_ATTR_DATA.clone(),this.savedCharset=t.DEFAULT_CHARSET,this.markers=[],this._nullCell=f.CellData.fromCharData([0,d.NULL_CELL_CHAR,d.NULL_CELL_WIDTH,d.NULL_CELL_CODE]),this._whitespaceCell=f.CellData.fromCharData([0,d.WHITESPACE_CELL_CHAR,d.WHITESPACE_CELL_WIDTH,d.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new p.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return c.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new a.ExtendedAttrs),this._nullCell},c.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new a.ExtendedAttrs),this._whitespaceCell},c.prototype.getBlankLine=function(e,o){return new v.BufferLine(this._bufferService.cols,this.getNullCell(e),o)},Object.defineProperty(c.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isCursorInViewport",{get:function(){var o=this.ybase+this.y-this.ydisp;return o>=0&&o<this._rows},enumerable:!1,configurable:!0}),c.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var o=e+this._optionsService.options.scrollback;return o>m.MAX_BUFFER_SIZE?m.MAX_BUFFER_SIZE:o},c.prototype.fillViewportRows=function(e){if(this.lines.length===0){e===void 0&&(e=v.DEFAULT_ATTR_DATA);for(var o=this._rows;o--;)this.lines.push(this.getBlankLine(e))}},c.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new p.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},c.prototype.resize=function(e,o){var u=this.getNullCell(v.DEFAULT_ATTR_DATA),h=this._getCorrectBufferLength(o);if(h>this.lines.maxLength&&(this.lines.maxLength=h),this.lines.length>0){if(this._cols<e)for(var g=0;g<this.lines.length;g++)this.lines.get(g).resize(e,u);var A=0;if(this._rows<o)for(var w=this._rows;w<o;w++)this.lines.length<o+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new v.BufferLine(e,u)):this.ybase>0&&this.lines.length<=this.ybase+this.y+A+1?(this.ybase--,A++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.BufferLine(e,u)));else for(w=this._rows;w>o;w--)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 x=this.lines.length-h;x>0&&(this.lines.trimStart(x),this.ybase=Math.max(this.ybase-x,0),this.ydisp=Math.max(this.ydisp-x,0),this.savedY=Math.max(this.savedY-x,0)),this.lines.maxLength=h}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,o-1),A&&(this.y+=A),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=o-1,this._isReflowEnabled&&(this._reflow(e,o),this._cols>e))for(g=0;g<this.lines.length;g++)this.lines.get(g).resize(e,u);this._cols=e,this._rows=o},Object.defineProperty(c.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),c.prototype._reflow=function(e,o){this._cols!==e&&(e>this._cols?this._reflowLarger(e,o):this._reflowSmaller(e,o))},c.prototype._reflowLarger=function(e,o){var u=l.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(v.DEFAULT_ATTR_DATA));if(u.length>0){var h=l.reflowLargerCreateNewLayout(this.lines,u);l.reflowLargerApplyNewLayout(this.lines,h.layout),this._reflowLargerAdjustViewport(e,o,h.countRemoved)}},c.prototype._reflowLargerAdjustViewport=function(e,o,u){for(var h=this.getNullCell(v.DEFAULT_ATTR_DATA),g=u;g-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<o&&this.lines.push(new v.BufferLine(e,h))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},c.prototype._reflowSmaller=function(e,o){for(var u=this.getNullCell(v.DEFAULT_ATTR_DATA),h=[],g=0,A=this.lines.length-1;A>=0;A--){var w=this.lines.get(A);if(!(!w||!w.isWrapped&&w.getTrimmedLength()<=e)){for(var x=[w];w.isWrapped&&A>0;)w=this.lines.get(--A),x.unshift(w);var C=this.ybase+this.y;if(!(C>=A&&C<A+x.length)){var T=x[x.length-1].getTrimmedLength(),O=l.reflowSmallerGetNewLineLengths(x,this._cols,e),S=O.length-x.length,_=void 0;_=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 L=[],D=0;D<S;D++){var F=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);L.push(F)}L.length>0&&(h.push({start:A+x.length+g,newLines:L}),g+=L.length),x.push.apply(x,L);var j=O.length-1,k=O[j];k===0&&(k=O[--j]);for(var K=x.length-S-1,Z=T;K>=0;){var B=Math.min(Z,k);if(x[j].copyCellsFrom(x[K],Z-B,k-B,B,!0),(k-=B)===0&&(k=O[--j]),(Z-=B)===0){K--;var V=Math.max(K,0);Z=l.getWrappedLineTrimmedLength(x,V,this._cols)}}for(D=0;D<x.length;D++)O[D]<e&&x[D].setCell(O[D],u);for(var z=S-_;z-- >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+g)-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 X=[],W=[];for(D=0;D<this.lines.length;D++)W.push(this.lines.get(D));var q=this.lines.length,Y=q-1,re=0,ne=h[re];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+g);var we=0;for(D=Math.min(this.lines.maxLength-1,q+g-1);D>=0;D--)if(ne&&ne.start>Y+we){for(var ie=ne.newLines.length-1;ie>=0;ie--)this.lines.set(D--,ne.newLines[ie]);D++,X.push({index:Y+1,amount:ne.newLines.length}),we+=ne.newLines.length,ne=h[++re]}else this.lines.set(D,W[Y--]);var me=0;for(D=X.length-1;D>=0;D--)X[D].index+=me,this.lines.onInsertEmitter.fire(X[D]),me+=X[D].amount;var _e=Math.max(0,q+g-this.lines.maxLength);_e>0&&this.lines.onTrimEmitter.fire(_e)}},c.prototype.stringIndexToBufferIndex=function(e,o,u){for(u===void 0&&(u=!1);o;){var h=this.lines.get(e);if(!h)return[-1,-1];for(var g=u?h.getTrimmedLength():h.length,A=0;A<g;++A)if(h.get(A)[d.CHAR_DATA_WIDTH_INDEX]&&(o-=h.get(A)[d.CHAR_DATA_CHAR_INDEX].length||1),o<0)return[e,A];e++}return[e,0]},c.prototype.translateBufferLineToString=function(e,o,u,h){u===void 0&&(u=0);var g=this.lines.get(e);return g?g.translateToString(o,u,h):""},c.prototype.getWrappedRangeForLine=function(e){for(var o=e,u=e;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}},c.prototype.setupTabStops=function(e){for(e!=null?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.options.tabStopWidth)this.tabs[e]=!0},c.prototype.prevStop=function(e){for(e==null&&(e=this.x);!this.tabs[--e]&&e>0;);return e>=this._cols?this._cols-1:e<0?0:e},c.prototype.nextStop=function(e){for(e==null&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e},c.prototype.addMarker=function(e){var o=this,u=new n.Marker(e);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},c.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},c.prototype.iterator=function(e,o,u,h,g){return new r(this,e,o,u,h,g)},c}();m.Buffer=s;var r=function(){function c(e,o,u,h,g,A){u===void 0&&(u=0),h===void 0&&(h=e.lines.length),g===void 0&&(g=0),A===void 0&&(A=0),this._buffer=e,this._trimRight=o,this._startIndex=u,this._endIndex=h,this._startOverscan=g,this._endOverscan=A,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return c.prototype.hasNext=function(){return this._current<this._endIndex},c.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var o="",u=e.first;u<=e.last;++u)o+=this._buffer.translateBufferLineToString(u,this._trimRight);return this._current=e.last+1,{range:e,content:o}},c}();m.BufferStringIterator=r},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CircularList=void 0;var p=E(0),v=function(){function f(d){this._maxLength=d,this.onDeleteEmitter=new p.EventEmitter,this.onInsertEmitter=new p.EventEmitter,this.onTrimEmitter=new p.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(f.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"maxLength",{get:function(){return this._maxLength},set:function(l){if(this._maxLength!==l){for(var n=new Array(l),t=0;t<Math.min(l,this.length);t++)n[t]=this._array[this._getCyclicIndex(t)];this._array=n,this._maxLength=l,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"length",{get:function(){return this._length},set:function(l){if(l>this._length)for(var n=this._length;n<l;n++)this._array[n]=void 0;this._length=l},enumerable:!1,configurable:!0}),f.prototype.get=function(d){return this._array[this._getCyclicIndex(d)]},f.prototype.set=function(d,l){this._array[this._getCyclicIndex(d)]=l},f.prototype.push=function(d){this._array[this._getCyclicIndex(this._length)]=d,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},f.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(f.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),f.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},f.prototype.splice=function(d,l){for(var n=[],t=2;t<arguments.length;t++)n[t-2]=arguments[t];if(l){for(var a=d;a<this._length-l;a++)this._array[this._getCyclicIndex(a)]=this._array[this._getCyclicIndex(a+l)];this._length-=l}for(a=this._length-1;a>=d;a--)this._array[this._getCyclicIndex(a+n.length)]=this._array[this._getCyclicIndex(a)];for(a=0;a<n.length;a++)this._array[this._getCyclicIndex(d+a)]=n[a];if(this._length+n.length>this._maxLength){var s=this._length+n.length-this._maxLength;this._startIndex+=s,this._length=this._maxLength,this.onTrimEmitter.fire(s)}else this._length+=n.length},f.prototype.trimStart=function(d){d>this._length&&(d=this._length),this._startIndex+=d,this._length-=d,this.onTrimEmitter.fire(d)},f.prototype.shiftElements=function(d,l,n){if(!(l<=0)){if(d<0||d>=this._length)throw new Error("start argument out of range");if(d+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var t=l-1;t>=0;t--)this.set(d+t+n,this.get(d+t));var a=d+l+n-this._length;if(a>0)for(this._length+=a;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(t=0;t<l;t++)this.set(d+t+n,this.get(d+t))}},f.prototype._getCyclicIndex=function(d){return(this._startIndex+d)%this._maxLength},f}();m.CircularList=v},function(y,m,E){"use strict";function p(v,f,d){if(f===v.length-1)return v[f].getTrimmedLength();var l=!v[f].hasContent(d-1)&&v[f].getWidth(d-1)===1,n=v[f+1].getWidth(0)===2;return l&&n?d-1:d}Object.defineProperty(m,"__esModule",{value:!0}),m.getWrappedLineTrimmedLength=m.reflowSmallerGetNewLineLengths=m.reflowLargerApplyNewLayout=m.reflowLargerCreateNewLayout=m.reflowLargerGetLinesToRemove=void 0,m.reflowLargerGetLinesToRemove=function(v,f,d,l,n){for(var t=[],a=0;a<v.length-1;a++){var s=a,r=v.get(++s);if(r.isWrapped){for(var c=[v.get(a)];s<v.length&&r.isWrapped;)c.push(r),r=v.get(++s);if(l>=a&&l<s)a+=c.length-1;else{for(var e=0,o=p(c,e,f),u=1,h=0;u<c.length;){var g=p(c,u,f),A=g-h,w=d-o,x=Math.min(A,w);c[e].copyCellsFrom(c[u],h,o,x,!1),(o+=x)===d&&(e++,o=0),(h+=x)===g&&(u++,h=0),o===0&&e!==0&&c[e-1].getWidth(d-1)===2&&(c[e].copyCellsFrom(c[e-1],d-1,o++,1,!1),c[e-1].setCell(d-1,n))}c[e].replaceCells(o,d,n);for(var C=0,T=c.length-1;T>0&&(T>e||c[T].getTrimmedLength()===0);T--)C++;C>0&&(t.push(a+c.length-C),t.push(C)),a+=c.length-1}}}return t},m.reflowLargerCreateNewLayout=function(v,f){for(var d=[],l=0,n=f[l],t=0,a=0;a<v.length;a++)if(n===a){var s=f[++l];v.onDeleteEmitter.fire({index:a-t,amount:s}),a+=s-1,t+=s,n=f[++l]}else d.push(a);return{layout:d,countRemoved:t}},m.reflowLargerApplyNewLayout=function(v,f){for(var d=[],l=0;l<f.length;l++)d.push(v.get(f[l]));for(l=0;l<d.length;l++)v.set(l,d[l]);v.length=f.length},m.reflowSmallerGetNewLineLengths=function(v,f,d){for(var l=[],n=v.map(function(o,u){return p(v,u,f)}).reduce(function(o,u){return o+u}),t=0,a=0,s=0;s<n;){if(n-s<d){l.push(n-s);break}t+=d;var r=p(v,a,f);t>r&&(t-=r,a++);var c=v[a].getWidth(t-1)===2;c&&t--;var e=c?d-1:d;l.push(e),s+=e}return l},m.getWrappedLineTrimmedLength=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(n,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,s){a.__proto__=s}||function(a,s){for(var r in s)s.hasOwnProperty(r)&&(a[r]=s[r])})(n,t)},function(l,n){function t(){this.constructor=l}p(l,n),l.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)});Object.defineProperty(m,"__esModule",{value:!0}),m.Marker=void 0;var f=E(0),d=function(l){function n(t){var a=l.call(this)||this;return a.line=t,a._id=n._nextId++,a.isDisposed=!1,a._onDispose=new f.EventEmitter,a}return v(n,l),Object.defineProperty(n.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},n._nextId=1,n}(E(2).Disposable);m.Marker=d},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.OptionsService=m.DEFAULT_OPTIONS=m.DEFAULT_BELL_SOUND=void 0;var p=E(0),v=E(11),f=E(33);m.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",m.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:m.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:v.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var d=["cols","rows"],l=function(){function n(t){this._onOptionChange=new p.EventEmitter,this.options=f.clone(m.DEFAULT_OPTIONS);for(var a=0,s=Object.keys(t);a<s.length;a++){var r=s[a];if(r in this.options){var c=t[r];this.options[r]=c}}}return Object.defineProperty(n.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),n.prototype.setOption=function(t,a){if(!(t in m.DEFAULT_OPTIONS))throw new Error('No option with key "'+t+'"');if(d.indexOf(t)!==-1)throw new Error('Option "'+t+'" can only be set in the constructor');this.options[t]!==a&&(a=this._sanitizeAndValidateOption(t,a),this.options[t]!==a&&(this.options[t]=a,this._onOptionChange.fire(t)))},n.prototype._sanitizeAndValidateOption=function(t,a){switch(t){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":a||(a=m.DEFAULT_OPTIONS[t]);break;case"cursorWidth":a=Math.floor(a);case"lineHeight":case"tabStopWidth":if(a<1)throw new Error(t+" cannot be less than 1, value: "+a);break;case"minimumContrastRatio":a=Math.max(1,Math.min(21,Math.round(10*a)/10));break;case"scrollback":if((a=Math.min(a,4294967295))<0)throw new Error(t+" cannot be less than 0, value: "+a);break;case"fastScrollSensitivity":case"scrollSensitivity":if(a<=0)throw new Error(t+" cannot be less than or equal to 0, value: "+a)}return a},n.prototype.getOption=function(t){if(!(t in m.DEFAULT_OPTIONS))throw new Error('No option with key "'+t+'"');return this.options[t]},n}();m.OptionsService=l},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(o,u){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,g){h.__proto__=g}||function(h,g){for(var A in g)g.hasOwnProperty(A)&&(h[A]=g[A])})(o,u)},function(e,o){function u(){this.constructor=e}p(e,o),e.prototype=o===null?Object.create(o):(u.prototype=o.prototype,new u)}),f=this&&this.__decorate||function(e,o,u,h){var g,A=arguments.length,w=A<3?o:h===null?h=Object.getOwnPropertyDescriptor(o,u):h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(e,o,u,h);else for(var x=e.length-1;x>=0;x--)(g=e[x])&&(w=(A<3?g(w):A>3?g(o,u,w):g(o,u))||w);return A>3&&w&&Object.defineProperty(o,u,w),w},d=this&&this.__param||function(e,o){return function(u,h){o(u,h,e)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CoreService=void 0;var l=E(1),n=E(0),t=E(33),a=E(2),s=Object.freeze({insertMode:!1}),r=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),c=function(e){function o(u,h,g,A){var w=e.call(this)||this;return w._bufferService=h,w._logService=g,w._optionsService=A,w.isCursorInitialized=!1,w.isCursorHidden=!1,w._onData=w.register(new n.EventEmitter),w._onUserInput=w.register(new n.EventEmitter),w._onBinary=w.register(new n.EventEmitter),w._scrollToBottom=u,w.register({dispose:function(){return w._scrollToBottom=void 0}}),w.modes=t.clone(s),w.decPrivateModes=t.clone(r),w}return v(o,e),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=t.clone(s),this.decPrivateModes=t.clone(r)},o.prototype.triggerDataEvent=function(u,h){if(h===void 0&&(h=!1),!this._optionsService.options.disableStdin){var g=this._bufferService.buffer;g.ybase!==g.ydisp&&this._scrollToBottom(),h&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(A){return A.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=f([d(1,l.IBufferService),d(2,l.ILogService),d(3,l.IOptionsService)],o)}(a.Disposable);m.CoreService=c},function(y,m,E){"use strict";var p=this&&this.__decorate||function(r,c,e,o){var u,h=arguments.length,g=h<3?c:o===null?o=Object.getOwnPropertyDescriptor(c,e):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,o);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},v=this&&this.__param||function(r,c){return function(e,o){c(e,o,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CoreMouseService=void 0;var f=E(1),d=E(0),l={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(c){return c.button!==4&&c.action===1&&(c.ctrl=!1,c.alt=!1,c.shift=!1,!0)}},VT200:{events:19,restrict:function(c){return c.action!==32}},DRAG:{events:23,restrict:function(c){return c.action!==32||c.button!==3}},ANY:{events:31,restrict:function(c){return!0}}};function n(r,c){var e=(r.ctrl?16:0)|(r.shift?4:0)|(r.alt?8:0);return r.button===4?(e|=64,e|=r.action):(e|=3&r.button,4&r.button&&(e|=64),8&r.button&&(e|=128),r.action===32?e|=32:r.action!==0||c||(e|=3)),e}var t=String.fromCharCode,a={DEFAULT:function(c){var e=[n(c,!1)+32,c.col+32,c.row+32];return e[0]>255||e[1]>255||e[2]>255?"":"[M"+t(e[0])+t(e[1])+t(e[2])},SGR:function(c){var e=c.action===0&&c.button!==4?"m":"M";return"[<"+n(c,!0)+";"+c.col+";"+c.row+e}},s=function(){function r(c,e){this._bufferService=c,this._coreService=e,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new d.EventEmitter,this._lastEvent=null;for(var o=0,u=Object.keys(l);o<u.length;o++){var h=u[o];this.addProtocol(h,l[h])}for(var g=0,A=Object.keys(a);g<A.length;g++){var w=A[g];this.addEncoding(w,a[w])}this.reset()}return r.prototype.addProtocol=function(c,e){this._protocols[c]=e},r.prototype.addEncoding=function(c,e){this._encodings[c]=e},Object.defineProperty(r.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!1,configurable:!0}),r.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(r.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),r.prototype.triggerMouseEvent=function(c){if(c.col<0||c.col>=this._bufferService.cols||c.row<0||c.row>=this._bufferService.rows)return!1;if(c.button===4&&c.action===32)return!1;if(c.button===3&&c.action!==32)return!1;if(c.button!==4&&(c.action===2||c.action===3))return!1;if(c.col++,c.row++,c.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,c))return!1;if(!this._protocols[this._activeProtocol].restrict(c))return!1;var e=this._encodings[this._activeEncoding](c);return e&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(e):this._coreService.triggerDataEvent(e,!0)),this._lastEvent=c,!0},r.prototype.explainEvents=function(c){return{down:!!(1&c),up:!!(2&c),drag:!!(4&c),move:!!(8&c),wheel:!!(16&c)}},r.prototype._compareEvents=function(c,e){return c.col===e.col&&c.row===e.row&&c.button===e.button&&c.action===e.action&&c.ctrl===e.ctrl&&c.alt===e.alt&&c.shift===e.shift},r=p([v(0,f.IBufferService),v(1,f.ICoreService)],r)}();m.CoreMouseService=s},function(y,m,E){"use strict";var p=this&&this.__decorate||function(l,n,t,a){var s,r=arguments.length,c=r<3?n:a===null?a=Object.getOwnPropertyDescriptor(n,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(l,n,t,a);else for(var e=l.length-1;e>=0;e--)(s=l[e])&&(c=(r<3?s(c):r>3?s(n,t,c):s(n,t))||c);return r>3&&c&&Object.defineProperty(n,t,c),c},v=this&&this.__param||function(l,n){return function(t,a){n(t,a,l)}};Object.defineProperty(m,"__esModule",{value:!0}),m.DirtyRowService=void 0;var f=E(1),d=function(){function l(n){this._bufferService=n,this.clearRange()}return Object.defineProperty(l.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),l.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},l.prototype.markDirty=function(n){n<this._start?this._start=n:n>this._end&&(this._end=n)},l.prototype.markRangeDirty=function(n,t){if(n>t){var a=n;n=t,t=a}n<this._start&&(this._start=n),t>this._end&&(this._end=t)},l.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},l=p([v(0,f.IBufferService)],l)}();m.DirtyRowService=d},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UnicodeService=void 0;var p=E(0),v=E(79),f=function(){function d(){this._providers=Object.create(null),this._active="",this._onChange=new p.EventEmitter;var l=new v.UnicodeV6;this.register(l),this._active=l.version,this._activeProvider=l}return Object.defineProperty(d.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"activeVersion",{get:function(){return this._active},set:function(n){if(!this._providers[n])throw new Error('unknown Unicode version "'+n+'"');this._active=n,this._activeProvider=this._providers[n],this._onChange.fire(n)},enumerable:!1,configurable:!0}),d.prototype.register=function(l){this._providers[l.version]=l},d.prototype.wcwidth=function(l){return this._activeProvider.wcwidth(l)},d.prototype.getStringCellWidth=function(l){for(var n=0,t=l.length,a=0;a<t;++a){var s=l.charCodeAt(a);if(55296<=s&&s<=56319){if(++a>=t)return n+this.wcwidth(s);var r=l.charCodeAt(a);56320<=r&&r<=57343?s=1024*(s-55296)+r-56320+65536:n+=this.wcwidth(r)}n+=this.wcwidth(s)}return n},d}();m.UnicodeService=f},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UnicodeV6=void 0;var p,v=E(15),f=[[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]],d=[[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]],l=function(){function n(){if(this.version="6",!p){p=new Uint8Array(65536),v.fill(p,1),p[0]=0,v.fill(p,0,1,32),v.fill(p,0,127,160),v.fill(p,2,4352,4448),p[9001]=2,p[9002]=2,v.fill(p,2,11904,42192),p[12351]=1,v.fill(p,2,44032,55204),v.fill(p,2,63744,64256),v.fill(p,2,65040,65050),v.fill(p,2,65072,65136),v.fill(p,2,65280,65377),v.fill(p,2,65504,65511);for(var t=0;t<f.length;++t)v.fill(p,0,f[t][0],f[t][1]+1)}}return n.prototype.wcwidth=function(t){return t<32?0:t<127?1:t<65536?p[t]:function(a,s){var r,c=0,e=s.length-1;if(a<s[0][0]||a>s[e][1])return!1;for(;e>=c;)if(a>s[r=c+e>>1][1])c=r+1;else{if(!(a<s[r][0]))return!0;e=r-1}return!1}(t,d)?0:t>=131072&&t<=196605||t>=196608&&t<=262141?2:1},n}();m.UnicodeV6=l},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CharsetService=void 0;var p=function(){function v(){this.glevel=0,this._charsets=[]}return v.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},v.prototype.setgLevel=function(f){this.glevel=f,this.charset=this._charsets[f]},v.prototype.setgCharset=function(f,d){this._charsets[f]=d,this.glevel===f&&(this.charset=d)},v}();m.CharsetService=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.updateWindowsModeWrappedState=void 0;var p=E(3);m.updateWindowsModeWrappedState=function(v){var f=v.buffer.lines.get(v.buffer.ybase+v.buffer.y-1),d=f==null?void 0:f.get(v.cols-1),l=v.buffer.lines.get(v.buffer.ybase+v.buffer.y);l&&d&&(l.isWrapped=d[p.CHAR_DATA_CODE_INDEX]!==p.NULL_CELL_CODE&&d[p.CHAR_DATA_CODE_INDEX]!==p.WHITESPACE_CELL_CODE)}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.WriteBuffer=void 0;var p=function(){function v(f){this._action=f,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return v.prototype.writeSync=function(f){if(this._writeBuffer.length){for(var d=this._bufferOffset;d<this._writeBuffer.length;++d){var l=this._writeBuffer[d],n=this._callbacks[d];this._action(l),n&&n()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(f)},v.prototype.write=function(f,d){var l=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 l._innerWrite()})),this._pendingData+=f.length,this._writeBuffer.push(f),this._callbacks.push(d)},v.prototype._innerWrite=function(){for(var f=this,d=Date.now();this._writeBuffer.length>this._bufferOffset;){var l=this._writeBuffer[this._bufferOffset],n=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(l),this._pendingData-=l.length,n&&n(),Date.now()-d>=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 f._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},v}();m.WriteBuffer=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AddonManager=void 0;var p=function(){function v(){this._addons=[]}return v.prototype.dispose=function(){for(var f=this._addons.length-1;f>=0;f--)this._addons[f].instance.dispose()},v.prototype.loadAddon=function(f,d){var l=this,n={instance:d,dispose:d.dispose,isDisposed:!1};this._addons.push(n),d.dispose=function(){return l._wrappedAddonDispose(n)},d.activate(f)},v.prototype._wrappedAddonDispose=function(f){if(!f.isDisposed){for(var d=-1,l=0;l<this._addons.length;l++)if(this._addons[l]===f){d=l;break}if(d===-1)throw new Error("Could not dispose an addon that has not been loaded");f.isDisposed=!0,f.dispose.apply(f.instance),this._addons.splice(d,1)}},v}();m.AddonManager=p}])})},"/SeX":function(U,R,i){var y=i("knOB"),m=i("qZFw"),E=function(v){this.name=v||"",this.cx=0,this.cy=0,this._radiusAxis=new y,this._angleAxis=new m,this._radiusAxis.polar=this._angleAxis.polar=this};E.prototype={type:"polar",axisPointerEnabled:!0,constructor:E,dimensions:["radius","angle"],model:null,containPoint:function(v){var f=this.pointToCoord(v);return this._radiusAxis.contain(f[0])&&this._angleAxis.contain(f[1])},containData:function(v){return this._radiusAxis.containData(v[0])&&this._angleAxis.containData(v[1])},getAxis:function(v){return this["_"+v+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(v){var f=[],d=this._angleAxis,l=this._radiusAxis;return d.scale.type===v&&f.push(d),l.scale.type===v&&f.push(l),f},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(v){var f=this._angleAxis;return v===f?this._radiusAxis:f},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(v){var f=v!=null&&v!=="auto"?this.getAxis(v):this.getBaseAxis();return{baseAxes:[f],otherAxes:[this.getOtherAxis(f)]}},dataToPoint:function(v,f){return this.coordToPoint([this._radiusAxis.dataToRadius(v[0],f),this._angleAxis.dataToAngle(v[1],f)])},pointToData:function(v,f){var d=this.pointToCoord(v);return[this._radiusAxis.radiusToData(d[0],f),this._angleAxis.angleToData(d[1],f)]},pointToCoord:function(v){var f=v[0]-this.cx,d=v[1]-this.cy,l=this.getAngleAxis(),n=l.getExtent(),t=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);l.inverse?t=a-360:a=t+360;var s=Math.sqrt(f*f+d*d);f/=s,d/=s;for(var r=Math.atan2(-d,f)/Math.PI*180,c=r<t?1:-1;r<t||r>a;)r+=c*360;return[s,r]},coordToPoint:function(v){var f=v[0],d=v[1]/180*Math.PI,l=Math.cos(d)*f+this.cx,n=-Math.sin(d)*f+this.cy;return[l,n]},getArea:function(){var v=this.getAngleAxis(),f=this.getRadiusAxis(),d=f.getExtent().slice();d[0]>d[1]&&d.reverse();var l=v.getExtent(),n=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:d[0],r:d[1],startAngle:-l[0]*n,endAngle:-l[1]*n,clockwise:v.inverse,contain:function(t,a){var s=t-this.cx,r=a-this.cy,c=s*s+r*r,e=this.r,o=this.r0;return c<=e*e&&c>=o*o}}}};var p=E;U.exports=p},"/WM3":function(U,R,i){var y=i("QuXc"),m=i("bYtY"),E=m.isFunction,p={createOnAllSeries:!0,performRawSeries:!0,reset:function(v,f){var d=v.getData(),l=(v.visualColorAccessPath||"itemStyle.color").split("."),n=v.get(l),t=E(n)&&!(n instanceof y)?n:null;(!n||t)&&(n=v.getColorFromPalette(v.name,null,f.getSeriesCount())),d.setVisual("color",n);var a=(v.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),s=v.get(a);if(d.setVisual("borderColor",s),!f.isSeriesFiltered(v)){t&&d.each(function(c){d.setItemVisual(c,"color",t(v.getDataParams(c)))});var r=function(c,e){var o=c.getItemModel(e),u=o.get(l,!0),h=o.get(a,!0);u!=null&&c.setItemVisual(e,"color",u),h!=null&&c.setItemVisual(e,"borderColor",h)};return{dataEach:d.hasItemOption?r:null}}}};U.exports=p},"/d5a":function(U,R){var i={average:function(E){for(var p=0,v=0,f=0;f<E.length;f++)isNaN(E[f])||(p+=E[f],v++);return v===0?NaN:p/v},sum:function(E){for(var p=0,v=0;v<E.length;v++)p+=E[v]||0;return p},max:function(E){for(var p=-Infinity,v=0;v<E.length;v++)E[v]>p&&(p=E[v]);return isFinite(p)?p:NaN},min:function(E){for(var p=Infinity,v=0;v<E.length;v++)E[v]<p&&(p=E[v]);return isFinite(p)?p:NaN},nearest:function(E){return E[0]}},y=function(E,p){return Math.round(E.length/2)};function m(E){return{seriesType:E,modifyOutputEnd:!0,reset:function(p,v,f){var d=p.getData(),l=p.get("sampling"),n=p.coordinateSystem;if(n.type==="cartesian2d"&&l){var t=n.getBaseAxis(),a=n.getOtherAxis(t),s=t.getExtent(),r=s[1]-s[0],c=Math.round(d.count()/r);if(c>1){var e;typeof l=="string"?e=i[l]:typeof l=="function"&&(e=l),e&&p.setData(d.downSample(d.mapDimension(a.dim),1/c,e,y))}}}}}U.exports=m},"/ezw":function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("cDf5"),f=i.n(v),d=i("q1tI"),l=i("TSYQ"),n=i.n(l),t=function(z){var X=z.prefixCls,W=z.className,q=z.width,Y=z.style;return d.createElement("h3",{className:n()(X,W),style:p()({width:q},Y)})},a=t,s=i("RIqP"),r=i.n(s),c=function(z){var X=function(ie){var me=z.width,_e=z.rows,Te=_e===void 0?2:_e;return Array.isArray(me)?me[ie]:Te-1===ie?me:void 0},W=z.prefixCls,q=z.className,Y=z.style,re=z.rows,ne=r()(Array(re)).map(function(we,ie){return d.createElement("li",{key:ie,style:{width:X(ie)}})});return d.createElement("ul",{className:n()(W,q),style:Y},ne)},e=c,o=i("H84U"),u=function(z){var X,W,q=z.prefixCls,Y=z.className,re=z.style,ne=z.size,we=z.shape,ie=n()((X={},m()(X,"".concat(q,"-lg"),ne==="large"),m()(X,"".concat(q,"-sm"),ne==="small"),X)),me=n()((W={},m()(W,"".concat(q,"-circle"),we==="circle"),m()(W,"".concat(q,"-square"),we==="square"),m()(W,"".concat(q,"-round"),we==="round"),W)),_e=typeof ne=="number"?{width:ne,height:ne,lineHeight:"".concat(ne,"px")}:{};return d.createElement("span",{className:n()(q,Y,ie,me),style:p()(p()({},_e),re)})},h=u,g=i("BGR+"),A=function(z){var X=function(q){var Y=q.getPrefixCls,re=z.prefixCls,ne=z.className,we=z.active,ie=Y("skeleton",re),me=Object(g.default)(z,["prefixCls"]),_e=n()(ie,ne,"".concat(ie,"-element"),m()({},"".concat(ie,"-active"),we));return d.createElement("div",{className:_e},d.createElement(h,p()({prefixCls:"".concat(ie,"-avatar")},me)))};return d.createElement(o.a,null,X)};A.defaultProps={size:"default",shape:"circle"};var w=A,x=function(z){var X=function(q){var Y=q.getPrefixCls,re=z.prefixCls,ne=z.className,we=z.active,ie=Y("skeleton",re),me=Object(g.default)(z,["prefixCls"]),_e=n()(ie,ne,"".concat(ie,"-element"),m()({},"".concat(ie,"-active"),we));return d.createElement("div",{className:_e},d.createElement(h,p()({prefixCls:"".concat(ie,"-button")},me)))};return d.createElement(o.a,null,X)};x.defaultProps={size:"default"};var C=x,T=function(z){var X=function(q){var Y=q.getPrefixCls,re=z.prefixCls,ne=z.className,we=z.active,ie=Y("skeleton",re),me=Object(g.default)(z,["prefixCls"]),_e=n()(ie,ne,"".concat(ie,"-element"),m()({},"".concat(ie,"-active"),we));return d.createElement("div",{className:_e},d.createElement(h,p()({prefixCls:"".concat(ie,"-input")},me)))};return d.createElement(o.a,null,X)};T.defaultProps={size:"default"};var O=T,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",_=function(z){var X=function(q){var Y=q.getPrefixCls,re=z.prefixCls,ne=z.className,we=z.style,ie=Y("skeleton",re),me=n()(ie,ne,"".concat(ie,"-element"));return d.createElement("div",{className:me},d.createElement("div",{className:n()("".concat(ie,"-image"),ne),style:we},d.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(ie,"-image-svg")},d.createElement("path",{d:S,className:"".concat(ie,"-image-path")}))))};return d.createElement(o.a,null,X)},L=_;function D(V){return V&&f()(V)==="object"?V:{}}function F(V,z){return V&&!z?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function j(V,z){return!V&&z?{width:"38%"}:V&&z?{width:"50%"}:{}}function k(V,z){var X={};return(!V||!z)&&(X.width="61%"),!V&&z?X.rows=3:X.rows=2,X}var K=function(z){var X=function(q){var Y=q.getPrefixCls,re=q.direction,ne=z.prefixCls,we=z.loading,ie=z.className,me=z.children,_e=z.avatar,Te=z.title,We=z.paragraph,Ae=z.active,je=z.round,ee=Y("skeleton",ne);if(we||!("loading"in z)){var he,Ze=!!_e,oe=!!Te,Q=!!We,G;if(Ze){var te=p()(p()({prefixCls:"".concat(ee,"-avatar")},F(oe,Q)),D(_e));G=d.createElement("div",{className:"".concat(ee,"-header")},d.createElement(h,te))}var xe;if(oe||Q){var fe;if(oe){var Be=p()(p()({prefixCls:"".concat(ee,"-title")},j(Ze,Q)),D(Te));fe=d.createElement(a,Be)}var Ne;if(Q){var de=p()(p()({prefixCls:"".concat(ee,"-paragraph")},k(Ze,oe)),D(We));Ne=d.createElement(e,de)}xe=d.createElement("div",{className:"".concat(ee,"-content")},fe,Ne)}var ve=n()(ee,ie,(he={},m()(he,"".concat(ee,"-with-avatar"),Ze),m()(he,"".concat(ee,"-active"),Ae),m()(he,"".concat(ee,"-rtl"),re==="rtl"),m()(he,"".concat(ee,"-round"),je),he));return d.createElement("div",{className:ve},G,xe)}return me};return d.createElement(o.a,null,X)};K.defaultProps={avatar:!1,title:!0,paragraph:!0},K.Button=C,K.Avatar=w,K.Input=O,K.Image=L;var Z=K,B=R.a=Z},"/iHx":function(U,R,i){var y=i("6GrX"),m=i("IwbS"),E=["textStyle","color"],p={getTextColor:function(v){var f=this.ecModel;return this.getShallow("color")||(!v&&f?f.get(E):null)},getFont:function(){return m.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(v){return y.getBoundingRect(v,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};U.exports=p},"/ry/":function(U,R,i){var y=i("bYtY"),m=i("T4UG"),E=i("5GhG"),p=E.seriesModelMixin,v=m.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}});y.mixin(v,p,!0);var f=v;U.exports=f},"/stD":function(U,R,i){var y=i("bYtY"),m=i("IUWy"),E=i("Kagy"),p=E.toolbox.brush;function v(l,n,t){this.model=l,this.ecModel=n,this.api=t,this._brushType,this._brushMode}v.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:y.clone(p.title)};var f=v.prototype;f.render=f.updateView=function(l,n,t){var a,s,r;n.eachComponent({mainType:"brush"},function(c){a=c.brushType,s=c.brushOption.brushMode||"single",r|=c.areas.length}),this._brushType=a,this._brushMode=s,y.each(l.get("type",!0),function(c){l.setIconStatus(c,(c==="keep"?s==="multiple":c==="clear"?r:c===a)?"emphasis":"normal")})},f.getIcons=function(){var l=this.model,n=l.get("icon",!0),t={};return y.each(l.get("type",!0),function(a){n[a]&&(t[a]=n[a])}),t},f.onclick=function(l,n,t){var a=this._brushType,s=this._brushMode;t==="clear"?(n.dispatchAction({type:"axisAreaSelect",intervals:[]}),n.dispatchAction({type:"brush",command:"clear",areas:[]})):n.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:t==="keep"?a:a===t?!1:t,brushMode:t==="keep"?s==="multiple"?"single":"multiple":s}})},m.register("brush",v);var d=v;U.exports=d},"/wGt":function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("PJYZ"),t=i.n(n),a=i("7W2i"),s=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),o=i("Ff2n"),u=i("1OyB"),h=i("vuIU"),g=i("Ji7U"),A=i("md7G"),w=i("foSv"),x=i("1W/9"),C=i("rePB"),T=i("JX7q"),O=i("TSYQ"),S=i.n(O),_=i("qx4F"),L=i("4IlW");function D(fe){return Array.isArray(fe)?fe:[fe]}var F={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},j=Object.keys(F).filter(function(fe){if(typeof document=="undefined")return!1;var Be=document.getElementsByTagName("html")[0];return fe in(Be?Be.style:{})})[0],k=F[j];function K(fe,Be,Ne,de){fe.addEventListener?fe.addEventListener(Be,Ne,de):fe.attachEvent&&fe.attachEvent("on".concat(Be),Ne)}function Z(fe,Be,Ne,de){fe.removeEventListener?fe.removeEventListener(Be,Ne,de):fe.attachEvent&&fe.detachEvent("on".concat(Be),Ne)}function B(fe,Be){var Ne=typeof fe=="function"?fe(Be):fe;return Array.isArray(Ne)?Ne.length===2?Ne:[Ne[0],Ne[1]]:[Ne]}var V=function(Be){return!isNaN(parseFloat(Be))&&isFinite(Be)},z=!(typeof window!="undefined"&&window.document&&window.document.createElement),X=function fe(Be,Ne,de,ve){if(!Ne||Ne===document||Ne instanceof Document)return!1;if(Ne===Be.parentNode)return!0;var Me=Math.max(Math.abs(de),Math.abs(ve))===Math.abs(ve),qe=Math.max(Math.abs(de),Math.abs(ve))===Math.abs(de),gt=Ne.scrollHeight-Ne.clientHeight,ht=Ne.scrollWidth-Ne.clientWidth,Pe=document.defaultView.getComputedStyle(Ne),It=Pe.overflowY==="auto"||Pe.overflowY==="scroll",nt=Pe.overflowX==="auto"||Pe.overflowX==="scroll",Nt=gt&&It,Bt=ht&&nt;return Me&&(!Nt||Nt&&(Ne.scrollTop>=gt&&ve<0||Ne.scrollTop<=0&&ve>0))||qe&&(!Bt||Bt&&(Ne.scrollLeft>=ht&&de<0||Ne.scrollLeft<=0&&de>0))?fe(Be,Ne.parentNode,de,ve):!1};function W(fe){var Be=q();return function(){var de=Object(w.a)(fe),ve;if(Be){var Me=Object(w.a)(this).constructor;ve=Reflect.construct(de,arguments,Me)}else ve=de.apply(this,arguments);return Object(A.a)(this,ve)}}function q(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(fe){return!1}}var Y={},re=function(fe){Object(g.a)(Ne,fe);var Be=W(Ne);function Ne(de){var ve;return Object(u.a)(this,Ne),ve=Be.call(this,de),ve.domFocus=function(){ve.dom&&ve.dom.focus()},ve.removeStartHandler=function(Me){if(Me.touches.length>1)return;ve.startPos={x:Me.touches[0].clientX,y:Me.touches[0].clientY}},ve.removeMoveHandler=function(Me){if(Me.changedTouches.length>1)return;var qe=Me.currentTarget,gt=Me.changedTouches[0].clientX-ve.startPos.x,ht=Me.changedTouches[0].clientY-ve.startPos.y;(qe===ve.maskDom||qe===ve.handlerDom||qe===ve.contentDom&&X(qe,Me.target,gt,ht))&&Me.cancelable&&Me.preventDefault()},ve.transitionEnd=function(Me){var qe=Me.target;Z(qe,k,ve.transitionEnd),qe.style.transition=""},ve.onKeyDown=function(Me){if(Me.keyCode===L.a.ESC){var qe=ve.props.onClose;Me.stopPropagation(),qe&&qe(Me)}},ve.onWrapperTransitionEnd=function(Me){var qe=ve.props,gt=qe.open,ht=qe.afterVisibleChange;Me.target===ve.contentWrapper&&Me.propertyName.match(/transform$/)&&(ve.dom.style.transition="",!gt&&ve.getCurrentDrawerSome()&&(document.body.style.overflowX="",ve.maskDom&&(ve.maskDom.style.left="",ve.maskDom.style.width="")),ht&&ht(!!gt))},ve.openLevelTransition=function(){var Me=ve.props,qe=Me.open,gt=Me.width,ht=Me.height,Pe=ve.getHorizontalBoolAndPlacementName(),It=Pe.isHorizontal,nt=Pe.placementName,Nt=ve.contentDom?ve.contentDom.getBoundingClientRect()[It?"width":"height"]:0,Bt=(It?gt:ht)||Nt;ve.setLevelAndScrolling(qe,nt,Bt)},ve.setLevelTransform=function(Me,qe,gt,ht){var Pe=ve.props,It=Pe.placement,nt=Pe.levelMove,Nt=Pe.duration,Bt=Pe.ease,Pt=Pe.showMask;ve.levelDom.forEach(function(jt){jt.style.transition="transform ".concat(Nt," ").concat(Bt),K(jt,k,ve.transitionEnd);var er=Me?gt:0;if(nt){var at=B(nt,{target:jt,open:Me});er=Me?at[0]:at[1]||0}var Ce=typeof er=="number"?"".concat(er,"px"):er,ue=It==="left"||It==="top"?Ce:"-".concat(Ce);ue=Pt&&It==="right"&&ht?"calc(".concat(ue," + ").concat(ht,"px)"):ue,jt.style.transform=er?"".concat(qe,"(").concat(ue,")"):""})},ve.setLevelAndScrolling=function(Me,qe,gt){var ht=ve.props.onChange;if(!z){var Pe=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(_.a)(!0):0;ve.setLevelTransform(Me,qe,gt,Pe),ve.toggleScrollingToDrawerAndBody(Pe)}ht&&ht(Me)},ve.toggleScrollingToDrawerAndBody=function(Me){var qe=ve.props,gt=qe.getOpenCount,ht=qe.getContainer,Pe=qe.showMask,It=qe.open,nt=ht&&ht(),Nt=gt&>();if(nt&&nt.parentNode===document.body&&Pe){var Bt=["touchstart"],Pt=[document.body,ve.maskDom,ve.handlerDom,ve.contentDom];It&&document.body.style.overflow!=="hidden"?(Me&&ve.addScrollingEffect(Me),Nt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Pt.forEach(function(jt,er){if(!jt)return;K(jt,Bt[er]||"touchmove",er?ve.removeMoveHandler:ve.removeStartHandler,ve.passive)})):ve.getCurrentDrawerSome()&&(Nt||(document.body.style.overflow=""),document.body.style.touchAction="",Me&&ve.remScrollingEffect(Me),Pt.forEach(function(jt,er){if(!jt)return;Z(jt,Bt[er]||"touchmove",er?ve.removeMoveHandler:ve.removeStartHandler,ve.passive)}))}},ve.addScrollingEffect=function(Me){var qe=ve.props,gt=qe.placement,ht=qe.duration,Pe=qe.ease,It=qe.getOpenCount,nt=qe.switchScrollingEffect,Nt=It&&It();Nt===1&&nt();var Bt="width ".concat(ht," ").concat(Pe),Pt="transform ".concat(ht," ").concat(Pe);ve.dom.style.transition="none";switch(gt){case"right":ve.dom.style.transform="translateX(-".concat(Me,"px)");break;case"top":case"bottom":ve.dom.style.width="calc(100% - ".concat(Me,"px)"),ve.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(ve.timeout),ve.timeout=setTimeout(function(){ve.dom&&(ve.dom.style.transition="".concat(Pt,",").concat(Bt),ve.dom.style.width="",ve.dom.style.transform="")})},ve.remScrollingEffect=function(Me){var qe=ve.props,gt=qe.placement,ht=qe.duration,Pe=qe.ease,It=qe.getOpenCount,nt=qe.switchScrollingEffect,Nt=It&&It();Nt||nt(!0),j&&(document.body.style.overflowX="hidden"),ve.dom.style.transition="none";var Bt,Pt="width ".concat(ht," ").concat(Pe),jt="transform ".concat(ht," ").concat(Pe);switch(gt){case"left":{ve.dom.style.width="100%",Pt="width 0s ".concat(Pe," ").concat(ht);break}case"right":{ve.dom.style.transform="translateX(".concat(Me,"px)"),ve.dom.style.width="100%",Pt="width 0s ".concat(Pe," ").concat(ht),ve.maskDom&&(ve.maskDom.style.left="-".concat(Me,"px"),ve.maskDom.style.width="calc(100% + ".concat(Me,"px)"));break}case"top":case"bottom":{ve.dom.style.width="calc(100% + ".concat(Me,"px)"),ve.dom.style.height="100%",ve.dom.style.transform="translateZ(0)",Bt="height 0s ".concat(Pe," ").concat(ht);break}default:break}clearTimeout(ve.timeout),ve.timeout=setTimeout(function(){ve.dom&&(ve.dom.style.transition="".concat(jt,",").concat(Bt?"".concat(Bt,","):"").concat(Pt),ve.dom.style.transform="",ve.dom.style.width="",ve.dom.style.height="")})},ve.getCurrentDrawerSome=function(){return!Object.keys(Y).some(function(Me){return Y[Me]})},ve.getLevelDom=function(Me){var qe=Me.level,gt=Me.getContainer;if(z)return;var ht=gt&>(),Pe=ht?ht.parentNode:null;if(ve.levelDom=[],qe==="all"){var It=Pe?Array.prototype.slice.call(Pe.children):[];It.forEach(function(nt){nt.nodeName!=="SCRIPT"&&nt.nodeName!=="STYLE"&&nt.nodeName!=="LINK"&&nt!==ht&&ve.levelDom.push(nt)})}else qe&&D(qe).forEach(function(nt){document.querySelectorAll(nt).forEach(function(Nt){ve.levelDom.push(Nt)})})},ve.getHorizontalBoolAndPlacementName=function(){var Me=ve.props.placement,qe=Me==="left"||Me==="right",gt="translate".concat(qe?"X":"Y");return{isHorizontal:qe,placementName:gt}},ve.state={_self:Object(T.a)(ve)},ve}return Object(h.a)(Ne,[{key:"componentDidMount",value:function(){var ve=this;if(!z){var Me=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Me=!0,null}}))}catch(It){}this.passive=Me?{passive:!1}:!1}var qe=this.props,gt=qe.open,ht=qe.getContainer,Pe=ht&&ht();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),gt&&(Pe&&Pe.parentNode===document.body&&(Y[this.drawerId]=gt),this.openLevelTransition(),this.forceUpdate(function(){ve.domFocus()}))}},{key:"componentDidUpdate",value:function(ve){var Me=this.props,qe=Me.open,gt=Me.getContainer,ht=gt&>();qe!==ve.open&&(qe&&this.domFocus(),ht&&ht.parentNode===document.body&&(Y[this.drawerId]=!!qe),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var ve=this.props,Me=ve.getOpenCount,qe=ve.open,gt=ve.switchScrollingEffect,ht=typeof Me=="function"&&Me();delete Y[this.drawerId],qe&&(this.setLevelTransform(!1),document.body.style.touchAction=""),ht||(document.body.style.overflow="",gt(!0))}},{key:"render",value:function(){var ve,Me=this,qe=this.props,gt=qe.className,ht=qe.children,Pe=qe.style,It=qe.width,nt=qe.height,Nt=qe.defaultOpen,Bt=qe.open,Pt=qe.prefixCls,jt=qe.placement,er=qe.level,at=qe.levelMove,Ce=qe.ease,ue=qe.duration,Dt=qe.getContainer,rt=qe.handler,ye=qe.onChange,Xt=qe.afterVisibleChange,pr=qe.showMask,mt=qe.maskClosable,nr=qe.maskStyle,yr=qe.onClose,gn=qe.onHandleClick,_r=qe.keyboard,ur=qe.getOpenCount,zt=qe.switchScrollingEffect,bt=Object(o.a)(qe,["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"]),ot=this.dom?Bt:!1,lr=S()(Pt,(ve={},Object(C.a)(ve,"".concat(Pt,"-").concat(jt),!0),Object(C.a)(ve,"".concat(Pt,"-open"),ot),Object(C.a)(ve,gt||"",!!gt),Object(C.a)(ve,"no-mask",!pr),ve)),jr=this.getHorizontalBoolAndPlacementName(),Rr=jr.placementName,xr=jt==="left"||jt==="top"?"-100%":"100%",Vn=ot?"":"".concat(Rr,"(").concat(xr,")"),bn=rt&&e.cloneElement(rt,{onClick:function(lt){rt.props.onClick&&rt.props.onClick(),gn&&gn(lt)},ref:function(lt){Me.handlerDom=lt}});return e.createElement("div",Object.assign({},bt,{tabIndex:-1,className:lr,style:Pe,ref:function(lt){Me.dom=lt},onKeyDown:ot&&_r?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),pr&&e.createElement("div",{className:"".concat(Pt,"-mask"),onClick:mt?yr:void 0,style:nr,ref:function(lt){Me.maskDom=lt}}),e.createElement("div",{className:"".concat(Pt,"-content-wrapper"),style:{transform:Vn,msTransform:Vn,width:V(It)?"".concat(It,"px"):It,height:V(nt)?"".concat(nt,"px"):nt},ref:function(lt){Me.contentWrapper=lt}},e.createElement("div",{className:"".concat(Pt,"-content"),ref:function(lt){Me.contentDom=lt},onTouchStart:ot&&pr?this.removeStartHandler:void 0,onTouchMove:ot&&pr?this.removeMoveHandler:void 0},ht),bn))}}],[{key:"getDerivedStateFromProps",value:function(ve,Me){var qe=Me.prevProps,gt=Me._self,ht={prevProps:ve};if(qe!==void 0){var Pe=ve.placement,It=ve.level;Pe!==qe.placement&&(gt.contentDom=null),It!==qe.level&>.getLevelDom(ve)}return ht}}]),Ne}(e.Component);re.defaultProps={switchScrollingEffect:function(){}};var ne=re;function we(fe){var Be=ie();return function(){var de=Object(w.a)(fe),ve;if(Be){var Me=Object(w.a)(this).constructor;ve=Reflect.construct(de,arguments,Me)}else ve=de.apply(this,arguments);return Object(A.a)(this,ve)}}function ie(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(fe){return!1}}var me=function(fe){Object(g.a)(Ne,fe);var Be=we(Ne);function Ne(de){var ve;Object(u.a)(this,Ne),ve=Be.call(this,de),ve.onHandleClick=function(qe){var gt=ve.props,ht=gt.onHandleClick,Pe=gt.open;if(ht&&ht(qe),typeof Pe=="undefined"){var It=ve.state.open;ve.setState({open:!It})}},ve.onClose=function(qe){var gt=ve.props,ht=gt.onClose,Pe=gt.open;ht&&ht(qe),typeof Pe=="undefined"&&ve.setState({open:!1})};var Me=typeof de.open!="undefined"?de.open:!!de.defaultOpen;return ve.state={open:Me},"onMaskClick"in de&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),ve}return Object(h.a)(Ne,[{key:"render",value:function(){var ve=this,Me=this.props,qe=Me.defaultOpen,gt=Me.getContainer,ht=Me.wrapperClassName,Pe=Me.forceRender,It=Me.handler,nt=Object(o.a)(Me,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),Nt=this.state.open;if(!gt)return e.createElement("div",{className:ht,ref:function(jt){ve.dom=jt}},e.createElement(ne,Object.assign({},nt,{open:Nt,handler:It,getContainer:function(){return ve.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Bt=!!It||Pe;return e.createElement(x.a,{visible:Nt,forceRender:Bt,getContainer:gt,wrapperClassName:ht},function(Pt){var jt=Pt.visible,er=Pt.afterClose,at=Object(o.a)(Pt,["visible","afterClose"]);return e.createElement(ne,Object.assign({},nt,at,{open:jt!==void 0?jt:Nt,afterVisibleChange:er!==void 0?er:nt.afterVisibleChange,handler:It,onClose:ve.onClose,onHandleClick:ve.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(ve,Me){var qe=Me.prevProps,gt={prevProps:ve};return typeof qe!="undefined"&&ve.open!==qe.open&&(gt.open=ve.open),gt}}]),Ne}(e.Component);me.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:e.createElement("div",{className:"drawer-handle"},e.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var _e=me,Te=_e,We=i("V/uB"),Ae=i.n(We),je=i("BGR+"),ee=i("H84U"),he=i("CWQg"),Ze=function(fe,Be){var Ne={};for(var de in fe)Object.prototype.hasOwnProperty.call(fe,de)&&Be.indexOf(de)<0&&(Ne[de]=fe[de]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,de=Object.getOwnPropertySymbols(fe);ve<de.length;ve++)Be.indexOf(de[ve])<0&&Object.prototype.propertyIsEnumerable.call(fe,de[ve])&&(Ne[de[ve]]=fe[de[ve]]);return Ne},oe=e.createContext(null),Q=Object(he.a)("top","right","bottom","left"),G={distance:180},te=function(fe){s()(Ne,fe);var Be=c()(Ne);function Ne(){var de;return f()(this,Ne),de=Be.apply(this,arguments),de.state={push:!1},de.push=function(){de.props.push&&de.setState({push:!0})},de.pull=function(){de.props.push&&de.setState({push:!1})},de.onDestroyTransitionEnd=function(){var ve=de.getDestroyOnClose();if(!ve)return;de.props.visible||(de.destroyClose=!0,de.forceUpdate())},de.getDestroyOnClose=function(){return de.props.destroyOnClose&&!de.props.visible},de.getPushDistance=function(){var ve=de.props.push,Me;return typeof ve=="boolean"?Me=ve?G.distance:0:Me=ve.distance,parseFloat(String(Me||0))},de.getPushTransform=function(ve){var Me=de.getPushDistance();if(ve==="left"||ve==="right")return"translateX(".concat(ve==="left"?Me:-Me,"px)");if(ve==="top"||ve==="bottom")return"translateY(".concat(ve==="top"?Me:-Me,"px)")},de.getRcDrawerStyle=function(){var ve=de.props,Me=ve.zIndex,qe=ve.placement,gt=ve.mask,ht=ve.style,Pe=de.state.push,It=gt?{}:de.getOffsetStyle();return p()(p()({zIndex:Me,transform:Pe?de.getPushTransform(qe):void 0},It),ht)},de.renderBody=function(){var ve=de.props,Me=ve.bodyStyle,qe=ve.drawerStyle,gt=ve.prefixCls,ht=ve.visible;if(de.destroyClose&&!ht)return null;de.destroyClose=!1;var Pe={},It=de.getDestroyOnClose();return It&&(Pe.opacity=0,Pe.transition="opacity .3s"),e.createElement("div",{className:"".concat(gt,"-wrapper-body"),style:p()(p()({},Pe),qe),onTransitionEnd:de.onDestroyTransitionEnd},de.renderHeader(),e.createElement("div",{className:"".concat(gt,"-body"),style:Me},de.props.children),de.renderFooter())},de.renderProvider=function(ve){return de.parentDrawer=ve,e.createElement(ee.a,null,function(Me){var qe=Me.getPopupContainer,gt=Me.getPrefixCls,ht=de.props,Pe=ht.prefixCls,It=ht.placement,nt=ht.className,Nt=ht.mask,Bt=ht.direction,Pt=ht.visible,jt=Ze(ht,["prefixCls","placement","className","mask","direction","visible"]),er=gt("select",Pe),at=S()(nt,m()({"no-mask":!Nt},"".concat(er,"-rtl"),Bt==="rtl")),Ce=Nt?de.getOffsetStyle():{};return e.createElement(oe.Provider,{value:t()(de)},e.createElement(Te,p()({handler:!1},Object(je.default)(jt,["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:jt.getContainer===void 0&&qe?function(){return qe(document.body)}:jt.getContainer},Ce,{prefixCls:er,open:Pt,showMask:Nt,placement:It,style:de.getRcDrawerStyle(),className:at}),de.renderBody()))})},de}return l()(Ne,[{key:"componentDidMount",value:function(){var ve=this.props.visible;ve&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(ve){var Me=this.props.visible;ve.visible!==Me&&this.parentDrawer&&(Me?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var ve=this.props,Me=ve.placement,qe=ve.width,gt=ve.height,ht=ve.visible,Pe=ve.mask;if(!ht&&!Pe)return{};var It={};return Me==="left"||Me==="right"?It.width=qe:It.height=gt,It}},{key:"renderHeader",value:function(){var ve=this.props,Me=ve.title,qe=ve.prefixCls,gt=ve.closable,ht=ve.headerStyle;if(!Me&&!gt)return null;var Pe=Me?"".concat(qe,"-header"):"".concat(qe,"-header-no-title");return e.createElement("div",{className:Pe,style:ht},Me&&e.createElement("div",{className:"".concat(qe,"-title")},Me),gt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var ve=this.props,Me=ve.footer,qe=ve.footerStyle,gt=ve.prefixCls;if(!Me)return null;var ht="".concat(gt,"-footer");return e.createElement("div",{className:ht,style:qe},Me)}},{key:"renderCloseIcon",value:function(){var ve=this.props,Me=ve.closable,qe=ve.closeIcon,gt=qe===void 0?e.createElement(Ae.a,null):qe,ht=ve.prefixCls,Pe=ve.onClose;return Me&&e.createElement("button",{onClick:Pe,"aria-label":"Close",className:"".concat(ht,"-close"),style:{"--scroll-bar":"".concat(Object(_.a)(),"px")}},gt)}},{key:"render",value:function(){return e.createElement(oe.Consumer,null,this.renderProvider)}}]),Ne}(e.Component);te.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:G};var xe=R.a=Object(ee.c)({prefixCls:"drawer"})(te)},"/y7N":function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E=i("6GrX"),p=i("7aKB"),v=i("Fofx"),f=i("aX7z"),d=i("+rIm");function l(u){var h=u.get("type"),g=u.getModel(h+"Style"),A;return h==="line"?(A=g.getLineStyle(),A.fill=null):h==="shadow"&&(A=g.getAreaStyle(),A.stroke=null),A}function n(u,h,g,A,w){var x=g.get("value"),C=a(x,h.axis,h.ecModel,g.get("seriesDataIndices"),{precision:g.get("label.precision"),formatter:g.get("label.formatter")}),T=g.getModel("label"),O=p.normalizeCssArray(T.get("padding")||0),S=T.getFont(),_=E.getBoundingRect(C,S),L=w.position,D=_.width+O[1]+O[3],F=_.height+O[0]+O[2],j=w.align;j==="right"&&(L[0]-=D),j==="center"&&(L[0]-=D/2);var k=w.verticalAlign;k==="bottom"&&(L[1]-=F),k==="middle"&&(L[1]-=F/2),t(L,D,F,A);var K=T.get("backgroundColor");(!K||K==="auto")&&(K=h.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:D,height:F,r:T.get("borderRadius")},position:L.slice(),style:{text:C,textFont:S,textFill:T.getTextColor(),textPosition:"inside",textPadding:O,fill:K,stroke:T.get("borderColor")||"transparent",lineWidth:T.get("borderWidth")||0,shadowBlur:T.get("shadowBlur"),shadowColor:T.get("shadowColor"),shadowOffsetX:T.get("shadowOffsetX"),shadowOffsetY:T.get("shadowOffsetY")},z2:10}}function t(u,h,g,A){var w=A.getWidth(),x=A.getHeight();u[0]=Math.min(u[0]+h,w)-h,u[1]=Math.min(u[1]+g,x)-g,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function a(u,h,g,A,w){u=h.scale.parse(u);var x=h.scale.getLabel(u,{precision:w.precision}),C=w.formatter;if(C){var T={value:f.getAxisRawValue(h,u),axisDimension:h.dim,axisIndex:h.index,seriesData:[]};y.each(A,function(O){var S=g.getSeriesByIndex(O.seriesIndex),_=O.dataIndexInside,L=S&&S.getDataParams(_);L&&T.seriesData.push(L)}),y.isString(C)?x=C.replace("{value}",x):y.isFunction(C)&&(x=C(T))}return x}function s(u,h,g){var A=v.create();return v.rotate(A,A,g.rotation),v.translate(A,A,g.position),m.applyTransform([u.dataToCoord(h),(g.labelOffset||0)+(g.labelDirection||1)*(g.labelMargin||0)],A)}function r(u,h,g,A,w,x){var C=d.innerTextLayout(g.rotation,0,g.labelDirection);g.labelMargin=w.get("label.margin"),n(h,A,w,x,{position:s(A.axis,u,g),align:C.textAlign,verticalAlign:C.textVerticalAlign})}function c(u,h,g){return g=g||0,{x1:u[g],y1:u[1-g],x2:h[g],y2:h[1-g]}}function e(u,h,g){return g=g||0,{x:u[g],y:u[1-g],width:h[g],height:h[1-g]}}function o(u,h,g,A,w,x){return{cx:u,cy:h,r0:g,r:A,startAngle:w,endAngle:x,clockwise:!0}}R.buildElStyle=l,R.buildLabelElOption=n,R.getValueLabel=a,R.getTransformedPosition=s,R.buildCartesianSingleLabelElOption=r,R.makeLineShape=c,R.makeRectShape=e,R.makeSectorShape=o},"/zsF":function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("bE4E"),p=i.n(E)},"0/Rx":function(U,R){function i(y){return{seriesType:y,reset:function(m,E){var p=E.findComponents({mainType:"legend"});if(!p||!p.length)return;var v=m.getData();v.filterSelf(function(f){for(var d=v.getName(f),l=0;l<p.length;l++)if(!p[l].isSelected(d))return!1;return!0})}}}U.exports=i},"01d+":function(U,R,i){var y=i("bYtY"),m=y.each,E=i("HF/U"),p=E.simpleLayout,v=E.simpleLayoutEdge;function f(d,l){d.eachSeriesByType("graph",function(n){var t=n.get("layout"),a=n.coordinateSystem;if(a&&a.type!=="view"){var s=n.getData(),r=[];m(a.dimensions,function(g){r=r.concat(s.mapDimension(g,!0))});for(var c=0;c<s.count();c++){for(var e=[],o=!1,u=0;u<r.length;u++){var h=s.get(r[u],c);isNaN(h)||(o=!0),e.push(h)}o?s.setItemLayout(c,a.dataToPoint(e)):s.setItemLayout(c,[NaN,NaN])}v(s.graph)}else(!t||t==="none")&&p(n)})}U.exports=f},"06DH":function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("Kagy"),p=i("IUWy"),v=E.toolbox.magicType,f="__ec_magicType_stack__";function d(s){this.model=s}d.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:m.clone(v.title),option:{},seriesIndex:{}};var l=d.prototype;l.getIcons=function(){var s=this.model,r=s.get("icon"),c={};return m.each(s.get("type"),function(e){r[e]&&(c[e]=r[e])}),c};var n={line:function(s,r,c,e){if(s==="bar")return m.merge({id:r,type:"line",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},e.get("option.line")||{},!0)},bar:function(s,r,c,e){if(s==="line")return m.merge({id:r,type:"bar",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},e.get("option.bar")||{},!0)},stack:function(s,r,c,e){var o=c.get("stack")===f;if(s==="line"||s==="bar")return e.setIconStatus("stack",o?"normal":"emphasis"),m.merge({id:r,stack:o?"":f},e.get("option.stack")||{},!0)}},t=[["line","bar"],["stack"]];l.onclick=function(s,r,c){var e=this.model,o=e.get("seriesIndex."+c);if(!n[c])return;var u={series:[]},h=function(w){var x=w.subType,C=w.id,T=n[c](x,C,w,e);T&&(m.defaults(T,w.option),u.series.push(T));var O=w.coordinateSystem;if(O&&O.type==="cartesian2d"&&(c==="line"||c==="bar")){var S=O.getAxesByScale("ordinal")[0];if(S){var _=S.dim,L=_+"Axis",D=s.queryComponents({mainType:L,index:w.get(name+"Index"),id:w.get(name+"Id")})[0],F=D.componentIndex;u[L]=u[L]||[];for(var j=0;j<=F;j++)u[L][F]=u[L][F]||{};u[L][F].boundaryGap=c==="bar"}}};m.each(t,function(w){m.indexOf(w,c)>=0&&m.each(w,function(x){e.setIconStatus(x,"normal")})}),e.setIconStatus(c,"emphasis"),s.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},h);var g;if(c==="stack"){var A=u.series&&u.series[0]&&u.series[0].stack===f;g=A?m.merge({stack:v.title.tiled},v.title):m.clone(v.title)}r.dispatchAction({type:"changeMagicType",currentType:c,newOption:u,newTitle:g,featureName:"magicType"})},y.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(s,r){r.mergeOption(s.newOption)}),p.register("magicType",d);var a=d;U.exports=a},"06Qe":function(U,R,i){var y=i("ItGF"),m="urn:schemas-microsoft-com:vml",E=typeof window=="undefined"?null:window,p=!1,v=E&&E.document;function f(n){return d(n)}var d;if(v&&!y.canvasSupported)try{!v.namespaces.zrvml&&v.namespaces.add("zrvml",m),d=function(t){return v.createElement("<zrvml:"+t+' class="zrvml">')}}catch(n){d=function(a){return v.createElement("<"+a+' xmlns="'+m+'" class="zrvml">')}}function l(){if(p||!v)return;p=!0;var n=v.styleSheets;n.length<31?v.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):n[0].addRule(".zrvml","behavior:url(#default#VML)")}R.doc=v,R.createNode=f,R.initVML=l},"09Wf":function(U,R,i){"use strict";i.d(R,"b",function(){return m}),i.d(R,"a",function(){return E});var y=i("CWQg"),m=Object(y.a)("success","processing","error","default","warning"),E=Object(y.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(U,R,i){var y=i("T4UG"),m=i("I3/A"),E=i("7aKB"),p=E.encodeHTML,v=i("Qxkt"),f=i("Tghj"),d=f.__DEV__,l=y.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,a){for(var s=t.edges||t.links,r=t.data||t.nodes,c=t.levels,e=this.levelModels={},o=0;o<c.length;o++)c[o].depth!=null&&c[o].depth>=0&&(e[c[o].depth]=new v(c[o],this,a));if(r&&s){var u=m(r,s,this,!0,h);return u.data}function h(g,A){g.wrapMethod("getItemModel",function(w,x){return w.customizeGetParent(function(C){var T=this.parentModel,O=T.getData().getItemLayout(x).depth,S=T.levelModels[O];return S||this.parentModel}),w}),A.wrapMethod("getItemModel",function(w,x){return w.customizeGetParent(function(C){var T=this.parentModel,O=T.getGraph().getEdgeByIndex(x),S=O.node1.getLayout().depth,_=T.levelModels[S];return _||this.parentModel}),w})}},setNodePosition:function(t,a){var s=this.option.data[t];s.localX=a[0],s.localY=a[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,a,s){if(s==="edge"){var r=this.getDataParams(t,s),c=r.data,e=c.source+" -- "+c.target;return r.value&&(e+=" : "+r.value),p(e)}else if(s==="node"){var o=this.getGraph().getNodeByIndex(t),u=o.getLayout().value,h=this.getDataParams(t,s).data.name;if(u)var e=h+" : "+u;return p(e)}return l.superCall(this,"formatTooltip",t,a)},optionUpdated:function(){var t=this.option;t.focusNodeAdjacency===!0&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,a){var s=l.superCall(this,"getDataParams",t,a);if(s.value==null&&a==="node"){var r=this.getGraph().getNodeByIndex(t),c=r.getLayout().value;s.value=c}return s},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}}),n=l;U.exports=n},"0HBW":function(U,R,i){var y=i("ProS"),m=i("bYtY");i("Hxpc"),i("7uqq"),i("dmGj"),i("SehX");function E(p,v){v.update="updateView",y.registerAction(v,function(f,d){var l={};return d.eachComponent({mainType:"geo",query:f},function(n){n[p](f.name);var t=n.coordinateSystem;m.each(t.regions,function(a){l[a.name]=n.isSelected(a.name)||!1})}),{selected:l,name:f.name}})}E("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),E("select",{type:"geoSelect",event:"geoselected"}),E("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(U,R,i){var y=i("bYtY"),m=i("+TT/"),E=i("OELB"),p=i("IDmD"),v=864e5;function f(n,t,a){this._model=n}f.prototype={constructor:f,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(n){n=E.parseDate(n);var t=n.getFullYear(),a=n.getMonth()+1;a=a<10?"0"+a:a;var s=n.getDate();s=s<10?"0"+s:s;var r=n.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:t,m:a,d:s,day:r,time:n.getTime(),formatedDate:t+"-"+a+"-"+s,date:n}},getNextNDay:function(n,t){return t=t||0,t===0?this.getDateInfo(n):(n=new Date(this.getDateInfo(n).time),n.setDate(n.getDate()+t),this.getDateInfo(n))},update:function(n,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var a=this._rangeInfo.weeks||1,s=["width","height"],r=this._model.get("cellSize").slice(),c=this._model.getBoxLayoutParams(),e=this._orient==="horizontal"?[a,7]:[7,a];y.each([0,1],function(g){h(r,g)&&(c[s[g]]=r[g]*e[g])});var o={width:t.getWidth(),height:t.getHeight()},u=this._rect=m.getLayoutRect(c,o);y.each([0,1],function(g){h(r,g)||(r[g]=u[s[g]]/e[g])});function h(g,A){return g[A]!=null&&g[A]!=="auto"}this._sw=r[0],this._sh=r[1]},dataToPoint:function(n,t){y.isArray(n)&&(n=n[0]),t==null&&(t=!0);var a=this.getDateInfo(n),s=this._rangeInfo,r=a.formatedDate;if(t&&!(a.time>=s.start.time&&a.time<s.end.time+v))return[NaN,NaN];var c=a.day,e=this._getRangeInfo([s.start.time,r]).nthWeek;return this._orient==="vertical"?[this._rect.x+c*this._sw+this._sw/2,this._rect.y+e*this._sh+this._sh/2]:[this._rect.x+e*this._sw+this._sw/2,this._rect.y+c*this._sh+this._sh/2]},pointToData:function(n){var t=this.pointToDate(n);return t&&t.time},dataToRect:function(n,t){var a=this.dataToPoint(n,t);return{contentShape:{x:a[0]-(this._sw-this._lineWidth)/2,y:a[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:a,tl:[a[0]-this._sw/2,a[1]-this._sh/2],tr:[a[0]+this._sw/2,a[1]-this._sh/2],br:[a[0]+this._sw/2,a[1]+this._sh/2],bl:[a[0]-this._sw/2,a[1]+this._sh/2]}},pointToDate:function(n){var t=Math.floor((n[0]-this._rect.x)/this._sw)+1,a=Math.floor((n[1]-this._rect.y)/this._sh)+1,s=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(a,t-1,s):this._getDateByWeeksAndDay(t,a-1,s)},convertToPixel:y.curry(d,"dataToPoint"),convertFromPixel:y.curry(d,"pointToData"),_initRangeOption:function(){var n=this._model.get("range"),t=n;if(y.isArray(t)&&t.length===1&&(t=t[0]),/^\d{4}$/.test(t)&&(n=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var a=this.getDateInfo(t),s=a.date;s.setMonth(s.getMonth()+1);var r=this.getNextNDay(s,-1);n=[a.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(n=[t,t]);var c=this._getRangeInfo(n);return c.start.time>c.end.time&&n.reverse(),n},_getRangeInfo:function(n){n=[this.getDateInfo(n[0]),this.getDateInfo(n[1])];var t;n[0].time>n[1].time&&(t=!0,n.reverse());var a=Math.floor(n[1].time/v)-Math.floor(n[0].time/v)+1,s=new Date(n[0].time),r=s.getDate(),c=n[1].date.getDate();s.setDate(r+a-1);var e=s.getDate();if(e!==c)for(var o=s.getTime()-n[1].time>0?1:-1;(e=s.getDate())!==c&&(s.getTime()-n[1].time)*o>0;)a-=o,s.setDate(e-o);var u=Math.floor((a+n[0].day+6)/7),h=t?-u+1:u-1;return t&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:a,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},_getDateByWeeksAndDay:function(n,t,a){var s=this._getRangeInfo(a);if(n>s.weeks||n===0&&t<s.fweek||n===s.weeks&&t>s.lweek)return!1;var r=(n-1)*7-s.fweek+t,c=new Date(s.start.time);return c.setDate(s.start.d+r),this.getDateInfo(c)}},f.dimensions=f.prototype.dimensions,f.getDimensionsInfo=f.prototype.getDimensionsInfo,f.create=function(n,t){var a=[];return n.eachComponent("calendar",function(s){var r=new f(s,n,t);a.push(r),s.coordinateSystem=r}),n.eachSeries(function(s){s.get("coordinateSystem")==="calendar"&&(s.coordinateSystem=a[s.get("calendarIndex")||0])}),a};function d(n,t,a,s){var r=a.calendarModel,c=a.seriesModel,e=r?r.coordinateSystem:c?c.coordinateSystem:null;return e===this?e[n](s):null}p.register("calendar",f);var l=f;U.exports=l},"0JQy":function(U,R){var i="\\ud800-\\udfff",y="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",E="\\u20d0-\\u20ff",p=y+m+E,v="\\ufe0e\\ufe0f",f="["+i+"]",d="["+p+"]",l="\\ud83c[\\udffb-\\udfff]",n="(?:"+d+"|"+l+")",t="[^"+i+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",c=n+"?",e="["+v+"]?",o="(?:"+r+"(?:"+[t,a,s].join("|")+")"+e+c+")*",u=e+c+o,h="(?:"+[t+d+"?",d,a,s,f].join("|")+")",g=RegExp(l+"(?="+l+")|"+h+u,"g");function A(w){return w.match(g)||[]}U.exports=A},"0NbB":function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CaretDownOutlined";var d=R.a=m.forwardRef(f)},"0V0F":function(U,R,i){var y=i("bYtY"),m=y.createHashMap,E=y.each;function p(f){var d=m();f.eachSeries(function(l){var n=l.get("stack");if(n){var t=d.get(n)||d.set(n,[]),a=l.getData(),s={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:l};if(!s.stackedDimension||!(s.isStackedByIndex||s.stackedByDimension))return;t.length&&a.setCalculationInfo("stackedOnSeries",t[t.length-1].seriesModel),t.push(s)}}),d.each(v)}function v(f){E(f,function(d,l){var n=[],t=[NaN,NaN],a=[d.stackResultDimension,d.stackedOverDimension],s=d.data,r=d.isStackedByIndex,c=s.map(a,function(e,o,u){var h=s.get(d.stackedDimension,u);if(isNaN(h))return t;var g,A;r?A=s.getRawIndex(u):g=s.get(d.stackedByDimension,u);for(var w=NaN,x=l-1;x>=0;x--){var C=f[x];if(r||(A=C.data.rawIndexOf(C.stackedByDimension,g)),A>=0){var T=C.data.getByRawIndex(C.stackResultDimension,A);if(h>=0&&T>0||h<=0&&T<0){h+=T,w=T;break}}}return n[0]=h,n[1]=w,n});s.hostModel.setData(c),d.data=c})}U.exports=p},"0XgM":function(U,R,i){},"0fbx":function(U,R,i){},"0o9m":function(U,R,i){var y=i("ProS");i("hNWo"),i("RlCK"),i("XpcN");var m=i("kDyi"),E=i("bLfw");y.registerProcessor(y.PRIORITY.PROCESSOR.SERIES_FILTER,m),E.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(U,R,i){var y=i("ProS");y.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),y.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(U,R){var i=arguments[3],y=arguments[4],m=arguments[5],E=JSON.stringify;U.exports=function(p,v){for(var f,d=Object.keys(m),l=0,n=d.length;l<n;l++){var t=d[l],a=m[t].exports;if(a===p||a&&a.default===p){f=t;break}}if(!f){f=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var s={},l=0,n=d.length;l<n;l++){var t=d[l];s[t]=t}y[f]=["function(require,module,exports){"+p+"(self); }",s]}var r=Math.floor(Math.pow(16,8)*Math.random()).toString(16),c={};c[f]=f,y[r]=["function(require,module,exports){var f = require("+E(f)+");(f.default ? f.default : f)(self);}",c];var e={};o(r);function o(x){e[x]=!0;for(var C in y[x][1]){var T=y[x][1][C];e[T]||o(T)}}var u="("+i+")({"+Object.keys(e).map(function(x){return E(x)+":["+y[x][0]+","+E(y[x][1])+"]"}).join(",")+"},{},["+E(r)+"])",h=window.URL||window.webkitURL||window.mozURL||window.msURL,g=new Blob([u],{type:"text/javascript"});if(v&&v.bare)return g;var A=h.createObjectURL(g),w=new Worker(A);return w.objectURL=A,w}},"0s+r":function(U,R,i){var y=i("bYtY"),m=i("QBsz"),E=i("y23F"),p=i("H6uX"),v=i("YH21"),f=i("C0SR"),d="silent";function l(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:n}}function n(){v.stop(this.event)}function t(){}t.prototype.dispose=function(){};var a=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],s=function(u,h,g,A){p.call(this),this.storage=u,this.painter=h,this.painterRoot=A,g=g||new t,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,E.call(this),this.setHandlerProxy(g)};s.prototype={constructor:s,setHandlerProxy:function(u){this.proxy&&this.proxy.dispose(),u&&(y.each(a,function(h){u.on&&u.on(h,this[h],this)},this),u.handler=this),this.proxy=u},mousemove:function(u){var h=u.zrX,g=u.zrY,A=c(this,h,g),w=this._hovered,x=w.target;x&&!x.__zr&&(w=this.findHover(w.x,w.y),x=w.target);var C=this._hovered=A?{x:h,y:g}:this.findHover(h,g),T=C.target,O=this.proxy;O.setCursor&&O.setCursor(T?T.cursor:"default"),x&&T!==x&&this.dispatchToElement(w,"mouseout",u),this.dispatchToElement(C,"mousemove",u),T&&T!==x&&this.dispatchToElement(C,"mouseover",u)},mouseout:function(u){var h=u.zrEventControl,g=u.zrIsToLocalDOM;h!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),h!=="no_globalout"&&(!g&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,h){var g=this[u];g&&g.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,g){u=u||{};var A=u.target;if(A&&A.silent)return;for(var w="on"+h,x=l(h,u,g);A&&!(A[w]&&(x.cancelBubble=A[w].call(A,x)),A.trigger(h,x),A=A.parent,x.cancelBubble););x.cancelBubble||(this.trigger(h,x),this.painter&&this.painter.eachOtherLayer(function(C){typeof C[w]=="function"&&C[w].call(C,x),C.trigger&&C.trigger(h,x)}))},findHover:function(u,h,g){for(var A=this.storage.getDisplayList(),w={x:u,y:h},x=A.length-1;x>=0;x--){var C;if(A[x]!==g&&!A[x].ignore&&(C=r(A[x],u,h))&&(!w.topTarget&&(w.topTarget=A[x]),C!==d)){w.target=A[x];break}}return w},processGesture:function(u,h){this._gestureMgr||(this._gestureMgr=new f);var g=this._gestureMgr;h==="start"&&g.clear();var A=g.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(h==="end"&&g.clear(),A){var w=A.type;u.gestureEvent=w,this.dispatchToElement({target:A.target},w,A.event)}}},y.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(o){s.prototype[o]=function(u){var h=u.zrX,g=u.zrY,A=c(this,h,g),w,x;if((o!=="mouseup"||!A)&&(w=this.findHover(h,g),x=w.target),o==="mousedown")this._downEl=x,this._downPoint=[u.zrX,u.zrY],this._upEl=x;else if(o==="mouseup")this._upEl=x;else if(o==="click"){if(this._downEl!==this._upEl||!this._downPoint||m.dist(this._downPoint,[u.zrX,u.zrY])>4)return;this._downPoint=null}this.dispatchToElement(w,o,u)}});function r(o,u,h){if(o[o.rectHover?"rectContain":"contain"](u,h)){for(var g=o,A;g;){if(g.clipPath&&!g.clipPath.contain(u,h))return!1;g.silent&&(A=!0),g=g.parent}return A?d:!0}return!1}function c(o,u,h){var g=o.painter;return u<0||u>g.getWidth()||h<0||h>g.getHeight()}y.mixin(s,p),y.mixin(s,E);var e=s;U.exports=e},"10cm":function(U,R,i){var y=i("ProS"),m=i("2B6p"),E=m.updateCenterAndZoom;i("0qV/");var p={type:"graphRoam",event:"graphRoam",update:"none"};y.registerAction(p,function(v,f){f.eachComponent({mainType:"series",query:v},function(d){var l=d.coordinateSystem,n=E(l,v);d.setCenter&&d.setCenter(n.center),d.setZoom&&d.setZoom(n.zoom)})})},"15/o":function(U,R,i){},"19Vz":function(U,R,i){(function(y){y(i("VrN/"))})(function(y){y.defineOption("placeholder","",function(l,n,t){var a=t&&t!=y.Init;if(n&&!a)l.on("blur",v),l.on("change",f),l.on("swapDoc",f),y.on(l.getInputField(),"compositionupdate",l.state.placeholderCompose=function(){p(l)}),f(l);else if(!n&&a){l.off("blur",v),l.off("change",f),l.off("swapDoc",f),y.off(l.getInputField(),"compositionupdate",l.state.placeholderCompose),m(l);var s=l.getWrapperElement();s.className=s.className.replace(" CodeMirror-empty","")}n&&!l.hasFocus()&&v(l)});function m(l){l.state.placeholder&&(l.state.placeholder.parentNode.removeChild(l.state.placeholder),l.state.placeholder=null)}function E(l){m(l);var n=l.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.style.direction=l.getOption("direction"),n.className="CodeMirror-placeholder CodeMirror-line-like";var t=l.getOption("placeholder");typeof t=="string"&&(t=document.createTextNode(t)),n.appendChild(t),l.display.lineSpace.insertBefore(n,l.display.lineSpace.firstChild)}function p(l){setTimeout(function(){var n=!1,t=l.getInputField();t.nodeName=="TEXTAREA"?n=!t.value:l.lineCount()==1&&(n=!/[^\u200b]/.test(t.querySelector(".CodeMirror-line").textContent)),n?E(l):m(l)},20)}function v(l){d(l)&&E(l)}function f(l){var n=l.getWrapperElement(),t=d(l);n.className=n.className.replace(" CodeMirror-empty","")+(t?" CodeMirror-empty":""),t?E(l):m(l)}function d(l){return l.lineCount()===1&&l.getLine(0)===""}})},"1Jh7":function(U,R,i){var y=i("y+Vt"),m=i("T6xi"),E=y.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(v,f){m.buildPath(v,f,!1)}});U.exports=E},"1LEl":function(U,R,i){var y=i("ProS"),m=i("F9bG"),E=y.extendComponentView({type:"axisPointer",render:function(v,f,d){var l=f.getComponent("tooltip"),n=v.get("triggerOn")||l&&l.get("triggerOn")||"mousemove|click";m.register("axisPointer",d,function(t,a,s){n!=="none"&&(t==="leave"||n.indexOf(t)>=0)&&s({type:"updateAxisPointer",currTrigger:t,x:a&&a.offsetX,y:a&&a.offsetY})})},remove:function(v,f){m.unregister(f.getZr(),"axisPointer"),E.superApply(this._model,"remove",arguments)},dispose:function(v,f){m.unregister("axisPointer",f),E.superApply(this._model,"dispose",arguments)}}),p=E;U.exports=p},"1MYJ":function(U,R,i){var y=i("y+Vt"),m=y.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var p=this.__dirtyPath,v=this.shape.paths,f=0;f<v.length;f++)p=p||v[f].__dirtyPath;this.__dirtyPath=p,this.__dirty=this.__dirty||p},beforeBrush:function(){this._updatePathDirty();for(var p=this.shape.paths||[],v=this.getGlobalScale(),f=0;f<p.length;f++)p[f].path||p[f].createPathProxy(),p[f].path.setScale(v[0],v[1],p[f].segmentIgnoreThreshold)},buildPath:function(p,v){for(var f=v.paths||[],d=0;d<f.length;d++)f[d].buildPath(p,f[d].shape,!0)},afterBrush:function(){for(var p=this.shape.paths||[],v=0;v<p.length;v++)p[v].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),y.prototype.getBoundingRect.call(this)}});U.exports=m},"1NG9":function(U,R,i){var y=i("y+Vt"),m=i("QBsz"),E=i("iXp4"),p=m.min,v=m.max,f=m.scaleAndAdd,d=m.copy,l=[],n=[],t=[];function a(h){return isNaN(h[0])||isNaN(h[1])}function s(h,g,A,w,x,C,T,O,S,_,L){return _==="none"||!_?c.apply(this,arguments):r.apply(this,arguments)}function r(h,g,A,w,x,C,T,O,S,_,L){for(var D=0,F=A,j=0;j<w;j++){var k=g[F];if(F>=x||F<0)break;if(a(k)){if(L){F+=C;continue}break}if(F===A)h[C>0?"moveTo":"lineTo"](k[0],k[1]);else if(S>0){var K=g[D],Z=_==="y"?1:0,B=(k[Z]-K[Z])*S;d(n,K),n[Z]=K[Z]+B,d(t,k),t[Z]=k[Z]-B,h.bezierCurveTo(n[0],n[1],t[0],t[1],k[0],k[1])}else h.lineTo(k[0],k[1]);D=F,F+=C}return j}function c(h,g,A,w,x,C,T,O,S,_,L){for(var D=0,F=A,j=0;j<w;j++){var k=g[F];if(F>=x||F<0)break;if(a(k)){if(L){F+=C;continue}break}if(F===A)h[C>0?"moveTo":"lineTo"](k[0],k[1]),d(n,k);else if(S>0){var K=F+C,Z=g[K];if(L)for(;Z&&a(g[K]);)K+=C,Z=g[K];var B=.5,V=g[D],Z=g[K];if(!Z||a(Z))d(t,k);else{a(Z)&&!L&&(Z=k),m.sub(l,Z,V);var z,X;if(_==="x"||_==="y"){var W=_==="x"?0:1;z=Math.abs(k[W]-V[W]),X=Math.abs(k[W]-Z[W])}else z=m.dist(k,V),X=m.dist(k,Z);B=X/(X+z),f(t,k,l,-S*(1-B))}p(n,n,O),v(n,n,T),p(t,t,O),v(t,t,T),h.bezierCurveTo(n[0],n[1],t[0],t[1],k[0],k[1]),f(n,k,l,S*B)}else h.lineTo(k[0],k[1]);D=F,F+=C}return j}function e(h,g){var A=[Infinity,Infinity],w=[-Infinity,-Infinity];if(g)for(var x=0;x<h.length;x++){var C=h[x];C[0]<A[0]&&(A[0]=C[0]),C[1]<A[1]&&(A[1]=C[1]),C[0]>w[0]&&(w[0]=C[0]),C[1]>w[1]&&(w[1]=C[1])}return{min:g?A:w,max:g?w:A}}var o=y.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:E(y.prototype.brush),buildPath:function(h,g){var A=g.points,w=0,x=A.length,C=e(A,g.smoothConstraint);if(g.connectNulls){for(;x>0&&a(A[x-1]);x--);for(;w<x&&a(A[w]);w++);}for(;w<x;)w+=s(h,A,w,x,x,1,C.min,C.max,g.smooth,g.smoothMonotone,g.connectNulls)+1}}),u=y.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:E(y.prototype.brush),buildPath:function(h,g){var A=g.points,w=g.stackedOnPoints,x=0,C=A.length,T=g.smoothMonotone,O=e(A,g.smoothConstraint),S=e(w,g.smoothConstraint);if(g.connectNulls){for(;C>0&&a(A[C-1]);C--);for(;x<C&&a(A[x]);x++);}for(;x<C;){var _=s(h,A,x,C,C,1,O.min,O.max,g.smooth,T,g.connectNulls);s(h,w,x+_-1,_,C,-1,S.min,S.max,g.stackedOnSmooth,T,g.connectNulls),x+=_+1,h.closePath()}}});R.Polyline=o,R.Polygon=u},"1RvN":function(U,R){var i=function(){this.head=null,this.tail=null,this._len=0},y=i.prototype;y.insert=function(f){var d=new m(f);return this.insertEntry(d),d},y.insertEntry=function(f){this.head?(this.tail.next=f,f.prev=this.tail,f.next=null,this.tail=f):this.head=this.tail=f,this._len++},y.remove=function(f){var d=f.prev,l=f.next;d?d.next=l:this.head=l,l?l.prev=d:this.tail=d,f.next=f.prev=null,this._len--},y.len=function(){return this._len},y.clear=function(){this.head=this.tail=null,this._len=0};var m=function(d){this.value=d,this.next,this.prev},E=function(d){this._list=new i,this._map={},this._maxSize=d||10,this._lastRemovedEntry=null},p=E.prototype;p.put=function(f,d){var l=this._list,n=this._map,t=null;if(n[f]==null){var a=l.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var r=l.head;l.remove(r),delete n[r.key],t=r.value,this._lastRemovedEntry=r}s?s.value=d:s=new m(d),s.key=f,l.insertEntry(s),n[f]=s}return t},p.get=function(f){var d=this._map[f],l=this._list;if(d!=null)return d!==l.tail&&(l.remove(d),l.insertEntry(d)),d.value},p.clear=function(){this._list.clear(),this._map={}};var v=E;U.exports=v},"1bdT":function(U,R,i){var y=i("3gBT"),m=i("H6uX"),E=i("DN4a"),p=i("vWvF"),v=i("bYtY"),f=function(n){E.call(this,n),m.call(this,n),p.call(this,n),this.id=n.id||y()};f.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(n,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":n=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=n,a[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(n,t){},attrKV:function(n,t){if(n==="position"||n==="scale"||n==="origin"){if(t){var a=this[n];a||(a=this[n]=[]),a[0]=t[0],a[1]=t[1]}}else this[n]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(n,t){if(typeof n=="string")this.attrKV(n,t);else if(v.isObject(n))for(var a in n)n.hasOwnProperty(a)&&this.attrKV(a,n[a]);return this.dirty(!1),this},setClipPath:function(n){var t=this.__zr;t&&n.addSelfToZr(t),this.clipPath&&this.clipPath!==n&&this.removeClipPath(),this.clipPath=n,n.__zr=t,n.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var n=this.clipPath;n&&(n.__zr&&n.removeSelfFromZr(n.__zr),n.__zr=null,n.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(n){this.__zr=n;var t=this.animators;if(t)for(var a=0;a<t.length;a++)n.animation.addAnimator(t[a]);this.clipPath&&this.clipPath.addSelfToZr(n)},removeSelfFromZr:function(n){this.__zr=null;var t=this.animators;if(t)for(var a=0;a<t.length;a++)n.animation.removeAnimator(t[a]);this.clipPath&&this.clipPath.removeSelfFromZr(n)}},v.mixin(f,p),v.mixin(f,E),v.mixin(f,m);var d=f;U.exports=d},"1dTM":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=i("GQ8N"),m=_(i("Lo0S")),E=i("VSMT"),p=i("GdRQ"),v=i("SZEN"),f=i("vewr"),d=O(i("YJ9k")),l=O(i("MZdM")),n=O(i("ItS6")),t=O(i("whVF")),a=O(i("Fv0C")),s=O(i("LCi9")),r=O(i("rwxt")),c=O(i("Mmt2")),e=O(i("iUHT")),o=O(i("mHUz")),u=O(i("P2ho")),h=i("NBmB");i("mdZa");var g=O(i("34/K")),A=O(i("hXwI")),w=O(i("SgaC")),x=O(i("3690")),C=O(i("8K/p")),T=O(i("xO64"));function O(xe){return xe&&xe.__esModule?xe:{default:xe}}function S(){if(typeof WeakMap!="function")return null;var xe=new WeakMap;return S=function(){return xe},xe}function _(xe){if(xe&&xe.__esModule)return xe;if(xe===null||L(xe)!=="object"&&typeof xe!="function")return{default:xe};var fe=S();if(fe&&fe.has(xe))return fe.get(xe);var Be={},Ne=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var de in xe)if(Object.prototype.hasOwnProperty.call(xe,de)){var ve=Ne?Object.getOwnPropertyDescriptor(xe,de):null;ve&&(ve.get||ve.set)?Object.defineProperty(Be,de,ve):Be[de]=xe[de]}return Be.default=xe,fe&&fe.set(xe,Be),Be}function L(xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(Be){return typeof Be}:L=function(Be){return Be&&typeof Symbol=="function"&&Be.constructor===Symbol&&Be!==Symbol.prototype?"symbol":typeof Be},L(xe)}function D(xe,fe){if(!(xe instanceof fe))throw new TypeError("Cannot call a class as a function")}function F(xe,fe){for(var Be=0;Be<fe.length;Be++){var Ne=fe[Be];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(xe,Ne.key,Ne)}}function j(xe,fe,Be){return fe&&F(xe.prototype,fe),Be&&F(xe,Be),xe}function k(xe,fe){if(typeof fe!="function"&&fe!==null)throw new TypeError("Super expression must either be null or a function");xe.prototype=Object.create(fe&&fe.prototype,{constructor:{value:xe,writable:!0,configurable:!0}}),fe&&K(xe,fe)}function K(xe,fe){return K=Object.setPrototypeOf||function(Ne,de){return Ne.__proto__=de,Ne},K(xe,fe)}function Z(xe){var fe=z();return function(){var Ne=X(xe),de;if(fe){var ve=X(this).constructor;de=Reflect.construct(Ne,arguments,ve)}else de=Ne.apply(this,arguments);return B(this,de)}}function B(xe,fe){return fe&&(L(fe)==="object"||typeof fe=="function")?fe:V(xe)}function V(xe){if(xe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return xe}function z(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(xe){return!1}}function X(xe){return X=Object.setPrototypeOf?Object.getPrototypeOf:function(Be){return Be.__proto__||Object.getPrototypeOf(Be)},X(xe)}var W=3,q="rgb(40, 40, 40)",Y=17,re=50,ne=19,we=75,ie=50,me=1e3,_e=50,Te=1,We=1<<1,Ae=1<<2,je=1<<3,ee=1<<4,he=1<<24,Ze=1<<25,oe=1<<26,Q=1<<27,G=1<<28,te=function(xe){k(Be,xe);var fe=Z(Be);function Be(Ne,de,ve){var Me;if(D(this,Be),!Ne)throw new Error("Must specify target");if(!de)throw new Error("Must specify URL");Me=fe.call(this),Me._target=Ne,Me._url=de,ve=ve||{},Me._rfbCredentials=ve.credentials||{},Me._shared="shared"in ve?!!ve.shared:!0,Me._repeaterID=ve.repeaterID||"",Me._wsProtocols=ve.wsProtocols||[],Me._rfbConnectionState="",Me._rfbInitState="",Me._rfbAuthScheme=-1,Me._rfbCleanDisconnect=!0,Me._rfbVersion=0,Me._rfbMaxVersion=3.8,Me._rfbTightVNC=!1,Me._rfbVeNCryptState=0,Me._rfbXvpVer=0,Me._fbWidth=0,Me._fbHeight=0,Me._fbName="",Me._capabilities={power:!1},Me._supportsFence=!1,Me._supportsContinuousUpdates=!1,Me._enabledContinuousUpdates=!1,Me._supportsSetDesktopSize=!1,Me._screenID=0,Me._screenFlags=0,Me._qemuExtKeyEventSupported=!1,Me._clipboardText=null,Me._clipboardServerCapabilitiesActions={},Me._clipboardServerCapabilitiesFormats={},Me._sock=null,Me._display=null,Me._flushing=!1,Me._keyboard=null,Me._gestures=null,Me._disconnTimer=null,Me._resizeTimeout=null,Me._mouseMoveTimer=null,Me._decoders={},Me._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},Me._mousePos={},Me._mouseButtonMask=0,Me._mouseLastMoveTime=0,Me._viewportDragging=!1,Me._viewportDragPos={},Me._viewportHasMoved=!1,Me._accumulatedWheelDeltaX=0,Me._accumulatedWheelDeltaY=0,Me._gestureLastTapTime=null,Me._gestureFirstDoubleTapEv=null,Me._gestureLastMagnitudeX=0,Me._gestureLastMagnitudeY=0,Me._eventHandlers={focusCanvas:Me._focusCanvas.bind(V(Me)),windowResize:Me._windowResize.bind(V(Me)),handleMouse:Me._handleMouse.bind(V(Me)),handleWheel:Me._handleWheel.bind(V(Me)),handleGesture:Me._handleGesture.bind(V(Me))},m.Debug(">> RFB.constructor"),Me._screen=document.createElement("div"),Me._screen.style.display="flex",Me._screen.style.width="100%",Me._screen.style.height="100%",Me._screen.style.overflow="auto",Me._screen.style.background=q,Me._canvas=document.createElement("canvas"),Me._canvas.style.margin="auto",Me._canvas.style.outline="none",Me._canvas.style.flexShrink="0",Me._canvas.width=0,Me._canvas.height=0,Me._canvas.tabIndex=-1,Me._screen.appendChild(Me._canvas),Me._cursor=new r.default,Me._cursorImage=Be.cursors.none,Me._decoders[h.encodings.encodingRaw]=new g.default,Me._decoders[h.encodings.encodingCopyRect]=new A.default,Me._decoders[h.encodings.encodingRRE]=new w.default,Me._decoders[h.encodings.encodingHextile]=new x.default,Me._decoders[h.encodings.encodingTight]=new C.default,Me._decoders[h.encodings.encodingTightPNG]=new T.default;try{Me._display=new l.default(Me._canvas)}catch(qe){throw m.Error("Display exception: "+qe),qe}return Me._display.onflush=Me._onFlush.bind(V(Me)),Me._keyboard=new a.default(Me._canvas),Me._keyboard.onkeyevent=Me._handleKeyEvent.bind(V(Me)),Me._gestures=new s.default,Me._sock=new c.default,Me._sock.on("message",function(){Me._handleMessage()}),Me._sock.on("open",function(){Me._rfbConnectionState==="connecting"&&Me._rfbInitState===""?(Me._rfbInitState="ProtocolVersion",m.Debug("Starting VNC handshake")):Me._fail("Unexpected server connection while "+Me._rfbConnectionState)}),Me._sock.on("close",function(qe){m.Debug("WebSocket on-close event");var gt="";qe.code&&(gt="(code: "+qe.code,qe.reason&&(gt+=", reason: "+qe.reason),gt+=")");switch(Me._rfbConnectionState){case"connecting":Me._fail("Connection closed "+gt);break;case"connected":Me._updateConnectionState("disconnecting"),Me._updateConnectionState("disconnected");break;case"disconnecting":Me._updateConnectionState("disconnected");break;case"disconnected":Me._fail("Unexpected server disconnect when already disconnected "+gt);break;default:Me._fail("Unexpected server disconnect before connecting "+gt);break}Me._sock.off("close")}),Me._sock.on("error",function(qe){return m.Warn("WebSocket on-error event")}),setTimeout(Me._updateConnectionState.bind(V(Me),"connecting")),m.Debug("<< RFB.constructor"),Me.dragViewport=!1,Me.focusOnClick=!0,Me._viewOnly=!1,Me._clipViewport=!1,Me._scaleViewport=!1,Me._resizeSession=!1,Me._showDotCursor=!1,ve.showDotCursor!==void 0&&(m.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Me._showDotCursor=ve.showDotCursor),Me._qualityLevel=6,Me._compressionLevel=2,Me}return j(Be,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(de){this._rfbCredentials=de,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;m.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(de,ve,Me){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Me===void 0){this.sendKey(de,ve,!0),this.sendKey(de,ve,!1);return}var qe=u.default[ve];if(this._qemuExtKeyEventSupported&&qe)de=de||0,m.Info("Sending key ("+(Me?"down":"up")+"): keysym "+de+", scancode "+qe),Be.messages.QEMUExtendedKeyEvent(this._sock,de,Me,qe);else{if(!de)return;m.Info("Sending keysym ("+(Me?"down":"up")+"): "+de),Be.messages.keyEvent(this._sock,de,Me?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(de){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Te]&&this._clipboardServerCapabilitiesActions[Q])this._clipboardText=de,Be.messages.extendedClipboardNotify(this._sock,[Te]);else{for(var ve=new Uint8Array(de.length),Me=0;Me<de.length;Me++)ve[Me]=de.charCodeAt(Me);Be.messages.clientCutText(this._sock,ve)}}},{key:"_connect",value:function(){m.Debug(">> RFB.connect"),m.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(de){de.name==="SyntaxError"?this._fail("Invalid host or port ("+de+")"):this._fail("Error when opening socket ("+de+")")}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),m.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){m.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(de){if(!(de.name==="NotFoundError"))throw de}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),m.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(de){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(de){this._fbName=de,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(de){var ve=this;window.requestAnimationFrame(function(){ve._updateClip(),ve._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var de=this._display.clipViewport,ve=this._clipViewport;if(this._scaleViewport&&(ve=!1),de!==ve&&(this._display.clipViewport=ve),ve){var Me=this._screenSize();this._display.viewportChangeSize(Me.w,Me.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var de=this._screenSize();this._display.autoscale(de.w,de.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var de=this._screenSize();Be.messages.setDesktopSize(this._sock,Math.floor(de.w),Math.floor(de.h),this._screenID,this._screenFlags),m.Debug("Requested new desktop size: "+de.w+"x"+de.h)}},{key:"_screenSize",value:function(){var de=this._screen.getBoundingClientRect();return{w:de.width,h:de.height}}},{key:"_fixScrollbars",value:function(){var de=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=de}},{key:"_updateConnectionState",value:function(de){var ve=this,Me=this._rfbConnectionState;if(de===Me){m.Debug("Already in state '"+de+"', ignoring");return}if(Me==="disconnected"){m.Error("Tried changing state of a disconnected RFB object");return}switch(de){case"connected":if(Me!=="connecting"){m.Error("Bad transition to connected state, previous connection state: "+Me);return}break;case"disconnected":if(Me!=="disconnecting"){m.Error("Bad transition to disconnected state, previous connection state: "+Me);return}break;case"connecting":if(Me!==""){m.Error("Bad transition to connecting state, previous connection state: "+Me);return}break;case"disconnecting":if(Me!=="connected"&&Me!=="connecting"){m.Error("Bad transition to disconnecting state, previous connection state: "+Me);return}break;default:m.Error("Unknown connection state: "+de);return}this._rfbConnectionState=de,m.Debug("New state '"+de+"', was '"+Me+"'."),this._disconnTimer&&de!=="disconnecting"&&(m.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(de){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){m.Error("Disconnection timed out."),ve._updateConnectionState("disconnected")},W*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(de){switch(this._rfbConnectionState){case"disconnecting":m.Error("Failed when disconnecting: "+de);break;case"connected":m.Error("Failed while connected: "+de);break;case"connecting":m.Error("Failed when connecting: "+de);break;default:m.Error("RFB failure: "+de);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(de,ve){this._capabilities[de]=ve,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){m.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":m.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(de,ve,Me){this.sendKey(de,ve,Me)}},{key:"_handleMouse",value:function(de){if(de.type==="click"&&de.target!==this._canvas)return;if(de.stopPropagation(),de.preventDefault(),de.type==="click"||de.type==="contextmenu")return;var ve=(0,v.clientToElement)(de.clientX,de.clientY,this._canvas);switch(de.type){case"mousedown":(0,f.setCapture)(this._canvas),this._handleMouseButton(ve.x,ve.y,!0,1<<de.button);break;case"mouseup":this._handleMouseButton(ve.x,ve.y,!1,1<<de.button);break;case"mousemove":this._handleMouseMove(ve.x,ve.y);break}}},{key:"_handleMouseButton",value:function(de,ve,Me,qe){if(this.dragViewport)if(Me&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:de,y:ve},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(de,ve,qe)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(de,ve,this._mouseButtonMask)),Me?this._mouseButtonMask|=qe:this._mouseButtonMask&=~qe,this._sendMouse(de,ve,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(de,ve){var Me=this;if(this._viewportDragging){var qe=this._viewportDragPos.x-de,gt=this._viewportDragPos.y-ve;(this._viewportHasMoved||Math.abs(qe)>p.dragThreshold||Math.abs(gt)>p.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:de,y:ve},this._display.viewportChangePos(qe,gt));return}if(this._mousePos={x:de,y:ve},this._mouseMoveTimer==null){var ht=Date.now()-this._mouseLastMoveTime;ht>Y?(this._sendMouse(de,ve,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Me._handleDelayedMouseMove()},Y-ht)}}},{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(de,ve,Me){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Be.messages.pointerEvent(this._sock,this._display.absX(de),this._display.absY(ve),Me)}},{key:"_handleWheel",value:function(de){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;de.stopPropagation(),de.preventDefault();var ve=(0,v.clientToElement)(de.clientX,de.clientY,this._canvas),Me=de.deltaX,qe=de.deltaY;de.deltaMode!==0&&(Me*=ne,qe*=ne),this._accumulatedWheelDeltaX+=Me,this._accumulatedWheelDeltaY+=qe,Math.abs(this._accumulatedWheelDeltaX)>=re&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(ve.x,ve.y,!0,1<<5),this._handleMouseButton(ve.x,ve.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(ve.x,ve.y,!0,1<<6),this._handleMouseButton(ve.x,ve.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=re&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(ve.x,ve.y,!0,1<<3),this._handleMouseButton(ve.x,ve.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(ve.x,ve.y,!0,1<<4),this._handleMouseButton(ve.x,ve.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(de,ve,Me){this._handleMouseMove(ve,Me),this._cursor.move(de.detail.clientX,de.detail.clientY)}},{key:"_handleTapEvent",value:function(de,ve){var Me=(0,v.clientToElement)(de.detail.clientX,de.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<me&&this._gestureFirstDoubleTapEv.detail.type===de.detail.type){var qe=this._gestureFirstDoubleTapEv.detail.clientX-de.detail.clientX,gt=this._gestureFirstDoubleTapEv.detail.clientY-de.detail.clientY,ht=Math.hypot(qe,gt);ht<_e?Me=(0,v.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=de}else this._gestureFirstDoubleTapEv=de;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,Me.x,Me.y),this._handleMouseButton(Me.x,Me.y,!0,ve),this._handleMouseButton(Me.x,Me.y,!1,ve)}},{key:"_handleGesture",value:function(de){var ve,Me=(0,v.clientToElement)(de.detail.clientX,de.detail.clientY,this._canvas);switch(de.type){case"gesturestart":switch(de.detail.type){case"onetap":this._handleTapEvent(de,1);break;case"twotap":this._handleTapEvent(de,4);break;case"threetap":this._handleTapEvent(de,2);break;case"drag":this._fakeMouseMove(de,Me.x,Me.y),this._handleMouseButton(Me.x,Me.y,!0,1);break;case"longpress":this._fakeMouseMove(de,Me.x,Me.y),this._handleMouseButton(Me.x,Me.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=de.detail.magnitudeX,this._gestureLastMagnitudeY=de.detail.magnitudeY,this._fakeMouseMove(de,Me.x,Me.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(de.detail.magnitudeX,de.detail.magnitudeY),this._fakeMouseMove(de,Me.x,Me.y);break}break;case"gesturemove":switch(de.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(de,Me.x,Me.y);break;case"twodrag":for(this._fakeMouseMove(de,Me.x,Me.y);de.detail.magnitudeY-this._gestureLastMagnitudeY>ie;)this._handleMouseButton(Me.x,Me.y,!0,8),this._handleMouseButton(Me.x,Me.y,!1,8),this._gestureLastMagnitudeY+=ie;for(;de.detail.magnitudeY-this._gestureLastMagnitudeY<-ie;)this._handleMouseButton(Me.x,Me.y,!0,16),this._handleMouseButton(Me.x,Me.y,!1,16),this._gestureLastMagnitudeY-=ie;for(;de.detail.magnitudeX-this._gestureLastMagnitudeX>ie;)this._handleMouseButton(Me.x,Me.y,!0,32),this._handleMouseButton(Me.x,Me.y,!1,32),this._gestureLastMagnitudeX+=ie;for(;de.detail.magnitudeX-this._gestureLastMagnitudeX<-ie;)this._handleMouseButton(Me.x,Me.y,!0,64),this._handleMouseButton(Me.x,Me.y,!1,64),this._gestureLastMagnitudeX-=ie;break;case"pinch":if(this._fakeMouseMove(de,Me.x,Me.y),ve=Math.hypot(de.detail.magnitudeX,de.detail.magnitudeY),Math.abs(ve-this._gestureLastMagnitudeX)>we){for(this._handleKeyEvent(o.default.XK_Control_L,"ControlLeft",!0);ve-this._gestureLastMagnitudeX>we;)this._handleMouseButton(Me.x,Me.y,!0,8),this._handleMouseButton(Me.x,Me.y,!1,8),this._gestureLastMagnitudeX+=we;for(;ve-this._gestureLastMagnitudeX<-we;)this._handleMouseButton(Me.x,Me.y,!0,16),this._handleMouseButton(Me.x,Me.y,!1,16),this._gestureLastMagnitudeX-=we}this._handleKeyEvent(o.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(de.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(de,Me.x,Me.y),this._handleMouseButton(Me.x,Me.y,!1,1);break;case"longpress":this._fakeMouseMove(de,Me.x,Me.y),this._handleMouseButton(Me.x,Me.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var de=this._sock.rQshiftStr(12).substr(4,7);m.Info("Server ProtocolVersion: "+de);var ve=0;switch(de){case"000.000":ve=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 "+de)}if(ve){for(var Me="ID:"+this._repeaterID;Me.length<250;)Me+="\0";return this._sock.sendString(Me),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var qe="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+qe+`
|
|
|
`),m.Debug("Sent ProtocolVersion: "+qe),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function de(qe,gt){for(var ht=0;ht<gt.length;ht++)if(gt[ht]===qe)return!0;return!1}if(this._rfbVersion>=3.7){var ve=this._sock.rQshift8();if(this._sock.rQwait("security type",ve,1))return!1;if(ve===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Me=this._sock.rQshiftBytes(ve);if(m.Debug("Server security types: "+Me),de(1,Me))this._rfbAuthScheme=1;else if(de(22,Me))this._rfbAuthScheme=22;else if(de(16,Me))this._rfbAuthScheme=16;else if(de(2,Me))this._rfbAuthScheme=2;else if(de(19,Me))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Me+")");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",m.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var de=this._sock.rQshift32(),ve="";if(de>0){if(this._sock.rQwait("reason",de,4))return!1;ve=this._sock.rQshiftStr(de)}return ve!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:ve}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+ve+")")):(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 de=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(de),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var de=this._sock.rQshift8(),ve=this._sock.rQshift8();if(!(de==0&&ve==2))return this._fail("Unsupported VeNCrypt version "+de+"."+ve);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Me=this._sock.rQshift8();if(Me!=0)return this._fail("VeNCrypt failure "+Me);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var qe=this._sock.rQshift8();if(qe<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=qe,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var gt=[],ht=0;ht<this._rfbVeNCryptSubtypesLength;ht++)gt.push(this._sock.rQshift32());if(gt.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 Pe=(0,E.encodeUTF8)(this._rfbCredentials.username),It=(0,E.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Pe.length]),this._sock.send([0,0,0,It.length]),this._sock.sendString(Pe),this._sock.sendString(It),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 de=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),ve=Be.genDES(this._rfbCredentials.password,de);return this._sock.send(ve),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(de){for(var ve={0:{vendor:"TGHT",signature:"NOTUNNEL"}},Me={},qe=0;qe<de;qe++){var gt=this._sock.rQshift32(),ht=this._sock.rQshiftStr(4),Pe=this._sock.rQshiftStr(8);Me[gt]={vendor:ht,signature:Pe}}return m.Debug("Server Tight tunnel types: "+Me),Me[1]&&Me[1].vendor==="SICR"&&Me[1].signature==="SCHANNEL"&&(m.Debug("Detected Siemens server. Assuming NOTUNNEL support."),Me[0]={vendor:"TGHT",signature:"NOTUNNEL"}),Me[0]?Me[0].vendor!=ve[0].vendor||Me[0].signature!=ve[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(m.Debug("Selected tunnel type: "+ve[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 de=this._sock.rQshift32();if(de>0&&this._sock.rQwait("tunnel capabilities",16*de,4))return!1;if(this._rfbTightVNC=!0,de>0)return this._negotiateTightTunnels(de),!1}if(this._sock.rQwait("sub auth count",4))return!1;var ve=this._sock.rQshift32();if(ve===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*ve,4))return!1;for(var Me={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},qe=[],gt=0;gt<ve;gt++){this._sock.rQshift32();var ht=this._sock.rQshiftStr(12);qe.push(ht)}m.Debug("Server Tight authentication types: "+qe);for(var Pe in Me)if(qe.indexOf(Pe)!=-1){this._sock.send([0,0,0,Me[Pe]]),m.Debug("Selected authentication type: "+Pe);switch(Pe){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: "+Pe+")")}}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 de=this._sock.rQshift32();return de===0?(this._rfbInitState="ClientInitialisation",m.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=de,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:de}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var de=this._sock.rQshift16(),ve=this._sock.rQshift16(),Me=this._sock.rQshift8(),qe=this._sock.rQshift8(),gt=this._sock.rQshift8(),ht=this._sock.rQshift8(),Pe=this._sock.rQshift16(),It=this._sock.rQshift16(),nt=this._sock.rQshift16(),Nt=this._sock.rQshift8(),Bt=this._sock.rQshift8(),Pt=this._sock.rQshift8();this._sock.rQskipBytes(3);var jt=this._sock.rQshift32();if(this._sock.rQwait("server init name",jt,24))return!1;var er=this._sock.rQshiftStr(jt);if(er=(0,E.decodeUTF8)(er,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+jt))return!1;var at=this._sock.rQshift16(),Ce=this._sock.rQshift16(),ue=this._sock.rQshift16();this._sock.rQskipBytes(2);var Dt=(at+Ce+ue)*16;if(this._sock.rQwait("TightVNC extended server init header",Dt,32+jt))return!1;this._sock.rQskipBytes(16*at),this._sock.rQskipBytes(16*Ce),this._sock.rQskipBytes(16*ue)}return m.Info("Screen: "+de+"x"+ve+", bpp: "+Me+", depth: "+qe+", bigEndian: "+gt+", trueColor: "+ht+", redMax: "+Pe+", greenMax: "+It+", blueMax: "+nt+", redShift: "+Nt+", greenShift: "+Bt+", blueShift: "+Pt),this._setDesktopName(er),this._resize(de,ve),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(m.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Be.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Be.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var de=[];de.push(h.encodings.encodingCopyRect),this._fbDepth==24&&(de.push(h.encodings.encodingTight),de.push(h.encodings.encodingTightPNG),de.push(h.encodings.encodingHextile),de.push(h.encodings.encodingRRE)),de.push(h.encodings.encodingRaw),de.push(h.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),de.push(h.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),de.push(h.encodings.pseudoEncodingDesktopSize),de.push(h.encodings.pseudoEncodingLastRect),de.push(h.encodings.pseudoEncodingQEMUExtendedKeyEvent),de.push(h.encodings.pseudoEncodingExtendedDesktopSize),de.push(h.encodings.pseudoEncodingXvp),de.push(h.encodings.pseudoEncodingFence),de.push(h.encodings.pseudoEncodingContinuousUpdates),de.push(h.encodings.pseudoEncodingDesktopName),de.push(h.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(de.push(h.encodings.pseudoEncodingVMwareCursor),de.push(h.encodings.pseudoEncodingCursor)),Be.messages.clientEncodings(this._sock,de)}},{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 m.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(m.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var de=this._sock.rQshift32();if(de=(0,y.toSigned32bit)(de),this._sock.rQwait("ServerCutText content",Math.abs(de),8))return!1;if(de>=0){var ve=this._sock.rQshiftStr(de);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:ve}}))}else{de=Math.abs(de);var Me=this._sock.rQshift32(),qe=Me&65535,gt=Me&4278190080,ht=!!(gt&he);if(ht){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Pe=0;Pe<=15;Pe++){var It=1<<Pe;qe&It&&(this._clipboardServerCapabilitiesFormats[It]=!0,this._sock.rQshift32())}for(var nt=24;nt<=31;nt++){var Nt=1<<nt;this._clipboardServerCapabilitiesActions[Nt]=!!(gt&Nt)}var Bt=[he,Ze,oe,Q,G];Be.messages.extendedClipboardCaps(this._sock,Bt,{extendedClipboardFormatText:0})}else if(gt===Ze){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[G]&&(qe&Te&&Be.messages.extendedClipboardProvide(this._sock,[Te],[this._clipboardText]))}else if(gt===oe){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Q]&&(this._clipboardText!=null?Be.messages.extendedClipboardNotify(this._sock,[Te]):Be.messages.extendedClipboardNotify(this._sock,[]))}else if(gt===Q){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Ze]&&(qe&Te&&Be.messages.extendedClipboardRequest(this._sock,[Te]))}else if(gt===G){if(this._viewOnly)return!0;if(!(qe&Te))return!0;this._clipboardText=null;var Pt=this._sock.rQshiftBytes(de-4),jt=new n.default,er=null;jt.setInput(Pt);for(var at=0;at<=15;at++){var Ce=1<<at;if(qe&Ce){var ue=0,Dt=jt.inflate(4);ue|=Dt[0]<<24,ue|=Dt[1]<<16,ue|=Dt[2]<<8,ue|=Dt[3];var rt=jt.inflate(ue);Ce===Te&&(er=rt)}}if(jt.setInput(null),er!==null){for(var ye="",Xt=0;Xt<er.length;Xt++)ye+=String.fromCharCode(er[Xt]);er=ye,er=(0,E.decodeUTF8)(er),er.length>0&&er.charAt(er.length-1)==="\0"&&(er=er.slice(0,-1)),er=er.replace(`\r
|
|
|
`,`
|
|
|
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:er}}))}}else return this._fail("Unexpected action in extended clipboard message: "+gt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var de=this._sock.rQshift32(),ve=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",ve,9))return!1;ve>64&&(m.Warn("Bad payload length ("+ve+") in fence response"),ve=64);var Me=this._sock.rQshiftStr(ve);return this._supportsFence=!0,de&1<<31?(de&=1<<0|1<<1,Be.messages.clientFence(this._sock,de,Me),!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 de=this._sock.rQshift8(),ve=this._sock.rQshift8();switch(ve){case 0:m.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=de,m.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+ve+")");break}return!0}},{key:"_normalMsg",value:function(){var de;this._FBU.rects>0?de=0:de=this._sock.rQshift8();var ve,Me;switch(de){case 0:return Me=this._framebufferUpdate(),Me&&!this._enabledContinuousUpdates&&Be.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Me;case 1:return this._handleSetColourMapMsg();case 2:return m.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return ve=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,ve&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),m.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+de+")"),m.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 de=this._sock.rQshiftBytes(12);this._FBU.x=(de[0]<<8)+de[1],this._FBU.y=(de[2]<<8)+de[3],this._FBU.width=(de[4]<<8)+de[5],this._FBU.height=(de[6]<<8)+de[7],this._FBU.encoding=parseInt((de[8]<<24)+(de[9]<<16)+(de[10]<<8)+de[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 de=document.createEvent("keyboardEvent");de.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(ve){}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 de=this._FBU.x,ve=this._FBU.y,Me=this._FBU.width,qe=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var gt=this._sock.rQshift8();this._sock.rQshift8();var ht,Pe=4;if(gt==0){var It=4294967040|0;if(ht=new Array(Me*qe*Pe),this._sock.rQwait("VMware cursor classic encoding",Me*qe*Pe*2,2))return!1;for(var nt=new Array(Me*qe),Nt=0;Nt<Me*qe;Nt++)nt[Nt]=this._sock.rQshift32();for(var Bt=new Array(Me*qe),Pt=0;Pt<Me*qe;Pt++)Bt[Pt]=this._sock.rQshift32();for(var jt=0;jt<Me*qe;jt++)if(nt[jt]==0){var er=Bt[jt],at=er>>8&255,Ce=er>>16&255,ue=er>>24&255;ht[jt*Pe]=at,ht[jt*Pe+1]=Ce,ht[jt*Pe+2]=ue,ht[jt*Pe+3]=255}else(nt[jt]&It)==It?Bt[jt]==0?(ht[jt*Pe]=0,ht[jt*Pe+1]=0,ht[jt*Pe+2]=0,ht[jt*Pe+3]=0):((Bt[jt]&It)==It,ht[jt*Pe]=0,ht[jt*Pe+1]=0,ht[jt*Pe+2]=0,ht[jt*Pe+3]=255):(ht[jt*Pe]=0,ht[jt*Pe+1]=0,ht[jt*Pe+2]=0,ht[jt*Pe+3]=255)}else if(gt==1){if(this._sock.rQwait("VMware cursor alpha encoding",Me*qe*4,2))return!1;ht=new Array(Me*qe*Pe);for(var Dt=0;Dt<Me*qe;Dt++){var rt=this._sock.rQshift32();ht[Dt*4]=rt>>24&255,ht[Dt*4+1]=rt>>16&255,ht[Dt*4+2]=rt>>8&255,ht[Dt*4+3]=rt&255}}else return m.Warn("The given cursor type is not supported: "+gt+" given."),!1;return this._updateCursor(ht,de,ve,Me,qe),!0}},{key:"_handleCursor",value:function(){var de=this._FBU.x,ve=this._FBU.y,Me=this._FBU.width,qe=this._FBU.height,gt=Me*qe*4,ht=Math.ceil(Me/8)*qe,Pe=gt+ht;if(this._sock.rQwait("cursor encoding",Pe))return!1;for(var It=this._sock.rQshiftBytes(gt),nt=this._sock.rQshiftBytes(ht),Nt=new Uint8Array(Me*qe*4),Bt=0,Pt=0;Pt<qe;Pt++)for(var jt=0;jt<Me;jt++){var er=Pt*Math.ceil(Me/8)+Math.floor(jt/8),at=nt[er]<<jt%8&128?255:0;Nt[Bt]=It[Bt+2],Nt[Bt+1]=It[Bt+1],Nt[Bt+2]=It[Bt],Nt[Bt+3]=at,Bt+=4}return this._updateCursor(Nt,de,ve,Me,qe),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var de=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",de,4))return!1;var ve=this._sock.rQshiftStr(de);return ve=(0,E.decodeUTF8)(ve,!0),this._setDesktopName(ve),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var de=this._sock.rQpeek8(),ve=4+de*16;if(this._sock.rQwait("ExtendedDesktopSize",ve))return!1;var Me=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,Me&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var qe=0;qe<de;qe+=1)qe===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 gt="";switch(this._FBU.y){case 1:gt="Resize is administratively prohibited";break;case 2:gt="Out of resources";break;case 3:gt="Invalid screen layout";break;default:gt="Unknown reason";break}m.Warn("Server did not accept the resize request: "+gt)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var de=this._decoders[this._FBU.encoding];if(!de)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return de.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(ve){return this._fail("Error decoding rect: "+ve),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Be.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(de,ve){this._fbWidth=de,this._fbHeight=ve,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(de,ve){if(this._rfbXvpVer<de)return;m.Info("Sending XVP operation "+ve+" (version "+de+")"),Be.messages.xvpOp(this._sock,de,ve)}},{key:"_updateCursor",value:function(de,ve,Me,qe,gt){this._cursorImage={rgbaPixels:de,hotx:ve,hoty:Me,w:qe,h:gt},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var de=3;de<this._cursorImage.rgbaPixels.length;de+=4)if(this._cursorImage.rgbaPixels[de])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var de=this._shouldShowDotCursor()?Be.cursors.dot:this._cursorImage;this._cursor.change(de.rgbaPixels,de.hotx,de.hoty,de.w,de.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(de){this._viewOnly=de,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(de?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(de){m.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(de){this._clipViewport=de,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(de){this._scaleViewport=de,de&&this._clipViewport&&this._updateClip(),this._updateScale(),!de&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(de){this._resizeSession=de,de&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(de){this._showDotCursor=de,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(de){this._screen.style.background=de}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(de){if(!Number.isInteger(de)||de<0||de>9){m.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===de)return;this._qualityLevel=de,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(de){if(!Number.isInteger(de)||de<0||de>9){m.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===de)return;this._compressionLevel=de,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(de,ve){var Me=de.split("").map(function(qe){return qe.charCodeAt(0)});return new e.default(Me).encrypt(ve)}}]),Be}(d.default);R.default=te,te.messages={keyEvent:function(fe,Be,Ne){var de=fe._sQ,ve=fe._sQlen;de[ve]=4,de[ve+1]=Ne,de[ve+2]=0,de[ve+3]=0,de[ve+4]=Be>>24,de[ve+5]=Be>>16,de[ve+6]=Be>>8,de[ve+7]=Be,fe._sQlen+=8,fe.flush()},QEMUExtendedKeyEvent:function(fe,Be,Ne,de){function ve(ht){var Pe=de>>8,It=de&255;return Pe===224&&It<127?It|128:ht}var Me=fe._sQ,qe=fe._sQlen;Me[qe]=255,Me[qe+1]=0,Me[qe+2]=Ne>>8,Me[qe+3]=Ne,Me[qe+4]=Be>>24,Me[qe+5]=Be>>16,Me[qe+6]=Be>>8,Me[qe+7]=Be;var gt=ve(de);Me[qe+8]=gt>>24,Me[qe+9]=gt>>16,Me[qe+10]=gt>>8,Me[qe+11]=gt,fe._sQlen+=12,fe.flush()},pointerEvent:function(fe,Be,Ne,de){var ve=fe._sQ,Me=fe._sQlen;ve[Me]=5,ve[Me+1]=de,ve[Me+2]=Be>>8,ve[Me+3]=Be,ve[Me+4]=Ne>>8,ve[Me+5]=Ne,fe._sQlen+=6,fe.flush()},_buildExtendedClipboardFlags:function(fe,Be){for(var Ne=new Uint8Array(4),de=0,ve=0,Me=0;Me<fe.length;Me++)ve|=fe[Me];for(var qe=0;qe<Be.length;qe++)de|=Be[qe];return Ne[0]=ve>>24,Ne[1]=0,Ne[2]=0,Ne[3]=de,Ne},extendedClipboardProvide:function(fe,Be,Ne){for(var de=new t.default,ve=[],Me=0;Me<Be.length;Me++){if(Be[Me]!=Te)throw new Error("Unsupported extended clipboard format for Provide message.");Ne[Me]=Ne[Me].replace(/\r\n|\r|\n/gm,`\r
|
|
|
`);var qe=(0,E.encodeUTF8)(Ne[Me]+"\0");ve.push(qe.length>>24&255,qe.length>>16&255,qe.length>>8&255,qe.length&255);for(var gt=0;gt<qe.length;gt++)ve.push(qe.charCodeAt(gt))}var ht=de.deflate(new Uint8Array(ve)),Pe=new Uint8Array(4+ht.length);Pe.set(te.messages._buildExtendedClipboardFlags([G],Be)),Pe.set(ht,4),te.messages.clientCutText(fe,Pe,!0)},extendedClipboardNotify:function(fe,Be){var Ne=te.messages._buildExtendedClipboardFlags([Q],Be);te.messages.clientCutText(fe,Ne,!0)},extendedClipboardRequest:function(fe,Be){var Ne=te.messages._buildExtendedClipboardFlags([Ze],Be);te.messages.clientCutText(fe,Ne,!0)},extendedClipboardCaps:function(fe,Be,Ne){var de=Object.keys(Ne),ve=new Uint8Array(4+4*de.length);de.map(function(gt){return parseInt(gt)}),de.sort(function(gt,ht){return gt-ht}),ve.set(te.messages._buildExtendedClipboardFlags(Be,[]));for(var Me=4,qe=0;qe<de.length;qe++)ve[Me]=Ne[de[qe]]>>24,ve[Me+1]=Ne[de[qe]]>>16,ve[Me+2]=Ne[de[qe]]>>8,ve[Me+3]=Ne[de[qe]]>>0,Me+=4,ve[3]|=1<<de[qe];te.messages.clientCutText(fe,ve,!0)},clientCutText:function(fe,Be){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,de=fe._sQ,ve=fe._sQlen;de[ve]=6,de[ve+1]=0,de[ve+2]=0,de[ve+3]=0;var Me;Ne?Me=(0,y.toUnsigned32bit)(-Be.length):Me=Be.length,de[ve+4]=Me>>24,de[ve+5]=Me>>16,de[ve+6]=Me>>8,de[ve+7]=Me,fe._sQlen+=8;for(var qe=0,gt=Be.length;gt>0;){for(var ht=Math.min(gt,fe._sQbufferSize-fe._sQlen),Pe=0;Pe<ht;Pe++)de[fe._sQlen+Pe]=Be[qe+Pe];fe._sQlen+=ht,fe.flush(),gt-=ht,qe+=ht}},setDesktopSize:function(fe,Be,Ne,de,ve){var Me=fe._sQ,qe=fe._sQlen;Me[qe]=251,Me[qe+1]=0,Me[qe+2]=Be>>8,Me[qe+3]=Be,Me[qe+4]=Ne>>8,Me[qe+5]=Ne,Me[qe+6]=1,Me[qe+7]=0,Me[qe+8]=de>>24,Me[qe+9]=de>>16,Me[qe+10]=de>>8,Me[qe+11]=de,Me[qe+12]=0,Me[qe+13]=0,Me[qe+14]=0,Me[qe+15]=0,Me[qe+16]=Be>>8,Me[qe+17]=Be,Me[qe+18]=Ne>>8,Me[qe+19]=Ne,Me[qe+20]=ve>>24,Me[qe+21]=ve>>16,Me[qe+22]=ve>>8,Me[qe+23]=ve,fe._sQlen+=24,fe.flush()},clientFence:function(fe,Be,Ne){var de=fe._sQ,ve=fe._sQlen;de[ve]=248,de[ve+1]=0,de[ve+2]=0,de[ve+3]=0,de[ve+4]=Be>>24,de[ve+5]=Be>>16,de[ve+6]=Be>>8,de[ve+7]=Be;var Me=Ne.length;de[ve+8]=Me;for(var qe=0;qe<Me;qe++)de[ve+9+qe]=Ne.charCodeAt(qe);fe._sQlen+=9+Me,fe.flush()},enableContinuousUpdates:function(fe,Be,Ne,de,ve,Me){var qe=fe._sQ,gt=fe._sQlen;qe[gt]=150,qe[gt+1]=Be,qe[gt+2]=Ne>>8,qe[gt+3]=Ne,qe[gt+4]=de>>8,qe[gt+5]=de,qe[gt+6]=ve>>8,qe[gt+7]=ve,qe[gt+8]=Me>>8,qe[gt+9]=Me,fe._sQlen+=10,fe.flush()},pixelFormat:function(fe,Be,Ne){var de=fe._sQ,ve=fe._sQlen,Me;Be>16?Me=32:Be>8?Me=16:Me=8;var qe=Math.floor(Be/3);de[ve]=0,de[ve+1]=0,de[ve+2]=0,de[ve+3]=0,de[ve+4]=Me,de[ve+5]=Be,de[ve+6]=0,de[ve+7]=Ne?1:0,de[ve+8]=0,de[ve+9]=(1<<qe)-1,de[ve+10]=0,de[ve+11]=(1<<qe)-1,de[ve+12]=0,de[ve+13]=(1<<qe)-1,de[ve+14]=qe*2,de[ve+15]=qe*1,de[ve+16]=qe*0,de[ve+17]=0,de[ve+18]=0,de[ve+19]=0,fe._sQlen+=20,fe.flush()},clientEncodings:function(fe,Be){var Ne=fe._sQ,de=fe._sQlen;Ne[de]=2,Ne[de+1]=0,Ne[de+2]=Be.length>>8,Ne[de+3]=Be.length;for(var ve=de+4,Me=0;Me<Be.length;Me++){var qe=Be[Me];Ne[ve]=qe>>24,Ne[ve+1]=qe>>16,Ne[ve+2]=qe>>8,Ne[ve+3]=qe,ve+=4}fe._sQlen+=ve-de,fe.flush()},fbUpdateRequest:function(fe,Be,Ne,de,ve,Me){var qe=fe._sQ,gt=fe._sQlen;typeof Ne=="undefined"&&(Ne=0),typeof de=="undefined"&&(de=0),qe[gt]=3,qe[gt+1]=Be?1:0,qe[gt+2]=Ne>>8&255,qe[gt+3]=Ne&255,qe[gt+4]=de>>8&255,qe[gt+5]=de&255,qe[gt+6]=ve>>8&255,qe[gt+7]=ve&255,qe[gt+8]=Me>>8&255,qe[gt+9]=Me&255,fe._sQlen+=10,fe.flush()},xvpOp:function(fe,Be,Ne){var de=fe._sQ,ve=fe._sQlen;de[ve]=250,de[ve+1]=0,de[ve+2]=Be,de[ve+3]=Ne,fe._sQlen+=4,fe.flush()}},te.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(U,R,i){(function(y){y(i("VrN/"))})(function(y){"use strict";var m={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},E={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};y.defineMode("xml",function(p,v){var f=p.indentUnit,d={},l=v.htmlMode?m:E;for(var n in l)d[n]=l[n];for(var n in v)d[n]=v[n];var t,a;function s(D,F){function j(Z){return F.tokenize=Z,Z(D,F)}var k=D.next();if(k=="<")return D.eat("!")?D.eat("[")?D.match("CDATA[")?j(e("atom","]]>")):null:D.match("--")?j(e("comment","-->")):D.match("DOCTYPE",!0,!0)?(D.eatWhile(/[\w\._\-]/),j(o(1))):null:D.eat("?")?(D.eatWhile(/[\w\._\-]/),F.tokenize=e("meta","?>"),"meta"):(t=D.eat("/")?"closeTag":"openTag",F.tokenize=r,"tag bracket");if(k=="&"){var K;return D.eat("#")?D.eat("x")?K=D.eatWhile(/[a-fA-F\d]/)&&D.eat(";"):K=D.eatWhile(/[\d]/)&&D.eat(";"):K=D.eatWhile(/[\w\.\-:]/)&&D.eat(";"),K?"atom":"error"}else return D.eatWhile(/[^&<]/),null}s.isInText=!0;function r(D,F){var j=D.next();if(j==">"||j=="/"&&D.eat(">"))return F.tokenize=s,t=j==">"?"endTag":"selfcloseTag","tag bracket";if(j=="=")return t="equals",null;if(j=="<"){F.tokenize=s,F.state=A,F.tagName=F.tagStart=null;var k=F.tokenize(D,F);return k?k+" tag error":"tag error"}else return/[\'\"]/.test(j)?(F.tokenize=c(j),F.stringStartCol=D.column(),F.tokenize(D,F)):(D.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function c(D){var F=function(k,K){for(;!k.eol();)if(k.next()==D){K.tokenize=r;break}return"string"};return F.isInAttribute=!0,F}function e(D,F){return function(j,k){for(;!j.eol();){if(j.match(F)){k.tokenize=s;break}j.next()}return D}}function o(D){return function(F,j){for(var k;(k=F.next())!=null;){if(k=="<")return j.tokenize=o(D+1),j.tokenize(F,j);if(k==">")if(D==1){j.tokenize=s;break}else return j.tokenize=o(D-1),j.tokenize(F,j)}return"meta"}}function u(D,F,j){this.prev=D.context,this.tagName=F,this.indent=D.indented,this.startOfLine=j,(d.doNotIndent.hasOwnProperty(F)||D.context&&D.context.noIndent)&&(this.noIndent=!0)}function h(D){D.context&&(D.context=D.context.prev)}function g(D,F){for(var j;;){if(!D.context)return;if(j=D.context.tagName,!d.contextGrabbers.hasOwnProperty(j)||!d.contextGrabbers[j].hasOwnProperty(F))return;h(D)}}function A(D,F,j){return D=="openTag"?(j.tagStart=F.column(),w):D=="closeTag"?x:A}function w(D,F,j){return D=="word"?(j.tagName=F.current(),a="tag",O):d.allowMissingTagName&&D=="endTag"?(a="tag bracket",O(D,F,j)):(a="error",w)}function x(D,F,j){if(D=="word"){var k=F.current();return j.context&&j.context.tagName!=k&&d.implicitlyClosed.hasOwnProperty(j.context.tagName)&&h(j),j.context&&j.context.tagName==k||d.matchClosing===!1?(a="tag",C):(a="tag error",T)}else return d.allowMissingTagName&&D=="endTag"?(a="tag bracket",C(D,F,j)):(a="error",T)}function C(D,F,j){return D!="endTag"?(a="error",C):(h(j),A)}function T(D,F,j){return a="error",C(D,F,j)}function O(D,F,j){if(D=="word")return a="attribute",S;if(D=="endTag"||D=="selfcloseTag"){var k=j.tagName,K=j.tagStart;return j.tagName=j.tagStart=null,D=="selfcloseTag"||d.autoSelfClosers.hasOwnProperty(k)?g(j,k):(g(j,k),j.context=new u(j,k,K==j.indented)),A}return a="error",O}function S(D,F,j){return D=="equals"?_:(d.allowMissing||(a="error"),O(D,F,j))}function _(D,F,j){return D=="string"?L:D=="word"&&d.allowUnquoted?(a="string",O):(a="error",O(D,F,j))}function L(D,F,j){return D=="string"?L:O(D,F,j)}return{startState:function(F){var j={tokenize:s,state:A,indented:F||0,tagName:null,tagStart:null,context:null};return F!=null&&(j.baseIndent=F),j},token:function(F,j){if(!j.tagName&&F.sol()&&(j.indented=F.indentation()),F.eatSpace())return null;t=null;var k=j.tokenize(F,j);return(k||t)&&k!="comment"&&(a=null,j.state=j.state(t||k,F,j),a&&(k=a=="error"?k+" error":a)),k},indent:function(F,j,k){var K=F.context;if(F.tokenize.isInAttribute)return F.tagStart==F.indented?F.stringStartCol+1:F.indented+f;if(K&&K.noIndent)return y.Pass;if(F.tokenize!=r&&F.tokenize!=s)return k?k.match(/^(\s*)/)[0].length:0;if(F.tagName)return d.multilineTagIndentPastTag!==!1?F.tagStart+F.tagName.length+2:F.tagStart+f*(d.multilineTagIndentFactor||1);if(d.alignCDATA&&/<!\[CDATA\[/.test(j))return 0;var Z=j&&/^<(\/)?([\w_:\.-]*)/.exec(j);if(Z&&Z[1])for(;K;)if(K.tagName==Z[2]){K=K.prev;break}else if(d.implicitlyClosed.hasOwnProperty(K.tagName))K=K.prev;else break;else if(Z)for(;K;){var B=d.contextGrabbers[K.tagName];if(B&&B.hasOwnProperty(Z[2]))K=K.prev;else break}for(;K&&K.prev&&!K.startOfLine;)K=K.prev;return K?K.indent+f:F.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:d.htmlMode?"html":"xml",helperType:d.htmlMode?"html":"xml",skipAttribute:function(F){F.state==_&&(F.state=O)},xmlCurrentTag:function(F){return F.tagName?{name:F.tagName,close:F.type=="closeTag"}:null},xmlCurrentContext:function(F){for(var j=[],k=F.context;k;k=k.prev)k.tagName&&j.push(k.tagName);return j.reverse()}}}),y.defineMIME("text/xml","xml"),y.defineMIME("application/xml","xml"),y.mimeModes.hasOwnProperty("text/html")||y.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(U,R,i){(function(y,m){/*!
|
|
|
* html2pdf.js v0.10.1
|
|
|
* Copyright (c) 2021 Erik Koopmans
|
|
|
* Released under the MIT License.
|
|
|
*/(function(p,v){U.exports=v(i("dtIV"),i("wOnQ"))})(self,function(E,p){return function(){var v={"./src/plugin/hyperlinks.js":function(t,a,s){"use strict";s.r(a);var r=s("./node_modules/core-js/modules/web.dom-collections.for-each.js"),c=s.n(r),e=s("./node_modules/core-js/modules/es.string.link.js"),o=s.n(e),u=s("./src/worker.js"),h=s("./src/utils.js"),g=[],A={toContainer:u.default.prototype.toContainer,toPdf:u.default.prototype.toPdf};u.default.prototype.toContainer=function(){return A.toContainer.call(this).then(function(){if(this.opt.enableLinks){var C=this.prop.container,T=C.querySelectorAll("a"),O=(0,h.unitConvert)(C.getBoundingClientRect(),this.prop.pageSize.k);g=[],Array.prototype.forEach.call(T,function(S){for(var _=S.getClientRects(),L=0;L<_.length;L++){var D=(0,h.unitConvert)(_[L],this.prop.pageSize.k);D.left-=O.left,D.top-=O.top;var F=Math.floor(D.top/this.prop.pageSize.inner.height)+1,j=this.opt.margin[0]+D.top%this.prop.pageSize.inner.height,k=this.opt.margin[1]+D.left;g.push({page:F,top:j,left:k,clientRect:D,link:S})}},this)}})},u.default.prototype.toPdf=function(){return A.toPdf.call(this).then(function(){if(this.opt.enableLinks){g.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 C=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(C)}})}},"./src/plugin/jspdf-plugin.js":function(t,a,s){"use strict";s.r(a);var r=s("./node_modules/core-js/modules/es.symbol.js"),c=s.n(r),e=s("./node_modules/core-js/modules/es.symbol.description.js"),o=s.n(e),u=s("./node_modules/core-js/modules/es.object.to-string.js"),h=s.n(u),g=s("./node_modules/core-js/modules/es.symbol.iterator.js"),A=s.n(g),w=s("./node_modules/core-js/modules/es.array.iterator.js"),x=s.n(w),C=s("./node_modules/core-js/modules/es.string.iterator.js"),T=s.n(C),O=s("./node_modules/core-js/modules/web.dom-collections.iterator.js"),S=s.n(O),_=s("jspdf"),L=s.n(_);function D(F){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D=function(k){return typeof k}:D=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},D(F)}_.jsPDF.getPageSize=function(F,j,k){if(D(F)==="object"){var K=F;F=K.orientation,j=K.unit||j,k=K.format||k}j=j||"mm",k=k||"a4",F=(""+(F||"P")).toLowerCase();var Z=(""+k).toLowerCase(),B={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(j){case"pt":var V=1;break;case"mm":var V=72/25.4;break;case"cm":var V=72/2.54;break;case"in":var V=72;break;case"px":var V=72/96;break;case"pc":var V=12;break;case"em":var V=12;break;case"ex":var V=6;break;default:throw"Invalid unit: "+j}if(B.hasOwnProperty(Z))var z=B[Z][1]/V,X=B[Z][0]/V;else try{var z=k[1],X=k[0]}catch(Y){throw new Error("Invalid format: "+k)}if(F==="p"||F==="portrait"){if(F="p",X>z){var W=X;X=z,z=W}}else if(F==="l"||F==="landscape"){if(F="l",z>X){var W=X;X=z,z=W}}else throw"Invalid orientation: "+F;var q={width:X,height:z,unit:j,k:V};return q},a.default=_.jsPDF},"./src/plugin/pagebreaks.js":function(t,a,s){"use strict";s.r(a);var r=s("./node_modules/core-js/modules/es.array.concat.js"),c=s.n(r),e=s("./node_modules/core-js/modules/es.array.slice.js"),o=s.n(e),u=s("./node_modules/core-js/modules/es.array.join.js"),h=s.n(u),g=s("./node_modules/core-js/modules/web.dom-collections.for-each.js"),A=s.n(g),w=s("./node_modules/core-js/modules/es.object.keys.js"),x=s.n(w),C=s("./src/worker.js"),T=s("./src/utils.js"),O={toContainer:C.default.prototype.toContainer};C.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},C.default.prototype.toContainer=function(){return O.toContainer.call(this).then(function(){var L=this.prop.container,D=this.prop.pageSize.inner.px.height,F=[].concat(this.opt.pagebreak.mode),j={avoidAll:F.indexOf("avoid-all")!==-1,css:F.indexOf("css")!==-1,legacy:F.indexOf("legacy")!==-1},k={},K=this;["before","after","avoid"].forEach(function(V){var z=j.avoidAll&&V==="avoid";k[V]=z?[]:[].concat(K.opt.pagebreak[V]||[]),k[V].length>0&&(k[V]=Array.prototype.slice.call(L.querySelectorAll(k[V].join(", "))))});var Z=L.querySelectorAll(".html2pdf__page-break");Z=Array.prototype.slice.call(Z);var B=L.querySelectorAll("*");Array.prototype.forEach.call(B,function(z){var X={before:!1,after:j.legacy&&Z.indexOf(z)!==-1,avoid:j.avoidAll};if(j.css){var W=window.getComputedStyle(z),q=["always","page","left","right"],Y=["avoid","avoid-page"];X={before:X.before||q.indexOf(W.breakBefore||W.pageBreakBefore)!==-1,after:X.after||q.indexOf(W.breakAfter||W.pageBreakAfter)!==-1,avoid:X.avoid||Y.indexOf(W.breakInside||W.pageBreakInside)!==-1}}Object.keys(X).forEach(function(_e){X[_e]=X[_e]||k[_e].indexOf(z)!==-1});var re=z.getBoundingClientRect();if(X.avoid&&!X.before){var ne=Math.floor(re.top/D),we=Math.floor(re.bottom/D),ie=Math.abs(re.bottom-re.top)/D;we!==ne&&ie<=1&&(X.before=!0)}if(X.before){var me=(0,T.createElement)("div",{style:{display:"block",height:D-re.top%D+"px"}});z.parentNode.insertBefore(me,z)}if(X.after){var me=(0,T.createElement)("div",{style:{display:"block",height:D-re.bottom%D+"px"}});z.parentNode.insertBefore(me,z.nextSibling)}})})}},"./src/utils.js":function(t,a,s){"use strict";s.r(a),s.d(a,{objType:function(){return F},createElement:function(){return j},cloneNode:function(){return k},unitConvert:function(){return K},toPx:function(){return Z}});var r=s("./node_modules/core-js/modules/es.number.constructor.js"),c=s.n(r),e=s("./node_modules/core-js/modules/es.symbol.js"),o=s.n(e),u=s("./node_modules/core-js/modules/es.symbol.description.js"),h=s.n(u),g=s("./node_modules/core-js/modules/es.object.to-string.js"),A=s.n(g),w=s("./node_modules/core-js/modules/es.symbol.iterator.js"),x=s.n(w),C=s("./node_modules/core-js/modules/es.array.iterator.js"),T=s.n(C),O=s("./node_modules/core-js/modules/es.string.iterator.js"),S=s.n(O),_=s("./node_modules/core-js/modules/web.dom-collections.iterator.js"),L=s.n(_);function D(B){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D=function(z){return typeof z}:D=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},D(B)}var F=function(V){var z=D(V);return z==="undefined"?"undefined":z==="string"||V instanceof String?"string":z==="number"||V instanceof Number?"number":z==="function"||V instanceof Function?"function":!!V&&V.constructor===Array?"array":V&&V.nodeType===1?"element":z==="object"?"object":"unknown"},j=function(V,z){var X=document.createElement(V);if(z.className&&(X.className=z.className),z.innerHTML){X.innerHTML=z.innerHTML;for(var W=X.getElementsByTagName("script"),q=W.length;q-- >0;null)W[q].parentNode.removeChild(W[q])}for(var Y in z.style)X.style[Y]=z.style[Y];return X},k=function B(V,z){for(var X=V.nodeType===3?document.createTextNode(V.nodeValue):V.cloneNode(!1),W=V.firstChild;W;W=W.nextSibling)(z===!0||W.nodeType!==1||W.nodeName!=="SCRIPT")&&X.appendChild(B(W,z));return V.nodeType===1&&(V.nodeName==="CANVAS"?(X.width=V.width,X.height=V.height,X.getContext("2d").drawImage(V,0,0)):(V.nodeName==="TEXTAREA"||V.nodeName==="SELECT")&&(X.value=V.value),X.addEventListener("load",function(){X.scrollTop=V.scrollTop,X.scrollLeft=V.scrollLeft},!0)),X},K=function(V,z){if(F(V)==="number")return V*72/96/z;var X={};for(var W in V)X[W]=V[W]*72/96/z;return X},Z=function(V,z){return Math.floor(V*z/72*96)}},"./src/worker.js":function(t,a,s){"use strict";s.r(a);var r=s("./node_modules/core-js/modules/es.object.assign.js"),c=s.n(r),e=s("./node_modules/core-js/modules/es.array.map.js"),o=s.n(e),u=s("./node_modules/core-js/modules/es.object.keys.js"),h=s.n(u),g=s("./node_modules/core-js/modules/es.array.concat.js"),A=s.n(g),w=s("./node_modules/core-js/modules/es.object.to-string.js"),x=s.n(w),C=s("./node_modules/core-js/modules/es.regexp.to-string.js"),T=s.n(C),O=s("./node_modules/core-js/modules/es.function.name.js"),S=s.n(O),_=s("./node_modules/core-js/modules/web.dom-collections.for-each.js"),L=s.n(_),D=s("jspdf"),F=s.n(D),j=s("html2canvas"),k=s.n(j),K=s("./src/utils.js"),Z=s("./node_modules/es6-promise/dist/es6-promise.js"),B=s.n(Z),V=B().Promise,z=function X(W){var q=Object.assign(X.convert(V.resolve()),JSON.parse(JSON.stringify(X.template))),Y=X.convert(V.resolve(),q);return Y=Y.setProgress(1,X,1,[X]),Y=Y.set(W),Y};z.prototype=Object.create(V.prototype),z.prototype.constructor=z,z.convert=function(W,q){return W.__proto__=q||z.prototype,W},z.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:{}}},z.prototype.from=function(W,q){function Y(re){switch((0,K.objType)(re)){case"string":return"string";case"element":return re.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){q=q||Y(W);switch(q){case"string":return this.set({src:(0,K.createElement)("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.")}})},z.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.")}},z.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 Y={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},re={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};Y.opacity=0;var ne=(0,K.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,K.createElement)("div",{className:"html2pdf__overlay",style:Y}),this.prop.container=(0,K.createElement)("div",{className:"html2pdf__container",style:re}),this.prop.container.appendChild(ne),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},z.prototype.toCanvas=function(){var W=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(W).then(function(){var Y=Object.assign({},this.opt.html2canvas);return delete Y.onrendered,j(this.prop.container,Y)}).then(function(Y){var re=this.opt.html2canvas.onrendered||function(){};re(Y),this.prop.canvas=Y,document.body.removeChild(this.prop.overlay)})},z.prototype.toImg=function(){var W=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(W).then(function(){var Y=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Y})},z.prototype.toPdf=function(){var W=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(W).then(function(){var Y=this.prop.canvas,re=this.opt,ne=Y.height,we=Math.floor(Y.width*this.prop.pageSize.inner.ratio),ie=Math.ceil(ne/we),me=this.prop.pageSize.inner.height,_e=document.createElement("canvas"),Te=_e.getContext("2d");_e.width=Y.width,_e.height=we,this.prop.pdf=this.prop.pdf||new D.jsPDF(re.jsPDF);for(var We=0;We<ie;We++){We===ie-1&&ne%we!==0&&(_e.height=ne%we,me=_e.height*this.prop.pageSize.inner.width/_e.width);var Ae=_e.width,je=_e.height;Te.fillStyle="white",Te.fillRect(0,0,Ae,je),Te.drawImage(Y,0,We*we,Ae,je,0,0,Ae,je),We&&this.prop.pdf.addPage();var ee=_e.toDataURL("image/"+re.image.type,re.image.quality);this.prop.pdf.addImage(ee,re.image.type,re.margin[1],re.margin[0],this.prop.pageSize.inner.width,me)}})},z.prototype.output=function(W,q,Y){return Y=Y||"pdf",Y.toLowerCase()==="img"||Y.toLowerCase()==="image"?this.outputImg(W,q):this.outputPdf(W,q)},z.prototype.outputPdf=function(W,q){var Y=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(Y).then(function(){return this.prop.pdf.output(W,q)})},z.prototype.outputImg=function(W,q){var Y=[function(){return this.prop.img||this.toImg()}];return this.thenList(Y).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.'}})},z.prototype.save=function(W){var q=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(q).set(W?{filename:W}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},z.prototype.set=function(W){if((0,K.objType)(W)!=="object")return this;var q=Object.keys(W||{}).map(function(Y){switch(Y){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 Y in z.template.prop?function(){this.prop[Y]=W[Y]}:function(){this.opt[Y]=W[Y]}}},this);return this.then(function(){return this.thenList(q)})},z.prototype.get=function(W,q){return this.then(function(){var re=W in z.template.prop?this.prop[W]:this.opt[W];return q?q(re):re})},z.prototype.setMargin=function(W){return this.then(function(){switch((0,K.objType)(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)},z.prototype.setPageSize=function(W){return this.then(function(){W=W||D.jsPDF.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:(0,K.toPx)(W.inner.width,W.k),height:(0,K.toPx)(W.inner.height,W.k)},W.inner.ratio=W.inner.height/W.inner.width),this.prop.pageSize=W})},z.prototype.setProgress=function(W,q,Y,re){return W!=null&&(this.progress.val=W),q!=null&&(this.progress.state=q),Y!=null&&(this.progress.n=Y),re!=null&&(this.progress.stack=re),this.progress.ratio=this.progress.val/this.progress.state,this},z.prototype.updateProgress=function(W,q,Y,re){return this.setProgress(W?this.progress.val+W:null,q||null,Y?this.progress.n+Y:null,re?this.progress.stack.concat(re):null)},z.prototype.then=function(W,q){var Y=this;return this.thenCore(W,q,function(ne,we){return Y.updateProgress(null,null,1,[ne]),V.prototype.then.call(this,function(me){return Y.updateProgress(null,ne),me}).then(ne,we).then(function(me){return Y.updateProgress(1),me})})},z.prototype.thenCore=function(W,q,Y){Y=Y||V.prototype.then;var re=this;W&&(W=W.bind(re)),q&&(q=q.bind(re));var ne=V.toString().indexOf("[native code]")!==-1&&V.name==="Promise",we=ne?re:z.convert(Object.assign({},re),V.prototype),ie=Y.call(we,W,q);return z.convert(ie,re.__proto__)},z.prototype.thenExternal=function(W,q){return V.prototype.then.call(this,W,q)},z.prototype.thenList=function(W){var q=this;return W.forEach(function(re){q=q.thenCore(re)}),q},z.prototype.catch=function(X){X&&(X=X.bind(this));var W=V.prototype.catch.call(this,X);return z.convert(W,this)},z.prototype.catchExternal=function(W){return V.prototype.catch.call(this,W)},z.prototype.error=function(W){return this.then(function(){throw new Error(W)})},z.prototype.using=z.prototype.set,z.prototype.saveAs=z.prototype.save,z.prototype.export=z.prototype.output,z.prototype.run=z.prototype.then,a.default=z},"./node_modules/core-js/internals/a-function.js":function(t){t.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"./node_modules/core-js/internals/a-possible-prototype.js":function(t,a,s){var r=s("./node_modules/core-js/internals/is-object.js");t.exports=function(c){if(!r(c)&&c!==null)throw TypeError("Can't set "+String(c)+" as a prototype");return c}},"./node_modules/core-js/internals/add-to-unscopables.js":function(t,a,s){var r=s("./node_modules/core-js/internals/well-known-symbol.js"),c=s("./node_modules/core-js/internals/object-create.js"),e=s("./node_modules/core-js/internals/object-define-property.js"),o=r("unscopables"),u=Array.prototype;u[o]==null&&e.f(u,o,{configurable:!0,value:c(null)}),t.exports=function(h){u[o][h]=!0}},"./node_modules/core-js/internals/an-object.js":function(t,a,s){var r=s("./node_modules/core-js/internals/is-object.js");t.exports=function(c){if(!r(c))throw TypeError(String(c)+" is not an object");return c}},"./node_modules/core-js/internals/array-for-each.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/array-iteration.js").forEach,c=s("./node_modules/core-js/internals/array-method-is-strict.js"),e=c("forEach");t.exports=e?[].forEach:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(t,a,s){var r=s("./node_modules/core-js/internals/to-indexed-object.js"),c=s("./node_modules/core-js/internals/to-length.js"),e=s("./node_modules/core-js/internals/to-absolute-index.js"),o=function(h){return function(g,A,w){var x=r(g),C=c(x.length),T=e(w,C),O;if(h&&A!=A){for(;C>T;)if(O=x[T++],O!=O)return!0}else for(;C>T;T++)if((h||T in x)&&x[T]===A)return h||T||0;return!h&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(t,a,s){var r=s("./node_modules/core-js/internals/function-bind-context.js"),c=s("./node_modules/core-js/internals/indexed-object.js"),e=s("./node_modules/core-js/internals/to-object.js"),o=s("./node_modules/core-js/internals/to-length.js"),u=s("./node_modules/core-js/internals/array-species-create.js"),h=[].push,g=function(w){var x=w==1,C=w==2,T=w==3,O=w==4,S=w==6,_=w==7,L=w==5||S;return function(D,F,j,k){for(var K=e(D),Z=c(K),B=r(F,j,3),V=o(Z.length),z=0,X=k||u,W=x?X(D,V):C||_?X(D,0):void 0,q,Y;V>z;z++)if((L||z in Z)&&(q=Z[z],Y=B(q,z,K),w))if(x)W[z]=Y;else if(Y)switch(w){case 3:return!0;case 5:return q;case 6:return z;case 2:h.call(W,q)}else switch(w){case 4:return!1;case 7:h.call(W,q)}return S?-1:T||O?O:W}};t.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(t,a,s){var r=s("./node_modules/core-js/internals/fails.js"),c=s("./node_modules/core-js/internals/well-known-symbol.js"),e=s("./node_modules/core-js/internals/engine-v8-version.js"),o=c("species");t.exports=function(u){return e>=51||!r(function(){var h=[],g=h.constructor={};return g[o]=function(){return{foo:1}},h[u](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/fails.js");t.exports=function(c,e){var o=[][c];return!!o&&r(function(){o.call(null,e||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(t,a,s){var r=s("./node_modules/core-js/internals/is-object.js"),c=s("./node_modules/core-js/internals/is-array.js"),e=s("./node_modules/core-js/internals/well-known-symbol.js"),o=e("species");t.exports=function(u){var h;return c(u)&&(h=u.constructor,typeof h=="function"&&(h===Array||c(h.prototype))?h=void 0:r(h)&&(h=h[o],h===null&&(h=void 0))),h===void 0?Array:h}},"./node_modules/core-js/internals/array-species-create.js":function(t,a,s){var r=s("./node_modules/core-js/internals/array-species-constructor.js");t.exports=function(c,e){return new(r(c))(e===0?0:e)}},"./node_modules/core-js/internals/classof-raw.js":function(t){var a={}.toString;t.exports=function(s){return a.call(s).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(t,a,s){var r=s("./node_modules/core-js/internals/to-string-tag-support.js"),c=s("./node_modules/core-js/internals/classof-raw.js"),e=s("./node_modules/core-js/internals/well-known-symbol.js"),o=e("toStringTag"),u=c(function(){return arguments}())=="Arguments",h=function(A,w){try{return A[w]}catch(x){}};t.exports=r?c:function(g){var A,w,x;return g===void 0?"Undefined":g===null?"Null":typeof(w=h(A=Object(g),o))=="string"?w:u?c(A):(x=c(A))=="Object"&&typeof A.callee=="function"?"Arguments":x}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(t,a,s){var r=s("./node_modules/core-js/internals/has.js"),c=s("./node_modules/core-js/internals/own-keys.js"),e=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),o=s("./node_modules/core-js/internals/object-define-property.js");t.exports=function(u,h){for(var g=c(h),A=o.f,w=e.f,x=0;x<g.length;x++){var C=g[x];r(u,C)||A(u,C,w(h,C))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(t,a,s){var r=s("./node_modules/core-js/internals/fails.js");t.exports=!r(function(){function c(){}return c.prototype.constructor=null,Object.getPrototypeOf(new c)!==c.prototype})},"./node_modules/core-js/internals/create-html.js":function(t,a,s){var r=s("./node_modules/core-js/internals/require-object-coercible.js"),c=s("./node_modules/core-js/internals/to-string.js"),e=/"/g;t.exports=function(o,u,h,g){var A=c(r(o)),w="<"+u;return h!==""&&(w+=" "+h+'="'+c(g).replace(e,""")+'"'),w+">"+A+"</"+u+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,c=s("./node_modules/core-js/internals/object-create.js"),e=s("./node_modules/core-js/internals/create-property-descriptor.js"),o=s("./node_modules/core-js/internals/set-to-string-tag.js"),u=s("./node_modules/core-js/internals/iterators.js"),h=function(){return this};t.exports=function(g,A,w){var x=A+" Iterator";return g.prototype=c(r,{next:e(1,w)}),o(g,x,!1,!0),u[x]=h,g}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(t,a,s){var r=s("./node_modules/core-js/internals/descriptors.js"),c=s("./node_modules/core-js/internals/object-define-property.js"),e=s("./node_modules/core-js/internals/create-property-descriptor.js");t.exports=r?function(o,u,h){return c.f(o,u,e(1,h))}:function(o,u,h){return o[u]=h,o}},"./node_modules/core-js/internals/create-property-descriptor.js":function(t){t.exports=function(a,s){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:s}}},"./node_modules/core-js/internals/create-property.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/to-property-key.js"),c=s("./node_modules/core-js/internals/object-define-property.js"),e=s("./node_modules/core-js/internals/create-property-descriptor.js");t.exports=function(o,u,h){var g=r(u);g in o?c.f(o,g,e(0,h)):o[g]=h}},"./node_modules/core-js/internals/define-iterator.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/create-iterator-constructor.js"),e=s("./node_modules/core-js/internals/object-get-prototype-of.js"),o=s("./node_modules/core-js/internals/object-set-prototype-of.js"),u=s("./node_modules/core-js/internals/set-to-string-tag.js"),h=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),g=s("./node_modules/core-js/internals/redefine.js"),A=s("./node_modules/core-js/internals/well-known-symbol.js"),w=s("./node_modules/core-js/internals/is-pure.js"),x=s("./node_modules/core-js/internals/iterators.js"),C=s("./node_modules/core-js/internals/iterators-core.js"),T=C.IteratorPrototype,O=C.BUGGY_SAFARI_ITERATORS,S=A("iterator"),_="keys",L="values",D="entries",F=function(){return this};t.exports=function(j,k,K,Z,B,V,z){c(K,k,Z);var X=function(We){if(We===B&&ne)return ne;if(!O&&We in Y)return Y[We];switch(We){case _:return function(){return new K(this,We)};case L:return function(){return new K(this,We)};case D:return function(){return new K(this,We)}}return function(){return new K(this)}},W=k+" Iterator",q=!1,Y=j.prototype,re=Y[S]||Y["@@iterator"]||B&&Y[B],ne=!O&&re||X(B),we=k=="Array"&&Y.entries||re,ie,me,_e;if(we&&(ie=e(we.call(new j)),T!==Object.prototype&&ie.next&&(!w&&e(ie)!==T&&(o?o(ie,T):typeof ie[S]!="function"&&h(ie,S,F)),u(ie,W,!0,!0),w&&(x[W]=F))),B==L&&re&&re.name!==L&&(q=!0,ne=function(){return re.call(this)}),(!w||z)&&Y[S]!==ne&&h(Y,S,ne),x[k]=ne,B)if(me={values:X(L),keys:V?ne:X(_),entries:X(D)},z)for(_e in me)(O||q||!(_e in Y))&&g(Y,_e,me[_e]);else r({target:k,proto:!0,forced:O||q},me);return me}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(t,a,s){var r=s("./node_modules/core-js/internals/path.js"),c=s("./node_modules/core-js/internals/has.js"),e=s("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),o=s("./node_modules/core-js/internals/object-define-property.js").f;t.exports=function(u){var h=r.Symbol||(r.Symbol={});c(h,u)||o(h,u,{value:e.f(u)})}},"./node_modules/core-js/internals/descriptors.js":function(t,a,s){var r=s("./node_modules/core-js/internals/fails.js");t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=s("./node_modules/core-js/internals/is-object.js"),e=r.document,o=c(e)&&c(e.createElement);t.exports=function(u){return o?e.createElement(u):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(t,a,s){var r=s("./node_modules/core-js/internals/get-built-in.js");t.exports=r("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=s("./node_modules/core-js/internals/engine-user-agent.js"),e=r.process,o=r.Deno,u=e&&e.versions||o&&o.version,h=u&&u.v8,g,A;h?(g=h.split("."),A=g[0]<4?1:g[0]+g[1]):c&&(g=c.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=c.match(/Chrome\/(\d+)/),g&&(A=g[1]))),t.exports=A&&+A},"./node_modules/core-js/internals/enum-bug-keys.js":function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,e=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=s("./node_modules/core-js/internals/redefine.js"),u=s("./node_modules/core-js/internals/set-global.js"),h=s("./node_modules/core-js/internals/copy-constructor-properties.js"),g=s("./node_modules/core-js/internals/is-forced.js");t.exports=function(A,w){var x=A.target,C=A.global,T=A.stat,O,S,_,L,D,F;if(C?S=r:T?S=r[x]||u(x,{}):S=(r[x]||{}).prototype,S)for(_ in w){if(D=w[_],A.noTargetGet?(F=c(S,_),L=F&&F.value):L=S[_],O=g(C?_:x+(T?".":"#")+_,A.forced),!O&&L!==void 0){if(typeof D===typeof L)continue;h(D,L)}(A.sham||L&&L.sham)&&e(D,"sham",!0),o(S,_,D,A)}}},"./node_modules/core-js/internals/fails.js":function(t){t.exports=function(a){try{return!!a()}catch(s){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(t,a,s){var r=s("./node_modules/core-js/internals/a-function.js");t.exports=function(c,e,o){if(r(c),e===void 0)return c;switch(o){case 0:return function(){return c.call(e)};case 1:return function(u){return c.call(e,u)};case 2:return function(u,h){return c.call(e,u,h)};case 3:return function(u,h,g){return c.call(e,u,h,g)}}return function(){return c.apply(e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=function(o){return typeof o=="function"?o:void 0};t.exports=function(e,o){return arguments.length<2?c(r[e]):r[e]&&r[e][o]}},"./node_modules/core-js/internals/global.js":function(t){var a=function(r){return r&&r.Math==Math&&r};t.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof y=="object"&&y)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(t,a,s){var r=s("./node_modules/core-js/internals/to-object.js"),c={}.hasOwnProperty;t.exports=Object.hasOwn||function(o,u){return c.call(r(o),u)}},"./node_modules/core-js/internals/hidden-keys.js":function(t){t.exports={}},"./node_modules/core-js/internals/html.js":function(t,a,s){var r=s("./node_modules/core-js/internals/get-built-in.js");t.exports=r("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(t,a,s){var r=s("./node_modules/core-js/internals/descriptors.js"),c=s("./node_modules/core-js/internals/fails.js"),e=s("./node_modules/core-js/internals/document-create-element.js");t.exports=!r&&!c(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(t,a,s){var r=s("./node_modules/core-js/internals/fails.js"),c=s("./node_modules/core-js/internals/classof-raw.js"),e="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(o){return c(o)=="String"?e.call(o,""):Object(o)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(t,a,s){var r=s("./node_modules/core-js/internals/is-object.js"),c=s("./node_modules/core-js/internals/object-set-prototype-of.js");t.exports=function(e,o,u){var h,g;return c&&typeof(h=o.constructor)=="function"&&h!==u&&r(g=h.prototype)&&g!==u.prototype&&c(e,g),e}},"./node_modules/core-js/internals/inspect-source.js":function(t,a,s){var r=s("./node_modules/core-js/internals/shared-store.js"),c=Function.toString;typeof r.inspectSource!="function"&&(r.inspectSource=function(e){return c.call(e)}),t.exports=r.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(t,a,s){var r=s("./node_modules/core-js/internals/native-weak-map.js"),c=s("./node_modules/core-js/internals/global.js"),e=s("./node_modules/core-js/internals/is-object.js"),o=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=s("./node_modules/core-js/internals/has.js"),h=s("./node_modules/core-js/internals/shared-store.js"),g=s("./node_modules/core-js/internals/shared-key.js"),A=s("./node_modules/core-js/internals/hidden-keys.js"),w="Object already initialized",x=c.WeakMap,C,T,O,S=function(Z){return O(Z)?T(Z):C(Z,{})},_=function(Z){return function(B){var V;if(!e(B)||(V=T(B)).type!==Z)throw TypeError("Incompatible receiver, "+Z+" required");return V}};if(r||h.state){var L=h.state||(h.state=new x),D=L.get,F=L.has,j=L.set;C=function(Z,B){if(F.call(L,Z))throw new TypeError(w);return B.facade=Z,j.call(L,Z,B),B},T=function(Z){return D.call(L,Z)||{}},O=function(Z){return F.call(L,Z)}}else{var k=g("state");A[k]=!0,C=function(Z,B){if(u(Z,k))throw new TypeError(w);return B.facade=Z,o(Z,k,B),B},T=function(Z){return u(Z,k)?Z[k]:{}},O=function(Z){return u(Z,k)}}t.exports={set:C,get:T,has:O,enforce:S,getterFor:_}},"./node_modules/core-js/internals/is-array.js":function(t,a,s){var r=s("./node_modules/core-js/internals/classof-raw.js");t.exports=Array.isArray||function(e){return r(e)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(t,a,s){var r=s("./node_modules/core-js/internals/fails.js"),c=/#|\.prototype\./,e=function(w,x){var C=u[o(w)];return C==g?!0:C==h?!1:typeof x=="function"?r(x):!!x},o=e.normalize=function(A){return String(A).replace(c,".").toLowerCase()},u=e.data={},h=e.NATIVE="N",g=e.POLYFILL="P";t.exports=e},"./node_modules/core-js/internals/is-object.js":function(t){t.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},"./node_modules/core-js/internals/is-pure.js":function(t){t.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(t,a,s){var r=s("./node_modules/core-js/internals/get-built-in.js"),c=s("./node_modules/core-js/internals/use-symbol-as-uid.js");t.exports=c?function(e){return typeof e=="symbol"}:function(e){var o=r("Symbol");return typeof o=="function"&&Object(e)instanceof o}},"./node_modules/core-js/internals/iterators-core.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/fails.js"),c=s("./node_modules/core-js/internals/object-get-prototype-of.js"),e=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),o=s("./node_modules/core-js/internals/has.js"),u=s("./node_modules/core-js/internals/well-known-symbol.js"),h=s("./node_modules/core-js/internals/is-pure.js"),g=u("iterator"),A=!1,w=function(){return this},x,C,T;[].keys&&(T=[].keys(),"next"in T?(C=c(c(T)),C!==Object.prototype&&(x=C)):A=!0);var O=x==null||r(function(){var S={};return x[g].call(S)!==S});O&&(x={}),(!h||O)&&!o(x,g)&&e(x,g,w),t.exports={IteratorPrototype:x,BUGGY_SAFARI_ITERATORS:A}},"./node_modules/core-js/internals/iterators.js":function(t){t.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(t,a,s){var r=s("./node_modules/core-js/internals/engine-v8-version.js"),c=s("./node_modules/core-js/internals/fails.js");t.exports=!!Object.getOwnPropertySymbols&&!c(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},"./node_modules/core-js/internals/native-weak-map.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=s("./node_modules/core-js/internals/inspect-source.js"),e=r.WeakMap;t.exports=typeof e=="function"&&/native code/.test(c(e))},"./node_modules/core-js/internals/object-assign.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/descriptors.js"),c=s("./node_modules/core-js/internals/fails.js"),e=s("./node_modules/core-js/internals/object-keys.js"),o=s("./node_modules/core-js/internals/object-get-own-property-symbols.js"),u=s("./node_modules/core-js/internals/object-property-is-enumerable.js"),h=s("./node_modules/core-js/internals/to-object.js"),g=s("./node_modules/core-js/internals/indexed-object.js"),A=Object.assign,w=Object.defineProperty;t.exports=!A||c(function(){if(r&&A({b:1},A(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var x={},C={},T=Symbol(),O="abcdefghijklmnopqrst";return x[T]=7,O.split("").forEach(function(S){C[S]=S}),A({},x)[T]!=7||e(A({},C)).join("")!=O})?function(C,T){for(var O=h(C),S=arguments.length,_=1,L=o.f,D=u.f;S>_;)for(var F=g(arguments[_++]),j=L?e(F).concat(L(F)):e(F),k=j.length,K=0,Z;k>K;)Z=j[K++],(!r||D.call(F,Z))&&(O[Z]=F[Z]);return O}:A},"./node_modules/core-js/internals/object-create.js":function(t,a,s){var r=s("./node_modules/core-js/internals/an-object.js"),c=s("./node_modules/core-js/internals/object-define-properties.js"),e=s("./node_modules/core-js/internals/enum-bug-keys.js"),o=s("./node_modules/core-js/internals/hidden-keys.js"),u=s("./node_modules/core-js/internals/html.js"),h=s("./node_modules/core-js/internals/document-create-element.js"),g=s("./node_modules/core-js/internals/shared-key.js"),A=">",w="<",x="prototype",C="script",T=g("IE_PROTO"),O=function(){},S=function(k){return w+C+A+k+w+"/"+C+A},_=function(k){k.write(S("")),k.close();var K=k.parentWindow.Object;return k=null,K},L=function(){var k=h("iframe"),K="java"+C+":",Z;if(k.style)return k.style.display="none",u.appendChild(k),k.src=String(K),Z=k.contentWindow.document,Z.open(),Z.write(S("document.F=Object")),Z.close(),Z.F},D,F=function(){try{D=new ActiveXObject("htmlfile")}catch(K){}F=document.domain&&D?_(D):L()||_(D);for(var k=e.length;k--;)delete F[x][e[k]];return F()};o[T]=!0,t.exports=Object.create||function(k,K){var Z;return k!==null?(O[x]=r(k),Z=new O,O[x]=null,Z[T]=k):Z=F(),K===void 0?Z:c(Z,K)}},"./node_modules/core-js/internals/object-define-properties.js":function(t,a,s){var r=s("./node_modules/core-js/internals/descriptors.js"),c=s("./node_modules/core-js/internals/object-define-property.js"),e=s("./node_modules/core-js/internals/an-object.js"),o=s("./node_modules/core-js/internals/object-keys.js");t.exports=r?Object.defineProperties:function(h,g){e(h);for(var A=o(g),w=A.length,x=0,C;w>x;)c.f(h,C=A[x++],g[C]);return h}},"./node_modules/core-js/internals/object-define-property.js":function(t,a,s){var r=s("./node_modules/core-js/internals/descriptors.js"),c=s("./node_modules/core-js/internals/ie8-dom-define.js"),e=s("./node_modules/core-js/internals/an-object.js"),o=s("./node_modules/core-js/internals/to-property-key.js"),u=Object.defineProperty;a.f=r?u:function(g,A,w){if(e(g),A=o(A),e(w),c)try{return u(g,A,w)}catch(x){}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(g[A]=w.value),g}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(t,a,s){var r=s("./node_modules/core-js/internals/descriptors.js"),c=s("./node_modules/core-js/internals/object-property-is-enumerable.js"),e=s("./node_modules/core-js/internals/create-property-descriptor.js"),o=s("./node_modules/core-js/internals/to-indexed-object.js"),u=s("./node_modules/core-js/internals/to-property-key.js"),h=s("./node_modules/core-js/internals/has.js"),g=s("./node_modules/core-js/internals/ie8-dom-define.js"),A=Object.getOwnPropertyDescriptor;a.f=r?A:function(x,C){if(x=o(x),C=u(C),g)try{return A(x,C)}catch(T){}if(h(x,C))return e(!c.f.call(x,C),x[C])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(t,a,s){var r=s("./node_modules/core-js/internals/to-indexed-object.js"),c=s("./node_modules/core-js/internals/object-get-own-property-names.js").f,e={}.toString,o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(g){try{return c(g)}catch(A){return o.slice()}};t.exports.f=function(g){return o&&e.call(g)=="[object Window]"?u(g):c(r(g))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(t,a,s){var r=s("./node_modules/core-js/internals/object-keys-internal.js"),c=s("./node_modules/core-js/internals/enum-bug-keys.js"),e=c.concat("length","prototype");a.f=Object.getOwnPropertyNames||function(u){return r(u,e)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(t,a){a.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(t,a,s){var r=s("./node_modules/core-js/internals/has.js"),c=s("./node_modules/core-js/internals/to-object.js"),e=s("./node_modules/core-js/internals/shared-key.js"),o=s("./node_modules/core-js/internals/correct-prototype-getter.js"),u=e("IE_PROTO"),h=Object.prototype;t.exports=o?Object.getPrototypeOf:function(g){return g=c(g),r(g,u)?g[u]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?h:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(t,a,s){var r=s("./node_modules/core-js/internals/has.js"),c=s("./node_modules/core-js/internals/to-indexed-object.js"),e=s("./node_modules/core-js/internals/array-includes.js").indexOf,o=s("./node_modules/core-js/internals/hidden-keys.js");t.exports=function(u,h){var g=c(u),A=0,w=[],x;for(x in g)!r(o,x)&&r(g,x)&&w.push(x);for(;h.length>A;)r(g,x=h[A++])&&(~e(w,x)||w.push(x));return w}},"./node_modules/core-js/internals/object-keys.js":function(t,a,s){var r=s("./node_modules/core-js/internals/object-keys-internal.js"),c=s("./node_modules/core-js/internals/enum-bug-keys.js");t.exports=Object.keys||function(o){return r(o,c)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(t,a){"use strict";var s={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,c=r&&!s.call({1:2},1);a.f=c?function(o){var u=r(this,o);return!!u&&u.enumerable}:s},"./node_modules/core-js/internals/object-set-prototype-of.js":function(t,a,s){var r=s("./node_modules/core-js/internals/an-object.js"),c=s("./node_modules/core-js/internals/a-possible-prototype.js");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,o={},u;try{u=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,u.call(o,[]),e=o instanceof Array}catch(h){}return function(g,A){return r(g),c(A),e?u.call(g,A):g.__proto__=A,g}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/to-string-tag-support.js"),c=s("./node_modules/core-js/internals/classof.js");t.exports=r?{}.toString:function(){return"[object "+c(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(t,a,s){var r=s("./node_modules/core-js/internals/is-object.js");t.exports=function(c,e){var o,u;if(e==="string"&&typeof(o=c.toString)=="function"&&!r(u=o.call(c)))return u;if(typeof(o=c.valueOf)=="function"&&!r(u=o.call(c)))return u;if(e!=="string"&&typeof(o=c.toString)=="function"&&!r(u=o.call(c)))return u;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(t,a,s){var r=s("./node_modules/core-js/internals/get-built-in.js"),c=s("./node_modules/core-js/internals/object-get-own-property-names.js"),e=s("./node_modules/core-js/internals/object-get-own-property-symbols.js"),o=s("./node_modules/core-js/internals/an-object.js");t.exports=r("Reflect","ownKeys")||function(h){var g=c.f(o(h)),A=e.f;return A?g.concat(A(h)):g}},"./node_modules/core-js/internals/path.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js");t.exports=r},"./node_modules/core-js/internals/redefine.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),e=s("./node_modules/core-js/internals/has.js"),o=s("./node_modules/core-js/internals/set-global.js"),u=s("./node_modules/core-js/internals/inspect-source.js"),h=s("./node_modules/core-js/internals/internal-state.js"),g=h.get,A=h.enforce,w=String(String).split("String");(t.exports=function(x,C,T,O){var S=O?!!O.unsafe:!1,_=O?!!O.enumerable:!1,L=O?!!O.noTargetGet:!1,D;if(typeof T=="function"&&(typeof C=="string"&&!e(T,"name")&&c(T,"name",C),D=A(T),D.source||(D.source=w.join(typeof C=="string"?C:""))),x===r){_?x[C]=T:o(C,T);return}else S?!L&&x[C]&&(_=!0):delete x[C];_?x[C]=T:c(x,C,T)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||u(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/an-object.js");t.exports=function(){var c=r(this),e="";return c.global&&(e+="g"),c.ignoreCase&&(e+="i"),c.multiline&&(e+="m"),c.dotAll&&(e+="s"),c.unicode&&(e+="u"),c.sticky&&(e+="y"),e}},"./node_modules/core-js/internals/require-object-coercible.js":function(t){t.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"./node_modules/core-js/internals/set-global.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js");t.exports=function(c,e){try{Object.defineProperty(r,c,{value:e,configurable:!0,writable:!0})}catch(o){r[c]=e}return e}},"./node_modules/core-js/internals/set-to-string-tag.js":function(t,a,s){var r=s("./node_modules/core-js/internals/object-define-property.js").f,c=s("./node_modules/core-js/internals/has.js"),e=s("./node_modules/core-js/internals/well-known-symbol.js"),o=e("toStringTag");t.exports=function(u,h,g){u&&!c(u=g?u:u.prototype,o)&&r(u,o,{configurable:!0,value:h})}},"./node_modules/core-js/internals/shared-key.js":function(t,a,s){var r=s("./node_modules/core-js/internals/shared.js"),c=s("./node_modules/core-js/internals/uid.js"),e=r("keys");t.exports=function(o){return e[o]||(e[o]=c(o))}},"./node_modules/core-js/internals/shared-store.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=s("./node_modules/core-js/internals/set-global.js"),e="__core-js_shared__",o=r[e]||c(e,{});t.exports=o},"./node_modules/core-js/internals/shared.js":function(t,a,s){var r=s("./node_modules/core-js/internals/is-pure.js"),c=s("./node_modules/core-js/internals/shared-store.js");(t.exports=function(e,o){return c[e]||(c[e]=o!==void 0?o:{})})("versions",[]).push({version:"3.16.0",mode:r?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(t,a,s){var r=s("./node_modules/core-js/internals/fails.js");t.exports=function(c){return r(function(){var e=""[c]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(t,a,s){var r=s("./node_modules/core-js/internals/to-integer.js"),c=s("./node_modules/core-js/internals/to-string.js"),e=s("./node_modules/core-js/internals/require-object-coercible.js"),o=function(h){return function(g,A){var w=c(e(g)),x=r(A),C=w.length,T,O;return x<0||x>=C?h?"":void 0:(T=w.charCodeAt(x),T<55296||T>56319||x+1===C||(O=w.charCodeAt(x+1))<56320||O>57343?h?w.charAt(x):T:h?w.slice(x,x+2):(T-55296<<10)+(O-56320)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},"./node_modules/core-js/internals/string-trim.js":function(t,a,s){var r=s("./node_modules/core-js/internals/require-object-coercible.js"),c=s("./node_modules/core-js/internals/to-string.js"),e=s("./node_modules/core-js/internals/whitespaces.js"),o="["+e+"]",u=RegExp("^"+o+o+"*"),h=RegExp(o+o+"*$"),g=function(w){return function(x){var C=c(r(x));return w&1&&(C=C.replace(u,"")),w&2&&(C=C.replace(h,"")),C}};t.exports={start:g(1),end:g(2),trim:g(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(t,a,s){var r=s("./node_modules/core-js/internals/to-integer.js"),c=Math.max,e=Math.min;t.exports=function(o,u){var h=r(o);return h<0?c(h+u,0):e(h,u)}},"./node_modules/core-js/internals/to-indexed-object.js":function(t,a,s){var r=s("./node_modules/core-js/internals/indexed-object.js"),c=s("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(e){return r(c(e))}},"./node_modules/core-js/internals/to-integer.js":function(t){var a=Math.ceil,s=Math.floor;t.exports=function(r){return isNaN(r=+r)?0:(r>0?s:a)(r)}},"./node_modules/core-js/internals/to-length.js":function(t,a,s){var r=s("./node_modules/core-js/internals/to-integer.js"),c=Math.min;t.exports=function(e){return e>0?c(r(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(t,a,s){var r=s("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(c){return Object(r(c))}},"./node_modules/core-js/internals/to-primitive.js":function(t,a,s){var r=s("./node_modules/core-js/internals/is-object.js"),c=s("./node_modules/core-js/internals/is-symbol.js"),e=s("./node_modules/core-js/internals/ordinary-to-primitive.js"),o=s("./node_modules/core-js/internals/well-known-symbol.js"),u=o("toPrimitive");t.exports=function(h,g){if(!r(h)||c(h))return h;var A=h[u],w;if(A!==void 0){if(g===void 0&&(g="default"),w=A.call(h,g),!r(w)||c(w))return w;throw TypeError("Can't convert object to primitive value")}return g===void 0&&(g="number"),e(h,g)}},"./node_modules/core-js/internals/to-property-key.js":function(t,a,s){var r=s("./node_modules/core-js/internals/to-primitive.js"),c=s("./node_modules/core-js/internals/is-symbol.js");t.exports=function(e){var o=r(e,"string");return c(o)?o:String(o)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(t,a,s){var r=s("./node_modules/core-js/internals/well-known-symbol.js"),c=r("toStringTag"),e={};e[c]="z",t.exports=String(e)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(t,a,s){var r=s("./node_modules/core-js/internals/is-symbol.js");t.exports=function(c){if(r(c))throw TypeError("Cannot convert a Symbol value to a string");return String(c)}},"./node_modules/core-js/internals/uid.js":function(t){var a=0,s=Math.random();t.exports=function(r){return"Symbol("+String(r===void 0?"":r)+")_"+(++a+s).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(t,a,s){var r=s("./node_modules/core-js/internals/native-symbol.js");t.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(t,a,s){var r=s("./node_modules/core-js/internals/well-known-symbol.js");a.f=r},"./node_modules/core-js/internals/well-known-symbol.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=s("./node_modules/core-js/internals/shared.js"),e=s("./node_modules/core-js/internals/has.js"),o=s("./node_modules/core-js/internals/uid.js"),u=s("./node_modules/core-js/internals/native-symbol.js"),h=s("./node_modules/core-js/internals/use-symbol-as-uid.js"),g=c("wks"),A=r.Symbol,w=h?A:A&&A.withoutSetter||o;t.exports=function(x){return(!e(g,x)||!(u||typeof g[x]=="string"))&&(u&&e(A,x)?g[x]=A[x]:g[x]=w("Symbol."+x)),g[x]}},"./node_modules/core-js/internals/whitespaces.js":function(t){t.exports=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/fails.js"),e=s("./node_modules/core-js/internals/is-array.js"),o=s("./node_modules/core-js/internals/is-object.js"),u=s("./node_modules/core-js/internals/to-object.js"),h=s("./node_modules/core-js/internals/to-length.js"),g=s("./node_modules/core-js/internals/create-property.js"),A=s("./node_modules/core-js/internals/array-species-create.js"),w=s("./node_modules/core-js/internals/array-method-has-species-support.js"),x=s("./node_modules/core-js/internals/well-known-symbol.js"),C=s("./node_modules/core-js/internals/engine-v8-version.js"),T=x("isConcatSpreadable"),O=9007199254740991,S="Maximum allowed index exceeded",_=C>=51||!c(function(){var j=[];return j[T]=!1,j.concat()[0]!==j}),L=w("concat"),D=function(k){if(!o(k))return!1;var K=k[T];return K!==void 0?!!K:e(k)},F=!_||!L;r({target:"Array",proto:!0,forced:F},{concat:function(k){var K=u(this),Z=A(K,0),B=0,V,z,X,W,q;for(V=-1,X=arguments.length;V<X;V++)if(q=V===-1?K:arguments[V],D(q)){if(W=h(q.length),B+W>O)throw TypeError(S);for(z=0;z<W;z++,B++)z in q&&g(Z,B,q[z])}else{if(B>=O)throw TypeError(S);g(Z,B++,q)}return Z.length=B,Z}})},"./node_modules/core-js/modules/es.array.iterator.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/to-indexed-object.js"),c=s("./node_modules/core-js/internals/add-to-unscopables.js"),e=s("./node_modules/core-js/internals/iterators.js"),o=s("./node_modules/core-js/internals/internal-state.js"),u=s("./node_modules/core-js/internals/define-iterator.js"),h="Array Iterator",g=o.set,A=o.getterFor(h);t.exports=u(Array,"Array",function(w,x){g(this,{type:h,target:r(w),index:0,kind:x})},function(){var w=A(this),x=w.target,C=w.kind,T=w.index++;return!x||T>=x.length?(w.target=void 0,{value:void 0,done:!0}):C=="keys"?{value:T,done:!1}:C=="values"?{value:x[T],done:!1}:{value:[T,x[T]],done:!1}},"values"),e.Arguments=e.Array,c("keys"),c("values"),c("entries")},"./node_modules/core-js/modules/es.array.join.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/indexed-object.js"),e=s("./node_modules/core-js/internals/to-indexed-object.js"),o=s("./node_modules/core-js/internals/array-method-is-strict.js"),u=[].join,h=c!=Object,g=o("join",",");r({target:"Array",proto:!0,forced:h||!g},{join:function(w){return u.call(e(this),w===void 0?",":w)}})},"./node_modules/core-js/modules/es.array.map.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/array-iteration.js").map,e=s("./node_modules/core-js/internals/array-method-has-species-support.js"),o=e("map");r({target:"Array",proto:!0,forced:!o},{map:function(h){return c(this,h,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/is-object.js"),e=s("./node_modules/core-js/internals/is-array.js"),o=s("./node_modules/core-js/internals/to-absolute-index.js"),u=s("./node_modules/core-js/internals/to-length.js"),h=s("./node_modules/core-js/internals/to-indexed-object.js"),g=s("./node_modules/core-js/internals/create-property.js"),A=s("./node_modules/core-js/internals/well-known-symbol.js"),w=s("./node_modules/core-js/internals/array-method-has-species-support.js"),x=w("slice"),C=A("species"),T=[].slice,O=Math.max;r({target:"Array",proto:!0,forced:!x},{slice:function(_,L){var D=h(this),F=u(D.length),j=o(_,F),k=o(L===void 0?F:L,F),K,Z,B;if(e(D)&&(K=D.constructor,typeof K=="function"&&(K===Array||e(K.prototype))?K=void 0:c(K)&&(K=K[C],K===null&&(K=void 0)),K===Array||K===void 0))return T.call(D,j,k);for(Z=new(K===void 0?Array:K)(O(k-j,0)),B=0;j<k;j++,B++)j in D&&g(Z,B,D[j]);return Z.length=B,Z}})},"./node_modules/core-js/modules/es.function.name.js":function(t,a,s){var r=s("./node_modules/core-js/internals/descriptors.js"),c=s("./node_modules/core-js/internals/object-define-property.js").f,e=Function.prototype,o=e.toString,u=/^\s*function ([^ (]*)/,h="name";r&&!(h in e)&&c(e,h,{configurable:!0,get:function(){try{return o.call(this).match(u)[1]}catch(A){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/descriptors.js"),c=s("./node_modules/core-js/internals/global.js"),e=s("./node_modules/core-js/internals/is-forced.js"),o=s("./node_modules/core-js/internals/redefine.js"),u=s("./node_modules/core-js/internals/has.js"),h=s("./node_modules/core-js/internals/classof-raw.js"),g=s("./node_modules/core-js/internals/inherit-if-required.js"),A=s("./node_modules/core-js/internals/is-symbol.js"),w=s("./node_modules/core-js/internals/to-primitive.js"),x=s("./node_modules/core-js/internals/fails.js"),C=s("./node_modules/core-js/internals/object-create.js"),T=s("./node_modules/core-js/internals/object-get-own-property-names.js").f,O=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,S=s("./node_modules/core-js/internals/object-define-property.js").f,_=s("./node_modules/core-js/internals/string-trim.js").trim,L="Number",D=c[L],F=D.prototype,j=h(C(F))==L,k=function(X){if(A(X))throw TypeError("Cannot convert a Symbol value to a number");var W=w(X,"number"),q,Y,re,ne,we,ie,me,_e;if(typeof W=="string"&&W.length>2){if(W=_(W),q=W.charCodeAt(0),q===43||q===45){if(Y=W.charCodeAt(2),Y===88||Y===120)return NaN}else if(q===48){switch(W.charCodeAt(1)){case 66:case 98:re=2,ne=49;break;case 79:case 111:re=8,ne=55;break;default:return+W}for(we=W.slice(2),ie=we.length,me=0;me<ie;me++)if(_e=we.charCodeAt(me),_e<48||_e>ne)return NaN;return parseInt(we,re)}}return+W};if(e(L,!D(" 0o1")||!D("0b1")||D("+0x1"))){for(var K=function(X){var W=arguments.length<1?0:X,q=this;return q instanceof K&&(j?x(function(){F.valueOf.call(q)}):h(q)!=L)?g(new D(k(W)),q,K):k(W)},Z=r?T(D):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),B=0,V;Z.length>B;B++)u(D,V=Z[B])&&!u(K,V)&&S(K,V,O(D,V));K.prototype=F,F.constructor=K,o(c,L,K)}},"./node_modules/core-js/modules/es.object.assign.js":function(t,a,s){var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/object-assign.js");r({target:"Object",stat:!0,forced:Object.assign!==c},{assign:c})},"./node_modules/core-js/modules/es.object.keys.js":function(t,a,s){var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/to-object.js"),e=s("./node_modules/core-js/internals/object-keys.js"),o=s("./node_modules/core-js/internals/fails.js"),u=o(function(){e(1)});r({target:"Object",stat:!0,forced:u},{keys:function(g){return e(c(g))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(t,a,s){var r=s("./node_modules/core-js/internals/to-string-tag-support.js"),c=s("./node_modules/core-js/internals/redefine.js"),e=s("./node_modules/core-js/internals/object-to-string.js");r||c(Object.prototype,"toString",e,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/redefine.js"),c=s("./node_modules/core-js/internals/an-object.js"),e=s("./node_modules/core-js/internals/to-string.js"),o=s("./node_modules/core-js/internals/fails.js"),u=s("./node_modules/core-js/internals/regexp-flags.js"),h="toString",g=RegExp.prototype,A=g[h],w=o(function(){return A.call({source:"a",flags:"b"})!="/a/b"}),x=A.name!=h;(w||x)&&r(RegExp.prototype,h,function(){var T=c(this),O=e(T.source),S=T.flags,_=e(S===void 0&&T instanceof RegExp&&!("flags"in g)?u.call(T):S);return"/"+O+"/"+_},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/string-multibyte.js").charAt,c=s("./node_modules/core-js/internals/to-string.js"),e=s("./node_modules/core-js/internals/internal-state.js"),o=s("./node_modules/core-js/internals/define-iterator.js"),u="String Iterator",h=e.set,g=e.getterFor(u);o(String,"String",function(A){h(this,{type:u,string:c(A),index:0})},function(){var w=g(this),x=w.string,C=w.index,T;return C>=x.length?{value:void 0,done:!0}:(T=r(x,C),w.index+=T.length,{value:T,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/create-html.js"),e=s("./node_modules/core-js/internals/string-html-forced.js");r({target:"String",proto:!0,forced:e("link")},{link:function(u){return c(this,"a","href",u)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/descriptors.js"),e=s("./node_modules/core-js/internals/global.js"),o=s("./node_modules/core-js/internals/has.js"),u=s("./node_modules/core-js/internals/is-object.js"),h=s("./node_modules/core-js/internals/object-define-property.js").f,g=s("./node_modules/core-js/internals/copy-constructor-properties.js"),A=e.Symbol;if(c&&typeof A=="function"&&(!("description"in A.prototype)||A().description!==void 0)){var w={},x=function(){var L=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),D=this instanceof x?new A(L):L===void 0?A():A(L);return L===""&&(w[D]=!0),D};g(x,A);var C=x.prototype=A.prototype;C.constructor=x;var T=C.toString,O=String(A("test"))=="Symbol(test)",S=/^Symbol\((.*)\)[^)]+$/;h(C,"description",{configurable:!0,get:function(){var L=u(this)?this.valueOf():this,D=T.call(L);if(o(w,L))return"";var F=O?D.slice(7,-1):D.replace(S,"$1");return F===""?void 0:F}}),r({global:!0,forced:!0},{Symbol:x})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(t,a,s){var r=s("./node_modules/core-js/internals/define-well-known-symbol.js");r("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(t,a,s){"use strict";var r=s("./node_modules/core-js/internals/export.js"),c=s("./node_modules/core-js/internals/global.js"),e=s("./node_modules/core-js/internals/get-built-in.js"),o=s("./node_modules/core-js/internals/is-pure.js"),u=s("./node_modules/core-js/internals/descriptors.js"),h=s("./node_modules/core-js/internals/native-symbol.js"),g=s("./node_modules/core-js/internals/fails.js"),A=s("./node_modules/core-js/internals/has.js"),w=s("./node_modules/core-js/internals/is-array.js"),x=s("./node_modules/core-js/internals/is-object.js"),C=s("./node_modules/core-js/internals/is-symbol.js"),T=s("./node_modules/core-js/internals/an-object.js"),O=s("./node_modules/core-js/internals/to-object.js"),S=s("./node_modules/core-js/internals/to-indexed-object.js"),_=s("./node_modules/core-js/internals/to-property-key.js"),L=s("./node_modules/core-js/internals/to-string.js"),D=s("./node_modules/core-js/internals/create-property-descriptor.js"),F=s("./node_modules/core-js/internals/object-create.js"),j=s("./node_modules/core-js/internals/object-keys.js"),k=s("./node_modules/core-js/internals/object-get-own-property-names.js"),K=s("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Z=s("./node_modules/core-js/internals/object-get-own-property-symbols.js"),B=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),V=s("./node_modules/core-js/internals/object-define-property.js"),z=s("./node_modules/core-js/internals/object-property-is-enumerable.js"),X=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),W=s("./node_modules/core-js/internals/redefine.js"),q=s("./node_modules/core-js/internals/shared.js"),Y=s("./node_modules/core-js/internals/shared-key.js"),re=s("./node_modules/core-js/internals/hidden-keys.js"),ne=s("./node_modules/core-js/internals/uid.js"),we=s("./node_modules/core-js/internals/well-known-symbol.js"),ie=s("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),me=s("./node_modules/core-js/internals/define-well-known-symbol.js"),_e=s("./node_modules/core-js/internals/set-to-string-tag.js"),Te=s("./node_modules/core-js/internals/internal-state.js"),We=s("./node_modules/core-js/internals/array-iteration.js").forEach,Ae=Y("hidden"),je="Symbol",ee="prototype",he=we("toPrimitive"),Ze=Te.set,oe=Te.getterFor(je),Q=Object[ee],G=c.Symbol,te=e("JSON","stringify"),xe=B.f,fe=V.f,Be=K.f,Ne=z.f,de=q("symbols"),ve=q("op-symbols"),Me=q("string-to-symbol-registry"),qe=q("symbol-to-string-registry"),gt=q("wks"),ht=c.QObject,Pe=!ht||!ht[ee]||!ht[ee].findChild,It=u&&g(function(){return F(fe({},"a",{get:function(){return fe(this,"a",{value:7}).a}})).a!=7})?function(Dt,rt,ye){var Xt=xe(Q,rt);Xt&&delete Q[rt],fe(Dt,rt,ye),Xt&&Dt!==Q&&fe(Q,rt,Xt)}:fe,nt=function(rt,ye){var Xt=de[rt]=F(G[ee]);return Ze(Xt,{type:je,tag:rt,description:ye}),u||(Xt.description=ye),Xt},Nt=function(rt,ye,Xt){rt===Q&&Nt(ve,ye,Xt),T(rt);var pr=_(ye);return T(Xt),A(de,pr)?(Xt.enumerable?(A(rt,Ae)&&rt[Ae][pr]&&(rt[Ae][pr]=!1),Xt=F(Xt,{enumerable:D(0,!1)})):(A(rt,Ae)||fe(rt,Ae,D(1,{})),rt[Ae][pr]=!0),It(rt,pr,Xt)):fe(rt,pr,Xt)},Bt=function(rt,ye){T(rt);var Xt=S(ye),pr=j(Xt).concat(Ce(Xt));return We(pr,function(mt){(!u||jt.call(Xt,mt))&&Nt(rt,mt,Xt[mt])}),rt},Pt=function(rt,ye){return ye===void 0?F(rt):Bt(F(rt),ye)},jt=function(rt){var ye=_(rt),Xt=Ne.call(this,ye);return this===Q&&A(de,ye)&&!A(ve,ye)?!1:Xt||!A(this,ye)||!A(de,ye)||A(this,Ae)&&this[Ae][ye]?Xt:!0},er=function(rt,ye){var Xt=S(rt),pr=_(ye);if(Xt===Q&&A(de,pr)&&!A(ve,pr))return;var mt=xe(Xt,pr);return mt&&A(de,pr)&&!(A(Xt,Ae)&&Xt[Ae][pr])&&(mt.enumerable=!0),mt},at=function(rt){var ye=Be(S(rt)),Xt=[];return We(ye,function(pr){!A(de,pr)&&!A(re,pr)&&Xt.push(pr)}),Xt},Ce=function(rt){var ye=rt===Q,Xt=Be(ye?ve:S(rt)),pr=[];return We(Xt,function(mt){A(de,mt)&&(!ye||A(Q,mt))&&pr.push(de[mt])}),pr};if(h||(G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var rt=!arguments.length||arguments[0]===void 0?void 0:L(arguments[0]),ye=ne(rt),Xt=function pr(mt){this===Q&&pr.call(ve,mt),A(this,Ae)&&A(this[Ae],ye)&&(this[Ae][ye]=!1),It(this,ye,D(1,mt))};return u&&Pe&&It(Q,ye,{configurable:!0,set:Xt}),nt(ye,rt)},W(G[ee],"toString",function(){return oe(this).tag}),W(G,"withoutSetter",function(Dt){return nt(ne(Dt),Dt)}),z.f=jt,V.f=Nt,B.f=er,k.f=K.f=at,Z.f=Ce,ie.f=function(Dt){return nt(we(Dt),Dt)},u&&(fe(G[ee],"description",{configurable:!0,get:function(){return oe(this).description}}),o||W(Q,"propertyIsEnumerable",jt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:G}),We(j(gt),function(Dt){me(Dt)}),r({target:je,stat:!0,forced:!h},{for:function(rt){var ye=L(rt);if(A(Me,ye))return Me[ye];var Xt=G(ye);return Me[ye]=Xt,qe[Xt]=ye,Xt},keyFor:function(rt){if(!C(rt))throw TypeError(rt+" is not a symbol");if(A(qe,rt))return qe[rt]},useSetter:function(){Pe=!0},useSimple:function(){Pe=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!u},{create:Pt,defineProperty:Nt,defineProperties:Bt,getOwnPropertyDescriptor:er}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:at,getOwnPropertySymbols:Ce}),r({target:"Object",stat:!0,forced:g(function(){Z.f(1)})},{getOwnPropertySymbols:function(rt){return Z.f(O(rt))}}),te){var ue=!h||g(function(){var Dt=G();return te([Dt])!="[null]"||te({a:Dt})!="{}"||te(Object(Dt))!="{}"});r({target:"JSON",stat:!0,forced:ue},{stringify:function(rt,ye,Xt){for(var pr=[rt],mt=1,nr;arguments.length>mt;)pr.push(arguments[mt++]);return nr=ye,!x(ye)&&rt===void 0||C(rt)?void 0:(w(ye)||(ye=function(gn,_r){if(typeof nr=="function"&&(_r=nr.call(this,gn,_r)),!C(_r))return _r}),pr[1]=ye,te.apply(null,pr))}})}G[ee][he]||X(G[ee],he,G[ee].valueOf),_e(G,je),re[Ae]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=s("./node_modules/core-js/internals/dom-iterables.js"),e=s("./node_modules/core-js/internals/array-for-each.js"),o=s("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var u in c){var h=r[u],g=h&&h.prototype;if(g&&g.forEach!==e)try{o(g,"forEach",e)}catch(A){g.forEach=e}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(t,a,s){var r=s("./node_modules/core-js/internals/global.js"),c=s("./node_modules/core-js/internals/dom-iterables.js"),e=s("./node_modules/core-js/modules/es.array.iterator.js"),o=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=s("./node_modules/core-js/internals/well-known-symbol.js"),h=u("iterator"),g=u("toStringTag"),A=e.values;for(var w in c){var x=r[w],C=x&&x.prototype;if(C){if(C[h]!==A)try{o(C,h,A)}catch(O){C[h]=A}if(C[g]||o(C,g,w),c[w]){for(var T in e)if(C[T]!==e[T])try{o(C,T,e[T])}catch(O){C[T]=e[T]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(t){/*!
|
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
|
* @license Licensed under MIT license
|
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
|
* @version v4.2.8+1e68dce6
|
|
|
*/(function(a,s){t.exports=s()})(this,function(){"use strict";function a(ht){var Pe=typeof ht;return ht!==null&&(Pe==="object"||Pe==="function")}function s(ht){return typeof ht=="function"}var r=void 0;Array.isArray?r=Array.isArray:r=function(Pe){return Object.prototype.toString.call(Pe)==="[object Array]"};var c=r,e=0,o=void 0,u=void 0,h=function(Pe,It){j[e]=Pe,j[e+1]=It,e+=2,e===2&&(u?u(k):Z())};function g(ht){u=ht}function A(ht){h=ht}var w=typeof window!="undefined"?window:void 0,x=w||{},C=x.MutationObserver||x.WebKitMutationObserver,T=typeof self=="undefined"&&typeof m!="undefined"&&{}.toString.call(m)==="[object process]",O=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function S(){return function(){return m.nextTick(k)}}function _(){return typeof o!="undefined"?function(){o(k)}:F()}function L(){var ht=0,Pe=new C(k),It=document.createTextNode("");return Pe.observe(It,{characterData:!0}),function(){It.data=ht=++ht%2}}function D(){var ht=new MessageChannel;return ht.port1.onmessage=k,function(){return ht.port2.postMessage(0)}}function F(){var ht=setTimeout;return function(){return ht(k,1)}}var j=new Array(1e3);function k(){for(var ht=0;ht<e;ht+=2){var Pe=j[ht],It=j[ht+1];Pe(It),j[ht]=void 0,j[ht+1]=void 0}e=0}function K(){try{var ht=Function("return this")().require("vertx");return o=ht.runOnLoop||ht.runOnContext,_()}catch(Pe){return F()}}var Z=void 0;T?Z=S():C?Z=L():O?Z=D():w===void 0&&!0?Z=K():Z=F();function B(ht,Pe){var It=this,nt=new this.constructor(X);nt[z]===void 0&&te(nt);var Nt=It._state;if(Nt){var Bt=arguments[Nt-1];h(function(){return Ze(Nt,nt,Bt,It._result)})}else ee(It,nt,ht,Pe);return nt}function V(ht){var Pe=this;if(ht&&typeof ht=="object"&&ht.constructor===Pe)return ht;var It=new Pe(X);return Te(It,ht),It}var z=Math.random().toString(36).substring(2);function X(){}var W=void 0,q=1,Y=2;function re(){return new TypeError("You cannot resolve a promise with itself")}function ne(){return new TypeError("A promises callback cannot return that same promise.")}function we(ht,Pe,It,nt){try{ht.call(Pe,It,nt)}catch(Nt){return Nt}}function ie(ht,Pe,It){h(function(nt){var Nt=!1,Bt=we(It,Pe,function(Pt){if(Nt)return;Nt=!0,Pe!==Pt?Te(nt,Pt):Ae(nt,Pt)},function(Pt){if(Nt)return;Nt=!0,je(nt,Pt)},"Settle: "+(nt._label||" unknown promise"));!Nt&&Bt&&(Nt=!0,je(nt,Bt))},ht)}function me(ht,Pe){Pe._state===q?Ae(ht,Pe._result):Pe._state===Y?je(ht,Pe._result):ee(Pe,void 0,function(It){return Te(ht,It)},function(It){return je(ht,It)})}function _e(ht,Pe,It){Pe.constructor===ht.constructor&&It===B&&Pe.constructor.resolve===V?me(ht,Pe):It===void 0?Ae(ht,Pe):s(It)?ie(ht,Pe,It):Ae(ht,Pe)}function Te(ht,Pe){if(ht===Pe)je(ht,re());else if(a(Pe)){var It=void 0;try{It=Pe.then}catch(nt){je(ht,nt);return}_e(ht,Pe,It)}else Ae(ht,Pe)}function We(ht){ht._onerror&&ht._onerror(ht._result),he(ht)}function Ae(ht,Pe){if(ht._state!==W)return;ht._result=Pe,ht._state=q,ht._subscribers.length!==0&&h(he,ht)}function je(ht,Pe){if(ht._state!==W)return;ht._state=Y,ht._result=Pe,h(We,ht)}function ee(ht,Pe,It,nt){var Nt=ht._subscribers,Bt=Nt.length;ht._onerror=null,Nt[Bt]=Pe,Nt[Bt+q]=It,Nt[Bt+Y]=nt,Bt===0&&ht._state&&h(he,ht)}function he(ht){var Pe=ht._subscribers,It=ht._state;if(Pe.length===0)return;for(var nt=void 0,Nt=void 0,Bt=ht._result,Pt=0;Pt<Pe.length;Pt+=3)nt=Pe[Pt],Nt=Pe[Pt+It],nt?Ze(It,nt,Nt,Bt):Nt(Bt);ht._subscribers.length=0}function Ze(ht,Pe,It,nt){var Nt=s(It),Bt=void 0,Pt=void 0,jt=!0;if(Nt){try{Bt=It(nt)}catch(er){jt=!1,Pt=er}if(Pe===Bt){je(Pe,ne());return}}else Bt=nt;Pe._state!==W||(Nt&&jt?Te(Pe,Bt):jt===!1?je(Pe,Pt):ht===q?Ae(Pe,Bt):ht===Y&&je(Pe,Bt))}function oe(ht,Pe){try{Pe(function(nt){Te(ht,nt)},function(nt){je(ht,nt)})}catch(It){je(ht,It)}}var Q=0;function G(){return Q++}function te(ht){ht[z]=Q++,ht._state=void 0,ht._result=void 0,ht._subscribers=[]}function xe(){return new Error("Array Methods must be provided an Array")}var fe=function(){function ht(Pe,It){this._instanceConstructor=Pe,this.promise=new Pe(X),this.promise[z]||te(this.promise),c(It)?(this.length=It.length,this._remaining=It.length,this._result=new Array(this.length),this.length===0?Ae(this.promise,this._result):(this.length=this.length||0,this._enumerate(It),this._remaining===0&&Ae(this.promise,this._result))):je(this.promise,xe())}return ht.prototype._enumerate=function(It){for(var nt=0;this._state===W&&nt<It.length;nt++)this._eachEntry(It[nt],nt)},ht.prototype._eachEntry=function(It,nt){var Nt=this._instanceConstructor,Bt=Nt.resolve;if(Bt===V){var Pt=void 0,jt=void 0,er=!1;try{Pt=It.then}catch(Ce){er=!0,jt=Ce}if(Pt===B&&It._state!==W)this._settledAt(It._state,nt,It._result);else if(typeof Pt!="function")this._remaining--,this._result[nt]=It;else if(Nt===qe){var at=new Nt(X);er?je(at,jt):_e(at,It,Pt),this._willSettleAt(at,nt)}else this._willSettleAt(new Nt(function(Ce){return Ce(It)}),nt)}else this._willSettleAt(Bt(It),nt)},ht.prototype._settledAt=function(It,nt,Nt){var Bt=this.promise;Bt._state===W&&(this._remaining--,It===Y?je(Bt,Nt):this._result[nt]=Nt),this._remaining===0&&Ae(Bt,this._result)},ht.prototype._willSettleAt=function(It,nt){var Nt=this;ee(It,void 0,function(Bt){return Nt._settledAt(q,nt,Bt)},function(Bt){return Nt._settledAt(Y,nt,Bt)})},ht}();function Be(ht){return new fe(this,ht).promise}function Ne(ht){var Pe=this;return c(ht)?new Pe(function(It,nt){for(var Nt=ht.length,Bt=0;Bt<Nt;Bt++)Pe.resolve(ht[Bt]).then(It,nt)}):new Pe(function(It,nt){return nt(new TypeError("You must pass an array to race."))})}function de(ht){var Pe=this,It=new Pe(X);return je(It,ht),It}function ve(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Me(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var qe=function(){function ht(Pe){this[z]=G(),this._result=this._state=void 0,this._subscribers=[],X!==Pe&&(typeof Pe!="function"&&ve(),this instanceof ht?oe(this,Pe):Me())}return ht.prototype.catch=function(It){return this.then(null,It)},ht.prototype.finally=function(It){var nt=this,Nt=nt.constructor;return s(It)?nt.then(function(Bt){return Nt.resolve(It()).then(function(){return Bt})},function(Bt){return Nt.resolve(It()).then(function(){throw Bt})}):nt.then(It,It)},ht}();qe.prototype.then=B,qe.all=Be,qe.race=Ne,qe.resolve=V,qe.reject=de,qe._setScheduler=g,qe._setAsap=A,qe._asap=h;function gt(){var ht=void 0;if(typeof y!="undefined")ht=y;else if(typeof self!="undefined")ht=self;else try{ht=Function("return this")()}catch(nt){throw new Error("polyfill failed because global object is unavailable in this environment")}var Pe=ht.Promise;if(Pe){var It=null;try{It=Object.prototype.toString.call(Pe.resolve())}catch(nt){}if(It==="[object Promise]"&&!Pe.cast)return}ht.Promise=qe}return qe.polyfill=gt,qe.Promise=qe,qe})},html2canvas:function(t){"use strict";t.exports=p},jspdf:function(t){"use strict";t.exports=E}},f={};function d(n){var t=f[n];if(t!==void 0)return t.exports;var a=f[n]={exports:{}};return v[n].call(a.exports,a,a.exports,d),a.exports}!function(){d.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return d.d(t,{a:t}),t}}(),!function(){d.d=function(n,t){for(var a in t)d.o(t,a)&&!d.o(n,a)&&Object.defineProperty(n,a,{enumerable:!0,get:t[a]})}}(),!function(){d.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)}}(),!function(){d.r=function(n){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}}();var l={};return!function(){"use strict";/*!**********************!*\
|
|
|
!*** ./src/index.js ***!
|
|
|
\**********************/d.r(l);var n=d("./src/worker.js"),t=d("./src/plugin/jspdf-plugin.js"),a=d("./src/plugin/pagebreaks.js"),s=d("./src/plugin/hyperlinks.js"),r=function c(e,o){var u=new c.Worker(o);return e?u.from(e).save():u};r.Worker=n.default,l.default=r}(),l=l.default,l}()})}).call(this,i("yLpj"),i("Q2Ig"))},"1q3G":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=y;function y(){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(U,R,i){var y=i("MBQ8"),m=y.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(p){return p.stack=null,m.superApply(this,"getInitialData",arguments)}}),E=m;U.exports=E},"1u/T":function(U,R,i){var y=i("ProS"),m={type:"selectDataRange",event:"dataRangeSelected",update:"update"};y.registerAction(m,function(E,p){p.eachComponent({mainType:"visualMap",query:E},function(v){v.setSelected(E.selected)})})},"1vzs":function(U,R,i){"use strict";i.d(R,"a",function(){return e});var y=i("q1tI"),m=i.n(y),E=i("HQEm"),p=i.n(E),v=i("gZBC"),f=i.n(v),d=i("NAnI"),l=i.n(d),n=i("V/uB"),t=i.n(n),a=i("kbBi"),s=i.n(a),r=i("w6Tc"),c=i.n(r);function e(o){var u=o.suffixIcon,h=o.clearIcon,g=o.menuItemSelectedIcon,A=o.removeIcon,w=o.loading,x=o.multiple,C=o.prefixCls,T=h;h||(T=y.createElement(s.a,null));var O=null;if(u!==void 0)O=u;else if(w)O=y.createElement(f.a,{spin:!0});else{var S="".concat(C,"-suffix");O=function(F){var j=F.open,k=F.showSearch;return j&&k?y.createElement(c.a,{className:S}):y.createElement(p.a,{className:S})}}var _=null;g!==void 0?_=g:x?_=y.createElement(l.a,null):_=null;var L=null;return A!==void 0?L=A:L=y.createElement(t.a,null),{clearIcon:T,suffixIcon:O,itemIcon:_,removeIcon:L}}},"1xaR":function(U,R,i){var y=i("ProS"),m=i("bYtY");i("qgGe"),i("NA0q"),i("RPvy");var E=i("mOdp"),p=i("y3NT"),v=i("0/Rx");y.registerVisual(m.curry(E,"sunburst")),y.registerLayout(m.curry(p,"sunburst")),y.registerProcessor(m.curry(v,"sunburst"))},"24YM":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.SensorTabIndex=R.SensorClassName=R.SizeSensorId=void 0;var y="size-sensor-id";R.SizeSensorId=y;var m="size-sensor-object";R.SensorClassName=m;var E="-1";R.SensorTabIndex=E},"2548":function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("6GrX"),p=i("IUWy"),v=i("IwbS"),f=i("Qxkt"),d=i("gPAo"),l=i("eRkO"),n=y.extendComponentView({type:"toolbox",render:function(a,s,r,c){var e=this.group;if(e.removeAll(),!a.get("show"))return;var o=+a.get("itemSize"),u=a.get("feature")||{},h=this._features||(this._features={}),g=[];m.each(u,function(x,C){g.push(C)}),new d(this._featureNames||[],g).add(A).update(A).remove(m.curry(A,null)).execute(),this._featureNames=g;function A(x,C){var T=g[x],O=g[C],S=u[T],_=new f(S,a,a.ecModel),L;if(c&&c.newTitle!=null&&c.featureName===T&&(S.title=c.newTitle),T&&!O){if(t(T))L={model:_,onclick:_.option.onclick,featureName:T};else{var D=p.get(T);if(!D)return;L=new D(_,s,r)}h[T]=L}else{if(L=h[O],!L)return;L.model=_,L.ecModel=s,L.api=r}if(!T&&O){L.dispose&&L.dispose(s,r);return}if(!_.get("show")||L.unusable){L.remove&&L.remove(s,r);return}w(_,L,T),_.setIconStatus=function(F,j){var k=this.option,K=this.iconPaths;k.iconStatus=k.iconStatus||{},k.iconStatus[F]=j,K[F]&&K[F].trigger(j)},L.render&&L.render(_,s,r,c)}function w(x,C,T){var O=x.getModel("iconStyle"),S=x.getModel("emphasis.iconStyle"),_=C.getIcons?C.getIcons():x.get("icon"),L=x.get("title")||{};if(typeof _=="string"){var D=_,F=L;_={},L={},_[T]=D,L[T]=F}var j=x.iconPaths={};m.each(_,function(k,K){var Z=v.createIcon(k,{},{x:-o/2,y:-o/2,width:o,height:o});Z.setStyle(O.getItemStyle()),Z.hoverStyle=S.getItemStyle(),Z.setStyle({text:L[K],textAlign:S.get("textAlign"),textBorderRadius:S.get("textBorderRadius"),textPadding:S.get("textPadding"),textFill:null});var B=a.getModel("tooltip");B&&B.get("show")&&Z.attr("tooltip",m.extend({content:L[K],formatter:B.get("formatter",!0)||function(){return L[K]},formatterParams:{componentType:"toolbox",name:K,title:L[K],$vars:["name","title"]},position:B.get("position",!0)||"bottom"},B.option)),v.setHoverStyle(Z),a.get("showTitle")&&(Z.__title=L[K],Z.on("mouseover",function(){var V=S.getItemStyle(),z=a.get("orient")==="vertical"?a.get("right")==null?"right":"left":a.get("bottom")==null?"bottom":"top";Z.setStyle({textFill:S.get("textFill")||V.fill||V.stroke||"#000",textBackgroundColor:S.get("textBackgroundColor"),textPosition:S.get("textPosition")||z})}).on("mouseout",function(){Z.setStyle({textFill:null,textBackgroundColor:null})})),Z.trigger(x.get("iconStatus."+K)||"normal"),e.add(Z),Z.on("click",m.bind(C.onclick,C,s,r,K)),j[K]=Z})}l.layout(e,a,r),e.add(l.makeBackground(e.getBoundingRect(),a)),e.eachChild(function(x){var C=x.__title,T=x.hoverStyle;if(T&&C){var O=E.getBoundingRect(C,E.makeFont(T)),S=x.position[0]+e.position[0],_=x.position[1]+e.position[1]+o,L=!1;_+O.height>r.getHeight()&&(T.textPosition="top",L=!0);var D=L?-5-O.height:o+8;S+O.width/2>r.getWidth()?(T.textPosition=["100%",D],T.textAlign="right"):S-O.width/2<0&&(T.textPosition=[0,D],T.textAlign="left")}})},updateView:function(a,s,r,c){m.each(this._features,function(e){e.updateView&&e.updateView(e.model,s,r,c)})},remove:function(a,s){m.each(this._features,function(r){r.remove&&r.remove(a,s)}),this.group.removeAll()},dispose:function(a,s){m.each(this._features,function(r){r.dispose&&r.dispose(a,s)})}});function t(a){return a.indexOf("my")===0}U.exports=n},"2B6p":function(U,R){function i(y,m,E){var p=y.getZoom(),v=y.getCenter(),f=m.zoom,d=y.dataToPoint(v);if(m.dx!=null&&m.dy!=null){d[0]-=m.dx,d[1]-=m.dy;var v=y.pointToData(d);y.setCenter(v)}if(f!=null){if(E){var l=E.min||0,n=E.max||Infinity;f=Math.max(Math.min(p*f,n),l)/p}y.scale[0]*=f,y.scale[1]*=f;var t=y.position,a=(m.originX-t[0])*(f-1),s=(m.originY-t[1])*(f-1);t[0]-=a,t[1]-=s,y.updateTransform();var v=y.pointToData(d);y.setCenter(v),y.setZoom(f*p)}return{center:y.getCenter(),zoom:y.getZoom()}}R.updateCenterAndZoom=i},"2BaD":function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CloseCircleOutlined";var d=R.a=m.forwardRef(f)},"2DNl":function(U,R,i){var y=i("IMiH"),m=i("loD1"),E=i("59Ip"),p=i("aKvl"),v=i("n1HI"),f=i("hX1E"),d=f.normalizeRadian,l=i("Sj9i"),n=i("hyiK"),t=y.CMD,a=Math.PI*2,s=1e-4;function r(C,T){return Math.abs(C-T)<s}var c=[-1,-1,-1],e=[-1,-1];function o(){var C=e[0];e[0]=e[1],e[1]=C}function u(C,T,O,S,_,L,D,F,j,k){if(k>T&&k>S&&k>L&&k>F||k<T&&k<S&&k<L&&k<F)return 0;var K=l.cubicRootAt(T,S,L,F,k,c);if(K===0)return 0;for(var Z=0,B=-1,V,z,X=0;X<K;X++){var W=c[X],q=W===0||W===1?.5:1,Y=l.cubicAt(C,O,_,D,W);if(Y<j)continue;B<0&&(B=l.cubicExtrema(T,S,L,F,e),e[1]<e[0]&&B>1&&o(),V=l.cubicAt(T,S,L,F,e[0]),B>1&&(z=l.cubicAt(T,S,L,F,e[1]))),B===2?W<e[0]?Z+=V<T?q:-q:W<e[1]?Z+=z<V?q:-q:Z+=F<z?q:-q:W<e[0]?Z+=V<T?q:-q:Z+=F<V?q:-q}return Z}function h(C,T,O,S,_,L,D,F){if(F>T&&F>S&&F>L||F<T&&F<S&&F<L)return 0;var j=l.quadraticRootAt(T,S,L,F,c);if(j===0)return 0;var k=l.quadraticExtremum(T,S,L);if(k>=0&&k<=1){for(var K=0,Z=l.quadraticAt(T,S,L,k),B=0;B<j;B++){var V=c[B]===0||c[B]===1?.5:1,z=l.quadraticAt(C,O,_,c[B]);if(z<D)continue;c[B]<k?K+=Z<T?V:-V:K+=L<Z?V:-V}return K}else{var V=c[0]===0||c[0]===1?.5:1,z=l.quadraticAt(C,O,_,c[0]);return z<D?0:L<T?V:-V}}function g(C,T,O,S,_,L,D,F){if(F-=T,F>O||F<-O)return 0;var j=Math.sqrt(O*O-F*F);c[0]=-j,c[1]=j;var k=Math.abs(S-_);if(k<1e-4)return 0;if(k%a<1e-4){S=0,_=a;var K=L?1:-1;return D>=c[0]+C&&D<=c[1]+C?K:0}if(L){var j=S;S=d(_),_=d(j)}else S=d(S),_=d(_);S>_&&(_+=a);for(var Z=0,B=0;B<2;B++){var V=c[B];if(V+C>D){var z=Math.atan2(F,V),K=L?1:-1;z<0&&(z=a+z),(z>=S&&z<=_||z+a>=S&&z+a<=_)&&(z>Math.PI/2&&z<Math.PI*1.5&&(K=-K),Z+=K)}}return Z}function A(C,T,O,S,_){for(var L=0,D=0,F=0,j=0,k=0,K=0;K<C.length;){var Z=C[K++];Z===t.M&&K>1&&(O||(L+=n(D,F,j,k,S,_))),K===1&&(D=C[K],F=C[K+1],j=D,k=F);switch(Z){case t.M:j=C[K++],k=C[K++],D=j,F=k;break;case t.L:if(O){if(m.containStroke(D,F,C[K],C[K+1],T,S,_))return!0}else L+=n(D,F,C[K],C[K+1],S,_)||0;D=C[K++],F=C[K++];break;case t.C:if(O){if(E.containStroke(D,F,C[K++],C[K++],C[K++],C[K++],C[K],C[K+1],T,S,_))return!0}else L+=u(D,F,C[K++],C[K++],C[K++],C[K++],C[K],C[K+1],S,_)||0;D=C[K++],F=C[K++];break;case t.Q:if(O){if(p.containStroke(D,F,C[K++],C[K++],C[K],C[K+1],T,S,_))return!0}else L+=h(D,F,C[K++],C[K++],C[K],C[K+1],S,_)||0;D=C[K++],F=C[K++];break;case t.A:var B=C[K++],V=C[K++],z=C[K++],X=C[K++],W=C[K++],q=C[K++];K+=1;var Y=1-C[K++],re=Math.cos(W)*z+B,ne=Math.sin(W)*X+V;K>1?L+=n(D,F,re,ne,S,_):(j=re,k=ne);var we=(S-B)*X/z+B;if(O){if(v.containStroke(B,V,X,W,W+q,Y,T,we,_))return!0}else L+=g(B,V,X,W,W+q,Y,we,_);D=Math.cos(W+q)*z+B,F=Math.sin(W+q)*X+V;break;case t.R:j=D=C[K++],k=F=C[K++];var ie=C[K++],me=C[K++],re=j+ie,ne=k+me;if(O){if(m.containStroke(j,k,re,k,T,S,_)||m.containStroke(re,k,re,ne,T,S,_)||m.containStroke(re,ne,j,ne,T,S,_)||m.containStroke(j,ne,j,k,T,S,_))return!0}else L+=n(re,k,re,ne,S,_),L+=n(j,ne,j,k,S,_);break;case t.Z:if(O){if(m.containStroke(D,F,j,k,T,S,_))return!0}else L+=n(D,F,j,k,S,_);D=j,F=k;break}}return!O&&!r(F,k)&&(L+=n(D,F,j,k,S,_)||0),L!==0}function w(C,T,O){return A(C,0,!1,T,O)}function x(C,T,O,S){return A(C,T,!0,O,S)}R.contain=w,R.containStroke=x},"2KFj":function(U,R,i){"use strict";i.d(R,"a",function(){return E});var y=i("XPR9");function m(p,v){for(;!Object.prototype.hasOwnProperty.call(p,v)&&!(p=Object(y.a)(p),p===null););return p}function E(p,v,f){return typeof Reflect!="undefined"&&Reflect.get?E=Reflect.get:E=function(l,n,t){var a=m(l,n);if(!a)return;var s=Object.getOwnPropertyDescriptor(a,n);return s.get?s.get.call(t):s.value},E(p,v,f||p)}},"2Qr1":function(U,R,i){"use strict";i.d(R,"d",function(){return n}),i.d(R,"c",function(){return a}),i.d(R,"e",function(){return s}),i.d(R,"b",function(){return e}),i.d(R,"f",function(){return o}),i.d(R,"g",function(){return u}),i.d(R,"a",function(){return h});var y=i("rePB"),m=i("KQm4"),E=i("T5bk"),p=i("U8pU"),v=i("VTBJ"),f=i("Kwbf"),d=i("WKfj");function l(g,A){var w=g.key,x;return"value"in g&&(x=g.value),w!=null?w:x!==void 0?x:"rc-index-key-".concat(A)}function n(g){var A=[];function w(x,C){x.forEach(function(T){C||!("options"in T)?A.push({key:l(T,A.length),groupOption:C,data:T}):(A.push({key:l(T,A.length),group:!0,data:T}),w(T.options,!0))})}return w(g,!1),A}function t(g){var A=Object(v.a)({},g);return"props"in A||Object.defineProperty(A,"props",{get:function(){return Object(f.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),A}}),A}function a(g,A){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=w.prevValueOptions,C=x===void 0?[]:x,T=new Map;return A.forEach(function(O){if(!O.group){var S=O.data;T.set(S.value,S)}}),g.map(function(O){var S=T.get(O);return S||(S=Object(v.a)({},C.find(function(_){return _._INTERNAL_OPTION_VALUE_===O}))),t(S)})}var s=function(A,w){var x=w.options,C=w.prevValue,T=w.labelInValue,O=w.optionLabelProp,S=a([A],x)[0],_={value:A},L,D=Object(d.d)(C);return T&&(L=D.find(function(F){return Object(p.a)(F)==="object"&&"value"in F?F.value===A:F.key===A})),L&&Object(p.a)(L)==="object"&&"label"in L?(_.label=L.label,S&&typeof L.label=="string"&&typeof S[O]=="string"&&L.label.trim()!==S[O].trim()&&Object(f.a)(!1,"`label` of `value` is not same as `label` in Select options.")):S&&O in S?_.label=S[O]:_.label=A,_.key=_.value,_};function r(g){return Object(d.d)(g).join("")}function c(g){return function(A,w){var x=A.toLowerCase();if("options"in w)return r(w.label).toLowerCase().includes(x);var C=w[g],T=r(C).toLowerCase();return T.includes(x)}}function e(g,A,w){var x=w.optionFilterProp,C=w.filterOption,T=[],O;return C===!1?A:(typeof C=="function"?O=C:O=c(x),A.forEach(function(S){if("options"in S){var _=O(g,S);if(_)T.push(S);else{var L=S.options.filter(function(D){return O(g,D)});L.length&&T.push(Object(v.a)(Object(v.a)({},S),{},{options:L}))}return}O(g,t(S))&&T.push(S)}),T)}function o(g,A){if(!A||!A.length)return null;var w=!1;function x(T,O){var S=Object(E.a)(O),_=S[0],L=S.slice(1);if(!_)return[T];var D=T.split(_);return w=w||D.length>1,D.reduce(function(F,j){return[].concat(Object(m.a)(F),Object(m.a)(x(j,L)))},[]).filter(function(F){return F})}var C=x(g,A);return w?C:null}function u(g,A){var w=a([g],A)[0];return w.disabled}function h(g,A,w,x){var C=Object(d.d)(A).slice().sort(),T=Object(m.a)(g),O=new Set;return g.forEach(function(S){S.options?S.options.forEach(function(_){O.add(_.value)}):O.add(S.value)}),C.forEach(function(S){var _=x?S.value:S;if(!O.has(_)){var L;T.push(x?(L={},Object(y.a)(L,w,S.label),Object(y.a)(L,"value",_),L):{value:_})}}),T}},"2dDv":function(U,R,i){var y=i("bYtY"),m=i("Fofx"),E=i("+TT/"),p=i("aX7z"),v=i("D1WM"),f=i("IwbS"),d=i("OELB"),l=i("72pK"),n=y.each,t=Math.min,a=Math.max,s=Math.floor,r=Math.ceil,c=d.round,e=Math.PI;function o(w,x,C){this._axesMap=y.createHashMap(),this._axesLayout={},this.dimensions=w.dimensions,this._rect,this._model=w,this._init(w,x,C)}o.prototype={type:"parallel",constructor:o,_init:function(w,x,C){var T=w.dimensions,O=w.parallelAxisIndex;n(T,function(S,_){var L=O[_],D=x.getComponent("parallelAxis",L),F=this._axesMap.set(S,new v(S,p.createScaleByModel(D),[0,0],D.get("type"),L)),j=F.type==="category";F.onBand=j&&D.get("boundaryGap"),F.inverse=D.get("inverse"),D.axis=F,F.model=D,F.coordinateSystem=D.coordinateSystem=this},this)},update:function(w,x){this._updateAxesFromSeries(this._model,w)},containPoint:function(w){var x=this._makeLayoutInfo(),C=x.axisBase,T=x.layoutBase,O=x.pixelDimIndex,S=w[1-O],_=w[O];return S>=C&&S<=C+x.axisLength&&_>=T&&_<=T+x.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(w,x){x.eachSeries(function(C){if(!w.contains(C,x))return;var T=C.getData();n(this.dimensions,function(O){var S=this._axesMap.get(O);S.scale.unionExtentFromData(T,T.mapDimension(O)),p.niceScaleExtent(S.scale,S.model)},this)},this)},resize:function(w,x){this._rect=E.getLayoutRect(w.getBoxLayoutParams(),{width:x.getWidth(),height:x.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var w=this._model,x=this._rect,C=["x","y"],T=["width","height"],O=w.get("layout"),S=O==="horizontal"?0:1,_=x[T[S]],L=[0,_],D=this.dimensions.length,F=u(w.get("axisExpandWidth"),L),j=u(w.get("axisExpandCount")||0,[0,D]),k=w.get("axisExpandable")&&D>3&&D>j&&j>1&&F>0&&_>0,K=w.get("axisExpandWindow"),Z;if(K)Z=u(K[1]-K[0],L),K[1]=K[0]+Z;else{Z=u(F*(j-1),L);var B=w.get("axisExpandCenter")||s(D/2);K=[F*B-Z/2],K[1]=K[0]+Z}var V=(_-Z)/(D-j);V<3&&(V=0);var z=[s(c(K[0]/F,1))+1,r(c(K[1]/F,1))-1],X=V/F*K[0];return{layout:O,pixelDimIndex:S,layoutBase:x[C[S]],layoutLength:_,axisBase:x[C[1-S]],axisLength:x[T[1-S]],axisExpandable:k,axisExpandWidth:F,axisCollapseWidth:V,axisExpandWindow:K,axisCount:D,winInnerIndices:z,axisExpandWindow0Pos:X}},_layoutAxes:function(){var w=this._rect,x=this._axesMap,C=this.dimensions,T=this._makeLayoutInfo(),O=T.layout;x.each(function(S){var _=[0,T.axisLength],L=S.inverse?1:0;S.setExtent(_[L],_[1-L])}),n(C,function(S,_){var L=(T.axisExpandable?g:h)(_,T),D={horizontal:{x:L.position,y:T.axisLength},vertical:{x:0,y:L.position}},F={horizontal:e/2,vertical:0},j=[D[O].x+w.x,D[O].y+w.y],k=F[O],K=m.create();m.rotate(K,K,k),m.translate(K,K,j),this._axesLayout[S]={position:j,rotation:k,transform:K,axisNameAvailableWidth:L.axisNameAvailableWidth,axisLabelShow:L.axisLabelShow,nameTruncateMaxWidth:L.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(w){return this._axesMap.get(w)},dataToPoint:function(w,x){return this.axisCoordToPoint(this._axesMap.get(x).dataToCoord(w),x)},eachActiveState:function(w,x,C,T){C==null&&(C=0),T==null&&(T=w.count());var O=this._axesMap,S=this.dimensions,_=[],L=[];y.each(S,function(V){_.push(w.mapDimension(V)),L.push(O.get(V).model)});for(var D=this.hasAxisBrushed(),F=C;F<T;F++){var j;if(!D)j="normal";else{j="active";for(var k=w.getValues(_,F),K=0,Z=S.length;K<Z;K++){var B=L[K].getActiveState(k[K]);if(B==="inactive"){j="inactive";break}}}x(j,F)}},hasAxisBrushed:function(){for(var w=this.dimensions,x=this._axesMap,C=!1,T=0,O=w.length;T<O;T++)x.get(w[T]).model.getActiveState()!=="normal"&&(C=!0);return C},axisCoordToPoint:function(w,x){var C=this._axesLayout[x];return f.applyTransform([w,0],C.transform)},getAxisLayout:function(w){return y.clone(this._axesLayout[w])},getSlidedAxisExpandWindow:function(w){var x=this._makeLayoutInfo(),C=x.pixelDimIndex,T=x.axisExpandWindow.slice(),O=T[1]-T[0],S=[0,x.axisExpandWidth*(x.axisCount-1)];if(!this.containPoint(w))return{behavior:"none",axisExpandWindow:T};var _=w[C]-x.layoutBase-x.axisExpandWindow0Pos,L,D="slide",F=x.axisCollapseWidth,j=this._model.get("axisExpandSlideTriggerArea"),k=j[0]!=null;if(F)k&&F&&_<O*j[0]?(D="jump",L=_-O*j[2]):k&&F&&_>O*(1-j[0])?(D="jump",L=_-O*(1-j[2])):(L=_-O*j[1])>=0&&(L=_-O*(1-j[1]))<=0&&(L=0),L*=x.axisExpandWidth/F,L?l(L,T,S,"all"):D="none";else{var O=T[1]-T[0],K=S[1]*_/O;T=[a(0,K-O/2)],T[1]=t(S[1],T[0]+O),T[0]=T[1]-O}return{axisExpandWindow:T,behavior:D}}};function u(w,x){return t(a(w,x[0]),x[1])}function h(w,x){var C=x.layoutLength/(x.axisCount-1);return{position:C*w,axisNameAvailableWidth:C,axisLabelShow:!0}}function g(w,x){var C=x.layoutLength,T=x.axisExpandWidth,O=x.axisCount,S=x.axisCollapseWidth,_=x.winInnerIndices,L,D=S,F=!1,j;return w<_[0]?(L=w*S,j=S):w<=_[1]?(L=x.axisExpandWindow0Pos+w*T-x.axisExpandWindow[0],D=T,F=!0):(L=C-(O-1-w)*S,j=S),{position:L,axisNameAvailableWidth:D,axisLabelShow:F,nameTruncateMaxWidth:j}}var A=o;U.exports=A},"2fGM":function(U,R,i){var y=i("bYtY"),m=i("bLfw"),E=i("nkfE"),p=i("ICMv"),v=m.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});y.merge(v.prototype,p);var f={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function d(l,n){return n.type||(n.data?"category":"value")}E("angle",v,d,f.angle),E("radius",v,d,f.radius)},"2fM7":function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("7W2i"),t=i.n(n),a=i("LQ03"),s=i.n(a),r=i("q1tI"),c=i("BGR+"),e=i("TSYQ"),o=i.n(e),u=i("1OyB"),h=i("vuIU"),g=i("Ji7U"),A=i("LK+K"),w=i("rePB"),x=i("Ff2n"),C=i("ODXe"),T=i("4IlW"),O=i("bX4T"),S=i("YrtM"),_=i("+nKL"),L=i("8OUc"),D=function(G,te){var xe=G.prefixCls,fe=G.id,Be=G.flattenOptions,Ne=G.childrenAsData,de=G.values,ve=G.searchValue,Me=G.multiple,qe=G.defaultActiveFirstOption,gt=G.height,ht=G.itemHeight,Pe=G.notFoundContent,It=G.open,nt=G.menuItemSelectedIcon,Nt=G.virtual,Bt=G.onSelect,Pt=G.onToggleOpen,jt=G.onActiveValue,er=G.onScroll,at=G.onMouseEnter,Ce="".concat(xe,"-item"),ue=Object(S.a)(function(){return Be},[It,Be],function(zt,bt){return bt[0]&&zt[1]!==bt[1]}),Dt=r.useRef(null),rt=function(bt){bt.preventDefault()},ye=function(bt){Dt.current&&Dt.current.scrollTo({index:bt})},Xt=function(bt){for(var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,lr=ue.length,jr=0;jr<lr;jr+=1){var Rr=(bt+jr*ot+lr)%lr,xr=ue[Rr],Vn=xr.group,bn=xr.data;if(!Vn&&!bn.disabled)return Rr}return-1},pr=r.useState(function(){return Xt(0)}),mt=Object(C.a)(pr,2),nr=mt[0],yr=mt[1],gn=function(bt){yr(bt);var ot=ue[bt];if(!ot){jt(null,-1);return}jt(ot.data.value,bt)};r.useEffect(function(){gn(qe!==!1?Xt(0):-1)},[ue.length,ve]),r.useEffect(function(){var zt=setTimeout(function(){if(!Me&&It&&de.size===1){var bt=Array.from(de)[0],ot=ue.findIndex(function(lr){var jr=lr.data;return jr.value===bt});gn(ot),ye(ot)}});return function(){return clearTimeout(zt)}},[It]);var _r=function(bt){bt!==void 0&&Bt(bt,{selected:!de.has(bt)}),Me||Pt(!1)};if(r.useImperativeHandle(te,function(){return{onKeyDown:function(bt){var ot=bt.which;switch(ot){case T.a.UP:case T.a.DOWN:{var lr=0;if(ot===T.a.UP?lr=-1:ot===T.a.DOWN&&(lr=1),lr!==0){var jr=Xt(nr+lr,lr);ye(jr),gn(jr)}break}case T.a.ENTER:{var Rr=ue[nr];Rr&&!Rr.data.disabled?_r(Rr.data.value):_r(void 0),It&&bt.preventDefault();break}case T.a.ESC:Pt(!1)}},onKeyUp:function(){},scrollTo:function(bt){ye(bt)}}}),ue.length===0)return r.createElement("div",{role:"listbox",id:"".concat(fe,"_list"),className:"".concat(Ce,"-empty"),onMouseDown:rt},Pe);function ur(zt){var bt=ue[zt];if(!bt)return null;var ot=bt.data||{},lr=ot.value,jr=ot.label,Rr=ot.children,xr=Object(O.a)(ot,!0),Vn=Ne?Rr:jr;return bt?r.createElement("div",Object.assign({"aria-label":typeof Vn=="string"?Vn:null},xr,{key:zt,role:"option",id:"".concat(fe,"_list_").concat(zt),"aria-selected":de.has(lr)}),lr):null}return r.createElement(r.Fragment,null,r.createElement("div",{role:"listbox",id:"".concat(fe,"_list"),style:{height:0,width:0,overflow:"hidden"}},ur(nr-1),ur(nr),ur(nr+1)),r.createElement(_.a,{itemKey:"key",ref:Dt,data:ue,height:gt,itemHeight:ht,fullHeight:!1,onMouseDown:rt,onScroll:er,virtual:Nt,onMouseEnter:at},function(zt,bt){var ot,lr=zt.group,jr=zt.groupOption,Rr=zt.data,xr=Rr.label,Vn=Rr.key;if(lr)return r.createElement("div",{className:o()(Ce,"".concat(Ce,"-group"))},xr!==void 0?xr:Vn);var bn=Rr.disabled,di=Rr.value,lt=Rr.title,ct=Rr.children,Le=Rr.style,Ue=Rr.className,Ye=Object(x.a)(Rr,["disabled","value","title","children","style","className"]),ft=de.has(di),ir="".concat(Ce,"-option"),Yt=o()(Ce,ir,Ue,(ot={},Object(w.a)(ot,"".concat(ir,"-grouped"),jr),Object(w.a)(ot,"".concat(ir,"-active"),nr===bt&&!bn),Object(w.a)(ot,"".concat(ir,"-disabled"),bn),Object(w.a)(ot,"".concat(ir,"-selected"),ft),ot)),rr=Ne?ct:xr,Zr=!nt||typeof nt=="function"||ft;return r.createElement("div",Object.assign({},Ye,{"aria-selected":ft,className:Yt,title:lt,onMouseMove:function(){if(nr===bt||bn)return;gn(bt)},onClick:function(){bn||_r(di)},style:Le}),r.createElement("div",{className:"".concat(ir,"-content")},rr||di),r.isValidElement(nt)||ft,Zr&&r.createElement(L.a,{className:"".concat(Ce,"-option-state"),customizeIcon:nt,customizeIconProps:{isSelected:ft}},ft?"\u2713":null))}))},F=r.forwardRef(D);F.displayName="OptionList";var j=F,k=function(){return null};k.isSelectOption=!0;var K=k,Z=function(){return null};Z.isSelectOptGroup=!0;var B=Z,V=i("VTBJ"),z=i("Zm9Q");function X(Q){var G=Q.key,te=Q.props,xe=te.children,fe=te.value,Be=Object(x.a)(te,["children","value"]);return Object(V.a)({key:G,value:fe!==void 0?fe:G,children:xe},Be)}function W(Q){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(z.a)(Q).map(function(te,xe){if(!r.isValidElement(te)||!te.type)return null;var fe=te.type.isSelectOptGroup,Be=te.key,Ne=te.props,de=Ne.children,ve=Object(x.a)(Ne,["children"]);return G||!fe?X(te):Object(V.a)(Object(V.a)({key:"__RC_SELECT_GRP__".concat(Be===null?xe:Be,"__"),label:Be},ve),{},{options:W(de)})}).filter(function(te){return te})}var q=i("2Qr1"),Y=i("qNPg"),re=i("U8pU"),ne=i("Kwbf"),we=i("WKfj");function ie(Q){var G=Q.mode,te=Q.options,xe=Q.children,fe=Q.backfill,Be=Q.allowClear,Ne=Q.placeholder,de=Q.getInputElement,ve=Q.showSearch,Me=Q.onSearch,qe=Q.defaultOpen,gt=Q.autoFocus,ht=Q.labelInValue,Pe=Q.value,It=Q.inputValue,nt=Q.optionLabelProp,Nt=G==="multiple"||G==="tags",Bt=ve!==void 0?ve:Nt||G==="combobox",Pt=te||W(xe);if(Object(ne.a)(G!=="tags"||Pt.every(function(Ce){return!Ce.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),G==="tags"||G==="combobox"){var jt=Pt.some(function(Ce){return Ce.options?Ce.options.some(function(ue){return typeof("value"in ue?ue.value:ue.key)=="number"}):typeof("value"in Ce?Ce.value:Ce.key)=="number"});Object(ne.a)(!jt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(ne.a)(G!=="combobox"||!nt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(ne.a)(G==="combobox"||!fe,"`backfill` only works with `combobox` mode."),Object(ne.a)(G==="combobox"||!de,"`getInputElement` only work with `combobox` mode."),Object(ne.b)(G!=="combobox"||!de||!Be||!Ne,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Me&&!Bt&&G!=="combobox"&&G!=="tags"&&Object(ne.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(ne.b)(!qe||gt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Pe!=null){var er=Object(we.d)(Pe);Object(ne.a)(!ht||er.every(function(Ce){return Object(re.a)(Ce)==="object"&&("key"in Ce||"value"in Ce)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(ne.a)(!Nt||Array.isArray(Pe),"`value` should be array when `mode` is `multiple` or `tags`")}if(xe){var at=null;Object(z.a)(xe).some(function(Ce){if(!r.isValidElement(Ce)||!Ce.type)return!1;var ue=Ce.type;if(ue.isSelectOption)return!1;if(ue.isSelectOptGroup){var Dt=Object(z.a)(Ce.props.children).every(function(rt){return!r.isValidElement(rt)||!Ce.type||rt.type.isSelectOption?!0:(at=rt.type,!1)});return!Dt}return at=ue,!0}),at&&Object(ne.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(at.displayName||at.name||at,"`.")),Object(ne.a)(It===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var me=ie,_e=Object(Y.a)({prefixCls:"rc-select",components:{optionList:j},convertChildrenToData:W,flattenOptions:q.d,getLabeledValue:q.e,filterOptions:q.b,isValueDisabled:q.g,findValueOption:q.c,warningProps:me,fillOptionsWithMissingValue:q.a}),Te=function(Q){Object(g.a)(te,Q);var G=Object(A.a)(te);function te(){var xe;return Object(u.a)(this,te),xe=G.apply(this,arguments),xe.selectRef=r.createRef(),xe.focus=function(){xe.selectRef.current.focus()},xe.blur=function(){xe.selectRef.current.blur()},xe}return Object(h.a)(te,[{key:"render",value:function(){return r.createElement(_e,Object.assign({ref:this.selectRef},this.props))}}]),te}(r.Component);Te.Option=K,Te.OptGroup=B;var We=Te,Ae=We,je=i("H84U"),ee=i("1vzs"),he=i("3Nzz"),Ze=function(Q){t()(te,Q);var G=s()(te);function te(){var xe;return f()(this,te),xe=G.apply(this,arguments),xe.selectRef=r.createRef(),xe.focus=function(){xe.selectRef.current&&xe.selectRef.current.focus()},xe.blur=function(){xe.selectRef.current&&xe.selectRef.current.blur()},xe.getMode=function(){var fe=xe.props.mode;return fe==="combobox"?void 0:fe===te.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":fe},xe.renderSelect=function(fe){var Be=fe.getPopupContainer,Ne=fe.getPrefixCls,de=fe.renderEmpty,ve=fe.direction,Me=fe.virtual,qe=fe.dropdownMatchSelectWidth,gt=xe.props,ht=gt.prefixCls,Pe=gt.notFoundContent,It=gt.className,nt=gt.size,Nt=gt.listHeight,Bt=Nt===void 0?256:Nt,Pt=gt.listItemHeight,jt=Pt===void 0?24:Pt,er=gt.getPopupContainer,at=gt.dropdownClassName,Ce=gt.bordered,ue=Ne("select",ht),Dt=xe.getMode(),rt=Dt==="multiple"||Dt==="tags",ye;Pe!==void 0?ye=Pe:Dt==="combobox"?ye=null:ye=de("Select");var Xt=Object(ee.a)(p()(p()({},xe.props),{multiple:rt,prefixCls:ue})),pr=Xt.suffixIcon,mt=Xt.itemIcon,nr=Xt.removeIcon,yr=Xt.clearIcon,gn=Object(c.default)(xe.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),_r=o()(at,m()({},"".concat(ue,"-dropdown-").concat(ve),ve==="rtl"));return r.createElement(he.b.Consumer,null,function(ur){var zt,bt=nt||ur,ot=o()(It,(zt={},m()(zt,"".concat(ue,"-lg"),bt==="large"),m()(zt,"".concat(ue,"-sm"),bt==="small"),m()(zt,"".concat(ue,"-rtl"),ve==="rtl"),m()(zt,"".concat(ue,"-borderless"),!Ce),zt));return r.createElement(Ae,p()({ref:xe.selectRef,virtual:Me,dropdownMatchSelectWidth:qe},gn,{listHeight:Bt,listItemHeight:jt,mode:Dt,prefixCls:ue,direction:ve,inputIcon:pr,menuItemSelectedIcon:mt,removeIcon:nr,clearIcon:yr,notFoundContent:ye,className:ot,getPopupContainer:er||Be,dropdownClassName:_r}))})},xe}return l()(te,[{key:"render",value:function(){return r.createElement(je.a,null,this.renderSelect)}}]),te}(r.Component);Ze.Option=K,Ze.OptGroup=B,Ze.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ze.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var oe=R.a=Ze},"2fw6":function(U,R,i){var y=i("y+Vt"),m=y.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(p,v,f){f&&p.moveTo(v.cx+v.r,v.cy),p.arc(v.cx,v.cy,v.r,0,Math.PI*2,!0)}});U.exports=m},"2jpz":function(U,R,i){"use strict";i.d(R,"a",function(){return h});var y=i("cDf5"),m=i.n(y),E=i("q1tI"),p=i.n(E),v=i("TSYQ"),f=i.n(v),d=i("gZBC"),l=i.n(d),n=i("vk+C"),t=i.n(n),a=i("pG52"),s=i.n(a),r=i("Csr3"),c=i.n(r),e=i("e5VY"),o=i.n(e),u=i("0n0R");function h(g,A,w,x){var C=x.isLeaf,T=x.expanded,O=x.loading;if(O)return E.createElement(l.a,{className:"".concat(g,"-switcher-loading-icon")});var S;if(w&&m()(w)==="object"&&(S=w.showLeafIcon),C)return w?m()(w)==="object"&&!S?E.createElement("span",{className:"".concat(g,"-switcher-leaf-line")}):E.createElement(t.a,{className:"".concat(g,"-switcher-line-icon")}):null;var _="".concat(g,"-switcher-icon");return Object(u.b)(A)?Object(u.a)(A,{className:f()(A.props.className||"",_)}):A||(w?T?E.createElement(s.a,{className:"".concat(g,"-switcher-line-icon")}):E.createElement(c.a,{className:"".concat(g,"-switcher-line-icon")}):E.createElement(o.a,{className:_}))}},"2oIt":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},"2uGb":function(U,R,i){var y=i("ProS");i("ko1b"),i("s2lz"),i("RBEP");var m=i("kMLO"),E=i("nKiI");y.registerVisual(m),y.registerLayout(E)},"2w7y":function(U,R,i){var y=i("ProS");i("qMZE"),i("g0SD"),y.registerPreprocessor(function(m){m.markPoint=m.markPoint||{}})},"33Ds":function(U,R,i){var y=i("ProS"),m=i("b9oc"),E=i("Kagy"),p=i("IUWy"),v=E.toolbox.restore;function f(n){this.model=n}f.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:v.title};var d=f.prototype;d.onclick=function(n,t,a){m.clear(n),t.dispatchAction({type:"restore",from:this.uid})},p.register("restore",f),y.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(n,t){t.resetOption("recreate")});var l=f;U.exports=l},"34/K":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function m(v,f){for(var d=0;d<f.length;d++){var l=f[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(v,l.key,l)}}function E(v,f,d){return f&&m(v.prototype,f),d&&m(v,d),v}var p=function(){function v(){y(this,v),this._lines=0}return E(v,[{key:"decodeRect",value:function(d,l,n,t,a,s,r){this._lines===0&&(this._lines=t);var c=r==8?1:4,e=n*c;if(a.rQwait("RAW",e))return!1;var o=l+(t-this._lines),u=Math.min(this._lines,Math.floor(a.rQlen/e)),h=a.rQ,g=a.rQi;if(r==8){for(var A=n*u,w=new Uint8Array(A*4),x=0;x<A;x++)w[x*4+0]=(h[g+x]>>0&3)*255/3,w[x*4+1]=(h[g+x]>>2&3)*255/3,w[x*4+2]=(h[g+x]>>4&3)*255/3,w[x*4+4]=0;h=w,g=0}return s.blitImage(d,o,n,u,h,g),a.rQskipBytes(u*e),this._lines-=u,!(this._lines>0)}}]),v}();R.default=p},"3690":function(U,R,i){"use strict";function y(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(a){return typeof a}:y=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},y(n)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=p(i("Lo0S"));function E(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return E=function(){return n},n}function p(n){if(n&&n.__esModule)return n;if(n===null||y(n)!=="object"&&typeof n!="function")return{default:n};var t=E();if(t&&t.has(n))return t.get(n);var a={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var c=s?Object.getOwnPropertyDescriptor(n,r):null;c&&(c.get||c.set)?Object.defineProperty(a,r,c):a[r]=n[r]}return a.default=n,t&&t.set(n,a),a}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function f(n,t){for(var a=0;a<t.length;a++){var s=t[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,s.key,s)}}function d(n,t,a){return t&&f(n.prototype,t),a&&f(n,a),n}var l=function(){function n(){v(this,n),this._tiles=0,this._lastsubencoding=0}return d(n,[{key:"decodeRect",value:function(a,s,r,c,e,o,u){for(this._tiles===0&&(this._tilesX=Math.ceil(r/16),this._tilesY=Math.ceil(c/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var h=1;if(e.rQwait("HEXTILE",h))return!1;var g=e.rQ,A=e.rQi,w=g[A];if(w>30)throw new Error("Illegal hextile subencoding (subencoding: "+w+")");var x=this._totalTiles-this._tiles,C=x%this._tilesX,T=Math.floor(x/this._tilesX),O=a+C*16,S=s+T*16,_=Math.min(16,a+r-O),L=Math.min(16,s+c-S);if(w&1)h+=_*L*4;else if(w&2&&(h+=4),w&4&&(h+=4),w&8){if(h++,e.rQwait("HEXTILE",h))return!1;var D=g[A+h-1];w&16?h+=D*(4+2):h+=D*2}if(e.rQwait("HEXTILE",h))return!1;if(A++,w===0)this._lastsubencoding&1?m.Debug(" Ignoring blank after RAW"):o.fillRect(O,S,_,L,this._background);else if(w&1)o.blitImage(O,S,_,L,g,A),A+=h-1;else{if(w&2&&(this._background=[g[A],g[A+1],g[A+2],g[A+3]],A+=4),w&4&&(this._foreground=[g[A],g[A+1],g[A+2],g[A+3]],A+=4),o.startTile(O,S,_,L,this._background),w&8){var F=g[A];A++;for(var j=0;j<F;j++){var k=void 0;w&16?(k=[g[A],g[A+1],g[A+2],g[A+3]],A+=4):k=this._foreground;var K=g[A];A++;var Z=K>>4,B=K&15,V=g[A];A++;var z=(V>>4)+1,X=(V&15)+1;o.subTile(Z,B,z,X,k)}}o.finishTile()}e.rQi=A,this._lastsubencoding=w,this._tiles--}return!0}}]),n}();R.default=l},"3C/r":function(U,R){var i=function(E,p){this.image=E,this.repeat=p,this.type="pattern"};i.prototype.getCanvasPattern=function(m){return m.createPattern(this.image,this.repeat||"repeat")};var y=i;U.exports=y},"3CBa":function(U,R,i){var y=i("hydK"),m=y.createElement,E=i("bYtY"),p=i("SUKs"),v=i("y+Vt"),f=i("Dagg"),d=i("dqUG"),l=i("DBLp"),n=i("sW+o"),t=i("n6Mw"),a=i("vKoX"),s=i("P47w"),r=s.path,c=s.image,e=s.text;function o(_){return parseInt(_,10)}function u(_){return _ instanceof v?r:_ instanceof f?c:_ instanceof d?e:r}function h(_,L){return L&&_&&L.parentNode!==_}function g(_,L,D){if(h(_,L)&&D){var F=D.nextSibling;F?_.insertBefore(L,F):_.appendChild(L)}}function A(_,L){if(h(_,L)){var D=_.firstChild;D?_.insertBefore(L,D):_.appendChild(L)}}function w(_,L){L&&_&&L.parentNode===_&&_.removeChild(L)}function x(_){return _.__textSvgEl}function C(_){return _.__svgEl}var T=function(L,D,F,j){this.root=L,this.storage=D,this._opts=F=E.extend({},F||{});var k=m("svg");k.setAttribute("xmlns","http://www.w3.org/2000/svg"),k.setAttribute("version","1.1"),k.setAttribute("baseProfile","full"),k.style.cssText="user-select:none;position:absolute;left:0;top:0;";var K=m("g");k.appendChild(K);var Z=m("g");k.appendChild(Z),this.gradientManager=new n(j,Z),this.clipPathManager=new t(j,Z),this.shadowManager=new a(j,Z);var B=document.createElement("div");B.style.cssText="overflow:hidden;position:relative",this._svgDom=k,this._svgRoot=Z,this._backgroundRoot=K,this._viewport=B,L.appendChild(B),B.appendChild(k),this.resize(F.width,F.height),this._visibleList=[]};T.prototype={constructor:T,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var L=this.getViewportRoot();if(L)return{offsetLeft:L.offsetLeft||0,offsetTop:L.offsetTop||0}},refresh:function(){var L=this.storage.getDisplayList(!0);this._paintList(L)},setBackgroundColor:function(L){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var D=m("rect");D.setAttribute("width",this.getWidth()),D.setAttribute("height",this.getHeight()),D.setAttribute("x",0),D.setAttribute("y",0),D.setAttribute("id",0),D.style.fill=L,this._backgroundRoot.appendChild(D),this._backgroundNode=D},_paintList:function(L){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var D=this._svgRoot,F=this._visibleList,j=L.length,k=[],K;for(K=0;K<j;K++){var Z=L[K],B=u(Z),V=C(Z)||x(Z);Z.invisible||(Z.__dirty&&(B&&B.brush(Z),this.clipPathManager.update(Z),Z.style&&(this.gradientManager.update(Z.style.fill),this.gradientManager.update(Z.style.stroke),this.shadowManager.update(V,Z)),Z.__dirty=!1),k.push(Z))}var z=l(F,k),X;for(K=0;K<z.length;K++){var W=z[K];if(W.removed)for(var q=0;q<W.count;q++){var Z=F[W.indices[q]],V=C(Z),Y=x(Z);w(D,V),w(D,Y)}}for(K=0;K<z.length;K++){var W=z[K];if(W.added)for(var q=0;q<W.count;q++){var Z=k[W.indices[q]],V=C(Z),Y=x(Z);X?g(D,V,X):A(D,V),V?g(D,Y,V):X?g(D,Y,X):A(D,Y),g(D,Y,V),X=Y||V||X,this.gradientManager.addWithoutUpdate(V||Y,Z),this.shadowManager.addWithoutUpdate(V||Y,Z),this.clipPathManager.markUsed(Z)}else if(!W.removed)for(var q=0;q<W.count;q++){var Z=k[W.indices[q]],V=C(Z),Y=x(Z),V=C(Z),Y=x(Z);this.gradientManager.markUsed(Z),this.gradientManager.addWithoutUpdate(V||Y,Z),this.shadowManager.markUsed(Z),this.shadowManager.addWithoutUpdate(V||Y,Z),this.clipPathManager.markUsed(Z),Y&&g(D,Y,V),X=V||Y||X}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=k},_getDefs:function(L){var D=this._svgDom,F=D.getElementsByTagName("defs");if(F.length===0)if(L){var F=D.insertBefore(m("defs"),D.firstChild);return F.contains||(F.contains=function(k){var K=F.children;if(!K)return!1;for(var Z=K.length-1;Z>=0;--Z)if(K[Z]===k)return!0;return!1}),F}else return null;else return F[0]},resize:function(L,D){var F=this._viewport;F.style.display="none";var j=this._opts;if(L!=null&&(j.width=L),D!=null&&(j.height=D),L=this._getSize(0),D=this._getSize(1),F.style.display="",this._width!==L||this._height!==D){this._width=L,this._height=D;var k=F.style;k.width=L+"px",k.height=D+"px";var K=this._svgDom;K.setAttribute("width",L),K.setAttribute("height",D)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",L),this._backgroundNode.setAttribute("height",D))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(L){var D=this._opts,F=["width","height"][L],j=["clientWidth","clientHeight"][L],k=["paddingLeft","paddingTop"][L],K=["paddingRight","paddingBottom"][L];if(D[F]!=null&&D[F]!=="auto")return parseFloat(D[F]);var Z=this.root,B=document.defaultView.getComputedStyle(Z);return(Z[j]||o(B[F])||o(Z.style[F]))-(o(B[k])||0)-(o(B[K])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var L=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+L}};function O(_){return function(){p('In SVG mode painter not support method "'+_+'"')}}E.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(_){T.prototype[_]=O(_)});var S=T;U.exports=S},"3LNs":function(U,R,i){var y=i("bYtY"),m=i("Yl7c"),E=i("IwbS"),p=i("zTMp"),v=i("YH21"),f=i("iLNv"),d=i("4NO4"),l=d.makeInner,n=l(),t=y.clone,a=y.bind;function s(){}s.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(g,A,w,x){var C=A.get("value"),T=A.get("status");if(this._axisModel=g,this._axisPointerModel=A,this._api=w,!x&&this._lastValue===C&&this._lastStatus===T)return;this._lastValue=C,this._lastStatus=T;var O=this._group,S=this._handle;if(!T||T==="hide"){O&&O.hide(),S&&S.hide();return}O&&O.show(),S&&S.show();var _={};this.makeElOption(_,C,g,A,w);var L=_.graphicKey;L!==this._lastGraphicKey&&this.clear(w),this._lastGraphicKey=L;var D=this._moveAnimation=this.determineAnimation(g,A);if(!O)O=this._group=new E.Group,this.createPointerEl(O,_,g,A),this.createLabelEl(O,_,g,A),w.getZr().add(O);else{var F=y.curry(r,A,D);this.updatePointerEl(O,_,F,A),this.updateLabelEl(O,_,F,A)}u(O,A,!0),this._renderHandle(C)},remove:function(g){this.clear(g)},dispose:function(g){this.clear(g)},determineAnimation:function(g,A){var w=A.get("animation"),x=g.axis,C=x.type==="category",T=A.get("snap");if(!T&&!C)return!1;if(w==="auto"||w==null){var O=this.animationThreshold;if(C&&x.getBandWidth()>O)return!0;if(T){var S=p.getAxisInfo(g).seriesDataCount,_=x.getExtent();return Math.abs(_[0]-_[1])/S>O}return!1}return w===!0},makeElOption:function(g,A,w,x,C){},createPointerEl:function(g,A,w,x){var C=A.pointer;if(C){var T=n(g).pointerEl=new E[C.type](t(A.pointer));g.add(T)}},createLabelEl:function(g,A,w,x){if(A.label){var C=n(g).labelEl=new E.Rect(t(A.label));g.add(C),e(C,x)}},updatePointerEl:function(g,A,w){var x=n(g).pointerEl;x&&A.pointer&&(x.setStyle(A.pointer.style),w(x,{shape:A.pointer.shape}))},updateLabelEl:function(g,A,w,x){var C=n(g).labelEl;C&&(C.setStyle(A.label.style),w(C,{shape:A.label.shape,position:A.label.position}),e(C,x))},_renderHandle:function(g){if(this._dragging||!this.updateHandleTransform)return;var A=this._axisPointerModel,w=this._api.getZr(),x=this._handle,C=A.getModel("handle"),T=A.get("status");if(!C.get("show")||!T||T==="hide"){x&&w.remove(x),this._handle=null;return}var O;this._handle||(O=!0,x=this._handle=E.createIcon(C.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(L){v.stop(L.event)},onmousedown:a(this._onHandleDragMove,this,0,0),drift:a(this._onHandleDragMove,this),ondragend:a(this._onHandleDragEnd,this)}),w.add(x)),u(x,A,!1);var S=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];x.setStyle(C.getItemStyle(null,S));var _=C.get("size");y.isArray(_)||(_=[_,_]),x.attr("scale",[_[0]/2,_[1]/2]),f.createOrUpdate(this,"_doDispatchAxisPointer",C.get("throttle")||0,"fixRate"),this._moveHandleToValue(g,O)},_moveHandleToValue:function(g,A){r(this._axisPointerModel,!A&&this._moveAnimation,this._handle,o(this.getHandleTransform(g,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(g,A){var w=this._handle;if(!w)return;this._dragging=!0;var x=this.updateHandleTransform(o(w),[g,A],this._axisModel,this._axisPointerModel);this._payloadInfo=x,w.stopAnimation(),w.attr(o(x)),n(w).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var g=this._handle;if(!g)return;var A=this._payloadInfo,w=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:A.cursorPoint[0],y:A.cursorPoint[1],tooltipOption:A.tooltipOption,axesInfo:[{axisDim:w.axis.dim,axisIndex:w.componentIndex}]})},_onHandleDragEnd:function(g){this._dragging=!1;var A=this._handle;if(!A)return;var w=this._axisPointerModel.get("value");this._moveHandleToValue(w),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(g){this._lastValue=null,this._lastStatus=null;var A=g.getZr(),w=this._group,x=this._handle;A&&w&&(this._lastGraphicKey=null,w&&A.remove(w),x&&A.remove(x),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(g,A,w){return w=w||0,{x:g[w],y:g[1-w],width:A[w],height:A[1-w]}}},s.prototype.constructor=s;function r(g,A,w,x){c(n(w).lastProp,x)||(n(w).lastProp=x,A?E.updateProps(w,x,g):(w.stopAnimation(),w.attr(x)))}function c(g,A){if(y.isObject(g)&&y.isObject(A)){var w=!0;return y.each(A,function(x,C){w=w&&c(g[C],x)}),!!w}else return g===A}function e(g,A){g[A.get("label.show")?"show":"hide"]()}function o(g){return{position:g.position.slice(),rotation:g.rotation||0}}function u(g,A,w){var x=A.get("z"),C=A.get("zlevel");g&&g.traverse(function(T){T.type!=="group"&&(x!=null&&(T.z=x),C!=null&&(T.zlevel=C),T.silent=w)})}m.enableClassExtend(s);var h=s;U.exports=h},"3OrL":function(U,R,i){var y=i("bYtY"),m=i("6Ic6"),E=i("IwbS"),p=i("y+Vt"),v=["itemStyle"],f=["emphasis","itemStyle"],d=m.extend({type:"boxplot",render:function(r,c,e){var o=r.getData(),u=this.group,h=this._data;this._data||u.removeAll();var g=r.get("layout")==="horizontal"?1:0;o.diff(h).add(function(A){if(o.hasValue(A)){var w=o.getItemLayout(A),x=n(w,o,A,g,!0);o.setItemGraphicEl(A,x),u.add(x)}}).update(function(A,w){var x=h.getItemGraphicEl(w);if(!o.hasValue(A)){u.remove(x);return}var C=o.getItemLayout(A);x?t(C,x,o,A):x=n(C,o,A,g),u.add(x),o.setItemGraphicEl(A,x)}).remove(function(A){var w=h.getItemGraphicEl(A);w&&u.remove(w)}).execute(),this._data=o},remove:function(r){var c=this.group,e=this._data;this._data=null,e&&e.eachItemGraphicEl(function(o){o&&c.remove(o)})},dispose:y.noop}),l=p.extend({type:"boxplotBoxPath",shape:{},buildPath:function(r,c){var e=c.points,o=0;for(r.moveTo(e[o][0],e[o][1]),o++;o<4;o++)r.lineTo(e[o][0],e[o][1]);for(r.closePath();o<e.length;o++)r.moveTo(e[o][0],e[o][1]),o++,r.lineTo(e[o][0],e[o][1])}});function n(r,c,e,o,u){var h=r.ends,g=new l({shape:{points:u?a(h,o,r):h}});return t(r,g,c,e,u),g}function t(r,c,e,o,u){var h=e.hostModel,g=E[u?"initProps":"updateProps"];g(c,{shape:{points:r.ends}},h,o);var A=e.getItemModel(o),w=A.getModel(v),x=e.getItemVisual(o,"color"),C=w.getItemStyle(["borderColor"]);C.stroke=x,C.strokeNoScale=!0,c.useStyle(C),c.z2=100;var T=A.getModel(f).getItemStyle();E.setHoverStyle(c,T)}function a(r,c,e){return y.map(r,function(o){return o=o.slice(),o[c]=e.initBaseline,o})}var s=d;U.exports=s},"3S7+":function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("J4zp"),p=i.n(E),v=i("pVnL"),f=i.n(v),d=i("q1tI"),l=i("U8pU"),n=i("VTBJ"),t=i("Ff2n"),a=i("uciX"),s={adjustX:1,adjustY:1},r=[0,0],c={left:{points:["cr","cl"],overflow:s,offset:[-4,0],targetOffset:r},right:{points:["cl","cr"],overflow:s,offset:[4,0],targetOffset:r},top:{points:["bc","tc"],overflow:s,offset:[0,-4],targetOffset:r},bottom:{points:["tc","bc"],overflow:s,offset:[0,4],targetOffset:r},topLeft:{points:["bl","tl"],overflow:s,offset:[0,-4],targetOffset:r},leftTop:{points:["tr","tl"],overflow:s,offset:[-4,0],targetOffset:r},topRight:{points:["br","tr"],overflow:s,offset:[0,-4],targetOffset:r},rightTop:{points:["tl","tr"],overflow:s,offset:[4,0],targetOffset:r},bottomRight:{points:["tr","br"],overflow:s,offset:[0,4],targetOffset:r},rightBottom:{points:["bl","br"],overflow:s,offset:[4,0],targetOffset:r},bottomLeft:{points:["tl","bl"],overflow:s,offset:[0,4],targetOffset:r},leftBottom:{points:["br","bl"],overflow:s,offset:[-4,0],targetOffset:r}},e=c,o=function(z){var X=z.overlay,W=z.prefixCls,q=z.id,Y=z.overlayInnerStyle;return d.createElement("div",{className:"".concat(W,"-inner"),id:q,role:"tooltip",style:Y},typeof X=="function"?X():X)},u=o,h=function(z,X){var W=z.overlayClassName,q=z.trigger,Y=q===void 0?["hover"]:q,re=z.mouseEnterDelay,ne=re===void 0?0:re,we=z.mouseLeaveDelay,ie=we===void 0?.1:we,me=z.overlayStyle,_e=z.prefixCls,Te=_e===void 0?"rc-tooltip":_e,We=z.children,Ae=z.onVisibleChange,je=z.afterVisibleChange,ee=z.transitionName,he=z.animation,Ze=z.placement,oe=Ze===void 0?"right":Ze,Q=z.align,G=Q===void 0?{}:Q,te=z.destroyTooltipOnHide,xe=te===void 0?!1:te,fe=z.defaultVisible,Be=z.getTooltipContainer,Ne=z.overlayInnerStyle,de=Object(t.a)(z,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),ve=Object(d.useRef)(null);Object(d.useImperativeHandle)(X,function(){return ve.current});var Me=Object(n.a)({},de);"visible"in z&&(Me.popupVisible=z.visible);var qe=function(){var nt=z.arrowContent,Nt=nt===void 0?null:nt,Bt=z.overlay,Pt=z.id;return[d.createElement("div",{className:"".concat(Te,"-arrow"),key:"arrow"},Nt),d.createElement(u,{key:"content",prefixCls:Te,id:Pt,overlay:Bt,overlayInnerStyle:Ne})]},gt=!1,ht=!1;if(typeof xe=="boolean")gt=xe;else if(xe&&Object(l.a)(xe)==="object"){var Pe=xe.keepParent;gt=Pe===!0,ht=Pe===!1}return d.createElement(a.a,Object.assign({popupClassName:W,prefixCls:Te,popup:qe,action:Y,builtinPlacements:c,popupPlacement:oe,ref:ve,popupAlign:G,getPopupContainer:Be,onPopupVisibleChange:Ae,afterPopupVisibleChange:je,popupTransitionName:ee,popupAnimation:he,defaultPopupVisible:fe,destroyPopupOnHide:gt,autoDestroy:ht,mouseLeaveDelay:ie,popupStyle:me,mouseEnterDelay:ne},Me),We)},g=Object(d.forwardRef)(h),A=g,w=i("TSYQ"),x=i.n(w),C={adjustX:1,adjustY:1},T={adjustX:0,adjustY:0},O=[0,0];function S(V){return typeof V=="boolean"?V?C:T:f()(f()({},T),V)}function _(V){var z=V.arrowWidth,X=z===void 0?5:z,W=V.horizontalArrowShift,q=W===void 0?16:W,Y=V.verticalArrowShift,re=Y===void 0?8:Y,ne=V.autoAdjustOverflow,we={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:[-(q+X),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(re+X)]},topRight:{points:["br","tc"],offset:[q+X,-4]},rightTop:{points:["tl","cr"],offset:[4,-(re+X)]},bottomRight:{points:["tr","bc"],offset:[q+X,4]},rightBottom:{points:["bl","cr"],offset:[4,re+X]},bottomLeft:{points:["tl","bc"],offset:[-(q+X),4]},leftBottom:{points:["br","cl"],offset:[-4,re+X]}};return Object.keys(we).forEach(function(ie){we[ie]=V.arrowPointAtCenter?f()(f()({},we[ie]),{overflow:S(ne),targetOffset:O}):f()(f()({},c[ie]),{overflow:S(ne)}),we[ie].ignoreShake=!0}),we}var L=i("0n0R"),D=i("H84U"),F=i("09Wf"),j=function(z,X){var W={},q=f()({},z);return X.forEach(function(Y){z&&Y in z&&(W[Y]=z[Y],delete q[Y])}),{picked:W,omitted:q}},k=new RegExp("^(".concat(F.a.join("|"),")(-inverse)?$"));function K(V,z){var X=V.type;if((X.__ANT_BUTTON===!0||X.__ANT_SWITCH===!0||X.__ANT_CHECKBOX===!0||V.type==="button")&&V.props.disabled){var W=j(V.props.style,["position","left","right","top","bottom","float","display","zIndex"]),q=W.picked,Y=W.omitted,re=f()(f()({display:"inline-block"},q),{cursor:"not-allowed",width:V.props.block?"100%":null}),ne=f()(f()({},Y),{pointerEvents:"none"}),we=Object(L.a)(V,{style:ne,className:null});return d.createElement("span",{style:re,className:x()(V.props.className,"".concat(z,"-disabled-compatible-wrapper"))},we)}return V}var Z=d.forwardRef(function(V,z){var X,W=d.useContext(D.b),q=W.getPopupContainer,Y=W.getPrefixCls,re=W.direction,ne=d.useState(!!V.visible||!!V.defaultVisible),we=p()(ne,2),ie=we[0],me=we[1];d.useEffect(function(){"visible"in V&&me(V.visible)},[V.visible]);var _e=function(){var Pe=V.title,It=V.overlay;return!Pe&&!It&&Pe!==0},Te=function(Pe){"visible"in V||me(_e()?!1:Pe),V.onVisibleChange&&!_e()&&V.onVisibleChange(Pe)},We=function(){var Pe=V.builtinPlacements,It=V.arrowPointAtCenter,nt=V.autoAdjustOverflow;return Pe||_({arrowPointAtCenter:It,autoAdjustOverflow:nt})},Ae=function(Pe,It){var nt=We(),Nt=Object.keys(nt).filter(function(jt){return nt[jt].points[0]===It.points[0]&&nt[jt].points[1]===It.points[1]})[0];if(!Nt)return;var Bt=Pe.getBoundingClientRect(),Pt={top:"50%",left:"50%"};Nt.indexOf("top")>=0||Nt.indexOf("Bottom")>=0?Pt.top="".concat(Bt.height-It.offset[1],"px"):(Nt.indexOf("Top")>=0||Nt.indexOf("bottom")>=0)&&(Pt.top="".concat(-It.offset[1],"px")),Nt.indexOf("left")>=0||Nt.indexOf("Right")>=0?Pt.left="".concat(Bt.width-It.offset[0],"px"):(Nt.indexOf("right")>=0||Nt.indexOf("Left")>=0)&&(Pt.left="".concat(-It.offset[0],"px")),Pe.style.transformOrigin="".concat(Pt.left," ").concat(Pt.top)},je=function(){var Pe=V.title,It=V.overlay;return Pe===0?Pe:It||Pe||""},ee=V.prefixCls,he=V.openClassName,Ze=V.getPopupContainer,oe=V.getTooltipContainer,Q=V.overlayClassName,G=V.color,te=V.overlayInnerStyle,xe=V.children,fe=Y("tooltip",ee),Be=ie;!("visible"in V)&&_e()&&(Be=!1);var Ne=K(Object(L.b)(xe)?xe:d.createElement("span",null,xe),fe),de=Ne.props,ve=x()(de.className,m()({},he||"".concat(fe,"-open"),!0)),Me=x()(Q,(X={},m()(X,"".concat(fe,"-rtl"),re==="rtl"),m()(X,"".concat(fe,"-").concat(G),G&&k.test(G)),X)),qe,gt;return G&&!k.test(G)&&(qe=f()(f()({},te),{background:G}),gt={background:G}),d.createElement(A,f()({},V,{prefixCls:fe,overlayClassName:Me,getTooltipContainer:Ze||oe||q,ref:z,builtinPlacements:We(),overlay:je(),visible:Be,onVisibleChange:Te,onPopupAlign:Ae,overlayInnerStyle:qe,arrowContent:d.createElement("span",{className:"".concat(fe,"-arrow-content"),style:gt})}),Be?Object(L.a)(Ne,{className:ve}):Ne)});Z.displayName="Tooltip",Z.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var B=R.a=Z},"3TkU":function(U,R,i){i("aTJb"),i("OlYY"),i("fc+c"),i("QUw5"),i("Swgg"),i("LBfv"),i("noeP")},"3X6L":function(U,R,i){var y=i("bYtY"),m=i("7a+S"),E=i("OKJ2"),p=m.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:[]}});y.mixin(p,E);var v=p;U.exports=v},"3dVZ":function(U,R,i){},"3e3G":function(U,R,i){var y=i("bYtY"),m=i("QuXc"),E=function(f,d,l,n,t){this.x=f==null?.5:f,this.y=d==null?.5:d,this.r=l==null?.5:l,this.type="radial",this.global=t||!1,m.call(this,n)};E.prototype={constructor:E},y.inherits(E,m);var p=E;U.exports=p},"3gBT":function(U,R){var i=2311;function y(){return i++}U.exports=y},"3hzK":function(U,R){var i={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")}}};U.exports=i},"3m61":function(U,R){function i(m){return m instanceof Array||(m=[m,m]),m}function y(m){m.eachSeriesByType("graph",function(E){var p=E.getGraph(),v=E.getEdgeData(),f=i(E.get("edgeSymbol")),d=i(E.get("edgeSymbolSize")),l="lineStyle.color".split("."),n="lineStyle.opacity".split(".");v.setVisual("fromSymbol",f&&f[0]),v.setVisual("toSymbol",f&&f[1]),v.setVisual("fromSymbolSize",d&&d[0]),v.setVisual("toSymbolSize",d&&d[1]),v.setVisual("color",E.get(l)),v.setVisual("opacity",E.get(n)),v.each(function(t){var a=v.getItemModel(t),s=p.getEdgeByIndex(t),r=i(a.getShallow("symbol",!0)),c=i(a.getShallow("symbolSize",!0)),e=a.get(l),o=a.get(n);switch(e){case"source":e=s.node1.getVisual("color");break;case"target":e=s.node2.getVisual("color");break}r[0]&&s.setVisual("fromSymbol",r[0]),r[1]&&s.setVisual("toSymbol",r[1]),c[0]&&s.setVisual("fromSymbolSize",c[0]),c[1]&&s.setVisual("toSymbolSize",c[1]),s.setVisual("color",e),s.setVisual("opacity",o)})})}U.exports=y},"3ouR":function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CloseSquareOutlined";var d=R.a=m.forwardRef(f)},"3zoK":function(U,R,i){var y=i("bYtY"),m=i("bLfw"),E=i("KCsZ"),p=i("nkfE"),v=i("OELB"),f=i("ICMv"),d=m.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return E([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(a){var s=this.activeIntervals=y.clone(a);if(s)for(var r=s.length-1;r>=0;r--)v.asc(s[r])},getActiveState:function(a){var s=this.activeIntervals;if(!s.length)return"normal";if(a==null||isNaN(a))return"inactive";if(s.length===1){var r=s[0];if(r[0]<=a&&a<=r[1])return"active"}else for(var c=0,e=s.length;c<e;c++)if(s[c][0]<=a&&a<=s[c][1])return"active";return"inactive"}}),l={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};y.merge(d.prototype,f);function n(a,s){return s.type||(s.data?"category":"value")}p("parallel",d,n,l);var t=d;U.exports=t},"4Feb":function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("IwbS"),v=i("x3X8"),f=v.getDefaultLabel,d=i("MwEJ"),l=i("nVfU"),n=l.getLayoutOnAxis,t=i("gPAo"),a=i("T4UG"),s=i("Qxkt"),r=i("6Ic6"),c=i("sK/D"),e=c.createClipPath,o=i("qj72"),u=i("ANjR"),h=i("MHtr"),g=i("6usn"),A=i("Rx6q"),w=p.CACHED_LABEL_STYLE_PROPERTIES,x=["itemStyle"],C=["emphasis","itemStyle"],T=["label"],O=["emphasis","label"],S="e\0\0",_={cartesian2d:o,geo:u,singleAxis:h,polar:g,calendar:A};a.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(ie,me){return d(this.getSource(),this)},getDataParams:function(ie,me,_e){var Te=a.prototype.getDataParams.apply(this,arguments);return _e&&(Te.info=_e.info),Te}}),r.extend({type:"custom",_data:null,render:function(ie,me,_e,Te){var We=this._data,Ae=ie.getData(),je=this.group,ee=j(ie,Ae,me,_e);Ae.diff(We).add(function(Ze){K(null,Ze,ee(Ze,Te),ie,je,Ae)}).update(function(Ze,oe){var Q=We.getItemGraphicEl(oe);K(Q,Ze,ee(Ze,Te),ie,je,Ae)}).remove(function(Ze){var oe=We.getItemGraphicEl(Ze);oe&&je.remove(oe)}).execute();var he=ie.get("clip",!0)?e(ie.coordinateSystem,!1,ie):null;he?je.setClipPath(he):je.removeClipPath(),this._data=Ae},incrementalPrepareRender:function(ie,me,_e){this.group.removeAll(),this._data=null},incrementalRender:function(ie,me,_e,Te,We){var Ae=me.getData(),je=j(me,Ae,_e,Te);function ee(oe){oe.isGroup||(oe.incremental=!0,oe.useHoverLayer=!0)}for(var he=ie.start;he<ie.end;he++){var Ze=K(null,he,je(he,We),me,this.group,Ae);Ze.traverse(ee)}},dispose:E.noop,filterForExposedEvent:function(ie,me,_e,Te){var We=me.element;if(We==null||_e.name===We)return!0;for(;(_e=_e.parent)&&_e!==this.group;)if(_e.name===We)return!0;return!1}});function L(ie){var me=ie.type,_e;if(me==="path"){var Te=ie.shape,We=Te.width!=null&&Te.height!=null?{x:Te.x||0,y:Te.y||0,width:Te.width,height:Te.height}:null,Ae=re(Te);_e=p.makePath(Ae,null,We,Te.layout||"center"),_e.__customPathData=Ae}else if(me==="image")_e=new p.Image({}),_e.__customImagePath=ie.style.image;else if(me==="text")_e=new p.Text({}),_e.__customText=ie.style.text;else if(me==="group")_e=new p.Group;else{if(me==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var je=p.getShapeClass(me);_e=new je}return _e.__customGraphicType=me,_e.name=ie.name,_e}function D(ie,me,_e,Te,We,Ae,je){var ee={},he=_e.style||{};if(_e.shape&&(ee.shape=E.clone(_e.shape)),_e.position&&(ee.position=_e.position.slice()),_e.scale&&(ee.scale=_e.scale.slice()),_e.origin&&(ee.origin=_e.origin.slice()),_e.rotation&&(ee.rotation=_e.rotation),ie.type==="image"&&_e.style){var Ze=ee.style={};E.each(["x","y","width","height"],function(G){F(G,Ze,he,ie.style,Ae)})}if(ie.type==="text"&&_e.style){var Ze=ee.style={};E.each(["x","y"],function(te){F(te,Ze,he,ie.style,Ae)}),!he.hasOwnProperty("textFill")&&he.fill&&(he.textFill=he.fill),!he.hasOwnProperty("textStroke")&&he.stroke&&(he.textStroke=he.stroke)}if(ie.type!=="group"&&(ie.useStyle(he),Ae)){ie.style.opacity=0;var oe=he.opacity;oe==null&&(oe=1),p.initProps(ie,{style:{opacity:oe}},Te,me)}Ae?ie.attr(ee):p.updateProps(ie,ee,Te,me),_e.hasOwnProperty("z2")&&ie.attr("z2",_e.z2||0),_e.hasOwnProperty("silent")&&ie.attr("silent",_e.silent),_e.hasOwnProperty("invisible")&&ie.attr("invisible",_e.invisible),_e.hasOwnProperty("ignore")&&ie.attr("ignore",_e.ignore),_e.hasOwnProperty("info")&&ie.attr("info",_e.info);var Q=_e.styleEmphasis;p.setElementHoverStyle(ie,Q),je&&p.setAsHighDownDispatcher(ie,Q!==!1)}function F(ie,me,_e,Te,We){_e[ie]!=null&&!We&&(me[ie]=_e[ie],_e[ie]=Te[ie])}function j(ie,me,_e,Te){var We=ie.get("renderItem"),Ae=ie.coordinateSystem,je={};Ae&&(je=Ae.prepareCustoms?Ae.prepareCustoms():_[Ae.type](Ae));var ee=E.defaults({getWidth:Te.getWidth,getHeight:Te.getHeight,getZr:Te.getZr,getDevicePixelRatio:Te.getDevicePixelRatio,value:Be,style:Ne,styleEmphasis:de,visual:ve,barLayout:Me,currentSeriesIndices:qe,font:gt},je.api||{}),he={context:{},seriesId:ie.id,seriesName:ie.name,seriesIndex:ie.seriesIndex,coordSys:je.coordSys,dataInsideLength:me.count(),encode:k(ie.getData())},Ze,oe=!0,Q,G,te,xe;return function(ht,Pe){return Ze=ht,oe=!0,We&&We(E.defaults({dataIndexInside:ht,dataIndex:me.getRawIndex(ht),actionType:Pe?Pe.type:null},he),ee)};function fe(ht){ht==null&&(ht=Ze),oe&&(Q=me.getItemModel(ht),G=Q.getModel(T),te=Q.getModel(O),xe=me.getItemVisual(ht,"color"),oe=!1)}function Be(ht,Pe){return Pe==null&&(Pe=Ze),me.get(me.getDimension(ht||0),Pe)}function Ne(ht,Pe){Pe==null&&(Pe=Ze),fe(Pe);var It=Q.getModel(x).getItemStyle();xe!=null&&(It.fill=xe);var nt=me.getItemVisual(Pe,"opacity");nt!=null&&(It.opacity=nt);var Nt=ht?W(ht,G):G;return p.setTextStyle(It,Nt,null,{autoColor:xe,isRectText:!0}),It.text=Nt.getShallow("show")?E.retrieve2(ie.getFormattedLabel(Pe,"normal"),f(me,Pe)):null,ht&&q(It,ht),It}function de(ht,Pe){Pe==null&&(Pe=Ze),fe(Pe);var It=Q.getModel(C).getItemStyle(),nt=ht?W(ht,te):te;return p.setTextStyle(It,nt,null,{isRectText:!0},!0),It.text=nt.getShallow("show")?E.retrieve3(ie.getFormattedLabel(Pe,"emphasis"),ie.getFormattedLabel(Pe,"normal"),f(me,Pe)):null,ht&&q(It,ht),It}function ve(ht,Pe){return Pe==null&&(Pe=Ze),me.getItemVisual(Pe,ht)}function Me(ht){if(Ae.getBaseAxis){var Pe=Ae.getBaseAxis();return n(E.defaults({axis:Pe},ht),Te)}}function qe(){return _e.getCurrentSeriesIndices()}function gt(ht){return p.getFont(ht,_e)}}function k(ie){var me={};return E.each(ie.dimensions,function(_e,Te){var We=ie.getDimensionInfo(_e);if(!We.isExtraCoord){var Ae=We.coordDim,je=me[Ae]=me[Ae]||[];je[We.coordDimIndex]=Te}}),me}function K(ie,me,_e,Te,We,Ae){return ie=Z(ie,me,_e,Te,We,Ae,!0),ie&&Ae.setItemGraphicEl(me,ie),ie}function Z(ie,me,_e,Te,We,Ae,je){var ee=!_e;_e=_e||{};var he=_e.type,Ze=_e.shape,oe=_e.style;if(ie&&(ee||he!=null&&he!==ie.__customGraphicType||he==="path"&&ne(Ze)&&re(Ze)!==ie.__customPathData||he==="image"&&we(oe,"image")&&oe.image!==ie.__customImagePath||he==="text"&&we(Ze,"text")&&oe.text!==ie.__customText)&&(We.remove(ie),ie=null),ee)return;var Q=!ie;return!ie&&(ie=L(_e)),D(ie,me,_e,Te,Ae,Q,je),he==="group"&&B(ie,me,_e,Te,Ae),We.add(ie),ie}function B(ie,me,_e,Te,We){var Ae=_e.children,je=Ae?Ae.length:0,ee=_e.$mergeChildren,he=ee==="byName"||_e.diffChildrenByName,Ze=ee===!1;if(!je&&!he&&!Ze)return;if(he){V({oldChildren:ie.children()||[],newChildren:Ae||[],dataIndex:me,animatableModel:Te,group:ie,data:We});return}Ze&&ie.removeAll();for(var oe=0;oe<je;oe++)Ae[oe]&&Z(ie.childAt(oe),me,Ae[oe],Te,ie,We)}function V(ie){new t(ie.oldChildren,ie.newChildren,z,z,ie).add(X).update(X).remove(Y).execute()}function z(ie,me){var _e=ie&&ie.name;return _e!=null?_e:S+me}function X(ie,me){var _e=this.context,Te=ie!=null?_e.newChildren[ie]:null,We=me!=null?_e.oldChildren[me]:null;Z(We,_e.dataIndex,Te,_e.animatableModel,_e.group,_e.data)}function W(ie,me){var _e=new s({},me);return E.each(w,function(Te,We){ie.hasOwnProperty(Te)&&(_e.option[We]=ie[Te])}),_e}function q(ie,me){for(var _e in me)(me.hasOwnProperty(_e)||!w.hasOwnProperty(_e))&&(ie[_e]=me[_e])}function Y(ie){var me=this.context,_e=me.oldChildren[ie];_e&&me.group.remove(_e)}function re(ie){return ie&&(ie.pathData||ie.d)}function ne(ie){return ie&&(ie.hasOwnProperty("pathData")||ie.hasOwnProperty("d"))}function we(ie,me){return ie&&ie.hasOwnProperty(me)}},"4HMb":function(U,R,i){var y=i("bYtY"),m=i("6GrX"),E=i("4NO4"),p=E.makeInner,v=i("aX7z"),f=v.makeLabelFormatter,d=v.getOptionCategoryInterval,l=v.shouldShowAllLabels,n=p();function t(T){return T.type==="category"?s(T):e(T)}function a(T,O){return T.type==="category"?c(T,O):{ticks:T.scale.getTicks()}}function s(T){var O=T.getLabelModel(),S=r(T,O);return!O.get("show")||T.scale.isBlank()?{labels:[],labelCategoryInterval:S.labelCategoryInterval}:S}function r(T,O){var S=o(T,"labels"),_=d(O),L=u(S,_);if(L)return L;var D,F;return y.isFunction(_)?D=C(T,_):(F=_==="auto"?g(T):_,D=x(T,F)),h(S,_,{labels:D,labelCategoryInterval:F})}function c(T,O){var S=o(T,"ticks"),_=d(O),L=u(S,_);if(L)return L;var D,F;if((!O.get("show")||T.scale.isBlank())&&(D=[]),y.isFunction(_))D=C(T,_,!0);else if(_==="auto"){var j=r(T,T.getLabelModel());F=j.labelCategoryInterval,D=y.map(j.labels,function(k){return k.tickValue})}else F=_,D=x(T,F,!0);return h(S,_,{ticks:D,tickCategoryInterval:F})}function e(T){var O=T.scale.getTicks(),S=f(T);return{labels:y.map(O,function(_,L){return{formattedLabel:S(_,L),rawLabel:T.scale.getLabel(_),tickValue:_}})}}function o(T,O){return n(T)[O]||(n(T)[O]=[])}function u(T,O){for(var S=0;S<T.length;S++)if(T[S].key===O)return T[S].value}function h(T,O,S){return T.push({key:O,value:S}),S}function g(T){var O=n(T).autoInterval;return O!=null?O:n(T).autoInterval=T.calculateCategoryInterval()}function A(T){var O=w(T),S=f(T),_=(O.axisRotate-O.labelRotate)/180*Math.PI,L=T.scale,D=L.getExtent(),F=L.count();if(D[1]-D[0]<1)return 0;var j=1;F>40&&(j=Math.max(1,Math.floor(F/40)));for(var k=D[0],K=T.dataToCoord(k+1)-T.dataToCoord(k),Z=Math.abs(K*Math.cos(_)),B=Math.abs(K*Math.sin(_)),V=0,z=0;k<=D[1];k+=j){var X=0,W=0,q=m.getBoundingRect(S(k),O.font,"center","top");X=q.width*1.3,W=q.height*1.3,V=Math.max(V,X,7),z=Math.max(z,W,7)}var Y=V/Z,re=z/B;isNaN(Y)&&(Y=Infinity),isNaN(re)&&(re=Infinity);var ne=Math.max(0,Math.floor(Math.min(Y,re))),we=n(T.model),ie=T.getExtent(),me=we.lastAutoInterval,_e=we.lastTickCount;return me!=null&&_e!=null&&Math.abs(me-ne)<=1&&Math.abs(_e-F)<=1&&me>ne&&we.axisExtend0===ie[0]&&we.axisExtend1===ie[1]?ne=me:(we.lastTickCount=F,we.lastAutoInterval=ne,we.axisExtend0=ie[0],we.axisExtend1=ie[1]),ne}function w(T){var O=T.getLabelModel();return{axisRotate:T.getRotate?T.getRotate():T.isHorizontal&&!T.isHorizontal()?90:0,labelRotate:O.get("rotate")||0,font:O.getFont()}}function x(T,O,S){var _=f(T),L=T.scale,D=L.getExtent(),F=T.getLabelModel(),j=[],k=Math.max((O||0)+1,1),K=D[0],Z=L.count();K!==0&&k>1&&Z/k>2&&(K=Math.round(Math.ceil(K/k)*k));var B=l(T),V=F.get("showMinLabel")||B,z=F.get("showMaxLabel")||B;V&&K!==D[0]&&W(D[0]);for(var X=K;X<=D[1];X+=k)W(X);z&&X-k!==D[1]&&W(D[1]);function W(q){j.push(S?q:{formattedLabel:_(q),rawLabel:L.getLabel(q),tickValue:q})}return j}function C(T,O,S){var _=T.scale,L=f(T),D=[];return y.each(_.getTicks(),function(F){var j=_.getLabel(F);O(F,j)&&D.push(S?F:{formattedLabel:L(F),rawLabel:j,tickValue:F})}),D}R.createAxisLabels=t,R.createAxisTicks=a,R.calculateCategoryInterval=A},"4NO4":function(U,R,i){var y=i("bYtY"),m=i("ItGF"),E=y.each,p=y.isObject,v=y.isArray,f="series\0";function d(S){return S instanceof Array?S:S==null?[]:[S]}function l(S,_,L){if(S){S[_]=S[_]||{},S.emphasis=S.emphasis||{},S.emphasis[_]=S.emphasis[_]||{};for(var D=0,F=L.length;D<F;D++){var j=L[D];!S.emphasis[_].hasOwnProperty(j)&&S[_].hasOwnProperty(j)&&(S.emphasis[_][j]=S[_][j])}}}var n=["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 t(S){return p(S)&&!v(S)&&!(S instanceof Date)?S.value:S}function a(S){return p(S)&&!(S instanceof Array)}function s(S,_){_=(_||[]).slice();var L=y.map(S||[],function(D,F){return{exist:D}});return E(_,function(D,F){if(!p(D))return;for(var j=0;j<L.length;j++)if(!L[j].option&&D.id!=null&&L[j].exist.id===D.id+""){L[j].option=D,_[F]=null;return}for(var j=0;j<L.length;j++){var k=L[j].exist;if(!L[j].option&&(k.id==null||D.id==null)&&D.name!=null&&!e(D)&&!e(k)&&k.name===D.name+""){L[j].option=D,_[F]=null;return}}}),E(_,function(D,F){if(!p(D))return;for(var j=0;j<L.length;j++){var k=L[j].exist;if(!L[j].option&&!e(k)&&D.id==null){L[j].option=D;break}}j>=L.length&&L.push({option:D})}),L}function r(S){var _=y.createHashMap();E(S,function(L,D){var F=L.exist;F&&_.set(F.id,L)}),E(S,function(L,D){var F=L.option;y.assert(!F||F.id==null||!_.get(F.id)||_.get(F.id)===L,"id duplicates: "+(F&&F.id)),F&&F.id!=null&&_.set(F.id,L),!L.keyInfo&&(L.keyInfo={})}),E(S,function(L,D){var F=L.exist,j=L.option,k=L.keyInfo;if(!p(j))return;if(k.name=j.name!=null?j.name+"":F?F.name:f+D,F)k.id=F.id;else if(j.id!=null)k.id=j.id+"";else{var K=0;do k.id="\0"+k.name+"\0"+K++;while(_.get(k.id))}_.set(k.id,L)})}function c(S){var _=S.name;return!!(_&&_.indexOf(f))}function e(S){return p(S)&&S.id&&(S.id+"").indexOf("\0_ec_\0")===0}function o(S,_){var L={},D={};return F(S||[],L),F(_||[],D,L),[j(L),j(D)];function F(k,K,Z){for(var B=0,V=k.length;B<V;B++)for(var z=k[B].seriesId,X=d(k[B].dataIndex),W=Z&&Z[z],q=0,Y=X.length;q<Y;q++){var re=X[q];W&&W[re]?W[re]=null:(K[z]||(K[z]={}))[re]=1}}function j(k,K){var Z=[];for(var B in k)if(k.hasOwnProperty(B)&&k[B]!=null)if(K)Z.push(+B);else{var V=j(k[B],!0);V.length&&Z.push({seriesId:B,dataIndex:V})}return Z}}function u(S,_){if(_.dataIndexInside!=null)return _.dataIndexInside;if(_.dataIndex!=null)return y.isArray(_.dataIndex)?y.map(_.dataIndex,function(L){return S.indexOfRawIndex(L)}):S.indexOfRawIndex(_.dataIndex);if(_.name!=null)return y.isArray(_.name)?y.map(_.name,function(L){return S.indexOfName(L)}):S.indexOfName(_.name)}function h(){var S="__\0ec_inner_"+g+++"_"+Math.random().toFixed(5);return function(_){return _[S]||(_[S]={})}}var g=0;function A(S,_,L){if(y.isString(_)){var D={};D[_+"Index"]=0,_=D}var F=L&&L.defaultMainType;F&&!w(_,F+"Index")&&!w(_,F+"Id")&&!w(_,F+"Name")&&(_[F+"Index"]=0);var j={};return E(_,function(k,K){var k=_[K];if(K==="dataIndex"||K==="dataIndexInside"){j[K]=k;return}var Z=K.match(/^(\w+)(Index|Id|Name)$/)||[],B=Z[1],V=(Z[2]||"").toLowerCase();if(!B||!V||k==null||V==="index"&&k==="none"||L&&L.includeMainTypes&&y.indexOf(L.includeMainTypes,B)<0)return;var z={mainType:B};(V!=="index"||k!=="all")&&(z[V]=k);var X=S.queryComponents(z);j[B+"Models"]=X,j[B+"Model"]=X[0]}),j}function w(S,_){return S&&S.hasOwnProperty(_)}function x(S,_,L){S.setAttribute?S.setAttribute(_,L):S[_]=L}function C(S,_){return S.getAttribute?S.getAttribute(_):S[_]}function T(S){return S==="auto"?m.domSupported?"html":"richText":S||"html"}function O(S,_){var L=y.createHashMap(),D=[];return y.each(S,function(F){var j=_(F);(L.get(j)||(D.push(j),L.set(j,[]))).push(F)}),{keys:D,buckets:L}}R.normalizeToArray=d,R.defaultEmphasis=l,R.TEXT_STYLE_OPTIONS=n,R.getDataItemValue=t,R.isDataItemOption=a,R.mappingToExists=s,R.makeIdAndName=r,R.isNameSpecified=c,R.isIdInner=e,R.compressBatches=o,R.queryDataIndex=u,R.makeInner=h,R.parseFinder=A,R.setAttribute=x,R.getAttribute=C,R.getTooltipRenderMode=T,R.groupData=O},"4NgU":function(U,R,i){var y=i("Yl7c");function m(p){this._setting=p||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}m.prototype.parse=function(p){return p},m.prototype.getSetting=function(p){return this._setting[p]},m.prototype.contain=function(p){var v=this._extent;return p>=v[0]&&p<=v[1]},m.prototype.normalize=function(p){var v=this._extent;return v[1]===v[0]?.5:(p-v[0])/(v[1]-v[0])},m.prototype.scale=function(p){var v=this._extent;return p*(v[1]-v[0])+v[0]},m.prototype.unionExtent=function(p){var v=this._extent;p[0]<v[0]&&(v[0]=p[0]),p[1]>v[1]&&(v[1]=p[1])},m.prototype.unionExtentFromData=function(p,v){this.unionExtent(p.getApproximateExtent(v))},m.prototype.getExtent=function(){return this._extent.slice()},m.prototype.setExtent=function(p,v){var f=this._extent;isNaN(p)||(f[0]=p),isNaN(v)||(f[1]=v)},m.prototype.isBlank=function(){return this._isBlank},m.prototype.setBlank=function(p){this._isBlank=p},m.prototype.getLabel=null,y.enableClassExtend(m),y.enableClassManagement(m,{registerWhenExtend:!0});var E=m;U.exports=E},"4fz+":function(U,R,i){var y=i("bYtY"),m=i("1bdT"),E=i("mFDi"),p=function(d){d=d||{},m.call(this,d);for(var l in d)d.hasOwnProperty(l)&&(this[l]=d[l]);this._children=[],this.__storage=null,this.__dirty=!0};p.prototype={constructor:p,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(d){return this._children[d]},childOfName:function(d){for(var l=this._children,n=0;n<l.length;n++)if(l[n].name===d)return l[n]},childCount:function(){return this._children.length},add:function(d){return d&&d!==this&&d.parent!==this&&(this._children.push(d),this._doAdd(d)),this},addBefore:function(d,l){if(d&&d!==this&&d.parent!==this&&l&&l.parent===this){var n=this._children,t=n.indexOf(l);t>=0&&(n.splice(t,0,d),this._doAdd(d))}return this},_doAdd:function(d){d.parent&&d.parent.remove(d),d.parent=this;var l=this.__storage,n=this.__zr;l&&l!==d.__storage&&(l.addToStorage(d),d instanceof p&&d.addChildrenToStorage(l)),n&&n.refresh()},remove:function(d){var l=this.__zr,n=this.__storage,t=this._children,a=y.indexOf(t,d);return a<0?this:(t.splice(a,1),d.parent=null,n&&(n.delFromStorage(d),d instanceof p&&d.delChildrenFromStorage(n)),l&&l.refresh(),this)},removeAll:function(){var d=this._children,l=this.__storage,n,t;for(t=0;t<d.length;t++)n=d[t],l&&(l.delFromStorage(n),n instanceof p&&n.delChildrenFromStorage(l)),n.parent=null;return d.length=0,this},eachChild:function(d,l){for(var n=this._children,t=0;t<n.length;t++){var a=n[t];d.call(l,a,t)}return this},traverse:function(d,l){for(var n=0;n<this._children.length;n++){var t=this._children[n];d.call(l,t),t.type==="group"&&t.traverse(d,l)}return this},addChildrenToStorage:function(d){for(var l=0;l<this._children.length;l++){var n=this._children[l];d.addToStorage(n),n instanceof p&&n.addChildrenToStorage(d)}},delChildrenFromStorage:function(d){for(var l=0;l<this._children.length;l++){var n=this._children[l];d.delFromStorage(n),n instanceof p&&n.delChildrenFromStorage(d)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(d){for(var l=null,n=new E(0,0,0,0),t=d||this._children,a=[],s=0;s<t.length;s++){var r=t[s];if(r.ignore||r.invisible)continue;var c=r.getBoundingRect(),e=r.getLocalTransform(a);e?(n.copy(c),n.applyTransform(e),l=l||n.clone(),l.union(n)):(l=l||c.clone(),l.union(c))}return l||n}},y.inherits(p,m);var v=p;U.exports=v},"4i/N":function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CloseOutlined";var d=R.a=m.forwardRef(f)},"4mN7":function(U,R,i){var y=i("QBsz"),m=i("Sj9i"),E=Math.min,p=Math.max,v=Math.sin,f=Math.cos,d=Math.PI*2,l=y.create(),n=y.create(),t=y.create();function a(h,g,A){if(h.length===0)return;var w=h[0],x=w[0],C=w[0],T=w[1],O=w[1],S;for(S=1;S<h.length;S++)w=h[S],x=E(x,w[0]),C=p(C,w[0]),T=E(T,w[1]),O=p(O,w[1]);g[0]=x,g[1]=T,A[0]=C,A[1]=O}function s(h,g,A,w,x,C){x[0]=E(h,A),x[1]=E(g,w),C[0]=p(h,A),C[1]=p(g,w)}var r=[],c=[];function e(h,g,A,w,x,C,T,O,S,_){var L=m.cubicExtrema,D=m.cubicAt,F,j=L(h,A,x,T,r);for(S[0]=Infinity,S[1]=Infinity,_[0]=-Infinity,_[1]=-Infinity,F=0;F<j;F++){var k=D(h,A,x,T,r[F]);S[0]=E(k,S[0]),_[0]=p(k,_[0])}for(j=L(g,w,C,O,c),F=0;F<j;F++){var K=D(g,w,C,O,c[F]);S[1]=E(K,S[1]),_[1]=p(K,_[1])}S[0]=E(h,S[0]),_[0]=p(h,_[0]),S[0]=E(T,S[0]),_[0]=p(T,_[0]),S[1]=E(g,S[1]),_[1]=p(g,_[1]),S[1]=E(O,S[1]),_[1]=p(O,_[1])}function o(h,g,A,w,x,C,T,O){var S=m.quadraticExtremum,_=m.quadraticAt,L=p(E(S(h,A,x),1),0),D=p(E(S(g,w,C),1),0),F=_(h,A,x,L),j=_(g,w,C,D);T[0]=E(h,x,F),T[1]=E(g,C,j),O[0]=p(h,x,F),O[1]=p(g,C,j)}function u(h,g,A,w,x,C,T,O,S){var _=y.min,L=y.max,D=Math.abs(x-C);if(D%d<1e-4&&D>1e-4){O[0]=h-A,O[1]=g-w,S[0]=h+A,S[1]=g+w;return}if(l[0]=f(x)*A+h,l[1]=v(x)*w+g,n[0]=f(C)*A+h,n[1]=v(C)*w+g,_(O,l,n),L(S,l,n),x=x%d,x<0&&(x=x+d),C=C%d,C<0&&(C=C+d),x>C&&!T?C+=d:x<C&&T&&(x+=d),T){var F=C;C=x,x=F}for(var j=0;j<C;j+=Math.PI/2)j>x&&(t[0]=f(j)*A+h,t[1]=v(j)*w+g,_(O,t,O),L(S,t,S))}R.fromPoints=a,R.fromLine=s,R.fromCubic=e,R.fromQuadratic=o,R.fromArc=u},"4vCz":function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("X2/X")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="PlusSquareOutlined";var l=p.forwardRef(d);R.default=l},"4xFK":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},"56rv":function(U,R,i){var y=i("IwbS"),m=i("x3X8"),E=m.getDefaultLabel;function p(f,d,l,n,t,a,s){var r=l.getModel("label"),c=l.getModel("emphasis.label");y.setLabelStyle(f,d,r,c,{labelFetcher:t,labelDataIndex:a,defaultText:E(t.getData(),a),isRectText:!0,autoColor:n}),v(f),v(d)}function v(f,d){f.textPosition==="outside"&&(f.textPosition=d)}R.setLabel=p},"59Ip":function(U,R,i){var y=i("Sj9i");function m(E,p,v,f,d,l,n,t,a,s,r){if(a===0)return!1;var c=a;if(r>p+c&&r>f+c&&r>l+c&&r>t+c||r<p-c&&r<f-c&&r<l-c&&r<t-c||s>E+c&&s>v+c&&s>d+c&&s>n+c||s<E-c&&s<v-c&&s<d-c&&s<n-c)return!1;var e=y.cubicProjectPoint(E,p,v,f,d,l,n,t,s,r,null);return e<=c/2}R.containStroke=m},"5Dmo":function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("5YgA"),p=i.n(E)},"5GOC":function(U,R,i){"use strict";var y=i("cIOH"),m=i("b56q"),E=i("15/o")},"5GhG":function(U,R,i){var y=i("5GtS"),m=i("bYtY"),E=i("L0Ub"),p=E.getDimensionTypeByAxis,v=i("D5nY"),f=v.makeSeriesEncodeForAxisCoordSys,d={_baseAxisDim:null,getInitialData:function(l,n){var t,a=n.getComponent("xAxis",this.get("xAxisIndex")),s=n.getComponent("yAxis",this.get("yAxisIndex")),r=a.get("type"),c=s.get("type"),e;r==="category"?(l.layout="horizontal",t=a.getOrdinalMeta(),e=!0):c==="category"?(l.layout="vertical",t=s.getOrdinalMeta(),e=!0):l.layout=l.layout||"horizontal";var o=["x","y"],u=l.layout==="horizontal"?0:1,h=this._baseAxisDim=o[u],g=o[1-u],A=[a,s],w=A[u].get("type"),x=A[1-u].get("type"),C=l.data;if(C&&e){var T=[];m.each(C,function(_,L){var D;_.value&&m.isArray(_.value)?(D=_.value.slice(),_.value.unshift(L)):m.isArray(_)?(D=_.slice(),_.unshift(L)):D=_,T.push(D)}),l.data=T}var O=this.defaultValueDimensions,S=[{name:h,type:p(w),ordinalMeta:t,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:p(x),dimsDef:O.slice()}];return y(this,{coordDimensions:S,dimensionsCount:O.length+1,encodeDefaulter:m.curry(f,S,this)})},getBaseAxis:function(){var l=this._baseAxisDim;return this.ecModel.getComponent(l+"Axis",this.get(l+"AxisIndex")).axis}};R.seriesModelMixin=d},"5GtS":function(U,R,i){var y=i("sdST"),m=i("YXkt"),E=i("bYtY"),p=E.extend,v=E.isArray;function f(d,l,n){l=v(l)&&{coordDimensions:l}||p({},l);var t=d.getSource(),a=y(t,l),s=new m(a,d);return s.initData(t,n),s}U.exports=f},"5Hur":function(U,R,i){var y=i("4NO4"),m=y.makeInner,E=y.normalizeToArray,p=m();function v(d,l){for(var n=d.length,t=0;t<n;t++)if(d[t].length>l)return d[t];return d[n-1]}var f={clearColorPalette:function(){p(this).colorIdx=0,p(this).colorNameMap={}},getColorFromPalette:function(d,l,n){l=l||this;var t=p(l),a=t.colorIdx||0,s=t.colorNameMap=t.colorNameMap||{};if(s.hasOwnProperty(d))return s[d];var r=E(this.get("color",!0)),c=this.get("colorLayer",!0),e=n==null||!c?r:v(c,n);if(e=e||r,!e||!e.length)return;var o=e[a];return d&&(s[d]=o),t.colorIdx=(a+1)%e.length,o}};U.exports=f},"5NDa":function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("OnYD"),p=i.n(E),v=i("+L6B")},"5NHt":function(U,R,i){i("aTJb"),i("OlYY"),i("fc+c"),i("N5BQ"),i("IyUQ"),i("LBfv"),i("noeP")},"5OYt":function(U,R,i){"use strict";var y=i("J4zp"),m=i.n(y),E=i("q1tI"),p=i.n(E),v=i("ACnJ");function f(){var d=Object(E.useState)({}),l=m()(d,2),n=l[0],t=l[1];return Object(E.useEffect)(function(){var a=v.a.subscribe(function(s){t(s)});return function(){return v.a.unsubscribe(a)}},[]),n}R.a=f},"5RzL":function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("7W2i"),t=i.n(n),a=i("LQ03"),s=i.n(a),r=i("q1tI"),c=i("1OyB"),e=i("vuIU"),o=i("Ji7U"),u=i("LK+K"),h=i("KQm4"),g=i("U8pU"),A=i("ODXe"),w=i("VTBJ"),x=i("qNPg"),C=i("2Qr1"),T=i("815F"),O=i("NvD2"),S=i("wPlo"),_=i("6cGi"),L=i("Kwbf"),D=i("4IlW"),F=i("YrtM"),j=i("fAei"),k=r.createContext(null);function K(mt,nr){if(!mt)return!0;var yr=mt.data,gn=yr.disabled,_r=yr.disableCheckbox;switch(nr){case"select":return gn;case"checkbox":return gn||_r}return!1}function Z(mt,nr){var yr=r.useCallback(function(_r){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",zt=arguments.length>2?arguments[2]:void 0,bt=mt.get(_r);return!zt&&K(bt,ur)?null:bt},[mt]),gn=r.useCallback(function(_r){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",zt=arguments.length>2?arguments[2]:void 0,bt=nr.get(_r);return!zt&&K(bt,ur)?null:bt},[nr]);return[yr,gn]}function B(mt){return r.useMemo(function(){var nr=new Map,yr=new Map;return mt.forEach(function(gn){nr.set(gn.key,gn),yr.set(gn.data.value,gn)}),[nr,yr]},[mt])}var V={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},z=function(nr,yr){var gn=nr.prefixCls,_r=nr.height,ur=nr.itemHeight,zt=nr.virtual,bt=nr.options,ot=nr.flattenOptions,lr=nr.multiple,jr=nr.searchValue,Rr=nr.onSelect,xr=nr.onToggleOpen,Vn=nr.open,bn=nr.notFoundContent,di=nr.onMouseEnter,lt=r.useContext(k),ct=lt.checkable,Le=lt.checkedKeys,Ue=lt.halfCheckedKeys,Ye=lt.treeExpandedKeys,ft=lt.treeDefaultExpandAll,ir=lt.treeDefaultExpandedKeys,Yt=lt.onTreeExpand,rr=lt.treeIcon,Zr=lt.showTreeIcon,nn=lt.switcherIcon,Pn=lt.treeLine,qt=lt.treeNodeFilterProp,St=lt.loadData,At=lt.treeLoadedKeys,cr=lt.treeMotion,or=lt.onTreeLoad,Tt=r.useRef(),Rt=Object(F.a)(function(){return bt},[Vn,bt],function(rn,Br){return Br[0]&&rn[1]!==Br[1]}),_t=B(ot),Zt=Object(A.a)(_t,2),Nr=Zt[0],Sr=Zt[1],br=Z(Nr,Sr),hn=Object(A.a)(br,2),fn=hn[0],ni=hn[1],mi=r.useMemo(function(){return Le.map(function(rn){var Br=ni(rn);return Br?Br.key:null})},[Le]),_i=r.useMemo(function(){return ct?{checked:mi,halfChecked:Ue}:null},[mi,Ue,ct]);r.useEffect(function(){if(Vn&&!lr&&mi.length){var rn;(rn=Tt.current)===null||rn===void 0||rn.scrollTo({key:mi[0]})}},[Vn]);var Hi=String(jr).toLowerCase(),aa=function(Br){return Hi?String(Br[qt]).toLowerCase().includes(Hi):!1},Ra=r.useState(ir),it=Object(A.a)(Ra,2),Re=it[0],Ke=it[1],Ge=r.useState(null),et=Object(A.a)(Ge,2),$e=et[0],st=et[1],Lt=r.useMemo(function(){return Ye?Object(h.a)(Ye):jr?$e:Re},[Re,$e,Hi,Ye]);r.useEffect(function(){jr&&st(ot.map(function(rn){return rn.key}))},[jr]);var vt=function(Br){Ke(Br),st(Br),Yt&&Yt(Br)},Qt=function(Br){Br.preventDefault()},Fr=function(Br,Yn){var xi=Yn.node.key,Li=fn(xi,ct?"checkbox":"select");Li!==null&&Rr(Li.data.value,{selected:!Le.includes(Li.data.value)}),lr||xr(!1)},Lr=r.useState(null),Gr=Object(A.a)(Lr,2),$t=Gr[0],Rn=Gr[1],wr=fn($t);if(r.useImperativeHandle(yr,function(){return{onKeyDown:function(Br){var Yn,xi=Br.which;switch(xi){case D.a.UP:case D.a.DOWN:case D.a.LEFT:case D.a.RIGHT:(Yn=Tt.current)===null||Yn===void 0||Yn.onKeyDown(Br);break;case D.a.ENTER:{wr!==null&&Fr(null,{node:{key:$t},selected:!Le.includes(wr.data.value)});break}case D.a.ESC:xr(!1)}},onKeyUp:function(){}}}),Rt.length===0)return r.createElement("div",{role:"listbox",className:"".concat(gn,"-empty"),onMouseDown:Qt},bn);var pn={};return At&&(pn.loadedKeys=At),Lt&&(pn.expandedKeys=Lt),r.createElement("div",{onMouseDown:Qt,onMouseEnter:di},wr&&Vn&&r.createElement("span",{style:V,"aria-live":"assertive"},wr.data.value),r.createElement(j.b,Object.assign({ref:Tt,focusable:!1,prefixCls:"".concat(gn,"-tree"),treeData:Rt,height:_r,itemHeight:ur,virtual:zt,multiple:lr,icon:rr,showIcon:Zr,switcherIcon:nn,showLine:Pn,loadData:jr?null:St,motion:cr,checkable:ct,checkStrictly:!0,checkedKeys:_i,selectedKeys:ct?[]:mi,defaultExpandAll:ft},pn,{onActiveChange:Rn,onSelect:Fr,onCheck:Fr,onExpand:vt,onLoad:or,filterTreeNode:aa})))},X=r.forwardRef(z);X.displayName="OptionList";var W=X,q=function(){return null},Y=q,re=i("Ff2n"),ne=i("Zm9Q");function we(mt){return Object(ne.a)(mt).map(function(nr){if(!r.isValidElement(nr)||!nr.type)return null;var yr=nr.key,gn=nr.props,_r=gn.children,ur=gn.value,zt=Object(re.a)(gn,["children","value"]),bt=Object(w.a)({key:yr,value:ur},zt),ot=we(_r);return ot.length&&(bt.children=ot),bt}).filter(function(nr){return nr})}function ie(mt){if(!mt)return mt;var nr=Object(w.a)({},mt);return"props"in nr||Object.defineProperty(nr,"props",{get:function(){return Object(L.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),nr}}),nr}function me(mt,nr,yr,gn,_r){var ur=null,zt=null;function bt(){function ot(lr){var jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return lr.map(function(xr,Vn){var bn="".concat(jr,"-").concat(Vn),di=yr.includes(xr.value),lt=ot(xr.children||[],bn,di),ct=r.createElement(Y,Object.assign({},xr),lt.map(function(Ue){return Ue.node}));if(nr===xr.value&&(ur=ct),di){var Le={pos:bn,node:ct,children:lt};return Rr||zt.push(Le),Le}return null}).filter(function(xr){return xr})}zt||(zt=[],ot(gn),zt.sort(function(lr,jr){var Rr=lr.node.props.value,xr=jr.node.props.value,Vn=yr.indexOf(Rr),bn=yr.indexOf(xr);return Vn-bn}))}Object.defineProperty(mt,"triggerNode",{get:function(){return Object(L.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),bt(),ur}}),Object.defineProperty(mt,"allCheckedNodes",{get:function(){return Object(L.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),bt(),_r?zt:zt.map(function(lr){var jr=lr.node;return jr})}})}function _e(mt){return Array.isArray(mt)?mt:mt!==void 0?[mt]:[]}function Te(mt,nr){var yr=new Map;return nr.forEach(function(gn){var _r=gn.data;yr.set(_r.value,_r)}),mt.map(function(gn){return ie(yr.get(gn))})}function We(mt,nr){var yr=Te([mt],nr)[0];return yr?yr.disabled:!1}function Ae(mt){return mt.disabled||mt.disableCheckbox||mt.checkable===!1}function je(mt){for(var nr=mt.parent,yr=0,gn=nr;gn;)gn=gn.parent,yr+=1;return yr}function ee(mt){function nr(gn){return(gn||[]).map(function(_r){var ur=_r.value,zt=_r.key,bt=_r.children,ot=Object(w.a)(Object(w.a)({},_r),{},{key:"key"in _r?zt:ur});return bt&&(ot.children=nr(bt)),ot})}var yr=Object(T.d)(nr(mt),!0);return yr.map(function(gn){return{key:gn.data.key,data:gn.data,level:je(gn)}})}function he(mt){return function(nr,yr){var gn=yr[mt];return String(gn).toLowerCase().includes(String(nr).toLowerCase())}}function Ze(mt,nr,yr){var gn=yr.optionFilterProp,_r=yr.filterOption;if(_r===!1)return nr;var ur;typeof _r=="function"?ur=_r:ur=he(gn);function zt(bt){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return bt.map(function(lr){var jr=lr.children,Rr=ot||ur(mt,ie(lr)),xr=zt(jr||[],Rr);return Rr||xr.length?Object(w.a)(Object(w.a)({},lr),{},{children:xr}):null}).filter(function(lr){return lr})}return zt(nr)}function oe(mt,nr,yr,gn){var _r=new Map;return _e(nr).forEach(function(ur){ur&&Object(g.a)(ur)==="object"&&"value"in ur&&_r.set(ur.value,ur)}),mt.map(function(ur){var zt={value:ur},bt=yr(ur,"select",!0),ot=bt?gn(bt.data):ur;if(_r.has(ur)){var lr=_r.get(ur);zt.label="label"in lr?lr.label:ot,"halfChecked"in lr&&(zt.halfChecked=lr.halfChecked)}else zt.label=ot;return zt})}function Q(mt,nr){var yr=new Set(mt);return yr.add(nr),Array.from(yr)}function G(mt,nr){var yr=new Set(mt);return yr.delete(nr),Array.from(yr)}function te(mt){var nr=mt.searchPlaceholder,yr=mt.treeCheckStrictly,gn=mt.treeCheckable,_r=mt.labelInValue,ur=mt.value,zt=mt.multiple;Object(L.a)(!nr,"`searchPlaceholder` has been removed."),yr&&_r===!1&&Object(L.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(_r||yr)&&Object(L.a)(_e(ur).every(function(bt){return bt&&Object(g.a)(bt)==="object"&&"value"in bt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),yr||zt||gn?Object(L.a)(!ur||Array.isArray(ur),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(L.a)(!Array.isArray(ur),"`value` should not be array when `TreeSelect` is single mode.")}var xe=te,fe=10;function Be(mt,nr){var yr=nr.id,gn=nr.pId,_r=nr.rootPId,ur={},zt=[],bt=mt.map(function(ot){var lr=Object(w.a)({},ot),jr=lr[yr];return ur[jr]=lr,lr.key=lr.key||jr,lr});return bt.forEach(function(ot){var lr=ot[gn],jr=ur[lr];jr&&(jr.children=jr.children||[],jr.children.push(ot)),(lr===_r||!jr&&_r===null)&&zt.push(ot)}),zt}function Ne(mt,nr){var yr=0,gn=new Set;function _r(ur){return(ur||[]).map(function(zt){var bt=zt.key,ot=zt.value,lr=zt.children,jr=Object(re.a)(zt,["key","value","children"]),Rr="value"in zt?ot:bt,xr=Object(w.a)(Object(w.a)({},jr),{},{key:bt!=null?bt:Rr,value:Rr,title:nr(zt)});return"children"in zt&&(xr.children=_r(lr)),xr})}return _r(mt)}function de(mt,nr,yr){var gn=yr.getLabelProp,_r=yr.simpleMode,ur=r.useRef({});return mt?(ur.current.formatTreeData=ur.current.treeData===mt?ur.current.formatTreeData:Ne(_r?Be(mt,Object(w.a)({id:"id",pId:"pId",rootPId:null},_r!==!0?_r:{})):mt,gn),ur.current.treeData=mt):ur.current.formatTreeData=ur.current.children===nr?ur.current.formatTreeData:Ne(we(nr),gn),ur.current.formatTreeData}var ve="SHOW_ALL",Me="SHOW_PARENT",qe="SHOW_CHILD";function gt(mt,nr,yr){var gn=new Set(mt);return nr===qe?mt.filter(function(_r){var ur=yr[_r];return!(ur&&ur.children&&ur.children.every(function(zt){var bt=zt.node;return Ae(bt)||gn.has(bt.key)}))}):nr===Me?mt.filter(function(_r){var ur=yr[_r],zt=ur?ur.parent:null;return!(zt&&!Ae(zt.node)&&gn.has(zt.node.key))}):mt}function ht(mt,nr){var yr=nr.value,gn=nr.getEntityByValue,_r=nr.getEntityByKey,ur=nr.treeConduction,zt=nr.showCheckedStrategy,bt=nr.conductKeyEntities,ot=nr.getLabelProp;return r.useMemo(function(){var lr=mt;if(ur){var jr=gt(mt.map(function(Rr){var xr=gn(Rr);return xr?xr.key:Rr}),zt,bt);lr=jr.map(function(Rr){var xr=_r(Rr);return xr?xr.data.value:Rr})}return oe(lr,yr,gn,ot)},[mt,yr,ur,zt,gn])}var Pe=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],It=Object(x.a)({prefixCls:"rc-tree-select",components:{optionList:W},convertChildrenToData:function(){return null},flattenOptions:ee,getLabeledValue:C.e,filterOptions:Ze,isValueDisabled:We,findValueOption:Te,omitDOMProps:function(nr){var yr=Object(w.a)({},nr);return Pe.forEach(function(gn){delete yr[gn]}),yr}});It.displayName="Select";var nt=r.forwardRef(function(mt,nr){var yr=mt.multiple,gn=mt.treeCheckable,_r=mt.treeCheckStrictly,ur=mt.showCheckedStrategy,zt=ur===void 0?"SHOW_CHILD":ur,bt=mt.labelInValue,ot=mt.loadData,lr=mt.treeLoadedKeys,jr=mt.treeNodeFilterProp,Rr=jr===void 0?"value":jr,xr=mt.treeNodeLabelProp,Vn=mt.treeDataSimpleMode,bn=mt.treeData,di=mt.treeExpandedKeys,lt=mt.treeDefaultExpandedKeys,ct=mt.treeDefaultExpandAll,Le=mt.children,Ue=mt.treeIcon,Ye=mt.showTreeIcon,ft=mt.switcherIcon,ir=mt.treeLine,Yt=mt.treeMotion,rr=mt.filterTreeNode,Zr=mt.dropdownPopupAlign,nn=mt.onChange,Pn=mt.onTreeExpand,qt=mt.onTreeLoad,St=mt.onDropdownVisibleChange,At=mt.onSelect,cr=mt.onDeselect,or=gn||_r,Tt=yr||or,Rt=gn&&!_r,_t=_r||bt,Zt=r.useRef(null);r.useImperativeHandle(nr,function(){return{focus:Zt.current.focus,blur:Zt.current.blur}});var Nr=function(xi){return bn&&xi.label||xi.title},Sr=function(xi){return xr?xi[xr]:Nr(xi)},br=de(bn,Le,{getLabelProp:Nr,simpleMode:Vn}),hn=Object(r.useMemo)(function(){return ee(br)},[br]),fn=B(hn),ni=Object(A.a)(fn,2),mi=ni[0],_i=ni[1],Hi=Z(mi,_i),aa=Object(A.a)(Hi,2),Ra=aa[0],it=aa[1],Re=Object(r.useMemo)(function(){return Rt?Object(T.a)(br):{keyEntities:null}},[br,gn,_r]),Ke=Re.keyEntities,Ge=Object(_.a)(mt.defaultValue,{value:mt.value}),et=Object(A.a)(Ge,2),$e=et[0],st=et[1],Lt=function(xi){var Li=[],Vi=[];return xi.forEach(function(Wi){it(Wi)?Vi.push(Wi):Li.push(Wi)}),{missingRawValues:Li,existRawValues:Vi}},vt=Object(r.useMemo)(function(){var Yn=[],xi=[];if(_e($e).forEach(function(un){if(un&&Object(g.a)(un)==="object"&&"value"in un)if(un.halfChecked&&_r){var ri=it(un.value);Yn.push(ri?ri.key:un.value)}else xi.push(un.value);else xi.push(un)}),Rt){var Li=Lt(xi),Vi=Li.missingRawValues,Wi=Li.existRawValues,qi=Wi.map(function(un){return it(un).key}),bi=Object(O.a)(qi,!0,Ke),ba=bi.checkedKeys,Kn=bi.halfCheckedKeys;return[[].concat(Object(h.a)(Vi),Object(h.a)(ba.map(function(un){return Ra(un).data.value}))),Kn]}return[xi,Yn]},[$e,Tt,_t,gn,_r]),Qt=Object(A.a)(vt,2),Fr=Qt[0],Lr=Qt[1],Gr=ht(Fr,{treeConduction:Rt,value:$e,showCheckedStrategy:zt,conductKeyEntities:Ke,getEntityByValue:it,getEntityByKey:Ra,getLabelProp:Sr}),$t=function(xi,Li,Vi){if(st(Tt?xi:xi[0]),nn){var Wi=xi;if(Rt&&zt!=="SHOW_ALL"){var qi=xi.map(function(oa){var Ti=it(oa);return Ti?Ti.key:oa}),bi=gt(qi,zt,Ke);Wi=bi.map(function(oa){var Ti=Ra(oa);return Ti?Ti.data.value:oa})}var ba=Li||{triggerValue:void 0,selected:void 0},Kn=ba.triggerValue,un=ba.selected,ri=_t?oe(Wi,$e,it,Sr):Wi;if(_r){var Cn=Lr.map(function(oa){var Ti=Ra(oa);return Ti?Ti.data.value:oa}).filter(function(oa){return!Wi.includes(oa)});ri=[].concat(Object(h.a)(ri),Object(h.a)(oe(Cn,$e,it,Sr)))}var ki={preValue:Gr,triggerValue:Kn},Tn=!0;(_r||Vi==="selection"&&!un)&&(Tn=!1),me(ki,Kn,xi,br,Tn),or?ki.checked=un:ki.selected=un,nn(Tt?ri:ri[0],_t?null:Wi.map(function(oa){var Ti=it(oa);return Ti?Sr(Ti.data):null}),ki)}},Rn=function(xi,Li,Vi){var Wi=xi;if(!Tt)$t([xi],{selected:!0,triggerValue:xi},Vi);else{var qi=Q(Fr,xi);if(Rt){var bi=Lt(qi),ba=bi.missingRawValues,Kn=bi.existRawValues,un=Kn.map(function(ki){return it(ki).key}),ri=Object(O.a)(un,!0,Ke),Cn=ri.checkedKeys;qi=[].concat(Object(h.a)(ba),Object(h.a)(Cn.map(function(ki){return Ra(ki).data.value})))}$t(qi,{selected:!0,triggerValue:xi},Vi)}At&&At(Wi,Li)},wr=function(xi,Li,Vi){var Wi=xi,qi=G(Fr,xi);if(Rt){var bi=Lt(qi),ba=bi.missingRawValues,Kn=bi.existRawValues,un=Kn.map(function(ki){return it(ki).key}),ri=Object(O.a)(un,{checked:!1,halfCheckedKeys:Lr},Ke),Cn=ri.checkedKeys;qi=[].concat(Object(h.a)(ba),Object(h.a)(Cn.map(function(ki){return Ra(ki).data.value})))}$t(qi,{selected:!1,triggerValue:xi},Vi),cr&&cr(Wi,Li)},pn=function(){$t([],null,"clear")},rn=r.useCallback(function(Yn){if(St){var xi={};Object.defineProperty(xi,"documentClickClose",{get:function(){return Object(L.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),St(Yn,xi)}},[St]),Br={optionLabelProp:null,optionFilterProp:Rr,dropdownAlign:Zr,internalProps:{mark:S.a,onClear:pn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:Rn,onRawDeselect:wr}};return"filterTreeNode"in mt&&(Br.filterOption=rr),r.createElement(k.Provider,{value:{checkable:or,loadData:ot,treeLoadedKeys:lr,onTreeLoad:qt,checkedKeys:Fr,halfCheckedKeys:Lr,treeDefaultExpandAll:ct,treeExpandedKeys:di,treeDefaultExpandedKeys:lt,onTreeExpand:Pn,treeIcon:Ue,treeMotion:Yt,showTreeIcon:Ye,switcherIcon:ft,treeLine:ir,treeNodeFilterProp:Rr}},r.createElement(It,Object.assign({ref:Zt,mode:Tt?"multiple":null},mt,Br,{value:Gr,labelInValue:!0,options:br,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:rn})))}),Nt=function(mt){Object(o.a)(yr,mt);var nr=Object(u.a)(yr);function yr(){var gn;return Object(c.a)(this,yr),gn=nr.apply(this,arguments),gn.selectRef=r.createRef(),gn.focus=function(){gn.selectRef.current.focus()},gn.blur=function(){gn.selectRef.current.blur()},gn}return Object(e.a)(yr,[{key:"render",value:function(){return r.createElement(nt,Object.assign({ref:this.selectRef},this.props))}}]),yr}(r.Component);Nt.TreeNode=Y,Nt.SHOW_ALL=ve,Nt.SHOW_PARENT=Me,Nt.SHOW_CHILD=qe;var Bt=Nt,Pt=Bt,jt=i("TSYQ"),er=i.n(jt),at=i("BGR+"),Ce=i("H84U"),ue=i("uaoM"),Dt=i("1vzs"),rt=i("2jpz"),ye=i("3Nzz"),Xt=function(mt){t()(yr,mt);var nr=s()(yr);function yr(gn){var _r;return f()(this,yr),_r=nr.call(this,gn),_r.selectRef=r.createRef(),_r.renderTreeSelect=function(ur){var zt=ur.getPopupContainer,bt=ur.getPrefixCls,ot=ur.renderEmpty,lr=ur.direction,jr=ur.virtual,Rr=ur.dropdownMatchSelectWidth,xr=_r.props,Vn=xr.prefixCls,bn=xr.size,di=xr.className,lt=xr.treeCheckable,ct=xr.multiple,Le=xr.listHeight,Ue=Le===void 0?256:Le,Ye=xr.listItemHeight,ft=Ye===void 0?26:Ye,ir=xr.notFoundContent,Yt=xr.switcherIcon,rr=xr.treeLine,Zr=xr.getPopupContainer,nn=xr.dropdownClassName,Pn=xr.bordered,qt=xr.treeIcon,St=qt===void 0?!1:qt,At=bt("select",Vn),cr=bt("select-tree",Vn),or=bt("tree-select",Vn),Tt=er()(nn,"".concat(or,"-dropdown"),p()({},"".concat(or,"-dropdown-rtl"),lr==="rtl")),Rt=!!(lt||ct),_t=Object(Dt.a)(m()(m()({},_r.props),{multiple:Rt,prefixCls:At})),Zt=_t.suffixIcon,Nr=_t.itemIcon,Sr=_t.removeIcon,br=_t.clearIcon,hn;ir!==void 0?hn=ir:hn=ot("Select");var fn=Object(at.default)(_r.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return r.createElement(ye.b.Consumer,null,function(ni){var mi,_i=bn||ni,Hi=er()(!Vn&&or,(mi={},p()(mi,"".concat(At,"-lg"),_i==="large"),p()(mi,"".concat(At,"-sm"),_i==="small"),p()(mi,"".concat(At,"-rtl"),lr==="rtl"),p()(mi,"".concat(At,"-borderless"),!Pn),mi),di);return r.createElement(Pt,m()({virtual:jr,dropdownMatchSelectWidth:Rr},fn,{ref:_r.selectRef,prefixCls:At,className:Hi,listHeight:Ue,listItemHeight:ft,treeCheckable:lt&&r.createElement("span",{className:"".concat(At,"-tree-checkbox-inner")}),inputIcon:Zt,menuItemSelectedIcon:Nr,removeIcon:Sr,clearIcon:br,switcherIcon:function(Ra){return Object(rt.a)(cr,Yt,rr,Ra)},showTreeIcon:St,notFoundContent:hn,getPopupContainer:Zr||zt,treeMotion:null,dropdownClassName:Tt}))})},Object(ue.a)(gn.multiple!==!1||!gn.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),_r}return l()(yr,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return r.createElement(Ce.a,null,this.renderTreeSelect)}}]),yr}(r.Component);Xt.TreeNode=Y,Xt.SHOW_ALL=ve,Xt.SHOW_PARENT=Me,Xt.SHOW_CHILD=qe,Xt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var pr=R.a=Xt},"5Uyt":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("KmBX"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},"5YOS":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("xb2K"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},"5YgA":function(U,R,i){},"5bA4":function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="LeftOutlined";var d=R.a=m.forwardRef(f)},"5nXd":function(U,R,i){var y=i("MFOe"),m=y.slice,E=y.pluck,p=y.each,v=y.bind,f=y.create,d=y.isList,l=y.isFunction,n=y.isObject;U.exports={createStore:s};var t={version:"2.0.12",enabled:!1,get:function(c,e){var o=this.storage.read(this._namespacePrefix+c);return this._deserialize(o,e)},set:function(c,e){return e===void 0?this.remove(c):(this.storage.write(this._namespacePrefix+c,this._serialize(e)),e)},remove:function(c){this.storage.remove(this._namespacePrefix+c)},each:function(c){var e=this;this.storage.each(function(o,u){c.call(e,e._deserialize(o),(u||"").replace(e._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(c){return this._namespacePrefix=="__storejs_"+c+"_"},createStore:function(){return s.apply(this,arguments)},addPlugin:function(c){this._addPlugin(c)},namespace:function(c){return s(this.storage,this.plugins,c)}};function a(){var r=typeof console=="undefined"?null:console;if(!r)return;var c=r.warn?r.warn:r.log;c.apply(r,arguments)}function s(r,c,e){e||(e=""),r&&!d(r)&&(r=[r]),c&&!d(c)&&(c=[c]);var o=e?"__storejs_"+e+"_":"",u=e?new RegExp("^"+o):null,h=/^[a-zA-Z0-9_\-]*$/;if(!h.test(e))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var g={_namespacePrefix:o,_namespaceRegexp:u,_testStorage:function(x){try{var C="__storejs__test__";x.write(C,C);var T=x.read(C)===C;return x.remove(C),T}catch(O){return!1}},_assignPluginFnProp:function(x,C){var T=this[C];this[C]=function(){var S=m(arguments,0),_=this;function L(){return T?(p(arguments,function(F,j){S[j]=F}),T.apply(_,S)):void 0}var D=[L].concat(S);return x.apply(_,D)}},_serialize:function(x){return JSON.stringify(x)},_deserialize:function(x,C){if(!x)return C;var T="";try{T=JSON.parse(x)}catch(O){T=x}return T!==void 0?T:C},_addStorage:function(x){if(this.enabled)return;this._testStorage(x)&&(this.storage=x,this.enabled=!0)},_addPlugin:function(x){var C=this;if(d(x)){p(x,function(S){C._addPlugin(S)});return}var T=E(this.plugins,function(S){return x===S});if(T)return;if(this.plugins.push(x),!l(x))throw new Error("Plugins must be function values that return objects");var O=x.call(this);if(!n(O))throw new Error("Plugins must return an object of function properties");p(O,function(S,_){if(!l(S))throw new Error("Bad plugin property: "+_+" from plugin "+x.name+". Plugins should only return functions.");C._assignPluginFnProp(S,_)})},addStorage:function(x){a("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(x)}},A=f(g,t,{plugins:[]});return A.raw={},p(A,function(w,x){l(w)&&(A.raw[x]=v(A,w))}),p(r,function(w){A._addStorage(w)}),p(c,function(w){A._addPlugin(w)}),A}},"5rEg":function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lwsE"),p=i.n(E),v=i("W8MJ"),f=i.n(v),d=i("7W2i"),l=i.n(d),n=i("LQ03"),t=i.n(n),a=i("lSNA"),s=i.n(a),r=i("q1tI"),c=i("TSYQ"),e=i.n(c),o=i("BGR+"),u=i("kbBi"),h=i.n(u),g=i("CWQg"),A=i("0n0R"),w=Object(g.a)("text","input");function x(te){return!!(te.prefix||te.suffix||te.allowClear)}var C=function(te){l()(fe,te);var xe=t()(fe);function fe(){var Be;return p()(this,fe),Be=xe.apply(this,arguments),Be.containerRef=r.createRef(),Be.onInputMouseUp=function(Ne){var de;if((de=Be.containerRef.current)===null||de===void 0?void 0:de.contains(Ne.target)){var ve=Be.props.triggerFocus;ve()}},Be}return f()(fe,[{key:"renderClearIcon",value:function(Ne){var de=this.props,ve=de.allowClear,Me=de.value,qe=de.disabled,gt=de.readOnly,ht=de.inputType,Pe=de.handleReset;if(!ve)return null;var It=!qe&&!gt&&Me,nt=ht===w[0]?"".concat(Ne,"-textarea-clear-icon"):"".concat(Ne,"-clear-icon");return r.createElement(h.a,{onClick:Pe,className:e()(nt,s()({},"".concat(nt,"-hidden"),!It)),role:"button"})}},{key:"renderSuffix",value:function(Ne){var de=this.props,ve=de.suffix,Me=de.allowClear;return ve||Me?r.createElement("span",{className:"".concat(Ne,"-suffix")},this.renderClearIcon(Ne),ve):null}},{key:"renderLabeledIcon",value:function(Ne,de){var ve,Me=this.props,qe=Me.focused,gt=Me.value,ht=Me.prefix,Pe=Me.className,It=Me.size,nt=Me.suffix,Nt=Me.disabled,Bt=Me.allowClear,Pt=Me.direction,jt=Me.style,er=Me.readOnly,at=Me.bordered,Ce=this.renderSuffix(Ne);if(!x(this.props))return Object(A.a)(de,{value:gt});var ue=ht?r.createElement("span",{className:"".concat(Ne,"-prefix")},ht):null,Dt=e()(Pe,"".concat(Ne,"-affix-wrapper"),(ve={},s()(ve,"".concat(Ne,"-affix-wrapper-focused"),qe),s()(ve,"".concat(Ne,"-affix-wrapper-disabled"),Nt),s()(ve,"".concat(Ne,"-affix-wrapper-sm"),It==="small"),s()(ve,"".concat(Ne,"-affix-wrapper-lg"),It==="large"),s()(ve,"".concat(Ne,"-affix-wrapper-input-with-clear-btn"),nt&&Bt&>),s()(ve,"".concat(Ne,"-affix-wrapper-rtl"),Pt==="rtl"),s()(ve,"".concat(Ne,"-affix-wrapper-readonly"),er),s()(ve,"".concat(Ne,"-affix-wrapper-borderless"),!at),ve));return r.createElement("span",{ref:this.containerRef,className:Dt,style:jt,onMouseUp:this.onInputMouseUp},ue,Object(A.a)(de,{style:null,value:gt,className:F(Ne,at,It,Nt)}),Ce)}},{key:"renderInputWithLabel",value:function(Ne,de){var ve,Me,qe=this.props,gt=qe.addonBefore,ht=qe.addonAfter,Pe=qe.style,It=qe.size,nt=qe.className,Nt=qe.direction;if(!gt&&!ht)return de;var Bt="".concat(Ne,"-group"),Pt="".concat(Bt,"-addon"),jt=gt?r.createElement("span",{className:Pt},gt):null,er=ht?r.createElement("span",{className:Pt},ht):null,at=e()("".concat(Ne,"-wrapper"),(ve={},s()(ve,Bt,gt||ht),s()(ve,"".concat(Bt,"-rtl"),Nt==="rtl"),ve)),Ce=e()(nt,"".concat(Ne,"-group-wrapper"),(Me={},s()(Me,"".concat(Ne,"-group-wrapper-sm"),It==="small"),s()(Me,"".concat(Ne,"-group-wrapper-lg"),It==="large"),s()(Me,"".concat(Ne,"-group-wrapper-rtl"),Nt==="rtl"),Me));return r.createElement("span",{className:Ce,style:Pe},r.createElement("span",{className:at},jt,Object(A.a)(de,{style:null}),er))}},{key:"renderTextAreaWithClearIcon",value:function(Ne,de){var ve,Me=this.props,qe=Me.value,gt=Me.allowClear,ht=Me.className,Pe=Me.style,It=Me.direction,nt=Me.bordered;if(!gt)return Object(A.a)(de,{value:qe});var Nt=e()(ht,"".concat(Ne,"-affix-wrapper"),"".concat(Ne,"-affix-wrapper-textarea-with-clear-btn"),(ve={},s()(ve,"".concat(Ne,"-affix-wrapper-rtl"),It==="rtl"),s()(ve,"".concat(Ne,"-affix-wrapper-borderless"),!nt),ve));return r.createElement("span",{className:Nt,style:Pe},Object(A.a)(de,{style:null,value:qe}),this.renderClearIcon(Ne))}},{key:"render",value:function(){var Ne=this.props,de=Ne.prefixCls,ve=Ne.inputType,Me=Ne.element;return ve===w[0]?this.renderTextAreaWithClearIcon(de,Me):this.renderInputWithLabel(de,this.renderLabeledIcon(de,Me))}}]),fe}(r.Component),T=C,O=i("H84U"),S=i("3Nzz"),_=i("uaoM");function L(te){return typeof te=="undefined"||te===null?"":te}function D(te,xe,fe){if(fe){var Be=xe;if(xe.type==="click"){Be=Object.create(xe),Be.target=te,Be.currentTarget=te;var Ne=te.value;te.value="",fe(Be),te.value=Ne;return}fe(Be)}}function F(te,xe,fe,Be,Ne){var de;return e()(te,(de={},s()(de,"".concat(te,"-sm"),fe==="small"),s()(de,"".concat(te,"-lg"),fe==="large"),s()(de,"".concat(te,"-disabled"),Be),s()(de,"".concat(te,"-rtl"),Ne==="rtl"),s()(de,"".concat(te,"-borderless"),!xe),de))}var j=function(te){l()(fe,te);var xe=t()(fe);function fe(Be){var Ne;p()(this,fe),Ne=xe.call(this,Be),Ne.direction="ltr",Ne.focus=function(){Ne.input.focus()},Ne.saveClearableInput=function(ve){Ne.clearableInput=ve},Ne.saveInput=function(ve){Ne.input=ve},Ne.onFocus=function(ve){var Me=Ne.props.onFocus;Ne.setState({focused:!0},Ne.clearPasswordValueAttribute),Me&&Me(ve)},Ne.onBlur=function(ve){var Me=Ne.props.onBlur;Ne.setState({focused:!1},Ne.clearPasswordValueAttribute),Me&&Me(ve)},Ne.handleReset=function(ve){Ne.setValue("",function(){Ne.focus()}),D(Ne.input,ve,Ne.props.onChange)},Ne.renderInput=function(ve,Me,qe){var gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ht=Ne.props,Pe=ht.className,It=ht.addonBefore,nt=ht.addonAfter,Nt=ht.size,Bt=ht.disabled,Pt=Object(o.default)(Ne.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return r.createElement("input",m()({autoComplete:gt.autoComplete},Pt,{onChange:Ne.handleChange,onFocus:Ne.onFocus,onBlur:Ne.onBlur,onKeyDown:Ne.handleKeyDown,className:e()(F(ve,qe,Nt||Me,Bt,Ne.direction),s()({},Pe,Pe&&!It&&!nt)),ref:Ne.saveInput}))},Ne.clearPasswordValueAttribute=function(){Ne.removePasswordTimeout=setTimeout(function(){Ne.input&&Ne.input.getAttribute("type")==="password"&&Ne.input.hasAttribute("value")&&Ne.input.removeAttribute("value")})},Ne.handleChange=function(ve){Ne.setValue(ve.target.value,Ne.clearPasswordValueAttribute),D(Ne.input,ve,Ne.props.onChange)},Ne.handleKeyDown=function(ve){var Me=Ne.props,qe=Me.onPressEnter,gt=Me.onKeyDown;ve.keyCode===13&&qe&&qe(ve),gt&>(ve)},Ne.renderComponent=function(ve){var Me=ve.getPrefixCls,qe=ve.direction,gt=ve.input,ht=Ne.state,Pe=ht.value,It=ht.focused,nt=Ne.props,Nt=nt.prefixCls,Bt=nt.bordered,Pt=Bt===void 0?!0:Bt,jt=Me("input",Nt);return Ne.direction=qe,r.createElement(S.b.Consumer,null,function(er){return r.createElement(T,m()({size:er},Ne.props,{prefixCls:jt,inputType:"input",value:L(Pe),element:Ne.renderInput(jt,er,Pt,gt),handleReset:Ne.handleReset,ref:Ne.saveClearableInput,direction:qe,focused:It,triggerFocus:Ne.focus,bordered:Pt}))})};var de=typeof Be.value=="undefined"?Be.defaultValue:Be.value;return Ne.state={value:de,focused:!1,prevValue:Be.value},Ne}return f()(fe,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Ne){return x(Ne)!==x(this.props)&&Object(_.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(Ne,de){this.props.value===void 0&&this.setState({value:Ne},de)}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ne,de){var ve=de.prevValue,Me={prevValue:Ne.value};return(Ne.value!==void 0||ve!==Ne.value)&&(Me.value=Ne.value),Me}}]),fe}(r.Component);j.defaultProps={type:"text"};var k=j,K=function(xe){return r.createElement(O.a,null,function(fe){var Be,Ne=fe.getPrefixCls,de=fe.direction,ve=xe.prefixCls,Me=xe.className,qe=Me===void 0?"":Me,gt=Ne("input-group",ve),ht=e()(gt,(Be={},s()(Be,"".concat(gt,"-lg"),xe.size==="large"),s()(Be,"".concat(gt,"-sm"),xe.size==="small"),s()(Be,"".concat(gt,"-compact"),xe.compact),s()(Be,"".concat(gt,"-rtl"),de==="rtl"),Be),qe);return r.createElement("span",{className:ht,style:xe.style,onMouseEnter:xe.onMouseEnter,onMouseLeave:xe.onMouseLeave,onFocus:xe.onFocus,onBlur:xe.onBlur},xe.children)})},Z=K,B=i("c+Xe"),V=i("w6Tc"),z=i.n(V),X=i("gZBC"),W=i.n(X),q=i("2/Rp"),Y=function(te,xe){var fe={};for(var Be in te)Object.prototype.hasOwnProperty.call(te,Be)&&xe.indexOf(Be)<0&&(fe[Be]=te[Be]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Be=Object.getOwnPropertySymbols(te);Ne<Be.length;Ne++)xe.indexOf(Be[Ne])<0&&Object.prototype.propertyIsEnumerable.call(te,Be[Ne])&&(fe[Be[Ne]]=te[Be[Ne]]);return fe},re=r.forwardRef(function(te,xe){var fe=r.useRef(null),Be=function(Pe){var It=te.onChange,nt=te.onSearch;Pe&&Pe.target&&Pe.type==="click"&&nt&&nt(Pe.target.value,Pe),It&&It(Pe)},Ne=function(Pe){var It;document.activeElement===((It=fe.current)===null||It===void 0?void 0:It.input)&&Pe.preventDefault()},de=function(Pe){var It,nt=te.onSearch,Nt=te.loading,Bt=te.disabled;if(Nt||Bt)return;nt&&nt((It=fe.current)===null||It===void 0?void 0:It.input.value,Pe)},ve=function(Pe){var It=te.enterButton,nt=te.size;return It?r.createElement(S.b.Consumer,{key:"enterButton"},function(Nt){return r.createElement(q.a,{className:"".concat(Pe,"-button"),type:"primary",size:nt||Nt},r.createElement(W.a,null))}):r.createElement(W.a,{className:"".concat(Pe,"-icon"),key:"loadingIcon"})},Me=function(Pe){var It=te.suffix,nt=te.enterButton,Nt=te.loading;if(Nt&&!nt)return[It,ve(Pe)];if(nt)return It;var Bt=r.createElement(z.a,{className:"".concat(Pe,"-icon"),key:"searchIcon",onClick:de});return It?[Object(A.c)(It,null,{key:"suffix"}),Bt]:Bt},qe=function(Pe,It){var nt=te.enterButton,Nt=te.disabled,Bt=te.addonAfter,Pt=te.loading,jt="".concat(Pe,"-button");if(Pt&&nt)return[ve(Pe),Bt];if(!nt)return Bt;var er,at=nt,Ce=at.type&&at.type.__ANT_BUTTON===!0;return Ce||at.type==="button"?er=Object(A.a)(at,m()({onMouseDown:Ne,onClick:de,key:"enterButton"},Ce?{className:jt,size:It}:{})):er=r.createElement(q.a,{className:jt,type:"primary",size:It,disabled:Nt,key:"enterButton",onMouseDown:Ne,onClick:de},nt===!0?r.createElement(z.a,null):nt),Bt?[er,Object(A.c)(Bt,null,{key:"addonAfter"})]:er},gt=function(Pe){var It=Pe.getPrefixCls,nt=Pe.direction,Nt=te.prefixCls,Bt=te.inputPrefixCls,Pt=te.enterButton,jt=te.className,er=te.size,at=Y(te,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete at.onSearch,delete at.loading;var Ce=It("input-search",Nt),ue=It("input",Bt),Dt=function(ye){var Xt;if(Pt){var pr;Xt=e()(Ce,jt,(pr={},s()(pr,"".concat(Ce,"-rtl"),nt==="rtl"),s()(pr,"".concat(Ce,"-enter-button"),!!Pt),s()(pr,"".concat(Ce,"-").concat(ye),!!ye),pr))}else Xt=e()(Ce,jt,s()({},"".concat(Ce,"-rtl"),nt==="rtl"));return Xt};return r.createElement(S.b.Consumer,null,function(rt){return r.createElement(k,m()({ref:Object(B.a)(fe,xe),onPressEnter:de},at,{size:er||rt,prefixCls:ue,addonAfter:qe(Ce,er||rt),suffix:Me(Ce),onChange:Be,className:Dt(er||rt)}))})};return r.createElement(O.a,null,gt)});re.defaultProps={enterButton:!1},re.displayName="Search";var ne=re,we=i("Y1PL"),ie=function(te){l()(fe,te);var xe=t()(fe);function fe(Be){var Ne;p()(this,fe),Ne=xe.call(this,Be),Ne.focus=function(){Ne.resizableTextArea.textArea.focus()},Ne.saveTextArea=function(ve){Ne.resizableTextArea=ve==null?void 0:ve.resizableTextArea},Ne.saveClearableInput=function(ve){Ne.clearableInput=ve},Ne.handleChange=function(ve){Ne.setValue(ve.target.value),D(Ne.resizableTextArea.textArea,ve,Ne.props.onChange)},Ne.handleReset=function(ve){Ne.setValue("",function(){Ne.focus()}),D(Ne.resizableTextArea.textArea,ve,Ne.props.onChange)},Ne.renderTextArea=function(ve,Me){return r.createElement(we.default,m()({},Object(o.default)(Ne.props,["allowClear","bordered"]),{className:e()(Ne.props.className,s()({},"".concat(ve,"-borderless"),!Me)),prefixCls:ve,onChange:Ne.handleChange,ref:Ne.saveTextArea}))},Ne.renderComponent=function(ve){var Me=ve.getPrefixCls,qe=ve.direction,gt=Ne.state.value,ht=Ne.props,Pe=ht.prefixCls,It=ht.bordered,nt=It===void 0?!0:It,Nt=Me("input",Pe);return r.createElement(T,m()({},Ne.props,{prefixCls:Nt,direction:qe,inputType:"text",value:L(gt),element:Ne.renderTextArea(Nt,nt),handleReset:Ne.handleReset,ref:Ne.saveClearableInput,triggerFocus:Ne.focus,bordered:nt}))};var de=typeof Be.value=="undefined"?Be.defaultValue:Be.value;return Ne.state={value:de},Ne}return f()(fe,[{key:"setValue",value:function(Ne,de){this.props.value===void 0&&this.setState({value:Ne},de)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ne){return Ne.value!==void 0?{value:Ne.value}:null}}]),fe}(r.Component),me=ie,_e=i("J4zp"),Te=i.n(_e),We=i("qPY4"),Ae=i.n(We),je=i("fUL4"),ee=i.n(je),he=function(te,xe){var fe={};for(var Be in te)Object.prototype.hasOwnProperty.call(te,Be)&&xe.indexOf(Be)<0&&(fe[Be]=te[Be]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Be=Object.getOwnPropertySymbols(te);Ne<Be.length;Ne++)xe.indexOf(Be[Ne])<0&&Object.prototype.propertyIsEnumerable.call(te,Be[Ne])&&(fe[Be[Ne]]=te[Be[Ne]]);return fe},Ze={click:"onClick",hover:"onMouseOver"},oe=r.forwardRef(function(te,xe){var fe=Object(r.useState)(!1),Be=Te()(fe,2),Ne=Be[0],de=Be[1],ve=function(){var ht=te.disabled;if(ht)return;de(!Ne)},Me=function(ht){var Pe,It=te.action,nt=te.iconRender,Nt=nt===void 0?function(){return null}:nt,Bt=Ze[It]||"",Pt=Nt(Ne),jt=(Pe={},s()(Pe,Bt,ve),s()(Pe,"className","".concat(ht,"-icon")),s()(Pe,"key","passwordIcon"),s()(Pe,"onMouseDown",function(at){at.preventDefault()}),s()(Pe,"onMouseUp",function(at){at.preventDefault()}),Pe);return r.cloneElement(r.isValidElement(Pt)?Pt:r.createElement("span",null,Pt),jt)},qe=function(ht){var Pe=ht.getPrefixCls,It=te.className,nt=te.prefixCls,Nt=te.inputPrefixCls,Bt=te.size,Pt=te.visibilityToggle,jt=he(te,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),er=Pe("input",Nt),at=Pe("input-password",nt),Ce=Pt&&Me(at),ue=e()(at,It,s()({},"".concat(at,"-").concat(Bt),!!Bt)),Dt=m()(m()({},Object(o.default)(jt,["suffix","iconRender"])),{type:Ne?"text":"password",className:ue,prefixCls:er,suffix:Ce});return Bt&&(Dt.size=Bt),r.createElement(k,m()({ref:xe},Dt))};return r.createElement(O.a,null,qe)});oe.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(xe){return xe?r.createElement(Ae.a,null):r.createElement(ee.a,null)}},oe.displayName="Password";var Q=oe;k.Group=Z,k.Search=ne,k.TextArea=me,k.Password=Q;var G=R.a=k},"5s0K":function(U,R,i){var y=i("bYtY");function m(){var E=[],p={},v;return{add:function(f,d,l,n,t){return y.isString(n)&&(t=n,n=0),p[f.id]?!1:(p[f.id]=1,E.push({el:f,target:d,time:l,delay:n,easing:t}),!0)},done:function(f){return v=f,this},start:function(){for(var f=E.length,d=0,l=E.length;d<l;d++){var n=E[d];n.el.animateTo(n.target,n.time,n.delay,n.easing,t)}return this;function t(){f--,f||(E.length=0,p={},v&&v())}}}}R.createWrap=m},"5yev":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},"6/nd":function(U,R,i){var y=i("ProS");y.registerAction("legendScroll","legendscroll",function(m,E){var p=m.scrollDataIndex;p!=null&&E.eachComponent({mainType:"legend",subType:"scroll",query:m},function(v){v.setScrollDataIndex(p)})})},"62sa":function(U,R,i){var y=i("bYtY"),m=i("4NO4"),E=m.makeInner,p=i("zTMp"),v=i("Ez2D"),f=y.each,d=y.curry,l=E();function n(A,w,x){var C=A.currTrigger,T=[A.x,A.y],O=A,S=A.dispatchAction||y.bind(x.dispatchAction,x),_=w.getComponent("axisPointer").coordSysAxesInfo;if(!_)return;g(T)&&(T=v({seriesIndex:O.seriesIndex,dataIndex:O.dataIndex},w).point);var L=g(T),D=O.axesInfo,F=_.axesInfo,j=C==="leave"||g(T),k={},K={},Z={list:[],map:{}},B={showPointer:d(s,K),showTooltip:d(r,Z)};f(_.coordSysMap,function(z,X){var W=L||z.containPoint(T);f(_.coordSysAxesInfo[X],function(q,Y){var re=q.axis,ne=u(D,q);if(!j&&W&&(!D||ne)){var we=ne&&ne.value;we==null&&!L&&(we=re.pointToData(T)),we!=null&&t(q,we,B,!1,k)}})});var V={};return f(F,function(z,X){var W=z.linkGroup;W&&!K[X]&&f(W.axesInfo,function(q,Y){var re=K[Y];if(q!==z&&re){var ne=re.value;W.mapper&&(ne=z.axis.scale.parse(W.mapper(ne,h(q),h(z)))),V[z.key]=ne}})}),f(V,function(z,X){t(F[X],z,B,!0,k)}),c(K,F,k),e(Z,T,A,S),o(F,S,x),k}function t(A,w,x,C,T){var O=A.axis;if(O.scale.isBlank()||!O.containData(w))return;if(!A.involveSeries){x.showPointer(A,w);return}var S=a(w,A),_=S.payloadBatch,L=S.snapToValue;_[0]&&T.seriesIndex==null&&y.extend(T,_[0]),!C&&A.snap&&(O.containData(L)&&L!=null&&(w=L)),x.showPointer(A,w,_,T),x.showTooltip(A,S,L)}function a(A,w){var x=w.axis,C=x.dim,T=A,O=[],S=Number.MAX_VALUE,_=-1;return f(w.seriesModels,function(L,D){var F=L.getData().mapDimension(C,!0),j,k;if(L.getAxisTooltipData){var K=L.getAxisTooltipData(F,A,x);k=K.dataIndices,j=K.nestestValue}else{if(k=L.getData().indicesOfNearest(F[0],A,x.type==="category"?.5:null),!k.length)return;j=L.getData().get(F[0],k[0])}if(j==null||!isFinite(j))return;var Z=A-j,B=Math.abs(Z);B<=S&&((B<S||Z>=0&&_<0)&&(S=B,_=Z,T=j,O.length=0),f(k,function(V){O.push({seriesIndex:L.seriesIndex,dataIndexInside:V,dataIndex:L.getData().getRawIndex(V)})}))}),{payloadBatch:O,snapToValue:T}}function s(A,w,x,C){A[w.key]={value:x,payloadBatch:C}}function r(A,w,x,C){var T=x.payloadBatch,O=w.axis,S=O.model,_=w.axisPointerModel;if(!w.triggerTooltip||!T.length)return;var L=w.coordSys.model,D=p.makeKey(L),F=A.map[D];F||(F=A.map[D]={coordSysId:L.id,coordSysIndex:L.componentIndex,coordSysType:L.type,coordSysMainType:L.mainType,dataByAxis:[]},A.list.push(F)),F.dataByAxis.push({axisDim:O.dim,axisIndex:S.componentIndex,axisType:S.type,axisId:S.id,value:C,valueLabelOpt:{precision:_.get("label.precision"),formatter:_.get("label.formatter")},seriesDataIndices:T.slice()})}function c(A,w,x){var C=x.axesInfo=[];f(w,function(T,O){var S=T.axisPointerModel.option,_=A[O];_?(!T.useHandle&&(S.status="show"),S.value=_.value,S.seriesDataIndices=(_.payloadBatch||[]).slice()):!T.useHandle&&(S.status="hide"),S.status==="show"&&C.push({axisDim:T.axis.dim,axisIndex:T.axis.model.componentIndex,value:S.value})})}function e(A,w,x,C){if(g(w)||!A.list.length){C({type:"hideTip"});return}var T=((A.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};C({type:"showTip",escapeConnect:!0,x:w[0],y:w[1],tooltipOption:x.tooltipOption,position:x.position,dataIndexInside:T.dataIndexInside,dataIndex:T.dataIndex,seriesIndex:T.seriesIndex,dataByCoordSys:A.list})}function o(A,w,x){var C=x.getZr(),T="axisPointerLastHighlights",O=l(C)[T]||{},S=l(C)[T]={};f(A,function(D,F){var j=D.axisPointerModel.option;j.status==="show"&&f(j.seriesDataIndices,function(k){var K=k.seriesIndex+" | "+k.dataIndex;S[K]=k})});var _=[],L=[];y.each(O,function(D,F){!S[F]&&L.push(D)}),y.each(S,function(D,F){!O[F]&&_.push(D)}),L.length&&x.dispatchAction({type:"downplay",escapeConnect:!0,batch:L}),_.length&&x.dispatchAction({type:"highlight",escapeConnect:!0,batch:_})}function u(A,w){for(var x=0;x<(A||[]).length;x++){var C=A[x];if(w.axis.dim===C.axisDim&&w.axis.model.componentIndex===C.axisIndex)return C}}function h(A){var w=A.axis.model,x={},C=x.axisDim=A.axis.dim;return x.axisIndex=x[C+"AxisIndex"]=w.componentIndex,x.axisName=x[C+"AxisName"]=w.name,x.axisId=x[C+"AxisId"]=w.id,x}function g(A){return!A||A[0]==null||isNaN(A[0])||A[1]==null||isNaN(A[1])}U.exports=n},"6BzB":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.shrinkBuf=y,R.arraySet=m,R.flattenChunks=E,R.Buf32=R.Buf16=R.Buf8=void 0;function y(d,l){return d.length===l?d:d.subarray?d.subarray(0,l):(d.length=l,d)}function m(d,l,n,t,a){if(l.subarray&&d.subarray){d.set(l.subarray(n,n+t),a);return}for(var s=0;s<t;s++)d[a+s]=l[n+s]}function E(d){var l,n,t,a,s,r;for(t=0,l=0,n=d.length;l<n;l++)t+=d[l].length;for(r=new Uint8Array(t),a=0,l=0,n=d.length;l<n;l++)s=d[l],r.set(s,a),a+=s.length;return r}var p=Uint8Array;R.Buf8=p;var v=Uint16Array;R.Buf16=v;var f=Int32Array;R.Buf32=f},"6D9b":function(U,R,i){},"6GrX":function(U,R,i){var y=i("mFDi"),m=i("Xnb7"),E=i("bYtY"),p=E.getContext,v=E.extend,f=E.retrieve2,d=E.retrieve3,l=E.trim,n={},t=0,a=5e3,s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,r="12px sans-serif",c={};function e(Z,B){c[Z]=B}function o(Z,B){B=B||r;var V=Z+":"+B;if(n[V])return n[V];for(var z=(Z+"").split(`
|
|
|
`),X=0,W=0,q=z.length;W<q;W++)X=Math.max(D(z[W],B).width,X);return t>a&&(t=0,n={}),t++,n[V]=X,X}function u(Z,B,V,z,X,W,q,Y){return q?g(Z,B,V,z,X,W,q,Y):h(Z,B,V,z,X,W,Y)}function h(Z,B,V,z,X,W,q){var Y=F(Z,B,X,W,q),re=o(Z,B);X&&(re+=X[1]+X[3]);var ne=Y.outerHeight,we=A(0,re,V),ie=w(0,ne,z),me=new y(we,ie,re,ne);return me.lineHeight=Y.lineHeight,me}function g(Z,B,V,z,X,W,q,Y){var re=j(Z,{rich:q,truncate:Y,font:B,textAlign:V,textPadding:X,textLineHeight:W}),ne=re.outerWidth,we=re.outerHeight,ie=A(0,ne,V),me=w(0,we,z);return new y(ie,me,ne,we)}function A(Z,B,V){return V==="right"?Z-=B:V==="center"&&(Z-=B/2),Z}function w(Z,B,V){return V==="middle"?Z-=B/2:V==="bottom"&&(Z-=B),Z}function x(Z,B,V){var z=B.textPosition,X=B.textDistance,W=V.x,q=V.y;X=X||0;var Y=V.height,re=V.width,ne=Y/2,we="left",ie="top";switch(z){case"left":W-=X,q+=ne,we="right",ie="middle";break;case"right":W+=X+re,q+=ne,ie="middle";break;case"top":W+=re/2,q-=X,we="center",ie="bottom";break;case"bottom":W+=re/2,q+=Y+X,we="center";break;case"inside":W+=re/2,q+=ne,we="center",ie="middle";break;case"insideLeft":W+=X,q+=ne,ie="middle";break;case"insideRight":W+=re-X,q+=ne,we="right",ie="middle";break;case"insideTop":W+=re/2,q+=X,we="center";break;case"insideBottom":W+=re/2,q+=Y-X,we="center",ie="bottom";break;case"insideTopLeft":W+=X,q+=X;break;case"insideTopRight":W+=re-X,q+=X,we="right";break;case"insideBottomLeft":W+=X,q+=Y-X,ie="bottom";break;case"insideBottomRight":W+=re-X,q+=Y-X,we="right",ie="bottom";break}return Z=Z||{},Z.x=W,Z.y=q,Z.textAlign=we,Z.textVerticalAlign=ie,Z}function C(Z,B,V){var z={textPosition:Z,textDistance:V};return x({},z,B)}function T(Z,B,V,z,X){if(!B)return"";var W=(Z+"").split(`
|
|
|
`);X=O(B,V,z,X);for(var q=0,Y=W.length;q<Y;q++)W[q]=S(W[q],X);return W.join(`
|
|
|
`)}function O(Z,B,V,z){z=v({},z),z.font=B;var V=f(V,"...");z.maxIterations=f(z.maxIterations,2);var X=z.minChar=f(z.minChar,0);z.cnCharWidth=o("\u56FD",B);var W=z.ascCharWidth=o("a",B);z.placeholder=f(z.placeholder,"");for(var q=Z=Math.max(0,Z-1),Y=0;Y<X&&q>=W;Y++)q-=W;var re=o(V,B);return re>q&&(V="",re=0),q=Z-re,z.ellipsis=V,z.ellipsisWidth=re,z.contentWidth=q,z.containerWidth=Z,z}function S(Z,B){var V=B.containerWidth,z=B.font,X=B.contentWidth;if(!V)return"";var W=o(Z,z);if(W<=V)return Z;for(var q=0;;q++){if(W<=X||q>=B.maxIterations){Z+=B.ellipsis;break}var Y=q===0?_(Z,X,B.ascCharWidth,B.cnCharWidth):W>0?Math.floor(Z.length*X/W):0;Z=Z.substr(0,Y),W=o(Z,z)}return Z===""&&(Z=B.placeholder),Z}function _(Z,B,V,z){for(var X=0,W=0,q=Z.length;W<q&&X<B;W++){var Y=Z.charCodeAt(W);X+=0<=Y&&Y<=127?V:z}return W}function L(Z){return o("\u56FD",Z)}function D(Z,B){return c.measureText(Z,B)}c.measureText=function(Z,B){var V=p();return V.font=B||r,V.measureText(Z)};function F(Z,B,V,z,X){Z!=null&&(Z+="");var W=f(z,L(B)),q=Z?Z.split(`
|
|
|
`):[],Y=q.length*W,re=Y,ne=!0;if(V&&(re+=V[0]+V[2]),Z&&X){ne=!1;var we=X.outerHeight,ie=X.outerWidth;if(we!=null&&re>we)Z="",q=[];else if(ie!=null)for(var me=O(ie-(V?V[1]+V[3]:0),B,X.ellipsis,{minChar:X.minChar,placeholder:X.placeholder}),_e=0,Te=q.length;_e<Te;_e++)q[_e]=S(q[_e],me)}return{lines:q,height:Y,outerHeight:re,lineHeight:W,canCacheByTextString:ne}}function j(Z,B){var V={lines:[],width:0,height:0};if(Z!=null&&(Z+=""),!Z)return V;for(var z=s.lastIndex=0,X;(X=s.exec(Z))!=null;){var W=X.index;W>z&&k(V,Z.substring(z,W)),k(V,X[2],X[1]),z=s.lastIndex}z<Z.length&&k(V,Z.substring(z,Z.length));var q=V.lines,Y=0,re=0,ne=[],we=B.textPadding,ie=B.truncate,me=ie&&ie.outerWidth,_e=ie&&ie.outerHeight;we&&(me!=null&&(me-=we[1]+we[3]),_e!=null&&(_e-=we[0]+we[2]));for(var Te=0;Te<q.length;Te++){for(var We=q[Te],Ae=0,je=0,ee=0;ee<We.tokens.length;ee++){var he=We.tokens[ee],Ze=he.styleName&&B.rich[he.styleName]||{},oe=he.textPadding=Ze.textPadding,Q=he.font=Ze.font||B.font,G=he.textHeight=f(Ze.textHeight,L(Q));if(oe&&(G+=oe[0]+oe[2]),he.height=G,he.lineHeight=d(Ze.textLineHeight,B.textLineHeight,G),he.textAlign=Ze&&Ze.textAlign||B.textAlign,he.textVerticalAlign=Ze&&Ze.textVerticalAlign||"middle",_e!=null&&Y+he.lineHeight>_e)return{lines:[],width:0,height:0};he.textWidth=o(he.text,Q);var te=Ze.textWidth,xe=te==null||te==="auto";if(typeof te=="string"&&te.charAt(te.length-1)==="%")he.percentWidth=te,ne.push(he),te=0;else{if(xe){te=he.textWidth;var fe=Ze.textBackgroundColor,Be=fe&&fe.image;Be&&(Be=m.findExistImage(Be),m.isImageReady(Be)&&(te=Math.max(te,Be.width*G/Be.height)))}var Ne=oe?oe[1]+oe[3]:0;te+=Ne;var de=me!=null?me-je:null;de!=null&&de<te&&(!xe||de<Ne?(he.text="",he.textWidth=te=0):(he.text=T(he.text,de-Ne,Q,ie.ellipsis,{minChar:ie.minChar}),he.textWidth=o(he.text,Q),te=he.textWidth+Ne))}je+=he.width=te,Ze&&(Ae=Math.max(Ae,he.lineHeight))}We.width=je,We.lineHeight=Ae,Y+=Ae,re=Math.max(re,je)}V.outerWidth=V.width=f(B.textWidth,re),V.outerHeight=V.height=f(B.textHeight,Y),we&&(V.outerWidth+=we[1]+we[3],V.outerHeight+=we[0]+we[2]);for(var Te=0;Te<ne.length;Te++){var he=ne[Te],ve=he.percentWidth;he.width=parseInt(ve,10)/100*re}return V}function k(Z,B,V){for(var z=B==="",X=B.split(`
|
|
|
`),W=Z.lines,q=0;q<X.length;q++){var Y=X[q],re={styleName:V,text:Y,isLineHolder:!Y&&!z};if(q)W.push({tokens:[re]});else{var ne=(W[W.length-1]||(W[0]={tokens:[]})).tokens,we=ne.length;we===1&&ne[0].isLineHolder?ne[0]=re:(Y||!we||z)&&ne.push(re)}}}function K(Z){var B=(Z.fontSize||Z.fontFamily)&&[Z.fontStyle,Z.fontWeight,(Z.fontSize||12)+"px",Z.fontFamily||"sans-serif"].join(" ");return B&&l(B)||Z.textFont||Z.font}R.DEFAULT_FONT=r,R.$override=e,R.getWidth=o,R.getBoundingRect=u,R.adjustTextX=A,R.adjustTextY=w,R.calculateTextPosition=x,R.adjustTextPositionOnRect=C,R.truncateText=T,R.getLineHeight=L,R.measureText=D,R.parsePlainText=F,R.parseRichText=j,R.makeFont=K},"6Hfg":function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("FhB9")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="SwapRightOutlined";var l=p.forwardRef(d);R.default=l},"6Ic6":function(U,R,i){var y=i("bYtY"),m=y.each,E=i("4fz+"),p=i("iRjW"),v=i("Yl7c"),f=i("4NO4"),d=i("IwbS"),l=i("9H2F"),n=l.createTask,t=i("zM3Q"),a=f.makeInner(),s=t();function r(){this.group=new E,this.uid=p.getUID("viewChart"),this.renderTask=n({plan:u,reset:h}),this.renderTask.context={view:this}}r.prototype={type:"chart",init:function(w,x){},render:function(w,x,C,T){},highlight:function(w,x,C,T){o(w.getData(),T,"emphasis")},downplay:function(w,x,C,T){o(w.getData(),T,"normal")},remove:function(w,x){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var c=r.prototype;c.updateView=c.updateLayout=c.updateVisual=function(w,x,C,T){this.render(w,x,C,T)};function e(w,x,C){if(w&&(w.trigger(x,C),w.isGroup&&!d.isHighDownDispatcher(w)))for(var T=0,O=w.childCount();T<O;T++)e(w.childAt(T),x,C)}function o(w,x,C){var T=f.queryDataIndex(w,x),O=x&&x.highlightKey!=null?d.getHighlightDigit(x.highlightKey):null;T!=null?m(f.normalizeToArray(T),function(S){e(w.getItemGraphicEl(S),C,O)}):w.eachItemGraphicEl(function(S){e(S,C,O)})}v.enableClassExtend(r,["dispose"]),v.enableClassManagement(r,{registerWhenExtend:!0}),r.markUpdateMethod=function(w,x){a(w).updateMethod=x};function u(w){return s(w.model)}function h(w){var x=w.model,C=w.ecModel,T=w.api,O=w.payload,S=x.pipelineContext.progressiveRender,_=w.view,L=O&&a(O).updateMethod,D=S?"incrementalPrepareRender":L&&_[L]?L:"render";return D!=="render"&&_[D](x,C,T,O),g[D]}var g={incrementalPrepareRender:{progress:function(w,x){x.view.incrementalRender(w,x.model,x.ecModel,x.api,x.payload)}},render:{forceFirstProgress:!0,progress:function(w,x){x.view.render(x.model,x.ecModel,x.api,x.payload)}}},A=r;U.exports=A},"6MrE":function(U,R,i){},"6Qwc":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y={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"};R.default=y},"6SEX":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("qWUW"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},"6UJt":function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("v56E"),p=i.n(E),v=i("R9oj"),f=i("5NDa")},"6VBw":function(U,R,i){"use strict";var y=i("VTBJ"),m=i("ODXe"),E=i("rePB"),p=i("Ff2n"),v=i("q1tI"),f=i("TSYQ"),d=i.n(f),l=i("Pw59"),n=i("Qi1f"),t=["icon","className","onClick","style","primaryColor","secondaryColor"],a={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function s(w){var x=w.primaryColor,C=w.secondaryColor;a.primaryColor=x,a.secondaryColor=C||Object(n.b)(x),a.calculated=!!C}function r(){return Object(y.a)({},a)}var c=function(x){var C=x.icon,T=x.className,O=x.onClick,S=x.style,_=x.primaryColor,L=x.secondaryColor,D=Object(p.a)(x,t),F=a;if(_&&(F={primaryColor:_,secondaryColor:L||Object(n.b)(_)}),Object(n.f)(),Object(n.g)(Object(n.c)(C),"icon should be icon definiton, but got ".concat(C)),!Object(n.c)(C))return null;var j=C;return j&&typeof j.icon=="function"&&(j=Object(y.a)(Object(y.a)({},j),{},{icon:j.icon(F.primaryColor,F.secondaryColor)})),Object(n.a)(j.icon,"svg-".concat(j.name),Object(y.a)({className:T,onClick:O,style:S,"data-icon":j.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},D))};c.displayName="IconReact",c.getTwoToneColors=r,c.setTwoToneColors=s;var e=c;function o(w){var x=Object(n.d)(w),C=Object(m.a)(x,2),T=C[0],O=C[1];return e.setTwoToneColors({primaryColor:T,secondaryColor:O})}function u(){var w=e.getTwoToneColors();return w.calculated?[w.primaryColor,w.secondaryColor]:w.primaryColor}var h=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];o("#1890ff");var g=v.forwardRef(function(w,x){var C,T=w.className,O=w.icon,S=w.spin,_=w.rotate,L=w.tabIndex,D=w.onClick,F=w.twoToneColor,j=Object(p.a)(w,h),k=v.useContext(l.a),K=k.prefixCls,Z=K===void 0?"anticon":K,B=d()(Z,(C={},Object(E.a)(C,"".concat(Z,"-").concat(O.name),!!O.name),Object(E.a)(C,"".concat(Z,"-spin"),!!S||O.name==="loading"),C),T),V=L;V===void 0&&D&&(V=-1);var z=_?{msTransform:"rotate(".concat(_,"deg)"),transform:"rotate(".concat(_,"deg)")}:void 0,X=Object(n.d)(F),W=Object(m.a)(X,2),q=W[0],Y=W[1];return v.createElement("span",Object(y.a)(Object(y.a)({role:"img","aria-label":O.name},j),{},{ref:x,tabIndex:V,onClick:D,className:B}),v.createElement(e,{icon:O,primaryColor:q,secondaryColor:Y,style:z}))});g.displayName="AntdIcon",g.getTwoToneColor=u,g.setTwoToneColor=o;var A=R.a=g},"6cGi":function(U,R,i){"use strict";i.d(R,"a",function(){return p});var y=i("ODXe"),m=i("q1tI"),E=i.n(m);function p(v,f){var d=f||{},l=d.defaultValue,n=d.value,t=d.onChange,a=d.postState,s=m.useState(function(){return n!==void 0?n:l!==void 0?typeof l=="function"?l():l:typeof v=="function"?v():v}),r=Object(y.a)(s,2),c=r[0],e=r[1],o=n!==void 0?n:c;a&&(o=a(o));var u=m.useRef(t);u.current=t;var h=m.useCallback(function(A){e(A),o!==A&&u.current&&u.current(A,o)},[o,u]),g=m.useRef(!0);return m.useEffect(function(){if(g.current){g.current=!1;return}n===void 0&&e(n)},[n]),[o,h]}},"6fms":function(U,R,i){var y=i("SUKs"),m=i("06Qe"),E=i("bYtY"),p=E.each;function v(n){return parseInt(n,10)}function f(n,t){m.initVML(),this.root=n,this.storage=t;var a=document.createElement("div"),s=document.createElement("div");a.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",s.style.cssText="position:absolute;left:0;top:0;",n.appendChild(a),this._vmlRoot=s,this._vmlViewport=a,this.resize();var r=t.delFromStorage,c=t.addToStorage;t.delFromStorage=function(e){r.call(t,e),e&&(e.onRemove&&e.onRemove(s))},t.addToStorage=function(e){e.onAdd&&e.onAdd(s),c.call(t,e)},this._firstPaint=!0}f.prototype={constructor:f,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var a=this._vmlRoot,s=0;s<t.length;s++){var r=t[s];r.invisible||r.ignore?(r.__alreadyNotVisible||r.onRemove(a),r.__alreadyNotVisible=!0):(r.__alreadyNotVisible&&r.onAdd(a),r.__alreadyNotVisible=!1,r.__dirty&&(r.beforeBrush&&r.beforeBrush(),(r.brushVML||r.brush).call(r,a),r.afterBrush&&r.afterBrush())),r.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(a),this._firstPaint=!1)},resize:function(t,a){var t=t==null?this._getWidth():t,a=a==null?this._getHeight():a;if(this._width!==t||this._height!==a){this._width=t,this._height=a;var s=this._vmlViewport.style;s.width=t+"px",s.height=a+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var t=this.root,a=t.currentStyle;return(t.clientWidth||v(a.width))-v(a.paddingLeft)-v(a.paddingRight)|0},_getHeight:function(){var t=this.root,a=t.currentStyle;return(t.clientHeight||v(a.height))-v(a.paddingTop)-v(a.paddingBottom)|0}};function d(n){return function(){y('In IE8.0 VML mode painter not support method "'+n+'"')}}p(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(n){f.prototype[n]=d(n)});var l=f;U.exports=l},"6r85":function(U,R,i){var y=i("bYtY");function m(E){if(!E||!y.isArray(E.series))return;y.each(E.series,function(p){y.isObject(p)&&p.type==="k"&&(p.type="candlestick")})}U.exports=m},"6uqw":function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("ItGF"),p=i("YOMW"),v=i("XxSj"),f=i("K4ya"),d=i("4NO4"),l=i("OELB"),n=v.mapVisual,t=v.eachVisual,a=m.isArray,s=m.each,r=l.asc,c=l.linearMap,e=m.noop,o=y.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,g,A){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(h,A)},optionUpdated:function(h,g){var A=this.option;E.canvasSupported||(A.realtime=!1),!g&&f.replaceVisualOption(A,h,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(h){var g=this.stateList;h=m.bind(h,this),this.controllerVisuals=f.createVisualMappings(this.option.controller,g,h),this.targetVisuals=f.createVisualMappings(this.option.target,g,h)},getTargetSeriesIndices:function(){var h=this.option.seriesIndex,g=[];return h==null||h==="all"?this.ecModel.eachSeries(function(A,w){g.push(w)}):g=d.normalizeToArray(h),g},eachTargetSeries:function(h,g){m.each(this.getTargetSeriesIndices(),function(A){h.call(g,this.ecModel.getSeriesByIndex(A))},this)},isTargetSeries:function(h){var g=!1;return this.eachTargetSeries(function(A){A===h&&(g=!0)}),g},formatValueText:function(h,g,A){var w=this.option,x=w.precision,C=this.dataBound,T=w.formatter,O,S;if(A=A||["<",">"],m.isArray(h)&&(h=h.slice(),O=!0),S=g?h:O?[_(h[0]),_(h[1])]:_(h),m.isString(T))return T.replace("{value}",O?S[0]:S).replace("{value2}",O?S[1]:S);if(m.isFunction(T))return O?T(h[0],h[1]):T(h);if(O)return h[0]===C[0]?A[0]+" "+S[1]:h[1]===C[1]?A[1]+" "+S[0]:S[0]+" - "+S[1];return S;function _(L){return L===C[0]?"min":L===C[1]?"max":(+L).toFixed(Math.min(x,20))}},resetExtent:function(){var h=this.option,g=r([h.min,h.max]);this._dataExtent=g},getDataDimension:function(h){var g=this.option.dimension,A=h.dimensions;if(g==null&&!A.length)return;if(g!=null)return h.getDimension(g);for(var w=h.dimensions,x=w.length-1;x>=0;x--){var C=w[x],T=h.getDimensionInfo(C);if(!T.isCalculationCoord)return C}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var h=this.ecModel,g=this.option,A={inRange:g.inRange,outOfRange:g.outOfRange},w=g.target||(g.target={}),x=g.controller||(g.controller={});m.merge(w,A),m.merge(x,A);var C=this.isCategory();T.call(this,w),T.call(this,x),O.call(this,w,"inRange","outOfRange"),S.call(this,x);function T(_){a(g.color)&&!_.inRange&&(_.inRange={color:g.color.slice().reverse()}),_.inRange=_.inRange||{color:h.get("gradientColor")},s(this.stateList,function(L){var D=_[L];if(m.isString(D)){var F=p.get(D,"active",C);F?(_[L]={},_[L][D]=F):delete _[L]}},this)}function O(_,L,D){var F=_[L],j=_[D];F&&!j&&(j=_[D]={},s(F,function(k,K){if(!v.isValidType(K))return;var Z=p.get(K,"inactive",C);Z!=null&&(j[K]=Z,K==="color"&&!j.hasOwnProperty("opacity")&&!j.hasOwnProperty("colorAlpha")&&(j.opacity=[0,0]))}))}function S(_){var L=(_.inRange||{}).symbol||(_.outOfRange||{}).symbol,D=(_.inRange||{}).symbolSize||(_.outOfRange||{}).symbolSize,F=this.get("inactiveColor");s(this.stateList,function(j){var k=this.itemSize,K=_[j];K||(K=_[j]={color:C?F:[F]}),K.symbol==null&&(K.symbol=L&&m.clone(L)||(C?"roundRect":["roundRect"])),K.symbolSize==null&&(K.symbolSize=D&&m.clone(D)||(C?k[0]:[k[0],k[0]])),K.symbol=n(K.symbol,function(V){return V==="none"||V==="square"?"roundRect":V});var Z=K.symbolSize;if(Z!=null){var B=-Infinity;t(Z,function(V){V>B&&(B=V)}),K.symbolSize=n(Z,function(V){return c(V,[0,B],[0,k[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:e,getValueState:e,getVisualMeta:e}),u=o;U.exports=u},"6usn":function(U,R,i){var y=i("bYtY");function m(p,v){return y.map(["Radius","Angle"],function(f,d){var l=this["get"+f+"Axis"](),n=v[d],t=p[d]/2,a="dataTo"+f,s=l.type==="category"?l.getBandWidth():Math.abs(l[a](n-t)-l[a](n+t));return f==="Angle"&&(s=s*Math.PI/180),s},this)}function E(p){var v=p.getRadiusAxis(),f=p.getAngleAxis(),d=v.getExtent();return d[0]>d[1]&&d.reverse(),{coordSys:{type:"polar",cx:p.cx,cy:p.cy,r:d[1],r0:d[0]},api:{coord:y.bind(function(l){var n=v.dataToRadius(l[0]),t=f.dataToAngle(l[1]),a=p.coordToPoint([n,t]);return a.push(n,t*Math.PI/180),a}),size:y.bind(m,p)}}}U.exports=E},"6xvX":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("V7ic"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},"711d":function(U,R){function i(y){return function(m){return m==null?void 0:m[y]}}U.exports=i},"72pK":function(U,R){function i(E,p,v,f,d,l){E=E||0;var n=v[1]-v[0];if(d!=null&&(d=m(d,[0,n])),l!=null&&(l=Math.max(l,d!=null?d:0)),f==="all"){var t=Math.abs(p[1]-p[0]);t=m(t,[0,n]),d=l=m(t,[d,l]),f=0}p[0]=m(p[0],v),p[1]=m(p[1],v);var a=y(p,f);p[f]+=E;var s=d||0,r=v.slice();a.sign<0?r[0]+=s:r[1]-=s,p[f]=m(p[f],r);var c=y(p,f);d!=null&&(c.sign!==a.sign||c.span<d)&&(p[1-f]=p[f]+a.sign*d);var c=y(p,f);return l!=null&&c.span>l&&(p[1-f]=p[f]+c.sign*l),p}function y(E,p){var v=E[p]-E[1-p];return{span:Math.abs(v),sign:v>0?-1:v<0?1:p?-1:1}}function m(E,p){return Math.min(p[1]!=null?p[1]:Infinity,Math.max(p[0]!=null?p[0]:-Infinity,E))}U.exports=i},"75ce":function(U,R,i){var y=i("ProS");i("IXuL"),i("8X+K");var m=i("f5Yq"),E=i("h8O9"),p=i("/d5a");i("Ae16"),y.registerVisual(m("line","circle","line")),y.registerLayout(E("line")),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,p("line"))},"75ev":function(U,R,i){var y=i("ProS");i("IWNH"),i("bNin"),i("v5uJ");var m=i("f5Yq"),E=i("yik8");y.registerVisual(m("tree","circle")),y.registerLayout(E)},"7AJT":function(U,R,i){var y=i("bYtY"),m=i("hM6l"),E=function(v,f,d,l,n){m.call(this,v,f,d),this.type=l||"value",this.position=n||"bottom"};E.prototype={constructor:E,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},getGlobalExtent:function(v){var f=this.getExtent();return f[0]=this.toGlobalCoord(f[0]),f[1]=this.toGlobalCoord(f[1]),v&&f[0]>f[1]&&f.reverse(),f},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(v,f){return this.coordToData(this.toLocalCoord(v[this.dim==="x"?0:1]),f)},toLocalCoord:null,toGlobalCoord:null},y.inherits(E,m);var p=E;U.exports=p},"7Cbv":function(U,R,i){"use strict";var y=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),m=new Uint8Array(16);function E(){if(!y)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return y(m)}var p=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function v(r){return typeof r=="string"&&p.test(r)}for(var f=v,d=[],l=0;l<256;++l)d.push((l+256).toString(16).substr(1));function n(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=(d[r[c+0]]+d[r[c+1]]+d[r[c+2]]+d[r[c+3]]+"-"+d[r[c+4]]+d[r[c+5]]+"-"+d[r[c+6]]+d[r[c+7]]+"-"+d[r[c+8]]+d[r[c+9]]+"-"+d[r[c+10]]+d[r[c+11]]+d[r[c+12]]+d[r[c+13]]+d[r[c+14]]+d[r[c+15]]).toLowerCase();if(!f(e))throw TypeError("Stringified UUID is invalid");return e}var t=n;function a(r,c,e){r=r||{};var o=r.random||(r.rng||E)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,c){e=e||0;for(var u=0;u<16;++u)c[e+u]=o[u];return c}return t(o)}var s=R.a=a},"7DRL":function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.createHashMap,v=E.isString,f=E.isArray,d=E.each,l=E.assert,n=i("MEGo"),t=n.parseXML,a=p(),s={registerMap:function(c,e,o){var u;return f(e)?u=e:e.svg?u=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(o=e.specialAreas,e=e.geoJson),u=[{type:"geoJSON",source:e,specialAreas:o}]),d(u,function(h){var g=h.type;g==="geoJson"&&(g=h.type="geoJSON");var A=r[g];A(h)}),a.set(c,u)},retrieveMap:function(c){return a.get(c)}},r={geoJSON:function(c){var e=c.source;c.geoJSON=v(e)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(c){c.svgXML=t(c.source)}};U.exports=s},"7G+c":function(U,R,i){var y=i("bYtY"),m=y.createHashMap,E=y.isTypedArray,p=i("Yl7c"),v=p.enableClassCheck,f=i("k9D9"),d=f.SOURCE_FORMAT_ORIGINAL,l=f.SERIES_LAYOUT_BY_COLUMN,n=f.SOURCE_FORMAT_UNKNOWN,t=f.SOURCE_FORMAT_TYPED_ARRAY,a=f.SOURCE_FORMAT_KEYED_COLUMNS;function s(c){this.fromDataset=c.fromDataset,this.data=c.data||(c.sourceFormat===a?{}:[]),this.sourceFormat=c.sourceFormat||n,this.seriesLayoutBy=c.seriesLayoutBy||l,this.dimensionsDefine=c.dimensionsDefine,this.encodeDefine=c.encodeDefine&&m(c.encodeDefine),this.startIndex=c.startIndex||0,this.dimensionsDetectCount=c.dimensionsDetectCount}s.seriesDataToSource=function(c){return new s({data:c,sourceFormat:E(c)?t:d,fromDataset:!1})},v(s);var r=s;U.exports=r},"7Kak":function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("KPFz"),p=i.n(E)},"7Phj":function(U,R,i){var y=i("bYtY"),m=i("OELB"),E=m.parsePercent,p=y.each;function v(n){var t=f(n);p(t,function(a){var s=a.seriesModels;if(!s.length)return;d(a),p(s,function(r,c){l(r,a.boxOffsetList[c],a.boxWidthList[c])})})}function f(n){var t=[],a=[];return n.eachSeriesByType("boxplot",function(s){var r=s.getBaseAxis(),c=y.indexOf(a,r);c<0&&(c=a.length,a[c]=r,t[c]={axis:r,seriesModels:[]}),t[c].seriesModels.push(s)}),t}function d(n){var t,a=n.axis,s=n.seriesModels,r=s.length,c=n.boxWidthList=[],e=n.boxOffsetList=[],o=[],u;if(a.type==="category")u=a.getBandWidth();else{var h=0;p(s,function(C){h=Math.max(h,C.getData().count())}),t=a.getExtent(),Math.abs(t[1]-t[0])/h}p(s,function(C){var T=C.get("boxWidth");y.isArray(T)||(T=[T,T]),o.push([E(T[0],u)||0,E(T[1],u)||0])});var g=u*.8-2,A=g/r*.3,w=(g-A*(r-1))/r,x=w/2-g/2;p(s,function(C,T){e.push(x),x+=A+w,c.push(Math.min(Math.max(w,o[T][0]),o[T][1]))})}function l(n,t,a){var s=n.coordinateSystem,r=n.getData(),c=a/2,e=n.get("layout")==="horizontal"?0:1,o=1-e,u=["x","y"],h=r.mapDimension(u[e]),g=r.mapDimension(u[o],!0);if(h==null||g.length<5)return;for(var A=0;A<r.count();A++){var w=r.get(h,A),x=L(w,g[2],A),C=L(w,g[0],A),T=L(w,g[1],A),O=L(w,g[3],A),S=L(w,g[4],A),_=[];D(_,T,0),D(_,O,1),_.push(C,T,S,O),F(_,C),F(_,S),F(_,x),r.setItemLayout(A,{initBaseline:x[o],ends:_})}function L(j,k,K){var Z=r.get(k,K),B=[];B[e]=j,B[o]=Z;var V;return isNaN(j)||isNaN(Z)?V=[NaN,NaN]:(V=s.dataToPoint(B),V[e]+=t),V}function D(j,k,K){var Z=k.slice(),B=k.slice();Z[e]+=c,B[e]-=c,K?j.push(Z,B):j.push(B,Z)}function F(j,k){var K=k.slice(),Z=k.slice();K[e]-=c,Z[e]+=c,j.push(K,Z)}}U.exports=v},"7SHv":function(U,R,i){var y=i("LPTA"),m=y.devicePixelRatio,E=i("bYtY"),p=i("SUKs"),v=i("mFDi"),f=i("BPZU"),d=i("Xmg4"),l=i("mLcG"),n=i("Dagg"),t=i("ItGF"),a=1e5,s=314159,r=.01,c=.001;function e(O){return parseInt(O,10)}function o(O){return O?O.__builtin__?!0:!(typeof O.resize!="function"||typeof O.refresh!="function"):!1}var u=new v(0,0,0,0),h=new v(0,0,0,0);function g(O,S,_){return u.copy(O.getBoundingRect()),O.transform&&u.applyTransform(O.transform),h.width=S,h.height=_,!u.intersect(h)}function A(O,S){if(O===S)return!1;if(!O||!S||O.length!==S.length)return!0;for(var _=0;_<O.length;_++)if(O[_]!==S[_])return!0;return!1}function w(O,S){for(var _=0;_<O.length;_++){var L=O[_];L.setTransform(S),S.beginPath(),L.buildPath(S,L.shape),S.clip(),L.restoreTransform(S)}}function x(O,S){var _=document.createElement("div");return _.style.cssText=["position:relative","width:"+O+"px","height:"+S+"px","padding:0","margin:0","border-width:0"].join(";")+";",_}var C=function(S,_,L){this.type="canvas";var D=!S.nodeName||S.nodeName.toUpperCase()==="CANVAS";this._opts=L=E.extend({},L||{}),this.dpr=L.devicePixelRatio||m,this._singleCanvas=D,this.root=S;var F=S.style;F&&(F["-webkit-tap-highlight-color"]="transparent",F["-webkit-user-select"]=F["user-select"]=F["-webkit-touch-callout"]="none",S.innerHTML=""),this.storage=_;var j=this._zlevelList=[],k=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,D){var Z=S.width,B=S.height;L.width!=null&&(Z=L.width),L.height!=null&&(B=L.height),this.dpr=L.devicePixelRatio||1,S.width=Z*this.dpr,S.height=B*this.dpr,this._width=Z,this._height=B;var V=new d(S,this,this.dpr);V.__builtin__=!0,V.initContext(),k[s]=V,V.zlevel=s,j.push(s),this._domRoot=S}else{this._width=this._getSize(0),this._height=this._getSize(1);var K=this._domRoot=x(this._width,this._height);S.appendChild(K)}this._hoverlayer=null,this._hoverElements=[]};C.prototype={constructor:C,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 _=this.storage.getDisplayList(!0),L=this._zlevelList;this._redrawId=Math.random(),this._paintList(_,S,this._redrawId);for(var D=0;D<L.length;D++){var F=L[D],j=this._layers[F];if(!j.__builtin__&&j.refresh){var k=D===0?this._backgroundColor:null;j.refresh(k)}}return this.refreshHover(),this},addHover:function(S,_){if(S.__hoverMir)return;var L=new S.constructor({style:S.style,shape:S.shape,z:S.z,z2:S.z2,silent:S.silent});return L.__from=S,S.__hoverMir=L,_&&L.setStyle(_),this._hoverElements.push(L),L},removeHover:function(S){var _=S.__hoverMir,L=this._hoverElements,D=E.indexOf(L,_);D>=0&&L.splice(D,1),S.__hoverMir=null},clearHover:function(S){for(var _=this._hoverElements,L=0;L<_.length;L++){var D=_[L].__from;D&&(D.__hoverMir=null)}_.length=0},refreshHover:function(){var S=this._hoverElements,_=S.length,L=this._hoverlayer;if(L&&L.clear(),!_)return;f(S,this.storage.displayableSortFunc),L||(L=this._hoverlayer=this.getLayer(a));var D={};L.ctx.save();for(var F=0;F<_;){var j=S[F],k=j.__from;if(!(k&&k.__zr)){S.splice(F,1),k.__hoverMir=null,_--;continue}F++,k.invisible||(j.transform=k.transform,j.invTransform=k.invTransform,j.__clipPaths=k.__clipPaths,this._doPaintEl(j,L,!0,D))}L.ctx.restore()},getHoverLayer:function(){return this.getLayer(a)},_paintList:function(S,_,L){if(this._redrawId!==L)return;_=_||!1,this._updateLayerStatus(S);var D=this._doPaintList(S,_);if(this._needsManuallyCompositing&&this._compositeManually(),!D){var F=this;l(function(){F._paintList(S,_,L)})}},_compositeManually:function(){var S=this.getLayer(s).ctx,_=this._domRoot.width,L=this._domRoot.height;S.clearRect(0,0,_,L),this.eachBuiltinLayer(function(D){D.virtual&&S.drawImage(D.dom,0,0,_,L)})},_doPaintList:function(S,_){for(var L=[],D=0;D<this._zlevelList.length;D++){var F=this._zlevelList[D],j=this._layers[F];j.__builtin__&&j!==this._hoverlayer&&(j.__dirty||_)&&L.push(j)}for(var k=!0,K=0;K<L.length;K++){var j=L[K],Z=j.ctx,B={};Z.save();var V=_?j.__startIndex:j.__drawIndex,z=!_&&j.incremental&&Date.now,X=z&&Date.now(),W=j.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(j.__startIndex===j.__endIndex)j.clear(!1,W);else if(V===j.__startIndex){var q=S[V];(!q.incremental||!q.notClear||_)&&j.clear(!1,W)}V===-1&&(console.error("For some unknown reason. drawIndex is -1"),V=j.__startIndex);for(var Y=V;Y<j.__endIndex;Y++){var re=S[Y];if(this._doPaintEl(re,j,_,B),re.__dirty=re.__dirtyText=!1,z){var ne=Date.now()-X;if(ne>15)break}}j.__drawIndex=Y,j.__drawIndex<j.__endIndex&&(k=!1),B.prevElClipPaths&&Z.restore(),Z.restore()}return t.wxa&&E.each(this._layers,function(we){we&&we.ctx&&we.ctx.draw&&we.ctx.draw()}),k},_doPaintEl:function(S,_,L,D){var F=_.ctx,j=S.transform;if((_.__dirty||L)&&!S.invisible&&S.style.opacity!==0&&!(j&&!j[0]&&!j[3])&&!(S.culling&&g(S,this._width,this._height))){var k=S.__clipPaths,K=D.prevElClipPaths;(!K||A(k,K))&&(K&&(F.restore(),D.prevElClipPaths=null,D.prevEl=null),k&&(F.save(),w(k,F),D.prevElClipPaths=k)),S.beforeBrush&&S.beforeBrush(F),S.brush(F,D.prevEl||null),D.prevEl=S,S.afterBrush&&S.afterBrush(F)}},getLayer:function(S,_){this._singleCanvas&&!this._needsManuallyCompositing&&(S=s);var L=this._layers[S];return L||(L=new d("zr_"+S,this,this.dpr),L.zlevel=S,L.__builtin__=!0,this._layerConfig[S]?E.merge(L,this._layerConfig[S],!0):this._layerConfig[S-r]&&E.merge(L,this._layerConfig[S-r],!0),_&&(L.virtual=_),this.insertLayer(S,L),L.initContext()),L},insertLayer:function(S,_){var L=this._layers,D=this._zlevelList,F=D.length,j=null,k=-1,K=this._domRoot;if(L[S]){p("ZLevel "+S+" has been used already");return}if(!o(_)){p("Layer of zlevel "+S+" is not valid");return}if(F>0&&S>D[0]){for(k=0;k<F-1&&!(D[k]<S&&D[k+1]>S);k++);j=L[D[k]]}if(D.splice(k+1,0,S),L[S]=_,!_.virtual)if(j){var Z=j.dom;Z.nextSibling?K.insertBefore(_.dom,Z.nextSibling):K.appendChild(_.dom)}else K.firstChild?K.insertBefore(_.dom,K.firstChild):K.appendChild(_.dom)},eachLayer:function(S,_){var L=this._zlevelList,D,F;for(F=0;F<L.length;F++)D=L[F],S.call(_,this._layers[D],D)},eachBuiltinLayer:function(S,_){var L=this._zlevelList,D,F,j;for(j=0;j<L.length;j++)F=L[j],D=this._layers[F],D.__builtin__&&S.call(_,D,F)},eachOtherLayer:function(S,_){var L=this._zlevelList,D,F,j;for(j=0;j<L.length;j++)F=L[j],D=this._layers[F],D.__builtin__||S.call(_,D,F)},getLayers:function(){return this._layers},_updateLayerStatus:function(S){this.eachBuiltinLayer(function(B,V){B.__dirty=B.__used=!1});function _(B){F&&(F.__endIndex!==B&&(F.__dirty=!0),F.__endIndex=B)}if(this._singleCanvas)for(var L=1;L<S.length;L++){var D=S[L];if(D.zlevel!==S[L-1].zlevel||D.incremental){this._needsManuallyCompositing=!0;break}}for(var F=null,j=0,k,L=0;L<S.length;L++){var D=S[L],K=D.zlevel,Z;k!==K&&(k=K,j=0),D.incremental?(Z=this.getLayer(K+c,this._needsManuallyCompositing),Z.incremental=!0,j=1):Z=this.getLayer(K+(j>0?r:0),this._needsManuallyCompositing),Z.__builtin__||p("ZLevel "+K+" has been used by unkown layer "+Z.id),Z!==F&&(Z.__used=!0,Z.__startIndex!==L&&(Z.__dirty=!0),Z.__startIndex=L,Z.incremental?Z.__drawIndex=-1:Z.__drawIndex=L,_(L),F=Z),D.__dirty&&(Z.__dirty=!0,Z.incremental&&Z.__drawIndex<0&&(Z.__drawIndex=L))}_(L),this.eachBuiltinLayer(function(B,V){!B.__used&&B.getElementCount()>0&&(B.__dirty=!0,B.__startIndex=B.__endIndex=B.__drawIndex=0),B.__dirty&&B.__drawIndex<0&&(B.__drawIndex=B.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(S){S.clear()},setBackgroundColor:function(S){this._backgroundColor=S},configLayer:function(S,_){if(_){var L=this._layerConfig;L[S]?E.merge(L[S],_,!0):L[S]=_;for(var D=0;D<this._zlevelList.length;D++){var F=this._zlevelList[D];if(F===S||F===S+r){var j=this._layers[F];E.merge(j,L[S],!0)}}}},delLayer:function(S){var _=this._layers,L=this._zlevelList,D=_[S];if(!D)return;D.dom.parentNode.removeChild(D.dom),delete _[S],L.splice(E.indexOf(L,S),1)},resize:function(S,_){if(this._domRoot.style){var L=this._domRoot;L.style.display="none";var D=this._opts;if(S!=null&&(D.width=S),_!=null&&(D.height=_),S=this._getSize(0),_=this._getSize(1),L.style.display="",this._width!==S||_!==this._height){L.style.width=S+"px",L.style.height=_+"px";for(var F in this._layers)this._layers.hasOwnProperty(F)&&this._layers[F].resize(S,_);E.each(this._progressiveLayers,function(j){j.resize(S,_)}),this.refresh(!0)}this._width=S,this._height=_}else{if(S==null||_==null)return;this._width=S,this._height=_,this.getLayer(s).resize(S,_)}return this},clearLayer:function(S){var _=this._layers[S];_&&_.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[s].dom;var _=new d("image",this,S.pixelRatio||this.dpr);if(_.initContext(),_.clear(!1,S.backgroundColor||this._backgroundColor),S.pixelRatio<=this.dpr){this.refresh();var L=_.dom.width,D=_.dom.height,F=_.ctx;this.eachLayer(function(B){B.__builtin__?F.drawImage(B.dom,0,0,L,D):B.renderToCanvas&&(_.ctx.save(),B.renderToCanvas(_.ctx),_.ctx.restore())})}else for(var j={},k=this.storage.getDisplayList(!0),K=0;K<k.length;K++){var Z=k[K];this._doPaintEl(Z,_,!0,j)}return _.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(S){var _=this._opts,L=["width","height"][S],D=["clientWidth","clientHeight"][S],F=["paddingLeft","paddingTop"][S],j=["paddingRight","paddingBottom"][S];if(_[L]!=null&&_[L]!=="auto")return parseFloat(_[L]);var k=this.root,K=document.defaultView.getComputedStyle(k);return(k[D]||e(K[L])||e(k.style[L]))-(e(K[F])||0)-(e(K[j])||0)|0},pathToImage:function(S,_){_=_||this.dpr;var L=document.createElement("canvas"),D=L.getContext("2d"),F=S.getBoundingRect(),j=S.style,k=j.shadowBlur*_,K=j.shadowOffsetX*_,Z=j.shadowOffsetY*_,B=j.hasStroke()?j.lineWidth:0,V=Math.max(B/2,-K+k),z=Math.max(B/2,K+k),X=Math.max(B/2,-Z+k),W=Math.max(B/2,Z+k),q=F.width+V+z,Y=F.height+X+W;L.width=q*_,L.height=Y*_,D.scale(_,_),D.clearRect(0,0,q,Y),D.dpr=_;var re={position:S.position,rotation:S.rotation,scale:S.scale};S.position=[V-F.x,X-F.y],S.rotation=0,S.scale=[1,1],S.updateTransform(),S&&S.brush(D);var ne=n,we=new ne({style:{x:0,y:0,image:L}});return re.position!=null&&(we.position=S.position=re.position),re.rotation!=null&&(we.rotation=S.rotation=re.rotation),re.scale!=null&&(we.scale=S.scale=re.scale),we}};var T=C;U.exports=T},"7a+S":function(U,R,i){var y=i("bYtY"),m=i("bLfw"),E=i("YXkt"),p=i("4NO4"),v=m.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(d,l,n){this._data,this._names,this.mergeDefaultAndTheme(d,n),this._initData()},mergeOption:function(d){v.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(d){d==null&&(d=this.option.currentIndex);var l=this._data.count();this.option.loop?d=(d%l+l)%l:(d>=l&&(d=l-1),d<0&&(d=0)),this.option.currentIndex=d},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(d){this.option.autoPlay=!!d},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var d=this.option,l=d.data||[],n=d.axisType,t=this._names=[];if(n==="category"){var a=[];y.each(l,function(c,e){var o=p.getDataItemValue(c),u;y.isObject(c)?(u=y.clone(c),u.value=e):u=e,a.push(u),!y.isString(o)&&(o==null||isNaN(o))&&(o=""),t.push(o+"")}),l=a}var s={category:"ordinal",time:"time"}[n]||"number",r=this._data=new E([{name:"value",type:s}],this);r.initData(l,t)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),f=v;U.exports=f},"7aKB":function(U,R,i){var y=i("bYtY"),m=i("6GrX"),E=i("OELB");function p(x){return isNaN(x)?"-":(x=(x+"").split("."),x[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(x.length>1?"."+x[1]:""))}function v(x,C){return x=(x||"").toLowerCase().replace(/-(.)/g,function(T,O){return O.toUpperCase()}),C&&x&&(x=x.charAt(0).toUpperCase()+x.slice(1)),x}var f=y.normalizeCssArray,d=/([&<>"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function n(x){return x==null?"":(x+"").replace(d,function(C,T){return l[T]})}var t=["a","b","c","d","e","f","g"],a=function(x,C){return"{"+x+(C==null?"":C)+"}"};function s(x,C,T){y.isArray(C)||(C=[C]);var O=C.length;if(!O)return"";for(var S=C[0].$vars||[],_=0;_<S.length;_++){var L=t[_];x=x.replace(a(L),a(L,0))}for(var D=0;D<O;D++)for(var F=0;F<S.length;F++){var j=C[D][S[F]];x=x.replace(a(t[F],D),T?n(j):j)}return x}function r(x,C,T){return y.each(C,function(O,S){x=x.replace("{"+S+"}",T?n(O):O)}),x}function c(x,C){x=y.isString(x)?{color:x,extraCssText:C}:x||{};var T=x.color,O=x.type,C=x.extraCssText,S=x.renderMode||"html",_=x.markerId||"X";return T?S==="html"?O==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+n(T)+";"+(C||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+n(T)+";"+(C||"")+'"></span>':{renderMode:S,content:"{marker"+_+"|} ",style:{color:T}}:""}function e(x,C){return x+="","0000".substr(0,C-x.length)+x}function o(x,C,T){(x==="week"||x==="month"||x==="quarter"||x==="half-year"||x==="year")&&(x=`MM-dd
|
|
|
yyyy`);var O=E.parseDate(C),S=T?"UTC":"",_=O["get"+S+"FullYear"](),L=O["get"+S+"Month"]()+1,D=O["get"+S+"Date"](),F=O["get"+S+"Hours"](),j=O["get"+S+"Minutes"](),k=O["get"+S+"Seconds"](),K=O["get"+S+"Milliseconds"]();return x=x.replace("MM",e(L,2)).replace("M",L).replace("yyyy",_).replace("yy",_%100).replace("dd",e(D,2)).replace("d",D).replace("hh",e(F,2)).replace("h",F).replace("mm",e(j,2)).replace("m",j).replace("ss",e(k,2)).replace("s",k).replace("SSS",e(K,3)),x}function u(x){return x&&x.charAt(0).toUpperCase()+x.substr(1)}var h=m.truncateText;function g(x){return m.getBoundingRect(x.text,x.font,x.textAlign,x.textVerticalAlign,x.textPadding,x.textLineHeight,x.rich,x.truncate)}function A(x,C,T,O,S,_,L,D){return m.getBoundingRect(x,C,T,O,S,D,_,L)}function w(x,C){if(C==="_blank"||C==="blank"){var T=window.open();T.opener=null,T.location=x}else window.open(x,C)}R.addCommas=p,R.toCamelCase=v,R.normalizeCssArray=f,R.encodeHTML=n,R.formatTpl=s,R.formatTplSimple=r,R.getTooltipMarker=c,R.formatTime=o,R.capitalFirst=u,R.truncateText=h,R.getTextBoundingRect=g,R.getTextRect=A,R.windowOpen=w},"7bkD":function(U,R,i){var y=i("bYtY");function m(E,p){p=p||{};var v=E.coordinateSystem,f=E.axis,d={},l=f.position,n=f.orient,t=v.getRect(),a=[t.x,t.x+t.width,t.y,t.y+t.height],s={horizontal:{top:a[2],bottom:a[3]},vertical:{left:a[0],right:a[1]}};d.position=[n==="vertical"?s.vertical[l]:a[0],n==="horizontal"?s.horizontal[l]:a[3]];var r={horizontal:0,vertical:1};d.rotation=Math.PI/2*r[n];var c={top:-1,bottom:1,right:1,left:-1};d.labelDirection=d.tickDirection=d.nameDirection=c[l],E.get("axisTick.inside")&&(d.tickDirection=-d.tickDirection),y.retrieve(p.labelInside,E.get("axisLabel.inside"))&&(d.labelDirection=-d.labelDirection);var e=p.rotate;return e==null&&(e=E.get("axisLabel.rotate")),d.labelRotation=l==="top"?-e:e,d.z2=1,d}R.layout=m},"7hqr":function(U,R,i){var y=i("bYtY"),m=y.each,E=y.isString;function p(d,l,n){n=n||{};var t=n.byIndex,a=n.stackedCoordDimension,s=!!(d&&d.get("stack")),r,c,e,o;if(m(l,function(A,w){E(A)&&(l[w]=A={name:A}),s&&!A.isExtraCoord&&(!t&&!r&&A.ordinalMeta&&(r=A),!c&&A.type!=="ordinal"&&A.type!=="time"&&(!a||a===A.coordDim)&&(c=A))}),c&&!t&&!r&&(t=!0),c){e="__\0ecstackresult",o="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var u=c.coordDim,h=c.type,g=0;m(l,function(A){A.coordDim===u&&g++}),l.push({name:e,coordDim:u,coordDimIndex:g,type:h,isExtraCoord:!0,isCalculationCoord:!0}),g++,l.push({name:o,coordDim:o,coordDimIndex:g,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:c&&c.name,stackedByDimension:r&&r.name,isStackedByIndex:t,stackedOverDimension:o,stackResultDimension:e}}function v(d,l){return!!l&&l===d.getCalculationInfo("stackedDimension")}function f(d,l){return v(d,l)?d.getCalculationInfo("stackResultDimension"):l}R.enableDataStack=p,R.isDimensionStacked=v,R.getStackedDimension=f},"7mYs":function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("7aKB"),v=i("OELB"),f={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"]},d={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},l=y.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(n,t,a){var s=this.group;s.removeAll();var r=n.coordinateSystem,c=r.getRangeInfo(),e=r.getOrient();this._renderDayRect(n,c,s),this._renderLines(n,c,e,s),this._renderYearText(n,c,e,s),this._renderMonthText(n,e,s),this._renderWeekText(n,c,e,s)},_renderDayRect:function(n,t,a){for(var s=n.coordinateSystem,r=n.getModel("itemStyle").getItemStyle(),c=s.getCellWidth(),e=s.getCellHeight(),o=t.start.time;o<=t.end.time;o=s.getNextNDay(o,1).time){var u=s.dataToRect([o],!1).tl,h=new E.Rect({shape:{x:u[0],y:u[1],width:c,height:e},cursor:"default",style:r});a.add(h)}},_renderLines:function(n,t,a,s){var r=this,c=n.coordinateSystem,e=n.getModel("splitLine.lineStyle").getLineStyle(),o=n.get("splitLine.show"),u=e.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=t.start,g=0;h.time<=t.end.time;g++){w(h.formatedDate),g===0&&(h=c.getDateInfo(t.start.y+"-"+t.start.m));var A=h.date;A.setMonth(A.getMonth()+1),h=c.getDateInfo(A)}w(c.getNextNDay(t.end.time,1).formatedDate);function w(x){r._firstDayOfMonth.push(c.getDateInfo(x)),r._firstDayPoints.push(c.dataToRect([x],!1).tl);var C=r._getLinePointsOfOneWeek(n,x,a);r._tlpoints.push(C[0]),r._blpoints.push(C[C.length-1]),o&&r._drawSplitline(C,e,s)}o&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,u,a),e,s),o&&this._drawSplitline(r._getEdgesPoints(r._blpoints,u,a),e,s)},_getEdgesPoints:function(n,t,a){var s=[n[0].slice(),n[n.length-1].slice()],r=a==="horizontal"?0:1;return s[0][r]=s[0][r]-t/2,s[1][r]=s[1][r]+t/2,s},_drawSplitline:function(n,t,a){var s=new E.Polyline({z2:20,shape:{points:n},style:t});a.add(s)},_getLinePointsOfOneWeek:function(n,t,a){var s=n.coordinateSystem;t=s.getDateInfo(t);for(var r=[],c=0;c<7;c++){var e=s.getNextNDay(t.time,c),o=s.dataToRect([e.time],!1);r[2*e.day]=o.tl,r[2*e.day+1]=o[a==="horizontal"?"bl":"tr"]}return r},_formatterLabel:function(n,t){return typeof n=="string"&&n?p.formatTplSimple(n,t):typeof n=="function"?n(t):t.nameMap},_yearTextPositionControl:function(n,t,a,s,r){t=t.slice();var c=["center","bottom"];s==="bottom"?(t[1]+=r,c=["center","top"]):s==="left"?t[0]-=r:s==="right"?(t[0]+=r,c=["center","top"]):t[1]-=r;var e=0;return(s==="left"||s==="right")&&(e=Math.PI/2),{rotation:e,position:t,style:{textAlign:c[0],textVerticalAlign:c[1]}}},_renderYearText:function(n,t,a,s){var r=n.getModel("yearLabel");if(!r.get("show"))return;var c=r.get("margin"),e=r.get("position");e||(e=a!=="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,g=a==="horizontal"?0:1,A={top:[u,o[g][1]],bottom:[u,o[1-g][1]],left:[o[1-g][0],h],right:[o[g][0],h]},w=t.start.y;+t.end.y>+t.start.y&&(w=w+"-"+t.end.y);var x=r.get("formatter"),C={start:t.start.y,end:t.end.y,nameMap:w},T=this._formatterLabel(x,C),O=new E.Text({z2:30});E.setTextStyle(O.style,r,{text:T}),O.attr(this._yearTextPositionControl(O,A[e],a,e,c)),s.add(O)},_monthTextPositionControl:function(n,t,a,s,r){var c="left",e="top",o=n[0],u=n[1];return a==="horizontal"?(u=u+r,t&&(c="center"),s==="start"&&(e="bottom")):(o=o+r,t&&(e="middle"),s==="start"&&(c="right")),{x:o,y:u,textAlign:c,textVerticalAlign:e}},_renderMonthText:function(n,t,a){var s=n.getModel("monthLabel");if(!s.get("show"))return;var r=s.get("nameMap"),c=s.get("margin"),e=s.get("position"),o=s.get("align"),u=[this._tlpoints,this._blpoints];m.isString(r)&&(r=f[r.toUpperCase()]||[]);var h=e==="start"?0:1,g=t==="horizontal"?0:1;c=e==="start"?-c:c;for(var A=o==="center",w=0;w<u[h].length-1;w++){var x=u[h][w].slice(),C=this._firstDayOfMonth[w];if(A){var T=this._firstDayPoints[w];x[g]=(T[g]+u[0][w+1][g])/2}var O=s.get("formatter"),S=r[+C.m-1],_={yyyy:C.y,yy:(C.y+"").slice(2),MM:C.m,M:+C.m,nameMap:S},L=this._formatterLabel(O,_),D=new E.Text({z2:30});m.extend(E.setTextStyle(D.style,s,{text:L}),this._monthTextPositionControl(x,A,t,e,c)),a.add(D)}},_weekTextPositionControl:function(n,t,a,s,r){var c="center",e="middle",o=n[0],u=n[1],h=a==="start";return t==="horizontal"?(o=o+s+(h?1:-1)*r[0]/2,c=h?"right":"left"):(u=u+s+(h?1:-1)*r[1]/2,e=h?"bottom":"top"),{x:o,y:u,textAlign:c,textVerticalAlign:e}},_renderWeekText:function(n,t,a,s){var r=n.getModel("dayLabel");if(!r.get("show"))return;var c=n.coordinateSystem,e=r.get("position"),o=r.get("nameMap"),u=r.get("margin"),h=c.getFirstDayOfWeek();m.isString(o)&&(o=d[o.toUpperCase()]||[]);var g=c.getNextNDay(t.end.time,7-t.lweek).time,A=[c.getCellWidth(),c.getCellHeight()];u=v.parsePercent(u,A[a==="horizontal"?0:1]),e==="start"&&(g=c.getNextNDay(t.start.time,-(7+t.fweek)).time,u=-u);for(var w=0;w<7;w++){var x=c.getNextNDay(g,w),C=c.dataToRect([x.time],!1).center,T=w;T=Math.abs((w+h)%7);var O=new E.Text({z2:30});m.extend(E.setTextStyle(O.style,r,{text:o[T]}),this._weekTextPositionControl(C,a,e,u,A)),s.add(O)}}});U.exports=l},"7oTu":function(U,R,i){var y=i("IMiH"),m=i("QBsz"),E=m.applyTransform,p=y.CMD,v=[[],[],[]],f=Math.sqrt,d=Math.atan2;function l(n,t){var a=n.data,s,r,c,e,o,u,h=p.M,g=p.C,A=p.L,w=p.R,x=p.A,C=p.Q;for(c=0,e=0;c<a.length;){s=a[c++],e=c,r=0;switch(s){case h:r=1;break;case A:r=1;break;case g:r=3;break;case C:r=2;break;case x:var T=t[4],O=t[5],S=f(t[0]*t[0]+t[1]*t[1]),_=f(t[2]*t[2]+t[3]*t[3]),L=d(-t[1]/_,t[0]/S);a[c]*=S,a[c++]+=T,a[c]*=_,a[c++]+=O,a[c++]*=S,a[c++]*=_,a[c++]+=L,a[c++]+=L,c+=2,e=c;break;case w:u[0]=a[c++],u[1]=a[c++],E(u,u,t),a[e++]=u[0],a[e++]=u[1],u[0]+=a[c++],u[1]+=a[c++],E(u,u,t),a[e++]=u[0],a[e++]=u[1]}for(o=0;o<r;o++){var u=v[o];u[0]=a[c++],u[1]=a[c++],E(u,u,t),a[e++]=u[0],a[e++]=u[1]}}}U.exports=l},"7pVf":function(U,R,i){var y=i("ProS"),m=i("ZqQs");i("oE7X"),i("OUJF"),i("3X6L"),i("NH9N"),y.registerPreprocessor(m)},"7ph2":function(U,R){function i(E){return E instanceof Array||(E=[E,E]),E}var y="lineStyle.opacity".split("."),m={seriesType:"lines",reset:function(E,p,v){var f=i(E.get("symbol")),d=i(E.get("symbolSize")),l=E.getData();l.setVisual("fromSymbol",f&&f[0]),l.setVisual("toSymbol",f&&f[1]),l.setVisual("fromSymbolSize",d&&d[0]),l.setVisual("toSymbolSize",d&&d[1]),l.setVisual("opacity",E.get(y));function n(t,a){var s=t.getItemModel(a),r=i(s.getShallow("symbol",!0)),c=i(s.getShallow("symbolSize",!0)),e=s.get(y);r[0]&&t.setItemVisual(a,"fromSymbol",r[0]),r[1]&&t.setItemVisual(a,"toSymbol",r[1]),c[0]&&t.setItemVisual(a,"fromSymbolSize",c[0]),c[1]&&t.setItemVisual(a,"toSymbolSize",c[1]),t.setItemVisual(a,"opacity",e)}return{dataEach:l.hasItemOption?n:null}}};U.exports=m},"7uqq":function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("AUH6"),f=i("+TT/"),d=i("OELB"),l=i("W4dC"),n=i("7DRL");function t(c,e){var o=c.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 g=this.getBoundingRect(),A,w=c.get("layoutCenter"),x=c.get("layoutSize"),C=e.getWidth(),T=e.getHeight(),O=g.width/g.height*this.aspectScale,S=!1;w&&x&&(w=[d.parsePercent(w[0],C),d.parsePercent(w[1],T)],x=d.parsePercent(x,Math.min(C,T)),!isNaN(w[0])&&!isNaN(w[1])&&!isNaN(x)&&(S=!0));var _;if(S){var _={};O>1?(_.width=x,_.height=x/O):(_.height=x,_.width=x*O),_.y=w[1]-_.height/2,_.x=w[0]-_.width/2}else A=c.getBoxLayoutParams(),A.aspect=O,_=f.getLayoutRect(A,{width:C,height:T});this.setViewRect(_.x,_.y,_.width,_.height),this.setCenter(c.get("center")),this.setZoom(c.get("zoom"))}function a(c,e){p.each(e.get("geoCoord"),function(o,u){c.addGeoCoord(u,o)})}var s={dimensions:v.prototype.dimensions,create:function(c,e){var o=[];c.eachComponent("geo",function(h,g){var A=h.get("map"),w=h.get("aspectScale"),x=!0,C=n.retrieveMap(A);C&&C[0]&&C[0].type==="svg"?(w==null&&(w=1),x=!1):w==null&&(w=.75);var T=new v(A+g,A,h.get("nameMap"),x);T.aspectScale=w,T.zoomLimit=h.get("scaleLimit"),o.push(T),a(T,h),h.coordinateSystem=T,T.model=h,T.resize=t,T.resize(h,e)}),c.eachSeries(function(h){var g=h.get("coordinateSystem");if(g==="geo"){var A=h.get("geoIndex")||0;h.coordinateSystem=o[A]}});var u={};return c.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var g=h.getMapType();u[g]=u[g]||[],u[g].push(h)}}),p.each(u,function(h,g){var A=p.map(h,function(x){return x.get("nameMap")}),w=new v(g,g,p.mergeAll(A));w.zoomLimit=p.retrieve.apply(null,p.map(h,function(x){return x.get("scaleLimit")})),o.push(w),w.resize=t,w.aspectScale=h[0].get("aspectScale"),w.resize(h[0],e),p.each(h,function(x){x.coordinateSystem=w,a(w,x)})}),o},getFilledRegions:function(c,e,o){for(var u=(c||[]).slice(),h=p.createHashMap(),g=0;g<u.length;g++)h.set(u[g].name,u[g]);var A=l.load(e,o);return p.each(A.regions,function(w){var x=w.name;!h.get(x)&&u.push({name:x})}),u}};E.registerCoordinateSystem("geo",s);var r=s;U.exports=r},"7yuC":function(U,R,i){var y=i("QBsz"),m=y.scaleAndAdd;function E(p,v,f){for(var d=f.rect,l=d.width,n=d.height,t=[d.x+l/2,d.y+n/2],a=f.gravity==null?.1:f.gravity,s=0;s<p.length;s++){var r=p[s];r.p||(r.p=y.create(l*(Math.random()-.5)+t[0],n*(Math.random()-.5)+t[1])),r.pp=y.clone(r.p),r.edges=null}var c=f.friction==null?.6:f.friction,e=c;return{warmUp:function(){e=c*.8},setFixed:function(o){p[o].fixed=!0},setUnfixed:function(o){p[o].fixed=!1},step:function(o){for(var u=[],h=p.length,g=0;g<v.length;g++){var A=v[g];if(A.ignoreForceLayout)continue;var w=A.n1,x=A.n2;y.sub(u,x.p,w.p);var C=y.len(u)-A.d,T=x.w/(w.w+x.w);isNaN(T)&&(T=0),y.normalize(u,u),!w.fixed&&m(w.p,w.p,u,T*C*e),!x.fixed&&m(x.p,x.p,u,-(1-T)*C*e)}for(var g=0;g<h;g++){var O=p[g];O.fixed||(y.sub(u,t,O.p),m(O.p,O.p,u,a*e))}for(var g=0;g<h;g++)for(var w=p[g],S=g+1;S<h;S++){var x=p[S];y.sub(u,x.p,w.p);var C=y.len(u);C===0&&(y.set(u,Math.random()-.5,Math.random()-.5),C=1);var _=(w.rep+x.rep)/C/C;!w.fixed&&m(w.pp,w.pp,u,_),!x.fixed&&m(x.pp,x.pp,u,-_)}for(var L=[],g=0;g<h;g++){var O=p[g];O.fixed||(y.sub(L,O.p,O.pp),m(O.p,O.p,L,e),y.copy(O.pp,O.p))}e=e*.992,o&&o(p,v,e<.01)}}}R.forceLayout=E},"8+yF":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y={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},m={lookup:function(p){if(p>=32&&p<=255)return p;var v=y[p];return v!==void 0?v:16777216|p}};R.default=m},"815F":function(U,R,i){"use strict";i.d(R,"e",function(){return d}),i.d(R,"c",function(){return n}),i.d(R,"d",function(){return t}),i.d(R,"a",function(){return s}),i.d(R,"f",function(){return r}),i.d(R,"b",function(){return c});var y=i("KQm4"),m=i("VTBJ"),E=i("Ff2n"),p=i("Zm9Q"),v=i("Kwbf"),f=i("OZM5");function d(e,o){return e!=null?e:o}function l(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=new Map;function u(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(h||[]).forEach(function(A){var w=A.key,x=A.children;Object(v.a)(w!=null,"Tree node must have a certain key: [".concat(g).concat(w,"]"));var C=String(w);Object(v.a)(!o.has(C)||w===null||w===void 0,"Same 'key' exist in the Tree: ".concat(C)),o.set(C,!0),u(x,"".concat(g).concat(C," > "))})}u(e)}function n(e){function o(u){var h=Object(p.a)(u);return h.map(function(g){if(!Object(f.i)(g))return Object(v.a)(!g,"Tree/TreeNode can only accept TreeNode as children."),null;var A=g.key,w=g.props,x=w.children,C=Object(E.a)(w,["children"]),T=Object(m.a)({key:A},C),O=o(x);return O.length&&(T.children=O),T}).filter(function(g){return g})}return o(e)}function t(){var e=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 g(A){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return A.map(function(x,C){var T=Object(f.h)(w?w.pos:"0",C),O=d(x.key,T),S=Object(m.a)(Object(m.a)({},x),{},{parent:w,pos:T,children:null,data:x,isStart:[].concat(Object(y.a)(w?w.isStart:[]),[C===0]),isEnd:[].concat(Object(y.a)(w?w.isEnd:[]),[C===A.length-1])});return h.push(S),o===!0||u.has(O)?S.children=g(x.children||[],S):S.children=[],S})}return g(e),h}function a(e,o,u){var h;u?typeof u=="string"?h=function(w){return w[u]}:typeof u=="function"&&(h=function(w){return u(w)}):h=function(w,x){return d(w.key,x)};function g(A,w,x){var C=A?A.children:e,T=A?Object(f.h)(x.pos,w):"0";if(A){var O=h(A,T),S={node:A,index:w,pos:T,key:O,parentPos:x.node?x.pos:null,level:x.level+1};o(S)}C&&C.forEach(function(_,L){g(_,L,{node:A,pos:T,level:x?x.level+1:-1})})}g(null)}function s(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=o.initWrapper,h=o.processEntity,g=o.onProcessFinished,A=arguments.length>2?arguments[2]:void 0,w={},x={},C={posEntities:w,keyEntities:x};return u&&(C=u(C)||C),a(e,function(T){var O=T.node,S=T.index,_=T.pos,L=T.key,D=T.parentPos,F=T.level,j={node:O,index:S,key:L,pos:_,level:F},k=d(L,_);w[_]=j,x[k]=j,j.parent=w[D],j.parent&&(j.parent.children=j.parent.children||[],j.parent.children.push(j)),h&&h(j,C)},A),g&&g(C),C}function r(e,o){var u=o.expandedKeys,h=o.selectedKeys,g=o.loadedKeys,A=o.loadingKeys,w=o.checkedKeys,x=o.halfCheckedKeys,C=o.dragOverNodeKey,T=o.dropPosition,O=o.keyEntities,S=O[e],_={eventKey:e,expanded:u.indexOf(e)!==-1,selected:h.indexOf(e)!==-1,loaded:g.indexOf(e)!==-1,loading:A.indexOf(e)!==-1,checked:w.indexOf(e)!==-1,halfChecked:x.indexOf(e)!==-1,pos:String(S?S.pos:""),dragOver:C===e&&T===0,dragOverGapTop:C===e&&T===-1,dragOverGapBottom:C===e&&T===1};return _}function c(e){var o=e.data,u=e.expanded,h=e.selected,g=e.checked,A=e.loaded,w=e.loading,x=e.halfChecked,C=e.dragOver,T=e.dragOverGapTop,O=e.dragOverGapBottom,S=e.pos,_=e.active,L=Object(m.a)(Object(m.a)({},o),{},{expanded:u,selected:h,checked:g,loaded:A,loading:w,halfChecked:x,dragOver:C,dragOverGapTop:T,dragOverGapBottom:O,pos:S,active:_});return"props"in L||Object.defineProperty(L,"props",{get:function(){return Object(v.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),L}},"8CQX":function(U,R,i){"use strict";function y(c){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(o){return typeof o}:y=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},y(c)}Object.defineProperty(R,"__esModule",{value:!0}),R.getKeycode=a,R.getKey=s,R.getKeysym=r;var m=t(i("mHUz")),E=t(i("8+yF")),p=t(i("6Qwc")),v=t(i("gIYZ")),f=t(i("mTgk")),d=n(i("GdRQ"));function l(){if(typeof WeakMap!="function")return null;var c=new WeakMap;return l=function(){return c},c}function n(c){if(c&&c.__esModule)return c;if(c===null||y(c)!=="object"&&typeof c!="function")return{default:c};var e=l();if(e&&e.has(c))return e.get(c);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in c)if(Object.prototype.hasOwnProperty.call(c,h)){var g=u?Object.getOwnPropertyDescriptor(c,h):null;g&&(g.get||g.set)?Object.defineProperty(o,h,g):o[h]=c[h]}return o.default=c,e&&e.set(c,o),o}function t(c){return c&&c.__esModule?c:{default:c}}function a(c){if(c.code){switch(c.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return c.code}if(c.type!=="keypress"&&c.keyCode in p.default){var e=p.default[c.keyCode];if(d.isMac()&&e==="ContextMenu"&&(e="MetaRight"),c.location===2)switch(e){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(c.location===3)switch(e){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return e}return"Unidentified"}function s(c){if(c.key!==void 0){switch(c.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return c.char}switch(c.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(c.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(c.key==="\0"&&c.code==="NumpadDecimal")return"Delete";if(!d.isIE()&&!d.isEdge())return c.key;if(c.key.length!==1&&c.key!=="Unidentified")return c.key}var e=a(c);return e in v.default?v.default[e]:c.charCode?String.fromCharCode(c.charCode):"Unidentified"}function r(c){var e=s(c);if(e==="Unidentified")return null;if(e in f.default){var o=c.location;if(e==="Meta"&&o===0&&(o=2),e==="Clear"&&o===3){var u=a(c);u==="NumLock"&&(o=0)}if((o===void 0||o>3)&&(o=0),e==="Meta"){var h=a(c);if(h==="AltLeft")return m.default.XK_Meta_L;if(h==="AltRight")return m.default.XK_Meta_R}if(e==="Clear"){var g=a(c);if(g==="NumLock")return m.default.XK_Num_Lock}return f.default[e][o]}if(e.length!==1)return null;var A=e.charCodeAt();return A?E.default.lookup(A):null}},"8EBN":function(U,R,i){(function(y){y(i("VrN/"))})(function(y){"use strict";y.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 m=0;m<y.modeInfo.length;m++){var E=y.modeInfo[m];E.mimes&&(E.mime=E.mimes[0])}y.findModeByMIME=function(p){p=p.toLowerCase();for(var v=0;v<y.modeInfo.length;v++){var f=y.modeInfo[v];if(f.mime==p)return f;if(f.mimes){for(var d=0;d<f.mimes.length;d++)if(f.mimes[d]==p)return f}}if(/\+xml$/.test(p))return y.findModeByMIME("application/xml");if(/\+json$/.test(p))return y.findModeByMIME("application/json")},y.findModeByExtension=function(p){p=p.toLowerCase();for(var v=0;v<y.modeInfo.length;v++){var f=y.modeInfo[v];if(f.ext){for(var d=0;d<f.ext.length;d++)if(f.ext[d]==p)return f}}},y.findModeByFileName=function(p){for(var v=0;v<y.modeInfo.length;v++){var f=y.modeInfo[v];if(f.file&&f.file.test(p))return f}var d=p.lastIndexOf("."),l=d>-1&&p.substring(d+1,p.length);if(l)return y.findModeByExtension(l)},y.findModeByName=function(p){p=p.toLowerCase();for(var v=0;v<y.modeInfo.length;v++){var f=y.modeInfo[v];if(f.name.toLowerCase()==p)return f;if(f.alias){for(var d=0;d<f.alias.length;d++)if(f.alias[d].toLowerCase()==p)return f}}}})},"8IMR":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},"8ISB":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("6Hfg"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},"8K/p":function(U,R,i){"use strict";function y(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(r){return typeof r}:y=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},y(a)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=f(i("Lo0S")),E=p(i("ItS6"));function p(a){return a&&a.__esModule?a:{default:a}}function v(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return v=function(){return a},a}function f(a){if(a&&a.__esModule)return a;if(a===null||y(a)!=="object"&&typeof a!="function")return{default:a};var s=v();if(s&&s.has(a))return s.get(a);var r={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in a)if(Object.prototype.hasOwnProperty.call(a,e)){var o=c?Object.getOwnPropertyDescriptor(a,e):null;o&&(o.get||o.set)?Object.defineProperty(r,e,o):r[e]=a[e]}return r.default=a,s&&s.set(a,r),r}function d(a,s){if(!(a instanceof s))throw new TypeError("Cannot call a class as a function")}function l(a,s){for(var r=0;r<s.length;r++){var c=s[r];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}}function n(a,s,r){return s&&l(a.prototype,s),r&&l(a,r),a}var t=function(){function a(){d(this,a),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var s=0;s<4;s++)this._zlibs[s]=new E.default}return n(a,[{key:"decodeRect",value:function(r,c,e,o,u,h,g){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var A=0;A<4;A++)this._ctl>>A&1&&(this._zlibs[A].reset(),m.Info("Reset zlib stream "+A));this._ctl=this._ctl>>4}var w;if(this._ctl===8)w=this._fillRect(r,c,e,o,u,h,g);else if(this._ctl===9)w=this._jpegRect(r,c,e,o,u,h,g);else if(this._ctl===10)w=this._pngRect(r,c,e,o,u,h,g);else if((this._ctl&128)==0)w=this._basicRect(this._ctl,r,c,e,o,u,h,g);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return w&&(this._ctl=null),w}},{key:"_fillRect",value:function(r,c,e,o,u,h,g){if(u.rQwait("TIGHT",3))return!1;var A=u.rQi,w=u.rQ;return h.fillRect(r,c,e,o,[w[A+2],w[A+1],w[A]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(r,c,e,o,u,h,g){var A=this._readData(u);return A===null?!1:(h.imageRect(r,c,e,o,"image/jpeg",A),!0)}},{key:"_pngRect",value:function(r,c,e,o,u,h,g){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(r,c,e,o,u,h,g,A){if(this._filter===null)if(r&4){if(h.rQwait("TIGHT",1))return!1;this._filter=h.rQshift8()}else this._filter=0;var w=r&3,x;switch(this._filter){case 0:x=this._copyFilter(w,c,e,o,u,h,g,A);break;case 1:x=this._paletteFilter(w,c,e,o,u,h,g,A);break;case 2:x=this._gradientFilter(w,c,e,o,u,h,g,A);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return x&&(this._filter=null),x}},{key:"_copyFilter",value:function(r,c,e,o,u,h,g,A){var w=o*u*3,x;if(w<12){if(h.rQwait("TIGHT",w))return!1;x=h.rQshiftBytes(w)}else{if(x=this._readData(h),x===null)return!1;this._zlibs[r].setInput(x),x=this._zlibs[r].inflate(w),this._zlibs[r].setInput(null)}return g.blitRgbImage(c,e,o,u,x,0,!1),!0}},{key:"_paletteFilter",value:function(r,c,e,o,u,h,g,A){if(this._numColors===0){if(h.rQwait("TIGHT palette",1))return!1;var w=h.rQpeek8()+1,x=w*3;if(h.rQwait("TIGHT palette",1+x))return!1;this._numColors=w,h.rQskipBytes(1),h.rQshiftTo(this._palette,x)}var C=this._numColors<=2?1:8,T=Math.floor((o*C+7)/8),O=T*u,S;if(O<12){if(h.rQwait("TIGHT",O))return!1;S=h.rQshiftBytes(O)}else{if(S=this._readData(h),S===null)return!1;this._zlibs[r].setInput(S),S=this._zlibs[r].inflate(O),this._zlibs[r].setInput(null)}return this._numColors==2?this._monoRect(c,e,o,u,S,this._palette,g):this._paletteRect(c,e,o,u,S,this._palette,g),this._numColors=0,!0}},{key:"_monoRect",value:function(r,c,e,o,u,h,g){for(var A=this._getScratchBuffer(e*o*4),w=Math.floor((e+7)/8),x=Math.floor(e/8),C=0;C<o;C++){var T=void 0,O=void 0,S=void 0;for(S=0;S<x;S++)for(var _=7;_>=0;_--)T=(C*e+S*8+7-_)*4,O=(u[C*w+S]>>_&1)*3,A[T]=h[O],A[T+1]=h[O+1],A[T+2]=h[O+2],A[T+3]=255;for(var L=7;L>=8-e%8;L--)T=(C*e+S*8+7-L)*4,O=(u[C*w+S]>>L&1)*3,A[T]=h[O],A[T+1]=h[O+1],A[T+2]=h[O+2],A[T+3]=255}g.blitRgbxImage(r,c,e,o,A,0,!1)}},{key:"_paletteRect",value:function(r,c,e,o,u,h,g){for(var A=this._getScratchBuffer(e*o*4),w=e*o*4,x=0,C=0;x<w;x+=4,C++){var T=u[C]*3;A[x]=h[T],A[x+1]=h[T+1],A[x+2]=h[T+2],A[x+3]=255}g.blitRgbxImage(r,c,e,o,A,0,!1)}},{key:"_gradientFilter",value:function(r,c,e,o,u,h,g,A){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(r){if(this._len===0){if(r.rQwait("TIGHT",3))return null;var c;c=r.rQshift8(),this._len=c&127,c&128&&(c=r.rQshift8(),this._len|=(c&127)<<7,c&128&&(c=r.rQshift8(),this._len|=c<<14))}if(r.rQwait("TIGHT",this._len))return null;var e=r.rQshiftBytes(this._len);return this._len=0,e}},{key:"_getScratchBuffer",value:function(r){return(!this._scratchBuffer||this._scratchBuffer.length<r)&&(this._scratchBuffer=new Uint8Array(r)),this._scratchBuffer}}]),a}();R.default=t},"8OUc":function(U,R,i){"use strict";var y=i("q1tI"),m=i.n(y),E=i("TSYQ"),p=i.n(E),v=function(d){var l=d.className,n=d.customizeIcon,t=d.customizeIconProps,a=d.onMouseDown,s=d.onClick,r=d.children,c;return typeof n=="function"?c=n(t):c=n,y.createElement("span",{className:l,onMouseDown:function(o){o.preventDefault(),a&&a(o)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},c!==void 0?c:y.createElement("span",{className:p()(l.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},r))};R.a=v},"8SMY":function(U,R,i){var y=i("n4Lv"),m=y.prepareDataCoordInfo,E=y.getStackedOnPoint;function p(f,d){var l=[];return d.diff(f).add(function(n){l.push({cmd:"+",idx:n})}).update(function(n,t){l.push({cmd:"=",idx:t,idx1:n})}).remove(function(n){l.push({cmd:"-",idx:n})}).execute(),l}function v(f,d,l,n,t,a,s,r){for(var c=p(f,d),e=[],o=[],u=[],h=[],g=[],A=[],w=[],x=m(t,d,s),C=m(a,f,r),T=0;T<c.length;T++){var O=c[T],S=!0;switch(O.cmd){case"=":var _=f.getItemLayout(O.idx),L=d.getItemLayout(O.idx1);(isNaN(_[0])||isNaN(_[1]))&&(_=L.slice()),e.push(_),o.push(L),u.push(l[O.idx]),h.push(n[O.idx1]),w.push(d.getRawIndex(O.idx1));break;case"+":var D=O.idx;e.push(t.dataToPoint([d.get(x.dataDimsForPoint[0],D),d.get(x.dataDimsForPoint[1],D)])),o.push(d.getItemLayout(D).slice()),u.push(E(x,t,d,D)),h.push(n[D]),w.push(d.getRawIndex(D));break;case"-":var D=O.idx,F=f.getRawIndex(D);F!==D?(e.push(f.getItemLayout(D)),o.push(a.dataToPoint([f.get(C.dataDimsForPoint[0],D),f.get(C.dataDimsForPoint[1],D)])),u.push(l[D]),h.push(E(C,a,f,D)),w.push(F)):S=!1}S&&(g.push(O),A.push(A.length))}A.sort(function(V,z){return w[V]-w[z]});for(var j=[],k=[],K=[],Z=[],B=[],T=0;T<A.length;T++){var D=A[T];j[T]=e[D],k[T]=o[D],K[T]=u[D],Z[T]=h[D],B[T]=g[D]}return{current:j,next:k,stackedOnCurrent:K,stackedOnNext:Z,status:B}}U.exports=v},"8Skl":function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DownOutlined";var d=R.a=m.forwardRef(f)},"8Th4":function(U,R,i){var y=i("3LNs"),m=i("/y7N"),E=i("7bkD"),p=i("Znkb"),v=["x","y"],f=["width","height"],d=y.extend({makeElOption:function(s,r,c,e,o){var u=c.axis,h=u.coordinateSystem,g=t(h,1-n(u)),A=h.dataToPoint(r)[0],w=e.get("type");if(w&&w!=="none"){var x=m.buildElStyle(e),C=l[w](u,A,g);C.style=x,s.graphicKey=C.type,s.pointer=C}var T=E.layout(c);m.buildCartesianSingleLabelElOption(r,s,T,c,e,o)},getHandleTransform:function(s,r,c){var e=E.layout(r,{labelInside:!1});return e.labelMargin=c.get("handle.margin"),{position:m.getTransformedPosition(r.axis,s,e),rotation:e.rotation+(e.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(s,r,c,e){var o=c.axis,u=o.coordinateSystem,h=n(o),g=t(u,h),A=s.position;A[h]+=r[h],A[h]=Math.min(g[1],A[h]),A[h]=Math.max(g[0],A[h]);var w=t(u,1-h),x=(w[1]+w[0])/2,C=[x,x];return C[h]=A[h],{position:A,rotation:s.rotation,cursorPoint:C,tooltipOption:{verticalAlign:"middle"}}}}),l={line:function(s,r,c){var e=m.makeLineShape([r,c[0]],[r,c[1]],n(s));return{type:"Line",subPixelOptimize:!0,shape:e}},shadow:function(s,r,c){var e=s.getBandWidth(),o=c[1]-c[0];return{type:"Rect",shape:m.makeRectShape([r-e/2,c[0]],[e,o],n(s))}}};function n(s){return s.isHorizontal()?0:1}function t(s,r){var c=s.getRect();return[c[v[r]],c[v[r]]+c[f[r]]]}p.registerAxisPointerClass("SingleAxisPointer",d);var a=d;U.exports=a},"8Uz6":function(U,R,i){var y=i("hNWo"),m=i("+TT/"),E=m.mergeLayoutParam,p=m.getLayoutParams,v=y.extend({type:"legend.scroll",setScrollDataIndex:function(l){this.option.scrollDataIndex=l},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(l,n,t,a){var s=p(l);v.superCall(this,"init",l,n,t,a),f(this,l,s)},mergeOption:function(l,n){v.superCall(this,"mergeOption",l,n),f(this,this.option,l)}});function f(l,n,t){var a=l.getOrient(),s=[1,1];s[a.index]=0,E(n,t,{type:"box",ignoreSize:s})}var d=v;U.exports=d},"8X+K":function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("4mN7"),v=p.fromPoints,f=i("9wZj"),d=i("FBjb"),l=i("8SMY"),n=i("IwbS"),t=i("4NO4"),a=i("1NG9"),s=a.Polyline,r=a.Polygon,c=i("6Ic6"),e=i("n4Lv"),o=e.prepareDataCoordInfo,u=e.getStackedOnPoint,h=i("sK/D"),g=h.createGridClipPath,A=h.createPolarClipPath;function w(j,k){if(j.length!==k.length)return;for(var K=0;K<j.length;K++){var Z=j[K],B=k[K];if(Z[0]!==B[0]||Z[1]!==B[1])return}return!0}function x(j,k){var K=[],Z=[],B=[],V=[];return v(j,K,Z),v(k,B,V),Math.max(Math.abs(K[0]-B[0]),Math.abs(K[1]-B[1]),Math.abs(Z[0]-V[0]),Math.abs(Z[1]-V[1]))}function C(j){return typeof j=="number"?j:j?.5:0}function T(j,k,K){if(!K.valueDim)return[];for(var Z=[],B=0,V=k.count();B<V;B++)Z.push(u(K,j,k,B));return Z}function O(j,k,K){for(var Z=k.getBaseAxis(),B=Z.dim==="x"||Z.dim==="radius"?0:1,V=[],z=0;z<j.length-1;z++){var X=j[z+1],W=j[z];V.push(W);var q=[];switch(K){case"end":q[B]=X[B],q[1-B]=W[1-B],V.push(q);break;case"middle":var Y=(W[B]+X[B])/2,re=[];q[B]=re[B]=Y,q[1-B]=W[1-B],re[1-B]=X[1-B],V.push(q),V.push(re);break;default:q[B]=W[B],q[1-B]=X[1-B],V.push(q)}}return j[z]&&V.push(j[z]),V}function S(j,k){var K=j.getVisual("visualMeta");if(!K||!K.length||!j.count())return;if(k.type!=="cartesian2d")return;for(var Z,B,V=K.length-1;V>=0;V--){var z=K[V].dimension,X=j.dimensions[z],W=j.getDimensionInfo(X);if(Z=W&&W.coordDim,Z==="x"||Z==="y"){B=K[V];break}}if(!B)return;var q=k.getAxis(Z),Y=E.map(B.stops,function(We){return{coord:q.toGlobalCoord(q.dataToCoord(We.value)),color:We.color}}),re=Y.length,ne=B.outerColors.slice();re&&Y[0].coord>Y[re-1].coord&&(Y.reverse(),ne.reverse());var we=10,ie=Y[0].coord-we,me=Y[re-1].coord+we,_e=me-ie;if(_e<.001)return"transparent";E.each(Y,function(We){We.offset=(We.coord-ie)/_e}),Y.push({offset:re?Y[re-1].offset:.5,color:ne[1]||"transparent"}),Y.unshift({offset:re?Y[0].offset:.5,color:ne[0]||"transparent"});var Te=new n.LinearGradient(0,0,0,0,Y,!0);return Te[Z]=ie,Te[Z+"2"]=me,Te}function _(j,k,K){var Z=j.get("showAllSymbol"),B=Z==="auto";if(Z&&!B)return;var V=K.getAxesByScale("ordinal")[0];if(!V)return;if(B&&L(V,k))return;var z=k.mapDimension(V.dim),X={};return E.each(V.getViewLabels(),function(W){X[W.tickValue]=1}),function(W){return!X.hasOwnProperty(k.get(z,W))}}function L(j,k){var K=j.getExtent(),Z=Math.abs(K[1]-K[0])/j.scale.count();isNaN(Z)&&(Z=0);for(var B=k.count(),V=Math.max(1,Math.round(B/5)),z=0;z<B;z+=V)if(d.getSymbolSize(k,z)[j.isHorizontal()?1:0]*1.5>Z)return!1;return!0}function D(j,k,K){if(j.type==="cartesian2d"){var Z=j.getBaseAxis().isHorizontal(),B=g(j,k,K);if(!K.get("clip",!0)){var V=B.shape,z=Math.max(V.width,V.height);Z?(V.y-=z,V.height+=z*2):(V.x-=z,V.width+=z*2)}return B}else return A(j,k,K)}var F=c.extend({type:"line",init:function(){var j=new n.Group,k=new f;this.group.add(k.group),this._symbolDraw=k,this._lineGroup=j},render:function(j,k,K){var Z=j.coordinateSystem,B=this.group,V=j.getData(),z=j.getModel("lineStyle"),X=j.getModel("areaStyle"),W=V.mapArray(V.getItemLayout),q=Z.type==="polar",Y=this._coordSys,re=this._symbolDraw,ne=this._polyline,we=this._polygon,ie=this._lineGroup,me=j.get("animation"),_e=!X.isEmpty(),Te=X.get("origin"),We=o(Z,V,Te),Ae=T(Z,V,We),je=j.get("showSymbol"),ee=je&&!q&&_(j,V,Z),he=this._data;he&&he.eachItemGraphicEl(function(fe,Be){fe.__temp&&(B.remove(fe),he.setItemGraphicEl(Be,null))}),je||re.remove(),B.add(ie);var Ze=!q&&j.get("step"),oe;Z&&Z.getArea&&j.get("clip",!0)&&(oe=Z.getArea(),oe.width!=null?(oe.x-=.1,oe.y-=.1,oe.width+=.2,oe.height+=.2):oe.r0&&(oe.r0-=.5,oe.r1+=.5)),this._clipShapeForSymbol=oe,ne&&Y.type===Z.type&&Ze===this._step?(_e&&!we?we=this._newPolygon(W,Ae,Z,me):we&&!_e&&(ie.remove(we),we=this._polygon=null),ie.setClipPath(D(Z,!1,j)),je&&re.updateData(V,{isIgnore:ee,clipShape:oe}),V.eachItemGraphicEl(function(fe){fe.stopAnimation(!0)}),(!w(this._stackedOnPoints,Ae)||!w(this._points,W))&&(me?this._updateAnimation(V,Ae,Z,K,Ze,Te):(Ze&&(W=O(W,Z,Ze),Ae=O(Ae,Z,Ze)),ne.setShape({points:W}),we&&we.setShape({points:W,stackedOnPoints:Ae})))):(je&&re.updateData(V,{isIgnore:ee,clipShape:oe}),Ze&&(W=O(W,Z,Ze),Ae=O(Ae,Z,Ze)),ne=this._newPolyline(W,Z,me),_e&&(we=this._newPolygon(W,Ae,Z,me)),ie.setClipPath(D(Z,!0,j)));var Q=S(V,Z)||V.getVisual("color");ne.useStyle(E.defaults(z.getLineStyle(),{fill:"none",stroke:Q,lineJoin:"bevel"}));var G=j.get("smooth");if(G=C(j.get("smooth")),ne.setShape({smooth:G,smoothMonotone:j.get("smoothMonotone"),connectNulls:j.get("connectNulls")}),we){var te=V.getCalculationInfo("stackedOnSeries"),xe=0;we.useStyle(E.defaults(X.getAreaStyle(),{fill:Q,opacity:.7,lineJoin:"bevel"})),te&&(xe=C(te.get("smooth"))),we.setShape({smooth:G,stackedOnSmooth:xe,smoothMonotone:j.get("smoothMonotone"),connectNulls:j.get("connectNulls")})}this._data=V,this._coordSys=Z,this._stackedOnPoints=Ae,this._points=W,this._step=Ze,this._valueOrigin=Te},dispose:function(){},highlight:function(j,k,K,Z){var B=j.getData(),V=t.queryDataIndex(B,Z);if(!(V instanceof Array)&&V!=null&&V>=0){var z=B.getItemGraphicEl(V);if(!z){var X=B.getItemLayout(V);if(!X)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(X[0],X[1]))return;z=new d(B,V),z.position=X,z.setZ(j.get("zlevel"),j.get("z")),z.ignore=isNaN(X[0])||isNaN(X[1]),z.__temp=!0,B.setItemGraphicEl(V,z),z.stopSymbolAnimation(!0),this.group.add(z)}z.highlight()}else c.prototype.highlight.call(this,j,k,K,Z)},downplay:function(j,k,K,Z){var B=j.getData(),V=t.queryDataIndex(B,Z);if(V!=null&&V>=0){var z=B.getItemGraphicEl(V);z&&(z.__temp?(B.setItemGraphicEl(V,null),this.group.remove(z)):z.downplay())}else c.prototype.downplay.call(this,j,k,K,Z)},_newPolyline:function(j){var k=this._polyline;return k&&this._lineGroup.remove(k),k=new s({shape:{points:j},silent:!0,z2:10}),this._lineGroup.add(k),this._polyline=k,k},_newPolygon:function(j,k){var K=this._polygon;return K&&this._lineGroup.remove(K),K=new r({shape:{points:j,stackedOnPoints:k},silent:!0}),this._lineGroup.add(K),this._polygon=K,K},_updateAnimation:function(j,k,K,Z,B,V){var z=this._polyline,X=this._polygon,W=j.hostModel,q=l(this._data,j,this._stackedOnPoints,k,this._coordSys,K,this._valueOrigin,V),Y=q.current,re=q.stackedOnCurrent,ne=q.next,we=q.stackedOnNext;if(B&&(Y=O(q.current,K,B),re=O(q.stackedOnCurrent,K,B),ne=O(q.next,K,B),we=O(q.stackedOnNext,K,B)),x(Y,ne)>3e3||X&&x(re,we)>3e3){z.setShape({points:ne}),X&&X.setShape({points:ne,stackedOnPoints:we});return}z.shape.__points=q.current,z.shape.points=Y,n.updateProps(z,{shape:{points:ne}},W),X&&(X.setShape({points:Y,stackedOnPoints:re}),n.updateProps(X,{shape:{points:ne,stackedOnPoints:we}},W));for(var ie=[],me=q.status,_e=0;_e<me.length;_e++){var Te=me[_e].cmd;if(Te==="="){var We=j.getItemGraphicEl(me[_e].idx1);We&&ie.push({el:We,ptIdx:_e})}}z.animators&&z.animators.length&&z.animators[0].during(function(){for(var Ae=0;Ae<ie.length;Ae++){var je=ie[Ae].el;je.attr("position",z.shape.__points[ie[Ae].ptIdx])}})},remove:function(j){var k=this.group,K=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),K&&K.eachItemGraphicEl(function(Z,B){Z.__temp&&(k.remove(Z),K.setItemGraphicEl(B,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});U.exports=F},"8XDt":function(U,R,i){i("qH13");var y=i("aX58"),m=y.registerPainter,E=i("6fms");m("vml",E)},"8hn6":function(U,R){var i="#eee",y=function(){return{axisLine:{lineStyle:{color:i}},axisTick:{lineStyle:{color:i}},axisLabel:{textStyle:{color:i}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:i}}}},m=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],E={color:m,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:i},crossStyle:{color:i},label:{color:"#000"}}},legend:{textStyle:{color:i}},textStyle:{color:i},title:{textStyle:{color:i}},toolbox:{iconStyle:{normal:{borderColor:i}}},dataZoom:{textStyle:{color:i}},visualMap:{textStyle:{color:i}},timeline:{lineStyle:{color:i},itemStyle:{normal:{color:m[1]}},label:{normal:{textStyle:{color:i}}},controlStyle:{normal:{color:i,borderColor:i}}},timeAxis:y(),logAxis:y(),valueAxis:y(),categoryAxis:y(),line:{symbol:"circle"},graph:{color:m},gauge:{title:{textStyle:{color:i}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};E.categoryAxis.splitLine.show=!1;var p=E;U.exports=p},"8nMs":function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E=i("+rIm"),p=i("Znkb"),v=i("AVZG"),f=i("WN+l"),d=f.rectCoordAxisBuildSplitArea,l=f.rectCoordAxisHandleRemove,n=["axisLine","axisTickLabel","axisName"],t=["splitArea","splitLine","minorSplitLine"],a=p.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(s,r,c,e){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new m.Group,this.group.add(this._axisGroup),!s.get("show"))return;var u=s.getCoordSysModel(),h=v.layout(u,s),g=new E(s,h);y.each(n,g.add,g),this._axisGroup.add(g.getGroup()),y.each(t,function(A){s.get(A+".show")&&this["_"+A](s,u)},this),m.groupTransition(o,this._axisGroup,s),a.superCall(this,"render",s,r,c,e)},remove:function(){l(this)},_splitLine:function(s,r){var c=s.axis;if(c.scale.isBlank())return;var e=s.getModel("splitLine"),o=e.getModel("lineStyle"),u=o.get("color");u=y.isArray(u)?u:[u];for(var h=r.coordinateSystem.getRect(),g=c.isHorizontal(),A=0,w=c.getTicksCoords({tickModel:e}),x=[],C=[],T=o.getLineStyle(),O=0;O<w.length;O++){var S=c.toGlobalCoord(w[O].coord);g?(x[0]=S,x[1]=h.y,C[0]=S,C[1]=h.y+h.height):(x[0]=h.x,x[1]=S,C[0]=h.x+h.width,C[1]=S);var _=A++%u.length,L=w[O].tickValue;this._axisGroup.add(new m.Line({anid:L!=null?"line_"+w[O].tickValue:null,subPixelOptimize:!0,shape:{x1:x[0],y1:x[1],x2:C[0],y2:C[1]},style:y.defaults({stroke:u[_]},T),silent:!0}))}},_minorSplitLine:function(s,r){var c=s.axis,e=s.getModel("minorSplitLine"),o=e.getModel("lineStyle"),u=r.coordinateSystem.getRect(),h=c.isHorizontal(),g=c.getMinorTicksCoords();if(!g.length)return;for(var A=[],w=[],x=o.getLineStyle(),C=0;C<g.length;C++)for(var T=0;T<g[C].length;T++){var O=c.toGlobalCoord(g[C][T].coord);h?(A[0]=O,A[1]=u.y,w[0]=O,w[1]=u.y+u.height):(A[0]=u.x,A[1]=O,w[0]=u.x+u.width,w[1]=O),this._axisGroup.add(new m.Line({anid:"minor_line_"+g[C][T].tickValue,subPixelOptimize:!0,shape:{x1:A[0],y1:A[1],x2:w[0],y2:w[1]},style:x,silent:!0}))}},_splitArea:function(s,r){d(this,this._axisGroup,s,r)}});a.extend({type:"xAxis"}),a.extend({type:"yAxis"})},"8nly":function(U,R,i){var y=i("mFDi"),m=i("4mN7"),E=i("QBsz"),p=i("BlVb");function v(d,l,n){if(this.name=d,this.geometries=l,n)n=[n[0],n[1]];else{var t=this.getBoundingRect();n=[t.x+t.width/2,t.y+t.height/2]}this.center=n}v.prototype={constructor:v,properties:null,getBoundingRect:function(){var d=this._rect;if(d)return d;for(var l=Number.MAX_VALUE,n=[l,l],t=[-l,-l],a=[],s=[],r=this.geometries,c=0;c<r.length;c++){if(r[c].type!=="polygon")continue;var e=r[c].exterior;m.fromPoints(e,a,s),E.min(n,n,a),E.max(t,t,s)}return c===0&&(n[0]=n[1]=t[0]=t[1]=0),this._rect=new y(n[0],n[1],t[0]-n[0],t[1]-n[1])},contain:function(d){var l=this.getBoundingRect(),n=this.geometries;if(!l.contain(d[0],d[1]))return!1;e:for(var t=0,a=n.length;t<a;t++){if(n[t].type!=="polygon")continue;var s=n[t].exterior,r=n[t].interiors;if(p.contain(s,d[0],d[1])){for(var c=0;c<(r?r.length:0);c++)if(p.contain(r[c]))continue e;return!0}}return!1},transformTo:function(d,l,n,t){var a=this.getBoundingRect(),s=a.width/a.height;n?t||(t=n/s):n=s*t;for(var r=new y(d,l,n,t),c=a.calculateTransform(r),e=this.geometries,o=0;o<e.length;o++){if(e[o].type!=="polygon")continue;for(var u=e[o].exterior,h=e[o].interiors,g=0;g<u.length;g++)E.applyTransform(u[g],u[g],c);for(var A=0;A<(h?h.length:0);A++)for(var g=0;g<h[A].length;g++)E.applyTransform(h[A][g],h[A][g],c)}a=this._rect,a.copy(r),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(d){d==null&&(d=this.name);var l=new v(d,this.geometries,this.center);return l._rect=this._rect,l.transformTo=null,l}};var f=v;U.exports=f},"8waO":function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("iLNv"),p=i("ZWlE");i("hJvP"),i("IXyC"),i("xRUu");var v=5;y.extendComponentView({type:"parallel",render:function(l,n,t){this._model=l,this._api=t,this._handlers||(this._handlers={},m.each(f,function(a,s){t.getZr().on(s,this._handlers[s]=m.bind(a,this))},this)),E.createOrUpdate(this,"_throttledDispatchExpand",l.get("axisExpandRate"),"fixRate")},dispose:function(l,n){m.each(this._handlers,function(t,a){n.getZr().off(a,t)}),this._handlers=null},_throttledDispatchExpand:function(l){this._dispatchExpand(l)},_dispatchExpand:function(l){l&&this._api.dispatchAction(m.extend({type:"parallelAxisExpand"},l))}});var f={mousedown:function(l){d(this,"click")&&(this._mouseDownPoint=[l.offsetX,l.offsetY])},mouseup:function(l){var n=this._mouseDownPoint;if(d(this,"click")&&n){var t=[l.offsetX,l.offsetY],a=Math.pow(n[0]-t[0],2)+Math.pow(n[1]-t[1],2);if(a>v)return;var s=this._model.coordinateSystem.getSlidedAxisExpandWindow([l.offsetX,l.offsetY]);s.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:s.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(l){if(this._mouseDownPoint||!d(this,"mousemove"))return;var n=this._model,t=n.coordinateSystem.getSlidedAxisExpandWindow([l.offsetX,l.offsetY]),a=t.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(n.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:t.axisExpandWindow,animation:a==="jump"?null:!1})}};function d(l,n){var t=l._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===n}y.registerPreprocessor(p)},"8x+h":function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("K4ya"),f=i("Qxkt"),d=["#ddd"],l=E.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(a,s){var r=this.option;!s&&v.replaceVisualOption(r,a,["inBrush","outOfBrush"]);var c=r.inBrush=r.inBrush||{};r.outOfBrush=r.outOfBrush||{color:d},c.hasOwnProperty("liftZ")||(c.liftZ=5)},setAreas:function(a){if(!a)return;this.areas=p.map(a,function(s){return n(this.option,s)},this)},setBrushOption:function(a){this.brushOption=n(this.option,a),this.brushType=this.brushOption.brushType}});function n(a,s){return p.merge({brushType:a.brushType,brushMode:a.brushMode,transformable:a.transformable,brushStyle:new f(a.brushStyle).getItemStyle(),removeOnClick:a.removeOnClick,z:a.z},s,!0)}var t=l;U.exports=t},"8z0m":function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("RIqP"),p=i.n(E),v=i("pVnL"),f=i.n(v),d=i("J4zp"),l=i.n(d),n=i("q1tI"),t=i.n(n),a=i("TSYQ"),s=i.n(a);function r(_r,ur){var zt="cannot "+_r.method+" "+_r.action+" "+ur.status+"'",bt=new Error(zt);return bt.status=ur.status,bt.method=_r.method,bt.url=_r.action,bt}function c(_r){var ur=_r.responseText||_r.response;if(!ur)return ur;try{return JSON.parse(ur)}catch(zt){return ur}}function e(_r){var ur=new XMLHttpRequest;_r.onProgress&&ur.upload&&(ur.upload.onprogress=function(lr){lr.total>0&&(lr.percent=lr.loaded/lr.total*100),_r.onProgress(lr)});var zt=new FormData;_r.data&&Object.keys(_r.data).forEach(function(ot){var lr=_r.data[ot];if(Array.isArray(lr)){lr.forEach(function(jr){zt.append(ot+"[]",jr)});return}zt.append(ot,_r.data[ot])}),_r.file instanceof Blob?zt.append(_r.filename,_r.file,_r.file.name):zt.append(_r.filename,_r.file),ur.onerror=function(lr){_r.onError(lr)},ur.onload=function(){return ur.status<200||ur.status>=300?_r.onError(r(_r,ur),c(ur)):_r.onSuccess(c(ur),ur)},ur.open(_r.method,_r.action,!0),_r.withCredentials&&"withCredentials"in ur&&(ur.withCredentials=!0);var bt=_r.headers||{};return bt["X-Requested-With"]!==null&&ur.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(bt).forEach(function(ot){bt[ot]!==null&&ur.setRequestHeader(ot,bt[ot])}),ur.send(zt),{abort:function(){ur.abort()}}}var o=+new Date,u=0;function h(){return"rc-upload-"+o+"-"+ ++u}function g(_r,ur){return _r.indexOf(ur,_r.length-ur.length)!==-1}var A=function(_r,ur){if(_r&&ur){var zt=Array.isArray(ur)?ur:ur.split(","),bt=_r.name||"",ot=_r.type||"",lr=ot.replace(/\/.*$/,"");return zt.some(function(jr){var Rr=jr.trim();return Rr.charAt(0)==="."?g(bt.toLowerCase(),Rr.toLowerCase()):/\/\*$/.test(Rr)?lr===Rr.replace(/\/.*$/,""):ot===Rr})}return!0};function w(_r,ur){var zt=_r.createReader(),bt=[];function ot(){zt.readEntries(function(lr){var jr=Array.prototype.slice.apply(lr);bt=bt.concat(jr);var Rr=!jr.length;Rr?ur(bt):ot()})}ot()}var x=function(ur,zt,bt){var ot=function lr(jr,Rr){Rr=Rr||"",jr.isFile?jr.file(function(xr){bt(xr)&&(jr.fullPath&&!xr.webkitRelativePath&&(Object.defineProperties(xr,{webkitRelativePath:{writable:!0}}),xr.webkitRelativePath=jr.fullPath.replace(/^\//,""),Object.defineProperties(xr,{webkitRelativePath:{writable:!1}})),zt([xr]))}):jr.isDirectory&&w(jr,function(xr){xr.forEach(function(Vn){lr(Vn,""+Rr+jr.name+"/")})})};ur.forEach(function(lr){ot(lr.webkitGetAsEntry())})},C=x,T=Object.assign||function(_r){for(var ur=1;ur<arguments.length;ur++){var zt=arguments[ur];for(var bt in zt)Object.prototype.hasOwnProperty.call(zt,bt)&&(_r[bt]=zt[bt])}return _r},O=function(){function _r(ur,zt){var bt=[],ot=!0,lr=!1,jr=void 0;try{for(var Rr=ur[Symbol.iterator](),xr;!(ot=(xr=Rr.next()).done)&&!(bt.push(xr.value),zt&&bt.length===zt);ot=!0);}catch(Vn){lr=!0,jr=Vn}finally{try{!ot&&Rr.return&&Rr.return()}finally{if(lr)throw jr}}return bt}return function(ur,zt){if(Array.isArray(ur))return ur;if(Symbol.iterator in Object(ur))return _r(ur,zt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),S=function(){function _r(ur,zt){for(var bt=0;bt<zt.length;bt++){var ot=zt[bt];ot.enumerable=ot.enumerable||!1,ot.configurable=!0,"value"in ot&&(ot.writable=!0),Object.defineProperty(ur,ot.key,ot)}}return function(ur,zt,bt){return zt&&_r(ur.prototype,zt),bt&&_r(ur,bt),ur}}();function _(_r,ur,zt){return ur in _r?Object.defineProperty(_r,ur,{value:zt,enumerable:!0,configurable:!0,writable:!0}):_r[ur]=zt,_r}function L(_r,ur){var zt={};for(var bt in _r){if(ur.indexOf(bt)>=0)continue;if(!Object.prototype.hasOwnProperty.call(_r,bt))continue;zt[bt]=_r[bt]}return zt}function D(_r,ur){if(!(_r instanceof ur))throw new TypeError("Cannot call a class as a function")}function F(_r,ur){if(!_r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ur&&(typeof ur=="object"||typeof ur=="function")?ur:_r}function j(_r,ur){if(typeof ur!="function"&&ur!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ur);_r.prototype=Object.create(ur&&ur.prototype,{constructor:{value:_r,enumerable:!1,writable:!0,configurable:!0}}),ur&&(Object.setPrototypeOf?Object.setPrototypeOf(_r,ur):_r.__proto__=ur)}var k=function(ur){return Object.keys(ur).reduce(function(zt,bt){return(bt.substr(0,5)==="data-"||bt.substr(0,5)==="aria-"||bt==="role")&&(zt[bt]=ur[bt]),zt},{})},K=function(_r){j(ur,_r);function ur(){var zt,bt,ot,lr;D(this,ur);for(var jr=arguments.length,Rr=Array(jr),xr=0;xr<jr;xr++)Rr[xr]=arguments[xr];return lr=(bt=(ot=F(this,(zt=ur.__proto__||Object.getPrototypeOf(ur)).call.apply(zt,[this].concat(Rr))),ot),ot.state={uid:h()},ot.reqs={},ot.onChange=function(Vn){var bn=Vn.target.files;ot.uploadFiles(bn),ot.reset()},ot.onClick=function(Vn){var bn=ot.fileInput;if(!bn)return;var di=ot.props,lt=di.children,ct=di.onClick;lt&<.type==="button"&&(bn.parentNode.focus(),bn.parentNode.querySelector("button").blur()),bn.click(),ct&&ct(Vn)},ot.onKeyDown=function(Vn){Vn.key==="Enter"&&ot.onClick()},ot.onFileDrop=function(Vn){var bn=ot.props.multiple;if(Vn.preventDefault(),Vn.type==="dragover")return;if(ot.props.directory)C(Array.prototype.slice.call(Vn.dataTransfer.items),ot.uploadFiles,function(lt){return A(lt,ot.props.accept)});else{var di=Array.prototype.slice.call(Vn.dataTransfer.files).filter(function(lt){return A(lt,ot.props.accept)});bn===!1&&(di=di.slice(0,1)),ot.uploadFiles(di)}},ot.uploadFiles=function(Vn){var bn=Array.prototype.slice.call(Vn);bn.map(function(di){return di.uid=h(),di}).forEach(function(di){ot.upload(di,bn)})},ot.saveFileInput=function(Vn){ot.fileInput=Vn},bt),F(ot,lr)}return S(ur,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(bt,ot){var lr=this,jr=this.props;if(!jr.beforeUpload)return setTimeout(function(){return lr.post(bt)},0);var Rr=jr.beforeUpload(bt,ot);Rr&&Rr.then?Rr.then(function(xr){var Vn=Object.prototype.toString.call(xr);return Vn==="[object File]"||Vn==="[object Blob]"?lr.post(xr):lr.post(bt)}).catch(function(xr){console.log(xr)}):Rr!==!1&&setTimeout(function(){return lr.post(bt)},0);return}},{key:"post",value:function(bt){var ot=this;if(!this._isMounted)return;var lr=this.props,jr=lr.onStart,Rr=lr.onProgress,xr=lr.transformFile,Vn=xr===void 0?function(bn){return bn}:xr;new Promise(function(bn){var di=lr.action;return typeof di=="function"&&(di=di(bt)),bn(di)}).then(function(bn){var di=bt.uid,lt=lr.customRequest||e,ct=Promise.resolve(Vn(bt)).then(function(Le){var Ue=lr.data;return typeof Ue=="function"&&(Ue=Ue(Le)),Promise.all([Le,Ue])}).catch(function(Le){console.error(Le)});ct.then(function(Le){var Ue=O(Le,2),Ye=Ue[0],ft=Ue[1],ir={action:bn,filename:lr.name,data:ft,file:Ye,headers:lr.headers,withCredentials:lr.withCredentials,method:lr.method||"post",onProgress:Rr?function(Yt){Rr(Yt,bt)}:null,onSuccess:function(rr,Zr){delete ot.reqs[di],lr.onSuccess(rr,bt,Zr)},onError:function(rr,Zr){delete ot.reqs[di],lr.onError(rr,Zr,bt)}};jr(bt),ot.reqs[di]=lt(ir)})})}},{key:"reset",value:function(){this.setState({uid:h()})}},{key:"abort",value:function(bt){var ot=this.reqs;if(bt){var lr=bt;bt&&bt.uid&&(lr=bt.uid),ot[lr]&&ot[lr].abort&&ot[lr].abort(),delete ot[lr]}else Object.keys(ot).forEach(function(jr){ot[jr]&&ot[jr].abort&&ot[jr].abort(),delete ot[jr]})}},{key:"render",value:function(){var bt,ot=this.props,lr=ot.component,jr=ot.prefixCls,Rr=ot.className,xr=ot.disabled,Vn=ot.id,bn=ot.style,di=ot.multiple,lt=ot.accept,ct=ot.children,Le=ot.directory,Ue=ot.openFileDialogOnClick,Ye=ot.onMouseEnter,ft=ot.onMouseLeave,ir=L(ot,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Yt=s()((bt={},_(bt,jr,!0),_(bt,jr+"-disabled",xr),_(bt,Rr,Rr),bt)),rr=xr?{}:{onClick:Ue?this.onClick:function(){},onKeyDown:Ue?this.onKeyDown:function(){},onMouseEnter:Ye,onMouseLeave:ft,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return t.a.createElement(lr,T({},rr,{className:Yt,role:"button",style:bn}),t.a.createElement("input",T({},k(ir),{id:Vn,type:"file",ref:this.saveFileInput,onClick:function(nn){return nn.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:lt,directory:Le?"directory":null,webkitdirectory:Le?"webkitdirectory":null,multiple:di,onChange:this.onChange})),ct)}}]),ur}(n.Component),Z=K,B=Object.assign||function(_r){for(var ur=1;ur<arguments.length;ur++){var zt=arguments[ur];for(var bt in zt)Object.prototype.hasOwnProperty.call(zt,bt)&&(_r[bt]=zt[bt])}return _r},V=function(){function _r(ur,zt){for(var bt=0;bt<zt.length;bt++){var ot=zt[bt];ot.enumerable=ot.enumerable||!1,ot.configurable=!0,"value"in ot&&(ot.writable=!0),Object.defineProperty(ur,ot.key,ot)}}return function(ur,zt,bt){return zt&&_r(ur.prototype,zt),bt&&_r(ur,bt),ur}}();function z(_r,ur){if(!(_r instanceof ur))throw new TypeError("Cannot call a class as a function")}function X(_r,ur){if(!_r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ur&&(typeof ur=="object"||typeof ur=="function")?ur:_r}function W(_r,ur){if(typeof ur!="function"&&ur!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ur);_r.prototype=Object.create(ur&&ur.prototype,{constructor:{value:_r,enumerable:!1,writable:!0,configurable:!0}}),ur&&(Object.setPrototypeOf?Object.setPrototypeOf(_r,ur):_r.__proto__=ur)}function q(){}var Y=function(_r){W(ur,_r);function ur(){var zt,bt,ot,lr;z(this,ur);for(var jr=arguments.length,Rr=Array(jr),xr=0;xr<jr;xr++)Rr[xr]=arguments[xr];return lr=(bt=(ot=X(this,(zt=ur.__proto__||Object.getPrototypeOf(ur)).call.apply(zt,[this].concat(Rr))),ot),ot.saveUploader=function(Vn){ot.uploader=Vn},bt),X(ot,lr)}return V(ur,[{key:"abort",value:function(bt){this.uploader.abort(bt)}},{key:"render",value:function(){return t.a.createElement(Z,B({},this.props,{ref:this.saveUploader}))}}]),ur}(n.Component);Y.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:q,onError:q,onSuccess:q,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var re=Y,ne=re,we=function(_r,ur){var zt={};for(var bt in _r)Object.prototype.hasOwnProperty.call(_r,bt)&&ur.indexOf(bt)<0&&(zt[bt]=_r[bt]);if(_r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,bt=Object.getOwnPropertySymbols(_r);ot<bt.length;ot++)ur.indexOf(bt[ot])<0&&Object.prototype.propertyIsEnumerable.call(_r,bt[ot])&&(zt[bt[ot]]=_r[bt[ot]]);return zt},ie=function(ur,zt){var bt=ur.style,ot=ur.height,lr=we(ur,["style","height"]);return n.createElement(yr,f()({ref:zt},lr,{type:"drag",style:f()(f()({},bt),{height:ot})}))},me=n.forwardRef(ie);me.displayName="Dragger";var _e=me,Te=i("MFj2"),We=i("gZBC"),Ae=i.n(We),je=i("+d4F"),ee=i.n(je),he=i("XAae"),Ze=i.n(he),oe=i("6xvX"),Q=i.n(oe),G=i("qPY4"),te=i.n(G),xe=i("QB+1"),fe=i.n(xe),Be=i("Qs3X"),Ne=i.n(Be),de=i("0n0R");function ve(){return!0}function Me(_r){return f()(f()({},_r),{lastModified:_r.lastModified,lastModifiedDate:_r.lastModifiedDate,name:_r.name,size:_r.size,type:_r.type,uid:_r.uid,percent:0,originFileObj:_r})}function qe(_r,ur){var zt=_r.uid!==void 0?"uid":"name";return ur.filter(function(bt){return bt[zt]===_r[zt]})[0]}function gt(_r,ur){var zt=_r.uid!==void 0?"uid":"name",bt=ur.filter(function(ot){return ot[zt]!==_r[zt]});return bt.length===ur.length?null:bt}var ht=function(){var ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",zt=ur.split("/"),bt=zt[zt.length-1],ot=bt.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(ot)||[""])[0]},Pe=function(ur){return ur.indexOf("image/")===0},It=function(ur){if(ur.type&&!ur.thumbUrl)return Pe(ur.type);var zt=ur.thumbUrl||ur.url,bt=ht(zt);return/^data:image\//.test(zt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(bt)?!0:/^data:/.test(zt)?!1:!bt},nt=200;function Nt(_r){return new Promise(function(ur){if(!_r.type||!Pe(_r.type)){ur("");return}var zt=document.createElement("canvas");zt.width=nt,zt.height=nt,zt.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(nt,"px; height: ").concat(nt,"px; z-index: 9999; display: none;"),document.body.appendChild(zt);var bt=zt.getContext("2d"),ot=new Image;ot.onload=function(){var lr=ot.width,jr=ot.height,Rr=nt,xr=nt,Vn=0,bn=0;lr<jr?(xr=jr*(nt/lr),bn=-(xr-Rr)/2):(Rr=lr*(nt/jr),Vn=-(Rr-xr)/2),bt.drawImage(ot,Vn,bn,Rr,xr);var di=zt.toDataURL();document.body.removeChild(zt),ur(di)},ot.src=window.URL.createObjectURL(_r)})}var Bt=i("3S7+"),Pt=i("CFYs"),jt=i("H84U"),er=i("2/Rp"),at=i("hkKa"),Ce=function(ur,zt){var bt,ot=ur.listType,lr=ur.previewFile,jr=ur.onPreview,Rr=ur.onDownload,xr=ur.onRemove,Vn=ur.locale,bn=ur.iconRender,di=ur.isImageUrl,lt=ur.prefixCls,ct=ur.items,Le=ct===void 0?[]:ct,Ue=ur.showPreviewIcon,Ye=ur.showRemoveIcon,ft=ur.showDownloadIcon,ir=ur.removeIcon,Yt=ur.downloadIcon,rr=ur.progress,Zr=Object(at.a)();n.useEffect(function(){if(ot!=="picture"&&ot!=="picture-card")return;(Le||[]).forEach(function(Sr){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Sr.originFileObj instanceof File||Sr.originFileObj instanceof Blob)||Sr.thumbUrl!==void 0)return;Sr.thumbUrl="",lr&&lr(Sr.originFileObj).then(function(br){Sr.thumbUrl=br||"",Zr()})})},[ot,Le,lr]);var nn=function(br,hn){return jr?(hn.preventDefault(),jr(br)):void 0},Pn=function(br){typeof Rr=="function"?Rr(br):br.url&&window.open(br.url)},qt=function(br){xr&&xr(br)},St=function(br){if(bn)return bn(br,ot);var hn=br.status==="uploading",fn=di&&di(br)?n.createElement(Ze.a,null):n.createElement(Q.a,null),ni=hn?n.createElement(Ae.a,null):n.createElement(ee.a,null);return ot==="picture"?ni=hn?n.createElement(Ae.a,null):fn:ot==="picture-card"&&(ni=hn?Vn.uploading:fn),ni},At=function(br,hn,fn,ni){var mi={type:"text",size:"small",title:ni,onClick:function(aa){hn(),Object(de.b)(br)&&br.props.onClick&&br.props.onClick(aa)},className:"".concat(fn,"-list-item-card-actions-btn")};if(Object(de.b)(br)){var _i=Object(de.a)(br,f()(f()({},br.props),{onClick:function(){}}));return n.createElement(er.a,f()({},mi,{icon:_i}))}return n.createElement(er.a,mi,n.createElement("span",null,br))};n.useImperativeHandle(zt,function(){return{handlePreview:nn,handleDownload:Pn}});var cr=n.useContext(jt.b),or=cr.getPrefixCls,Tt=cr.direction,Rt=or("upload",lt),_t=Le.map(function(Sr){var br,hn,fn,ni=St(Sr),mi=n.createElement("div",{className:"".concat(Rt,"-text-icon")},ni);if(ot==="picture"||ot==="picture-card")if(Sr.status==="uploading"||!Sr.thumbUrl&&!Sr.url){var _i,Hi=s()((_i={},m()(_i,"".concat(Rt,"-list-item-thumbnail"),!0),m()(_i,"".concat(Rt,"-list-item-file"),Sr.status!=="uploading"),_i));mi=n.createElement("div",{className:Hi},ni)}else{var aa,Ra=di&&di(Sr)?n.createElement("img",{src:Sr.thumbUrl||Sr.url,alt:Sr.name,className:"".concat(Rt,"-list-item-image")}):ni,it=s()((aa={},m()(aa,"".concat(Rt,"-list-item-thumbnail"),!0),m()(aa,"".concat(Rt,"-list-item-file"),di&&!di(Sr)),aa));mi=n.createElement("a",{className:it,onClick:function(rn){return nn(Sr,rn)},href:Sr.url||Sr.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ra)}if(Sr.status==="uploading"){var Re="percent"in Sr?n.createElement(Pt.a,f()({},rr,{type:"line",percent:Sr.percent})):null;fn=n.createElement("div",{className:"".concat(Rt,"-list-item-progress"),key:"progress"},Re)}var Ke=s()((br={},m()(br,"".concat(Rt,"-list-item"),!0),m()(br,"".concat(Rt,"-list-item-").concat(Sr.status),!0),m()(br,"".concat(Rt,"-list-item-list-type-").concat(ot),!0),br)),Ge=typeof Sr.linkProps=="string"?JSON.parse(Sr.linkProps):Sr.linkProps,et=Ye?At(ir||n.createElement(fe.a,null),function(){return qt(Sr)},Rt,Vn.removeFile):null,$e=ft&&Sr.status==="done"?At(Yt||n.createElement(Ne.a,null),function(){return Pn(Sr)},Rt,Vn.downloadFile):null,st=ot!=="picture-card"&&n.createElement("span",{key:"download-delete",className:"".concat(Rt,"-list-item-card-actions ").concat(ot==="picture"?"picture":"")},$e,et),Lt=s()((hn={},m()(hn,"".concat(Rt,"-list-item-name"),!0),m()(hn,"".concat(Rt,"-list-item-name-icon-count-").concat([$e,et].filter(function(pn){return pn}).length),!0),hn)),vt=Sr.url?[n.createElement("a",f()({key:"view",target:"_blank",rel:"noopener noreferrer",className:Lt,title:Sr.name},Ge,{href:Sr.url,onClick:function(rn){return nn(Sr,rn)}}),Sr.name),st]:[n.createElement("span",{key:"view",className:Lt,onClick:function(rn){return nn(Sr,rn)},title:Sr.name},Sr.name),st],Qt={pointerEvents:"none",opacity:.5},Fr=Ue?n.createElement("a",{href:Sr.url||Sr.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Sr.url||Sr.thumbUrl?void 0:Qt,onClick:function(rn){return nn(Sr,rn)},title:Vn.previewFile},n.createElement(te.a,null)):null,Lr=ot==="picture-card"&&Sr.status!=="uploading"&&n.createElement("span",{className:"".concat(Rt,"-list-item-actions")},Fr,Sr.status==="done"&&$e,et),Gr;Sr.response&&typeof Sr.response=="string"?Gr=Sr.response:Gr=Sr.error&&Sr.error.statusText||Vn.uploadError;var $t=n.createElement("span",null,mi,vt),Rn=n.createElement("div",{className:Ke},n.createElement("div",{className:"".concat(Rt,"-list-item-info")},$t),Lr,n.createElement(Te.a,{transitionName:"fade",component:""},fn)),wr=s()(m()({},"".concat(Rt,"-list-picture-card-container"),ot==="picture-card"));return n.createElement("div",{key:Sr.uid,className:wr},Sr.status==="error"?n.createElement(Bt.a,{title:Gr,getPopupContainer:function(rn){return rn.parentNode}},Rn):n.createElement("span",null,Rn))}),Zt=s()((bt={},m()(bt,"".concat(Rt,"-list"),!0),m()(bt,"".concat(Rt,"-list-").concat(ot),!0),m()(bt,"".concat(Rt,"-list-rtl"),Tt==="rtl"),bt)),Nr=ot==="picture-card"?"animate-inline":"animate";return n.createElement(Te.a,{transitionName:"".concat(Rt,"-").concat(Nr),component:"div",className:Zt},_t)},ue=n.forwardRef(Ce);ue.displayName="UploadList",ue.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:Nt,isImageUrl:It};var Dt=ue,rt=i("YMnH"),ye=i("ZvpZ"),Xt=i("uaoM"),pr=i("sPtV"),mt=function(ur,zt){var bt,ot=ur.fileList,lr=ur.defaultFileList,jr=ur.onRemove,Rr=ur.showUploadList,xr=ur.listType,Vn=ur.onPreview,bn=ur.onDownload,di=ur.previewFile,lt=ur.disabled,ct=ur.locale,Le=ur.iconRender,Ue=ur.isImageUrl,Ye=ur.progress,ft=ur.prefixCls,ir=ur.className,Yt=ur.type,rr=ur.children,Zr=ur.style,nn=Object(pr.a)(ot||lr||[]),Pn=l()(nn,2),qt=Pn[0],St=Pn[1],At=n.useState("drop"),cr=l()(At,2),or=cr[0],Tt=cr[1],Rt=n.useRef();n.useEffect(function(){St(ot||lr||[]),Object(Xt.a)("fileList"in ur||!("value"in ur),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),n.useEffect(function(){"fileList"in ur&&St(ot||[])},[ot]);var _t=function(vt){"fileList"in ur||St(vt.fileList);var Qt=ur.onChange;Qt&&Qt(f()(f()({},vt),{fileList:p()(vt.fileList)}))},Zt=function(vt){var Qt=Me(vt);Qt.status="uploading";var Fr=qt().concat(),Lr=Fr.findIndex(function(Gr){var $t=Gr.uid;return $t===Qt.uid});Lr===-1?Fr.push(Qt):Fr[Lr]=Qt,_t({file:Qt,fileList:Fr})},Nr=function(vt,Qt,Fr){try{typeof vt=="string"&&(vt=JSON.parse(vt))}catch(Gr){}var Lr=qe(Qt,qt());if(!Lr)return;Lr.status="done",Lr.response=vt,Lr.xhr=Fr,_t({file:f()({},Lr),fileList:qt().concat()})},Sr=function(vt,Qt){var Fr=qe(Qt,qt());if(!Fr)return;Fr.percent=vt.percent,_t({event:vt,file:f()({},Fr),fileList:qt().concat()})},br=function(vt,Qt,Fr){var Lr=qe(Fr,qt());if(!Lr)return;Lr.error=vt,Lr.response=Qt,Lr.status="error",_t({file:f()({},Lr),fileList:qt().concat()})},hn=function(vt){Promise.resolve(typeof jr=="function"?jr(vt):jr).then(function(Qt){if(Qt===!1)return;var Fr=gt(vt,qt());Fr&&(vt.status="removed",Rt.current&&Rt.current.abort(vt),_t({file:vt,fileList:Fr}))})},fn=function(vt){Tt(vt.type)},ni=function(vt,Qt){var Fr=ur.beforeUpload;if(!Fr)return!0;var Lr=Fr(vt,Qt);if(Lr===!1){var Gr=[];return qt().concat(Qt.map(Me)).forEach(function($t){Gr.every(function(Rn){return Rn.uid!==$t.uid})&&Gr.push($t)}),_t({file:vt,fileList:Gr}),!1}return Lr&&Lr.then?Lr:!0},mi=Object(at.a)();n.useImperativeHandle(zt,function(){return{onStart:Zt,onSuccess:Nr,onProgress:Sr,onError:br,fileList:qt(),upload:Rt.current,forceUpdate:mi}});var _i=function(vt){var Qt=Rr.showRemoveIcon,Fr=Rr.showPreviewIcon,Lr=Rr.showDownloadIcon,Gr=Rr.removeIcon,$t=Rr.downloadIcon;return n.createElement(Dt,{listType:xr,items:qt(),previewFile:di,onPreview:Vn,onDownload:bn,onRemove:hn,showRemoveIcon:!lt&&Qt,showPreviewIcon:Fr,showDownloadIcon:Lr,removeIcon:Gr,downloadIcon:$t,iconRender:Le,locale:f()(f()({},vt),ct),isImageUrl:Ue,progress:Ye})},Hi=n.useContext(jt.b),aa=Hi.getPrefixCls,Ra=Hi.direction,it=aa("upload",ft),Re=f()(f()({onStart:Zt,onError:br,onProgress:Sr,onSuccess:Nr},ur),{prefixCls:it,beforeUpload:ni});delete Re.className,delete Re.style,(!rr||lt)&&delete Re.id;var Ke=Rr?n.createElement(rt.a,{componentName:"Upload",defaultLocale:ye.a.Upload},_i):null;if(Yt==="drag"){var Ge,et=s()(it,(Ge={},m()(Ge,"".concat(it,"-drag"),!0),m()(Ge,"".concat(it,"-drag-uploading"),qt().some(function(Lt){return Lt.status==="uploading"})),m()(Ge,"".concat(it,"-drag-hover"),or==="dragover"),m()(Ge,"".concat(it,"-disabled"),lt),m()(Ge,"".concat(it,"-rtl"),Ra==="rtl"),Ge),ir);return n.createElement("span",null,n.createElement("div",{className:et,onDrop:fn,onDragOver:fn,onDragLeave:fn,style:Zr},n.createElement(ne,f()({},Re,{ref:Rt,className:"".concat(it,"-btn")}),n.createElement("div",{className:"".concat(it,"-drag-container")},rr))),Ke)}var $e=s()(it,(bt={},m()(bt,"".concat(it,"-select"),!0),m()(bt,"".concat(it,"-select-").concat(xr),!0),m()(bt,"".concat(it,"-disabled"),lt),m()(bt,"".concat(it,"-rtl"),Ra==="rtl"),bt)),st=n.createElement("div",{className:$e,style:rr?void 0:{display:"none"}},n.createElement(ne,f()({},Re,{ref:Rt})));return xr==="picture-card"?n.createElement("span",{className:s()(ir,"".concat(it,"-picture-card-wrapper"))},Ke,st):n.createElement("span",{className:ir},st,Ke)},nr=n.forwardRef(mt);nr.Dragger=_e,nr.displayName="Upload",nr.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:ve,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var yr=nr;yr.Dragger=_e;var gn=R.a=yr},"98bh":function(U,R,i){var y=i("ProS"),m=i("5GtS"),E=i("bYtY"),p=i("4NO4"),v=i("OELB"),f=v.getPercentWithPrecision,d=i("cCMj"),l=i("KxfA"),n=l.retrieveRawAttr,t=i("D5nY"),a=t.makeSeriesEncodeForNameBased,s=i("xKMd"),r=y.extendSeriesModel({type:"series.pie",init:function(e){r.superApply(this,"init",arguments),this.legendVisualProvider=new s(E.bind(this.getData,this),E.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){r.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,o){return m(this,{coordDimensions:["value"],encodeDefaulter:E.curry(a,this)})},_createSelectableList:function(){for(var e=this.getRawData(),o=e.mapDimension("value"),u=[],h=0,g=e.count();h<g;h++)u.push({name:e.getName(h),value:e.get(o,h),selected:n(e,h,"selected")});return u},getDataParams:function(e){var o=this.getData(),u=r.superCall(this,"getDataParams",e),h=[];return o.each(o.mapDimension("value"),function(g){h.push(g)}),u.percent=f(h,e,o.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},_defaultLabelLine:function(e){p.defaultEmphasis(e,"labelLine",["show"]);var o=e.labelLine,u=e.emphasis.labelLine;o.show=o.show&&e.label.show,u.show=u.show&&e.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});E.mixin(r,d);var c=r;U.exports=c},"9H2F":function(U,R,i){var y=i("bYtY"),m=y.assert,E=y.isArray,p=i("Tghj"),v=p.__DEV__;function f(s){return new d(s)}function d(s){s=s||{},this._reset=s.reset,this._plan=s.plan,this._count=s.count,this._onDirty=s.onDirty,this._dirty=!0,this.context}var l=d.prototype;l.perform=function(s){var r=this._upstream,c=s&&s.skip;if(this._dirty&&r){var e=this.context;e.data=e.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!c&&(o=this._plan(this.context));var u=w(this._modBy),h=this._modDataCount||0,g=w(s&&s.modBy),A=s&&s.modDataCount||0;(u!==g||h!==A)&&(o="reset");function w(D){return!(D>=1)&&(D=1),D}var x;(this._dirty||o==="reset")&&(this._dirty=!1,x=a(this,c)),this._modBy=g,this._modDataCount=A;var C=s&&s.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var T=this._dueIndex,O=Math.min(C!=null?this._dueIndex+C:Infinity,this._dueEnd);if(!c&&(x||T<O)){var S=this._progress;if(E(S))for(var _=0;_<S.length;_++)t(this,S[_],T,O,g,A);else t(this,S,T,O,g,A)}this._dueIndex=O;var L=this._settedOutputEnd!=null?this._settedOutputEnd:O;this._outputDueEnd=L}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var n=function(){var s,r,c,e,o,u={reset:function(A,w,x,C){r=A,s=w,c=x,e=C,o=Math.ceil(e/c),u.next=c>1&&e>0?g:h}};return u;function h(){return r<s?r++:null}function g(){var A=r%o*c+Math.ceil(r/o),w=r>=s?null:A<e?A:r;return r++,w}}();l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function t(s,r,c,e,o,u){n.reset(c,e,o,u),s._callingProgress=r,s._callingProgress({start:c,end:e,count:e-c,next:n.next},s.context)}function a(s,r){s._dueIndex=s._outputDueEnd=s._dueEnd=0,s._settedOutputEnd=null;var c,e;!r&&s._reset&&(c=s._reset(s.context),c&&c.progress&&(e=c.forceFirstProgress,c=c.progress),E(c)&&!c.length&&(c=null)),s._progress=c,s._modBy=s._modDataCount=null;var o=s._downstream;return o&&o.dirty(),e}l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(s){(this._downstream!==s||this._dirty)&&(this._downstream=s,s._upstream=this,s.dirty())},l.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(s){this._outputDueEnd=this._settedOutputEnd=s},R.createTask=f},"9KIM":function(U,R,i){var y=i("mFDi"),m=i("xSat"),E=m.onIrrelevantElement,p=i("IwbS");function v(n){return n=l(n),function(t,a){return p.clipPointsByRect(t,n)}}function f(n,t){return n=l(n),function(a){var s=t!=null?t:a,r=s?n.width:n.height,c=s?n.x:n.y;return[c,c+(r||0)]}}function d(n,t,a){return n=l(n),function(s,r,c){return n.contain(r[0],r[1])&&!E(s,t,a)}}function l(n){return y.create(n)}R.makeRectPanelClipPath=v,R.makeLinearBrushOtherExtent=f,R.makeRectIsTargetByCursor=d},"9ama":function(U,R,i){},"9eas":function(U,R,i){i("HM/N"),i("tBnm")},"9hCq":function(U,R,i){var y=i("IwbS"),m=i("+TT/"),E=i("bYtY"),p=i("VaxA"),v=p.wrapTreePathInfo,f=8,d=8,l=5;function n(r){this.group=new y.Group,r.add(this.group)}n.prototype={constructor:n,render:function(r,c,e,o){var u=r.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!u.get("show")||!e)return;var g=u.getModel("itemStyle"),A=g.getModel("textStyle"),w={pos:{left:u.get("left"),right:u.get("right"),top:u.get("top"),bottom:u.get("bottom")},box:{width:c.getWidth(),height:c.getHeight()},emptyItemWidth:u.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(e,w,A),this._renderContent(r,w,g,A,o),m.positionElement(h,w.pos,w.box)},_prepare:function(r,c,e){for(var o=r;o;o=o.parentNode){var u=o.getModel().get("name"),h=e.getTextRect(u),g=Math.max(h.width+f*2,c.emptyItemWidth);c.totalWidth+=g+d,c.renderList.push({node:o,text:u,width:g})}},_renderContent:function(r,c,e,o,u){for(var h=0,g=c.emptyItemWidth,A=r.get("breadcrumb.height"),w=m.getAvailableSize(c.pos,c.box),x=c.totalWidth,C=c.renderList,T=C.length-1;T>=0;T--){var O=C[T],S=O.node,_=O.width,L=O.text;x>w.width&&(x-=_-g,_=g,L=null);var D=new y.Polygon({shape:{points:t(h,0,_,A,T===C.length-1,T===0)},style:E.defaults(e.getItemStyle(),{lineJoin:"bevel",text:L,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:E.curry(u,S)});this.group.add(D),a(D,r,S),h+=_+d}},remove:function(){this.group.removeAll()}};function t(r,c,e,o,u,h){var g=[[u?r:r-l,c],[r+e,c],[r+e,c+o],[u?r:r-l,c+o]];return!h&&g.splice(2,0,[r+e+l,c+o/2]),!u&&g.push([r,c+o/2]),g}function a(r,c,e){r.eventData={componentType:"series",componentSubType:"treemap",componentIndex:c.componentIndex,seriesIndex:c.componentIndex,seriesName:c.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&v(e,c)}}var s=n;U.exports=s},"9u0u":function(U,R,i){var y=i("bYtY");function m(p,v){var f={};return y.each(p,function(d){d.each(d.mapDimension("value"),function(l,n){var t="ec-"+d.getName(n);f[t]=f[t]||[],isNaN(l)||f[t].push(l)})}),p[0].map(p[0].mapDimension("value"),function(d,l){for(var n="ec-"+p[0].getName(l),t=0,a=Infinity,s=-Infinity,r=f[n].length,c=0;c<r;c++)a=Math.min(a,f[n][c]),s=Math.max(s,f[n][c]),t+=f[n][c];var e;return v==="min"?e=a:v==="max"?e=s:v==="average"?e=t/r:e=t,r===0?NaN:e})}function E(p){var v={};p.eachSeriesByType("map",function(f){var d=f.getHostGeoModel(),l=d?"o"+d.id:"i"+f.getMapType();(v[l]=v[l]||[]).push(f)}),y.each(v,function(f,d){for(var l=m(y.map(f,function(t){return t.getData()}),f[0].get("mapValueCalculation")),n=0;n<f.length;n++)f[n].originalData=f[n].getData();for(var n=0;n<f.length;n++)f[n].seriesGroup=f,f[n].needsDrawMap=n===0&&!f[n].getHostGeoModel(),f[n].setData(l.cloneShallow()),f[n].mainSeries=f[0]})}U.exports=E},"9wZj":function(U,R,i){var y=i("IwbS"),m=i("FBjb"),E=i("bYtY"),p=E.isObject;function v(a){this.group=new y.Group,this._symbolCtor=a||m}var f=v.prototype;function d(a,s,r,c){return s&&!isNaN(s[0])&&!isNaN(s[1])&&!(c.isIgnore&&c.isIgnore(r))&&!(c.clipShape&&!c.clipShape.contain(s[0],s[1]))&&a.getItemVisual(r,"symbol")!=="none"}f.updateData=function(a,s){s=l(s);var r=this.group,c=a.hostModel,e=this._data,o=this._symbolCtor,u=n(a);e||r.removeAll(),a.diff(e).add(function(h){var g=a.getItemLayout(h);if(d(a,g,h,s)){var A=new o(a,h,u);A.attr("position",g),a.setItemGraphicEl(h,A),r.add(A)}}).update(function(h,g){var A=e.getItemGraphicEl(g),w=a.getItemLayout(h);if(!d(a,w,h,s)){r.remove(A);return}A?(A.updateData(a,h,u),y.updateProps(A,{position:w},c)):(A=new o(a,h),A.attr("position",w)),r.add(A),a.setItemGraphicEl(h,A)}).remove(function(h){var g=e.getItemGraphicEl(h);g&&g.fadeOut(function(){r.remove(g)})}).execute(),this._data=a},f.isPersistent=function(){return!0},f.updateLayout=function(){var a=this._data;a&&a.eachItemGraphicEl(function(s,r){var c=a.getItemLayout(r);s.attr("position",c)})},f.incrementalPrepareUpdate=function(a){this._seriesScope=n(a),this._data=null,this.group.removeAll()},f.incrementalUpdate=function(a,s,r){r=l(r);function c(h){h.isGroup||(h.incremental=h.useHoverLayer=!0)}for(var e=a.start;e<a.end;e++){var o=s.getItemLayout(e);if(d(s,o,e,r)){var u=new this._symbolCtor(s,e,this._seriesScope);u.traverse(c),u.attr("position",o),this.group.add(u),s.setItemGraphicEl(e,u)}}};function l(a){return a!=null&&!p(a)&&(a={isIgnore:a}),a||{}}f.remove=function(a){var s=this.group,r=this._data;r&&a?r.eachItemGraphicEl(function(c){c.fadeOut(function(){s.remove(c)})}):s.removeAll()};function n(a){var s=a.hostModel;return{itemStyle:s.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:s.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:s.get("symbolRotate"),symbolOffset:s.get("symbolOffset"),hoverAnimation:s.get("hoverAnimation"),labelModel:s.getModel("label"),hoverLabelModel:s.getModel("emphasis.label"),cursorStyle:s.get("cursor")}}var t=v;U.exports=t},"9yH6":function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i("x1Ya"),d=i("TSYQ"),l=i.n(d),n=i("H84U"),t=v.createContext(null),a=t.Provider,s=t,r=i("cDf5"),c=i.n(r);function e(K,Z){typeof K=="function"?K(Z):c()(K)==="object"&&K&&"current"in K&&(K.current=Z)}function o(){for(var K=arguments.length,Z=new Array(K),B=0;B<K;B++)Z[B]=arguments[B];return function(V){Z.forEach(function(z){e(z,V)})}}var u=i("uaoM"),h=function(K,Z){var B={};for(var V in K)Object.prototype.hasOwnProperty.call(K,V)&&Z.indexOf(V)<0&&(B[V]=K[V]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,V=Object.getOwnPropertySymbols(K);z<V.length;z++)Z.indexOf(V[z])<0&&Object.prototype.propertyIsEnumerable.call(K,V[z])&&(B[V[z]]=K[V[z]]);return B},g=function(Z,B){var V,z=v.useContext(s),X=v.useContext(n.b),W=X.getPrefixCls,q=X.direction,Y=v.useRef(),re=o(B,Y);v.useEffect(function(){Object(u.a)(!("optionType"in Z),"Radio","`optionType` is only support in Radio.Group.")},[]);var ne=function(he){Z.onChange&&Z.onChange(he),(z==null?void 0:z.onChange)&&z.onChange(he)},we=Z.prefixCls,ie=Z.className,me=Z.children,_e=Z.style,Te=h(Z,["prefixCls","className","children","style"]),We=W("radio",we),Ae=p()({},Te);z&&(Ae.name=z.name,Ae.onChange=ne,Ae.checked=Z.value===z.value,Ae.disabled=Z.disabled||z.disabled);var je=l()(ie,(V={},m()(V,"".concat(We,"-wrapper"),!0),m()(V,"".concat(We,"-wrapper-checked"),Ae.checked),m()(V,"".concat(We,"-wrapper-disabled"),Ae.disabled),m()(V,"".concat(We,"-wrapper-rtl"),q==="rtl"),V));return v.createElement("label",{className:je,style:_e,onMouseEnter:Z.onMouseEnter,onMouseLeave:Z.onMouseLeave},v.createElement(f.a,p()({},Ae,{prefixCls:We,ref:re})),me!==void 0?v.createElement("span",null,me):null)},A=v.forwardRef(g);A.displayName="Radio",A.defaultProps={type:"radio"};var w=A,x=i("J4zp"),C=i.n(x),T=i("6cGi"),O=i("3Nzz"),S=v.forwardRef(function(K,Z){var B=v.useContext(n.b),V=B.getPrefixCls,z=B.direction,X=v.useContext(O.b),W=Object(T.a)(K.defaultValue,{value:K.value}),q=C()(W,2),Y=q[0],re=q[1],ne=function(me){var _e=Y,Te=me.target.value;"value"in K||re(Te);var We=K.onChange;We&&Te!==_e&&We(me)},we=function(){var me,_e=K.prefixCls,Te=K.className,We=Te===void 0?"":Te,Ae=K.options,je=K.optionType,ee=K.buttonStyle,he=K.disabled,Ze=K.children,oe=K.size,Q=K.style,G=K.id,te=K.onMouseEnter,xe=K.onMouseLeave,fe=V("radio",_e),Be="".concat(fe,"-group"),Ne=Ze;if(Ae&&Ae.length>0){var de=je==="button"?"".concat(fe,"-button"):fe;Ne=Ae.map(function(qe){return typeof qe=="string"?v.createElement(w,{ref:Z,key:qe,prefixCls:de,disabled:he,value:qe,checked:Y===qe},qe):v.createElement(w,{ref:Z,key:"radio-group-value-options-".concat(qe.value),prefixCls:de,disabled:qe.disabled||he,value:qe.value,checked:Y===qe.value,style:qe.style},qe.label)})}var ve=oe||X,Me=l()(Be,"".concat(Be,"-").concat(ee),(me={},m()(me,"".concat(Be,"-").concat(ve),ve),m()(me,"".concat(Be,"-rtl"),z==="rtl"),me),We);return v.createElement("div",{className:Me,style:Q,onMouseEnter:te,onMouseLeave:xe,id:G},Ne)};return v.createElement(a,{value:{onChange:ne,value:Y,disabled:K.disabled,name:K.name}},we())});S.defaultProps={buttonStyle:"outline"};var _=v.memo(S),L=function(K,Z){var B={};for(var V in K)Object.prototype.hasOwnProperty.call(K,V)&&Z.indexOf(V)<0&&(B[V]=K[V]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,V=Object.getOwnPropertySymbols(K);z<V.length;z++)Z.indexOf(V[z])<0&&Object.prototype.propertyIsEnumerable.call(K,V[z])&&(B[V[z]]=K[V[z]]);return B},D=function(Z,B){var V=v.useContext(s),z=v.useContext(n.b),X=z.getPrefixCls,W=Z.prefixCls,q=L(Z,["prefixCls"]),Y=X("radio-button",W);return V&&(q.checked=Z.value===V.value,q.disabled=Z.disabled||V.disabled),v.createElement(w,p()({prefixCls:Y},q,{type:"radio",ref:B}))},F=v.forwardRef(D),j=w;j.Button=F,j.Group=_;var k=R.a=j},A1Ka:function(U,R,i){var y=i("bLfw"),m=i("sS/r"),E=i("D5nY"),p=E.detectSourceFormat,v=i("k9D9"),f=v.SERIES_LAYOUT_BY_COLUMN;y.extend({type:"dataset",defaultOption:{seriesLayoutBy:f,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){p(this)}}),m.extend({type:"dataset"})},ABKa:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("Qs9O")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FolderOutlined";var l=p.forwardRef(d);R.default=l},AE9C:function(U,R,i){var y=i("bYtY"),m=i("crZl"),E=i("IwbS"),p=i("oVpE"),v=p.createSymbol,f=i("+TT/"),d=i("y7Aq"),l=m.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var a=this.visualMapModel,s=a.get("textGap"),r=a.textStyleModel,c=r.getFont(),e=r.getTextColor(),o=this._getItemAlign(),u=a.itemSize,h=this._getViewData(),g=h.endsText,A=y.retrieve(a.get("showLabel",!0),!g);g&&this._renderEndsText(t,g[0],u,A,o),y.each(h.viewPieceList,w,this),g&&this._renderEndsText(t,g[1],u,A,o),f.box(a.get("orient"),t,a.get("itemGap")),this.renderBackground(t),this.positionGroup(t);function w(x){var C=x.piece,T=new E.Group;T.onclick=y.bind(this._onItemClick,this,C),this._enableHoverLink(T,x.indexInModelPieceList);var O=a.getRepresentValue(C);if(this._createItemSymbol(T,O,[0,0,u[0],u[1]]),A){var S=this.visualMapModel.getValueState(O);T.add(new E.Text({style:{x:o==="right"?-s:u[0]+s,y:u[1]/2,text:C.text,textVerticalAlign:"middle",textAlign:o,textFont:c,textFill:e,opacity:S==="outOfRange"?.5:1}}))}t.add(T)}},_enableHoverLink:function(t,a){t.on("mouseover",y.bind(s,this,"highlight")).on("mouseout",y.bind(s,this,"downplay"));function s(r){var c=this.visualMapModel;c.option.hoverLink&&this.api.dispatchAction({type:r,batch:d.makeHighDownBatch(c.findTargetDataIndices(a),c)})}},_getItemAlign:function(){var t=this.visualMapModel,a=t.option;if(a.orient==="vertical")return d.getItemAlign(t,this.api,t.itemSize);var s=a.align;return(!s||s==="auto")&&(s="left"),s},_renderEndsText:function(t,a,s,r,c){if(!a)return;var e=new E.Group,o=this.visualMapModel.textStyleModel;e.add(new E.Text({style:{x:r?c==="right"?s[0]:0:s[0]/2,y:s[1]/2,textVerticalAlign:"middle",textAlign:r?c:"center",text:a,textFont:o.getFont(),textFill:o.getTextColor()}})),t.add(e)},_getViewData:function(){var t=this.visualMapModel,a=y.map(t.getPieceList(),function(e,o){return{piece:e,indexInModelPieceList:o}}),s=t.get("text"),r=t.get("orient"),c=t.get("inverse");return(r==="horizontal"?c:!c)?a.reverse():s&&(s=s.slice().reverse()),{viewPieceList:a,endsText:s}},_createItemSymbol:function(t,a,s){t.add(v(this.getControllerVisual(a,"symbol"),s[0],s[1],s[2],s[3],this.getControllerVisual(a,"color")))},_onItemClick:function(t){var a=this.visualMapModel,s=a.option,r=y.clone(s.selected),c=a.getSelectedMapKey(t);s.selectedMode==="single"?(r[c]=!0,y.each(r,function(e,o){r[o]=o===c})):r[c]=!r[c],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),n=l;U.exports=n},AEZ6:function(U,R,i){var y=i("bYtY"),m=y.each,E=y.createHashMap,p=i("T4UG"),v=i("MwEJ"),f=p.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(n,t){var a=this.getSource();return d(a,this),v(a,this)},getRawIndicesByActiveState:function(n){var t=this.coordinateSystem,a=this.getData(),s=[];return t.eachActiveState(a,function(r,c){n===r&&s.push(a.getRawIndex(c))}),s},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 d(n,t){if(n.encodeDefine)return;var a=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(!a)return;var s=n.encodeDefine=E();m(a.dimensions,function(r){var c=l(r);s.set(r,c)})}function l(n){return+n.replace("dim","")}U.exports=f},AH3D:function(U,R,i){var y=i("ProS");i("y4/Y"),i("qWt2"),i("Qvb6"),y.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),y.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("5GtS"),p=i("4NO4"),v=p.defaultEmphasis,f=i("D5nY"),d=f.makeSeriesEncodeForNameBased,l=i("xKMd"),n=y.extendSeriesModel({type:"series.funnel",init:function(a){n.superApply(this,"init",arguments),this.legendVisualProvider=new l(m.bind(this.getData,this),m.bind(this.getRawData,this)),this._defaultLabelLine(a)},getInitialData:function(a,s){return E(this,{coordDimensions:["value"],encodeDefaulter:m.curry(d,this)})},_defaultLabelLine:function(a){v(a,"labelLine",["show"]);var s=a.labelLine,r=a.emphasis.labelLine;s.show=s.show&&a.label.show,r.show=r.show&&a.emphasis.label.show},getDataParams:function(a){var s=this.getData(),r=n.superCall(this,"getDataParams",a),c=s.mapDimension("value"),e=s.getSum(c);return r.percent=e?+(s.get(c,a)/e*100).toFixed(2):0,r.$vars.push("percent"),r},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),t=n;U.exports=t},ANjR:function(U,R,i){var y=i("bYtY");function m(p,v){return v=v||[0,0],y.map([0,1],function(f){var d=v[f],l=p[f]/2,n=[],t=[];return n[f]=d-l,t[f]=d+l,n[1-f]=t[1-f]=v[1-f],Math.abs(this.dataToPoint(n)[f]-this.dataToPoint(t)[f])},this)}function E(p){var v=p.getBoundingRect();return{coordSys:{type:"geo",x:v.x,y:v.y,width:v.width,height:v.height,zoom:p.getZoom()},api:{coord:function(f){return p.dataToPoint(f)},size:y.bind(m,p)}}}U.exports=E},AOa7:function(U,R,i){},AUH6:function(U,R,i){var y=i("bYtY"),m=i("mFDi"),E=i("bMXI"),p=i("W4dC");function v(l,n,t,a){E.call(this,l),this.map=n;var s=p.load(n,t);this._nameCoordMap=s.nameCoordMap,this._regionsMap=s.regionsMap,this._invertLongitute=a==null?!0:a,this.regions=s.regions,this._rect=s.boundingRect}v.prototype={constructor:v,type:"geo",dimensions:["lng","lat"],containCoord:function(l){for(var n=this.regions,t=0;t<n.length;t++)if(n[t].contain(l))return!0;return!1},transformTo:function(l,n,t,a){var s=this.getBoundingRect(),r=this._invertLongitute;s=s.clone(),r&&(s.y=-s.y-s.height);var c=this._rawTransformable;if(c.transform=s.calculateTransform(new m(l,n,t,a)),c.decomposeTransform(),r){var e=c.scale;e[1]=-e[1]}c.updateTransform(),this._updateTransform()},getRegion:function(l){return this._regionsMap.get(l)},getRegionByCoord:function(l){for(var n=this.regions,t=0;t<n.length;t++)if(n[t].contain(l))return n[t]},addGeoCoord:function(l,n){this._nameCoordMap.set(l,n)},getGeoCoord:function(l){return this._nameCoordMap.get(l)},getBoundingRect:function(){return this._rect},dataToPoint:function(l,n,t){if(typeof l=="string"&&(l=this.getGeoCoord(l)),l)return E.prototype.dataToPoint.call(this,l,n,t)},convertToPixel:y.curry(f,"dataToPoint"),convertFromPixel:y.curry(f,"pointToData")},y.mixin(v,E);function f(l,n,t,a){var s=t.geoModel,r=t.seriesModel,c=s?s.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return c===this?c[l](a):null}var d=v;U.exports=d},AVZG:function(U,R,i){var y=i("bYtY");function m(E,p,v){v=v||{};var f=E.coordinateSystem,d=p.axis,l={},n=d.getAxesOnZeroOf()[0],t=d.position,a=n?"onZero":t,s=d.dim,r=f.getRect(),c=[r.x,r.x+r.width,r.y,r.y+r.height],e={left:0,right:1,top:0,bottom:1,onZero:2},o=p.get("offset")||0,u=s==="x"?[c[2]-o,c[3]+o]:[c[0]-o,c[1]+o];if(n){var h=n.toGlobalCoord(n.dataToCoord(0));u[e.onZero]=Math.max(Math.min(h,u[1]),u[0])}l.position=[s==="y"?u[e[a]]:c[0],s==="x"?u[e[a]]:c[3]],l.rotation=Math.PI/2*(s==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};l.labelDirection=l.tickDirection=l.nameDirection=g[t],l.labelOffset=n?u[e[t]]-u[e.onZero]:0,p.get("axisTick.inside")&&(l.tickDirection=-l.tickDirection),y.retrieve(v.labelInside,p.get("axisLabel.inside"))&&(l.labelDirection=-l.labelDirection);var A=p.get("axisLabel.rotate");return l.labelRotate=a==="top"?-A:A,l.z2=1,l}R.layout=m},"Ae+d":function(U,R){function i(m,E,p){var v=m.target,f=v.position;f[0]+=E,f[1]+=p,v.dirty()}function y(m,E,p,v){var f=m.target,d=m.zoomLimit,l=f.position,n=f.scale,t=m.zoom=m.zoom||1;if(t*=E,d){var a=d.min||0,s=d.max||Infinity;t=Math.max(Math.min(s,t),a)}var r=t/m.zoom;m.zoom=t,l[0]-=(p-l[0])*(r-1),l[1]-=(v-l[1])*(r-1),n[0]*=r,n[1]*=r,f.dirty()}R.updateViewOnPan=i,R.updateViewOnZoom=y},Ae16:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS");i("Wqna"),i("rySg"),y.extendComponentView({type:"grid",render:function(p,v){this.group.removeAll(),p.get("show")&&this.group.add(new E.Rect({shape:p.coordinateSystem.getRect(),style:m.defaults({fill:p.get("backgroundColor")},p.getItemStyle()),silent:!0,z2:-1}))}}),y.registerPreprocessor(function(p){p.xAxis&&p.yAxis&&!p.grid&&(p.grid={})})},Awhp:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("PQMj"),p=i.n(E)},"B+YJ":function(U,R,i){i("TYVI"),i("p1MT")},"B6l+":function(U,R,i){var y=i("Sq3C"),m=i("Z1HP"),E=i("Sxd8"),p=i("dt0z");function v(f,d,l){f=p(f),d=E(d);var n=d?m(f):0;return d&&n<d?f+y(d-n,l):f}U.exports=v},B9cy:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("0XgM"),p=i.n(E)},B9fm:function(U,R,i){var y=i("bYtY"),m=i("Qe9p"),E=i("YH21"),p=i("Ze12"),v=i("ItGF"),f=i("7aKB"),d=y.each,l=f.toCamelCase,n=["","-webkit-","-moz-","-o-"],t="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function a(u){var h="cubic-bezier(0.23, 1, 0.32, 1)",g="left "+u+"s "+h+",top "+u+"s "+h;return y.map(n,function(A){return A+"transition:"+g}).join(";")}function s(u){var h=[],g=u.get("fontSize"),A=u.getTextColor();return A&&h.push("color:"+A),h.push("font:"+u.getFont()),g&&h.push("line-height:"+Math.round(g*3/2)+"px"),d(["decoration","align"],function(w){var x=u.get(w);x&&h.push("text-"+w+":"+x)}),h.join(";")}function r(u){var h=[],g=u.get("transitionDuration"),A=u.get("backgroundColor"),w=u.getModel("textStyle"),x=u.get("padding");return g&&h.push(a(g)),A&&(v.canvasSupported?h.push("background-Color:"+A):(h.push("background-Color:#"+m.toHex(A)),h.push("filter:alpha(opacity=70)"))),d(["width","color","radius"],function(C){var T="border-"+C,O=l(T),S=u.get(O);S!=null&&h.push(T+":"+S+(C==="color"?"":"px"))}),h.push(s(w)),x!=null&&h.push("padding:"+f.normalizeCssArray(x).join("px ")+"px"),h.join(";")+";"}function c(u,h,g,A,w){var x=h&&h.painter;if(g){var C=x&&x.getViewportRoot();C&&p.transformLocalCoord(u,C,document.body,A,w)}else{u[0]=A,u[1]=w;var T=x&&x.getViewportRootOffset();T&&(u[0]+=T.offsetLeft,u[1]+=T.offsetTop)}}function e(u,h,g){if(v.wxa)return null;var A=document.createElement("div");A.domBelongToZr=!0,this.el=A;var w=this._zr=h.getZr(),x=this._appendToBody=g&&g.appendToBody;this._styleCoord=[0,0],c(this._styleCoord,w,x,h.getWidth()/2,h.getHeight()/2),x?document.body.appendChild(A):u.appendChild(A),this._container=u,this._show=!1,this._hideTimeout;var C=this;A.onmouseenter=function(){C._enterable&&(clearTimeout(C._hideTimeout),C._show=!0),C._inContent=!0},A.onmousemove=function(T){if(T=T||window.event,!C._enterable){var O=w.handler,S=w.painter.getViewportRoot();E.normalizeEvent(S,T,!0),O.dispatch("mousemove",T)}},A.onmouseleave=function(){C._enterable&&(C._show&&C.hideLater(C._hideDelay)),C._inContent=!1}}e.prototype={constructor:e,_enterable:!0,update:function(){var u=this._container,h=u.currentStyle||document.defaultView.getComputedStyle(u),g=u.style;g.position!=="absolute"&&h.position!=="absolute"&&(g.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var h=this.el,g=this._styleCoord;h.style.cssText=t+r(u)+";left:"+g[0]+"px;top:"+g[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 g=this._styleCoord;c(g,this._zr,this._appendToBody,u,h);var A=this.el.style;A.left=g[0]+"px",A.top=g[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(y.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 g=document.defaultView.getComputedStyle(this.el);g&&(u+=parseInt(g.borderLeftWidth,10)+parseInt(g.borderRightWidth,10),h+=parseInt(g.borderTopWidth,10)+parseInt(g.borderBottomWidth,10))}return{width:u,height:h}}};var o=e;U.exports=o},BPZU:function(U,R){var i=32,y=7,m=256;function E(a){for(var s=0;a>=i;)s|=a&1,a>>=1;return a+s}function p(a,s,r,c){var e=s+1;if(e===r)return 1;if(c(a[e++],a[s])<0){for(;e<r&&c(a[e],a[e-1])<0;)e++;v(a,s,e)}else for(;e<r&&c(a[e],a[e-1])>=0;)e++;return e-s}function v(a,s,r){for(r--;s<r;){var c=a[s];a[s++]=a[r],a[r--]=c}}function f(a,s,r,c,e){for(c===s&&c++;c<r;c++){for(var o=a[c],u=s,h=c,g;u<h;)g=u+h>>>1,e(o,a[g])<0?h=g:u=g+1;var A=c-u;switch(A){case 3:a[u+3]=a[u+2];case 2:a[u+2]=a[u+1];case 1:a[u+1]=a[u];break;default:for(;A>0;)a[u+A]=a[u+A-1],A--}a[u]=o}}function d(a,s,r,c,e,o){var u=0,h=0,g=1;if(o(a,s[r+e])>0){for(h=c-e;g<h&&o(a,s[r+e+g])>0;)u=g,g=(g<<1)+1,g<=0&&(g=h);g>h&&(g=h),u+=e,g+=e}else{for(h=e+1;g<h&&o(a,s[r+e-g])<=0;)u=g,g=(g<<1)+1,g<=0&&(g=h);g>h&&(g=h);var A=u;u=e-g,g=e-A}for(u++;u<g;){var w=u+(g-u>>>1);o(a,s[r+w])>0?u=w+1:g=w}return g}function l(a,s,r,c,e,o){var u=0,h=0,g=1;if(o(a,s[r+e])<0){for(h=e+1;g<h&&o(a,s[r+e-g])<0;)u=g,g=(g<<1)+1,g<=0&&(g=h);g>h&&(g=h);var A=u;u=e-g,g=e-A}else{for(h=c-e;g<h&&o(a,s[r+e+g])>=0;)u=g,g=(g<<1)+1,g<=0&&(g=h);g>h&&(g=h),u+=e,g+=e}for(u++;u<g;){var w=u+(g-u>>>1);o(a,s[r+w])<0?g=w:u=w+1}return g}function n(a,s){var r=y,c=0,e=m,o=0,u,h,g=0;c=a.length,c<2*m&&(e=c>>>1);var A=[];o=c<120?5:c<1542?10:c<119151?19:40,u=[],h=[];function w(_,L){u[g]=_,h[g]=L,g+=1}function x(){for(;g>1;){var _=g-2;if(_>=1&&h[_-1]<=h[_]+h[_+1]||_>=2&&h[_-2]<=h[_]+h[_-1])h[_-1]<h[_+1]&&_--;else if(h[_]>h[_+1])break;T(_)}}function C(){for(;g>1;){var _=g-2;_>0&&h[_-1]<h[_+1]&&_--,T(_)}}function T(_){var L=u[_],D=h[_],F=u[_+1],j=h[_+1];h[_]=D+j,_===g-3&&(u[_+1]=u[_+2],h[_+1]=h[_+2]),g--;var k=l(a[F],a,L,D,0,s);if(L+=k,D-=k,D===0)return;if(j=d(a[L+D-1],a,F,j,j-1,s),j===0)return;D<=j?O(L,D,F,j):S(L,D,F,j)}function O(_,L,D,F){var j=0;for(j=0;j<L;j++)A[j]=a[_+j];var k=0,K=D,Z=_;if(a[Z++]=a[K++],--F===0){for(j=0;j<L;j++)a[Z+j]=A[k+j];return}if(L===1){for(j=0;j<F;j++)a[Z+j]=a[K+j];a[Z+F]=A[k];return}for(var B=r,V,z,X;;){V=0,z=0,X=!1;do if(s(a[K],A[k])<0){if(a[Z++]=a[K++],z++,V=0,--F===0){X=!0;break}}else if(a[Z++]=A[k++],V++,z=0,--L===1){X=!0;break}while((V|z)<B);if(X)break;do{if(V=l(a[K],A,k,L,0,s),V!==0){for(j=0;j<V;j++)a[Z+j]=A[k+j];if(Z+=V,k+=V,L-=V,L<=1){X=!0;break}}if(a[Z++]=a[K++],--F===0){X=!0;break}if(z=d(A[k],a,K,F,0,s),z!==0){for(j=0;j<z;j++)a[Z+j]=a[K+j];if(Z+=z,K+=z,F-=z,F===0){X=!0;break}}if(a[Z++]=A[k++],--L===1){X=!0;break}B--}while(V>=y||z>=y);if(X)break;B<0&&(B=0),B+=2}if(r=B,r<1&&(r=1),L===1){for(j=0;j<F;j++)a[Z+j]=a[K+j];a[Z+F]=A[k]}else{if(L===0)throw new Error;for(j=0;j<L;j++)a[Z+j]=A[k+j]}}function S(_,L,D,F){var j=0;for(j=0;j<F;j++)A[j]=a[D+j];var k=_+L-1,K=F-1,Z=D+F-1,B=0,V=0;if(a[Z--]=a[k--],--L===0){for(B=Z-(F-1),j=0;j<F;j++)a[B+j]=A[j];return}if(F===1){for(Z-=L,k-=L,V=Z+1,B=k+1,j=L-1;j>=0;j--)a[V+j]=a[B+j];a[Z]=A[K];return}for(var z=r;;){var X=0,W=0,q=!1;do if(s(A[K],a[k])<0){if(a[Z--]=a[k--],X++,W=0,--L===0){q=!0;break}}else if(a[Z--]=A[K--],W++,X=0,--F===1){q=!0;break}while((X|W)<z);if(q)break;do{if(X=L-l(A[K],a,_,L,L-1,s),X!==0){for(Z-=X,k-=X,L-=X,V=Z+1,B=k+1,j=X-1;j>=0;j--)a[V+j]=a[B+j];if(L===0){q=!0;break}}if(a[Z--]=A[K--],--F===1){q=!0;break}if(W=F-d(a[k],A,0,F,F-1,s),W!==0){for(Z-=W,K-=W,F-=W,V=Z+1,B=K+1,j=0;j<W;j++)a[V+j]=A[B+j];if(F<=1){q=!0;break}}if(a[Z--]=a[k--],--L===0){q=!0;break}z--}while(X>=y||W>=y);if(q)break;z<0&&(z=0),z+=2}if(r=z,r<1&&(r=1),F===1){for(Z-=L,k-=L,V=Z+1,B=k+1,j=L-1;j>=0;j--)a[V+j]=a[B+j];a[Z]=A[K]}else{if(F===0)throw new Error;for(B=Z-(F-1),j=0;j<F;j++)a[B+j]=A[j]}}this.mergeRuns=x,this.forceMergeRuns=C,this.pushRun=w}function t(a,s,r,c){r||(r=0),c||(c=a.length);var e=c-r;if(e<2)return;var o=0;if(e<i){o=p(a,r,c,s),f(a,r,c,r+o,s);return}var u=new n(a,s),h=E(e);do{if(o=p(a,r,c,s),o<h){var g=e;g>h&&(g=h),f(a,r,r+g,r+o,s),o=g}u.pushRun(r,o),u.mergeRuns(),e-=o,r+=o}while(e!==0);u.forceMergeRuns()}U.exports=t},Bd2K:function(U,R,i){(function(y){y(i("VrN/"),i("osHv"))})(function(y){y.defineOption("autoCloseTags",!1,function(n,t,a){if(a!=y.Init&&a&&n.removeKeyMap("autoCloseTags"),!t)return;var s={name:"autoCloseTags"};(typeof t!="object"||t.whenClosing!==!1)&&(s["'/'"]=function(r){return f(r)}),(typeof t!="object"||t.whenOpening!==!1)&&(s["'>'"]=function(r){return p(r)}),n.addKeyMap(s)});var m=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],E=["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 p(n){if(n.getOption("disableInput"))return y.Pass;for(var t=n.listSelections(),a=[],s=n.getOption("autoCloseTags"),r=0;r<t.length;r++){if(!t[r].empty())return y.Pass;var c=t[r].head,e=n.getTokenAt(c),o=y.innerMode(n.getMode(),e.state),u=o.state,h=o.mode.xmlCurrentTag&&o.mode.xmlCurrentTag(u),g=h&&h.name;if(!g)return y.Pass;var A=o.mode.configuration=="html",w=typeof s=="object"&&s.dontCloseTags||A&&m,x=typeof s=="object"&&s.indentTags||A&&E;e.end>c.ch&&(g=g.slice(0,g.length-e.end+c.ch));var C=g.toLowerCase();if(!g||e.type=="string"&&(e.end!=c.ch||!/[\"\']/.test(e.string.charAt(e.string.length-1))||e.string.length==1)||e.type=="tag"&&h.close||e.string.indexOf("/")==c.ch-e.start-1||w&&d(w,C)>-1||l(n,o.mode.xmlCurrentContext&&o.mode.xmlCurrentContext(u)||[],g,c,!0))return y.Pass;var T=typeof s=="object"&&s.emptyTags;if(T&&d(T,g)>-1){a[r]={text:"/>",newPos:y.Pos(c.line,c.ch+2)};continue}var O=x&&d(x,C)>-1;a[r]={indent:O,text:">"+(O?`
|
|
|
|
|
|
`:"")+"</"+g+">",newPos:O?y.Pos(c.line+1,0):y.Pos(c.line,c.ch+1)}}for(var S=typeof s=="object"&&s.dontIndentOnAutoClose,r=t.length-1;r>=0;r--){var _=a[r];n.replaceRange(_.text,t[r].head,t[r].anchor,"+insert");var L=n.listSelections().slice(0);L[r]={head:_.newPos,anchor:_.newPos},n.setSelections(L),!S&&_.indent&&(n.indentLine(_.newPos.line,null,!0),n.indentLine(_.newPos.line+1,null,!0))}}function v(n,t){for(var a=n.listSelections(),s=[],r=t?"/":"</",c=n.getOption("autoCloseTags"),e=typeof c=="object"&&c.dontIndentOnSlash,o=0;o<a.length;o++){if(!a[o].empty())return y.Pass;var u=a[o].head,h=n.getTokenAt(u),g=y.innerMode(n.getMode(),h.state),A=g.state;if(t&&(h.type=="string"||h.string.charAt(0)!="<"||h.start!=u.ch-1))return y.Pass;var w,x=g.mode.name!="xml"&&n.getMode().name=="htmlmixed";if(x&&g.mode.name=="javascript")w=r+"script";else if(x&&g.mode.name=="css")w=r+"style";else{var C=g.mode.xmlCurrentContext&&g.mode.xmlCurrentContext(A);if(!C||C.length&&l(n,C,C[C.length-1],u))return y.Pass;w=r+C[C.length-1]}n.getLine(u.line).charAt(h.end)!=">"&&(w+=">"),s[o]=w}if(n.replaceSelections(s),a=n.listSelections(),!e)for(var o=0;o<a.length;o++)(o==a.length-1||a[o].head.line<a[o+1].head.line)&&n.indentLine(a[o].head.line)}function f(n){return n.getOption("disableInput")?y.Pass:v(n,!0)}y.commands.closeTag=function(n){return v(n)};function d(n,t){if(n.indexOf)return n.indexOf(t);for(var a=0,s=n.length;a<s;++a)if(n[a]==t)return a;return-1}function l(n,t,a,s,r){if(!y.scanForClosingTag)return!1;var c=Math.min(n.lastLine()+1,s.line+500),e=y.scanForClosingTag(n,s,null,c);if(!e||e.tag!=a)return!1;for(var o=r?1:0,u=t.length-1;u>=0&&t[u]==a;u--)++o;s=e.to;for(var u=1;u<o;u++){var h=y.scanForClosingTag(n,s,null,c);if(!h||h.tag!=a)return!1;s=h.to}return!0}})},BlVb:function(U,R,i){var y=i("hyiK"),m=1e-8;function E(v,f){return Math.abs(v-f)<m}function p(v,f,d){var l=0,n=v[0];if(!n)return!1;for(var t=1;t<v.length;t++){var a=v[t];l+=y(n[0],n[1],a[0],a[1],f,d),n=a}var s=v[0];return(!E(n[0],s[0])||!E(n[1],s[1]))&&(l+=y(n[0],n[1],s[0],s[1],f,d)),l!==0}R.contain=p},BoS7:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("czTT"),p=i.n(E)},Bq2U:function(U,R,i){var y=i("RDYZ"),m=i("Qe9p"),E=i("bYtY"),p=E.isArrayLike,v=Array.prototype.slice;function f(w,x){return w[x]}function d(w,x,C){w[x]=C}function l(w,x,C){return(x-w)*C+w}function n(w,x,C){return C>.5?x:w}function t(w,x,C,T,O){var S=w.length;if(O===1)for(var _=0;_<S;_++)T[_]=l(w[_],x[_],C);else for(var L=S&&w[0].length,_=0;_<S;_++)for(var D=0;D<L;D++)T[_][D]=l(w[_][D],x[_][D],C)}function a(w,x,C){var T=w.length,O=x.length;if(T!==O){var S=T>O;if(S)w.length=O;else for(var _=T;_<O;_++)w.push(C===1?x[_]:v.call(x[_]))}for(var L=w[0]&&w[0].length,_=0;_<w.length;_++)if(C===1)isNaN(w[_])&&(w[_]=x[_]);else for(var D=0;D<L;D++)isNaN(w[_][D])&&(w[_][D]=x[_][D])}function s(w,x,C){if(w===x)return!0;var T=w.length;if(T!==x.length)return!1;if(C===1){for(var O=0;O<T;O++)if(w[O]!==x[O])return!1}else for(var S=w[0].length,O=0;O<T;O++)for(var _=0;_<S;_++)if(w[O][_]!==x[O][_])return!1;return!0}function r(w,x,C,T,O,S,_,L,D){var F=w.length;if(D===1)for(var j=0;j<F;j++)L[j]=c(w[j],x[j],C[j],T[j],O,S,_);else for(var k=w[0].length,j=0;j<F;j++)for(var K=0;K<k;K++)L[j][K]=c(w[j][K],x[j][K],C[j][K],T[j][K],O,S,_)}function c(w,x,C,T,O,S,_){var L=(C-w)*.5,D=(T-x)*.5;return(2*(x-C)+L+D)*_+(-3*(x-C)-2*L-D)*S+L*O+x}function e(w){if(p(w)){var x=w.length;if(p(w[0])){for(var C=[],T=0;T<x;T++)C.push(v.call(w[T]));return C}return v.call(w)}return w}function o(w){return w[0]=Math.floor(w[0]),w[1]=Math.floor(w[1]),w[2]=Math.floor(w[2]),"rgba("+w.join(",")+")"}function u(w){var x=w[w.length-1].value;return p(x&&x[0])?2:1}function h(w,x,C,T,O,S){var _=w._getter,L=w._setter,D=x==="spline",F=T.length;if(!F)return;var j=T[0].value,k=p(j),K=!1,Z=!1,B=k?u(T):0,V;T.sort(function(Q,G){return Q.time-G.time}),V=T[F-1].time;for(var z=[],X=[],W=T[0].value,q=!0,Y=0;Y<F;Y++){z.push(T[Y].time/V);var re=T[Y].value;if(k&&s(re,W,B)||!k&&re===W||(q=!1),W=re,typeof re=="string"){var ne=m.parse(re);ne?(re=ne,K=!0):Z=!0}X.push(re)}if(!S&&q)return;for(var we=X[F-1],Y=0;Y<F-1;Y++)k?a(X[Y],we,B):isNaN(X[Y])&&!isNaN(we)&&!Z&&!K&&(X[Y]=we);k&&a(_(w._target,O),we,B);var ie=0,me=0,_e,Te,We,Ae,je,ee;if(K)var he=[0,0,0,0];var Ze=function(G,te){var xe;if(te<0)xe=0;else if(te<me){for(_e=Math.min(ie+1,F-1),xe=_e;xe>=0&&!(z[xe]<=te);xe--);xe=Math.min(xe,F-2)}else{for(xe=ie;xe<F&&!(z[xe]>te);xe++);xe=Math.min(xe-1,F-2)}ie=xe,me=te;var fe=z[xe+1]-z[xe];if(fe===0)return;if(Te=(te-z[xe])/fe,D)if(Ae=X[xe],We=X[xe===0?xe:xe-1],je=X[xe>F-2?F-1:xe+1],ee=X[xe>F-3?F-1:xe+2],k)r(We,Ae,je,ee,Te,Te*Te,Te*Te*Te,_(G,O),B);else{var Be;if(K)Be=r(We,Ae,je,ee,Te,Te*Te,Te*Te*Te,he,1),Be=o(he);else{if(Z)return n(Ae,je,Te);Be=c(We,Ae,je,ee,Te,Te*Te,Te*Te*Te)}L(G,O,Be)}else if(k)t(X[xe],X[xe+1],Te,_(G,O),B);else{var Be;if(K)t(X[xe],X[xe+1],Te,he,1),Be=o(he);else{if(Z)return n(X[xe],X[xe+1],Te);Be=l(X[xe],X[xe+1],Te)}L(G,O,Be)}},oe=new y({target:w._target,life:V,loop:w._loop,delay:w._delay,onframe:Ze,ondestroy:C});return x&&x!=="spline"&&(oe.easing=x),oe}var g=function(x,C,T,O){this._tracks={},this._target=x,this._loop=C||!1,this._getter=T||f,this._setter=O||d,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};g.prototype={when:function(x,C){var T=this._tracks;for(var O in C){if(!C.hasOwnProperty(O))continue;if(!T[O]){T[O]=[];var S=this._getter(this._target,O);if(S==null)continue;x!==0&&T[O].push({time:0,value:e(S)})}T[O].push({time:x,value:C[O]})}return this},during:function(x){return this._onframeList.push(x),this},pause:function(){for(var x=0;x<this._clipList.length;x++)this._clipList[x].pause();this._paused=!0},resume:function(){for(var x=0;x<this._clipList.length;x++)this._clipList[x].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var x=this._doneList,C=x.length,T=0;T<C;T++)x[T].call(this)},start:function(x,C){var T=this,O=0,S=function(){O--,O||T._doneCallback()},_;for(var L in this._tracks){if(!this._tracks.hasOwnProperty(L))continue;var D=h(this,x,S,this._tracks[L],L,C);D&&(this._clipList.push(D),O++,this.animation&&this.animation.addClip(D),_=D)}if(_){var F=_.onframe;_.onframe=function(j,k){F(j,k);for(var K=0;K<T._onframeList.length;K++)T._onframeList[K](j,k)}}return O||this._doneCallback(),this},stop:function(x){for(var C=this._clipList,T=this.animation,O=0;O<C.length;O++){var S=C[O];x&&S.onframe(this._target,1),T&&T.removeClip(S)}C.length=0},delay:function(x){return this._delay=x,this},done:function(x){return x&&this._doneList.push(x),this},getClips:function(){return this._clipList}};var A=g;U.exports=A},Bqw1:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},Bsck:function(U,R,i){var y=i("bYtY"),m=i("Qxkt"),E=i("Mdki"),p=i("YXkt"),v=i("sdST"),f=function(t,a){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=a};f.prototype={constructor:f,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,a,s){typeof t=="function"&&(s=a,a=t,t=null),t=t||{},y.isString(t)&&(t={order:t});var r=t.order||"preorder",c=this[t.attr||"children"],e;r==="preorder"&&(e=a.call(s,this));for(var o=0;!e&&o<c.length;o++)c[o].eachNode(t,a,s);r==="postorder"&&a.call(s,this)},updateDepthAndHeight:function(t){var a=0;this.depth=t;for(var s=0;s<this.children.length;s++){var r=this.children[s];r.updateDepthAndHeight(t+1),r.height>a&&(a=r.height)}this.height=a+1},getNodeById:function(t){if(this.getId()===t)return this;for(var a=0,s=this.children,r=s.length;a<r;a++){var c=s[a].getNodeById(t);if(c)return c}},contains:function(t){if(t===this)return!0;for(var a=0,s=this.children,r=s.length;a<r;a++){var c=s[a].contains(t);if(c)return c}},getAncestors:function(t){for(var a=[],s=t?this:this.parentNode;s;)a.push(s),s=s.parentNode;return a.reverse(),a},getValue:function(t){var a=this.hostTree.data;return a.get(a.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,a){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,a)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(this.dataIndex<0)return;var a=this.hostTree,s=a.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r?s.getModel(t,r.getModel(t)):s.getModel(t)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(t,a){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,a)},getVisual:function(t,a){return this.hostTree.data.getItemVisual(this.dataIndex,t,a)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var a=t.parentNode;a;){if(a===this)return!0;a=a.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}};function d(t,a){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=y.map(a||[],function(s){return new m(s,t,t.ecModel)})}d.prototype={constructor:d,type:"tree",eachNode:function(t,a,s){this.root.eachNode(t,a,s)},getNodeByDataIndex:function(t){var a=this.data.getRawIndex(t);return this._nodes[a]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,a=this._nodes,s=0,r=a.length;s<r;s++)a[s].dataIndex=-1;for(var s=0,r=t.count();s<r;s++)a[t.getRawIndex(s)].dataIndex=s},clearLayouts:function(){this.data.clearItemLayouts()}},d.createTree=function(t,a,s,r){var c=new d(a,s&&s.levels),e=[],o=1;u(t);function u(A,w){var x=A.value;o=Math.max(o,y.isArray(x)?x.length:1),e.push(A);var C=new f(A.name,c);w?l(C,w):c.root=C,c._nodes.push(C);var T=A.children;if(T)for(var O=0;O<T.length;O++)u(T[O],C)}c.root.updateDepthAndHeight(0);var h=v(e,{coordDimensions:["value"],dimensionsCount:o}),g=new p(h,a);return g.initData(e),r&&r(g),E({mainData:g,struct:c,structAttr:"tree"}),c.update(),c};function l(t,a){var s=a.children;if(t.parentNode===a)return;s.push(t),t.parentNode=a}var n=d;U.exports=n},BtR2:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="LikeOutlined";var d=R.a=m.forwardRef(f)},BuqR:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("6uqw"),v=i("XxSj"),f=i("YOMW"),d=i("OELB"),l=d.reformIntervals,n=p.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(r,c){n.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var e=this._mode=this._determineMode();t[this._mode].call(this),this._resetSelected(r,c);var o=this.option.categories;this.resetVisual(function(u,h){e==="categories"?(u.mappingMethod="category",u.categories=E.clone(o)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=E.map(this._pieceList,function(g){var g=E.clone(g);return h!=="inRange"&&(g.visual=null),g}))})},completeVisualOption:function(){var r=this.option,c={},e=v.listVisualTypes(),o=this.isCategory();E.each(r.pieces,function(h){E.each(e,function(g){h.hasOwnProperty(g)&&(c[g]=1)})}),E.each(c,function(h,g){var A=0;E.each(this.stateList,function(w){A|=u(r,w,g)||u(r.target,w,g)},this),!A&&E.each(this.stateList,function(w){(r[w]||(r[w]={}))[g]=f.get(g,w==="inRange"?"active":"inactive",o)})},this);function u(h,g,A){return h&&h[g]&&(E.isObject(h[g])?h[g].hasOwnProperty(A):h[g]===A)}p.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(r,c){var e=this.option,o=this._pieceList,u=(c?e:r).selected||{};if(e.selected=u,E.each(o,function(g,A){var w=this.getSelectedMapKey(g);u.hasOwnProperty(w)||(u[w]=!0)},this),e.selectedMode==="single"){var h=!1;E.each(o,function(g,A){var w=this.getSelectedMapKey(g);u[w]&&(h?u[w]=!1:h=!0)},this)}},getSelectedMapKey:function(r){return this._mode==="categories"?r.value+"":r.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var r=this.option;return r.pieces&&r.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(r){this.option.selected=E.clone(r)},getValueState:function(r){var c=v.findPieceIndex(r,this._pieceList);return c!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[c])]?"inRange":"outOfRange"},findTargetDataIndices:function(r){var c=[];return this.eachTargetSeries(function(e){var o=[],u=e.getData();u.each(this.getDataDimension(u),function(h,g){var A=v.findPieceIndex(h,this._pieceList);A===r&&o.push(g)},this),c.push({seriesId:e.id,dataIndex:o})},this),c},getRepresentValue:function(r){var c;if(this.isCategory())c=r.value;else if(r.value!=null)c=r.value;else{var e=r.interval||[];c=e[0]===-Infinity&&e[1]===Infinity?0:(e[0]+e[1])/2}return c},getVisualMeta:function(r){if(this.isCategory())return;var c=[],e=[],o=this;function u(w,x){var C=o.getRepresentValue({interval:w});x||(x=o.getValueState(C));var T=r(C,x);w[0]===-Infinity?e[0]=T:w[1]===Infinity?e[1]=T:c.push({value:w[0],color:T},{value:w[1],color:T})}var h=this._pieceList.slice();if(!h.length)h.push({interval:[-Infinity,Infinity]});else{var g=h[0].interval[0];g!==-Infinity&&h.unshift({interval:[-Infinity,g]}),g=h[h.length-1].interval[1],g!==Infinity&&h.push({interval:[g,Infinity]})}var A=-Infinity;return E.each(h,function(w){var x=w.interval;x&&(x[0]>A&&u([A,x[0]],"outOfRange"),u(x.slice()),A=x[1])},this),{stops:c,outerColors:e}}}),t={splitNumber:function(){var r=this.option,c=this._pieceList,e=Math.min(r.precision,20),o=this.getExtent(),u=r.splitNumber;u=Math.max(parseInt(u,10),1),r.splitNumber=u;for(var h=(o[1]-o[0])/u;+h.toFixed(e)!==h&&e<5;)e++;r.precision=e,h=+h.toFixed(e),r.minOpen&&c.push({interval:[-Infinity,o[0]],close:[0,0]});for(var g=0,A=o[0];g<u;A+=h,g++){var w=g===u-1?o[1]:A+h;c.push({interval:[A,w],close:[1,1]})}r.maxOpen&&c.push({interval:[o[1],Infinity],close:[0,0]}),l(c),E.each(c,function(x,C){x.index=C,x.text=this.formatValueText(x.interval)},this)},categories:function(){var r=this.option;E.each(r.categories,function(c){this._pieceList.push({text:this.formatValueText(c,!0),value:c})},this),a(r,this._pieceList)},pieces:function(){var r=this.option,c=this._pieceList;E.each(r.pieces,function(e,o){E.isObject(e)||(e={value:e});var u={text:"",index:o};if(e.label!=null&&(u.text=e.label),e.hasOwnProperty("value")){var h=u.value=e.value;u.interval=[h,h],u.close=[1,1]}else{for(var g=u.interval=[],A=u.close=[0,0],w=[1,0,1],x=[-Infinity,Infinity],C=[],T=0;T<2;T++){for(var O=[["gte","gt","min"],["lte","lt","max"]][T],S=0;S<3&&g[T]==null;S++)g[T]=e[O[S]],A[T]=w[S],C[T]=S===2;g[T]==null&&(g[T]=x[T])}C[0]&&g[1]===Infinity&&(A[0]=0),C[1]&&g[0]===-Infinity&&(A[1]=0),g[0]===g[1]&&A[0]&&A[1]&&(u.value=g[0])}u.visual=v.retrieveVisuals(e),c.push(u)},this),a(r,c),l(c),E.each(c,function(e){var o=e.close,u=[["<","\u2264"][o[1]],[">","\u2265"][o[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,u)},this)}};function a(r,c){var e=r.inverse;(r.orient==="vertical"?!e:e)&&c.reverse()}var s=n;U.exports=s},BvKs:function(U,R,i){"use strict";i.d(R,"a",function(){return qt});var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("7W2i"),t=i.n(n),a=i("LQ03"),s=i.n(a),r=i("q1tI"),c=i("VTBJ"),e=i("1OyB"),o=i("vuIU"),u=i("JX7q"),h=i("Ji7U"),g=i("LK+K"),A=i("I8Z2"),w=i("BGR+"),x=i("wx14"),C=i("rePB"),T=i("4IlW"),O=i("2GS6"),S=i("Gytx"),_=i.n(S),L=i("TSYQ"),D=i.n(L),F=i("U8pU"),j=i("ODXe"),k=/iPhone/i,K=/iPod/i,Z=/iPad/i,B=/\bAndroid(?:.+)Mobile\b/i,V=/Android/i,z=/\bAndroid(?:.+)SD4930UR\b/i,X=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,W=/Windows Phone/i,q=/\bWindows(?:.+)ARM\b/i,Y=/BlackBerry/i,re=/BB10/i,ne=/Opera Mini/i,we=/\b(CriOS|Chrome)(?:.+)Mobile/i,ie=/Mobile(?:.+)Firefox\b/i;function me(St,At){return St.test(At)}function _e(St){var At=St||(typeof navigator!="undefined"?navigator.userAgent:""),cr=At.split("[FBAN");if(typeof cr[1]!="undefined"){var or=cr,Tt=Object(j.a)(or,1);At=Tt[0]}if(cr=At.split("Twitter"),typeof cr[1]!="undefined"){var Rt=cr,_t=Object(j.a)(Rt,1);At=_t[0]}var Zt={apple:{phone:me(k,At)&&!me(W,At),ipod:me(K,At),tablet:!me(k,At)&&me(Z,At)&&!me(W,At),device:(me(k,At)||me(K,At)||me(Z,At))&&!me(W,At)},amazon:{phone:me(z,At),tablet:!me(z,At)&&me(X,At),device:me(z,At)||me(X,At)},android:{phone:!me(W,At)&&me(z,At)||!me(W,At)&&me(B,At),tablet:!me(W,At)&&!me(z,At)&&!me(B,At)&&(me(X,At)||me(V,At)),device:!me(W,At)&&(me(z,At)||me(X,At)||me(B,At)||me(V,At))||me(/\bokhttp\b/i,At)},windows:{phone:me(W,At),tablet:me(q,At),device:me(W,At)||me(q,At)},other:{blackberry:me(Y,At),blackberry10:me(re,At),opera:me(ne,At),firefox:me(ie,At),chrome:me(we,At),device:me(Y,At)||me(re,At)||me(ne,At)||me(ie,At)||me(we,At)},any:null,phone:null,tablet:null};return Zt.any=Zt.apple.device||Zt.android.device||Zt.windows.device||Zt.other.device,Zt.phone=Zt.apple.phone||Zt.android.phone||Zt.windows.phone,Zt.tablet=Zt.apple.tablet||Zt.android.tablet||Zt.windows.tablet,Zt}var Te=Object(c.a)(Object(c.a)({},_e()),{},{isMobile:_e}),We=Te;function Ae(){}function je(St,At,cr){var or=At||"";return St.key||"".concat(or,"item_").concat(cr)}function ee(St){return"".concat(St,"-menu-")}function he(St,At){var cr=-1;r.Children.forEach(St,function(or){cr+=1,or&&or.type&&or.type.isMenuItemGroup?r.Children.forEach(or.props.children,function(Tt){cr+=1,At(Tt,cr)}):At(or,cr)})}function Ze(St,At,cr){if(!St||cr.find)return;r.Children.forEach(St,function(or){if(or){var Tt=or.type;if(!Tt||!(Tt.isSubMenu||Tt.isMenuItem||Tt.isMenuItemGroup))return;At.indexOf(or.key)!==-1?cr.find=!0:or.props.children&&Ze(or.props.children,At,cr)}})}var oe=["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"],Q=function(At){var cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,or=At&&typeof At.getBoundingClientRect=="function"&&At.getBoundingClientRect().width;if(or){if(cr){var Tt=getComputedStyle(At),Rt=Tt.marginLeft,_t=Tt.marginRight;or+=+Rt.replace("px","")+ +_t.replace("px","")}or=+or.toFixed(6)}return or||0},G=function(At,cr,or){At&&Object(F.a)(At.style)==="object"&&(At.style[cr]=or)},te=function(){return We.any},xe=i("KQm4"),fe=i("Ff2n"),Be=i("i8i4"),Ne=i("bdgK"),de=i("uciX"),ve=i("8XRh"),Me={adjustX:1,adjustY:1},qe={topLeft:{points:["bl","tl"],overflow:Me,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Me,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Me,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Me,offset:[4,0]}},gt={topLeft:{points:["bl","tl"],overflow:Me,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Me,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Me,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Me,offset:[4,0]}},ht=qe,Pe=0,It={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},nt=function(At,cr,or){var Tt=ee(cr),Rt=At.getState();At.setState({defaultActiveFirst:Object(c.a)(Object(c.a)({},Rt.defaultActiveFirst),{},Object(C.a)({},Tt,or))})},Nt=function(St){Object(h.a)(cr,St);var At=Object(g.a)(cr);function cr(or){var Tt;Object(e.a)(this,cr),Tt=At.call(this,or),Tt.onDestroy=function(br){Tt.props.onDestroy(br)},Tt.onKeyDown=function(br){var hn=br.keyCode,fn=Tt.menuInstance,ni=Tt.props,mi=ni.isOpen,_i=ni.store;if(hn===T.a.ENTER)return Tt.onTitleClick(br),nt(_i,Tt.props.eventKey,!0),!0;if(hn===T.a.RIGHT)return mi?fn.onKeyDown(br):(Tt.triggerOpenChange(!0),nt(_i,Tt.props.eventKey,!0)),!0;if(hn===T.a.LEFT){var Hi;if(mi)Hi=fn.onKeyDown(br);else return;return Hi||(Tt.triggerOpenChange(!1),Hi=!0),Hi}return mi&&(hn===T.a.UP||hn===T.a.DOWN)?fn.onKeyDown(br):void 0},Tt.onOpenChange=function(br){Tt.props.onOpenChange(br)},Tt.onPopupVisibleChange=function(br){Tt.triggerOpenChange(br,br?"mouseenter":"mouseleave")},Tt.onMouseEnter=function(br){var hn=Tt.props,fn=hn.eventKey,ni=hn.onMouseEnter,mi=hn.store;nt(mi,Tt.props.eventKey,!1),ni({key:fn,domEvent:br})},Tt.onMouseLeave=function(br){var hn=Tt.props,fn=hn.parentMenu,ni=hn.eventKey,mi=hn.onMouseLeave;fn.subMenuInstance=Object(u.a)(Tt),mi({key:ni,domEvent:br})},Tt.onTitleMouseEnter=function(br){var hn=Tt.props,fn=hn.eventKey,ni=hn.onItemHover,mi=hn.onTitleMouseEnter;ni({key:fn,hover:!0}),mi({key:fn,domEvent:br})},Tt.onTitleMouseLeave=function(br){var hn=Tt.props,fn=hn.parentMenu,ni=hn.eventKey,mi=hn.onItemHover,_i=hn.onTitleMouseLeave;fn.subMenuInstance=Object(u.a)(Tt),mi({key:ni,hover:!1}),_i({key:ni,domEvent:br})},Tt.onTitleClick=function(br){var hn=Object(u.a)(Tt),fn=hn.props;if(fn.onTitleClick({key:fn.eventKey,domEvent:br}),fn.triggerSubMenuAction==="hover")return;Tt.triggerOpenChange(!fn.isOpen,"click"),nt(fn.store,Tt.props.eventKey,!1)},Tt.onSubMenuClick=function(br){typeof Tt.props.onClick=="function"&&Tt.props.onClick(Tt.addKeyPath(br))},Tt.onSelect=function(br){Tt.props.onSelect(br)},Tt.onDeselect=function(br){Tt.props.onDeselect(br)},Tt.getPrefixCls=function(){return"".concat(Tt.props.rootPrefixCls,"-submenu")},Tt.getActiveClassName=function(){return"".concat(Tt.getPrefixCls(),"-active")},Tt.getDisabledClassName=function(){return"".concat(Tt.getPrefixCls(),"-disabled")},Tt.getSelectedClassName=function(){return"".concat(Tt.getPrefixCls(),"-selected")},Tt.getOpenClassName=function(){return"".concat(Tt.props.rootPrefixCls,"-submenu-open")},Tt.saveMenuInstance=function(br){Tt.menuInstance=br},Tt.addKeyPath=function(br){return Object(c.a)(Object(c.a)({},br),{},{keyPath:(br.keyPath||[]).concat(Tt.props.eventKey)})},Tt.triggerOpenChange=function(br,hn){var fn=Tt.props.eventKey,ni=function(){Tt.onOpenChange({key:fn,item:Object(u.a)(Tt),trigger:hn,open:br})};hn==="mouseenter"?Tt.mouseenterTimeout=setTimeout(function(){ni()},0):ni()},Tt.isChildrenSelected=function(){var br={find:!1};return Ze(Tt.props.children,Tt.props.selectedKeys,br),br.find},Tt.isOpen=function(){return Tt.props.openKeys.indexOf(Tt.props.eventKey)!==-1},Tt.adjustWidth=function(){if(!Tt.subMenuTitle||!Tt.menuInstance)return;var br=Be.findDOMNode(Tt.menuInstance);if(br.offsetWidth>=Tt.subMenuTitle.offsetWidth)return;br.style.minWidth="".concat(Tt.subMenuTitle.offsetWidth,"px")},Tt.saveSubMenuTitle=function(br){Tt.subMenuTitle=br},Tt.getBaseProps=function(){var br=Object(u.a)(Tt),hn=br.props;return{mode:hn.mode==="horizontal"?"vertical":hn.mode,visible:Tt.props.isOpen,level:hn.level+1,inlineIndent:hn.inlineIndent,focusable:!1,onClick:Tt.onSubMenuClick,onSelect:Tt.onSelect,onDeselect:Tt.onDeselect,onDestroy:Tt.onDestroy,selectedKeys:hn.selectedKeys,eventKey:"".concat(hn.eventKey,"-menu-"),openKeys:hn.openKeys,motion:hn.motion,onOpenChange:Tt.onOpenChange,subMenuOpenDelay:hn.subMenuOpenDelay,parentMenu:Object(u.a)(Tt),subMenuCloseDelay:hn.subMenuCloseDelay,forceSubMenuRender:hn.forceSubMenuRender,triggerSubMenuAction:hn.triggerSubMenuAction,builtinPlacements:hn.builtinPlacements,defaultActiveFirst:hn.store.getState().defaultActiveFirst[ee(hn.eventKey)],multiple:hn.multiple,prefixCls:hn.rootPrefixCls,id:Tt.internalMenuId,manualRef:Tt.saveMenuInstance,itemIcon:hn.itemIcon,expandIcon:hn.expandIcon,direction:hn.direction}},Tt.getMotion=function(br,hn){var fn=Object(u.a)(Tt),ni=fn.haveRendered,mi=Tt.props,_i=mi.motion,Hi=mi.rootPrefixCls,aa=Object(c.a)(Object(c.a)({},_i),{},{leavedClassName:"".concat(Hi,"-hidden"),removeOnLeave:!1,motionAppear:ni||!hn||br!=="inline"});return aa};var Rt=or.store,_t=or.eventKey,Zt=Rt.getState(),Nr=Zt.defaultActiveFirst;Tt.isRootMenu=!1;var Sr=!1;return Nr&&(Sr=Nr[_t]),nt(Rt,_t,Sr),Tt}return Object(o.a)(cr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Tt=this,Rt=this.props,_t=Rt.mode,Zt=Rt.parentMenu,Nr=Rt.manualRef;if(Nr&&Nr(this),_t!=="horizontal"||!Zt.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return Tt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Tt=this.props,Rt=Tt.onDestroy,_t=Tt.eventKey;Rt&&Rt(_t),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(Tt){var Rt=this,_t=this.getBaseProps(),Zt=this.getMotion(_t.mode,_t.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||_t.visible||_t.forceSubMenuRender,!this.haveOpened)return r.createElement("div",null);var Nr=_t.direction;return r.createElement(ve.default,Object.assign({visible:_t.visible},Zt),function(Sr){var br=Sr.className,hn=Sr.style,fn=D()("".concat(_t.prefixCls,"-sub"),br,Object(C.a)({},"".concat(_t.prefixCls,"-rtl"),Nr==="rtl"));return r.createElement(nr,Object.assign({},_t,{id:Rt.internalMenuId,className:fn,style:hn}),Tt)})}},{key:"render",value:function(){var Tt,Rt=Object(c.a)({},this.props),_t=Rt.isOpen,Zt=this.getPrefixCls(),Nr=Rt.mode==="inline",Sr=D()(Zt,"".concat(Zt,"-").concat(Rt.mode),(Tt={},Object(C.a)(Tt,Rt.className,!!Rt.className),Object(C.a)(Tt,this.getOpenClassName(),_t),Object(C.a)(Tt,this.getActiveClassName(),Rt.active||_t&&!Nr),Object(C.a)(Tt,this.getDisabledClassName(),Rt.disabled),Object(C.a)(Tt,this.getSelectedClassName(),this.isChildrenSelected()),Tt));this.internalMenuId||(Rt.eventKey?this.internalMenuId="".concat(Rt.eventKey,"$Menu"):(Pe+=1,this.internalMenuId="$__$".concat(Pe,"$Menu")));var br={},hn={},fn={};Rt.disabled||(br={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},hn={onClick:this.onTitleClick},fn={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var ni={},mi=Rt.direction;Nr&&(mi==="rtl"?ni.paddingRight=Rt.inlineIndent*Rt.level:ni.paddingLeft=Rt.inlineIndent*Rt.level);var _i={};this.props.isOpen&&(_i={"aria-owns":this.internalMenuId});var Hi=null;Rt.mode!=="horizontal"&&(Hi=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Hi=r.createElement(this.props.expandIcon,Object(c.a)({},this.props))));var aa=r.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:ni,className:"".concat(Zt,"-title"),role:"button"},fn,hn,{"aria-expanded":_t},_i,{"aria-haspopup":"true",title:typeof Rt.title=="string"?Rt.title:void 0}),Rt.title,Hi||r.createElement("i",{className:"".concat(Zt,"-arrow")})),Ra=this.renderChildren(Rt.children),it=Rt.parentMenu.isRootMenu?Rt.parentMenu.props.getPopupContainer:function(Lr){return Lr.parentNode},Re=It[Rt.mode],Ke=Rt.popupOffset?{offset:Rt.popupOffset}:{},Ge=Rt.mode==="inline"?"":Rt.popupClassName;Ge+=mi==="rtl"?" ".concat(Zt,"-rtl"):"";var et=Rt.disabled,$e=Rt.triggerSubMenuAction,st=Rt.subMenuOpenDelay,Lt=Rt.forceSubMenuRender,vt=Rt.subMenuCloseDelay,Qt=Rt.builtinPlacements;oe.forEach(function(Lr){return delete Rt[Lr]}),delete Rt.onClick;var Fr=mi==="rtl"?Object.assign({},gt,Qt):Object.assign({},qe,Qt);return delete Rt.direction,r.createElement("li",Object.assign({},Rt,br,{className:Sr,role:"menuitem"}),Nr&&aa,Nr&&Ra,!Nr&&r.createElement(de.a,{prefixCls:Zt,popupClassName:D()("".concat(Zt,"-popup"),Ge),getPopupContainer:it,builtinPlacements:Fr,popupPlacement:Re,popupVisible:_t,popupAlign:Ke,popup:Ra,action:et?[]:[$e],mouseEnterDelay:st,mouseLeaveDelay:vt,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Lt},aa))}}]),cr}(r.Component);Nt.defaultProps={onMouseEnter:Ae,onMouseLeave:Ae,onTitleMouseEnter:Ae,onTitleMouseLeave:Ae,onTitleClick:Ae,manualRef:Ae,mode:"vertical",title:""};var Bt=Object(A.b)(function(St,At){var cr=St.openKeys,or=St.activeKey,Tt=St.selectedKeys,Rt=At.eventKey,_t=At.subMenuKey;return{isOpen:cr.indexOf(Rt)>-1,active:or[_t]===Rt,selectedKeys:Tt}})(Nt);Bt.isSubMenu=!0;var Pt=Bt,jt="menuitem-overflowed",er=.5,at=function(St){Object(h.a)(cr,St);var At=Object(g.a)(cr);function cr(){var or;return Object(e.a)(this,cr),or=At.apply(this,arguments),or.resizeObserver=null,or.mutationObserver=null,or.originalTotalWidth=0,or.overflowedItems=[],or.menuItemSizes=[],or.cancelFrameId=null,or.state={lastVisibleIndex:void 0},or.getMenuItemNodes=function(){var Tt=or.props.prefixCls,Rt=Be.findDOMNode(Object(u.a)(or));return Rt?[].slice.call(Rt.children).filter(function(_t){return _t.className.split(" ").indexOf("".concat(Tt,"-overflowed-submenu"))<0}):[]},or.getOverflowedSubMenuItem=function(Tt,Rt,_t){var Zt=or.props,Nr=Zt.overflowedIndicator,Sr=Zt.level,br=Zt.mode,hn=Zt.prefixCls,fn=Zt.theme;if(Sr!==1||br!=="horizontal")return null;var ni=or.props.children[0],mi=ni.props,_i=mi.children,Hi=mi.title,aa=mi.style,Ra=Object(fe.a)(mi,["children","title","style"]),it=Object(c.a)({},aa),Re="".concat(Tt,"-overflowed-indicator"),Ke="".concat(Tt,"-overflowed-indicator");Rt.length===0&&_t!==!0?it=Object(c.a)(Object(c.a)({},it),{},{display:"none"}):_t&&(it=Object(c.a)(Object(c.a)({},it),{},{visibility:"hidden",position:"absolute"}),Re="".concat(Re,"-placeholder"),Ke="".concat(Ke,"-placeholder"));var Ge=fn?"".concat(hn,"-").concat(fn):"",et={};return oe.forEach(function($e){Ra[$e]!==void 0&&(et[$e]=Ra[$e])}),r.createElement(Pt,Object.assign({title:Nr,className:"".concat(hn,"-overflowed-submenu"),popupClassName:Ge},et,{key:Re,eventKey:Ke,disabled:!1,style:it}),Rt)},or.setChildrenWidthAndResize=function(){if(or.props.mode!=="horizontal")return;var Tt=Be.findDOMNode(Object(u.a)(or));if(!Tt)return;var Rt=Tt.children;if(!Rt||Rt.length===0)return;var _t=Tt.children[Rt.length-1];G(_t,"display","inline-block");var Zt=or.getMenuItemNodes(),Nr=Zt.filter(function(Sr){return Sr.className.split(" ").indexOf(jt)>=0});Nr.forEach(function(Sr){G(Sr,"display","inline-block")}),or.menuItemSizes=Zt.map(function(Sr){return Q(Sr,!0)}),Nr.forEach(function(Sr){G(Sr,"display","none")}),or.overflowedIndicatorWidth=Q(Tt.children[Tt.children.length-1],!0),or.originalTotalWidth=or.menuItemSizes.reduce(function(Sr,br){return Sr+br},0),or.handleResize(),G(_t,"display","none")},or.handleResize=function(){if(or.props.mode!=="horizontal")return;var Tt=Be.findDOMNode(Object(u.a)(or));if(!Tt)return;var Rt=Q(Tt);or.overflowedItems=[];var _t=0,Zt;or.originalTotalWidth>Rt+er&&(Zt=-1,or.menuItemSizes.forEach(function(Nr){_t+=Nr,_t+or.overflowedIndicatorWidth<=Rt&&(Zt+=1)})),or.setState({lastVisibleIndex:Zt})},or}return Object(o.a)(cr,[{key:"componentDidMount",value:function(){var Tt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Rt=Be.findDOMNode(this);if(!Rt)return;this.resizeObserver=new Ne.default(function(_t){_t.forEach(function(){var Zt=Tt.cancelFrameId;cancelAnimationFrame(Zt),Tt.cancelFrameId=requestAnimationFrame(Tt.setChildrenWidthAndResize)})}),[].slice.call(Rt.children).concat(Rt).forEach(function(_t){Tt.resizeObserver.observe(_t)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Tt.resizeObserver.disconnect(),[].slice.call(Rt.children).concat(Rt).forEach(function(_t){Tt.resizeObserver.observe(_t)}),Tt.setChildrenWidthAndResize()}),this.mutationObserver.observe(Rt,{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(Tt){var Rt=this,_t=this.state.lastVisibleIndex;return(Tt||[]).reduce(function(Zt,Nr,Sr){var br=Nr;if(Rt.props.mode==="horizontal"){var hn=Rt.getOverflowedSubMenuItem(Nr.props.eventKey,[]);_t!==void 0&&Rt.props.className.indexOf("".concat(Rt.props.prefixCls,"-root"))!==-1&&(Sr>_t&&(br=r.cloneElement(Nr,{style:{display:"none"},eventKey:"".concat(Nr.props.eventKey,"-hidden"),className:"".concat(jt)})),Sr===_t+1&&(Rt.overflowedItems=Tt.slice(_t+1).map(function(ni){return r.cloneElement(ni,{key:ni.props.eventKey,mode:"vertical-left"})}),hn=Rt.getOverflowedSubMenuItem(Nr.props.eventKey,Rt.overflowedItems)));var fn=[].concat(Object(xe.a)(Zt),[hn,br]);return Sr===Tt.length-1&&fn.push(Rt.getOverflowedSubMenuItem(Nr.props.eventKey,[],!0)),fn}return[].concat(Object(xe.a)(Zt),[br])},[])}},{key:"render",value:function(){var Tt=this.props,Rt=Tt.visible,_t=Tt.prefixCls,Zt=Tt.overflowedIndicator,Nr=Tt.mode,Sr=Tt.level,br=Tt.tag,hn=Tt.children,fn=Tt.theme,ni=Object(fe.a)(Tt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),mi=br;return r.createElement(mi,Object.assign({},ni),this.renderChildren(hn))}}]),cr}(r.Component);at.defaultProps={tag:"div",className:""};var Ce=at;function ue(St){return St.length?St.every(function(At){return!!At.props.disabled}):!0}function Dt(St,At,cr){var or=St.getState();St.setState({activeKey:Object(c.a)(Object(c.a)({},or.activeKey),{},Object(C.a)({},At,cr))})}function rt(St){return St.eventKey||"0-menu-"}function ye(St,At){var cr=At,or=St.children,Tt=St.eventKey;if(cr){var Rt;if(he(or,function(_t,Zt){_t&&_t.props&&!_t.props.disabled&&cr===je(_t,Tt,Zt)&&(Rt=!0)}),Rt)return cr}return cr=null,St.defaultActiveFirst&&he(or,function(_t,Zt){!cr&&_t&&!_t.props.disabled&&(cr=je(_t,Tt,Zt))}),cr}function Xt(St){if(St){var At=this.instanceArray.indexOf(St);At!==-1?this.instanceArray[At]=St:this.instanceArray.push(St)}}var pr=function(St){Object(h.a)(cr,St);var At=Object(g.a)(cr);function cr(or){var Tt;return Object(e.a)(this,cr),Tt=At.call(this,or),Tt.onKeyDown=function(Rt,_t){var Zt=Rt.keyCode,Nr;if(Tt.getFlatInstanceArray().forEach(function(br){br&&br.props.active&&br.onKeyDown&&(Nr=br.onKeyDown(Rt))}),Nr)return 1;var Sr=null;return(Zt===T.a.UP||Zt===T.a.DOWN)&&(Sr=Tt.step(Zt===T.a.UP?-1:1)),Sr?(Rt.preventDefault(),Dt(Tt.props.store,rt(Tt.props),Sr.props.eventKey),typeof _t=="function"&&_t(Sr),1):void 0},Tt.onItemHover=function(Rt){var _t=Rt.key,Zt=Rt.hover;Dt(Tt.props.store,rt(Tt.props),Zt?_t:null)},Tt.onDeselect=function(Rt){Tt.props.onDeselect(Rt)},Tt.onSelect=function(Rt){Tt.props.onSelect(Rt)},Tt.onClick=function(Rt){Tt.props.onClick(Rt)},Tt.onOpenChange=function(Rt){Tt.props.onOpenChange(Rt)},Tt.onDestroy=function(Rt){Tt.props.onDestroy(Rt)},Tt.getFlatInstanceArray=function(){return Tt.instanceArray},Tt.step=function(Rt){var _t=Tt.getFlatInstanceArray(),Zt=Tt.props.store.getState().activeKey[rt(Tt.props)],Nr=_t.length;if(!Nr)return null;Rt<0&&(_t=_t.concat().reverse());var Sr=-1;if(_t.every(function(ni,mi){return ni&&ni.props.eventKey===Zt?(Sr=mi,!1):!0}),!Tt.props.defaultActiveFirst&&Sr!==-1&&ue(_t.slice(Sr,Nr-1)))return;var br=(Sr+1)%Nr,hn=br;do{var fn=_t[hn];if(!fn||fn.props.disabled)hn=(hn+1)%Nr;else return fn}while(hn!==br);return null},Tt.renderCommonMenuItem=function(Rt,_t,Zt){var Nr=Tt.props.store.getState(),Sr=Object(u.a)(Tt),br=Sr.props,hn=je(Rt,br.eventKey,_t),fn=Rt.props;if(!fn||typeof Rt.type=="string")return Rt;var ni=hn===Nr.activeKey,mi=Object(c.a)(Object(c.a)({mode:fn.mode||br.mode,level:br.level,inlineIndent:br.inlineIndent,renderMenuItem:Tt.renderMenuItem,rootPrefixCls:br.prefixCls,index:_t,parentMenu:br.parentMenu,manualRef:fn.disabled?void 0:Object(O.a)(Rt.ref,Xt.bind(Object(u.a)(Tt))),eventKey:hn,active:!fn.disabled&&ni,multiple:br.multiple,onClick:function(Hi){(fn.onClick||Ae)(Hi),Tt.onClick(Hi)},onItemHover:Tt.onItemHover,motion:br.motion,subMenuOpenDelay:br.subMenuOpenDelay,subMenuCloseDelay:br.subMenuCloseDelay,forceSubMenuRender:br.forceSubMenuRender,onOpenChange:Tt.onOpenChange,onDeselect:Tt.onDeselect,onSelect:Tt.onSelect,builtinPlacements:br.builtinPlacements,itemIcon:fn.itemIcon||Tt.props.itemIcon,expandIcon:fn.expandIcon||Tt.props.expandIcon},Zt),{},{direction:br.direction});return(br.mode==="inline"||te())&&(mi.triggerSubMenuAction="click"),r.cloneElement(Rt,mi)},Tt.renderMenuItem=function(Rt,_t,Zt){if(!Rt)return null;var Nr=Tt.props.store.getState(),Sr={openKeys:Nr.openKeys,selectedKeys:Nr.selectedKeys,triggerSubMenuAction:Tt.props.triggerSubMenuAction,subMenuKey:Zt};return Tt.renderCommonMenuItem(Rt,_t,Sr)},or.store.setState({activeKey:Object(c.a)(Object(c.a)({},or.store.getState().activeKey),{},Object(C.a)({},or.eventKey,ye(or,or.activeKey)))}),Tt.instanceArray=[],Tt}return Object(o.a)(cr,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Tt){return this.props.visible||Tt.visible||this.props.className!==Tt.className||!_()(this.props.style,Tt.style)}},{key:"componentDidUpdate",value:function(Tt){var Rt=this.props,_t="activeKey"in Rt?Rt.activeKey:Rt.store.getState().activeKey[rt(Rt)],Zt=ye(Rt,_t);if(Zt!==_t)Dt(Rt.store,rt(Rt),Zt);else if("activeKey"in Tt){var Nr=ye(Tt,Tt.activeKey);Zt!==Nr&&Dt(Rt.store,rt(Rt),Zt)}}},{key:"render",value:function(){var Tt=this,Rt=Object(x.a)({},this.props);this.instanceArray=[];var _t=D()(Rt.prefixCls,Rt.className,"".concat(Rt.prefixCls,"-").concat(Rt.mode)),Zt={className:_t,role:Rt.role||"menu"};Rt.id&&(Zt.id=Rt.id),Rt.focusable&&(Zt.tabIndex=0,Zt.onKeyDown=this.onKeyDown);var Nr=Rt.prefixCls,Sr=Rt.eventKey,br=Rt.visible,hn=Rt.level,fn=Rt.mode,ni=Rt.overflowedIndicator,mi=Rt.theme;return oe.forEach(function(_i){return delete Rt[_i]}),delete Rt.onClick,r.createElement(Ce,Object.assign({},Rt,{prefixCls:Nr,mode:fn,tag:"ul",level:hn,theme:mi,visible:br,overflowedIndicator:ni},Zt),r.Children.map(Rt.children,function(_i,Hi){return Tt.renderMenuItem(_i,Hi,Sr||"0-menu-")}))}}]),cr}(r.Component);pr.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Ae};var mt=Object(A.b)()(pr),nr=mt,yr=i("Kwbf");function gn(St,At,cr){var or=St.prefixCls,Tt=St.motion,Rt=St.defaultMotions,_t=Rt===void 0?{}:Rt,Zt=St.openAnimation,Nr=St.openTransitionName,Sr=At.switchingModeFromInline;if(Tt)return Tt;if(Object(F.a)(Zt)==="object"&&Zt)Object(yr.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Zt=="string")return{motionName:"".concat(or,"-open-").concat(Zt)};if(Nr)return{motionName:Nr};var br=_t[cr];return br||(Sr?null:_t.other)}var _r=function(St){Object(h.a)(cr,St);var At=Object(g.a)(cr);function cr(or){var Tt;Object(e.a)(this,cr),Tt=At.call(this,or),Tt.inlineOpenKeys=[],Tt.onSelect=function(Zt){var Nr=Object(u.a)(Tt),Sr=Nr.props;if(Sr.selectable){var br=Tt.store.getState(),hn=br.selectedKeys,fn=Zt.key;Sr.multiple?hn=hn.concat([fn]):hn=[fn],"selectedKeys"in Sr||Tt.store.setState({selectedKeys:hn}),Sr.onSelect(Object(c.a)(Object(c.a)({},Zt),{},{selectedKeys:hn}))}},Tt.onClick=function(Zt){var Nr=Tt.getRealMenuMode(),Sr=Object(u.a)(Tt),br=Sr.store,hn=Sr.props.onOpenChange;Nr!=="inline"&&!("openKeys"in Tt.props)&&(br.setState({openKeys:[]}),hn([])),Tt.props.onClick(Zt)},Tt.onKeyDown=function(Zt,Nr){Tt.innerMenu.getWrappedInstance().onKeyDown(Zt,Nr)},Tt.onOpenChange=function(Zt){var Nr=Object(u.a)(Tt),Sr=Nr.props,br=Tt.store.getState().openKeys.concat(),hn=!1,fn=function(mi){var _i=!1;if(mi.open)_i=br.indexOf(mi.key)===-1,_i&&br.push(mi.key);else{var Hi=br.indexOf(mi.key);_i=Hi!==-1,_i&&br.splice(Hi,1)}hn=hn||_i};Array.isArray(Zt)?Zt.forEach(fn):fn(Zt),hn&&("openKeys"in Tt.props||Tt.store.setState({openKeys:br}),Sr.onOpenChange(br))},Tt.onDeselect=function(Zt){var Nr=Object(u.a)(Tt),Sr=Nr.props;if(Sr.selectable){var br=Tt.store.getState().selectedKeys.concat(),hn=Zt.key,fn=br.indexOf(hn);fn!==-1&&br.splice(fn,1),"selectedKeys"in Sr||Tt.store.setState({selectedKeys:br}),Sr.onDeselect(Object(c.a)(Object(c.a)({},Zt),{},{selectedKeys:br}))}},Tt.onMouseEnter=function(Zt){Tt.restoreModeVerticalFromInline();var Nr=Tt.props.onMouseEnter;Nr&&Nr(Zt)},Tt.onTransitionEnd=function(Zt){var Nr=Zt.propertyName==="width"&&Zt.target===Zt.currentTarget,Sr=Zt.target.className,br=Object.prototype.toString.call(Sr)==="[object SVGAnimatedString]"?Sr.animVal:Sr,hn=Zt.propertyName==="font-size"&&br.indexOf("anticon")>=0;(Nr||hn)&&Tt.restoreModeVerticalFromInline()},Tt.setInnerMenu=function(Zt){Tt.innerMenu=Zt},Tt.isRootMenu=!0;var Rt=or.defaultSelectedKeys,_t=or.defaultOpenKeys;return"selectedKeys"in or&&(Rt=or.selectedKeys||[]),"openKeys"in or&&(_t=or.openKeys||[]),Tt.store=Object(A.c)({selectedKeys:Rt,openKeys:_t,activeKey:{"0-menu-":ye(or,or.activeKey)}}),Tt.state={switchingModeFromInline:!1},Tt}return Object(o.a)(cr,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Tt){this.updateOpentKeysWhenSwitchMode(Tt),this.updateMiniStore();var Rt=this.props,_t=Rt.siderCollapsed,Zt=Rt.inlineCollapsed,Nr=Rt.onOpenChange;(!Tt.inlineCollapsed&&Zt||!Tt.siderCollapsed&&_t)&&Nr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(Tt){var Rt=this.props,_t=this.store,Zt=this.inlineOpenKeys,Nr=_t.getState(),Sr={};Tt.mode==="inline"&&Rt.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Rt||((Rt.inlineCollapsed&&!Tt.inlineCollapsed||Rt.siderCollapsed&&!Tt.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=Nr.openKeys.concat(),Sr.openKeys=[]),(!Rt.inlineCollapsed&&Tt.inlineCollapsed||!Rt.siderCollapsed&&Tt.siderCollapsed)&&(Sr.openKeys=Zt,this.inlineOpenKeys=[])),Object.keys(Sr).length&&_t.setState(Sr)}},{key:"updateMenuDisplay",value:function(){var Tt=this.props.collapsedWidth,Rt=this.store,_t=this.prevOpenKeys,Zt=this.getInlineCollapsed()&&(Tt===0||Tt==="0"||Tt==="0px");Zt?(this.prevOpenKeys=Rt.getState().openKeys.concat(),this.store.setState({openKeys:[]})):_t&&(this.store.setState({openKeys:_t}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Tt=this.props.mode,Rt=this.state.switchingModeFromInline,_t=this.getInlineCollapsed();return Rt&&_t?"inline":_t?"vertical":Tt}},{key:"getInlineCollapsed",value:function(){var Tt=this.props,Rt=Tt.inlineCollapsed,_t=Tt.siderCollapsed;return _t!==void 0?_t:Rt}},{key:"restoreModeVerticalFromInline",value:function(){var Tt=this.state.switchingModeFromInline;Tt&&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 Tt=Object(c.a)({},Object(w.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Rt=this.getRealMenuMode();return Tt.className+=" ".concat(Tt.prefixCls,"-root"),Tt.direction==="rtl"&&(Tt.className+=" ".concat(Tt.prefixCls,"-rtl")),Tt=Object(c.a)(Object(c.a)({},Tt),{},{mode:Rt,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:gn(this.props,this.state,Rt)}),delete Tt.openAnimation,delete Tt.openTransitionName,r.createElement(A.a,{store:this.store},r.createElement(nr,Object.assign({},Tt,{ref:this.setInnerMenu}),this.props.children))}}]),cr}(r.Component);_r.defaultProps={selectable:!0,onClick:Ae,onSelect:Ae,onOpenChange:Ae,onDeselect:Ae,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:r.createElement("span",null,"\xB7\xB7\xB7")};var ur=_r,zt=function(St){Object(h.a)(cr,St);var At=Object(g.a)(cr);function cr(){var or;return Object(e.a)(this,cr),or=At.apply(this,arguments),or.onKeyDown=function(Tt){var Rt=Tt.keyCode;return Rt===T.a.ENTER?(or.onClick(Tt),!0):void 0},or.onMouseLeave=function(Tt){var Rt=or.props,_t=Rt.eventKey,Zt=Rt.onItemHover,Nr=Rt.onMouseLeave;Zt({key:_t,hover:!1}),Nr({key:_t,domEvent:Tt})},or.onMouseEnter=function(Tt){var Rt=or.props,_t=Rt.eventKey,Zt=Rt.onItemHover,Nr=Rt.onMouseEnter;Zt({key:_t,hover:!0}),Nr({key:_t,domEvent:Tt})},or.onClick=function(Tt){var Rt=or.props,_t=Rt.eventKey,Zt=Rt.multiple,Nr=Rt.onClick,Sr=Rt.onSelect,br=Rt.onDeselect,hn=Rt.isSelected,fn={key:_t,keyPath:[_t],item:Object(u.a)(or),domEvent:Tt};Nr(fn),Zt?hn?br(fn):Sr(fn):hn||Sr(fn)},or.saveNode=function(Tt){or.node=Tt},or}return Object(o.a)(cr,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Tt=this.props;Tt.onDestroy&&Tt.onDestroy(Tt.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 Tt,Rt=Object(c.a)({},this.props),_t=D()(this.getPrefixCls(),Rt.className,(Tt={},Object(C.a)(Tt,this.getActiveClassName(),!Rt.disabled&&Rt.active),Object(C.a)(Tt,this.getSelectedClassName(),Rt.isSelected),Object(C.a)(Tt,this.getDisabledClassName(),Rt.disabled),Tt)),Zt=Object(c.a)(Object(c.a)({},Rt.attribute),{},{title:typeof Rt.title=="string"?Rt.title:void 0,className:_t,role:Rt.role||"menuitem","aria-disabled":Rt.disabled});Rt.role==="option"?Zt=Object(c.a)(Object(c.a)({},Zt),{},{role:"option","aria-selected":Rt.isSelected}):(Rt.role===null||Rt.role==="none")&&(Zt.role="none");var Nr={onClick:Rt.disabled?null:this.onClick,onMouseLeave:Rt.disabled?null:this.onMouseLeave,onMouseEnter:Rt.disabled?null:this.onMouseEnter},Sr=Object(c.a)({},Rt.style);Rt.mode==="inline"&&(Rt.direction==="rtl"?Sr.paddingRight=Rt.inlineIndent*Rt.level:Sr.paddingLeft=Rt.inlineIndent*Rt.level),oe.forEach(function(hn){return delete Rt[hn]}),delete Rt.direction;var br=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(br=r.createElement(this.props.itemIcon,this.props)),r.createElement("li",Object.assign({},Object(w.default)(Rt,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Zt,Nr,{style:Sr,ref:this.saveNode}),Rt.children,br)}}]),cr}(r.Component);zt.isMenuItem=!0,zt.defaultProps={onSelect:Ae,onMouseEnter:Ae,onMouseLeave:Ae,manualRef:Ae};var bt=Object(A.b)(function(St,At){var cr=St.activeKey,or=St.selectedKeys,Tt=At.eventKey,Rt=At.subMenuKey;return{active:cr[Rt]===Tt,isSelected:or.indexOf(Tt)!==-1}})(zt),ot=bt,lr=function(St){Object(h.a)(cr,St);var At=Object(g.a)(cr);function cr(){var or;return Object(e.a)(this,cr),or=At.apply(this,arguments),or.renderInnerMenuItem=function(Tt){var Rt=or.props,_t=Rt.renderMenuItem,Zt=Rt.index;return _t(Tt,Zt,or.props.subMenuKey)},or}return Object(o.a)(cr,[{key:"render",value:function(){var Tt=Object(x.a)({},this.props),Rt=Tt.className,_t=Rt===void 0?"":Rt,Zt=Tt.rootPrefixCls,Nr="".concat(Zt,"-item-group-title"),Sr="".concat(Zt,"-item-group-list"),br=Tt.title,hn=Tt.children;return oe.forEach(function(fn){return delete Tt[fn]}),delete Tt.onClick,delete Tt.direction,r.createElement("li",Object.assign({},Tt,{className:"".concat(_t," ").concat(Zt,"-item-group")}),r.createElement("div",{className:Nr,title:typeof br=="string"?br:void 0},br),r.createElement("ul",{className:Sr},r.Children.map(hn,this.renderInnerMenuItem)))}}]),cr}(r.Component);lr.isMenuItemGroup=!0,lr.defaultProps={disabled:!0};var jr=lr,Rr=function(At){var cr=At.className,or=At.rootPrefixCls,Tt=At.style;return r.createElement("li",{className:"".concat(cr," ").concat(or,"-item-divider"),style:Tt})};Rr.defaultProps={disabled:!0,className:"",style:{}};var xr=Rr,Vn=ur,bn=Object(r.createContext)({inlineCollapsed:!1}),di=bn,lt=i("0n0R"),ct=function(St){t()(cr,St);var At=s()(cr);function cr(){return f()(this,cr),At.apply(this,arguments)}return l()(cr,[{key:"renderTitle",value:function(Tt){var Rt=this.props,_t=Rt.icon,Zt=Rt.title,Nr=Rt.level,Sr=Rt.rootPrefixCls;if(!_t)return Tt&&Nr===1&&Zt&&typeof Zt=="string"?r.createElement("div",{className:"".concat(Sr,"-inline-collapsed-noicon")},Zt.charAt(0)):Zt;var br=Object(lt.b)(Zt)&&Zt.type==="span";return r.createElement(r.Fragment,null,_t,br?Zt:r.createElement("span",null,Zt))}},{key:"render",value:function(){var Tt=this,Rt=this.props,_t=Rt.rootPrefixCls,Zt=Rt.popupClassName;return r.createElement(di.Consumer,null,function(Nr){var Sr=Nr.inlineCollapsed,br=Nr.antdMenuTheme;return r.createElement(Pt,m()({},Object(w.default)(Tt.props,["icon"]),{title:Tt.renderTitle(Sr),popupClassName:D()(_t,"".concat(_t,"-").concat(br),Zt)}))})}}]),cr}(r.Component);ct.contextType=di,ct.isSubMenu=1;var Le=ct,Ue=i("Zm9Q"),Ye=i("3S7+"),ft=i("ZX9x"),ir=function(St,At){var cr={};for(var or in St)Object.prototype.hasOwnProperty.call(St,or)&&At.indexOf(or)<0&&(cr[or]=St[or]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,or=Object.getOwnPropertySymbols(St);Tt<or.length;Tt++)At.indexOf(or[Tt])<0&&Object.prototype.propertyIsEnumerable.call(St,or[Tt])&&(cr[or[Tt]]=St[or[Tt]]);return cr},Yt=function(St){t()(cr,St);var At=s()(cr);function cr(){var or;return f()(this,cr),or=At.apply(this,arguments),or.renderItem=function(Tt){var Rt=Tt.siderCollapsed,_t=or.props,Zt=_t.level,Nr=_t.className,Sr=_t.children,br=_t.rootPrefixCls,hn=or.props,fn=hn.title,ni=hn.icon,mi=hn.danger,_i=ir(hn,["title","icon","danger"]);return r.createElement(di.Consumer,null,function(Hi){var aa,Ra=Hi.inlineCollapsed,it=Hi.direction,Re=fn;typeof fn=="undefined"?Re=Zt===1?Sr:"":fn===!1&&(Re="");var Ke={title:Re};!Rt&&!Ra&&(Ke.title=null,Ke.visible=!1);var Ge=Object(Ue.a)(Sr).length;return r.createElement(Ye.a,m()({},Ke,{placement:it==="rtl"?"left":"right",overlayClassName:"".concat(br,"-inline-collapsed-tooltip")}),r.createElement(ot,m()({},_i,{className:D()(Nr,(aa={},p()(aa,"".concat(br,"-item-danger"),mi),p()(aa,"".concat(br,"-item-only-child"),(ni?Ge+1:Ge)===1),aa)),title:fn}),ni,or.renderItemChildren(Ra)))})},or}return l()(cr,[{key:"renderItemChildren",value:function(Tt){var Rt=this.props,_t=Rt.icon,Zt=Rt.children,Nr=Rt.level,Sr=Rt.rootPrefixCls;return!_t||Object(lt.b)(Zt)&&Zt.type==="span"?Zt&&Tt&&Nr===1&&typeof Zt=="string"?r.createElement("div",{className:"".concat(Sr,"-inline-collapsed-noicon")},Zt.charAt(0)):Zt:r.createElement("span",null,Zt)}},{key:"render",value:function(){return r.createElement(ft.a.Consumer,null,this.renderItem)}}]),cr}(r.Component);Yt.isMenuItem=!0;var rr=i("H84U"),Zr=i("uaoM"),nn=i("EXcs"),Pn=function(St){t()(cr,St);var At=s()(cr);function cr(or){var Tt;return f()(this,cr),Tt=At.call(this,or),Tt.renderMenu=function(Rt){var _t=Rt.getPopupContainer,Zt=Rt.getPrefixCls,Nr=Rt.direction,Sr=Tt.props,br=Sr.prefixCls,hn=Sr.className,fn=Sr.theme,ni={horizontal:{motionName:"slide-up"},inline:nn.a,other:{motionName:"zoom-big"}},mi=Zt("menu",br),_i=D()(hn,"".concat(mi,"-").concat(fn),p()({},"".concat(mi,"-inline-collapsed"),Tt.getInlineCollapsed()));return r.createElement(di.Provider,{value:{inlineCollapsed:Tt.getInlineCollapsed()||!1,antdMenuTheme:fn,direction:Nr}},r.createElement(Vn,m()({getPopupContainer:_t},Tt.props,{className:_i,prefixCls:mi,direction:Nr,defaultMotions:ni})))},Object(Zr.a)(!("inlineCollapsed"in or&&or.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Zr.a)(!(or.siderCollapsed!==void 0&&"inlineCollapsed"in or),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),Tt}return l()(cr,[{key:"getInlineCollapsed",value:function(){var Tt=this.props,Rt=Tt.inlineCollapsed,_t=Tt.siderCollapsed;return _t!==void 0?_t:Rt}},{key:"render",value:function(){return r.createElement(rr.a,null,this.renderMenu)}}]),cr}(r.Component);Pn.defaultProps={className:"",theme:"light",focusable:!1};var qt=function(St){t()(cr,St);var At=s()(cr);function cr(){return f()(this,cr),At.apply(this,arguments)}return l()(cr,[{key:"render",value:function(){var Tt=this;return r.createElement(ft.a.Consumer,null,function(Rt){return r.createElement(Pn,m()({},Tt.props,Rt))})}}]),cr}(r.Component);qt.Divider=xr,qt.Item=Yt,qt.SubMenu=Le,qt.ItemGroup=jr},C0SR:function(U,R,i){var y=i("YH21"),m=function(){this._track=[]};m.prototype={constructor:m,recognize:function(l,n,t){return this._doTrack(l,n,t),this._recognize(l)},clear:function(){return this._track.length=0,this},_doTrack:function(l,n,t){var a=l.touches;if(!a)return;for(var s={points:[],touches:[],target:n,event:l},r=0,c=a.length;r<c;r++){var e=a[r],o=y.clientToLocal(t,e,{});s.points.push([o.zrX,o.zrY]),s.touches.push(e)}this._track.push(s)},_recognize:function(l){for(var n in v)if(v.hasOwnProperty(n)){var t=v[n](this._track,l);if(t)return t}}};function E(d){var l=d[1][0]-d[0][0],n=d[1][1]-d[0][1];return Math.sqrt(l*l+n*n)}function p(d){return[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]}var v={pinch:function(l,n){var t=l.length;if(!t)return;var a=(l[t-1]||{}).points,s=(l[t-2]||{}).points||a;if(s&&s.length>1&&a&&a.length>1){var r=E(a)/E(s);!isFinite(r)&&(r=1),n.pinchScale=r;var c=p(a);return n.pinchX=c[0],n.pinchY=c[1],{type:"pinch",target:l[0].target,event:n}}}},f=m;U.exports=f},C0tN:function(U,R,i){i("0o9m"),i("8Uz6"),i("Ducp"),i("6/nd")},CBdT:function(U,R,i){var y=i("ProS");i("8waO"),i("AEZ6"),i("YNf1");var m=i("q3GZ");y.registerVisual(m)},CF2D:function(U,R,i){var y=i("ProS");i("vZI5"),i("GeKi");var m=i("6r85"),E=i("TJmX"),p=i("CbHG");y.registerPreprocessor(m),y.registerVisual(E),y.registerLayout(p)},CFYs:function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("PJYZ"),t=i.n(n),a=i("7W2i"),s=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),o=i.n(e),u=i("TSYQ"),h=i.n(u),g=i("BGR+"),A=i("V/uB"),w=i.n(A),x=i("NAnI"),C=i.n(x),T=i("J84W"),O=i.n(T),S=i("kbBi"),_=i.n(S),L=i("H84U"),D=i("CWQg"),F=i("uaoM"),j=i("Zss7"),k=i.n(j),K=2,Z=.16,B=.05,V=.05,z=.15,X=5,W=4,q=[{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 Y(Yt,rr,Zr){var nn;return Math.round(Yt.h)>=60&&Math.round(Yt.h)<=240?nn=Zr?Math.round(Yt.h)-K*rr:Math.round(Yt.h)+K*rr:nn=Zr?Math.round(Yt.h)+K*rr:Math.round(Yt.h)-K*rr,nn<0?nn+=360:nn>=360&&(nn-=360),nn}function re(Yt,rr,Zr){if(Yt.h===0&&Yt.s===0)return Yt.s;var nn;return Zr?nn=Yt.s-Z*rr:rr===W?nn=Yt.s+Z:nn=Yt.s+B*rr,nn>1&&(nn=1),Zr&&rr===X&&nn>.1&&(nn=.1),nn<.06&&(nn=.06),Number(nn.toFixed(2))}function ne(Yt,rr,Zr){var nn;return Zr?nn=Yt.v+V*rr:nn=Yt.v-z*rr,nn>1&&(nn=1),Number(nn.toFixed(2))}function we(Yt){for(var rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zr=[],nn=k()(Yt),Pn=X;Pn>0;Pn-=1){var qt=nn.toHsv(),St=k()({h:Y(qt,Pn,!0),s:re(qt,Pn,!0),v:ne(qt,Pn,!0)}).toHexString();Zr.push(St)}Zr.push(nn.toHexString());for(var At=1;At<=W;At+=1){var cr=nn.toHsv(),or=k()({h:Y(cr,At),s:re(cr,At),v:ne(cr,At)}).toHexString();Zr.push(or)}return rr.theme==="dark"?q.map(function(Tt){var Rt=Tt.index,_t=Tt.opacity,Zt=k.a.mix(rr.backgroundColor||"#141414",Zr[Rt],_t*100).toHexString();return Zt}):Zr}var ie={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},me={},_e={};Object.keys(ie).forEach(function(Yt){me[Yt]=we(ie[Yt]),me[Yt].primary=me[Yt][5],_e[Yt]=we(ie[Yt],{theme:"dark",backgroundColor:"#141414"}),_e[Yt].primary=_e[Yt][5]});var Te=me.red,We=me.volcano,Ae=me.gold,je=me.orange,ee=me.yellow,he=me.lime,Ze=me.green,oe=me.cyan,Q=me.blue,G=me.geekblue,te=me.purple,xe=me.magenta,fe=me.grey;function Be(Yt){return!Yt||Yt<0?0:Yt>100?100:Yt}function Ne(Yt){var rr=Yt.success,Zr=Yt.successPercent,nn=Zr;return rr&&"progress"in rr&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),nn=rr.progress),rr&&"percent"in rr&&(nn=rr.percent),nn}var de=function(Yt,rr){var Zr={};for(var nn in Yt)Object.prototype.hasOwnProperty.call(Yt,nn)&&rr.indexOf(nn)<0&&(Zr[nn]=Yt[nn]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,nn=Object.getOwnPropertySymbols(Yt);Pn<nn.length;Pn++)rr.indexOf(nn[Pn])<0&&Object.prototype.propertyIsEnumerable.call(Yt,nn[Pn])&&(Zr[nn[Pn]]=Yt[nn[Pn]]);return Zr},ve=function(rr){var Zr=[];return Object.keys(rr).forEach(function(nn){var Pn=parseFloat(nn.replace(/%/g,""));isNaN(Pn)||Zr.push({key:Pn,value:rr[nn]})}),Zr=Zr.sort(function(nn,Pn){return nn.key-Pn.key}),Zr.map(function(nn){var Pn=nn.key,qt=nn.value;return"".concat(qt," ").concat(Pn,"%")}).join(", ")},Me=function(rr){var Zr=rr.from,nn=Zr===void 0?ie.blue:Zr,Pn=rr.to,qt=Pn===void 0?ie.blue:Pn,St=rr.direction,At=St===void 0?"to right":St,cr=de(rr,["from","to","direction"]);if(Object.keys(cr).length!==0){var or=ve(cr);return{backgroundImage:"linear-gradient(".concat(At,", ").concat(or,")")}}return{backgroundImage:"linear-gradient(".concat(At,", ").concat(nn,", ").concat(qt,")")}},qe=function(rr){var Zr=rr.prefixCls,nn=rr.percent,Pn=rr.strokeWidth,qt=rr.size,St=rr.strokeColor,At=rr.strokeLinecap,cr=rr.children,or=rr.trailColor,Tt=rr.success,Rt=St&&typeof St!="string"?Me(St):{background:St},_t=or?{backgroundColor:or}:void 0,Zt=p()({width:"".concat(Be(nn),"%"),height:Pn||(qt==="small"?6:8),borderRadius:At==="square"?0:""},Rt),Nr=Ne(rr),Sr={width:"".concat(Be(Nr),"%"),height:Pn||(qt==="small"?6:8),borderRadius:At==="square"?0:"",backgroundColor:Tt==null?void 0:Tt.strokeColor},br=Nr!==void 0?e.createElement("div",{className:"".concat(Zr,"-success-bg"),style:Sr}):null;return e.createElement(e.Fragment,null,e.createElement("div",{className:"".concat(Zr,"-outer")},e.createElement("div",{className:"".concat(Zr,"-inner"),style:_t},e.createElement("div",{className:"".concat(Zr,"-bg"),style:Zt}),br)),cr)},gt=qe,ht={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Pe=function(rr){var Zr=rr.map(function(){return Object(e.useRef)()}),nn=Object(e.useRef)();return Object(e.useEffect)(function(){var Pn=Date.now(),qt=!1;Object.keys(Zr).forEach(function(St){var At=Zr[St].current;if(!At)return;qt=!0;var cr=At.style;cr.transitionDuration=".3s, .3s, .3s, .06s",nn.current&&Pn-nn.current<100&&(cr.transitionDuration="0s, 0s")}),qt&&(nn.current=Date.now())}),[Zr]};function It(){return It=Object.assign||function(Yt){for(var rr=1;rr<arguments.length;rr++){var Zr=arguments[rr];for(var nn in Zr)Object.prototype.hasOwnProperty.call(Zr,nn)&&(Yt[nn]=Zr[nn])}return Yt},It.apply(this,arguments)}function nt(Yt,rr){return er(Yt)||jt(Yt,rr)||Bt(Yt,rr)||Nt()}function Nt(){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(Yt,rr){if(!Yt)return;if(typeof Yt=="string")return Pt(Yt,rr);var Zr=Object.prototype.toString.call(Yt).slice(8,-1);if(Zr==="Object"&&Yt.constructor&&(Zr=Yt.constructor.name),Zr==="Map"||Zr==="Set")return Array.from(Yt);if(Zr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Zr))return Pt(Yt,rr)}function Pt(Yt,rr){(rr==null||rr>Yt.length)&&(rr=Yt.length);for(var Zr=0,nn=new Array(rr);Zr<rr;Zr++)nn[Zr]=Yt[Zr];return nn}function jt(Yt,rr){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Yt)))return;var Zr=[],nn=!0,Pn=!1,qt=void 0;try{for(var St=Yt[Symbol.iterator](),At;!(nn=(At=St.next()).done)&&!(Zr.push(At.value),rr&&Zr.length===rr);nn=!0);}catch(cr){Pn=!0,qt=cr}finally{try{!nn&&St.return!=null&&St.return()}finally{if(Pn)throw qt}}return Zr}function er(Yt){if(Array.isArray(Yt))return Yt}function at(Yt,rr){if(Yt==null)return{};var Zr=Ce(Yt,rr),nn,Pn;if(Object.getOwnPropertySymbols){var qt=Object.getOwnPropertySymbols(Yt);for(Pn=0;Pn<qt.length;Pn++){if(nn=qt[Pn],rr.indexOf(nn)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Yt,nn))continue;Zr[nn]=Yt[nn]}}return Zr}function Ce(Yt,rr){if(Yt==null)return{};var Zr={},nn=Object.keys(Yt),Pn,qt;for(qt=0;qt<nn.length;qt++){if(Pn=nn[qt],rr.indexOf(Pn)>=0)continue;Zr[Pn]=Yt[Pn]}return Zr}var ue=function(rr){var Zr=rr.className,nn=rr.percent,Pn=rr.prefixCls,qt=rr.strokeColor,St=rr.strokeLinecap,At=rr.strokeWidth,cr=rr.style,or=rr.trailColor,Tt=rr.trailWidth,Rt=rr.transition,_t=at(rr,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete _t.gapPosition;var Zt=Array.isArray(nn)?nn:[nn],Nr=Array.isArray(qt)?qt:[qt],Sr=Pe(Zt),br=nt(Sr,1),hn=br[0],fn=At/2,ni=100-At/2,mi="M ".concat(St==="round"?fn:0,",").concat(fn,`
|
|
|
L `).concat(St==="round"?ni:100,",").concat(fn),_i="0 0 100 ".concat(At),Hi=0;return o.a.createElement("svg",It({className:h()("".concat(Pn,"-line"),Zr),viewBox:_i,preserveAspectRatio:"none",style:cr},_t),o.a.createElement("path",{className:"".concat(Pn,"-line-trail"),d:mi,strokeLinecap:St,stroke:or,strokeWidth:Tt||At,fillOpacity:"0"}),Zt.map(function(aa,Ra){var it={strokeDasharray:"".concat(aa,"px, 100px"),strokeDashoffset:"-".concat(Hi,"px"),transition:Rt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Re=Nr[Ra]||Nr[Nr.length-1];return Hi+=aa,o.a.createElement("path",{key:Ra,className:"".concat(Pn,"-line-path"),d:mi,strokeLinecap:St,stroke:Re,strokeWidth:At,fillOpacity:"0",ref:hn[Ra],style:it})}))};ue.defaultProps=ht;var Dt=ue;function rt(){return rt=Object.assign||function(Yt){for(var rr=1;rr<arguments.length;rr++){var Zr=arguments[rr];for(var nn in Zr)Object.prototype.hasOwnProperty.call(Zr,nn)&&(Yt[nn]=Zr[nn])}return Yt},rt.apply(this,arguments)}function ye(Yt,rr){return yr(Yt)||nr(Yt,rr)||pr(Yt,rr)||Xt()}function Xt(){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 pr(Yt,rr){if(!Yt)return;if(typeof Yt=="string")return mt(Yt,rr);var Zr=Object.prototype.toString.call(Yt).slice(8,-1);if(Zr==="Object"&&Yt.constructor&&(Zr=Yt.constructor.name),Zr==="Map"||Zr==="Set")return Array.from(Yt);if(Zr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Zr))return mt(Yt,rr)}function mt(Yt,rr){(rr==null||rr>Yt.length)&&(rr=Yt.length);for(var Zr=0,nn=new Array(rr);Zr<rr;Zr++)nn[Zr]=Yt[Zr];return nn}function nr(Yt,rr){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Yt)))return;var Zr=[],nn=!0,Pn=!1,qt=void 0;try{for(var St=Yt[Symbol.iterator](),At;!(nn=(At=St.next()).done)&&!(Zr.push(At.value),rr&&Zr.length===rr);nn=!0);}catch(cr){Pn=!0,qt=cr}finally{try{!nn&&St.return!=null&&St.return()}finally{if(Pn)throw qt}}return Zr}function yr(Yt){if(Array.isArray(Yt))return Yt}function gn(Yt,rr){if(Yt==null)return{};var Zr=_r(Yt,rr),nn,Pn;if(Object.getOwnPropertySymbols){var qt=Object.getOwnPropertySymbols(Yt);for(Pn=0;Pn<qt.length;Pn++){if(nn=qt[Pn],rr.indexOf(nn)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Yt,nn))continue;Zr[nn]=Yt[nn]}}return Zr}function _r(Yt,rr){if(Yt==null)return{};var Zr={},nn=Object.keys(Yt),Pn,qt;for(qt=0;qt<nn.length;qt++){if(Pn=nn[qt],rr.indexOf(Pn)>=0)continue;Zr[Pn]=Yt[Pn]}return Zr}var ur=0;function zt(Yt){return+Yt.replace("%","")}function bt(Yt){return Array.isArray(Yt)?Yt:[Yt]}function ot(Yt,rr,Zr,nn){var Pn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,qt=arguments.length>5?arguments[5]:void 0,St=50-nn/2,At=0,cr=-St,or=0,Tt=-2*St;switch(qt){case"left":At=-St,cr=0,or=2*St,Tt=0;break;case"right":At=St,cr=0,or=-2*St,Tt=0;break;case"bottom":cr=St,Tt=2*St;break;default:}var Rt="M 50,50 m ".concat(At,",").concat(cr,`
|
|
|
a `).concat(St,",").concat(St," 0 1 1 ").concat(or,",").concat(-Tt,`
|
|
|
a `).concat(St,",").concat(St," 0 1 1 ").concat(-or,",").concat(Tt),_t=Math.PI*2*St,Zt={stroke:Zr,strokeDasharray:"".concat(rr/100*(_t-Pn),"px ").concat(_t,"px"),strokeDashoffset:"-".concat(Pn/2+Yt/100*(_t-Pn),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Rt,pathStyle:Zt}}var lr=function(rr){var Zr=rr.prefixCls,nn=rr.strokeWidth,Pn=rr.trailWidth,qt=rr.gapDegree,St=rr.gapPosition,At=rr.trailColor,cr=rr.strokeLinecap,or=rr.style,Tt=rr.className,Rt=rr.strokeColor,_t=rr.percent,Zt=gn(rr,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Nr=Object(e.useMemo)(function(){return ur+=1,ur},[]),Sr=ot(0,100,At,nn,qt,St),br=Sr.pathString,hn=Sr.pathStyle,fn=bt(_t),ni=bt(Rt),mi=ni.find(function(it){return Object.prototype.toString.call(it)==="[object Object]"}),_i=Pe(fn),Hi=ye(_i,1),aa=Hi[0],Ra=function(){var Re=0;return fn.map(function(Ke,Ge){var et=ni[Ge]||ni[ni.length-1],$e=Object.prototype.toString.call(et)==="[object Object]"?"url(#".concat(Zr,"-gradient-").concat(Nr,")"):"",st=ot(Re,Ke,et,nn,qt,St);return Re+=Ke,o.a.createElement("path",{key:Ge,className:"".concat(Zr,"-circle-path"),d:st.pathString,stroke:$e,strokeLinecap:cr,strokeWidth:nn,opacity:Ke===0?0:1,fillOpacity:"0",style:st.pathStyle,ref:aa[Ge]})})};return o.a.createElement("svg",rt({className:h()("".concat(Zr,"-circle"),Tt),viewBox:"0 0 100 100",style:or},Zt),mi&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(Zr,"-gradient-").concat(Nr),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(mi).sort(function(it,Re){return zt(it)-zt(Re)}).map(function(it,Re){return o.a.createElement("stop",{key:Re,offset:it,stopColor:mi[it]})}))),o.a.createElement("path",{className:"".concat(Zr,"-circle-trail"),d:br,stroke:At,strokeLinecap:cr,strokeWidth:Pn||nn,fillOpacity:"0",style:hn}),Ra().reverse())};lr.defaultProps=ht;var jr=lr,Rr={Line:Dt,Circle:jr};function xr(Yt){var rr=Yt.percent,Zr=Yt.success,nn=Yt.successPercent,Pn=Be(rr),qt=Ne({success:Zr,successPercent:nn});return qt?[Be(qt),Be(Pn-Be(qt))]:Pn}function Vn(Yt){var rr=Yt.success,Zr=Yt.strokeColor,nn=Yt.successPercent,Pn=Zr||null,qt=Ne({success:rr,successPercent:nn});return qt?[ie.green,Pn]:Pn}var bn=function(rr){var Zr=rr.prefixCls,nn=rr.width,Pn=rr.strokeWidth,qt=rr.trailColor,St=rr.strokeLinecap,At=rr.gapPosition,cr=rr.gapDegree,or=rr.type,Tt=rr.children,Rt=nn||120,_t={width:Rt,height:Rt,fontSize:Rt*.15+6},Zt=Pn||6,Nr=At||or==="dashboard"&&"bottom"||"top",Sr=function(){return cr||cr===0?cr:or==="dashboard"?75:void 0},br=Vn(rr),hn=Object.prototype.toString.call(br)==="[object Object]",fn=h()("".concat(Zr,"-inner"),m()({},"".concat(Zr,"-circle-gradient"),hn));return e.createElement("div",{className:fn,style:_t},e.createElement(jr,{percent:xr(rr),strokeWidth:Zt,trailWidth:Zt,strokeColor:br,strokeLinecap:St,trailColor:qt,prefixCls:Zr,gapDegree:Sr(),gapPosition:Nr}),Tt)},di=bn,lt=function(rr){for(var Zr=rr.size,nn=rr.steps,Pn=rr.percent,qt=Pn===void 0?0:Pn,St=rr.strokeWidth,At=St===void 0?8:St,cr=rr.strokeColor,or=rr.trailColor,Tt=rr.prefixCls,Rt=rr.children,_t=Math.floor(nn*(qt/100)),Zt=Zr==="small"?2:14,Nr=[],Sr=0;Sr<nn;Sr+=1)Nr.push(e.createElement("div",{key:Sr,className:h()("".concat(Tt,"-steps-item"),m()({},"".concat(Tt,"-steps-item-active"),Sr<=_t-1)),style:{backgroundColor:Sr<=_t-1?cr:or,width:Zt,height:At}}));return e.createElement("div",{className:"".concat(Tt,"-steps-outer")},Nr,Rt)},ct=lt,Le=function(Yt,rr){var Zr={};for(var nn in Yt)Object.prototype.hasOwnProperty.call(Yt,nn)&&rr.indexOf(nn)<0&&(Zr[nn]=Yt[nn]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,nn=Object.getOwnPropertySymbols(Yt);Pn<nn.length;Pn++)rr.indexOf(nn[Pn])<0&&Object.prototype.propertyIsEnumerable.call(Yt,nn[Pn])&&(Zr[nn[Pn]]=Yt[nn[Pn]]);return Zr},Ue=Object(D.a)("line","circle","dashboard"),Ye=Object(D.a)("normal","exception","active","success"),ft=function(Yt){s()(Zr,Yt);var rr=c()(Zr);function Zr(){var nn;return f()(this,Zr),nn=rr.apply(this,arguments),nn.renderProgress=function(Pn){var qt,St=Pn.getPrefixCls,At=Pn.direction,cr=t()(nn),or=cr.props,Tt=or.prefixCls,Rt=or.className,_t=or.size,Zt=or.type,Nr=or.steps,Sr=or.showInfo,br=or.strokeColor,hn=Le(or,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),fn=St("progress",Tt),ni=nn.getProgressStatus(),mi=nn.renderProcessInfo(fn,ni);Object(F.a)(!("successPercent"in or),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var _i;Zt==="line"?_i=Nr?e.createElement(ct,p()({},nn.props,{strokeColor:typeof br=="string"?br:void 0,prefixCls:fn,steps:Nr}),mi):e.createElement(gt,p()({},nn.props,{prefixCls:fn}),mi):(Zt==="circle"||Zt==="dashboard")&&(_i=e.createElement(di,p()({},nn.props,{prefixCls:fn,progressStatus:ni}),mi));var Hi=h()(fn,(qt={},m()(qt,"".concat(fn,"-").concat(Zt==="dashboard"&&"circle"||Nr&&"steps"||Zt),!0),m()(qt,"".concat(fn,"-status-").concat(ni),!0),m()(qt,"".concat(fn,"-show-info"),Sr),m()(qt,"".concat(fn,"-").concat(_t),_t),m()(qt,"".concat(fn,"-rtl"),At==="rtl"),qt),Rt);return e.createElement("div",p()({},Object(g.default)(hn,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Hi}),_i)},nn}return l()(Zr,[{key:"getPercentNumber",value:function(){var Pn=this.props.percent,qt=Pn===void 0?0:Pn,St=Ne(this.props);return parseInt(St!==void 0?St.toString():qt.toString(),10)}},{key:"getProgressStatus",value:function(){var Pn=this.props.status;return Ye.indexOf(Pn)<0&&this.getPercentNumber()>=100?"success":Pn||"normal"}},{key:"renderProcessInfo",value:function(Pn,qt){var St=this.props,At=St.showInfo,cr=St.format,or=St.type,Tt=St.percent,Rt=Ne(this.props);if(!At)return null;var _t,Zt=cr||function(Sr){return"".concat(Sr,"%")},Nr=or==="line";return cr||qt!=="exception"&&qt!=="success"?_t=Zt(Be(Tt),Be(Rt)):qt==="exception"?_t=Nr?e.createElement(_.a,null):e.createElement(w.a,null):qt==="success"&&(_t=Nr?e.createElement(O.a,null):e.createElement(C.a,null)),e.createElement("span",{className:"".concat(Pn,"-text"),title:typeof _t=="string"?_t:void 0},_t)}},{key:"render",value:function(){return e.createElement(L.a,null,this.renderProgress)}}]),Zr}(e.Component);ft.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var ir=R.a=ft},"CMP+":function(U,R,i){var y=i("bYtY"),m=i("hM6l"),E=function(v,f,d,l){m.call(this,v,f,d),this.type=l||"value",this.model=null};E.prototype={constructor:E,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},y.inherits(E,m);var p=E;U.exports=p},CP8R:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},"CWI+":function(U,R,i){},CbHG:function(U,R,i){var y=i("IwbS"),m=y.subPixelOptimize,E=i("zM3Q"),p=i("OELB"),v=p.parsePercent,f=i("bYtY"),d=f.retrieve2,l=typeof Float32Array!="undefined"?Float32Array:Array,n={seriesType:"candlestick",plan:E(),reset:function(s){var r=s.coordinateSystem,c=s.getData(),e=a(s,c),o=0,u=1,h=["x","y"],g=c.mapDimension(h[o]),A=c.mapDimension(h[u],!0),w=A[0],x=A[1],C=A[2],T=A[3];if(c.setLayout({candleWidth:e,isSimpleBox:e<=1.3}),g==null||A.length<4)return;return{progress:s.pipelineContext.large?S:O};function O(_,L){for(var D;(D=_.next())!=null;){var F=L.get(g,D),j=L.get(w,D),k=L.get(x,D),K=L.get(C,D),Z=L.get(T,D),B=Math.min(j,k),V=Math.max(j,k),z=re(B,F),X=re(V,F),W=re(K,F),q=re(Z,F),Y=[];ne(Y,X,0),ne(Y,z,1),Y.push(ie(q),ie(X),ie(W),ie(z)),L.setItemLayout(D,{sign:t(L,D,j,k,x),initBaseline:j>k?X[u]:z[u],ends:Y,brushRect:we(K,Z,F)})}function re(me,_e){var Te=[];return Te[o]=_e,Te[u]=me,isNaN(_e)||isNaN(me)?[NaN,NaN]:r.dataToPoint(Te)}function ne(me,_e,Te){var We=_e.slice(),Ae=_e.slice();We[o]=m(We[o]+e/2,1,!1),Ae[o]=m(Ae[o]-e/2,1,!0),Te?me.push(We,Ae):me.push(Ae,We)}function we(me,_e,Te){var We=re(me,Te),Ae=re(_e,Te);return We[o]-=e/2,Ae[o]-=e/2,{x:We[0],y:We[1],width:u?e:Ae[0]-We[0],height:u?Ae[1]-We[1]:e}}function ie(me){return me[o]=m(me[o],1),me}}function S(_,L){for(var D=new l(_.count*4),F=0,j,k=[],K=[],Z;(Z=_.next())!=null;){var B=L.get(g,Z),V=L.get(w,Z),z=L.get(x,Z),X=L.get(C,Z),W=L.get(T,Z);if(isNaN(B)||isNaN(X)||isNaN(W)){D[F++]=NaN,F+=3;continue}D[F++]=t(L,Z,V,z,x),k[o]=B,k[u]=X,j=r.dataToPoint(k,null,K),D[F++]=j?j[0]:NaN,D[F++]=j?j[1]:NaN,k[u]=W,j=r.dataToPoint(k,null,K),D[F++]=j?j[1]:NaN}L.setLayout("largePoints",D)}}};function t(s,r,c,e,o){var u;return c>e?u=-1:c<e?u=1:u=r>0?s.get(o,r-1)<=e?1:-1:1,u}function a(s,r){var c=s.getBaseAxis(),e,o=c.type==="category"?c.getBandWidth():(e=c.getExtent(),Math.abs(e[1]-e[0])/r.count()),u=v(d(s.get("barMaxWidth"),o),o),h=v(d(s.get("barMinWidth"),1),o),g=s.get("barWidth");return g!=null?v(g,o):Math.max(Math.min(o/2,u),h)}U.exports=n},Cm0C:function(U,R,i){i("5NHt"),i("f3JH")},Cmcn:function(U,R,i){"use strict";i.d(R,"a",function(){return m});var y=i("0HTW");function m(E,p){var v;if(typeof Symbol=="undefined"||E[Symbol.iterator]==null){if(Array.isArray(E)||(v=Object(y.a)(E))||p&&E&&typeof E.length=="number"){v&&(E=v);var f=0,d=function(){};return{s:d,n:function(){return f>=E.length?{done:!0}:{done:!1,value:E[f++]}},e:function(s){throw s},f:d}}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 l=!0,n=!1,t;return{s:function(){v=E[Symbol.iterator]()},n:function(){var s=v.next();return l=s.done,s},e:function(s){n=!0,t=s},f:function(){try{!l&&v.return!=null&&v.return()}finally{if(n)throw t}}}}},CrYA:function(U,R,i){var y=i("MFOe"),m=y.Global;U.exports={name:"sessionStorage",read:p,write:v,each:f,remove:d,clearAll:l};function E(){return m.sessionStorage}function p(n){return E().getItem(n)}function v(n,t){return E().setItem(n,t)}function f(n){for(var t=E().length-1;t>=0;t--){var a=E().key(t);n(p(a),a)}}function d(n){return E().removeItem(n)}function l(){return E().clear()}},Csr3:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("4vCz"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},D1WM:function(U,R,i){var y=i("bYtY"),m=i("hM6l"),E=function(v,f,d,l,n){m.call(this,v,f,d),this.type=l||"value",this.axisIndex=n};E.prototype={constructor:E,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},y.inherits(E,m);var p=E;U.exports=p},D5nY:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("4NO4"),p=E.makeInner,v=E.getDataItemValue,f=i("bYtY"),d=f.createHashMap,l=f.each,n=f.map,t=f.isArray,a=f.isString,s=f.isObject,r=f.isTypedArray,c=f.isArrayLike,e=f.extend,o=f.assert,u=i("7G+c"),h=i("k9D9"),g=h.SOURCE_FORMAT_ORIGINAL,A=h.SOURCE_FORMAT_ARRAY_ROWS,w=h.SOURCE_FORMAT_OBJECT_ROWS,x=h.SOURCE_FORMAT_KEYED_COLUMNS,C=h.SOURCE_FORMAT_UNKNOWN,T=h.SOURCE_FORMAT_TYPED_ARRAY,O=h.SERIES_LAYOUT_BY_ROW,S={Must:1,Might:2,Not:3},_=p();function L(Y){var re=Y.option.source,ne=C;if(r(re))ne=T;else if(t(re)){re.length===0&&(ne=A);for(var we=0,ie=re.length;we<ie;we++){var me=re[we];if(me==null)continue;if(t(me)){ne=A;break}else if(s(me)){ne=w;break}}}else if(s(re)){for(var _e in re)if(re.hasOwnProperty(_e)&&c(re[_e])){ne=x;break}}else if(re!=null)throw new Error("Invalid data");_(Y).sourceFormat=ne}function D(Y){return _(Y).source}function F(Y){_(Y).datasetMap=d()}function j(Y){var re=Y.option,ne=re.data,we=r(ne)?T:g,ie=!1,me=re.seriesLayoutBy,_e=re.sourceHeader,Te=re.dimensions,We=X(Y);if(We){var Ae=We.option;ne=Ae.source,we=_(We).sourceFormat,ie=!0,me=me||Ae.seriesLayoutBy,_e==null&&(_e=Ae.sourceHeader),Te=Te||Ae.dimensions}var je=k(ne,we,me,_e,Te);_(Y).source=new u({data:ne,fromDataset:ie,seriesLayoutBy:me,sourceFormat:we,dimensionsDefine:je.dimensionsDefine,startIndex:je.startIndex,dimensionsDetectCount:je.dimensionsDetectCount,encodeDefine:re.encode})}function k(Y,re,ne,we,ie){if(!Y)return{dimensionsDefine:K(ie)};var me,_e;if(re===A)we==="auto"||we==null?Z(function(We){We!=null&&We!=="-"&&(a(We)?_e==null&&(_e=1):_e=0)},ne,Y,10):_e=we?1:0,!ie&&_e===1&&(ie=[],Z(function(We,Ae){ie[Ae]=We!=null?We:""},ne,Y)),me=ie?ie.length:ne===O?Y.length:Y[0]?Y[0].length:null;else if(re===w)ie||(ie=B(Y));else if(re===x)ie||(ie=[],l(Y,function(We,Ae){ie.push(Ae)}));else if(re===g){var Te=v(Y[0]);me=t(Te)&&Te.length||1}else re===T;return{startIndex:_e,dimensionsDefine:K(ie),dimensionsDetectCount:me}}function K(Y){if(!Y)return;var re=d();return n(Y,function(ne,we){if(ne=e({},s(ne)?ne:{name:ne}),ne.name==null)return ne;ne.name+="",ne.displayName==null&&(ne.displayName=ne.name);var ie=re.get(ne.name);return ie?ne.name+="-"+ie.count++:re.set(ne.name,{count:1}),ne})}function Z(Y,re,ne,we){if(we==null&&(we=Infinity),re===O)for(var ie=0;ie<ne.length&&ie<we;ie++)Y(ne[ie]?ne[ie][0]:null,ie);else for(var me=ne[0]||[],ie=0;ie<me.length&&ie<we;ie++)Y(me[ie],ie)}function B(Y){for(var re=0,ne;re<Y.length&&!(ne=Y[re++]););if(ne){var we=[];return l(ne,function(ie,me){we.push(me)}),we}}function V(Y,re,ne){var we={},ie=X(re);if(!ie||!Y)return we;var me=[],_e=[],Te=re.ecModel,We=_(Te).datasetMap,Ae=ie.uid+"_"+ne.seriesLayoutBy,je,ee;Y=Y.slice(),l(Y,function(Q,G){!s(Q)&&(Y[G]={name:Q}),Q.type==="ordinal"&&je==null&&(je=G,ee=oe(Y[G])),we[Q.name]=[]});var he=We.get(Ae)||We.set(Ae,{categoryWayDim:ee,valueWayDim:0});l(Y,function(Q,G){var te=Q.name,xe=oe(Q);if(je==null){var fe=he.valueWayDim;Ze(we[te],fe,xe),Ze(_e,fe,xe),he.valueWayDim+=xe}else if(je===G)Ze(we[te],0,xe),Ze(me,0,xe);else{var fe=he.categoryWayDim;Ze(we[te],fe,xe),Ze(_e,fe,xe),he.categoryWayDim+=xe}});function Ze(Q,G,te){for(var xe=0;xe<te;xe++)Q.push(G+xe)}function oe(Q){var G=Q.dimsDef;return G?G.length:1}return me.length&&(we.itemName=me),_e.length&&(we.seriesName=_e),we}function z(Y,re,ne){var we={},ie=X(Y);if(!ie)return we;var me=re.sourceFormat,_e=re.dimensionsDefine,Te;(me===w||me===x)&&l(_e,function(je,ee){(s(je)?je.name:je)==="name"&&(Te=ee)});var We=function(){for(var je={},ee={},he=[],Ze=0,oe=Math.min(5,ne);Ze<oe;Ze++){var Q=q(re.data,me,re.seriesLayoutBy,_e,re.startIndex,Ze);he.push(Q);var G=Q===S.Not;if(G&&je.v==null&&Ze!==Te&&(je.v=Ze),(je.n==null||je.n===je.v||!G&&he[je.n]===S.Not)&&(je.n=Ze),te(je)&&he[je.n]!==S.Not)return je;G||(Q===S.Might&&ee.v==null&&Ze!==Te&&(ee.v=Ze),(ee.n==null||ee.n===ee.v)&&(ee.n=Ze))}function te(xe){return xe.v!=null&&xe.n!=null}return te(je)?je:te(ee)?ee:null}();if(We){we.value=We.v;var Ae=Te!=null?Te:We.n;we.itemName=[Ae],we.seriesName=[Ae]}return we}function X(Y){var re=Y.option,ne=re.data;if(!ne)return Y.ecModel.getComponent("dataset",re.datasetIndex||0)}function W(Y,re){return q(Y.data,Y.sourceFormat,Y.seriesLayoutBy,Y.dimensionsDefine,Y.startIndex,re)}function q(Y,re,ne,we,ie,me){var _e,Te=5;if(r(Y))return S.Not;var We,Ae;if(we){var je=we[me];s(je)?(We=je.name,Ae=je.type):a(je)&&(We=je)}if(Ae!=null)return Ae==="ordinal"?S.Must:S.Not;if(re===A)if(ne===O){for(var ee=Y[me],he=0;he<(ee||[]).length&&he<Te;he++)if((_e=G(ee[ie+he]))!=null)return _e}else for(var he=0;he<Y.length&&he<Te;he++){var Ze=Y[ie+he];if(Ze&&(_e=G(Ze[me]))!=null)return _e}else if(re===w){if(!We)return S.Not;for(var he=0;he<Y.length&&he<Te;he++){var oe=Y[he];if(oe&&(_e=G(oe[We]))!=null)return _e}}else if(re===x){if(!We)return S.Not;var ee=Y[We];if(!ee||r(ee))return S.Not;for(var he=0;he<ee.length&&he<Te;he++)if((_e=G(ee[he]))!=null)return _e}else if(re===g)for(var he=0;he<Y.length&&he<Te;he++){var oe=Y[he],Q=v(oe);if(!t(Q))return S.Not;if((_e=G(Q[me]))!=null)return _e}function G(te){var xe=a(te);if(te!=null&&isFinite(te)&&te!=="")return xe?S.Might:S.Not;if(xe&&te!=="-")return S.Must}return S.Not}R.BE_ORDINAL=S,R.detectSourceFormat=L,R.getSource=D,R.resetSourceDefaulter=F,R.prepareSource=j,R.makeSeriesEncodeForAxisCoordSys=V,R.makeSeriesEncodeForNameBased=z,R.guessOrdinal=W},D9ME:function(U,R,i){var y=i("IwbS"),m=i("fls0"),E=i("bYtY"),p=i("oVpE"),v=p.createSymbol,f=i("QBsz"),d=i("Sj9i");function l(a,s,r){y.Group.call(this),this.add(this.createLine(a,s,r)),this._updateEffectSymbol(a,s)}var n=l.prototype;n.createLine=function(a,s,r){return new m(a,s,r)},n._updateEffectSymbol=function(a,s){var r=a.getItemModel(s),c=r.getModel("effect"),e=c.get("symbolSize"),o=c.get("symbol");E.isArray(e)||(e=[e,e]);var u=c.get("color")||a.getItemVisual(s,"color"),h=this.childAt(1);if(this._symbolType!==o&&(this.remove(h),h=v(o,-.5,-.5,1,1,u),h.z2=100,h.culling=!0,this.add(h)),!h)return;h.setStyle("shadowColor",u),h.setStyle(c.getItemStyle(["color"])),h.attr("scale",e),h.setColor(u),h.attr("scale",e),this._symbolType=o,this._symbolScale=e,this._updateEffectAnimation(a,c,s)},n._updateEffectAnimation=function(a,s,r){var c=this.childAt(1);if(!c)return;var e=this,o=a.getItemLayout(r),u=s.get("period")*1e3,h=s.get("loop"),g=s.get("constantSpeed"),A=E.retrieve(s.get("delay"),function(T){return T/a.count()*u/3}),w=typeof A=="function";if(c.ignore=!0,this.updateAnimationPoints(c,o),g>0&&(u=this.getLineLength(c)/g*1e3),u!==this._period||h!==this._loop){c.stopAnimation();var x=A;w&&(x=A(r)),c.__t>0&&(x=-u*c.__t),c.__t=0;var C=c.animate("",h).when(u,{__t:1}).delay(x).during(function(){e.updateSymbolPosition(c)});h||C.done(function(){e.remove(c)}),C.start()}this._period=u,this._loop=h},n.getLineLength=function(a){return f.dist(a.__p1,a.__cp1)+f.dist(a.__cp1,a.__p2)},n.updateAnimationPoints=function(a,s){a.__p1=s[0],a.__p2=s[1],a.__cp1=s[2]||[(s[0][0]+s[1][0])/2,(s[0][1]+s[1][1])/2]},n.updateData=function(a,s,r){this.childAt(0).updateData(a,s,r),this._updateEffectSymbol(a,s)},n.updateSymbolPosition=function(a){var s=a.__p1,r=a.__p2,c=a.__cp1,e=a.__t,o=a.position,u=[o[0],o[1]],h=d.quadraticAt,g=d.quadraticDerivativeAt;o[0]=h(s[0],c[0],r[0],e),o[1]=h(s[1],c[1],r[1],e);var A=g(s[0],c[0],r[0],e),w=g(s[1],c[1],r[1],e);if(a.rotation=-Math.atan2(w,A)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(a.__lastT!==void 0&&a.__lastT<a.__t){var x=f.dist(u,o)*1.05;a.attr("scale",[a.scale[0],x]),e===1&&(o[0]=u[0]+(o[0]-u[0])/2,o[1]=u[1]+(o[1]-u[1])/2)}else if(a.__lastT===1){var x=2*f.dist(s,o);a.attr("scale",[a.scale[0],x])}else a.attr("scale",this._symbolScale);a.__lastT=a.__t,a.ignore=!1},n.updateLayout=function(a,s){this.childAt(0).updateLayout(a,s);var r=a.getItemModel(s).getModel("effect");this._updateEffectAnimation(a,r,s)},E.inherits(l,y.Group);var t=l;U.exports=t},DBLp:function(U,R){function i(){}i.prototype={diff:function(f,d,l){l||(l=function(w,x){return w===x}),this.equals=l;var n=this;f=f.slice(),d=d.slice();var t=d.length,a=f.length,s=1,r=t+a,c=[{newPos:-1,components:[]}],e=this.extractCommon(c[0],d,f,0);if(c[0].newPos+1>=t&&e+1>=a){for(var o=[],u=0;u<d.length;u++)o.push(u);return[{indices:o,count:d.length}]}function h(){for(var A=-1*s;A<=s;A+=2){var w,x=c[A-1],C=c[A+1],T=(C?C.newPos:0)-A;x&&(c[A-1]=void 0);var O=x&&x.newPos+1<t,S=C&&0<=T&&T<a;if(!O&&!S){c[A]=void 0;continue}if(!O||S&&x.newPos<C.newPos?(w=m(C),n.pushComponent(w.components,void 0,!0)):(w=x,w.newPos++,n.pushComponent(w.components,!0,void 0)),T=n.extractCommon(w,d,f,A),w.newPos+1>=t&&T+1>=a)return y(n,w.components,d,f);c[A]=w}s++}for(;s<=r;){var g=h();if(g)return g}},pushComponent:function(f,d,l){var n=f[f.length-1];n&&n.added===d&&n.removed===l?f[f.length-1]={count:n.count+1,added:d,removed:l}:f.push({count:1,added:d,removed:l})},extractCommon:function(f,d,l,n){for(var t=d.length,a=l.length,s=f.newPos,r=s-n,c=0;s+1<t&&r+1<a&&this.equals(d[s+1],l[r+1]);)s++,r++,c++;return c&&f.components.push({count:c}),f.newPos=s,r},tokenize:function(f){return f.slice()},join:function(f){return f.slice()}};function y(v,f,d,l){for(var n=0,t=f.length,a=0,s=0;n<t;n++){var r=f[n];if(r.removed){for(var c=[],e=s;e<s+r.count;e++)c.push(e);r.indices=c,s+=r.count}else{for(var c=[],e=a;e<a+r.count;e++)c.push(e);r.indices=c,a+=r.count,r.added||(s+=r.count)}}return f}function m(v){return{newPos:v.newPos,components:v.components.slice(0)}}var E=new i;function p(v,f,d){return E.diff(v,f,d)}U.exports=p},DEFe:function(U,R,i){var y=i("bYtY"),m=i("SgGq"),E=i("Ae+d"),p=i("xSat"),v=p.onIrrelevantElement,f=i("IwbS"),d=i("W4dC"),l=i("iRjW"),n=l.getUID,t=i("DN4a");function a(o){var u=o.getItemStyle(),h=o.get("areaColor");return h!=null&&(u.fill=h),u}function s(o,u,h,g,A){h.off("click"),h.off("mousedown"),u.get("selectedMode")&&(h.on("mousedown",function(){o._mouseDownFlag=!0}),h.on("click",function(w){if(!o._mouseDownFlag)return;o._mouseDownFlag=!1;for(var x=w.target;!x.__regions;)x=x.parent;if(!x)return;var C={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:y.map(x.__regions,function(T){return{name:T.name,from:A.uid}})};C[u.mainType+"Id"]=u.id,g.dispatchAction(C),r(u,h)}))}function r(o,u){u.eachChild(function(h){y.each(h.__regions,function(g){h.trigger(o.isSelected(g.name)?"emphasis":"normal")})})}function c(o,u){var h=new f.Group;this.uid=n("ec_map_draw"),this._controller=new m(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 f.Group),h.add(this._backgroundGroup=new f.Group)}c.prototype={constructor:c,draw:function(o,u,h,g,A){var w=o.mainType==="geo",x=o.getData&&o.getData();w&&u.eachComponent({mainType:"series",subType:"map"},function(X){!x&&X.getHostGeoModel()===o&&(x=X.getData())});var C=o.coordinateSystem;this._updateBackground(C);var T=this._regionsGroup,O=this.group,S=C.getTransformInfo(),_=!T.childAt(0)||A,L;if(_)O.transform=S.roamTransform,O.decomposeTransform(),O.dirty();else{var D=new t;D.transform=S.roamTransform,D.decomposeTransform();var F={scale:D.scale,position:D.position};L=D.scale,f.updateProps(O,F,o)}var j=S.rawScale,k=S.rawPosition;T.removeAll();var K=["itemStyle"],Z=["emphasis","itemStyle"],B=["label"],V=["emphasis","label"],z=y.createHashMap();y.each(C.regions,function(X){var W=z.get(X.name)||z.set(X.name,new f.Group),q=new f.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});W.add(q);var Y=o.getRegionModel(X.name)||o,re=Y.getModel(K),ne=Y.getModel(Z),we=a(re),ie=a(ne),me=Y.getModel(B),_e=Y.getModel(V),Te;if(x){Te=x.indexOfName(X.name);var We=x.getItemVisual(Te,"color",!0);We&&(we.fill=We)}var Ae=function(fe){return[fe[0]*j[0]+k[0],fe[1]*j[1]+k[1]]};y.each(X.geometries,function(fe){if(fe.type!=="polygon")return;for(var Be=[],Ne=0;Ne<fe.exterior.length;++Ne)Be.push(Ae(fe.exterior[Ne]));q.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Be}}));for(var Ne=0;Ne<(fe.interiors?fe.interiors.length:0);++Ne){for(var de=fe.interiors[Ne],Be=[],ve=0;ve<de.length;++ve)Be.push(Ae(de[ve]));q.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Be}}))}}),q.setStyle(we),q.style.strokeNoScale=!0,q.culling=!0;var je=me.get("show"),ee=_e.get("show"),he=x&&isNaN(x.get(x.mapDimension("value"),Te)),Ze=x&&x.getItemLayout(Te);if(w||he&&(je||ee)||Ze&&Ze.showLabel){var oe=w?X.name:Te,Q;(!x||Te>=0)&&(Q=o);var G=new f.Text({position:Ae(X.center.slice()),scale:[1/O.scale[0],1/O.scale[1]],z2:10,silent:!0});if(f.setLabelStyle(G.style,G.hoverStyle={},me,_e,{labelFetcher:Q,labelDataIndex:oe,defaultText:X.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!_){var te=[1/L[0],1/L[1]];f.updateProps(G,{scale:te},o)}W.add(G)}if(x)x.setItemGraphicEl(Te,W);else{var Y=o.getRegionModel(X.name);q.eventData={componentType:"geo",componentIndex:o.componentIndex,geoIndex:o.componentIndex,name:X.name,region:Y&&Y.option||{}}}var xe=W.__regions||(W.__regions=[]);xe.push(X),W.highDownSilentOnTouch=!!o.get("selectedMode"),f.setHoverStyle(W,ie),T.add(W)}),this._updateController(o,u,h),s(this,o,T,h,g),r(o,T)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&d.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(o){var u=o.map;this._mapName!==u&&y.each(d.makeGraphic(u,this.uid),function(h){this._backgroundGroup.add(h)},this),this._mapName=u},_updateController:function(o,u,h){var g=o.coordinateSystem,A=this._controller,w=this._controllerHost;w.zoomLimit=o.get("scaleLimit"),w.zoom=g.getZoom(),A.enable(o.get("roam")||!1);var x=o.mainType;function C(){var T={type:"geoRoam",componentType:x};return T[x+"Id"]=o.id,T}A.off("pan").on("pan",function(T){this._mouseDownFlag=!1,E.updateViewOnPan(w,T.dx,T.dy),h.dispatchAction(y.extend(C(),{dx:T.dx,dy:T.dy}))},this),A.off("zoom").on("zoom",function(T){if(this._mouseDownFlag=!1,E.updateViewOnZoom(w,T.scale,T.originX,T.originY),h.dispatchAction(y.extend(C(),{zoom:T.scale,originX:T.originX,originY:T.originY})),this._updateGroup){var O=this.group.scale;this._regionsGroup.traverse(function(S){S.type==="text"&&S.attr("scale",[1/O[0],1/O[1]])})}},this),A.setPointerChecker(function(T,O,S){return g.getViewRectAfterRoam().contain(O,S)&&!v(T,h,o)})}};var e=c;U.exports=e},DFOY:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("PJYZ"),t=i.n(n),a=i("7W2i"),s=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),o=i("uciX"),u=i("2W6z"),h=i.n(u),g=i("4IlW"),A=i("uK0f"),w=i.n(A);function x(bt,ot){if(bt===ot)return!0;if(!bt||!ot)return!1;var lr=bt.length;if(ot.length!==lr)return!1;for(var jr=0;jr<lr;jr++)if(bt[jr]!==ot[jr])return!1;return!0}function C(bt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(lr){return typeof lr}:C=function(lr){return lr&&typeof Symbol=="function"&&lr.constructor===Symbol&&lr!==Symbol.prototype?"symbol":typeof lr},C(bt)}function T(bt,ot){if(!(bt instanceof ot))throw new TypeError("Cannot call a class as a function")}function O(bt,ot){for(var lr=0;lr<ot.length;lr++){var jr=ot[lr];jr.enumerable=jr.enumerable||!1,jr.configurable=!0,"value"in jr&&(jr.writable=!0),Object.defineProperty(bt,jr.key,jr)}}function S(bt,ot,lr){return ot&&O(bt.prototype,ot),lr&&O(bt,lr),bt}function _(bt,ot){if(typeof ot!="function"&&ot!==null)throw new TypeError("Super expression must either be null or a function");bt.prototype=Object.create(ot&&ot.prototype,{constructor:{value:bt,writable:!0,configurable:!0}}),ot&&L(bt,ot)}function L(bt,ot){return L=Object.setPrototypeOf||function(jr,Rr){return jr.__proto__=Rr,jr},L(bt,ot)}function D(bt){var ot=k();return function(){var lr=K(bt),jr;if(ot){var Rr=K(this).constructor;jr=Reflect.construct(lr,arguments,Rr)}else jr=lr.apply(this,arguments);return F(this,jr)}}function F(bt,ot){return ot&&(C(ot)==="object"||typeof ot=="function")?ot:j(bt)}function j(bt){if(bt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return bt}function k(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(bt){return!1}}function K(bt){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(lr){return lr.__proto__||Object.getPrototypeOf(lr)},K(bt)}var Z=function(){var bt=function(ot){_(jr,ot);var lr=D(jr);function jr(){var Rr;return T(this,jr),Rr=lr.apply(this,arguments),Rr.menuItems={},Rr.saveMenuItem=function(xr){return function(Vn){Rr.menuItems[xr]=Vn}},Rr}return S(jr,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(xr){!xr.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(xr){var Vn=this.props,bn=Vn.fieldNames,di=Vn.defaultFieldNames;return bn[xr]||di[xr]}},{key:"getOption",value:function(xr,Vn){var bn=this.props,di=bn.prefixCls,lt=bn.expandTrigger,ct=bn.expandIcon,Le=bn.loadingIcon,Ue=this.props.onSelect.bind(this,xr,Vn),Ye=this.props.onItemDoubleClick.bind(this,xr,Vn),ft={onClick:Ue,onDoubleClick:Ye},ir="".concat(di,"-menu-item"),Yt=null,rr=xr[this.getFieldName("children")]&&xr[this.getFieldName("children")].length>0;(rr||xr.isLeaf===!1)&&(ir+=" ".concat(di,"-menu-item-expand"),xr.loading||(Yt=e.createElement("span",{className:"".concat(di,"-menu-item-expand-icon")},ct))),lt==="hover"&&(rr||xr.isLeaf===!1)&&(ft={onMouseEnter:this.delayOnSelect.bind(this,Ue),onMouseLeave:this.delayOnSelect.bind(this),onClick:Ue}),this.isActiveOption(xr,Vn)&&(ir+=" ".concat(di,"-menu-item-active"),ft.ref=this.saveMenuItem(Vn)),xr.disabled&&(ir+=" ".concat(di,"-menu-item-disabled"));var Zr=null;xr.loading&&(ir+=" ".concat(di,"-menu-item-loading"),Zr=Le||null);var nn="";return"title"in xr?nn=xr.title:typeof xr[this.getFieldName("label")]=="string"&&(nn=xr[this.getFieldName("label")]),e.createElement("li",Object.assign({key:xr[this.getFieldName("value")],className:ir,title:nn},ft,{role:"menuitem",onMouseDown:function(qt){return qt.preventDefault()}}),xr[this.getFieldName("label")],Yt,Zr)}},{key:"getActiveOptions",value:function(xr){var Vn=this,bn=this.props.options,di=xr||this.props.activeValue;return w()(bn,function(lt,ct){return lt[Vn.getFieldName("value")]===di[ct]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var xr=this,Vn=this.props.options,bn=this.getActiveOptions().map(function(di){return di[xr.getFieldName("children")]}).filter(function(di){return!!di});return bn.unshift(Vn),bn}},{key:"delayOnSelect",value:function(xr){for(var Vn=this,bn=arguments.length,di=new Array(bn>1?bn-1:0),lt=1;lt<bn;lt++)di[lt-1]=arguments[lt];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof xr=="function"&&(this.delayTimer=window.setTimeout(function(){xr(di),Vn.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var xr=this.getShowOptions().length,Vn=0;Vn<xr;Vn++){var bn=this.menuItems[Vn];bn&&bn.parentElement&&(bn.parentElement.scrollTop=bn.offsetTop)}}},{key:"isActiveOption",value:function(xr,Vn){var bn=this.props.activeValue,di=bn===void 0?[]:bn;return di[Vn]===xr[this.getFieldName("value")]}},{key:"render",value:function(){var xr=this,Vn=this.props,bn=Vn.prefixCls,di=Vn.dropdownMenuColumnStyle;return e.createElement("div",null,this.getShowOptions().map(function(lt,ct){return e.createElement("ul",{className:"".concat(bn,"-menu"),key:ct,style:di},lt.map(function(Le){return xr.getOption(Le,ct)}))}))}}]),jr}(e.Component);return bt.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},bt}(),B=Z,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}}},z=V;function X(bt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X=function(lr){return typeof lr}:X=function(lr){return lr&&typeof Symbol=="function"&&lr.constructor===Symbol&&lr!==Symbol.prototype?"symbol":typeof lr},X(bt)}function W(bt,ot){if(bt==null)return{};var lr=q(bt,ot),jr,Rr;if(Object.getOwnPropertySymbols){var xr=Object.getOwnPropertySymbols(bt);for(Rr=0;Rr<xr.length;Rr++){if(jr=xr[Rr],ot.indexOf(jr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(bt,jr))continue;lr[jr]=bt[jr]}}return lr}function q(bt,ot){if(bt==null)return{};var lr={},jr=Object.keys(bt),Rr,xr;for(xr=0;xr<jr.length;xr++){if(Rr=jr[xr],ot.indexOf(Rr)>=0)continue;lr[Rr]=bt[Rr]}return lr}function Y(bt){return ie(bt)||we(bt)||ne(bt)||re()}function re(){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 ne(bt,ot){if(!bt)return;if(typeof bt=="string")return me(bt,ot);var lr=Object.prototype.toString.call(bt).slice(8,-1);if(lr==="Object"&&bt.constructor&&(lr=bt.constructor.name),lr==="Map"||lr==="Set")return Array.from(bt);if(lr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(lr))return me(bt,ot)}function we(bt){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(bt))return Array.from(bt)}function ie(bt){if(Array.isArray(bt))return me(bt)}function me(bt,ot){(ot==null||ot>bt.length)&&(ot=bt.length);for(var lr=0,jr=new Array(ot);lr<ot;lr++)jr[lr]=bt[lr];return jr}function _e(bt,ot){if(!(bt instanceof ot))throw new TypeError("Cannot call a class as a function")}function Te(bt,ot){for(var lr=0;lr<ot.length;lr++){var jr=ot[lr];jr.enumerable=jr.enumerable||!1,jr.configurable=!0,"value"in jr&&(jr.writable=!0),Object.defineProperty(bt,jr.key,jr)}}function We(bt,ot,lr){return ot&&Te(bt.prototype,ot),lr&&Te(bt,lr),bt}function Ae(bt,ot){if(typeof ot!="function"&&ot!==null)throw new TypeError("Super expression must either be null or a function");bt.prototype=Object.create(ot&&ot.prototype,{constructor:{value:bt,writable:!0,configurable:!0}}),ot&&je(bt,ot)}function je(bt,ot){return je=Object.setPrototypeOf||function(jr,Rr){return jr.__proto__=Rr,jr},je(bt,ot)}function ee(bt){var ot=oe();return function(){var lr=Q(bt),jr;if(ot){var Rr=Q(this).constructor;jr=Reflect.construct(lr,arguments,Rr)}else jr=lr.apply(this,arguments);return he(this,jr)}}function he(bt,ot){return ot&&(X(ot)==="object"||typeof ot=="function")?ot:Ze(bt)}function Ze(bt){if(bt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return bt}function oe(){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(bt){return!1}}function Q(bt){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(lr){return lr.__proto__||Object.getPrototypeOf(lr)},Q(bt)}var G=function(){var bt=function(ot){Ae(jr,ot);var lr=ee(jr);function jr(Rr){var xr;_e(this,jr),xr=lr.call(this,Rr),xr.setPopupVisible=function(bn){var di=xr.state.value;"popupVisible"in xr.props||xr.setState({popupVisible:bn}),bn&&!xr.state.popupVisible&&xr.setState({activeValue:di}),xr.props.onPopupVisibleChange(bn)},xr.handleChange=function(bn,di,lt){var ct=di.visible;(lt.type!=="keydown"||lt.keyCode===g.a.ENTER)&&(xr.props.onChange(bn.map(function(Le){return Le[xr.getFieldName("value")]}),bn),xr.setPopupVisible(ct))},xr.handlePopupVisibleChange=function(bn){xr.setPopupVisible(bn)},xr.handleMenuSelect=function(bn,di,lt){var ct=xr.trigger.getRootDomNode();ct&&ct.focus&&ct.focus();var Le=xr.props,Ue=Le.changeOnSelect,Ye=Le.loadData,ft=Le.expandTrigger;if(!bn||bn.disabled)return;var ir=xr.state.activeValue;ir=ir.slice(0,di+1),ir[di]=bn[xr.getFieldName("value")];var Yt=xr.getActiveOptions(ir);if(bn.isLeaf===!1&&!bn[xr.getFieldName("children")]&&Ye){Ue&&xr.handleChange(Yt,{visible:!0},lt),xr.setState({activeValue:ir}),Ye(Yt);return}var rr={};!bn[xr.getFieldName("children")]||!bn[xr.getFieldName("children")].length?(xr.handleChange(Yt,{visible:!1},lt),rr.value=ir):Ue&&(lt.type==="click"||lt.type==="keydown")&&(ft==="hover"?xr.handleChange(Yt,{visible:!1},lt):xr.handleChange(Yt,{visible:!0},lt),rr.value=ir),rr.activeValue=ir,("value"in xr.props||lt.type==="keydown"&<.keyCode!==g.a.ENTER)&&delete rr.value,xr.setState(rr)},xr.handleItemDoubleClick=function(){var bn=xr.props.changeOnSelect;bn&&xr.setPopupVisible(!1)},xr.handleKeyDown=function(bn){var di=xr.props.children;if(di&&di.props.onKeyDown){di.props.onKeyDown(bn);return}var lt=Y(xr.state.activeValue),ct=lt.length-1<0?0:lt.length-1,Le=xr.getCurrentLevelOptions(),Ue=Le.map(function(Yt){return Yt[xr.getFieldName("value")]}).indexOf(lt[ct]);if(bn.keyCode!==g.a.DOWN&&bn.keyCode!==g.a.UP&&bn.keyCode!==g.a.LEFT&&bn.keyCode!==g.a.RIGHT&&bn.keyCode!==g.a.ENTER&&bn.keyCode!==g.a.SPACE&&bn.keyCode!==g.a.BACKSPACE&&bn.keyCode!==g.a.ESC&&bn.keyCode!==g.a.TAB)return;if(!xr.state.popupVisible&&bn.keyCode!==g.a.BACKSPACE&&bn.keyCode!==g.a.LEFT&&bn.keyCode!==g.a.RIGHT&&bn.keyCode!==g.a.ESC&&bn.keyCode!==g.a.TAB){xr.setPopupVisible(!0);return}if(bn.keyCode===g.a.DOWN||bn.keyCode===g.a.UP){bn.preventDefault();var Ye=Ue;Ye!==-1?bn.keyCode===g.a.DOWN?(Ye+=1,Ye=Ye>=Le.length?0:Ye):(Ye-=1,Ye=Ye<0?Le.length-1:Ye):Ye=0,lt[ct]=Le[Ye][xr.getFieldName("value")]}else if(bn.keyCode===g.a.LEFT||bn.keyCode===g.a.BACKSPACE)bn.preventDefault(),lt.splice(lt.length-1,1);else if(bn.keyCode===g.a.RIGHT)bn.preventDefault(),Le[Ue]&&Le[Ue][xr.getFieldName("children")]&<.push(Le[Ue][xr.getFieldName("children")][0][xr.getFieldName("value")]);else if(bn.keyCode===g.a.ESC||bn.keyCode===g.a.TAB){xr.setPopupVisible(!1);return}(!lt||lt.length===0)&&xr.setPopupVisible(!1);var ft=xr.getActiveOptions(lt),ir=ft[ft.length-1];xr.handleMenuSelect(ir,ft.length-1,bn),xr.props.onKeyDown&&xr.props.onKeyDown(bn)},xr.saveTrigger=function(bn){xr.trigger=bn};var Vn=[];return"value"in Rr?Vn=Rr.value||[]:"defaultValue"in Rr&&(Vn=Rr.defaultValue||[]),h()(!("filedNames"in Rr),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),xr.state={popupVisible:Rr.popupVisible,activeValue:Vn,value:Vn,prevProps:Rr},xr.defaultFieldNames={label:"label",value:"value",children:"children"},xr}return We(jr,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(xr){var Vn=this.defaultFieldNames,bn=this.props,di=bn.fieldNames,lt=bn.filedNames;return"filedNames"in this.props?lt[xr]||Vn[xr]:di[xr]||Vn[xr]}},{key:"getFieldNames",value:function(){var xr=this.props,Vn=xr.fieldNames,bn=xr.filedNames;return"filedNames"in this.props?bn:Vn}},{key:"getCurrentLevelOptions",value:function(){var xr=this,Vn=this.props.options,bn=Vn===void 0?[]:Vn,di=this.state.activeValue,lt=di===void 0?[]:di,ct=w()(bn,function(Le,Ue){return Le[xr.getFieldName("value")]===lt[Ue]},{childrenKeyName:this.getFieldName("children")});return ct[ct.length-2]?ct[ct.length-2][this.getFieldName("children")]:Y(bn).filter(function(Le){return!Le.disabled})}},{key:"getActiveOptions",value:function(xr){var Vn=this;return w()(this.props.options||[],function(bn,di){return bn[Vn.getFieldName("value")]===xr[di]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var xr=this.props,Vn=xr.prefixCls,bn=xr.transitionName,di=xr.popupClassName,lt=xr.options,ct=lt===void 0?[]:lt,Le=xr.disabled,Ue=xr.builtinPlacements,Ye=xr.popupPlacement,ft=xr.children,ir=xr.dropdownRender,Yt=W(xr,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),rr=e.createElement("div",null),Zr="";ct&&ct.length>0?rr=e.createElement(B,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Zr=" ".concat(Vn,"-menus-empty");var nn=rr;return ir&&(nn=ir(rr)),e.createElement(o.a,Object.assign({ref:this.saveTrigger},Yt,{popupPlacement:Ye,builtinPlacements:Ue,popupTransitionName:bn,action:Le?[]:["click"],popupVisible:Le?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Vn,"-menus"),popupClassName:di+Zr,popup:nn}),e.cloneElement(ft,{onKeyDown:this.handleKeyDown,tabIndex:Le?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(xr,Vn){var bn=Vn.prevProps,di=bn===void 0?{}:bn,lt={prevProps:xr};return"value"in xr&&!x(di.value,xr.value)&&(lt.value=xr.value||[],"loadData"in xr||(lt.activeValue=xr.value||[])),"popupVisible"in xr&&(lt.popupVisible=xr.popupVisible),lt}}]),jr}(e.Component);return bt.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:z,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},bt}(),te=G,xe=te,fe=i("TSYQ"),Be=i.n(fe),Ne=i("BGR+"),de=i("kbBi"),ve=i.n(de),Me=i("HQEm"),qe=i.n(Me),gt=i("fEPi"),ht=i.n(gt),Pe=i("5YOS"),It=i.n(Pe),nt=i("DFhj"),Nt=i.n(nt),Bt=i("5rEg"),Pt=i("H84U"),jt=i("YMnH"),er=i("uaoM"),at=i("3Nzz"),Ce=i("0n0R"),ue=function(bt,ot){var lr={};for(var jr in bt)Object.prototype.hasOwnProperty.call(bt,jr)&&ot.indexOf(jr)<0&&(lr[jr]=bt[jr]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,jr=Object.getOwnPropertySymbols(bt);Rr<jr.length;Rr++)ot.indexOf(jr[Rr])<0&&Object.prototype.propertyIsEnumerable.call(bt,jr[Rr])&&(lr[jr[Rr]]=bt[jr[Rr]]);return lr},Dt=50;function rt(bt,ot,lr){return bt.split(ot).map(function(jr,Rr){return Rr===0?jr:[e.createElement("span",{className:"".concat(lr,"-menu-item-keyword"),key:"seperator"},ot),jr]})}function ye(bt,ot,lr){return ot.some(function(jr){return jr[lr.label].indexOf(bt)>-1})}function Xt(bt,ot,lr,jr){return ot.map(function(Rr,xr){var Vn=Rr[jr.label],bn=Vn.indexOf(bt)>-1?rt(Vn,bt,lr):Vn;return xr===0?bn:[" / ",bn]})}function pr(bt,ot,lr,jr){function Rr(xr){return xr[jr.label].indexOf(lr)>-1}return bt.findIndex(Rr)-ot.findIndex(Rr)}function mt(bt){var ot=bt.fieldNames;return ot}function nr(bt){var ot=mt(bt)||{},lr={children:ot.children||"children",label:ot.label||"label",value:ot.value||"value"};return lr}function yr(bt,ot){var lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],jr=nr(ot),Rr=[],xr=jr.children;return bt.forEach(function(Vn){var bn=lr.concat(Vn);(ot.changeOnSelect||!Vn[xr]||!Vn[xr].length)&&Rr.push(bn),Vn[xr]&&(Rr=Rr.concat(yr(Vn[xr],ot,bn)))}),Rr}var gn=function(ot){return ot.join(" / ")};function _r(bt){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(bt||[]).forEach(function(lr){var jr=ot.value||"value";Object(er.a)(jr in lr,"Cascader","Not found `value` in `options`."),_r(lr[ot.children||"children"],ot)})}var ur=function(bt){s()(lr,bt);var ot=c()(lr);function lr(jr){var Rr;return f()(this,lr),Rr=ot.call(this,jr),Rr.cachedOptions=[],Rr.setValue=function(xr){var Vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Rr.props||Rr.setState({value:xr});var bn=Rr.props.onChange;bn&&bn(xr,Vn)},Rr.saveInput=function(xr){Rr.input=xr},Rr.handleChange=function(xr,Vn){if(Rr.setState({inputValue:""}),Vn[0].__IS_FILTERED_OPTION){var bn=xr[0],di=Vn[0].path;Rr.setValue(bn,di);return}Rr.setValue(xr,Vn)},Rr.handlePopupVisibleChange=function(xr){"popupVisible"in Rr.props||Rr.setState(function(bn){return{popupVisible:xr,inputFocused:xr,inputValue:xr?bn.inputValue:""}});var Vn=Rr.props.onPopupVisibleChange;Vn&&Vn(xr)},Rr.handleInputBlur=function(){Rr.setState({inputFocused:!1})},Rr.handleInputClick=function(xr){var Vn=Rr.state,bn=Vn.inputFocused,di=Vn.popupVisible;(bn||di)&&xr.stopPropagation()},Rr.handleKeyDown=function(xr){(xr.keyCode===g.a.BACKSPACE||xr.keyCode===g.a.SPACE)&&xr.stopPropagation()},Rr.handleInputChange=function(xr){var Vn=Rr.state.popupVisible,bn=xr.target.value;Vn||Rr.handlePopupVisibleChange(!0),Rr.setState({inputValue:bn})},Rr.clearSelection=function(xr){var Vn=Rr.state.inputValue;xr.preventDefault(),xr.stopPropagation(),Vn?Rr.setState({inputValue:""}):(Rr.handlePopupVisibleChange(!1),Rr.clearSelectionTimeout=setTimeout(function(){Rr.setValue([])},200))},Rr.renderCascader=function(xr,Vn){var bn=xr.getPopupContainer,di=xr.getPrefixCls,lt=xr.renderEmpty,ct=xr.direction;return e.createElement(at.b.Consumer,null,function(Le){var Ue,Ye,ft,ir,Yt=t()(Rr),rr=Yt.props,Zr=Yt.state,nn=rr.prefixCls,Pn=rr.inputPrefixCls,qt=rr.children,St=rr.placeholder,At=St===void 0?Vn.placeholder||"Please select":St,cr=rr.size,or=rr.disabled,Tt=rr.className,Rt=rr.style,_t=rr.allowClear,Zt=rr.showSearch,Nr=Zt===void 0?!1:Zt,Sr=rr.suffixIcon,br=rr.expandIcon,hn=rr.notFoundContent,fn=rr.popupClassName,ni=rr.bordered,mi=rr.dropdownRender,_i=ue(rr,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Hi=cr||Le,aa=Zr.value,Ra=Zr.inputFocused,it=ct==="rtl",Re=di("cascader",nn),Ke=di("input",Pn),Ge=Be()((Ue={},p()(Ue,"".concat(Ke,"-lg"),Hi==="large"),p()(Ue,"".concat(Ke,"-sm"),Hi==="small"),Ue)),et=_t&&!or&&aa.length>0||Zr.inputValue?e.createElement(ve.a,{className:"".concat(Re,"-picker-clear"),onClick:Rr.clearSelection}):null,$e=Be()((Ye={},p()(Ye,"".concat(Re,"-picker-arrow"),!0),p()(Ye,"".concat(Re,"-picker-arrow-expand"),Zr.popupVisible),Ye)),st=Be()(Tt,"".concat(Re,"-picker"),(ft={},p()(ft,"".concat(Re,"-picker-rtl"),it),p()(ft,"".concat(Re,"-picker-with-value"),Zr.inputValue),p()(ft,"".concat(Re,"-picker-disabled"),or),p()(ft,"".concat(Re,"-picker-").concat(Hi),!!Hi),p()(ft,"".concat(Re,"-picker-show-search"),!!Nr),p()(ft,"".concat(Re,"-picker-focused"),Ra),p()(ft,"".concat(Re,"-picker-borderless"),!ni),ft)),Lt=Object(Ne.default)(_i,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),vt=rr.options,Qt=nr(Rr.props);if(vt&&vt.length>0)Zr.inputValue&&(vt=Rr.generateFilteredOptions(Re,lt));else{var Fr;vt=[(Fr={},p()(Fr,Qt.label,hn||lt("Cascader")),p()(Fr,Qt.value,"ANT_CASCADER_NOT_FOUND"),Fr)]}Zr.popupVisible?Rr.cachedOptions=vt:vt=Rr.cachedOptions;var Lr={},Gr=(vt||[]).length===1&&vt[0].isEmptyNode;Gr&&(Lr.height="auto");var $t=Nr.matchInputWidth!==!1;$t&&(Zr.inputValue||Gr)&&Rr.input&&(Lr.width=Rr.input.input.offsetWidth);var Rn;Sr?Rn=Object(Ce.c)(Sr,e.createElement("span",{className:"".concat(Re,"-picker-arrow")},Sr),function(){var Li;return{className:Be()((Li={},p()(Li,Sr.props.className,Sr.props.className),p()(Li,"".concat(Re,"-picker-arrow"),!0),Li))}}):Rn=e.createElement(qe.a,{className:$e});var wr=qt||e.createElement("span",{style:Rt,className:st},e.createElement("span",{className:"".concat(Re,"-picker-label")},Rr.getLabel()),e.createElement(Bt.a,m()({},Lt,{tabIndex:"-1",ref:Rr.saveInput,prefixCls:Ke,placeholder:aa&&aa.length>0?void 0:At,className:"".concat(Re,"-input ").concat(Ge),value:Zr.inputValue,disabled:or,readOnly:!Nr,autoComplete:Lt.autoComplete||"off",onClick:Nr?Rr.handleInputClick:void 0,onBlur:Nr?Rr.handleInputBlur:void 0,onKeyDown:Rr.handleKeyDown,onChange:Nr?Rr.handleInputChange:void 0})),et,Rn),pn;br?pn=br:pn=it?e.createElement(Nt.a,null):e.createElement(ht.a,null);var rn=e.createElement("span",{className:"".concat(Re,"-menu-item-loading-icon")},e.createElement(It.a,{spin:!0})),Br=rr.getPopupContainer||bn,Yn=Object(Ne.default)(rr,["inputIcon","expandIcon","loadingIcon","bordered"]),xi=Be()(fn,(ir={},p()(ir,"".concat(Re,"-menu-").concat(ct),ct==="rtl"),p()(ir,"".concat(Re,"-menu-empty"),vt.length===1&&vt[0].value==="ANT_CASCADER_NOT_FOUND"),ir));return e.createElement(xe,m()({},Yn,{prefixCls:Re,getPopupContainer:Br,options:vt,value:aa,popupVisible:Zr.popupVisible,onPopupVisibleChange:Rr.handlePopupVisibleChange,onChange:Rr.handleChange,dropdownMenuColumnStyle:Lr,expandIcon:pn,loadingIcon:rn,popupClassName:xi,popupPlacement:Rr.getPopupPlacement(ct),dropdownRender:mi}),wr)})},Rr.state={value:jr.value||jr.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:jr.popupVisible,flattenOptions:jr.showSearch?yr(jr.options,jr):void 0,prevProps:jr},Rr}return l()(lr,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Rr=this.props,xr=Rr.options,Vn=Rr.displayRender,bn=Vn===void 0?gn:Vn,di=nr(this.props),lt=this.state.value,ct=Array.isArray(lt[0])?lt[0]:lt,Le=w()(xr,function(Ye,ft){return Ye[di.value]===ct[ft]},{childrenKeyName:di.children}),Ue=Le.length?Le.map(function(Ye){return Ye[di.label]}):lt;return bn(Ue,Le)}},{key:"generateFilteredOptions",value:function(Rr,xr){var Vn=this,bn,di=this.props,lt=di.showSearch,ct=di.notFoundContent,Le=nr(this.props),Ue=lt.filter,Ye=Ue===void 0?ye:Ue,ft=lt.render,ir=ft===void 0?Xt:ft,Yt=lt.sort,rr=Yt===void 0?pr:Yt,Zr=lt.limit,nn=Zr===void 0?Dt:Zr,Pn=this.state,qt=Pn.flattenOptions,St=qt===void 0?[]:qt,At=Pn.inputValue,cr;if(nn>0){cr=[];var or=0;St.some(function(Tt){var Rt=Ye(Vn.state.inputValue,Tt,Le);return Rt&&(cr.push(Tt),or+=1),or>=nn})}else Object(er.a)(typeof nn!="number","Cascader","'limit' of showSearch should be positive number or false."),cr=St.filter(function(Tt){return Ye(Vn.state.inputValue,Tt,Le)});return cr=cr.sort(function(Tt,Rt){return rr(Tt,Rt,At,Le)}),cr.length>0?cr.map(function(Tt){var Rt;return Rt={__IS_FILTERED_OPTION:!0,path:Tt},p()(Rt,Le.value,Tt.map(function(_t){return _t[Le.value]})),p()(Rt,Le.label,ir(At,Tt,Rr,Le)),p()(Rt,"disabled",Tt.some(function(_t){return!!_t.disabled})),p()(Rt,"isEmptyNode",!0),Rt}):[(bn={},p()(bn,Le.value,"ANT_CASCADER_NOT_FOUND"),p()(bn,Le.label,ct||xr("Cascader")),p()(bn,"disabled",!0),p()(bn,"isEmptyNode",!0),bn)]}},{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",xr=this.props.popupPlacement;return xr!==void 0?xr:Rr==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Rr=this;return e.createElement(Pt.a,null,function(xr){return e.createElement(jt.a,null,function(Vn){return Rr.renderCascader(xr,Vn)})})}}],[{key:"getDerivedStateFromProps",value:function(Rr,xr){var Vn=xr.prevProps,bn={prevProps:Rr};return"value"in Rr&&(bn.value=Rr.value||[]),"popupVisible"in Rr&&(bn.popupVisible=Rr.popupVisible),Rr.showSearch&&Vn.options!==Rr.options&&(bn.flattenOptions=yr(Rr.options,Rr)),bn}}]),lr}(e.Component);ur.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var zt=R.a=ur},DFhj:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("GGyF"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},DL4k:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},DN4a:function(U,R,i){var y=i("Fofx"),m=i("QBsz"),E=y.identity,p=5e-5;function v(s){return s>p||s<-p}var f=function(r){r=r||{},r.position||(this.position=[0,0]),r.rotation==null&&(this.rotation=0),r.scale||(this.scale=[1,1]),this.origin=this.origin||null},d=f.prototype;d.transform=null,d.needLocalTransform=function(){return v(this.rotation)||v(this.position[0])||v(this.position[1])||v(this.scale[0]-1)||v(this.scale[1]-1)};var l=[];d.updateTransform=function(){var s=this.parent,r=s&&s.transform,c=this.needLocalTransform(),e=this.transform;if(!(c||r)){e&&E(e);return}e=e||y.create(),c?this.getLocalTransform(e):E(e),r&&(c?y.mul(e,s.transform,e):y.copy(e,s.transform)),this.transform=e;var o=this.globalScaleRatio;if(o!=null&&o!==1){this.getGlobalScale(l);var u=l[0]<0?-1:1,h=l[1]<0?-1:1,g=((l[0]-u)*o+u)/l[0]||0,A=((l[1]-h)*o+h)/l[1]||0;e[0]*=g,e[1]*=g,e[2]*=A,e[3]*=A}this.invTransform=this.invTransform||y.create(),y.invert(this.invTransform,e)},d.getLocalTransform=function(s){return f.getLocalTransform(this,s)},d.setTransform=function(s){var r=this.transform,c=s.dpr||1;r?s.setTransform(c*r[0],c*r[1],c*r[2],c*r[3],c*r[4],c*r[5]):s.setTransform(c,0,0,c,0,0)},d.restoreTransform=function(s){var r=s.dpr||1;s.setTransform(r,0,0,r,0,0)};var n=[],t=y.create();d.setLocalTransform=function(s){if(!s)return;var r=s[0]*s[0]+s[1]*s[1],c=s[2]*s[2]+s[3]*s[3],e=this.position,o=this.scale;v(r-1)&&(r=Math.sqrt(r)),v(c-1)&&(c=Math.sqrt(c)),s[0]<0&&(r=-r),s[3]<0&&(c=-c),e[0]=s[4],e[1]=s[5],o[0]=r,o[1]=c,this.rotation=Math.atan2(-s[1]/c,s[0]/r)},d.decomposeTransform=function(){if(!this.transform)return;var s=this.parent,r=this.transform;s&&s.transform&&(y.mul(n,s.invTransform,r),r=n);var c=this.origin;c&&(c[0]||c[1])&&(t[4]=c[0],t[5]=c[1],y.mul(n,r,t),n[4]-=c[0],n[5]-=c[1],r=n),this.setLocalTransform(r)},d.getGlobalScale=function(s){var r=this.transform;return s=s||[],r?(s[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),s[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(s[0]=-s[0]),r[3]<0&&(s[1]=-s[1]),s):(s[0]=1,s[1]=1,s)},d.transformCoordToLocal=function(s,r){var c=[s,r],e=this.invTransform;return e&&m.applyTransform(c,c,e),c},d.transformCoordToGlobal=function(s,r){var c=[s,r],e=this.transform;return e&&m.applyTransform(c,c,e),c},f.getLocalTransform=function(s,r){r=r||[],E(r);var c=s.origin,e=s.scale||[1,1],o=s.rotation||0,u=s.position||[0,0];return c&&(r[4]-=c[0],r[5]-=c[1]),y.scale(r,r,e),o&&y.rotate(r,r,o),c&&(r[4]+=c[0],r[5]+=c[1]),r[4]+=u[0],r[5]+=u[1],r};var a=f;U.exports=a},DO2E:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},DYRE:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("OPEp"),p=i.n(E)},DZo9:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("JGo8"),p=i.n(E),v=i("+L6B"),f=i("MXD1"),d=i("5Dmo")},Dagg:function(U,R,i){var y=i("Gev7"),m=i("mFDi"),E=i("bYtY"),p=i("Xnb7");function v(d){y.call(this,d)}v.prototype={constructor:v,type:"image",brush:function(l,n){var t=this.style,a=t.image;t.bind(l,this,n);var s=this._image=p.createOrUpdateImage(a,this._image,this,this.onload);if(!s||!p.isImageReady(s))return;var r=t.x||0,c=t.y||0,e=t.width,o=t.height,u=s.width/s.height;if(e==null&&o!=null?e=o*u:o==null&&e!=null?o=e/u:e==null&&o==null&&(e=s.width,o=s.height),this.setTransform(l),t.sWidth&&t.sHeight){var h=t.sx||0,g=t.sy||0;l.drawImage(s,h,g,t.sWidth,t.sHeight,r,c,e,o)}else if(t.sx&&t.sy){var h=t.sx,g=t.sy,A=e-h,w=o-g;l.drawImage(s,h,g,A,w,r,c,e,o)}else l.drawImage(s,r,c,e,o);t.text!=null&&(this.restoreTransform(l),this.drawRectText(l,this.getBoundingRect()))},getBoundingRect:function(){var l=this.style;return this._rect||(this._rect=new m(l.x||0,l.y||0,l.width||0,l.height||0)),this._rect}},E.inherits(v,y);var f=v;U.exports=f},Dg8C:function(U,R,i){var y=i("XxSj"),m=i("bYtY");function E(p,v){p.eachSeriesByType("sankey",function(f){var d=f.getGraph(),l=d.nodes;if(l.length){var n=Infinity,t=-Infinity;m.each(l,function(a){var s=a.getLayout().value;s<n&&(n=s),s>t&&(t=s)}),m.each(l,function(a){var s=new y({type:"color",mappingMethod:"linear",dataExtent:[n,t],visual:f.get("color")}),r=s.mapValueToVisual(a.getLayout().value),c=a.getModel().get("itemStyle.color");c!=null?a.setVisual("color",c):a.setVisual("color",r)})}})}U.exports=E},DjyN:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("Urep"),p=i.n(E),v=i("OaEy")},DlQD:function(U,R,i){(function(y,m){U.exports=m()})(this,function(){"use strict";function y(Pt,jt){for(var er=0;er<jt.length;er++){var at=jt[er];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(Pt,at.key,at)}}function m(Pt,jt,er){return jt&&y(Pt.prototype,jt),er&&y(Pt,er),Pt}function E(Pt,jt){if(!Pt)return;if(typeof Pt=="string")return p(Pt,jt);var er=Object.prototype.toString.call(Pt).slice(8,-1);if(er==="Object"&&Pt.constructor&&(er=Pt.constructor.name),er==="Map"||er==="Set")return Array.from(Pt);if(er==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(er))return p(Pt,jt)}function p(Pt,jt){(jt==null||jt>Pt.length)&&(jt=Pt.length);for(var er=0,at=new Array(jt);er<jt;er++)at[er]=Pt[er];return at}function v(Pt,jt){var er;if(typeof Symbol=="undefined"||Pt[Symbol.iterator]==null){if(Array.isArray(Pt)||(er=E(Pt))||jt&&Pt&&typeof Pt.length=="number"){er&&(Pt=er);var at=0;return function(){return at>=Pt.length?{done:!0}:{done:!1,value:Pt[at++]}}}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 er=Pt[Symbol.iterator](),er.next.bind(er)}function f(Pt,jt){return jt={exports:{}},Pt(jt,jt.exports),jt.exports}var d=f(function(Pt){function jt(){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 er(at){Pt.exports.defaults=at}Pt.exports={defaults:jt(),getDefaults:jt,changeDefaults:er}}),l=d.defaults,n=d.getDefaults,t=d.changeDefaults,a=/[&<>"']/,s=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,e={"&":"&","<":"<",">":">",'"':""","'":"'"},o=function(jt){return e[jt]};function u(Pt,jt){if(jt){if(a.test(Pt))return Pt.replace(s,o)}else if(r.test(Pt))return Pt.replace(c,o);return Pt}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function g(Pt){return Pt.replace(h,function(jt,er){return er=er.toLowerCase(),er==="colon"?":":er.charAt(0)==="#"?er.charAt(1)==="x"?String.fromCharCode(parseInt(er.substring(2),16)):String.fromCharCode(+er.substring(1)):""})}var A=/(^|[^\[])\^/g;function w(Pt,jt){Pt=Pt.source||Pt,jt=jt||"";var er={replace:function(Ce,ue){return ue=ue.source||ue,ue=ue.replace(A,"$1"),Pt=Pt.replace(Ce,ue),er},getRegex:function(){return new RegExp(Pt,jt)}};return er}var x=/[^\w:]/g,C=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function T(Pt,jt,er){if(Pt){var at;try{at=decodeURIComponent(g(er)).replace(x,"").toLowerCase()}catch(Ce){return null}if(at.indexOf("javascript:")===0||at.indexOf("vbscript:")===0||at.indexOf("data:")===0)return null}jt&&!C.test(er)&&(er=D(jt,er));try{er=encodeURI(er).replace(/%25/g,"%")}catch(Ce){return null}return er}var O={},S=/^[^:]+:\/*[^/]*$/,_=/^([^:]+:)[\s\S]*$/,L=/^([^:]+:\/*[^/]*)[\s\S]*$/;function D(Pt,jt){O[" "+Pt]||(S.test(Pt)?O[" "+Pt]=Pt+"/":O[" "+Pt]=K(Pt,"/",!0)),Pt=O[" "+Pt];var er=Pt.indexOf(":")===-1;return jt.substring(0,2)==="//"?er?jt:Pt.replace(_,"$1")+jt:jt.charAt(0)==="/"?er?jt:Pt.replace(L,"$1")+jt:Pt+jt}var F={exec:function(){}};function j(Pt){for(var jt=1,er,at;jt<arguments.length;jt++){er=arguments[jt];for(at in er)Object.prototype.hasOwnProperty.call(er,at)&&(Pt[at]=er[at])}return Pt}function k(Pt,jt){var er=Pt.replace(/\|/g,function(ue,Dt,rt){for(var ye=!1,Xt=Dt;--Xt>=0&&rt[Xt]==="\\";)ye=!ye;return ye?"|":" |"}),at=er.split(/ \|/),Ce=0;if(at.length>jt)at.splice(jt);else for(;at.length<jt;)at.push("");for(;Ce<at.length;Ce++)at[Ce]=at[Ce].trim().replace(/\\\|/g,"|");return at}function K(Pt,jt,er){var at=Pt.length;if(at===0)return"";for(var Ce=0;Ce<at;){var ue=Pt.charAt(at-Ce-1);if(ue===jt&&!er)Ce++;else if(ue!==jt&&er)Ce++;else break}return Pt.substr(0,at-Ce)}function Z(Pt,jt){if(Pt.indexOf(jt[1])===-1)return-1;for(var er=Pt.length,at=0,Ce=0;Ce<er;Ce++)if(Pt[Ce]==="\\")Ce++;else if(Pt[Ce]===jt[0])at++;else if(Pt[Ce]===jt[1]&&(at--,at<0))return Ce;return-1}function B(Pt){Pt&&Pt.sanitize&&!Pt.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 V={escape:u,unescape:g,edit:w,cleanUrl:T,resolveUrl:D,noopTest:F,merge:j,splitCells:k,rtrim:K,findClosingBracket:Z,checkSanitizeDeprecation:B},z=d.defaults,X=V.rtrim,W=V.splitCells,q=V.escape,Y=V.findClosingBracket;function re(Pt,jt,er){var at=jt.href,Ce=jt.title?q(jt.title):null,ue=Pt[1].replace(/\\([\[\]])/g,"$1");return Pt[0].charAt(0)!=="!"?{type:"link",raw:er,href:at,title:Ce,text:ue}:{type:"image",raw:er,href:at,title:Ce,text:q(ue)}}function ne(Pt,jt){var er=Pt.match(/^(\s+)(?:```)/);if(er===null)return jt;var at=er[1];return jt.split(`
|
|
|
`).map(function(Ce){var ue=Ce.match(/^\s+/);if(ue===null)return Ce;var Dt=ue[0];return Dt.length>=at.length?Ce.slice(at.length):Ce}).join(`
|
|
|
`)}var we=function(){function Pt(er){this.options=er||z}var jt=Pt.prototype;return jt.space=function(at){var Ce=this.rules.block.newline.exec(at);if(Ce)return Ce[0].length>1?{type:"space",raw:Ce[0]}:{raw:`
|
|
|
`}},jt.code=function(at,Ce){var ue=this.rules.block.code.exec(at);if(ue){var Dt=Ce[Ce.length-1];if(Dt&&Dt.type==="paragraph")return{raw:ue[0],text:ue[0].trimRight()};var rt=ue[0].replace(/^ {4}/gm,"");return{type:"code",raw:ue[0],codeBlockStyle:"indented",text:this.options.pedantic?rt:X(rt,`
|
|
|
`)}}},jt.fences=function(at){var Ce=this.rules.block.fences.exec(at);if(Ce){var ue=Ce[0],Dt=ne(ue,Ce[3]||"");return{type:"code",raw:ue,lang:Ce[2]?Ce[2].trim():Ce[2],text:Dt}}},jt.heading=function(at){var Ce=this.rules.block.heading.exec(at);if(Ce)return{type:"heading",raw:Ce[0],depth:Ce[1].length,text:Ce[2]}},jt.nptable=function(at){var Ce=this.rules.block.nptable.exec(at);if(Ce){var ue={type:"table",header:W(Ce[1].replace(/^ *| *\| *$/g,"")),align:Ce[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ce[3]?Ce[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Ce[0]};if(ue.header.length===ue.align.length){var Dt=ue.align.length,rt;for(rt=0;rt<Dt;rt++)/^ *-+: *$/.test(ue.align[rt])?ue.align[rt]="right":/^ *:-+: *$/.test(ue.align[rt])?ue.align[rt]="center":/^ *:-+ *$/.test(ue.align[rt])?ue.align[rt]="left":ue.align[rt]=null;for(Dt=ue.cells.length,rt=0;rt<Dt;rt++)ue.cells[rt]=W(ue.cells[rt],ue.header.length);return ue}}},jt.hr=function(at){var Ce=this.rules.block.hr.exec(at);if(Ce)return{type:"hr",raw:Ce[0]}},jt.blockquote=function(at){var Ce=this.rules.block.blockquote.exec(at);if(Ce){var ue=Ce[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ce[0],text:ue}}},jt.list=function(at){var Ce=this.rules.block.list.exec(at);if(Ce){for(var ue=Ce[0],Dt=Ce[2],rt=Dt.length>1,ye=Dt[Dt.length-1]===")",Xt={type:"list",raw:ue,ordered:rt,start:rt?+Dt.slice(0,-1):"",loose:!1,items:[]},pr=Ce[0].match(this.rules.block.item),mt=!1,nr,yr,gn,_r,ur,zt,bt,ot=pr.length,lr=0;lr<ot;lr++)nr=pr[lr],ue=nr,yr=nr.length,nr=nr.replace(/^ *([*+-]|\d+[.)]) */,""),~nr.indexOf(`
|
|
|
`)&&(yr-=nr.length,nr=this.options.pedantic?nr.replace(/^ {1,4}/gm,""):nr.replace(new RegExp("^ {1,"+yr+"}","gm"),"")),lr!==ot-1&&(gn=this.rules.block.bullet.exec(pr[lr+1])[0],(rt?gn.length===1||!ye&&gn[gn.length-1]===")":gn.length>1||this.options.smartLists&&gn!==Dt)&&(_r=pr.slice(lr+1).join(`
|
|
|
`),Xt.raw=Xt.raw.substring(0,Xt.raw.length-_r.length),lr=ot-1)),ur=mt||/\n\n(?!\s*$)/.test(nr),lr!==ot-1&&(mt=nr.charAt(nr.length-1)===`
|
|
|
`,ur||(ur=mt)),ur&&(Xt.loose=!0),zt=/^\[[ xX]\] /.test(nr),bt=void 0,zt&&(bt=nr[1]!==" ",nr=nr.replace(/^\[[ xX]\] +/,"")),Xt.items.push({type:"list_item",raw:ue,task:zt,checked:bt,loose:ur,text:nr});return Xt}},jt.html=function(at){var Ce=this.rules.block.html.exec(at);if(Ce)return{type:this.options.sanitize?"paragraph":"html",raw:Ce[0],pre:!this.options.sanitizer&&(Ce[1]==="pre"||Ce[1]==="script"||Ce[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ce[0]):q(Ce[0]):Ce[0]}},jt.def=function(at){var Ce=this.rules.block.def.exec(at);if(Ce){Ce[3]&&(Ce[3]=Ce[3].substring(1,Ce[3].length-1));var ue=Ce[1].toLowerCase().replace(/\s+/g," ");return{tag:ue,raw:Ce[0],href:Ce[2],title:Ce[3]}}},jt.table=function(at){var Ce=this.rules.block.table.exec(at);if(Ce){var ue={type:"table",header:W(Ce[1].replace(/^ *| *\| *$/g,"")),align:Ce[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ce[3]?Ce[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(ue.header.length===ue.align.length){ue.raw=Ce[0];var Dt=ue.align.length,rt;for(rt=0;rt<Dt;rt++)/^ *-+: *$/.test(ue.align[rt])?ue.align[rt]="right":/^ *:-+: *$/.test(ue.align[rt])?ue.align[rt]="center":/^ *:-+ *$/.test(ue.align[rt])?ue.align[rt]="left":ue.align[rt]=null;for(Dt=ue.cells.length,rt=0;rt<Dt;rt++)ue.cells[rt]=W(ue.cells[rt].replace(/^ *\| *| *\| *$/g,""),ue.header.length);return ue}}},jt.lheading=function(at){var Ce=this.rules.block.lheading.exec(at);if(Ce)return{type:"heading",raw:Ce[0],depth:Ce[2].charAt(0)==="="?1:2,text:Ce[1]}},jt.paragraph=function(at){var Ce=this.rules.block.paragraph.exec(at);if(Ce)return{type:"paragraph",raw:Ce[0],text:Ce[1].charAt(Ce[1].length-1)===`
|
|
|
`?Ce[1].slice(0,-1):Ce[1]}},jt.text=function(at,Ce){var ue=this.rules.block.text.exec(at);if(ue){var Dt=Ce[Ce.length-1];return Dt&&Dt.type==="text"?{raw:ue[0],text:ue[0]}:{type:"text",raw:ue[0],text:ue[0]}}},jt.escape=function(at){var Ce=this.rules.inline.escape.exec(at);if(Ce)return{type:"escape",raw:Ce[0],text:q(Ce[1])}},jt.tag=function(at,Ce,ue){var Dt=this.rules.inline.tag.exec(at);if(Dt)return!Ce&&/^<a /i.test(Dt[0])?Ce=!0:Ce&&/^<\/a>/i.test(Dt[0])&&(Ce=!1),!ue&&/^<(pre|code|kbd|script)(\s|>)/i.test(Dt[0])?ue=!0:ue&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Dt[0])&&(ue=!1),{type:this.options.sanitize?"text":"html",raw:Dt[0],inLink:Ce,inRawBlock:ue,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Dt[0]):q(Dt[0]):Dt[0]}},jt.link=function(at){var Ce=this.rules.inline.link.exec(at);if(Ce){var ue=Y(Ce[2],"()");if(ue>-1){var Dt=Ce[0].indexOf("!")===0?5:4,rt=Dt+Ce[1].length+ue;Ce[2]=Ce[2].substring(0,ue),Ce[0]=Ce[0].substring(0,rt).trim(),Ce[3]=""}var ye=Ce[2],Xt="";if(this.options.pedantic){var pr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ye);pr?(ye=pr[1],Xt=pr[3]):Xt=""}else Xt=Ce[3]?Ce[3].slice(1,-1):"";ye=ye.trim().replace(/^<([\s\S]*)>$/,"$1");var mt=re(Ce,{href:ye&&ye.replace(this.rules.inline._escapes,"$1"),title:Xt&&Xt.replace(this.rules.inline._escapes,"$1")},Ce[0]);return mt}},jt.reflink=function(at,Ce){var ue;if((ue=this.rules.inline.reflink.exec(at))||(ue=this.rules.inline.nolink.exec(at))){var Dt=(ue[2]||ue[1]).replace(/\s+/g," ");if(Dt=Ce[Dt.toLowerCase()],!Dt||!Dt.href){var rt=ue[0].charAt(0);return{type:"text",raw:rt,text:rt}}var ye=re(ue,Dt,ue[0]);return ye}},jt.strong=function(at,Ce,ue){ue===void 0&&(ue="");var Dt=this.rules.inline.strong.start.exec(at);if(Dt&&(!Dt[1]||Dt[1]&&(ue===""||this.rules.inline.punctuation.exec(ue)))){Ce=Ce.slice(-1*at.length);var rt=Dt[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;rt.lastIndex=0;for(var ye;(Dt=rt.exec(Ce))!=null;)if(ye=this.rules.inline.strong.middle.exec(Ce.slice(0,Dt.index+3)),ye)return{type:"strong",raw:at.slice(0,ye[0].length),text:at.slice(2,ye[0].length-2)}}},jt.em=function(at,Ce,ue){ue===void 0&&(ue="");var Dt=this.rules.inline.em.start.exec(at);if(Dt&&(!Dt[1]||Dt[1]&&(ue===""||this.rules.inline.punctuation.exec(ue)))){Ce=Ce.slice(-1*at.length);var rt=Dt[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;rt.lastIndex=0;for(var ye;(Dt=rt.exec(Ce))!=null;)if(ye=this.rules.inline.em.middle.exec(Ce.slice(0,Dt.index+2)),ye)return{type:"em",raw:at.slice(0,ye[0].length),text:at.slice(1,ye[0].length-1)}}},jt.codespan=function(at){var Ce=this.rules.inline.code.exec(at);if(Ce){var ue=Ce[2].replace(/\n/g," "),Dt=/[^ ]/.test(ue),rt=ue.startsWith(" ")&&ue.endsWith(" ");return Dt&&rt&&(ue=ue.substring(1,ue.length-1)),ue=q(ue,!0),{type:"codespan",raw:Ce[0],text:ue}}},jt.br=function(at){var Ce=this.rules.inline.br.exec(at);if(Ce)return{type:"br",raw:Ce[0]}},jt.del=function(at){var Ce=this.rules.inline.del.exec(at);if(Ce)return{type:"del",raw:Ce[0],text:Ce[1]}},jt.autolink=function(at,Ce){var ue=this.rules.inline.autolink.exec(at);if(ue){var Dt,rt;return ue[2]==="@"?(Dt=q(this.options.mangle?Ce(ue[1]):ue[1]),rt="mailto:"+Dt):(Dt=q(ue[1]),rt=Dt),{type:"link",raw:ue[0],text:Dt,href:rt,tokens:[{type:"text",raw:Dt,text:Dt}]}}},jt.url=function(at,Ce){var ue;if(ue=this.rules.inline.url.exec(at)){var Dt,rt;if(ue[2]==="@")Dt=q(this.options.mangle?Ce(ue[0]):ue[0]),rt="mailto:"+Dt;else{var ye;do ye=ue[0],ue[0]=this.rules.inline._backpedal.exec(ue[0])[0];while(ye!==ue[0]);Dt=q(ue[0]),ue[1]==="www."?rt="http://"+Dt:rt=Dt}return{type:"link",raw:ue[0],text:Dt,href:rt,tokens:[{type:"text",raw:Dt,text:Dt}]}}},jt.inlineText=function(at,Ce,ue){var Dt=this.rules.inline.text.exec(at);if(Dt){var rt;return Ce?rt=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Dt[0]):q(Dt[0]):Dt[0]:rt=q(this.options.smartypants?ue(Dt[0]):Dt[0]),{type:"text",raw:Dt[0],text:rt}}},Pt}(),ie=V.noopTest,me=V.edit,_e=V.merge,Te={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:ie,table:ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Te._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Te._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Te.def=me(Te.def).replace("label",Te._label).replace("title",Te._title).getRegex(),Te.bullet=/(?:[*+-]|\d{1,9}[.)])/,Te.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Te.item=me(Te.item,"gm").replace(/bull/g,Te.bullet).getRegex(),Te.list=me(Te.list).replace(/bull/g,Te.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Te.def.source+")").getRegex(),Te._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",Te._comment=/<!--(?!-?>)[\s\S]*?-->/,Te.html=me(Te.html,"i").replace("comment",Te._comment).replace("tag",Te._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Te.paragraph=me(Te._paragraph).replace("hr",Te.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",Te._tag).getRegex(),Te.blockquote=me(Te.blockquote).replace("paragraph",Te.paragraph).getRegex(),Te.normal=_e({},Te),Te.gfm=_e({},Te.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*|$)"}),Te.gfm.nptable=me(Te.gfm.nptable).replace("hr",Te.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",Te._tag).getRegex(),Te.gfm.table=me(Te.gfm.table).replace("hr",Te.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",Te._tag).getRegex(),Te.pedantic=_e({},Te.normal,{html:me(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Te._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:ie,paragraph:me(Te.normal._paragraph).replace("hr",Te.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",Te.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var We={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ie,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:ie,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};We._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",We.punctuation=me(We.punctuation).replace(/punctuation/g,We._punctuation).getRegex(),We._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",We._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",We.em.start=me(We.em.start).replace(/punctuation/g,We._punctuation).getRegex(),We.em.middle=me(We.em.middle).replace(/punctuation/g,We._punctuation).replace(/overlapSkip/g,We._overlapSkip).getRegex(),We.em.endAst=me(We.em.endAst,"g").replace(/punctuation/g,We._punctuation).getRegex(),We.em.endUnd=me(We.em.endUnd,"g").replace(/punctuation/g,We._punctuation).getRegex(),We.strong.start=me(We.strong.start).replace(/punctuation/g,We._punctuation).getRegex(),We.strong.middle=me(We.strong.middle).replace(/punctuation/g,We._punctuation).replace(/blockSkip/g,We._blockSkip).getRegex(),We.strong.endAst=me(We.strong.endAst,"g").replace(/punctuation/g,We._punctuation).getRegex(),We.strong.endUnd=me(We.strong.endUnd,"g").replace(/punctuation/g,We._punctuation).getRegex(),We.blockSkip=me(We._blockSkip,"g").getRegex(),We.overlapSkip=me(We._overlapSkip,"g").getRegex(),We._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,We._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,We._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])?)+(?![-_])/,We.autolink=me(We.autolink).replace("scheme",We._scheme).replace("email",We._email).getRegex(),We._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,We.tag=me(We.tag).replace("comment",Te._comment).replace("attribute",We._attribute).getRegex(),We._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,We._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,We._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,We.link=me(We.link).replace("label",We._label).replace("href",We._href).replace("title",We._title).getRegex(),We.reflink=me(We.reflink).replace("label",We._label).getRegex(),We.reflinkSearch=me(We.reflinkSearch,"g").replace("reflink",We.reflink).replace("nolink",We.nolink).getRegex(),We.normal=_e({},We),We.pedantic=_e({},We.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:me(/^!?\[(label)\]\((.*?)\)/).replace("label",We._label).getRegex(),reflink:me(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",We._label).getRegex()}),We.gfm=_e({},We.normal,{escape:me(We.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),We.gfm.url=me(We.gfm.url,"i").replace("email",We.gfm._extended_email).getRegex(),We.breaks=_e({},We.gfm,{br:me(We.br).replace("{2,}","*").getRegex(),text:me(We.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Ae={block:Te,inline:We},je=d.defaults,ee=Ae.block,he=Ae.inline;function Ze(Pt){return Pt.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 oe(Pt){var jt="",er,at,Ce=Pt.length;for(er=0;er<Ce;er++)at=Pt.charCodeAt(er),Math.random()>.5&&(at="x"+at.toString(16)),jt+="&#"+at+";";return jt}var Q=function(){function Pt(er){this.tokens=[],this.tokens.links=Object.create(null),this.options=er||je,this.options.tokenizer=this.options.tokenizer||new we,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var at={block:ee.normal,inline:he.normal};this.options.pedantic?(at.block=ee.pedantic,at.inline=he.pedantic):this.options.gfm&&(at.block=ee.gfm,this.options.breaks?at.inline=he.breaks:at.inline=he.gfm),this.tokenizer.rules=at}Pt.lex=function(at,Ce){var ue=new Pt(Ce);return ue.lex(at)};var jt=Pt.prototype;return jt.lex=function(at){return at=at.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(at,this.tokens,!0),this.inline(this.tokens),this.tokens},jt.blockTokens=function(at,Ce,ue){Ce===void 0&&(Ce=[]),ue===void 0&&(ue=!0),at=at.replace(/^ +$/gm,"");for(var Dt,rt,ye,Xt;at;){if(Dt=this.tokenizer.space(at)){at=at.substring(Dt.raw.length),Dt.type&&Ce.push(Dt);continue}if(Dt=this.tokenizer.code(at,Ce)){at=at.substring(Dt.raw.length),Dt.type?Ce.push(Dt):(Xt=Ce[Ce.length-1],Xt.raw+=`
|
|
|
`+Dt.raw,Xt.text+=`
|
|
|
`+Dt.text);continue}if(Dt=this.tokenizer.fences(at)){at=at.substring(Dt.raw.length),Ce.push(Dt);continue}if(Dt=this.tokenizer.heading(at)){at=at.substring(Dt.raw.length),Ce.push(Dt);continue}if(Dt=this.tokenizer.nptable(at)){at=at.substring(Dt.raw.length),Ce.push(Dt);continue}if(Dt=this.tokenizer.hr(at)){at=at.substring(Dt.raw.length),Ce.push(Dt);continue}if(Dt=this.tokenizer.blockquote(at)){at=at.substring(Dt.raw.length),Dt.tokens=this.blockTokens(Dt.text,[],ue),Ce.push(Dt);continue}if(Dt=this.tokenizer.list(at)){for(at=at.substring(Dt.raw.length),ye=Dt.items.length,rt=0;rt<ye;rt++)Dt.items[rt].tokens=this.blockTokens(Dt.items[rt].text,[],!1);Ce.push(Dt);continue}if(Dt=this.tokenizer.html(at)){at=at.substring(Dt.raw.length),Ce.push(Dt);continue}if(ue&&(Dt=this.tokenizer.def(at))){at=at.substring(Dt.raw.length),this.tokens.links[Dt.tag]||(this.tokens.links[Dt.tag]={href:Dt.href,title:Dt.title});continue}if(Dt=this.tokenizer.table(at)){at=at.substring(Dt.raw.length),Ce.push(Dt);continue}if(Dt=this.tokenizer.lheading(at)){at=at.substring(Dt.raw.length),Ce.push(Dt);continue}if(ue&&(Dt=this.tokenizer.paragraph(at))){at=at.substring(Dt.raw.length),Ce.push(Dt);continue}if(Dt=this.tokenizer.text(at,Ce)){at=at.substring(Dt.raw.length),Dt.type?Ce.push(Dt):(Xt=Ce[Ce.length-1],Xt.raw+=`
|
|
|
`+Dt.raw,Xt.text+=`
|
|
|
`+Dt.text);continue}if(at){var pr="Infinite loop on byte: "+at.charCodeAt(0);if(this.options.silent){console.error(pr);break}else throw new Error(pr)}}return Ce},jt.inline=function(at){var Ce,ue,Dt,rt,ye,Xt,pr=at.length;for(Ce=0;Ce<pr;Ce++){Xt=at[Ce];switch(Xt.type){case"paragraph":case"text":case"heading":{Xt.tokens=[],this.inlineTokens(Xt.text,Xt.tokens);break}case"table":{for(Xt.tokens={header:[],cells:[]},rt=Xt.header.length,ue=0;ue<rt;ue++)Xt.tokens.header[ue]=[],this.inlineTokens(Xt.header[ue],Xt.tokens.header[ue]);for(rt=Xt.cells.length,ue=0;ue<rt;ue++)for(ye=Xt.cells[ue],Xt.tokens.cells[ue]=[],Dt=0;Dt<ye.length;Dt++)Xt.tokens.cells[ue][Dt]=[],this.inlineTokens(ye[Dt],Xt.tokens.cells[ue][Dt]);break}case"blockquote":{this.inline(Xt.tokens);break}case"list":{for(rt=Xt.items.length,ue=0;ue<rt;ue++)this.inline(Xt.items[ue].tokens);break}}}return at},jt.inlineTokens=function(at,Ce,ue,Dt,rt){Ce===void 0&&(Ce=[]),ue===void 0&&(ue=!1),Dt===void 0&&(Dt=!1),rt===void 0&&(rt="");var ye,Xt=at,pr;if(this.tokens.links){var mt=Object.keys(this.tokens.links);if(mt.length>0)for(;(pr=this.tokenizer.rules.inline.reflinkSearch.exec(Xt))!=null;)mt.includes(pr[0].slice(pr[0].lastIndexOf("[")+1,-1))&&(Xt=Xt.slice(0,pr.index)+"["+"a".repeat(pr[0].length-2)+"]"+Xt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(pr=this.tokenizer.rules.inline.blockSkip.exec(Xt))!=null;)Xt=Xt.slice(0,pr.index)+"["+"a".repeat(pr[0].length-2)+"]"+Xt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;at;){if(ye=this.tokenizer.escape(at)){at=at.substring(ye.raw.length),Ce.push(ye);continue}if(ye=this.tokenizer.tag(at,ue,Dt)){at=at.substring(ye.raw.length),ue=ye.inLink,Dt=ye.inRawBlock,Ce.push(ye);continue}if(ye=this.tokenizer.link(at)){at=at.substring(ye.raw.length),ye.type==="link"&&(ye.tokens=this.inlineTokens(ye.text,[],!0,Dt)),Ce.push(ye);continue}if(ye=this.tokenizer.reflink(at,this.tokens.links)){at=at.substring(ye.raw.length),ye.type==="link"&&(ye.tokens=this.inlineTokens(ye.text,[],!0,Dt)),Ce.push(ye);continue}if(ye=this.tokenizer.strong(at,Xt,rt)){at=at.substring(ye.raw.length),ye.tokens=this.inlineTokens(ye.text,[],ue,Dt),Ce.push(ye);continue}if(ye=this.tokenizer.em(at,Xt,rt)){at=at.substring(ye.raw.length),ye.tokens=this.inlineTokens(ye.text,[],ue,Dt),Ce.push(ye);continue}if(ye=this.tokenizer.codespan(at)){at=at.substring(ye.raw.length),Ce.push(ye);continue}if(ye=this.tokenizer.br(at)){at=at.substring(ye.raw.length),Ce.push(ye);continue}if(ye=this.tokenizer.del(at)){at=at.substring(ye.raw.length),ye.tokens=this.inlineTokens(ye.text,[],ue,Dt),Ce.push(ye);continue}if(ye=this.tokenizer.autolink(at,oe)){at=at.substring(ye.raw.length),Ce.push(ye);continue}if(!ue&&(ye=this.tokenizer.url(at,oe))){at=at.substring(ye.raw.length),Ce.push(ye);continue}if(ye=this.tokenizer.inlineText(at,Dt,Ze)){at=at.substring(ye.raw.length),rt=ye.raw.slice(-1),Ce.push(ye);continue}if(at){var nr="Infinite loop on byte: "+at.charCodeAt(0);if(this.options.silent){console.error(nr);break}else throw new Error(nr)}}return Ce},m(Pt,null,[{key:"rules",get:function(){return{block:ee,inline:he}}}]),Pt}(),G=d.defaults,te=V.cleanUrl,xe=V.escape,fe=function(){function Pt(er){this.options=er||G}var jt=Pt.prototype;return jt.code=function(at,Ce,ue){var Dt=(Ce||"").match(/\S*/)[0];if(this.options.highlight){var rt=this.options.highlight(at,Dt);rt!=null&&rt!==at&&(ue=!0,at=rt)}return Dt?'<pre><code class="'+this.options.langPrefix+xe(Dt,!0)+'">'+(ue?at:xe(at,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(ue?at:xe(at,!0))+`</code></pre>
|
|
|
`},jt.blockquote=function(at){return`<blockquote>
|
|
|
`+at+`</blockquote>
|
|
|
`},jt.html=function(at){return at},jt.heading=function(at,Ce,ue,Dt){return this.options.headerIds?"<h"+Ce+' id="'+this.options.headerPrefix+Dt.slug(ue)+'">'+at+"</h"+Ce+`>
|
|
|
`:"<h"+Ce+">"+at+"</h"+Ce+`>
|
|
|
`},jt.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},jt.list=function(at,Ce,ue){var Dt=Ce?"ol":"ul",rt=Ce&&ue!==1?' start="'+ue+'"':"";return"<"+Dt+rt+`>
|
|
|
`+at+"</"+Dt+`>
|
|
|
`},jt.listitem=function(at){return"<li>"+at+`</li>
|
|
|
`},jt.checkbox=function(at){return"<input "+(at?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},jt.paragraph=function(at){return"<p>"+at+`</p>
|
|
|
`},jt.table=function(at,Ce){return Ce&&(Ce="<tbody>"+Ce+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+at+`</thead>
|
|
|
`+Ce+`</table>
|
|
|
`},jt.tablerow=function(at){return`<tr>
|
|
|
`+at+`</tr>
|
|
|
`},jt.tablecell=function(at,Ce){var ue=Ce.header?"th":"td",Dt=Ce.align?"<"+ue+' align="'+Ce.align+'">':"<"+ue+">";return Dt+at+"</"+ue+`>
|
|
|
`},jt.strong=function(at){return"<strong>"+at+"</strong>"},jt.em=function(at){return"<em>"+at+"</em>"},jt.codespan=function(at){return"<code>"+at+"</code>"},jt.br=function(){return this.options.xhtml?"<br/>":"<br>"},jt.del=function(at){return"<del>"+at+"</del>"},jt.link=function(at,Ce,ue){if(at=te(this.options.sanitize,this.options.baseUrl,at),at===null)return ue;var Dt='<a href="'+xe(at)+'"';return Ce&&(Dt+=' title="'+Ce+'"'),Dt+=">"+ue+"</a>",Dt},jt.image=function(at,Ce,ue){if(at=te(this.options.sanitize,this.options.baseUrl,at),at===null)return ue;var Dt='<img src="'+at+'" alt="'+ue+'"';return Ce&&(Dt+=' title="'+Ce+'"'),Dt+=this.options.xhtml?"/>":">",Dt},jt.text=function(at){return at},Pt}(),Be=function(){function Pt(){}var jt=Pt.prototype;return jt.strong=function(at){return at},jt.em=function(at){return at},jt.codespan=function(at){return at},jt.del=function(at){return at},jt.html=function(at){return at},jt.text=function(at){return at},jt.link=function(at,Ce,ue){return""+ue},jt.image=function(at,Ce,ue){return""+ue},jt.br=function(){return""},Pt}(),Ne=function(){function Pt(){this.seen={}}var jt=Pt.prototype;return jt.slug=function(at){var Ce=at.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(Ce)){var ue=Ce;do this.seen[ue]++,Ce=ue+"-"+this.seen[ue];while(this.seen.hasOwnProperty(Ce))}return this.seen[Ce]=0,Ce},Pt}(),de=d.defaults,ve=V.unescape,Me=function(){function Pt(er){this.options=er||de,this.options.renderer=this.options.renderer||new fe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Be,this.slugger=new Ne}Pt.parse=function(at,Ce){var ue=new Pt(Ce);return ue.parse(at)};var jt=Pt.prototype;return jt.parse=function(at,Ce){Ce===void 0&&(Ce=!0);var ue="",Dt,rt,ye,Xt,pr,mt,nr,yr,gn,_r,ur,zt,bt,ot,lr,jr,Rr,xr,Vn=at.length;for(Dt=0;Dt<Vn;Dt++){_r=at[Dt];switch(_r.type){case"space":continue;case"hr":{ue+=this.renderer.hr();continue}case"heading":{ue+=this.renderer.heading(this.parseInline(_r.tokens),_r.depth,ve(this.parseInline(_r.tokens,this.textRenderer)),this.slugger);continue}case"code":{ue+=this.renderer.code(_r.text,_r.lang,_r.escaped);continue}case"table":{for(yr="",nr="",Xt=_r.header.length,rt=0;rt<Xt;rt++)nr+=this.renderer.tablecell(this.parseInline(_r.tokens.header[rt]),{header:!0,align:_r.align[rt]});for(yr+=this.renderer.tablerow(nr),gn="",Xt=_r.cells.length,rt=0;rt<Xt;rt++){for(mt=_r.tokens.cells[rt],nr="",pr=mt.length,ye=0;ye<pr;ye++)nr+=this.renderer.tablecell(this.parseInline(mt[ye]),{header:!1,align:_r.align[ye]});gn+=this.renderer.tablerow(nr)}ue+=this.renderer.table(yr,gn);continue}case"blockquote":{gn=this.parse(_r.tokens),ue+=this.renderer.blockquote(gn);continue}case"list":{for(ur=_r.ordered,zt=_r.start,bt=_r.loose,Xt=_r.items.length,gn="",rt=0;rt<Xt;rt++)lr=_r.items[rt],jr=lr.checked,Rr=lr.task,ot="",lr.task&&(xr=this.renderer.checkbox(jr),bt?lr.tokens.length>0&&lr.tokens[0].type==="text"?(lr.tokens[0].text=xr+" "+lr.tokens[0].text,lr.tokens[0].tokens&&lr.tokens[0].tokens.length>0&&lr.tokens[0].tokens[0].type==="text"&&(lr.tokens[0].tokens[0].text=xr+" "+lr.tokens[0].tokens[0].text)):lr.tokens.unshift({type:"text",text:xr}):ot+=xr),ot+=this.parse(lr.tokens,bt),gn+=this.renderer.listitem(ot,Rr,jr);ue+=this.renderer.list(gn,ur,zt);continue}case"html":{ue+=this.renderer.html(_r.text);continue}case"paragraph":{ue+=this.renderer.paragraph(this.parseInline(_r.tokens));continue}case"text":{for(gn=_r.tokens?this.parseInline(_r.tokens):_r.text;Dt+1<Vn&&at[Dt+1].type==="text";)_r=at[++Dt],gn+=`
|
|
|
`+(_r.tokens?this.parseInline(_r.tokens):_r.text);ue+=Ce?this.renderer.paragraph(gn):gn;continue}default:{var bn='Token with "'+_r.type+'" type was not found.';if(this.options.silent){console.error(bn);return}else throw new Error(bn)}}}return ue},jt.parseInline=function(at,Ce){Ce=Ce||this.renderer;var ue="",Dt,rt,ye=at.length;for(Dt=0;Dt<ye;Dt++){rt=at[Dt];switch(rt.type){case"escape":{ue+=Ce.text(rt.text);break}case"html":{ue+=Ce.html(rt.text);break}case"link":{ue+=Ce.link(rt.href,rt.title,this.parseInline(rt.tokens,Ce));break}case"image":{ue+=Ce.image(rt.href,rt.title,rt.text);break}case"strong":{ue+=Ce.strong(this.parseInline(rt.tokens,Ce));break}case"em":{ue+=Ce.em(this.parseInline(rt.tokens,Ce));break}case"codespan":{ue+=Ce.codespan(rt.text);break}case"br":{ue+=Ce.br();break}case"del":{ue+=Ce.del(this.parseInline(rt.tokens,Ce));break}case"text":{ue+=Ce.text(rt.text);break}default:{var Xt='Token with "'+rt.type+'" type was not found.';if(this.options.silent){console.error(Xt);return}else throw new Error(Xt)}}}return ue},Pt}(),qe=V.merge,gt=V.checkSanitizeDeprecation,ht=V.escape,Pe=d.getDefaults,It=d.changeDefaults,nt=d.defaults;function Nt(Pt,jt,er){if(typeof Pt=="undefined"||Pt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Pt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Pt)+", string expected");if(typeof jt=="function"&&(er=jt,jt=null),jt=qe({},Nt.defaults,jt||{}),gt(jt),er){var at=jt.highlight,Ce;try{Ce=Q.lex(Pt,jt)}catch(ye){return er(ye)}var ue=function(Xt){var pr;if(!Xt)try{pr=Me.parse(Ce,jt)}catch(mt){Xt=mt}return jt.highlight=at,Xt?er(Xt):er(null,pr)};if(!at||at.length<3)return ue();if(delete jt.highlight,!Ce.length)return ue();var Dt=0;Nt.walkTokens(Ce,function(ye){ye.type==="code"&&(Dt++,setTimeout(function(){at(ye.text,ye.lang,function(Xt,pr){if(Xt)return ue(Xt);pr!=null&&pr!==ye.text&&(ye.text=pr,ye.escaped=!0),Dt--,Dt===0&&ue()})},0))}),Dt===0&&ue();return}try{var rt=Q.lex(Pt,jt);return jt.walkTokens&&Nt.walkTokens(rt,jt.walkTokens),Me.parse(rt,jt)}catch(ye){if(ye.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,jt.silent)return"<p>An error occurred:</p><pre>"+ht(ye.message+"",!0)+"</pre>";throw ye}}Nt.options=Nt.setOptions=function(Pt){return qe(Nt.defaults,Pt),It(Nt.defaults),Nt},Nt.getDefaults=Pe,Nt.defaults=nt,Nt.use=function(Pt){var jt=qe({},Pt);if(Pt.renderer&&function(){var at=Nt.defaults.renderer||new fe,Ce=function(rt){var ye=at[rt];at[rt]=function(){for(var Xt=arguments.length,pr=new Array(Xt),mt=0;mt<Xt;mt++)pr[mt]=arguments[mt];var nr=Pt.renderer[rt].apply(at,pr);return nr===!1&&(nr=ye.apply(at,pr)),nr}};for(var ue in Pt.renderer)Ce(ue);jt.renderer=at}(),Pt.tokenizer&&function(){var at=Nt.defaults.tokenizer||new we,Ce=function(rt){var ye=at[rt];at[rt]=function(){for(var Xt=arguments.length,pr=new Array(Xt),mt=0;mt<Xt;mt++)pr[mt]=arguments[mt];var nr=Pt.tokenizer[rt].apply(at,pr);return nr===!1&&(nr=ye.apply(at,pr)),nr}};for(var ue in Pt.tokenizer)Ce(ue);jt.tokenizer=at}(),Pt.walkTokens){var er=Nt.defaults.walkTokens;jt.walkTokens=function(at){Pt.walkTokens(at),er&&er(at)}}Nt.setOptions(jt)},Nt.walkTokens=function(Pt,jt){for(var er=v(Pt),at;!(at=er()).done;){var Ce=at.value;jt(Ce);switch(Ce.type){case"table":{for(var ue=v(Ce.tokens.header),Dt;!(Dt=ue()).done;){var rt=Dt.value;Nt.walkTokens(rt,jt)}for(var ye=v(Ce.tokens.cells),Xt;!(Xt=ye()).done;)for(var pr=Xt.value,mt=v(pr),nr;!(nr=mt()).done;){var yr=nr.value;Nt.walkTokens(yr,jt)}break}case"list":{Nt.walkTokens(Ce.items,jt);break}default:Ce.tokens&&Nt.walkTokens(Ce.tokens,jt)}}},Nt.Parser=Me,Nt.parser=Me.parse,Nt.Renderer=fe,Nt.TextRenderer=Be,Nt.Lexer=Q,Nt.lexer=Q.lex,Nt.Tokenizer=we,Nt.Slugger=Ne,Nt.parse=Nt;var Bt=Nt;return Bt})},"DlR+":function(U,R,i){var y=i("MFOe"),m=y.Global,E=y.trim;U.exports={name:"cookieStorage",read:v,write:d,each:f,remove:l,clearAll:n};var p=m.document;function v(a){if(!a||!t(a))return null;var s="(?:^|.*;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(p.cookie.replace(new RegExp(s),"$1"))}function f(a){for(var s=p.cookie.split(/; ?/g),r=s.length-1;r>=0;r--){if(!E(s[r]))continue;var c=s[r].split("="),e=unescape(c[0]),o=unescape(c[1]);a(o,e)}}function d(a,s){if(!a)return;p.cookie=escape(a)+"="+escape(s)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function l(a){if(!a||!t(a))return;p.cookie=escape(a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function n(){f(function(a,s){l(s)})}function t(a){return new RegExp("(?:^|;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(p.cookie)}},Ducp:function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E=i("+TT/"),p=i("XpcN"),v=m.Group,f=["width","height"],d=["x","y"],l=p.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){l.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new v),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new v),this._showController},resetInner:function(){l.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,a,s,r,c,e,o){var u=this;l.superCall(this,"renderInner",t,a,s,r,c,e,o);var h=this._controllerGroup,g=a.get("pageIconSize",!0);y.isArray(g)||(g=[g,g]),w("pagePrev",0);var A=a.getModel("pageTextStyle");h.add(new m.Text({name:"pageText",style:{textFill:A.getTextColor(),font:A.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),w("pageNext",1);function w(x,C){var T=x+"DataIndex",O=m.createIcon(a.get("pageIcons",!0)[a.getOrient().name][C],{onclick:y.bind(u._pageGo,u,T,a,r)},{x:-g[0]/2,y:-g[1]/2,width:g[0],height:g[1]});O.name=x,h.add(O)}},layoutInner:function(t,a,s,r,c,e){var o=this.getSelectorGroup(),u=t.getOrient().index,h=f[u],g=d[u],A=f[1-u],w=d[1-u];c&&E.box("horizontal",o,t.get("selectorItemGap",!0));var x=t.get("selectorButtonGap",!0),C=o.getBoundingRect(),T=[-C.x,-C.y],O=y.clone(s);c&&(O[h]=s[h]-C[h]-x);var S=this._layoutContentAndController(t,r,O,u,h,A,w);if(c){if(e==="end")T[u]+=S[h]+x;else{var _=C[h]+x;T[u]-=_,S[g]-=_}S[h]+=C[h]+x,T[1-u]+=S[w]+S[A]/2-C[A]/2,S[A]=Math.max(S[A],C[A]),S[w]=Math.min(S[w],C[w]+T[1-u]),o.attr("position",T)}return S},_layoutContentAndController:function(t,a,s,r,c,e,o){var u=this.getContentGroup(),h=this._containerGroup,g=this._controllerGroup;E.box(t.get("orient"),u,t.get("itemGap"),r?s.width:null,r?null:s.height),E.box("horizontal",g,t.get("pageButtonItemGap",!0));var A=u.getBoundingRect(),w=g.getBoundingRect(),x=this._showController=A[c]>s[c],C=[-A.x,-A.y];a||(C[r]=u.position[r]);var T=[0,0],O=[-w.x,-w.y],S=y.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(x){var _=t.get("pageButtonPosition",!0);_==="end"?O[r]+=s[c]-w[c]:T[r]+=w[c]+S}O[1-r]+=A[e]/2-w[e]/2,u.attr("position",C),h.attr("position",T),g.attr("position",O);var L={x:0,y:0};if(L[c]=x?s[c]:A[c],L[e]=Math.max(A[e],w[e]),L[o]=Math.min(0,w[o]+O[1-r]),h.__rectSize=s[c],x){var D={x:0,y:0};D[c]=Math.max(s[c]-w[c]-S,0),D[e]=L[e],h.setClipPath(new m.Rect({shape:D})),h.__rectSize=D[c]}else g.eachChild(function(j){j.attr({invisible:!0,silent:!0})});var F=this._getPageInfo(t);return F.pageIndex!=null&&m.updateProps(u,{position:F.contentPosition},x?t:!1),this._updatePageInfoView(t,F),L},_pageGo:function(t,a,s){var r=this._getPageInfo(a)[t];r!=null&&s.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:a.id})},_updatePageInfoView:function(t,a){var s=this._controllerGroup;y.each(["pagePrev","pageNext"],function(h){var g=a[h+"DataIndex"]!=null,A=s.childOfName(h);A&&(A.setStyle("fill",g?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),A.cursor=g?"pointer":"default")});var r=s.childOfName("pageText"),c=t.get("pageFormatter"),e=a.pageIndex,o=e!=null?e+1:0,u=a.pageCount;r&&c&&r.setStyle("text",y.isString(c)?c.replace("{current}",o).replace("{total}",u):c({current:o,total:u}))},_getPageInfo:function(t){var a=t.get("scrollDataIndex",!0),s=this.getContentGroup(),r=this._containerGroup.__rectSize,c=t.getOrient().index,e=f[c],o=d[c],u=this._findTargetItemIndex(a),h=s.children(),g=h[u],A=h.length,w=A?1:0,x={contentPosition:s.position.slice(),pageCount:w,pageIndex:w-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!g)return x;var C=L(g);x.contentPosition[c]=-C.s;for(var T=u+1,O=C,S=C,_=null;T<=A;++T)_=L(h[T]),(!_&&S.e>O.s+r||_&&!D(_,O.s))&&(S.i>O.i?O=S:O=_,O&&(x.pageNextDataIndex==null&&(x.pageNextDataIndex=O.i),++x.pageCount)),S=_;for(var T=u-1,O=C,S=C,_=null;T>=-1;--T)_=L(h[T]),(!_||!D(S,_.s))&&O.i<S.i&&(S=O,x.pagePrevDataIndex==null&&(x.pagePrevDataIndex=O.i),++x.pageCount,++x.pageIndex),O=_;return x;function L(F){if(F){var j=F.getBoundingRect(),k=j[o]+F.position[c];return{s:k,e:k+j[e],i:F.__legendDataIndex}}}function D(F,j){return F.e>=j&&F.s<=j+r}},_findTargetItemIndex:function(t){if(!this._showController)return 0;var a,s=this.getContentGroup(),r;return s.eachChild(function(c,e){var o=c.__legendDataIndex;r==null&&o!=null&&(r=e),o===t&&(a=e)}),a!=null?a:r}}),n=l;U.exports=n},"E/ki":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},E2g8:function(U,R,i){(function(y,m){/*!
|
|
|
* @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(E,p){U.exports=p()})(this,function(){"use strict";function E(fe){var Be=typeof fe;return fe!==null&&(Be==="object"||Be==="function")}function p(fe){return typeof fe=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(Be){return Object.prototype.toString.call(Be)==="[object Array]"};var f=v,d=0,l=void 0,n=void 0,t=function(Be,Ne){C[d]=Be,C[d+1]=Ne,d+=2,d===2&&(n?n(T):S())};function a(fe){n=fe}function s(fe){t=fe}var r=typeof window!="undefined"?window:void 0,c=r||{},e=c.MutationObserver||c.WebKitMutationObserver,o=typeof self=="undefined"&&typeof y!="undefined"&&{}.toString.call(y)==="[object process]",u=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function h(){return function(){return y.nextTick(T)}}function g(){return typeof l!="undefined"?function(){l(T)}:x()}function A(){var fe=0,Be=new e(T),Ne=document.createTextNode("");return Be.observe(Ne,{characterData:!0}),function(){Ne.data=fe=++fe%2}}function w(){var fe=new MessageChannel;return fe.port1.onmessage=T,function(){return fe.port2.postMessage(0)}}function x(){var fe=setTimeout;return function(){return fe(T,1)}}var C=new Array(1e3);function T(){for(var fe=0;fe<d;fe+=2){var Be=C[fe],Ne=C[fe+1];Be(Ne),C[fe]=void 0,C[fe+1]=void 0}d=0}function O(){try{var fe=Function("return this")().require("vertx");return l=fe.runOnLoop||fe.runOnContext,g()}catch(Be){return x()}}var S=void 0;o?S=h():e?S=A():u?S=w():r===void 0&&!0?S=O():S=x();function _(fe,Be){var Ne=this,de=new this.constructor(F);de[D]===void 0&&Ae(de);var ve=Ne._state;if(ve){var Me=arguments[ve-1];t(function(){return me(ve,de,Me,Ne._result)})}else we(Ne,de,fe,Be);return de}function L(fe){var Be=this;if(fe&&typeof fe=="object"&&fe.constructor===Be)return fe;var Ne=new Be(F);return q(Ne,fe),Ne}var D=Math.random().toString(36).substring(2);function F(){}var j=void 0,k=1,K=2;function Z(){return new TypeError("You cannot resolve a promise with itself")}function B(){return new TypeError("A promises callback cannot return that same promise.")}function V(fe,Be,Ne,de){try{fe.call(Be,Ne,de)}catch(ve){return ve}}function z(fe,Be,Ne){t(function(de){var ve=!1,Me=V(Ne,Be,function(qe){if(ve)return;ve=!0,Be!==qe?q(de,qe):re(de,qe)},function(qe){if(ve)return;ve=!0,ne(de,qe)},"Settle: "+(de._label||" unknown promise"));!ve&&Me&&(ve=!0,ne(de,Me))},fe)}function X(fe,Be){Be._state===k?re(fe,Be._result):Be._state===K?ne(fe,Be._result):we(Be,void 0,function(Ne){return q(fe,Ne)},function(Ne){return ne(fe,Ne)})}function W(fe,Be,Ne){Be.constructor===fe.constructor&&Ne===_&&Be.constructor.resolve===L?X(fe,Be):Ne===void 0?re(fe,Be):p(Ne)?z(fe,Be,Ne):re(fe,Be)}function q(fe,Be){if(fe===Be)ne(fe,Z());else if(E(Be)){var Ne=void 0;try{Ne=Be.then}catch(de){ne(fe,de);return}W(fe,Be,Ne)}else re(fe,Be)}function Y(fe){fe._onerror&&fe._onerror(fe._result),ie(fe)}function re(fe,Be){if(fe._state!==j)return;fe._result=Be,fe._state=k,fe._subscribers.length!==0&&t(ie,fe)}function ne(fe,Be){if(fe._state!==j)return;fe._state=K,fe._result=Be,t(Y,fe)}function we(fe,Be,Ne,de){var ve=fe._subscribers,Me=ve.length;fe._onerror=null,ve[Me]=Be,ve[Me+k]=Ne,ve[Me+K]=de,Me===0&&fe._state&&t(ie,fe)}function ie(fe){var Be=fe._subscribers,Ne=fe._state;if(Be.length===0)return;for(var de=void 0,ve=void 0,Me=fe._result,qe=0;qe<Be.length;qe+=3)de=Be[qe],ve=Be[qe+Ne],de?me(Ne,de,ve,Me):ve(Me);fe._subscribers.length=0}function me(fe,Be,Ne,de){var ve=p(Ne),Me=void 0,qe=void 0,gt=!0;if(ve){try{Me=Ne(de)}catch(ht){gt=!1,qe=ht}if(Be===Me){ne(Be,B());return}}else Me=de;Be._state!==j||(ve&>?q(Be,Me):gt===!1?ne(Be,qe):fe===k?re(Be,Me):fe===K&&ne(Be,Me))}function _e(fe,Be){try{Be(function(de){q(fe,de)},function(de){ne(fe,de)})}catch(Ne){ne(fe,Ne)}}var Te=0;function We(){return Te++}function Ae(fe){fe[D]=Te++,fe._state=void 0,fe._result=void 0,fe._subscribers=[]}function je(){return new Error("Array Methods must be provided an Array")}var ee=function(){function fe(Be,Ne){this._instanceConstructor=Be,this.promise=new Be(F),this.promise[D]||Ae(this.promise),f(Ne)?(this.length=Ne.length,this._remaining=Ne.length,this._result=new Array(this.length),this.length===0?re(this.promise,this._result):(this.length=this.length||0,this._enumerate(Ne),this._remaining===0&&re(this.promise,this._result))):ne(this.promise,je())}return fe.prototype._enumerate=function(Ne){for(var de=0;this._state===j&&de<Ne.length;de++)this._eachEntry(Ne[de],de)},fe.prototype._eachEntry=function(Ne,de){var ve=this._instanceConstructor,Me=ve.resolve;if(Me===L){var qe=void 0,gt=void 0,ht=!1;try{qe=Ne.then}catch(It){ht=!0,gt=It}if(qe===_&&Ne._state!==j)this._settledAt(Ne._state,de,Ne._result);else if(typeof qe!="function")this._remaining--,this._result[de]=Ne;else if(ve===te){var Pe=new ve(F);ht?ne(Pe,gt):W(Pe,Ne,qe),this._willSettleAt(Pe,de)}else this._willSettleAt(new ve(function(It){return It(Ne)}),de)}else this._willSettleAt(Me(Ne),de)},fe.prototype._settledAt=function(Ne,de,ve){var Me=this.promise;Me._state===j&&(this._remaining--,Ne===K?ne(Me,ve):this._result[de]=ve),this._remaining===0&&re(Me,this._result)},fe.prototype._willSettleAt=function(Ne,de){var ve=this;we(Ne,void 0,function(Me){return ve._settledAt(k,de,Me)},function(Me){return ve._settledAt(K,de,Me)})},fe}();function he(fe){return new ee(this,fe).promise}function Ze(fe){var Be=this;return f(fe)?new Be(function(Ne,de){for(var ve=fe.length,Me=0;Me<ve;Me++)Be.resolve(fe[Me]).then(Ne,de)}):new Be(function(Ne,de){return de(new TypeError("You must pass an array to race."))})}function oe(fe){var Be=this,Ne=new Be(F);return ne(Ne,fe),Ne}function Q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function G(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var te=function(){function fe(Be){this[D]=We(),this._result=this._state=void 0,this._subscribers=[],F!==Be&&(typeof Be!="function"&&Q(),this instanceof fe?_e(this,Be):G())}return fe.prototype.catch=function(Ne){return this.then(null,Ne)},fe.prototype.finally=function(Ne){var de=this,ve=de.constructor;return p(Ne)?de.then(function(Me){return ve.resolve(Ne()).then(function(){return Me})},function(Me){return ve.resolve(Ne()).then(function(){throw Me})}):de.then(Ne,Ne)},fe}();te.prototype.then=_,te.all=he,te.race=Ze,te.resolve=L,te.reject=oe,te._setScheduler=a,te._setAsap=s,te._asap=t;function xe(){var fe=void 0;if(typeof m!="undefined")fe=m;else if(typeof self!="undefined")fe=self;else try{fe=Function("return this")()}catch(de){throw new Error("polyfill failed because global object is unavailable in this environment")}var Be=fe.Promise;if(Be){var Ne=null;try{Ne=Object.prototype.toString.call(Be.resolve())}catch(de){}if(Ne==="[object Promise]"&&!Be.cast)return}fe.Promise=te}return te.polyfill=xe,te.Promise=te,te})}).call(this,i("Q2Ig"),i("yLpj"))},E9nw:function(U,R){U.exports=function(){var i=document.getSelection();if(!i.rangeCount)return function(){};for(var y=document.activeElement,m=[],E=0;E<i.rangeCount;E++)m.push(i.getRangeAt(E));switch(y.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":y.blur();break;default:y=null;break}return i.removeAllRanges(),function(){i.type==="Caret"&&i.removeAllRanges(),i.rangeCount||m.forEach(function(p){i.addRange(p)}),y&&y.focus()}}},ELLl:function(U,R,i){(function(y){y(i("VrN/"))})(function(y){var m={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},E=y.Pos;y.defineOption("autoCloseBrackets",!1,function(e,o,u){u&&u!=y.Init&&(e.removeKeyMap(v),e.state.closeBrackets=null),o&&(f(p(o,"pairs")),e.state.closeBrackets=o,e.addKeyMap(v))});function p(e,o){return o=="pairs"&&typeof e=="string"?e:typeof e=="object"&&e[o]!=null?e[o]:m[o]}var v={Backspace:n,Enter:t};function f(e){for(var o=0;o<e.length;o++){var u=e.charAt(o),h="'"+u+"'";v[h]||(v[h]=d(u))}}f(m.pairs+"`");function d(e){return function(o){return s(o,e)}}function l(e){var o=e.state.closeBrackets;if(!o||o.override)return o;var u=e.getModeAt(e.getCursor());return u.closeBrackets||o}function n(e){var o=l(e);if(!o||e.getOption("disableInput"))return y.Pass;for(var u=p(o,"pairs"),h=e.listSelections(),g=0;g<h.length;g++){if(!h[g].empty())return y.Pass;var A=r(e,h[g].head);if(!A||u.indexOf(A)%2!=0)return y.Pass}for(var g=h.length-1;g>=0;g--){var w=h[g].head;e.replaceRange("",E(w.line,w.ch-1),E(w.line,w.ch+1),"+delete")}}function t(e){var o=l(e),u=o&&p(o,"explode");if(!u||e.getOption("disableInput"))return y.Pass;for(var h=e.listSelections(),g=0;g<h.length;g++){if(!h[g].empty())return y.Pass;var A=r(e,h[g].head);if(!A||u.indexOf(A)%2!=0)return y.Pass}e.operation(function(){var w=e.lineSeparator()||`
|
|
|
`;e.replaceSelection(w+w,null),e.execCommand("goCharLeft"),h=e.listSelections();for(var x=0;x<h.length;x++){var C=h[x].head.line;e.indentLine(C,null,!0),e.indentLine(C+1,null,!0)}})}function a(e){var o=y.cmpPos(e.anchor,e.head)>0;return{anchor:new E(e.anchor.line,e.anchor.ch+(o?-1:1)),head:new E(e.head.line,e.head.ch+(o?1:-1))}}function s(e,o){var u=l(e);if(!u||e.getOption("disableInput"))return y.Pass;var h=p(u,"pairs"),g=h.indexOf(o);if(g==-1)return y.Pass;for(var A=p(u,"closeBefore"),w=p(u,"triples"),x=h.charAt(g+1)==o,C=e.listSelections(),T=g%2==0,O,S=0;S<C.length;S++){var _=C[S],L=_.head,D,F=e.getRange(L,E(L.line,L.ch+1));if(T&&!_.empty())D="surround";else if((x||!T)&&F==o)x&&c(e,L)?D="both":w.indexOf(o)>=0&&e.getRange(L,E(L.line,L.ch+3))==o+o+o?D="skipThree":D="skip";else if(x&&L.ch>1&&w.indexOf(o)>=0&&e.getRange(E(L.line,L.ch-2),L)==o+o){if(L.ch>2&&/\bstring/.test(e.getTokenTypeAt(E(L.line,L.ch-2))))return y.Pass;D="addFour"}else if(x){var j=L.ch==0?" ":e.getRange(E(L.line,L.ch-1),L);if(!y.isWordChar(F)&&j!=o&&!y.isWordChar(j))D="both";else return y.Pass}else if(T&&(F.length===0||/\s/.test(F)||A.indexOf(F)>-1))D="both";else return y.Pass;if(!O)O=D;else if(O!=D)return y.Pass}var k=g%2?h.charAt(g-1):o,K=g%2?o:h.charAt(g+1);e.operation(function(){if(O=="skip")e.execCommand("goCharRight");else if(O=="skipThree")for(var Z=0;Z<3;Z++)e.execCommand("goCharRight");else if(O=="surround"){for(var B=e.getSelections(),Z=0;Z<B.length;Z++)B[Z]=k+B[Z]+K;e.replaceSelections(B,"around"),B=e.listSelections().slice();for(var Z=0;Z<B.length;Z++)B[Z]=a(B[Z]);e.setSelections(B)}else O=="both"?(e.replaceSelection(k+K,null),e.triggerElectric(k+K),e.execCommand("goCharLeft")):O=="addFour"&&(e.replaceSelection(k+k+k+k,"before"),e.execCommand("goCharRight"))})}function r(e,o){var u=e.getRange(E(o.line,o.ch-1),E(o.line,o.ch+1));return u.length==2?u:null}function c(e,o){var u=e.getTokenAt(E(o.line,o.ch+1));return/\bstring/.test(u.type)&&u.start==o.ch&&(o.ch==0||!/\bstring/.test(e.getTokenTypeAt(o)))}})},EMyp:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("mFDi"),p=i("K4ya"),v=i("qJCg"),f=i("iLNv"),d=i("vZ6x"),l=["inBrush","outOfBrush"],n="__ecBrushSelect",t="__ecInBrushSelectEvent",a=y.PRIORITY.VISUAL.BRUSH;y.registerLayout(a,function(w,x,C){w.eachComponent({mainType:"brush"},function(T){C&&C.type==="takeGlobalCursor"&&T.setBrushOption(C.key==="brush"?C.brushOption:{brushType:!1})}),s(w)});function s(w){w.eachComponent({mainType:"brush"},function(x){var C=x.brushTargetManager=new d(x.option,w);C.setInputRanges(x.areas,w)})}y.registerVisual(a,function(w,x,C){var T=[],O,S;w.eachComponent({mainType:"brush"},function(_,L){var D={brushId:_.id,brushIndex:L,brushName:_.name,areas:m.clone(_.areas),selected:[]};T.push(D);var F=_.option,j=F.brushLink,k=[],K=[],Z=[],B=0;L||(O=F.throttleType,S=F.throttleDelay);var V=m.map(_.areas,function(re){return h(m.defaults({boundingRect:g[re.brushType](re)},re))}),z=p.createVisualMappings(_.option,l,function(re){re.mappingMethod="fixed"});m.isArray(j)&&m.each(j,function(re){k[re]=1});function X(re){return j==="all"||k[re]}function W(re){return!!re.length}w.eachSeries(function(re,ne){var we=Z[ne]=[];re.subType==="parallel"?q(re,ne,we):Y(re,ne,we)});function q(re,ne){var we=re.coordinateSystem;B|=we.hasAxisBrushed(),X(ne)&&we.eachActiveState(re.getData(),function(ie,me){ie==="active"&&(K[me]=1)})}function Y(re,ne,we){var ie=o(re);if(!ie||u(_,ne))return;if(m.each(V,function(_e){ie[_e.brushType]&&_.brushTargetManager.controlSeries(_e,re,w)&&we.push(_e),B|=W(we)}),X(ne)&&W(we)){var me=re.getData();me.each(function(_e){e(ie,we,me,_e)&&(K[_e]=1)})}}w.eachSeries(function(re,ne){var we={seriesId:re.id,seriesIndex:ne,seriesName:re.name,dataIndex:[]};D.selected.push(we);var ie=o(re),me=Z[ne],_e=re.getData(),Te=X(ne)?function(We){return K[We]?(we.dataIndex.push(_e.getRawIndex(We)),"inBrush"):"outOfBrush"}:function(We){return e(ie,me,_e,We)?(we.dataIndex.push(_e.getRawIndex(We)),"inBrush"):"outOfBrush"};(X(ne)?B:W(me))&&p.applyVisual(l,z,_e,Te)})}),r(x,O,S,T,C)});function r(w,x,C,T,O){if(!O)return;var S=w.getZr();if(S[t])return;S[n]||(S[n]=c);var _=f.createOrUpdate(S,n,C,x);_(w,T)}function c(w,x){if(!w.isDisposed()){var C=w.getZr();C[t]=!0,w.dispatchAction({type:"brushSelect",batch:x}),C[t]=!1}}function e(w,x,C,T){for(var O=0,S=x.length;O<S;O++){var _=x[O];if(w[_.brushType](T,C,_.selectors,_))return!0}}function o(w){var x=w.brushSelector;if(m.isString(x)){var C=[];return m.each(v,function(O,S){C[S]=function(_,L,D,F){var j=L.getItemLayout(_);return O[x](j,D,F)}}),C}else if(m.isFunction(x)){var T={};return m.each(v,function(O,S){T[S]=x}),T}return x}function u(w,x){var C=w.option.seriesIndex;return C!=null&&C!=="all"&&(m.isArray(C)?m.indexOf(C,x)<0:x!==C)}function h(w){var x=w.selectors={};return m.each(v[w.brushType],function(C,T){x[T]=function(O){return C(O,x,w)}}),w}var g={lineX:m.noop,lineY:m.noop,rect:function(w){return A(w.range)},polygon:function(w){for(var x,C=w.range,T=0,O=C.length;T<O;T++){x=x||[[Infinity,-Infinity],[Infinity,-Infinity]];var S=C[T];S[0]<x[0][0]&&(x[0][0]=S[0]),S[0]>x[0][1]&&(x[0][1]=S[0]),S[1]<x[1][0]&&(x[1][0]=S[1]),S[1]>x[1][1]&&(x[1][1]=S[1])}return x&&A(x)}};function A(w){return new E(w[0][0],w[1][0],w[0][1]-w[0][0],w[1][1]-w[1][0])}R.layoutCovers=s},ERHi:function(U,R,i){var y=i("ProS");i("Z6js"),i("R4Th");var m=i("f5Yq"),E=i("h8O9");y.registerVisual(m("effectScatter","circle")),y.registerLayout(E("effectScatter"))},EXcs:function(U,R,i){"use strict";var y=function(){return{height:0,opacity:0}},m=function(d){return{height:d.scrollHeight,opacity:1}},E=function(d){return{height:d.offsetHeight}},p=function(d,l){return l.propertyName==="height"},v={motionName:"ant-motion-collapse",onAppearStart:y,onEnterStart:y,onAppearActive:m,onEnterActive:m,onLeaveStart:E,onLeaveActive:y,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500};R.a=v},Em2t:function(U,R,i){var y=i("bahg"),m=i("quyA"),E=i("0JQy");function p(v){return m(v)?E(v):y(v)}U.exports=p},Ez2D:function(U,R,i){var y=i("bYtY"),m=i("4NO4");function E(p,v){var f=[],d=p.seriesIndex,l;if(d==null||!(l=v.getSeriesByIndex(d)))return{point:[]};var n=l.getData(),t=m.queryDataIndex(n,p);if(t==null||t<0||y.isArray(t))return{point:[]};var a=n.getItemGraphicEl(t),s=l.coordinateSystem;if(l.getTooltipPosition)f=l.getTooltipPosition(t)||[];else if(s&&s.dataToPoint)f=s.dataToPoint(n.getValues(y.map(s.dimensions,function(c){return n.mapDimension(c)}),t,!0))||[];else if(a){var r=a.getBoundingRect().clone();r.applyTransform(a.transform),f=[r.x+r.width/2,r.y+r.height/2]}return{point:f,el:a}}U.exports=E},F0hE:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("ca2m"),p=i("Qxkt"),v=i("ICMv"),f=E.valueAxis;function d(t,a){return m.defaults({show:a},t)}var l=y.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),a=this.get("splitNumber"),s=this.get("scale"),r=this.get("axisLine"),c=this.get("axisTick"),e=this.get("axisType"),o=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),g=this.get("name.formatter"),A=this.get("nameGap"),w=this.get("triggerEvent"),x=m.map(this.get("indicator")||[],function(C){C.max!=null&&C.max>0&&!C.min?C.min=0:C.min!=null&&C.min<0&&!C.max&&(C.max=0);var T=u;if(C.color!=null&&(T=m.defaults({color:C.color},u)),C=m.merge(m.clone(C),{boundaryGap:t,splitNumber:a,scale:s,axisLine:r,axisTick:c,axisType:e,axisLabel:o,name:C.text,nameLocation:"end",nameGap:A,nameTextStyle:T,triggerEvent:w},!1),h||(C.name=""),typeof g=="string"){var O=C.name;C.name=g.replace("{value}",O!=null?O:"")}else typeof g=="function"&&(C.name=g(C.name,C));var S=m.extend(new p(C,null,this.ecModel),v);return S.mainType="radar",S.componentIndex=this.componentIndex,S},this);this.getIndicatorModels=function(){return x}},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:m.merge({lineStyle:{color:"#bbb"}},f.axisLine),axisLabel:d(f.axisLabel,!1),axisTick:d(f.axisTick,!1),axisType:"interval",splitLine:d(f.splitLine,!0),splitArea:d(f.splitArea,!0),indicator:[]}}),n=l;U.exports=n},F5Ls:function(U,R){var i={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function y(m,E){if(m==="china"){var p=i[E.name];if(p){var v=E.center;v[0]+=p[0]/10.5,v[1]+=-p[1]/(10.5/.75)}}}U.exports=y},F7hV:function(U,R,i){var y=i("MBQ8"),m=y.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var E=this.get("progressiveThreshold"),p=this.get("largeThreshold");return p>E&&(E=p),E},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}}});U.exports=m},F9bG:function(U,R,i){var y=i("bYtY"),m=i("ItGF"),E=i("4NO4"),p=E.makeInner,v=p(),f=y.each;function d(c,e,o){if(m.node)return;var u=e.getZr();v(u).records||(v(u).records={}),l(u,e);var h=v(u).records[c]||(v(u).records[c]={});h.handler=o}function l(c,e){if(v(c).initialized)return;v(c).initialized=!0,o("click",y.curry(a,"click")),o("mousemove",y.curry(a,"mousemove")),o("globalout",t);function o(u,h){c.on(u,function(g){var A=s(e);f(v(c).records,function(w){w&&h(w,g,A.dispatchAction)}),n(A.pendings,e)})}}function n(c,e){var o=c.showTip.length,u=c.hideTip.length,h;o?h=c.showTip[o-1]:u&&(h=c.hideTip[u-1]),h&&(h.dispatchAction=null,e.dispatchAction(h))}function t(c,e,o){c.handler("leave",null,o)}function a(c,e,o,u){e.handler(c,o,u)}function s(c){var e={showTip:[],hideTip:[]},o=function(u){var h=e[u.type];h?h.push(u):(u.dispatchAction=o,c.dispatchAction(u))};return{dispatchAction:o,pendings:e}}function r(c,e){if(m.node)return;var o=e.getZr(),u=(v(o).records||{})[c];u&&(v(o).records[c]=null)}R.register=d,R.unregister=r},FBjb:function(U,R,i){var y=i("bYtY"),m=i("oVpE"),E=m.createSymbol,p=i("IwbS"),v=i("OELB"),f=v.parsePercent,d=i("x3X8"),l=d.getDefaultLabel;function n(A,w,x){p.Group.call(this),this.updateData(A,w,x)}var t=n.prototype,a=n.getSymbolSize=function(A,w){var x=A.getItemVisual(w,"symbolSize");return x instanceof Array?x.slice():[+x,+x]};function s(A){return[A[0]/2,A[1]/2]}function r(A,w){this.parent.drift(A,w)}t._createSymbol=function(A,w,x,C,T){this.removeAll();var O=w.getItemVisual(x,"color"),S=E(A,-1,-1,2,2,O,T);S.attr({z2:100,culling:!0,scale:s(C)}),S.drift=r,this._symbolType=A,this.add(S)},t.stopSymbolAnimation=function(A){this.childAt(0).stopAnimation(A)},t.getSymbolPath=function(){return this.childAt(0)},t.getScale=function(){return this.childAt(0).scale},t.highlight=function(){this.childAt(0).trigger("emphasis")},t.downplay=function(){this.childAt(0).trigger("normal")},t.setZ=function(A,w){var x=this.childAt(0);x.zlevel=A,x.z=w},t.setDraggable=function(A){var w=this.childAt(0);w.draggable=A,w.cursor=A?"move":w.cursor},t.updateData=function(A,w,x){this.silent=!1;var C=A.getItemVisual(w,"symbol")||"circle",T=A.hostModel,O=a(A,w),S=C!==this._symbolType;if(S){var _=A.getItemVisual(w,"symbolKeepAspect");this._createSymbol(C,A,w,O,_)}else{var L=this.childAt(0);L.silent=!1,p.updateProps(L,{scale:s(O)},T,w)}if(this._updateCommon(A,w,O,x),S){var L=this.childAt(0),D=x&&x.fadeIn,F={scale:L.scale.slice()};D&&(F.style={opacity:L.style.opacity}),L.scale=[0,0],D&&(L.style.opacity=0),p.initProps(L,F,T,w)}this._seriesModel=T};var c=["itemStyle"],e=["emphasis","itemStyle"],o=["label"],u=["emphasis","label"];t._updateCommon=function(A,w,x,C){var T=this.childAt(0),O=A.hostModel,S=A.getItemVisual(w,"color");T.type!=="image"?T.useStyle({strokeNoScale:!0}):T.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var _=C&&C.itemStyle,L=C&&C.hoverItemStyle,D=C&&C.symbolOffset,F=C&&C.labelModel,j=C&&C.hoverLabelModel,k=C&&C.hoverAnimation,K=C&&C.cursorStyle;if(!C||A.hasItemOption){var Z=C&&C.itemModel?C.itemModel:A.getItemModel(w);_=Z.getModel(c).getItemStyle(["color"]),L=Z.getModel(e).getItemStyle(),D=Z.getShallow("symbolOffset"),F=Z.getModel(o),j=Z.getModel(u),k=Z.getShallow("hoverAnimation"),K=Z.getShallow("cursor")}else L=y.extend({},L);var B=T.style,V=A.getItemVisual(w,"symbolRotate");T.attr("rotation",(V||0)*Math.PI/180||0),D&&T.attr("position",[f(D[0],x[0]),f(D[1],x[1])]),K&&T.attr("cursor",K),T.setColor(S,C&&C.symbolInnerColor),T.setStyle(_);var z=A.getItemVisual(w,"opacity");z!=null&&(B.opacity=z);var X=A.getItemVisual(w,"liftZ"),W=T.__z2Origin;X!=null?W==null&&(T.__z2Origin=T.z2,T.z2+=X):W!=null&&(T.z2=W,T.__z2Origin=null);var q=C&&C.useNameLabel;p.setLabelStyle(B,L,F,j,{labelFetcher:O,labelDataIndex:w,defaultText:Y,isRectText:!0,autoColor:S});function Y(re,ne){return q?A.getName(re):l(A,re)}T.__symbolOriginalScale=s(x),T.hoverStyle=L,T.highDownOnUpdate=k&&O.isAnimationEnabled()?h:null,p.setHoverStyle(T)};function h(A,w){if(this.incremental||this.useHoverLayer)return;if(w==="emphasis"){var x=this.__symbolOriginalScale,C=x[1]/x[0],T={scale:[Math.max(x[0]*1.1,x[0]+3),Math.max(x[1]*1.1,x[1]+3*C)]};this.animateTo(T,400,"elasticOut")}else w==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}t.fadeOut=function(A,w){var x=this.childAt(0);this.silent=x.silent=!0,!(w&&w.keepLabel)&&(x.style.text=null),p.updateProps(x,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,A)},y.inherits(n,p.Group);var g=n;U.exports=g},FGaS:function(U,R,i){var y=i("ProS"),m=i("IwbS"),E=i("bYtY"),p=i("oVpE");function v(d){return E.isArray(d)||(d=[+d,+d]),d}var f=y.extendChartView({type:"radar",render:function(d,l,n){var t=d.coordinateSystem,a=this.group,s=d.getData(),r=this._data;function c(u,h){var g=u.getItemVisual(h,"symbol")||"circle",A=u.getItemVisual(h,"color");if(g==="none")return;var w=v(u.getItemVisual(h,"symbolSize")),x=p.createSymbol(g,-1,-1,2,2,A);return x.attr({style:{strokeNoScale:!0},z2:100,scale:[w[0]/2,w[1]/2]}),x}function e(u,h,g,A,w,x){g.removeAll();for(var C=0;C<h.length-1;C++){var T=c(A,w);T&&(T.__dimIdx=C,u[C]?(T.attr("position",u[C]),m[x?"initProps":"updateProps"](T,{position:h[C]},d,w)):T.attr("position",h[C]),g.add(T))}}function o(u){return E.map(u,function(h){return[t.cx,t.cy]})}s.diff(r).add(function(u){var h=s.getItemLayout(u);if(!h)return;var g=new m.Polygon,A=new m.Polyline,w={shape:{points:h}};g.shape.points=o(h),A.shape.points=o(h),m.initProps(g,w,d,u),m.initProps(A,w,d,u);var x=new m.Group,C=new m.Group;x.add(A),x.add(g),x.add(C),e(A.shape.points,h,C,s,u,!0),s.setItemGraphicEl(u,x)}).update(function(u,h){var g=r.getItemGraphicEl(h),A=g.childAt(0),w=g.childAt(1),x=g.childAt(2),C={shape:{points:s.getItemLayout(u)}};if(!C.shape.points)return;e(A.shape.points,C.shape.points,x,s,u,!1),m.updateProps(A,C,d),m.updateProps(w,C,d),s.setItemGraphicEl(u,g)}).remove(function(u){a.remove(r.getItemGraphicEl(u))}).execute(),s.eachItemGraphicEl(function(u,h){var g=s.getItemModel(h),A=u.childAt(0),w=u.childAt(1),x=u.childAt(2),C=s.getItemVisual(h,"color");a.add(u),A.useStyle(E.defaults(g.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:C})),A.hoverStyle=g.getModel("emphasis.lineStyle").getLineStyle();var T=g.getModel("areaStyle"),O=g.getModel("emphasis.areaStyle"),S=T.isEmpty()&&T.parentModel.isEmpty(),_=O.isEmpty()&&O.parentModel.isEmpty();_=_&&S,w.ignore=S,w.useStyle(E.defaults(T.getAreaStyle(),{fill:C,opacity:.7})),w.hoverStyle=O.getAreaStyle();var L=g.getModel("itemStyle").getItemStyle(["color"]),D=g.getModel("emphasis.itemStyle").getItemStyle(),F=g.getModel("label"),j=g.getModel("emphasis.label");x.eachChild(function(k){k.setStyle(L),k.hoverStyle=E.clone(D);var K=s.get(s.dimensions[k.__dimIdx],h);(K==null||isNaN(K))&&(K=""),m.setLabelStyle(k.style,k.hoverStyle,F,j,{labelFetcher:s.hostModel,labelDataIndex:h,labelDimIndex:k.__dimIdx,defaultText:K,autoColor:C,isRectText:!0})}),u.highDownOnUpdate=function(k,K){w.attr("ignore",K==="emphasis"?_:S)},m.setHoverStyle(u)}),this._data=s},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});U.exports=f},FH2Y:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("ZMnZ"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},FNN5:function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E=i("+rIm"),p=i("Znkb"),v=["axisLine","axisTickLabel","axisName"],f=["splitLine","splitArea","minorSplitLine"],d=p.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(n,t){if(this.group.removeAll(),!n.get("show"))return;var a=n.axis,s=a.polar,r=s.getAngleAxis(),c=a.getTicksCoords(),e=a.getMinorTicksCoords(),o=r.getExtent()[0],u=a.getExtent(),h=l(s,n,o),g=new E(n,h);y.each(v,g.add,g),this.group.add(g.getGroup()),y.each(f,function(A){n.get(A+".show")&&!a.scale.isBlank()&&this["_"+A](n,s,o,u,c,e)},this)},_splitLine:function(n,t,a,s,r){var c=n.getModel("splitLine"),e=c.getModel("lineStyle"),o=e.get("color"),u=0;o=o instanceof Array?o:[o];for(var h=[],g=0;g<r.length;g++){var A=u++%o.length;h[A]=h[A]||[],h[A].push(new m.Circle({shape:{cx:t.cx,cy:t.cy,r:r[g].coord}}))}for(var g=0;g<h.length;g++)this.group.add(m.mergePath(h[g],{style:y.defaults({stroke:o[g%o.length],fill:null},e.getLineStyle()),silent:!0}))},_minorSplitLine:function(n,t,a,s,r,c){if(!c.length)return;for(var e=n.getModel("minorSplitLine"),o=e.getModel("lineStyle"),u=[],h=0;h<c.length;h++)for(var g=0;g<c[h].length;g++)u.push(new m.Circle({shape:{cx:t.cx,cy:t.cy,r:c[h][g].coord}}));this.group.add(m.mergePath(u,{style:y.defaults({fill:null},o.getLineStyle()),silent:!0}))},_splitArea:function(n,t,a,s,r){if(!r.length)return;var c=n.getModel("splitArea"),e=c.getModel("areaStyle"),o=e.get("color"),u=0;o=o instanceof Array?o:[o];for(var h=[],g=r[0].coord,A=1;A<r.length;A++){var w=u++%o.length;h[w]=h[w]||[],h[w].push(new m.Sector({shape:{cx:t.cx,cy:t.cy,r0:g,r:r[A].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),g=r[A].coord}for(var A=0;A<h.length;A++)this.group.add(m.mergePath(h[A],{style:y.defaults({fill:o[A%o.length]},e.getAreaStyle()),silent:!0}))}});function l(n,t,a){return{position:[n.cx,n.cy],rotation:a/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}U.exports=d},FUi9:function(U,R,i){var y=i("bYtY"),m=i("MwEJ"),E=i("aX7z"),p=i("ICMv"),v=i("Qxkt"),f=i("+TT/"),d=f.getLayoutRect;R.getLayoutRect=f.getLayoutRect;var l=i("7hqr"),n=l.enableDataStack,t=l.isDimensionStacked,a=l.getStackedDimension,s=i("hi0g");R.completeDimensions=s;var r=i("sdST");R.createDimensions=r;var c=i("oVpE");R.createSymbol=c.createSymbol;function e(g){return m(g.getSource(),g)}var o={isDimensionStacked:t,enableDataStack:n,getStackedDimension:a};function u(g,A){var w=A;v.isInstance(A)||(w=new v(A),y.mixin(w,p));var x=E.createScaleByModel(w);return x.setExtent(g[0],g[1]),E.niceScaleExtent(x,w),x}function h(g){y.mixin(g,p)}R.createList=e,R.dataStack=o,R.createScale=u,R.mixinAxisModelCommonMethods=h},"Fa/5":function(U,R,i){var y=i("ProS");i("y2l5"),i("q/+u");var m=i("f5Yq"),E=i("h8O9");i("Ae16"),y.registerVisual(m("scatter","circle")),y.registerLayout(E("scatter"))},FhB9:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},"Fm1+":function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("a7Wl")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CaretUpOutlined";var l=p.forwardRef(d);R.default=l},Fofx:function(U,R){var i=typeof Float32Array=="undefined"?Array:Float32Array;function y(){var t=new i(6);return m(t),t}function m(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function E(t,a){return t[0]=a[0],t[1]=a[1],t[2]=a[2],t[3]=a[3],t[4]=a[4],t[5]=a[5],t}function p(t,a,s){var r=a[0]*s[0]+a[2]*s[1],c=a[1]*s[0]+a[3]*s[1],e=a[0]*s[2]+a[2]*s[3],o=a[1]*s[2]+a[3]*s[3],u=a[0]*s[4]+a[2]*s[5]+a[4],h=a[1]*s[4]+a[3]*s[5]+a[5];return t[0]=r,t[1]=c,t[2]=e,t[3]=o,t[4]=u,t[5]=h,t}function v(t,a,s){return t[0]=a[0],t[1]=a[1],t[2]=a[2],t[3]=a[3],t[4]=a[4]+s[0],t[5]=a[5]+s[1],t}function f(t,a,s){var r=a[0],c=a[2],e=a[4],o=a[1],u=a[3],h=a[5],g=Math.sin(s),A=Math.cos(s);return t[0]=r*A+o*g,t[1]=-r*g+o*A,t[2]=c*A+u*g,t[3]=-c*g+A*u,t[4]=A*e+g*h,t[5]=A*h-g*e,t}function d(t,a,s){var r=s[0],c=s[1];return t[0]=a[0]*r,t[1]=a[1]*c,t[2]=a[2]*r,t[3]=a[3]*c,t[4]=a[4]*r,t[5]=a[5]*c,t}function l(t,a){var s=a[0],r=a[2],c=a[4],e=a[1],o=a[3],u=a[5],h=s*o-e*r;return h?(h=1/h,t[0]=o*h,t[1]=-e*h,t[2]=-r*h,t[3]=s*h,t[4]=(r*u-o*c)*h,t[5]=(e*c-s*u)*h,t):null}function n(t){var a=y();return E(a,t),a}R.create=y,R.identity=m,R.copy=E,R.mul=p,R.translate=v,R.rotate=f,R.scale=d,R.invert=l,R.clone=n},Fv0C:function(U,R,i){"use strict";function y(c){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(o){return typeof o}:y=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},y(c)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=n(i("Lo0S")),E=i("vewr"),p=n(i("8CQX")),v=d(i("mHUz")),f=n(i("GdRQ"));function d(c){return c&&c.__esModule?c:{default:c}}function l(){if(typeof WeakMap!="function")return null;var c=new WeakMap;return l=function(){return c},c}function n(c){if(c&&c.__esModule)return c;if(c===null||y(c)!=="object"&&typeof c!="function")return{default:c};var e=l();if(e&&e.has(c))return e.get(c);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in c)if(Object.prototype.hasOwnProperty.call(c,h)){var g=u?Object.getOwnPropertyDescriptor(c,h):null;g&&(g.get||g.set)?Object.defineProperty(o,h,g):o[h]=c[h]}return o.default=c,e&&e.set(c,o),o}function t(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function a(c,e){for(var o=0;o<e.length;o++){var u=e[o];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(c,u.key,u)}}function s(c,e,o){return e&&a(c.prototype,e),o&&a(c,o),c}var r=function(){function c(e){t(this,c),this._target=e||null,this._keyDownList={},this._pendingKey=null,this._altGrArmed=!1,this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this),checkalt:this._checkAlt.bind(this)},this.onkeyevent=function(){}}return s(c,[{key:"_sendKeyEvent",value:function(o,u,h){if(h)this._keyDownList[u]=o;else{if(!(u in this._keyDownList))return;delete this._keyDownList[u]}m.Debug("onkeyevent "+(h?"down":"up")+", keysym: "+o,", code: "+u),this.onkeyevent(o,u,h)}},{key:"_getKeyCode",value:function(o){var u=p.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),g=String.fromCharCode(h).toUpperCase();return"Platform"+g.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(o){var u=this._getKeyCode(o),h=p.getKeysym(o);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),u==="AltRight"&&o.timeStamp-this._altGrCtrlTime<50?h=v.default.XK_ISO_Level3_Shift:this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),u==="Unidentified"){h&&(this._sendKeyEvent(h,u,!0),this._sendKeyEvent(h,u,!1)),(0,E.stopEvent)(o);return}if(f.isMac()||f.isIOS())switch(h){case v.default.XK_Super_L:h=v.default.XK_Alt_L;break;case v.default.XK_Super_R:h=v.default.XK_Super_L;break;case v.default.XK_Alt_L:h=v.default.XK_Mode_switch;break;case v.default.XK_Alt_R:h=v.default.XK_ISO_Level3_Shift;break}if(u in this._keyDownList&&(h=this._keyDownList[u]),(f.isMac()||f.isIOS())&&u==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1),(0,E.stopEvent)(o);return}if(!h&&(!o.key||f.isIE()||f.isEdge())){this._pendingKey=u,setTimeout(this._handleKeyPressTimeout.bind(this),10,o);return}if(this._pendingKey=null,(0,E.stopEvent)(o),u==="ControlLeft"&&f.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,E.stopEvent)(o),this._pendingKey===null)return;var u=this._getKeyCode(o),h=p.getKeysym(o);if(u!=="Unidentified"&&u!=this._pendingKey)return;if(u=this._pendingKey,this._pendingKey=null,!h){m.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 g=String.fromCharCode(o.keyCode);o.shiftKey?g=g.toUpperCase():g=g.toLowerCase(),u=g.charCodeAt()}else u=0;this._sendKeyEvent(u,h,!0)}},{key:"_handleKeyUp",value:function(o){(0,E.stopEvent)(o);var u=this._getKeyCode(o);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),(f.isMac()||f.isIOS())&&u==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[u],u,!1),f.isWindows()&&(u==="ShiftLeft"||u==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){m.Debug(">> Keyboard.allKeysUp");for(var o in this._keyDownList)this._sendKeyEvent(this._keyDownList[o],o,!1);m.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(g){if(!(g in h))return;var A=new KeyboardEvent("keyup",{key:h[g],code:g});A.skipCheckAlt=!0,u.dispatchEvent(A)})}},{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),f.isWindows()&&f.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(f.isWindows()&&f.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()}}]),c}();R.default=r},FxDU:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.createSensor=void 0;var y=i("QO+J"),m=i("j5sG"),E=typeof ResizeObserver!="undefined"?m.createSensor:y.createSensor;R.createSensor=E},GGyF:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("wgjA")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="LeftOutlined";var l=p.forwardRef(d);R.default=l},GIiI:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="PoweroffOutlined";var d=R.a=m.forwardRef(f)},GMDS:function(U,R,i){var y=i("bYtY"),m=i("4NgU"),E=i("jkPA"),p=m.prototype,v=m.extend({type:"ordinal",init:function(d,l){(!d||y.isArray(d))&&(d=new E({categories:d})),this._ordinalMeta=d,this._extent=l||[0,d.categories.length-1]},parse:function(d){return typeof d=="string"?this._ordinalMeta.getOrdinal(d):Math.round(d)},contain:function(d){return d=this.parse(d),p.contain.call(this,d)&&this._ordinalMeta.categories[d]!=null},normalize:function(d){return p.normalize.call(this,this.parse(d))},scale:function(d){return Math.round(p.scale.call(this,d))},getTicks:function(){for(var d=[],l=this._extent,n=l[0];n<=l[1];)d.push(n),n++;return d},getLabel:function(d){if(!this.isBlank())return this._ordinalMeta.categories[d]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(d,l){this.unionExtent(d.getApproximateExtent(l))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:y.noop,niceExtent:y.noop});v.create=function(){return new v};var f=v;U.exports=f},GQ8N:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.toUnsigned32bit=y,R.toSigned32bit=m;function y(E){return E>>>0}function m(E){return E|0}},GUcZ:function(U,R,i){"use strict";var y=i("XKWP"),m=i("N7Kx"),E=function(){function lt(){Object(y.a)(this,lt)}return Object(m.a)(lt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(Le,Ue){return Le.__proto__=Ue,Le},Object.assign=Object.assign||function(Le){if(Le==null)throw new TypeError("Cannot convert undefined or null to object");for(var Ue=Object(Le),Ye=1;Ye<arguments.length;Ye++){var ft=arguments[Ye];if(ft!=null)for(var ir in ft)ft.hasOwnProperty(ir)&&(Ue[ir]=ft[ir])}return Ue},typeof self.Promise!="function"&&i("E2g8").polyfill()}}]),lt}();E.install();var p=E,v=i("+qE3"),f=i.n(v),d=function(){function lt(){Object(y.a)(this,lt)}return Object(m.a)(lt,null,[{key:"e",value:function(Le,Ue){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var Ye="[".concat(Le,"] > ").concat(Ue);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","error",Ye),!lt.ENABLE_ERROR)return;console.error?console.error(Ye):console.warn?console.warn(Ye):console.log(Ye)}},{key:"i",value:function(Le,Ue){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var Ye="[".concat(Le,"] > ").concat(Ue);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","info",Ye),!lt.ENABLE_INFO)return;console.info?console.info(Ye):console.log(Ye)}},{key:"w",value:function(Le,Ue){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var Ye="[".concat(Le,"] > ").concat(Ue);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","warn",Ye),!lt.ENABLE_WARN)return;console.warn?console.warn(Ye):console.log(Ye)}},{key:"d",value:function(Le,Ue){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var Ye="[".concat(Le,"] > ").concat(Ue);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","debug",Ye),!lt.ENABLE_DEBUG)return;console.debug?console.debug(Ye):console.log(Ye)}},{key:"v",value:function(Le,Ue){(!Le||lt.FORCE_GLOBAL_TAG)&&(Le=lt.GLOBAL_TAG);var Ye="[".concat(Le,"] > ").concat(Ue);if(lt.ENABLE_CALLBACK&<.emitter.emit("log","verbose",Ye),!lt.ENABLE_VERBOSE)return;console.log(Ye)}}]),lt}();d.GLOBAL_TAG="flv.js",d.FORCE_GLOBAL_TAG=!1,d.ENABLE_ERROR=!0,d.ENABLE_INFO=!0,d.ENABLE_WARN=!0,d.ENABLE_DEBUG=!0,d.ENABLE_VERBOSE=!0,d.ENABLE_CALLBACK=!1,d.emitter=new f.a;var l=d,n=function(){function lt(){Object(y.a)(this,lt),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(m.a)(lt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(Le){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=Le,this._totalBytes+=Le):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=Le,this._totalBytes+=Le):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=Le,this._totalBytes+=Le,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var Le=(this._now()-this._lastCheckpoint)/1e3;return Le==0&&(Le=1),this._intervalBytes/Le/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 Le=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/Le/1024}}]),lt}(),t=n,a=i("kFHX"),s=i("4jIl"),r=function(){function lt(ct){Object(y.a)(this,lt),this._message=ct}return Object(m.a)(lt,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),lt}(),c=function(lt){Object(a.a)(Le,lt);var ct=Object(s.a)(Le);function Le(Ue){return Object(y.a)(this,Le),ct.call(this,Ue)}return Object(m.a)(Le,[{key:"name",get:function(){return"IllegalStateException"}}]),Le}(r),e=function(lt){Object(a.a)(Le,lt);var ct=Object(s.a)(Le);function Le(Ue){return Object(y.a)(this,Le),ct.call(this,Ue)}return Object(m.a)(Le,[{key:"name",get:function(){return"InvalidArgumentException"}}]),Le}(r),o=function(lt){Object(a.a)(Le,lt);var ct=Object(s.a)(Le);function Le(Ue){return Object(y.a)(this,Le),ct.call(this,Ue)}return Object(m.a)(Le,[{key:"name",get:function(){return"NotImplementedException"}}]),Le}(r),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"},g=function(){function lt(ct){Object(y.a)(this,lt),this._type=ct||"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(m.a)(lt,[{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(Le){this._onContentLengthKnown=Le}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(Le){this._onURLRedirect=Le}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Le){this._onDataArrival=Le}},{key:"onError",get:function(){return this._onError},set:function(Le){this._onError=Le}},{key:"onComplete",get:function(){return this._onComplete},set:function(Le){this._onComplete=Le}},{key:"open",value:function(Le,Ue){throw new o("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new o("Unimplemented abstract function!")}}]),lt}(),A=i("2KFj"),w=i("XPR9"),x={};function C(){var lt=self.navigator.userAgent.toLowerCase(),ct=/(edge)\/([\w.]+)/.exec(lt)||/(opr)[\/]([\w.]+)/.exec(lt)||/(chrome)[ \/]([\w.]+)/.exec(lt)||/(iemobile)[\/]([\w.]+)/.exec(lt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(lt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(lt)||/(webkit)[ \/]([\w.]+)/.exec(lt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(lt)||/(msie) ([\w.]+)/.exec(lt)||lt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(lt)||lt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(lt)||[],Le=/(ipad)/.exec(lt)||/(ipod)/.exec(lt)||/(windows phone)/.exec(lt)||/(iphone)/.exec(lt)||/(kindle)/.exec(lt)||/(android)/.exec(lt)||/(windows)/.exec(lt)||/(mac)/.exec(lt)||/(linux)/.exec(lt)||/(cros)/.exec(lt)||[],Ue={browser:ct[5]||ct[3]||ct[1]||"",version:ct[2]||ct[4]||"0",majorVersion:ct[4]||ct[2]||"0",platform:Le[0]||""},Ye={};if(Ue.browser){Ye[Ue.browser]=!0;var ft=Ue.majorVersion.split(".");Ye.version={major:parseInt(Ue.majorVersion,10),string:Ue.version},ft.length>1&&(Ye.version.minor=parseInt(ft[1],10)),ft.length>2&&(Ye.version.build=parseInt(ft[2],10))}if(Ue.platform&&(Ye[Ue.platform]=!0),(Ye.chrome||Ye.opr||Ye.safari)&&(Ye.webkit=!0),Ye.rv||Ye.iemobile){Ye.rv&&delete Ye.rv;var ir="msie";Ue.browser=ir,Ye[ir]=!0}if(Ye.edge){delete Ye.edge;var Yt="msedge";Ue.browser=Yt,Ye[Yt]=!0}if(Ye.opr){var rr="opera";Ue.browser=rr,Ye[rr]=!0}if(Ye.safari&&Ye.android){var Zr="android";Ue.browser=Zr,Ye[Zr]=!0}Ye.name=Ue.browser,Ye.platform=Ue.platform;for(var nn in x)x.hasOwnProperty(nn)&&delete x[nn];Object.assign(x,Ye)}C();var T=x,O=function(lt){Object(a.a)(Le,lt);var ct=Object(s.a)(Le);function Le(Ue,Ye){var ft;return Object(y.a)(this,Le),ft=ct.call(this,"fetch-stream-loader"),ft.TAG="FetchStreamLoader",ft._seekHandler=Ue,ft._config=Ye,ft._needStash=!0,ft._requestAbort=!1,ft._contentLength=null,ft._receivedLength=0,ft}return Object(m.a)(Le,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(A.a)(Object(w.a)(Le.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ye,ft){var ir=this;this._dataSource=Ye,this._range=ft;var Yt=Ye.url;this._config.reuseRedirectedURL&&Ye.redirectedURL!=null&&(Yt=Ye.redirectedURL);var rr=this._seekHandler.getConfig(Yt,ft),Zr=new self.Headers;if(typeof rr.headers=="object"){var nn=rr.headers;for(var Pn in nn)nn.hasOwnProperty(Pn)&&Zr.append(Pn,nn[Pn])}var qt={method:"GET",headers:Zr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var St in this._config.headers)Zr.append(St,this._config.headers[St]);Ye.cors===!1&&(qt.mode="same-origin"),Ye.withCredentials&&(qt.credentials="include"),Ye.referrerPolicy&&(qt.referrerPolicy=Ye.referrerPolicy),this._status=u.kConnecting,self.fetch(rr.url,qt).then(function(At){if(ir._requestAbort){ir._requestAbort=!1,ir._status=u.kIdle;return}if(At.ok&&At.status>=200&&At.status<=299){if(At.url!==rr.url&&ir._onURLRedirect){var cr=ir._seekHandler.removeURLParameters(At.url);ir._onURLRedirect(cr)}var or=At.headers.get("Content-Length");return or!=null&&(ir._contentLength=parseInt(or),ir._contentLength!==0&&(ir._onContentLengthKnown&&ir._onContentLengthKnown(ir._contentLength))),ir._pump.call(ir,At.body.getReader())}else if(ir._status=u.kError,ir._onError)ir._onError(h.HTTP_STATUS_CODE_INVALID,{code:At.status,msg:At.statusText});else throw new r("FetchStreamLoader: Http code invalid, "+At.status+" "+At.statusText)}).catch(function(At){if(ir._status=u.kError,ir._onError)ir._onError(h.EXCEPTION,{code:-1,msg:At.message});else throw At})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Ye){var ft=this;return Ye.read().then(function(ir){if(ir.done)if(ft._contentLength!==null&&ft._receivedLength<ft._contentLength){ft._status=u.kError;var Yt=h.EARLY_EOF,rr={code:-1,msg:"Fetch stream meet Early-EOF"};if(ft._onError)ft._onError(Yt,rr);else throw new r(rr.msg)}else ft._status=u.kComplete,ft._onComplete&&ft._onComplete(ft._range.from,ft._range.from+ft._receivedLength-1);else{if(ft._requestAbort===!0)return ft._requestAbort=!1,ft._status=u.kComplete,Ye.cancel();ft._status=u.kBuffering;var Zr=ir.value.buffer,nn=ft._range.from+ft._receivedLength;ft._receivedLength+=Zr.byteLength,ft._onDataArrival&&ft._onDataArrival(Zr,nn,ft._receivedLength),ft._pump(Ye)}}).catch(function(ir){if(ir.code===11&&T.msedge)return;ft._status=u.kError;var Yt=0,rr=null;if((ir.code===19||ir.message==="network error")&&(ft._contentLength===null||ft._contentLength!==null&&ft._receivedLength<ft._contentLength)?(Yt=h.EARLY_EOF,rr={code:ir.code,msg:"Fetch stream meet Early-EOF"}):(Yt=h.EXCEPTION,rr={code:ir.code,msg:ir.message}),ft._onError)ft._onError(Yt,rr);else throw new r(rr.msg)})}}],[{key:"isSupported",value:function(){try{var Ye=T.msedge&&T.version.minor>=15048,ft=T.msedge?Ye:!0;return self.fetch&&self.ReadableStream&&ft}catch(ir){return!1}}}]),Le}(g),S=O,_=function(lt){Object(a.a)(Le,lt);var ct=Object(s.a)(Le);function Le(Ue,Ye){var ft;return Object(y.a)(this,Le),ft=ct.call(this,"xhr-moz-chunked-loader"),ft.TAG="MozChunkedLoader",ft._seekHandler=Ue,ft._config=Ye,ft._needStash=!0,ft._xhr=null,ft._requestAbort=!1,ft._contentLength=null,ft._receivedLength=0,ft}return Object(m.a)(Le,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),Object(A.a)(Object(w.a)(Le.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ye,ft){this._dataSource=Ye,this._range=ft;var ir=Ye.url;this._config.reuseRedirectedURL&&Ye.redirectedURL!=null&&(ir=Ye.redirectedURL);var Yt=this._seekHandler.getConfig(ir,ft);this._requestURL=Yt.url;var rr=this._xhr=new XMLHttpRequest;if(rr.open("GET",Yt.url,!0),rr.responseType="moz-chunked-arraybuffer",rr.onreadystatechange=this._onReadyStateChange.bind(this),rr.onprogress=this._onProgress.bind(this),rr.onloadend=this._onLoadEnd.bind(this),rr.onerror=this._onXhrError.bind(this),Ye.withCredentials&&(rr.withCredentials=!0),typeof Yt.headers=="object"){var Zr=Yt.headers;for(var nn in Zr)Zr.hasOwnProperty(nn)&&rr.setRequestHeader(nn,Zr[nn])}if(typeof this._config.headers=="object"){var Pn=this._config.headers;for(var qt in Pn)Pn.hasOwnProperty(qt)&&rr.setRequestHeader(qt,Pn[qt])}this._status=u.kConnecting,rr.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(Ye){var ft=Ye.target;if(ft.readyState===2){if(ft.responseURL!=null&&ft.responseURL!==this._requestURL&&this._onURLRedirect){var ir=this._seekHandler.removeURLParameters(ft.responseURL);this._onURLRedirect(ir)}if(ft.status!==0&&(ft.status<200||ft.status>299))if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ft.status,msg:ft.statusText});else throw new r("MozChunkedLoader: Http code invalid, "+ft.status+" "+ft.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(Ye){if(this._status===u.kError)return;this._contentLength===null&&(Ye.total!==null&&Ye.total!==0&&(this._contentLength=Ye.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var ft=Ye.target.response,ir=this._range.from+this._receivedLength;this._receivedLength+=ft.byteLength,this._onDataArrival&&this._onDataArrival(ft,ir,this._receivedLength)}},{key:"_onLoadEnd",value:function(Ye){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(Ye){this._status=u.kError;var ft=0,ir=null;if(this._contentLength&&Ye.loaded<this._contentLength?(ft=h.EARLY_EOF,ir={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(ft=h.EXCEPTION,ir={code:-1,msg:Ye.constructor.name+" "+Ye.type}),this._onError)this._onError(ft,ir);else throw new r(ir.msg)}}],[{key:"isSupported",value:function(){try{var Ye=new XMLHttpRequest;return Ye.open("GET","https://example.com",!0),Ye.responseType="moz-chunked-arraybuffer",Ye.responseType==="moz-chunked-arraybuffer"}catch(ft){return l.w("MozChunkedLoader",ft.message),!1}}}]),Le}(g),L=_,D=function(lt){Object(a.a)(Le,lt);var ct=Object(s.a)(Le);function Le(Ue,Ye){var ft;return Object(y.a)(this,Le),ft=ct.call(this,"xhr-msstream-loader"),ft.TAG="MSStreamLoader",ft._seekHandler=Ue,ft._config=Ye,ft._needStash=!0,ft._xhr=null,ft._reader=null,ft._totalRange=null,ft._currentRange=null,ft._currentRequestURL=null,ft._currentRedirectedURL=null,ft._contentLength=null,ft._receivedLength=0,ft._bufferLimit=16*1024*1024,ft._lastTimeBufferSize=0,ft._isReconnecting=!1,ft}return Object(m.a)(Le,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),Object(A.a)(Object(w.a)(Le.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ye,ft){this._internalOpen(Ye,ft,!1)}},{key:"_internalOpen",value:function(Ye,ft,ir){this._dataSource=Ye,ir?this._currentRange=ft:this._totalRange=ft;var Yt=Ye.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Yt=this._currentRedirectedURL:Ye.redirectedURL!=null&&(Yt=Ye.redirectedURL));var rr=this._seekHandler.getConfig(Yt,ft);this._currentRequestURL=rr.url;var Zr=this._reader=new self.MSStreamReader;Zr.onprogress=this._msrOnProgress.bind(this),Zr.onload=this._msrOnLoad.bind(this),Zr.onerror=this._msrOnError.bind(this);var nn=this._xhr=new XMLHttpRequest;if(nn.open("GET",rr.url,!0),nn.responseType="ms-stream",nn.onreadystatechange=this._xhrOnReadyStateChange.bind(this),nn.onerror=this._xhrOnError.bind(this),Ye.withCredentials&&(nn.withCredentials=!0),typeof rr.headers=="object"){var Pn=rr.headers;for(var qt in Pn)Pn.hasOwnProperty(qt)&&nn.setRequestHeader(qt,Pn[qt])}if(typeof this._config.headers=="object"){var St=this._config.headers;for(var At in St)St.hasOwnProperty(At)&&nn.setRequestHeader(At,St[At])}this._isReconnecting?this._isReconnecting=!1:this._status=u.kConnecting,nn.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(Ye){var ft=Ye.target;if(ft.readyState===2)if(ft.status>=200&&ft.status<=299){if(this._status=u.kBuffering,ft.responseURL!=null){var ir=this._seekHandler.removeURLParameters(ft.responseURL);ft.responseURL!==this._currentRequestURL&&ir!==this._currentRedirectedURL&&(this._currentRedirectedURL=ir,this._onURLRedirect&&this._onURLRedirect(ir))}var Yt=ft.getResponseHeader("Content-Length");if(Yt!=null&&this._contentLength==null){var rr=parseInt(Yt);rr>0&&(this._contentLength=rr,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ft.status,msg:ft.statusText});else throw new r("MSStreamLoader: Http code invalid, "+ft.status+" "+ft.statusText);else if(ft.readyState===3&&(ft.status>=200&&ft.status<=299)){this._status=u.kBuffering;var Zr=ft.response;this._reader.readAsArrayBuffer(Zr)}}},{key:"_xhrOnError",value:function(Ye){this._status=u.kError;var ft=h.EXCEPTION,ir={code:-1,msg:Ye.constructor.name+" "+Ye.type};if(this._onError)this._onError(ft,ir);else throw new r(ir.msg)}},{key:"_msrOnProgress",value:function(Ye){var ft=Ye.target,ir=ft.result;if(ir==null){this._doReconnectIfNeeded();return}var Yt=ir.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=ir.byteLength;var rr=this._totalRange.from+this._receivedLength;this._receivedLength+=Yt.byteLength,this._onDataArrival&&this._onDataArrival(Yt,rr,this._receivedLength),ir.byteLength>=this._bufferLimit&&(l.v(this.TAG,"MSStream buffer exceeded max size near ".concat(rr+Yt.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 Ye={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Ye,!0)}}},{key:"_msrOnLoad",value:function(Ye){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Ye){this._status=u.kError;var ft=0,ir=null;if(this._contentLength&&this._receivedLength<this._contentLength?(ft=h.EARLY_EOF,ir={code:-1,msg:"MSStream meet Early-Eof"}):(ft=h.EARLY_EOF,ir={code:-1,msg:Ye.constructor.name+" "+Ye.type}),this._onError)this._onError(ft,ir);else throw new r(ir.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Ye=new XMLHttpRequest;return Ye.open("GET","https://example.com",!0),Ye.responseType="ms-stream",Ye.responseType==="ms-stream"}catch(ft){return l.w("MSStreamLoader",ft.message),!1}}}]),Le}(g),F=D,j=function(lt){Object(a.a)(Le,lt);var ct=Object(s.a)(Le);function Le(Ue,Ye){var ft;return Object(y.a)(this,Le),ft=ct.call(this,"xhr-range-loader"),ft.TAG="RangeLoader",ft._seekHandler=Ue,ft._config=Ye,ft._needStash=!1,ft._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],ft._currentChunkSizeKB=384,ft._currentSpeedNormalized=0,ft._zeroSpeedChunkCount=0,ft._xhr=null,ft._speedSampler=new t,ft._requestAbort=!1,ft._waitForTotalLength=!1,ft._totalLengthReceived=!1,ft._currentRequestURL=null,ft._currentRedirectedURL=null,ft._currentRequestRange=null,ft._totalLength=null,ft._contentLength=null,ft._receivedLength=0,ft._lastTimeLoaded=0,ft}return Object(m.a)(Le,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),Object(A.a)(Object(w.a)(Le.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(Ye,ft){this._dataSource=Ye,this._range=ft,this._status=u.kConnecting;var ir=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(ir=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!ir?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Ye=this._currentChunkSizeKB*1024,ft=this._range.from+this._receivedLength,ir=ft+Ye;this._contentLength!=null&&(ir-this._range.from>=this._contentLength&&(ir=this._range.from+this._contentLength-1)),this._currentRequestRange={from:ft,to:ir},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Ye,ft){this._lastTimeLoaded=0;var ir=Ye.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?ir=this._currentRedirectedURL:Ye.redirectedURL!=null&&(ir=Ye.redirectedURL));var Yt=this._seekHandler.getConfig(ir,ft);this._currentRequestURL=Yt.url;var rr=this._xhr=new XMLHttpRequest;if(rr.open("GET",Yt.url,!0),rr.responseType="arraybuffer",rr.onreadystatechange=this._onReadyStateChange.bind(this),rr.onprogress=this._onProgress.bind(this),rr.onload=this._onLoad.bind(this),rr.onerror=this._onXhrError.bind(this),Ye.withCredentials&&(rr.withCredentials=!0),typeof Yt.headers=="object"){var Zr=Yt.headers;for(var nn in Zr)Zr.hasOwnProperty(nn)&&rr.setRequestHeader(nn,Zr[nn])}if(typeof this._config.headers=="object"){var Pn=this._config.headers;for(var qt in Pn)Pn.hasOwnProperty(qt)&&rr.setRequestHeader(qt,Pn[qt])}rr.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(Ye){var ft=Ye.target;if(ft.readyState===2){if(ft.responseURL!=null){var ir=this._seekHandler.removeURLParameters(ft.responseURL);ft.responseURL!==this._currentRequestURL&&ir!==this._currentRedirectedURL&&(this._currentRedirectedURL=ir,this._onURLRedirect&&this._onURLRedirect(ir))}if(ft.status>=200&&ft.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:ft.status,msg:ft.statusText});else throw new r("RangeLoader: Http code invalid, "+ft.status+" "+ft.statusText)}}},{key:"_onProgress",value:function(Ye){if(this._status===u.kError)return;if(this._contentLength===null){var ft=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,ft=!0;var ir=Ye.total;this._internalAbort(),ir!=null&ir!==0&&(this._totalLength=ir)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,ft){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Yt=Ye.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Ye.loaded,this._speedSampler.addBytes(Yt)}},{key:"_normalizeSpeed",value:function(Ye){var ft=this._chunkSizeKBList,ir=ft.length-1,Yt=0,rr=0,Zr=ir;if(Ye<ft[0])return ft[0];for(;rr<=Zr;){if(Yt=rr+Math.floor((Zr-rr)/2),Yt===ir||Ye>=ft[Yt]&&Ye<ft[Yt+1])return ft[Yt];ft[Yt]<Ye?rr=Yt+1:Zr=Yt-1}}},{key:"_onLoad",value:function(Ye){if(this._status===u.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var ft=this._speedSampler.lastSecondKBps;if(ft===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(ft=this._speedSampler.currentKBps)),ft!==0){var ir=this._normalizeSpeed(ft);this._currentSpeedNormalized!==ir&&(this._currentSpeedNormalized=ir,this._currentChunkSizeKB=ir)}var Yt=Ye.target.response,rr=this._range.from+this._receivedLength;this._receivedLength+=Yt.byteLength;var Zr=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Zr=!0,this._onDataArrival&&this._onDataArrival(Yt,rr,this._receivedLength),Zr&&(this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Ye){this._status=u.kError;var ft=0,ir=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(ft=h.EARLY_EOF,ir={code:-1,msg:"RangeLoader meet Early-Eof"}):(ft=h.EXCEPTION,ir={code:-1,msg:Ye.constructor.name+" "+Ye.type}),this._onError)this._onError(ft,ir);else throw new r(ir.msg)}}],[{key:"isSupported",value:function(){try{var Ye=new XMLHttpRequest;return Ye.open("GET","https://example.com",!0),Ye.responseType="arraybuffer",Ye.responseType==="arraybuffer"}catch(ft){return l.w("RangeLoader",ft.message),!1}}}]),Le}(g),k=j,K=function(lt){Object(a.a)(Le,lt);var ct=Object(s.a)(Le);function Le(){var Ue;return Object(y.a)(this,Le),Ue=ct.call(this,"websocket-loader"),Ue.TAG="WebSocketLoader",Ue._needStash=!0,Ue._ws=null,Ue._requestAbort=!1,Ue._receivedLength=0,Ue}return Object(m.a)(Le,[{key:"destroy",value:function(){this._ws&&this.abort(),Object(A.a)(Object(w.a)(Le.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ye){try{var ft=this._ws=new self.WebSocket(Ye.url);ft.binaryType="arraybuffer",ft.onopen=this._onWebSocketOpen.bind(this),ft.onclose=this._onWebSocketClose.bind(this),ft.onmessage=this._onWebSocketMessage.bind(this),ft.onerror=this._onWebSocketError.bind(this),this._status=u.kConnecting}catch(Yt){this._status=u.kError;var ir={code:Yt.code,msg:Yt.message};if(this._onError)this._onError(h.EXCEPTION,ir);else throw new r(ir.msg)}}},{key:"abort",value:function(){var Ye=this._ws;Ye&&(Ye.readyState===0||Ye.readyState===1)&&(this._requestAbort=!0,Ye.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(Ye){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(Ye){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Ye){var ft=this;if(Ye.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Ye.data);else if(Ye.data instanceof Blob){var ir=new FileReader;ir.onload=function(){ft._dispatchArrayBuffer(ir.result)},ir.readAsArrayBuffer(Ye.data)}else{this._status=u.kError;var Yt={code:-1,msg:"Unsupported WebSocket message type: "+Ye.data.constructor.name};if(this._onError)this._onError(h.EXCEPTION,Yt);else throw new r(Yt.msg)}}},{key:"_dispatchArrayBuffer",value:function(Ye){var ft=Ye,ir=this._receivedLength;this._receivedLength+=ft.byteLength,this._onDataArrival&&this._onDataArrival(ft,ir,this._receivedLength)}},{key:"_onWebSocketError",value:function(Ye){this._status=u.kError;var ft={code:Ye.code,msg:Ye.message};if(this._onError)this._onError(h.EXCEPTION,ft);else throw new r(ft.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Ye){return!1}}}]),Le}(g),Z=K,B=function(){function lt(ct){Object(y.a)(this,lt),this._zeroStart=ct||!1}return Object(m.a)(lt,[{key:"getConfig",value:function(Le,Ue){var Ye={};if(Ue.from!==0||Ue.to!==-1){var ft;Ue.to!==-1?ft="bytes=".concat(Ue.from.toString(),"-").concat(Ue.to.toString()):ft="bytes=".concat(Ue.from.toString(),"-"),Ye.Range=ft}else this._zeroStart&&(Ye.Range="bytes=0-");return{url:Le,headers:Ye}}},{key:"removeURLParameters",value:function(Le){return Le}}]),lt}(),V=B,z=function(){function lt(ct,Le){Object(y.a)(this,lt),this._startName=ct,this._endName=Le}return Object(m.a)(lt,[{key:"getConfig",value:function(Le,Ue){var Ye=Le;if(Ue.from!==0||Ue.to!==-1){var ft=!0;Ye.indexOf("?")===-1&&(Ye+="?",ft=!1),ft&&(Ye+="&"),Ye+="".concat(this._startName,"=").concat(Ue.from.toString()),Ue.to!==-1&&(Ye+="&".concat(this._endName,"=").concat(Ue.to.toString()))}return{url:Ye,headers:{}}}},{key:"removeURLParameters",value:function(Le){var Ue=Le.split("?")[0],Ye=void 0,ft=Le.indexOf("?");ft!==-1&&(Ye=Le.substring(ft+1));var ir="";if(Ye!=null&&Ye.length>0)for(var Yt=Ye.split("&"),rr=0;rr<Yt.length;rr++){var Zr=Yt[rr].split("="),nn=rr>0;Zr[0]!==this._startName&&Zr[0]!==this._endName&&(nn&&(ir+="&"),ir+=Yt[rr])}return ir.length===0?Ue:Ue+"?"+ir}}]),lt}(),X=z,W=function(){function lt(ct,Le,Ue){Object(y.a)(this,lt),this.TAG="IOController",this._config=Le,this._extraData=Ue,this._stashInitialSize=1024*384,Le.stashInitialSize!=null&&Le.stashInitialSize>0&&(this._stashInitialSize=Le.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,Le.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=ct,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(ct.url),this._refTotalLength=ct.filesize?ct.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new t,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(m.a)(lt,[{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(Le){this._extraData=Le}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Le){this._onDataArrival=Le}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(Le){this._onSeeked=Le}},{key:"onError",get:function(){return this._onError},set:function(Le){this._onError=Le}},{key:"onComplete",get:function(){return this._onComplete},set:function(Le){this._onComplete=Le}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(Le){this._onRedirect=Le}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(Le){this._onRecoveredEarlyEof=Le}},{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===k?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var Le=this._config;if(Le.seekType==="range")this._seekHandler=new V(this._config.rangeLoadZeroStart);else if(Le.seekType==="param"){var Ue=Le.seekParamStart||"bstart",Ye=Le.seekParamEnd||"bend";this._seekHandler=new X(Ue,Ye)}else if(Le.seekType==="custom"){if(typeof Le.customSeekHandler!="function")throw new e("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new Le.customSeekHandler}else throw new e("Invalid seekType in config: ".concat(Le.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=Z;else if(S.isSupported())this._loaderClass=S;else if(L.isSupported())this._loaderClass=L;else if(k.isSupported())this._loaderClass=k;else throw new r("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(Le){this._currentRange={from:0,to:-1},Le&&(this._currentRange.from=Le),this._speedSampler.reset(),Le||(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 Le=this._resumeFrom;this._resumeFrom=0,this._internalSeek(Le,!0)}}},{key:"seek",value:function(Le){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(Le,!0)}},{key:"_internalSeek",value:function(Le,Ue){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(Ue),this._loader.destroy(),this._loader=null;var Ye={from:Le,to:-1};this._currentRange={from:Ye.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Ye),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(Le){if(!Le||typeof Le!="string"||Le.length===0)throw new e("Url must be a non-empty string!");this._dataSource.url=Le}},{key:"_expandBuffer",value:function(Le){for(var Ue=this._stashSize;Ue+1024*1024*1<Le;)Ue*=2;if(Ue+=1024*1024*1,Ue===this._bufferSize)return;var Ye=new ArrayBuffer(Ue);if(this._stashUsed>0){var ft=new Uint8Array(this._stashBuffer,0,this._stashUsed),ir=new Uint8Array(Ye,0,Ue);ir.set(ft,0)}this._stashBuffer=Ye,this._bufferSize=Ue}},{key:"_normalizeSpeed",value:function(Le){var Ue=this._speedNormalizeList,Ye=Ue.length-1,ft=0,ir=0,Yt=Ye;if(Le<Ue[0])return Ue[0];for(;ir<=Yt;){if(ft=ir+Math.floor((Yt-ir)/2),ft===Ye||Le>=Ue[ft]&&Le<Ue[ft+1])return Ue[ft];Ue[ft]<Le?ir=ft+1:Yt=ft-1}}},{key:"_adjustStashSize",value:function(Le){var Ue=0;this._config.isLive||Le<512?Ue=Le:Le>=512&&Le<=1024?Ue=Math.floor(Le*1.5):Ue=Le*2,Ue>8192&&(Ue=8192);var Ye=Ue*1024+1024*1024*1;this._bufferSize<Ye&&this._expandBuffer(Ye),this._stashSize=Ue*1024}},{key:"_dispatchChunks",value:function(Le,Ue){return this._currentRange.to=Ue+Le.byteLength-1,this._onDataArrival(Le,Ue)}},{key:"_onURLRedirect",value:function(Le){this._redirectedURL=Le,this._onRedirect&&this._onRedirect(Le)}},{key:"_onContentLengthKnown",value:function(Le){Le&&this._fullRequestFlag&&(this._totalLength=Le,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(Le,Ue,Ye){if(!this._onDataArrival)throw new c("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(Le.byteLength);var ft=this._speedSampler.lastSecondKBps;if(ft!==0){var ir=this._normalizeSpeed(ft);this._speedNormalized!==ir&&(this._speedNormalized=ir,this._adjustStashSize(ir))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=Ue),this._stashUsed+Le.byteLength<=this._stashSize){var St=new Uint8Array(this._stashBuffer,0,this._stashSize);St.set(new Uint8Array(Le),this._stashUsed),this._stashUsed+=Le.byteLength}else{var At=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var cr=this._stashBuffer.slice(0,this._stashUsed),or=this._dispatchChunks(cr,this._stashByteStart);if(or<cr.byteLength){if(or>0){var Tt=new Uint8Array(cr,or);At.set(Tt,0),this._stashUsed=Tt.byteLength,this._stashByteStart+=or}}else this._stashUsed=0,this._stashByteStart+=or;this._stashUsed+Le.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+Le.byteLength),At=new Uint8Array(this._stashBuffer,0,this._bufferSize)),At.set(new Uint8Array(Le),this._stashUsed),this._stashUsed+=Le.byteLength}else{var Rt=this._dispatchChunks(Le,Ue);if(Rt<Le.byteLength){var _t=Le.byteLength-Rt;_t>this._bufferSize&&(this._expandBuffer(_t),At=new Uint8Array(this._stashBuffer,0,this._bufferSize)),At.set(new Uint8Array(Le,Rt),0),this._stashUsed+=_t,this._stashByteStart=Ue+Rt}}}else if(this._stashUsed===0){var Yt=this._dispatchChunks(Le,Ue);if(Yt<Le.byteLength){var rr=Le.byteLength-Yt;rr>this._bufferSize&&this._expandBuffer(rr);var Zr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Zr.set(new Uint8Array(Le,Yt),0),this._stashUsed+=rr,this._stashByteStart=Ue+Yt}}else{this._stashUsed+Le.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+Le.byteLength);var nn=new Uint8Array(this._stashBuffer,0,this._bufferSize);nn.set(new Uint8Array(Le),this._stashUsed),this._stashUsed+=Le.byteLength;var Pn=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Pn<this._stashUsed&&Pn>0){var qt=new Uint8Array(this._stashBuffer,Pn);nn.set(qt,0)}this._stashUsed-=Pn,this._stashByteStart+=Pn}}},{key:"_flushStashBuffer",value:function(Le){if(this._stashUsed>0){var Ue=this._stashBuffer.slice(0,this._stashUsed),Ye=this._dispatchChunks(Ue,this._stashByteStart),ft=Ue.byteLength-Ye;if(Ye<Ue.byteLength)if(Le)l.w(this.TAG,"".concat(ft," bytes unconsumed data remain when flush buffer, dropped"));else{if(Ye>0){var ir=new Uint8Array(this._stashBuffer,0,this._bufferSize),Yt=new Uint8Array(Ue,Ye);ir.set(Yt,0),this._stashUsed=Yt.byteLength,this._stashByteStart+=Ye}return 0}return this._stashUsed=0,this._stashByteStart=0,ft}return 0}},{key:"_onLoaderComplete",value:function(Le,Ue){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(Le,Ue){l.e(this.TAG,"Loader error, code = ".concat(Ue.code,", msg = ").concat(Ue.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,Le=h.UNRECOVERABLE_EARLY_EOF);switch(Le){case h.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Ye=this._currentRange.to+1;Ye<this._totalLength&&(l.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Ye,!1));return}Le=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(Le,Ue);else throw new r("IOException: "+Ue.msg)}}]),lt}(),q=W,Y={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function re(){return Object.assign({},Y)}var ne=function(){function lt(){Object(y.a)(this,lt)}return Object(m.a)(lt,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var Le=new q({},re()),Ue=Le.loaderType;return Le.destroy(),Ue=="fetch-stream-loader"||Ue=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var Le=new q({},re()),Ue=Le.loaderType;return Le.destroy(),Ue}},{key:"supportNativeMediaPlayback",value:function(Le){lt.videoElement==null&&(lt.videoElement=window.document.createElement("video"));var Ue=lt.videoElement.canPlayType(Le);return Ue==="probably"||Ue=="maybe"}},{key:"getFeatureList",value:function(){var Le={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return Le.mseFlvPlayback=lt.supportMSEH264Playback(),Le.networkStreamIO=lt.supportNetworkStreamIO(),Le.networkLoaderName=lt.getNetworkLoaderTypeName(),Le.mseLiveFlvPlayback=Le.mseFlvPlayback&&Le.networkStreamIO,Le.nativeMP4H264Playback=lt.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),Le.nativeWebmVP8Playback=lt.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),Le.nativeWebmVP9Playback=lt.supportNativeMediaPlayback('video/webm; codecs="vp9"'),Le}}]),lt}(),we=ne,ie={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"},me=ie,_e=function(){function lt(){Object(y.a)(this,lt)}return Object(m.a)(lt,null,[{key:"forceGlobalTag",get:function(){return l.FORCE_GLOBAL_TAG},set:function(Le){l.FORCE_GLOBAL_TAG=Le,lt._notifyChange()}},{key:"globalTag",get:function(){return l.GLOBAL_TAG},set:function(Le){l.GLOBAL_TAG=Le,lt._notifyChange()}},{key:"enableAll",get:function(){return l.ENABLE_VERBOSE&&l.ENABLE_DEBUG&&l.ENABLE_INFO&&l.ENABLE_WARN&&l.ENABLE_ERROR},set:function(Le){l.ENABLE_VERBOSE=Le,l.ENABLE_DEBUG=Le,l.ENABLE_INFO=Le,l.ENABLE_WARN=Le,l.ENABLE_ERROR=Le,lt._notifyChange()}},{key:"enableDebug",get:function(){return l.ENABLE_DEBUG},set:function(Le){l.ENABLE_DEBUG=Le,lt._notifyChange()}},{key:"enableVerbose",get:function(){return l.ENABLE_VERBOSE},set:function(Le){l.ENABLE_VERBOSE=Le,lt._notifyChange()}},{key:"enableInfo",get:function(){return l.ENABLE_INFO},set:function(Le){l.ENABLE_INFO=Le,lt._notifyChange()}},{key:"enableWarn",get:function(){return l.ENABLE_WARN},set:function(Le){l.ENABLE_WARN=Le,lt._notifyChange()}},{key:"enableError",get:function(){return l.ENABLE_ERROR},set:function(Le){l.ENABLE_ERROR=Le,lt._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:l.GLOBAL_TAG,forceGlobalTag:l.FORCE_GLOBAL_TAG,enableVerbose:l.ENABLE_VERBOSE,enableDebug:l.ENABLE_DEBUG,enableInfo:l.ENABLE_INFO,enableWarn:l.ENABLE_WARN,enableError:l.ENABLE_ERROR,enableCallback:l.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(Le){l.GLOBAL_TAG=Le.globalTag,l.FORCE_GLOBAL_TAG=Le.forceGlobalTag,l.ENABLE_VERBOSE=Le.enableVerbose,l.ENABLE_DEBUG=Le.enableDebug,l.ENABLE_INFO=Le.enableInfo,l.ENABLE_WARN=Le.enableWarn,l.ENABLE_ERROR=Le.enableError,l.ENABLE_CALLBACK=Le.enableCallback}},{key:"_notifyChange",value:function(){var Le=lt.emitter;if(Le.listenerCount("change")>0){var Ue=lt.getConfig();Le.emit("change",Ue)}}},{key:"registerListener",value:function(Le){lt.emitter.addListener("change",Le)}},{key:"removeListener",value:function(Le){lt.emitter.removeListener("change",Le)}},{key:"addLogListener",value:function(Le){l.emitter.addListener("log",Le),l.emitter.listenerCount("log")>0&&(l.ENABLE_CALLBACK=!0,lt._notifyChange())}},{key:"removeLogListener",value:function(Le){l.emitter.removeListener("log",Le),l.emitter.listenerCount("log")===0&&(l.ENABLE_CALLBACK=!1,lt._notifyChange())}}]),lt}();_e.emitter=new f.a;var Te=_e,We=function(){function lt(){Object(y.a)(this,lt),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(m.a)(lt,[{key:"isComplete",value:function(){var Le=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,Ue=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&&Le&&Ue}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(Le){if(this.keyframesIndex==null)return null;var Ue=this.keyframesIndex,Ye=this._search(Ue.times,Le);return{index:Ye,milliseconds:Ue.times[Ye],fileposition:Ue.filepositions[Ye]}}},{key:"_search",value:function(Le,Ue){var Ye=0,ft=Le.length-1,ir=0,Yt=0,rr=ft;for(Ue<Le[0]&&(Ye=0,Yt=rr+1);Yt<=rr;)if(ir=Yt+Math.floor((rr-Yt)/2),ir===ft||Ue>=Le[ir]&&Ue<Le[ir+1]){Ye=ir;break}else Le[ir]<Ue?Yt=ir+1:rr=ir-1;return Ye}}]),lt}(),Ae=We;function je(lt,ct,Le){var Ue=lt;if(ct+Le<Ue.length){for(;Le--;)if((Ue[++ct]&192)!==128)return!1;return!0}else return!1}function ee(lt){for(var ct=[],Le=lt,Ue=0,Ye=lt.length;Ue<Ye;){if(Le[Ue]<128){ct.push(String.fromCharCode(Le[Ue])),++Ue;continue}else if(!(Le[Ue]<192)){if(Le[Ue]<224){if(je(Le,Ue,1)){var ft=(Le[Ue]&31)<<6|Le[Ue+1]&63;if(ft>=128){ct.push(String.fromCharCode(ft&65535)),Ue+=2;continue}}}else if(Le[Ue]<240){if(je(Le,Ue,2)){var ir=(Le[Ue]&15)<<12|(Le[Ue+1]&63)<<6|Le[Ue+2]&63;if(ir>=2048&&(ir&63488)!==55296){ct.push(String.fromCharCode(ir&65535)),Ue+=3;continue}}}else if(Le[Ue]<248&&je(Le,Ue,3)){var Yt=(Le[Ue]&7)<<18|(Le[Ue+1]&63)<<12|(Le[Ue+2]&63)<<6|Le[Ue+3]&63;if(Yt>65536&&Yt<1114112){Yt-=65536,ct.push(String.fromCharCode(Yt>>>10|55296)),ct.push(String.fromCharCode(Yt&1023|56320)),Ue+=4;continue}}}ct.push(String.fromCharCode(65533)),++Ue}return ct.join("")}var he=ee,Ze=function(){var lt=new ArrayBuffer(2);return new DataView(lt).setInt16(0,256,!0),new Int16Array(lt)[0]===256}(),oe=function(){function lt(){Object(y.a)(this,lt)}return Object(m.a)(lt,null,[{key:"parseScriptData",value:function(Le,Ue,Ye){var ft={};try{var ir=lt.parseValue(Le,Ue,Ye),Yt=lt.parseValue(Le,Ue+ir.size,Ye-ir.size);ft[ir.data]=Yt.data}catch(rr){l.e("AMF",rr.toString())}return ft}},{key:"parseObject",value:function(Le,Ue,Ye){if(Ye<3)throw new c("Data not enough when parse ScriptDataObject");var ft=lt.parseString(Le,Ue,Ye),ir=lt.parseValue(Le,Ue+ft.size,Ye-ft.size),Yt=ir.objectEnd;return{data:{name:ft.data,value:ir.data},size:ft.size+ir.size,objectEnd:Yt}}},{key:"parseVariable",value:function(Le,Ue,Ye){return lt.parseObject(Le,Ue,Ye)}},{key:"parseString",value:function(Le,Ue,Ye){if(Ye<2)throw new c("Data not enough when parse String");var ft=new DataView(Le,Ue,Ye),ir=ft.getUint16(0,!Ze),Yt;return ir>0?Yt=he(new Uint8Array(Le,Ue+2,ir)):Yt="",{data:Yt,size:2+ir}}},{key:"parseLongString",value:function(Le,Ue,Ye){if(Ye<4)throw new c("Data not enough when parse LongString");var ft=new DataView(Le,Ue,Ye),ir=ft.getUint32(0,!Ze),Yt;return ir>0?Yt=he(new Uint8Array(Le,Ue+4,ir)):Yt="",{data:Yt,size:4+ir}}},{key:"parseDate",value:function(Le,Ue,Ye){if(Ye<10)throw new c("Data size invalid when parse Date");var ft=new DataView(Le,Ue,Ye),ir=ft.getFloat64(0,!Ze),Yt=ft.getInt16(8,!Ze);return ir+=Yt*60*1e3,{data:new Date(ir),size:8+2}}},{key:"parseValue",value:function(Le,Ue,Ye){if(Ye<1)throw new c("Data not enough when parse Value");var ft=new DataView(Le,Ue,Ye),ir=1,Yt=ft.getUint8(0),rr,Zr=!1;try{switch(Yt){case 0:rr=ft.getFloat64(1,!Ze),ir+=8;break;case 1:{var nn=ft.getUint8(1);rr=!!nn,ir+=1;break}case 2:{var Pn=lt.parseString(Le,Ue+1,Ye-1);rr=Pn.data,ir+=Pn.size;break}case 3:{rr={};var qt=0;for((ft.getUint32(Ye-4,!Ze)&16777215)===9&&(qt=3);ir<Ye-4;){var St=lt.parseObject(Le,Ue+ir,Ye-ir-qt);if(St.objectEnd)break;rr[St.data.name]=St.data.value,ir+=St.size}if(ir<=Ye-3){var At=ft.getUint32(ir-1,!Ze)&16777215;At===9&&(ir+=3)}break}case 8:{rr={},ir+=4;var cr=0;for((ft.getUint32(Ye-4,!Ze)&16777215)===9&&(cr=3);ir<Ye-8;){var or=lt.parseVariable(Le,Ue+ir,Ye-ir-cr);if(or.objectEnd)break;rr[or.data.name]=or.data.value,ir+=or.size}if(ir<=Ye-3){var Tt=ft.getUint32(ir-1,!Ze)&16777215;Tt===9&&(ir+=3)}break}case 9:rr=void 0,ir=1,Zr=!0;break;case 10:{rr=[];var Rt=ft.getUint32(1,!Ze);ir+=4;for(var _t=0;_t<Rt;_t++){var Zt=lt.parseValue(Le,Ue+ir,Ye-ir);rr.push(Zt.data),ir+=Zt.size}break}case 11:{var Nr=lt.parseDate(Le,Ue+1,Ye-1);rr=Nr.data,ir+=Nr.size;break}case 12:{var Sr=lt.parseString(Le,Ue+1,Ye-1);rr=Sr.data,ir+=Sr.size;break}default:ir=Ye,l.w("AMF","Unsupported AMF value type "+Yt)}}catch(br){l.e("AMF",br.toString())}return{data:rr,size:ir,objectEnd:Zr}}}]),lt}(),Q=oe,G=function(){function lt(ct){Object(y.a)(this,lt),this.TAG="ExpGolomb",this._buffer=ct,this._buffer_index=0,this._total_bytes=ct.byteLength,this._total_bits=ct.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(m.a)(lt,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var Le=this._total_bytes-this._buffer_index;if(Le<=0)throw new c("ExpGolomb: _fillCurrentWord() but no bytes available");var Ue=Math.min(4,Le),Ye=new Uint8Array(4);Ye.set(this._buffer.subarray(this._buffer_index,this._buffer_index+Ue)),this._current_word=new DataView(Ye.buffer).getUint32(0,!1),this._buffer_index+=Ue,this._current_word_bits_left=Ue*8}},{key:"readBits",value:function(Le){if(Le>32)throw new e("ExpGolomb: readBits() bits exceeded max 32bits!");if(Le<=this._current_word_bits_left){var Ue=this._current_word>>>32-Le;return this._current_word<<=Le,this._current_word_bits_left-=Le,Ue}var Ye=this._current_word_bits_left?this._current_word:0;Ye=Ye>>>32-this._current_word_bits_left;var ft=Le-this._current_word_bits_left;this._fillCurrentWord();var ir=Math.min(ft,this._current_word_bits_left),Yt=this._current_word>>>32-ir;return this._current_word<<=ir,this._current_word_bits_left-=ir,Ye=Ye<<ir|Yt,Ye}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var Le;for(Le=0;Le<this._current_word_bits_left;Le++)if((this._current_word&2147483648>>>Le)!==0)return this._current_word<<=Le,this._current_word_bits_left-=Le,Le;return this._fillCurrentWord(),Le+this._skipLeadingZero()}},{key:"readUEG",value:function(){var Le=this._skipLeadingZero();return this.readBits(Le+1)-1}},{key:"readSEG",value:function(){var Le=this.readUEG();return Le&1?Le+1>>>1:-1*(Le>>>1)}}]),lt}(),te=G,xe=function(){function lt(){Object(y.a)(this,lt)}return Object(m.a)(lt,null,[{key:"_ebsp2rbsp",value:function(Le){for(var Ue=Le,Ye=Ue.byteLength,ft=new Uint8Array(Ye),ir=0,Yt=0;Yt<Ye;Yt++){if(Yt>=2&&(Ue[Yt]===3&&Ue[Yt-1]===0&&Ue[Yt-2]===0))continue;ft[ir]=Ue[Yt],ir++}return new Uint8Array(ft.buffer,0,ir)}},{key:"parseSPS",value:function(Le){var Ue=lt._ebsp2rbsp(Le),Ye=new te(Ue);Ye.readByte();var ft=Ye.readByte();Ye.readByte();var ir=Ye.readByte();Ye.readUEG();var Yt=lt.getProfileString(ft),rr=lt.getLevelString(ir),Zr=1,nn=420,Pn=[0,420,422,444],qt=8;if((ft===100||ft===110||ft===122||ft===244||ft===44||ft===83||ft===86||ft===118||ft===128||ft===138||ft===144)&&(Zr=Ye.readUEG(),Zr===3&&Ye.readBits(1),Zr<=3&&(nn=Pn[Zr]),qt=Ye.readUEG()+8,Ye.readUEG(),Ye.readBits(1),Ye.readBool()))for(var St=Zr!==3?8:12,At=0;At<St;At++)Ye.readBool()&&(At<6?lt._skipScalingList(Ye,16):lt._skipScalingList(Ye,64));Ye.readUEG();var cr=Ye.readUEG();if(cr===0)Ye.readUEG();else if(cr===1){Ye.readBits(1),Ye.readSEG(),Ye.readSEG();for(var or=Ye.readUEG(),Tt=0;Tt<or;Tt++)Ye.readSEG()}var Rt=Ye.readUEG();Ye.readBits(1);var _t=Ye.readUEG(),Zt=Ye.readUEG(),Nr=Ye.readBits(1);Nr===0&&Ye.readBits(1),Ye.readBits(1);var Sr=0,br=0,hn=0,fn=0,ni=Ye.readBool();ni&&(Sr=Ye.readUEG(),br=Ye.readUEG(),hn=Ye.readUEG(),fn=Ye.readUEG());var mi=1,_i=1,Hi=0,aa=!0,Ra=0,it=0,Re=Ye.readBool();if(Re){if(Ye.readBool()){var Ke=Ye.readByte(),Ge=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],et=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Ke>0&&Ke<16?(mi=Ge[Ke-1],_i=et[Ke-1]):Ke===255&&(mi=Ye.readByte()<<8|Ye.readByte(),_i=Ye.readByte()<<8|Ye.readByte())}if(Ye.readBool()&&Ye.readBool(),Ye.readBool()&&(Ye.readBits(4),Ye.readBool()&&Ye.readBits(24)),Ye.readBool()&&(Ye.readUEG(),Ye.readUEG()),Ye.readBool()){var $e=Ye.readBits(32),st=Ye.readBits(32);aa=Ye.readBool(),Ra=st,it=$e*2,Hi=Ra/it}}var Lt=1;(mi!==1||_i!==1)&&(Lt=mi/_i);var vt=0,Qt=0;if(Zr===0)vt=1,Qt=2-Nr;else{var Fr=Zr===3?1:2,Lr=Zr===1?2:1;vt=Fr,Qt=Lr*(2-Nr)}var Gr=(_t+1)*16,$t=(2-Nr)*((Zt+1)*16);Gr-=(Sr+br)*vt,$t-=(hn+fn)*Qt;var Rn=Math.ceil(Gr*Lt);return Ye.destroy(),Ye=null,{profile_string:Yt,level_string:rr,bit_depth:qt,ref_frames:Rt,chroma_format:nn,chroma_format_string:lt.getChromaFormatString(nn),frame_rate:{fixed:aa,fps:Hi,fps_den:it,fps_num:Ra},sar_ratio:{width:mi,height:_i},codec_size:{width:Gr,height:$t},present_size:{width:Rn,height:$t}}}},{key:"_skipScalingList",value:function(Le,Ue){for(var Ye=8,ft=8,ir=0,Yt=0;Yt<Ue;Yt++)ft!==0&&(ir=Le.readSEG(),ft=(Ye+ir+256)%256),Ye=ft===0?Ye:ft}},{key:"getProfileString",value:function(Le){switch(Le){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(Le){return(Le/10).toFixed(1)}},{key:"getChromaFormatString",value:function(Le){switch(Le){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),lt}(),fe=xe,Be={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},Ne=Be;function de(lt){return lt>>>8&255|(lt&255)<<8}function ve(lt){return(lt&4278190080)>>>24|(lt&16711680)>>>8|(lt&65280)<<8|(lt&255)<<24}function Me(lt,ct){return lt[ct]<<24|lt[ct+1]<<16|lt[ct+2]<<8|lt[ct+3]}var qe=function(){function lt(ct,Le){Object(y.a)(this,lt),this.TAG="FLVDemuxer",this._config=Le,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=ct.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=ct.hasAudioTrack,this._hasVideo=ct.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Ae,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 Ue=new ArrayBuffer(2);return new DataView(Ue).setInt16(0,256,!0),new Int16Array(Ue)[0]===256}()}return Object(m.a)(lt,[{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(Le){return Le.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(Le){this._onTrackMetadata=Le}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(Le){this._onMediaInfo=Le}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(Le){this._onMetaDataArrived=Le}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(Le){this._onScriptDataArrived=Le}},{key:"onError",get:function(){return this._onError},set:function(Le){this._onError=Le}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(Le){this._onDataAvailable=Le}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(Le){this._timestampBase=Le}},{key:"overridedDuration",get:function(){return this._duration},set:function(Le){this._durationOverrided=!0,this._duration=Le,this._mediaInfo.duration=Le}},{key:"overridedHasAudio",set:function(Le){this._hasAudioFlagOverrided=!0,this._hasAudio=Le,this._mediaInfo.hasAudio=Le}},{key:"overridedHasVideo",set:function(Le){this._hasVideoFlagOverrided=!0,this._hasVideo=Le,this._mediaInfo.hasVideo=Le}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new Ae}},{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(Le,Ue){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new c("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Ye=0,ft=this._littleEndian;if(Ue===0)if(Le.byteLength>13){var ir=lt.probe(Le);Ye=ir.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,Ue+Ye!==this._dataOffset&&l.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Yt=new DataView(Le,Ye),rr=Yt.getUint32(0,!ft);rr!==0&&l.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Ye+=4}for(;Ye<Le.byteLength;){this._dispatch=!0;var Zr=new DataView(Le,Ye);if(Ye+11+4>Le.byteLength)break;var nn=Zr.getUint8(0),Pn=Zr.getUint32(0,!ft)&16777215;if(Ye+11+Pn+4>Le.byteLength)break;if(nn!==8&&nn!==9&&nn!==18){l.w(this.TAG,"Unsupported tag type ".concat(nn,", skipped")),Ye+=11+Pn+4;continue}var qt=Zr.getUint8(4),St=Zr.getUint8(5),At=Zr.getUint8(6),cr=Zr.getUint8(7),or=At|St<<8|qt<<16|cr<<24,Tt=Zr.getUint32(7,!ft)&16777215;Tt!==0&&l.w(this.TAG,"Meet tag which has StreamID != 0!");var Rt=Ye+11;switch(nn){case 8:this._parseAudioData(Le,Rt,Pn,or);break;case 9:this._parseVideoData(Le,Rt,Pn,or,Ue+Ye);break;case 18:this._parseScriptData(Le,Rt,Pn);break}var _t=Zr.getUint32(11+Pn,!ft);_t!==11+Pn&&l.w(this.TAG,"Invalid PrevTagSize ".concat(_t)),Ye+=11+Pn+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Ye}},{key:"_parseScriptData",value:function(Le,Ue,Ye){var ft=Q.parseScriptData(Le,Ue,Ye);if(ft.hasOwnProperty("onMetaData")){if(ft.onMetaData==null||typeof ft.onMetaData!="object"){l.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&l.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ft;var ir=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},ir)),typeof ir.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=ir.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof ir.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=ir.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof ir.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=ir.audiodatarate),typeof ir.videodatarate=="number"&&(this._mediaInfo.videoDataRate=ir.videodatarate),typeof ir.width=="number"&&(this._mediaInfo.width=ir.width),typeof ir.height=="number"&&(this._mediaInfo.height=ir.height),typeof ir.duration=="number"){if(!this._durationOverrided){var Yt=Math.floor(ir.duration*this._timescale);this._duration=Yt,this._mediaInfo.duration=Yt}}else this._mediaInfo.duration=0;if(typeof ir.framerate=="number"){var rr=Math.floor(ir.framerate*1e3);if(rr>0){var Zr=rr/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Zr,this._referenceFrameRate.fps_num=rr,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Zr}}if(typeof ir.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var nn=ir.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(nn),ir.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=ir,l.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ft).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ft)))}},{key:"_parseKeyframesIndex",value:function(Le){for(var Ue=[],Ye=[],ft=1;ft<Le.times.length;ft++){var ir=this._timestampBase+Math.floor(Le.times[ft]*1e3);Ue.push(ir),Ye.push(Le.filepositions[ft])}return{times:Ue,filepositions:Ye}}},{key:"_parseAudioData",value:function(Le,Ue,Ye,ft){if(Ye<=1){l.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var ir=this._littleEndian,Yt=new DataView(Le,Ue,Ye),rr=Yt.getUint8(0),Zr=rr>>>4;if(Zr!==2&&Zr!==10){this._onError(Ne.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Zr);return}var nn=0,Pn=(rr&12)>>>2;if(Pn>=0&&Pn<=4)nn=this._flvSoundRateTable[Pn];else{this._onError(Ne.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Pn);return}var qt=(rr&2)>>>1,St=rr&1,At=this._audioMetadata,cr=this._audioTrack;if(At||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),At=this._audioMetadata={},At.type="audio",At.id=cr.id,At.timescale=this._timescale,At.duration=this._duration,At.audioSampleRate=nn,At.channelCount=St===0?1:2),Zr===10){var or=this._parseAACAudioData(Le,Ue+1,Ye-1);if(or==null)return;if(or.packetType===0){At.config&&l.w(this.TAG,"Found another AudioSpecificConfig!");var Tt=or.data;At.audioSampleRate=Tt.samplingRate,At.channelCount=Tt.channelCount,At.codec=Tt.codec,At.originalCodec=Tt.originalCodec,At.config=Tt.config,At.refSampleDuration=1024/At.audioSampleRate*At.timescale,l.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",At);var Rt=this._mediaInfo;Rt.audioCodec=At.originalCodec,Rt.audioSampleRate=At.audioSampleRate,Rt.audioChannelCount=At.channelCount,Rt.hasVideo?Rt.videoCodec!=null&&(Rt.mimeType='video/x-flv; codecs="'+Rt.videoCodec+","+Rt.audioCodec+'"'):Rt.mimeType='video/x-flv; codecs="'+Rt.audioCodec+'"',Rt.isComplete()&&this._onMediaInfo(Rt)}else if(or.packetType===1){var _t=this._timestampBase+ft,Zt={unit:or.data,length:or.data.byteLength,dts:_t,pts:_t};cr.samples.push(Zt),cr.length+=or.data.length}else l.e(this.TAG,"Flv: Unsupported AAC data type ".concat(or.packetType))}else if(Zr===2){if(!At.codec){var Nr=this._parseMP3AudioData(Le,Ue+1,Ye-1,!0);if(Nr==null)return;At.audioSampleRate=Nr.samplingRate,At.channelCount=Nr.channelCount,At.codec=Nr.codec,At.originalCodec=Nr.originalCodec,At.refSampleDuration=1152/At.audioSampleRate*At.timescale,l.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",At);var Sr=this._mediaInfo;Sr.audioCodec=At.codec,Sr.audioSampleRate=At.audioSampleRate,Sr.audioChannelCount=At.channelCount,Sr.audioDataRate=Nr.bitRate,Sr.hasVideo?Sr.videoCodec!=null&&(Sr.mimeType='video/x-flv; codecs="'+Sr.videoCodec+","+Sr.audioCodec+'"'):Sr.mimeType='video/x-flv; codecs="'+Sr.audioCodec+'"',Sr.isComplete()&&this._onMediaInfo(Sr)}var br=this._parseMP3AudioData(Le,Ue+1,Ye-1,!1);if(br==null)return;var hn=this._timestampBase+ft,fn={unit:br,length:br.byteLength,dts:hn,pts:hn};cr.samples.push(fn),cr.length+=br.length}}},{key:"_parseAACAudioData",value:function(Le,Ue,Ye){if(Ye<=1){l.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var ft={},ir=new Uint8Array(Le,Ue,Ye);return ft.packetType=ir[0],ir[0]===0?ft.data=this._parseAACAudioSpecificConfig(Le,Ue+1,Ye-1):ft.data=ir.subarray(1),ft}},{key:"_parseAACAudioSpecificConfig",value:function(Le,Ue,Ye){var ft=new Uint8Array(Le,Ue,Ye),ir=null,Yt=0,rr=0,Zr=null,nn=0,Pn=null;if(Yt=rr=ft[0]>>>3,nn=(ft[0]&7)<<1|ft[1]>>>7,nn<0||nn>=this._mpegSamplingRates.length){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var qt=this._mpegSamplingRates[nn],St=(ft[1]&120)>>>3;if(St<0||St>=8){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Yt===5&&(Pn=(ft[1]&7)<<1|ft[2]>>>7,Zr=(ft[2]&124)>>>2);var At=self.navigator.userAgent.toLowerCase();return At.indexOf("firefox")!==-1?nn>=6?(Yt=5,ir=new Array(4),Pn=nn-3):(Yt=2,ir=new Array(2),Pn=nn):At.indexOf("android")!==-1?(Yt=2,ir=new Array(2),Pn=nn):(Yt=5,Pn=nn,ir=new Array(4),nn>=6?Pn=nn-3:St===1&&(Yt=2,ir=new Array(2),Pn=nn)),ir[0]=Yt<<3,ir[0]|=(nn&15)>>>1,ir[1]=(nn&15)<<7,ir[1]|=(St&15)<<3,Yt===5&&(ir[1]|=(Pn&15)>>>1,ir[2]=(Pn&1)<<7,ir[2]|=2<<2,ir[3]=0),{config:ir,samplingRate:qt,channelCount:St,codec:"mp4a.40."+Yt,originalCodec:"mp4a.40."+rr}}},{key:"_parseMP3AudioData",value:function(Le,Ue,Ye,ft){if(Ye<4){l.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var ir=this._littleEndian,Yt=new Uint8Array(Le,Ue,Ye),rr=null;if(ft){if(Yt[0]!==255)return;var Zr=Yt[1]>>>3&3,nn=(Yt[1]&6)>>1,Pn=(Yt[2]&240)>>>4,qt=(Yt[2]&12)>>>2,St=Yt[3]>>>6&3,At=St!==3?2:1,cr=0,or=0,Tt=34,Rt="mp3";switch(Zr){case 0:cr=this._mpegAudioV25SampleRateTable[qt];break;case 2:cr=this._mpegAudioV20SampleRateTable[qt];break;case 3:cr=this._mpegAudioV10SampleRateTable[qt];break}switch(nn){case 1:Tt=34,Pn<this._mpegAudioL3BitRateTable.length&&(or=this._mpegAudioL3BitRateTable[Pn]);break;case 2:Tt=33,Pn<this._mpegAudioL2BitRateTable.length&&(or=this._mpegAudioL2BitRateTable[Pn]);break;case 3:Tt=32,Pn<this._mpegAudioL1BitRateTable.length&&(or=this._mpegAudioL1BitRateTable[Pn]);break}rr={bitRate:or,samplingRate:cr,channelCount:At,codec:Rt,originalCodec:Rt}}else rr=Yt;return rr}},{key:"_parseVideoData",value:function(Le,Ue,Ye,ft,ir){if(Ye<=1){l.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var Yt=new Uint8Array(Le,Ue,Ye)[0],rr=(Yt&240)>>>4,Zr=Yt&15;if(Zr!==7){this._onError(Ne.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Zr));return}this._parseAVCVideoPacket(Le,Ue+1,Ye-1,ft,ir,rr)}},{key:"_parseAVCVideoPacket",value:function(Le,Ue,Ye,ft,ir,Yt){if(Ye<4){l.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var rr=this._littleEndian,Zr=new DataView(Le,Ue,Ye),nn=Zr.getUint8(0),Pn=Zr.getUint32(0,!rr)&16777215,qt=Pn<<8>>8;if(nn===0)this._parseAVCDecoderConfigurationRecord(Le,Ue+4,Ye-4);else if(nn===1)this._parseAVCVideoData(Le,Ue+4,Ye-4,ft,ir,Yt,qt);else if(!(nn===2)){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(nn));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(Le,Ue,Ye){if(Ye<7){l.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var ft=this._videoMetadata,ir=this._videoTrack,Yt=this._littleEndian,rr=new DataView(Le,Ue,Ye);ft?typeof ft.avcc!="undefined"&&l.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ft=this._videoMetadata={},ft.type="video",ft.id=ir.id,ft.timescale=this._timescale,ft.duration=this._duration);var Zr=rr.getUint8(0),nn=rr.getUint8(1),Pn=rr.getUint8(2),qt=rr.getUint8(3);if(Zr!==1||nn===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(rr.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Ne.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var St=rr.getUint8(5)&31;if(St===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else St>1&&l.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(St));for(var At=6,cr=0;cr<St;cr++){var or=rr.getUint16(At,!Yt);if(At+=2,or===0)continue;var Tt=new Uint8Array(Le,Ue+At,or);At+=or;var Rt=fe.parseSPS(Tt);if(cr!==0)continue;ft.codecWidth=Rt.codec_size.width,ft.codecHeight=Rt.codec_size.height,ft.presentWidth=Rt.present_size.width,ft.presentHeight=Rt.present_size.height,ft.profile=Rt.profile_string,ft.level=Rt.level_string,ft.bitDepth=Rt.bit_depth,ft.chromaFormat=Rt.chroma_format,ft.sarRatio=Rt.sar_ratio,ft.frameRate=Rt.frame_rate,(Rt.frame_rate.fixed===!1||Rt.frame_rate.fps_num===0||Rt.frame_rate.fps_den===0)&&(ft.frameRate=this._referenceFrameRate);var _t=ft.frameRate.fps_den,Zt=ft.frameRate.fps_num;ft.refSampleDuration=ft.timescale*(_t/Zt);for(var Nr=Tt.subarray(1,4),Sr="avc1.",br=0;br<3;br++){var hn=Nr[br].toString(16);hn.length<2&&(hn="0"+hn),Sr+=hn}ft.codec=Sr;var fn=this._mediaInfo;fn.width=ft.codecWidth,fn.height=ft.codecHeight,fn.fps=ft.frameRate.fps,fn.profile=ft.profile,fn.level=ft.level,fn.refFrames=Rt.ref_frames,fn.chromaFormat=Rt.chroma_format_string,fn.sarNum=ft.sarRatio.width,fn.sarDen=ft.sarRatio.height,fn.videoCodec=Sr,fn.hasAudio?fn.audioCodec!=null&&(fn.mimeType='video/x-flv; codecs="'+fn.videoCodec+","+fn.audioCodec+'"'):fn.mimeType='video/x-flv; codecs="'+fn.videoCodec+'"',fn.isComplete()&&this._onMediaInfo(fn)}var ni=rr.getUint8(At);if(ni===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else ni>1&&l.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(ni));At++;for(var mi=0;mi<ni;mi++){var _i=rr.getUint16(At,!Yt);if(At+=2,_i===0)continue;At+=_i}ft.avcc=new Uint8Array(Ye),ft.avcc.set(new Uint8Array(Le,Ue,Ye),0),l.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",ft)}},{key:"_parseAVCVideoData",value:function(Le,Ue,Ye,ft,ir,Yt,rr){for(var Zr=this._littleEndian,nn=new DataView(Le,Ue,Ye),Pn=[],qt=0,St=0,At=this._naluLengthSize,cr=this._timestampBase+ft,or=Yt===1;St<Ye;){if(St+4>=Ye){l.w(this.TAG,"Malformed Nalu near timestamp ".concat(cr,", offset = ").concat(St,", dataSize = ").concat(Ye));break}var Tt=nn.getUint32(St,!Zr);if(At===3&&(Tt>>>=8),Tt>Ye-At){l.w(this.TAG,"Malformed Nalus near timestamp ".concat(cr,", NaluSize > DataSize!"));return}var Rt=nn.getUint8(St+At)&31;Rt===5&&(or=!0);var _t=new Uint8Array(Le,Ue+St,At+Tt),Zt={type:Rt,data:_t};Pn.push(Zt),qt+=_t.byteLength,St+=At+Tt}if(Pn.length){var Nr=this._videoTrack,Sr={units:Pn,length:qt,isKeyframe:or,dts:cr,cts:rr,pts:cr+rr};or&&(Sr.fileposition=ir),Nr.samples.push(Sr),Nr.length+=qt}}}],[{key:"probe",value:function(Le){var Ue=new Uint8Array(Le),Ye={match:!1};if(Ue[0]!==70||Ue[1]!==76||Ue[2]!==86||Ue[3]!==1)return Ye;var ft=(Ue[4]&4)>>>2!==0,ir=(Ue[4]&1)!==0,Yt=Me(Ue,5);return Yt<9?Ye:{match:!0,consumed:Yt,dataOffset:Yt,hasAudioTrack:ft,hasVideoTrack:ir}}}]),lt}(),gt=qe,ht=function(){function lt(){Object(y.a)(this,lt)}return Object(m.a)(lt,null,[{key:"init",value:function(){lt.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 Le in lt.types)lt.types.hasOwnProperty(Le)&&(lt.types[Le]=[Le.charCodeAt(0),Le.charCodeAt(1),Le.charCodeAt(2),Le.charCodeAt(3)]);var Ue=lt.constants={};Ue.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),Ue.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),Ue.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),Ue.STSC=Ue.STCO=Ue.STTS,Ue.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Ue.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]),Ue.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]),Ue.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Ue.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Ue.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(Le){for(var Ue=8,Ye=null,ft=Array.prototype.slice.call(arguments,1),ir=ft.length,Yt=0;Yt<ir;Yt++)Ue+=ft[Yt].byteLength;Ye=new Uint8Array(Ue),Ye[0]=Ue>>>24&255,Ye[1]=Ue>>>16&255,Ye[2]=Ue>>>8&255,Ye[3]=Ue&255,Ye.set(Le,4);for(var rr=8,Zr=0;Zr<ir;Zr++)Ye.set(ft[Zr],rr),rr+=ft[Zr].byteLength;return Ye}},{key:"generateInitSegment",value:function(Le){var Ue=lt.box(lt.types.ftyp,lt.constants.FTYP),Ye=lt.moov(Le),ft=new Uint8Array(Ue.byteLength+Ye.byteLength);return ft.set(Ue,0),ft.set(Ye,Ue.byteLength),ft}},{key:"moov",value:function(Le){var Ue=lt.mvhd(Le.timescale,Le.duration),Ye=lt.trak(Le),ft=lt.mvex(Le);return lt.box(lt.types.moov,Ue,Ye,ft)}},{key:"mvhd",value:function(Le,Ue){return lt.box(lt.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&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(Le){return lt.box(lt.types.trak,lt.tkhd(Le),lt.mdia(Le))}},{key:"tkhd",value:function(Le){var Ue=Le.id,Ye=Le.duration,ft=Le.presentWidth,ir=Le.presentHeight;return lt.box(lt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&255,0,0,0,0,Ye>>>24&255,Ye>>>16&255,Ye>>>8&255,Ye&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,ft>>>8&255,ft&255,0,0,ir>>>8&255,ir&255,0,0]))}},{key:"mdia",value:function(Le){return lt.box(lt.types.mdia,lt.mdhd(Le),lt.hdlr(Le),lt.minf(Le))}},{key:"mdhd",value:function(Le){var Ue=Le.timescale,Ye=Le.duration;return lt.box(lt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&255,Ye>>>24&255,Ye>>>16&255,Ye>>>8&255,Ye&255,85,196,0,0]))}},{key:"hdlr",value:function(Le){var Ue=null;return Le.type==="audio"?Ue=lt.constants.HDLR_AUDIO:Ue=lt.constants.HDLR_VIDEO,lt.box(lt.types.hdlr,Ue)}},{key:"minf",value:function(Le){var Ue=null;return Le.type==="audio"?Ue=lt.box(lt.types.smhd,lt.constants.SMHD):Ue=lt.box(lt.types.vmhd,lt.constants.VMHD),lt.box(lt.types.minf,Ue,lt.dinf(),lt.stbl(Le))}},{key:"dinf",value:function(){var Le=lt.box(lt.types.dinf,lt.box(lt.types.dref,lt.constants.DREF));return Le}},{key:"stbl",value:function(Le){var Ue=lt.box(lt.types.stbl,lt.stsd(Le),lt.box(lt.types.stts,lt.constants.STTS),lt.box(lt.types.stsc,lt.constants.STSC),lt.box(lt.types.stsz,lt.constants.STSZ),lt.box(lt.types.stco,lt.constants.STCO));return Ue}},{key:"stsd",value:function(Le){return Le.type==="audio"?Le.codec==="mp3"?lt.box(lt.types.stsd,lt.constants.STSD_PREFIX,lt.mp3(Le)):lt.box(lt.types.stsd,lt.constants.STSD_PREFIX,lt.mp4a(Le)):lt.box(lt.types.stsd,lt.constants.STSD_PREFIX,lt.avc1(Le))}},{key:"mp3",value:function(Le){var Ue=Le.channelCount,Ye=Le.audioSampleRate,ft=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Ue,0,16,0,0,0,0,Ye>>>8&255,Ye&255,0,0]);return lt.box(lt.types[".mp3"],ft)}},{key:"mp4a",value:function(Le){var Ue=Le.channelCount,Ye=Le.audioSampleRate,ft=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Ue,0,16,0,0,0,0,Ye>>>8&255,Ye&255,0,0]);return lt.box(lt.types.mp4a,ft,lt.esds(Le))}},{key:"esds",value:function(Le){var Ue=Le.config||[],Ye=Ue.length,ft=new Uint8Array([0,0,0,0,3,23+Ye,0,1,0,4,15+Ye,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Ye]).concat(Ue).concat([6,1,2]));return lt.box(lt.types.esds,ft)}},{key:"avc1",value:function(Le){var Ue=Le.avcc,Ye=Le.codecWidth,ft=Le.codecHeight,ir=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,Ye>>>8&255,Ye&255,ft>>>8&255,ft&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 lt.box(lt.types.avc1,ir,lt.box(lt.types.avcC,Ue))}},{key:"mvex",value:function(Le){return lt.box(lt.types.mvex,lt.trex(Le))}},{key:"trex",value:function(Le){var Ue=Le.id,Ye=new Uint8Array([0,0,0,0,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return lt.box(lt.types.trex,Ye)}},{key:"moof",value:function(Le,Ue){return lt.box(lt.types.moof,lt.mfhd(Le.sequenceNumber),lt.traf(Le,Ue))}},{key:"mfhd",value:function(Le){var Ue=new Uint8Array([0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255]);return lt.box(lt.types.mfhd,Ue)}},{key:"traf",value:function(Le,Ue){var Ye=Le.id,ft=lt.box(lt.types.tfhd,new Uint8Array([0,0,0,0,Ye>>>24&255,Ye>>>16&255,Ye>>>8&255,Ye&255])),ir=lt.box(lt.types.tfdt,new Uint8Array([0,0,0,0,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&255])),Yt=lt.sdtp(Le),rr=lt.trun(Le,Yt.byteLength+16+16+8+16+8+8);return lt.box(lt.types.traf,ft,ir,rr,Yt)}},{key:"sdtp",value:function(Le){for(var Ue=Le.samples||[],Ye=Ue.length,ft=new Uint8Array(4+Ye),ir=0;ir<Ye;ir++){var Yt=Ue[ir].flags;ft[ir+4]=Yt.isLeading<<6|Yt.dependsOn<<4|Yt.isDependedOn<<2|Yt.hasRedundancy}return lt.box(lt.types.sdtp,ft)}},{key:"trun",value:function(Le,Ue){var Ye=Le.samples||[],ft=Ye.length,ir=12+16*ft,Yt=new Uint8Array(ir);Ue+=8+ir,Yt.set([0,0,15,1,ft>>>24&255,ft>>>16&255,ft>>>8&255,ft&255,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&255],0);for(var rr=0;rr<ft;rr++){var Zr=Ye[rr].duration,nn=Ye[rr].size,Pn=Ye[rr].flags,qt=Ye[rr].cts;Yt.set([Zr>>>24&255,Zr>>>16&255,Zr>>>8&255,Zr&255,nn>>>24&255,nn>>>16&255,nn>>>8&255,nn&255,Pn.isLeading<<2|Pn.dependsOn,Pn.isDependedOn<<6|Pn.hasRedundancy<<4|Pn.isNonSync,0,0,qt>>>24&255,qt>>>16&255,qt>>>8&255,qt&255],12+16*rr)}return lt.box(lt.types.trun,Yt)}},{key:"mdat",value:function(Le){return lt.box(lt.types.mdat,Le)}}]),lt}();ht.init();var Pe=ht,It=function(){function lt(){Object(y.a)(this,lt)}return Object(m.a)(lt,null,[{key:"getSilentFrame",value:function(Le,Ue){if(Le==="mp4a.40.2"){if(Ue===1)return new Uint8Array([0,200,0,128,35,128]);if(Ue===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(Ue===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(Ue===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(Ue===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(Ue===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(Ue===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(Ue===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(Ue===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}}]),lt}(),nt=It,Nt=Object(m.a)(function lt(ct,Le,Ue,Ye,ft){Object(y.a)(this,lt),this.dts=ct,this.pts=Le,this.duration=Ue,this.originalDts=Ye,this.isSyncPoint=ft,this.fileposition=null}),Bt=function(){function lt(){Object(y.a)(this,lt),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(m.a)(lt,[{key:"appendSyncPoint",value:function(Le){Le.isSyncPoint=!0,this.syncPoints.push(Le)}}]),lt}(),Pt=function(){function lt(){Object(y.a)(this,lt),this._list=[]}return Object(m.a)(lt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(Le){var Ue=this._list;if(Le.length===0)return;Ue.length>0&&Le[0].originalDts<Ue[Ue.length-1].originalDts&&this.clear(),Array.prototype.push.apply(Ue,Le)}},{key:"getLastSyncPointBeforeDts",value:function(Le){if(this._list.length==0)return null;var Ue=this._list,Ye=0,ft=Ue.length-1,ir=0,Yt=0,rr=ft;for(Le<Ue[0].dts&&(Ye=0,Yt=rr+1);Yt<=rr;)if(ir=Yt+Math.floor((rr-Yt)/2),ir===ft||Le>=Ue[ir].dts&&Le<Ue[ir+1].dts){Ye=ir;break}else Ue[ir].dts<Le?Yt=ir+1:rr=ir-1;return this._list[Ye]}}]),lt}(),jt=function(){function lt(ct){Object(y.a)(this,lt),this._type=ct,this._list=[],this._lastAppendLocation=-1}return Object(m.a)(lt,[{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(Le){var Ue=this._list;if(Ue.length===0)return-2;var Ye=Ue.length-1,ft=0,ir=0,Yt=Ye,rr=0;if(Le<Ue[0].originalBeginDts)return rr=-1,rr;for(;ir<=Yt;)if(ft=ir+Math.floor((Yt-ir)/2),ft===Ye||Le>Ue[ft].lastSample.originalDts&&Le<Ue[ft+1].originalBeginDts){rr=ft;break}else Ue[ft].originalBeginDts<Le?ir=ft+1:Yt=ft-1;return rr}},{key:"_searchNearestSegmentAfter",value:function(Le){return this._searchNearestSegmentBefore(Le)+1}},{key:"append",value:function(Le){var Ue=this._list,Ye=Le,ft=this._lastAppendLocation,ir=0;ft!==-1&&ft<Ue.length&&Ye.originalBeginDts>=Ue[ft].lastSample.originalDts&&(ft===Ue.length-1||ft<Ue.length-1&&Ye.originalBeginDts<Ue[ft+1].originalBeginDts)?ir=ft+1:Ue.length>0&&(ir=this._searchNearestSegmentBefore(Ye.originalBeginDts)+1),this._lastAppendLocation=ir,this._list.splice(ir,0,Ye)}},{key:"getLastSegmentBefore",value:function(Le){var Ue=this._searchNearestSegmentBefore(Le);return Ue>=0?this._list[Ue]:null}},{key:"getLastSampleBefore",value:function(Le){var Ue=this.getLastSegmentBefore(Le);return Ue!=null?Ue.lastSample:null}},{key:"getLastSyncPointBefore",value:function(Le){for(var Ue=this._searchNearestSegmentBefore(Le),Ye=this._list[Ue].syncPoints;Ye.length===0&&Ue>0;)Ue--,Ye=this._list[Ue].syncPoints;return Ye.length>0?Ye[Ye.length-1]:null}}]),lt}(),er=function(){function lt(ct){Object(y.a)(this,lt),this.TAG="MP4Remuxer",this._config=ct,this._isLive=ct.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 jt("audio"),this._videoSegmentInfoList=new jt("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(m.a)(lt,[{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(Le){return Le.onDataAvailable=this.remux.bind(this),Le.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(Le){this._onInitSegment=Le}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(Le){this._onMediaSegment=Le}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(Le){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(Le,Ue){if(!this._onMediaSegment)throw new c("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(Le,Ue),this._remuxVideo(Ue),this._remuxAudio(Le)}},{key:"_onTrackMetadataReceived",value:function(Le,Ue){var Ye=null,ft="mp4",ir=Ue.codec;if(Le==="audio")this._audioMeta=Ue,Ue.codec==="mp3"&&this._mp3UseMpegAudio?(ft="mpeg",ir="",Ye=new Uint8Array):Ye=Pe.generateInitSegment(Ue);else if(Le==="video")this._videoMeta=Ue,Ye=Pe.generateInitSegment(Ue);else return;if(!this._onInitSegment)throw new c("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(Le,{type:Le,data:Ye.buffer,codec:ir,container:"".concat(Le,"/").concat(ft),mediaDuration:Ue.duration})}},{key:"_calculateDtsBase",value:function(Le,Ue){if(this._dtsBaseInited)return;Le.samples&&Le.samples.length&&(this._audioDtsBase=Le.samples[0].dts),Ue.samples&&Ue.samples.length&&(this._videoDtsBase=Ue.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var Le=this._videoStashedLastSample,Ue=this._audioStashedLastSample,Ye={type:"video",id:1,sequenceNumber:0,samples:[],length:0};Le!=null&&(Ye.samples.push(Le),Ye.length=Le.length);var ft={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};Ue!=null&&(ft.samples.push(Ue),ft.length=Ue.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Ye,!0),this._remuxAudio(ft,!0)}},{key:"_remuxAudio",value:function(Le,Ue){if(this._audioMeta==null)return;var Ye=Le,ft=Ye.samples,ir=void 0,Yt=-1,rr=-1,Zr=-1,nn=this._audioMeta.refSampleDuration,Pn=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,qt=this._dtsBaseInited&&this._audioNextDts===void 0,St=!1;if(!ft||ft.length===0)return;if(ft.length===1&&!Ue)return;var At=0,cr=null,or=0;Pn?(At=0,or=Ye.length):(At=8,or=8+Ye.length);var Tt=null;if(ft.length>1&&(Tt=ft.pop(),or-=Tt.length),this._audioStashedLastSample!=null){var Rt=this._audioStashedLastSample;this._audioStashedLastSample=null,ft.unshift(Rt),or+=Rt.length}Tt!=null&&(this._audioStashedLastSample=Tt);var _t=ft[0].dts-this._dtsBase;if(this._audioNextDts)ir=_t-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())ir=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(St=!0));else{var Zt=this._audioSegmentInfoList.getLastSampleBefore(_t);if(Zt!=null){var Nr=_t-(Zt.originalDts+Zt.duration);Nr<=3&&(Nr=0);var Sr=Zt.dts+Zt.duration+Nr;ir=_t-Sr}else ir=0}if(St){var br=_t-ir,hn=this._videoSegmentInfoList.getLastSegmentBefore(_t);if(hn!=null&&hn.beginDts<br){var fn=nt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(fn){var ni=hn.beginDts,mi=br-hn.beginDts;l.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(ni,", duration: ").concat(mi)),ft.unshift({unit:fn,dts:ni,pts:ni}),or+=fn.byteLength}}else St=!1}for(var _i=[],Hi=0;Hi<ft.length;Hi++){var aa=ft[Hi],Ra=aa.unit,it=aa.dts-this._dtsBase,Re=it-ir;Yt===-1&&(Yt=Re);var Ke=0;if(Hi!==ft.length-1){var Ge=ft[Hi+1].dts-this._dtsBase-ir;Ke=Ge-Re}else if(Tt!=null){var et=Tt.dts-this._dtsBase-ir;Ke=et-Re}else _i.length>=1?Ke=_i[_i.length-1].duration:Ke=Math.floor(nn);var $e=!1,st=null;if(Ke>nn*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!T.safari){$e=!0;var Lt=Math.abs(Ke-nn),vt=Math.ceil(Lt/nn),Qt=Re+nn;l.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(Re+Ke," ms, expected: ").concat(Re+Math.round(nn)," ms, ")+"delta: ".concat(Math.round(Lt)," ms, generate: ").concat(vt," frames"));var Fr=nt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Fr==null&&(l.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),Fr=Ra),st=[];for(var Lr=0;Lr<vt;Lr++){var Gr=Math.round(Qt);if(st.length>0){var $t=st[st.length-1];$t.duration=Gr-$t.dts}var Rn={dts:Gr,pts:Gr,cts:0,unit:Fr,size:Fr.byteLength,duration:0,originalDts:it,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};st.push(Rn),or+=Rn.size,Qt+=nn}var wr=st[st.length-1];wr.duration=Re+Ke-wr.dts,Ke=Math.round(nn)}_i.push({dts:Re,pts:Re,cts:0,unit:aa.unit,size:aa.unit.byteLength,duration:Ke,originalDts:it,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),$e&&_i.push.apply(_i,st)}Pn?cr=new Uint8Array(or):(cr=new Uint8Array(or),cr[0]=or>>>24&255,cr[1]=or>>>16&255,cr[2]=or>>>8&255,cr[3]=or&255,cr.set(Pe.types.mdat,4));for(var pn=0;pn<_i.length;pn++){var rn=_i[pn].unit;cr.set(rn,At),At+=rn.byteLength}var Br=_i[_i.length-1];rr=Br.dts+Br.duration,this._audioNextDts=rr;var Yn=new Bt;Yn.beginDts=Yt,Yn.endDts=rr,Yn.beginPts=Yt,Yn.endPts=rr,Yn.originalBeginDts=_i[0].originalDts,Yn.originalEndDts=Br.originalDts+Br.duration,Yn.firstSample=new Nt(_i[0].dts,_i[0].pts,_i[0].duration,_i[0].originalDts,!1),Yn.lastSample=new Nt(Br.dts,Br.pts,Br.duration,Br.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Yn),Ye.samples=_i,Ye.sequenceNumber++;var xi=null;Pn?xi=new Uint8Array:xi=Pe.moof(Ye,Yt),Ye.samples=[],Ye.length=0;var Li={type:"audio",data:this._mergeBoxes(xi,cr).buffer,sampleCount:_i.length,info:Yn};Pn&&qt&&(Li.timestampOffset=Yt),this._onMediaSegment("audio",Li)}},{key:"_remuxVideo",value:function(Le,Ue){if(this._videoMeta==null)return;var Ye=Le,ft=Ye.samples,ir=void 0,Yt=-1,rr=-1,Zr=-1,nn=-1;if(!ft||ft.length===0)return;if(ft.length===1&&!Ue)return;var Pn=8,qt=null,St=8+Le.length,At=null;if(ft.length>1&&(At=ft.pop(),St-=At.length),this._videoStashedLastSample!=null){var cr=this._videoStashedLastSample;this._videoStashedLastSample=null,ft.unshift(cr),St+=cr.length}At!=null&&(this._videoStashedLastSample=At);var or=ft[0].dts-this._dtsBase;if(this._videoNextDts)ir=or-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())ir=0;else{var Tt=this._videoSegmentInfoList.getLastSampleBefore(or);if(Tt!=null){var Rt=or-(Tt.originalDts+Tt.duration);Rt<=3&&(Rt=0);var _t=Tt.dts+Tt.duration+Rt;ir=or-_t}else ir=0}for(var Zt=new Bt,Nr=[],Sr=0;Sr<ft.length;Sr++){var br=ft[Sr],hn=br.dts-this._dtsBase,fn=br.isKeyframe,ni=hn-ir,mi=br.cts,_i=ni+mi;Yt===-1&&(Yt=ni,Zr=_i);var Hi=0;if(Sr!==ft.length-1){var aa=ft[Sr+1].dts-this._dtsBase-ir;Hi=aa-ni}else if(At!=null){var Ra=At.dts-this._dtsBase-ir;Hi=Ra-ni}else Nr.length>=1?Hi=Nr[Nr.length-1].duration:Hi=Math.floor(this._videoMeta.refSampleDuration);if(fn){var it=new Nt(ni,_i,Hi,br.dts,!0);it.fileposition=br.fileposition,Zt.appendSyncPoint(it)}Nr.push({dts:ni,pts:_i,cts:mi,units:br.units,size:br.length,isKeyframe:fn,duration:Hi,originalDts:hn,flags:{isLeading:0,dependsOn:fn?2:1,isDependedOn:fn?1:0,hasRedundancy:0,isNonSync:fn?0:1}})}qt=new Uint8Array(St),qt[0]=St>>>24&255,qt[1]=St>>>16&255,qt[2]=St>>>8&255,qt[3]=St&255,qt.set(Pe.types.mdat,4);for(var Re=0;Re<Nr.length;Re++)for(var Ke=Nr[Re].units;Ke.length;){var Ge=Ke.shift(),et=Ge.data;qt.set(et,Pn),Pn+=et.byteLength}var $e=Nr[Nr.length-1];if(rr=$e.dts+$e.duration,nn=$e.pts+$e.duration,this._videoNextDts=rr,Zt.beginDts=Yt,Zt.endDts=rr,Zt.beginPts=Zr,Zt.endPts=nn,Zt.originalBeginDts=Nr[0].originalDts,Zt.originalEndDts=$e.originalDts+$e.duration,Zt.firstSample=new Nt(Nr[0].dts,Nr[0].pts,Nr[0].duration,Nr[0].originalDts,Nr[0].isKeyframe),Zt.lastSample=new Nt($e.dts,$e.pts,$e.duration,$e.originalDts,$e.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Zt),Ye.samples=Nr,Ye.sequenceNumber++,this._forceFirstIDR){var st=Nr[0].flags;st.dependsOn=2,st.isNonSync=0}var Lt=Pe.moof(Ye,Yt);Ye.samples=[],Ye.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(Lt,qt).buffer,sampleCount:Nr.length,info:Zt})}},{key:"_mergeBoxes",value:function(Le,Ue){var Ye=new Uint8Array(Le.byteLength+Ue.byteLength);return Ye.set(Le,0),Ye.set(Ue,Le.byteLength),Ye}}]),lt}(),at=er,Ce={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},ue=Ce,Dt=function(){function lt(ct,Le){Object(y.a)(this,lt),this.TAG="TransmuxingController",this._emitter=new f.a,this._config=Le,ct.segments||(ct.segments=[{duration:ct.duration,filesize:ct.filesize,url:ct.url}]),typeof ct.cors!="boolean"&&(ct.cors=!0),typeof ct.withCredentials!="boolean"&&(ct.withCredentials=!1),this._mediaDataSource=ct,this._currentSegmentIndex=0;var Ue=0;this._mediaDataSource.segments.forEach(function(Ye){Ye.timestampBase=Ue,Ue+=Ye.duration,Ye.cors=ct.cors,Ye.withCredentials=ct.withCredentials,Le.referrerPolicy&&(Ye.referrerPolicy=Le.referrerPolicy)}),!isNaN(Ue)&&this._mediaDataSource.duration!==Ue&&(this._mediaDataSource.duration=Ue),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(m.a)(lt,[{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(Le,Ue){this._emitter.addListener(Le,Ue)}},{key:"off",value:function(Le,Ue){this._emitter.removeListener(Le,Ue)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(Le,Ue){this._currentSegmentIndex=Le;var Ye=this._mediaDataSource.segments[Le],ft=this._ioctl=new q(Ye,this._config,Le);ft.onError=this._onIOException.bind(this),ft.onSeeked=this._onIOSeeked.bind(this),ft.onComplete=this._onIOComplete.bind(this),ft.onRedirect=this._onIORedirect.bind(this),ft.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),Ue?this._demuxer.bindDataSource(this._ioctl):ft.onDataArrival=this._onInitChunkArrival.bind(this),ft.open(Ue)}},{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(Le){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var Ue=this._searchSegmentIndexContains(Le);if(Ue===this._currentSegmentIndex){var Ye=this._mediaInfo.segments[Ue];if(Ye==null)this._pendingSeekTime=Le;else{var ft=Ye.getNearestKeyframe(Le);this._remuxer.seek(ft.milliseconds),this._ioctl.seek(ft.fileposition),this._pendingResolveSeekPoint=ft.milliseconds}}else{var ir=this._mediaInfo.segments[Ue];if(ir==null)this._pendingSeekTime=Le,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(Ue);else{var Yt=ir.getNearestKeyframe(Le);this._internalAbort(),this._remuxer.seek(Le),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[Ue].timestampBase,this._loadSegment(Ue,Yt.fileposition),this._pendingResolveSeekPoint=Yt.milliseconds,this._reportSegmentMediaInfo(Ue)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(Le){for(var Ue=this._mediaDataSource.segments,Ye=Ue.length-1,ft=0;ft<Ue.length;ft++)if(Le<Ue[ft].timestampBase){Ye=ft-1;break}return Ye}},{key:"_onInitChunkArrival",value:function(Le,Ue){var Ye=this,ft=null,ir=0;if(Ue>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,ir=this._demuxer.parseChunks(Le,Ue);else if((ft=gt.probe(Le)).match){this._demuxer=new gt(ft,this._config),this._remuxer||(this._remuxer=new at(this._config));var Yt=this._mediaDataSource;Yt.duration!=null&&!isNaN(Yt.duration)&&(this._demuxer.overridedDuration=Yt.duration),typeof Yt.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Yt.hasAudio),typeof Yt.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Yt.hasVideo),this._demuxer.timestampBase=Yt.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),ir=this._demuxer.parseChunks(Le,Ue)}else ft=null,l.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Ye._internalAbort()}),this._emitter.emit(ue.DEMUX_ERROR,Ne.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),ir=0;return ir}},{key:"_onMediaInfo",value:function(Le){var Ue=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},Le),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,Ae.prototype));var Ye=Object.assign({},Le);Object.setPrototypeOf(Ye,Ae.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Ye,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var ft=Ue._pendingSeekTime;Ue._pendingSeekTime=null,Ue.seek(ft)})}},{key:"_onMetaDataArrived",value:function(Le){this._emitter.emit(ue.METADATA_ARRIVED,Le)}},{key:"_onScriptDataArrived",value:function(Le){this._emitter.emit(ue.SCRIPTDATA_ARRIVED,Le)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(Le){var Ue=Le,Ye=Ue+1;Ye<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Ye)):(this._remuxer.flushStashedSamples(),this._emitter.emit(ue.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(Le){var Ue=this._ioctl.extraData;this._mediaDataSource.segments[Ue].redirectedURL=Le}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(ue.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(Le,Ue){l.e(this.TAG,"IOException: type = ".concat(Le,", code = ").concat(Ue.code,", msg = ").concat(Ue.msg)),this._emitter.emit(ue.IO_ERROR,Le,Ue),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(Le,Ue){l.e(this.TAG,"DemuxException: type = ".concat(Le,", info = ").concat(Ue)),this._emitter.emit(ue.DEMUX_ERROR,Le,Ue)}},{key:"_onRemuxerInitSegmentArrival",value:function(Le,Ue){this._emitter.emit(ue.INIT_SEGMENT,Le,Ue)}},{key:"_onRemuxerMediaSegmentArrival",value:function(Le,Ue){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(ue.MEDIA_SEGMENT,Le,Ue),this._pendingResolveSeekPoint!=null&&Le==="video"){var Ye=Ue.info.syncPoints,ft=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,T.safari&&Ye.length>0&&Ye[0].originalDts===ft&&(ft=Ye[0].pts),this._emitter.emit(ue.RECOMMEND_SEEKPOINT,ft)}}},{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(Le){var Ue=this._mediaInfo.segments[Le],Ye=Object.assign({},Ue);Ye.duration=this._mediaInfo.duration,Ye.segmentCount=this._mediaInfo.segmentCount,delete Ye.segments,delete Ye.keyframesIndex,this._emitter.emit(ue.MEDIA_INFO,Ye)}},{key:"_reportStatisticsInfo",value:function(){var Le={};Le.url=this._ioctl.currentURL,Le.hasRedirect=this._ioctl.hasRedirect,Le.hasRedirect&&(Le.redirectedURL=this._ioctl.currentRedirectedURL),Le.speed=this._ioctl.currentSpeed,Le.loaderType=this._ioctl.loaderType,Le.currentSegmentIndex=this._currentSegmentIndex,Le.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(ue.STATISTICS_INFO,Le)}}]),lt}(),rt=Dt,ye=function(ct){var Le="TransmuxingWorker",Ue=null,Ye=or.bind(this);p.install(),ct.addEventListener("message",function(Tt){switch(Tt.data.cmd){case"init":Ue=new rt(Tt.data.param[0],Tt.data.param[1]),Ue.on(ue.IO_ERROR,St.bind(this)),Ue.on(ue.DEMUX_ERROR,At.bind(this)),Ue.on(ue.INIT_SEGMENT,ft.bind(this)),Ue.on(ue.MEDIA_SEGMENT,ir.bind(this)),Ue.on(ue.LOADING_COMPLETE,Yt.bind(this)),Ue.on(ue.RECOVERED_EARLY_EOF,rr.bind(this)),Ue.on(ue.MEDIA_INFO,Zr.bind(this)),Ue.on(ue.METADATA_ARRIVED,nn.bind(this)),Ue.on(ue.SCRIPTDATA_ARRIVED,Pn.bind(this)),Ue.on(ue.STATISTICS_INFO,qt.bind(this)),Ue.on(ue.RECOMMEND_SEEKPOINT,cr.bind(this));break;case"destroy":Ue&&(Ue.destroy(),Ue=null),ct.postMessage({msg:"destroyed"});break;case"start":Ue.start();break;case"stop":Ue.stop();break;case"seek":Ue.seek(Tt.data.param);break;case"pause":Ue.pause();break;case"resume":Ue.resume();break;case"logging_config":{var Rt=Tt.data.param;Te.applyConfig(Rt),Rt.enableCallback===!0?Te.addLogListener(Ye):Te.removeLogListener(Ye);break}}});function ft(Tt,Rt){var _t={msg:ue.INIT_SEGMENT,data:{type:Tt,data:Rt}};ct.postMessage(_t,[Rt.data])}function ir(Tt,Rt){var _t={msg:ue.MEDIA_SEGMENT,data:{type:Tt,data:Rt}};ct.postMessage(_t,[Rt.data])}function Yt(){var Tt={msg:ue.LOADING_COMPLETE};ct.postMessage(Tt)}function rr(){var Tt={msg:ue.RECOVERED_EARLY_EOF};ct.postMessage(Tt)}function Zr(Tt){var Rt={msg:ue.MEDIA_INFO,data:Tt};ct.postMessage(Rt)}function nn(Tt){var Rt={msg:ue.METADATA_ARRIVED,data:Tt};ct.postMessage(Rt)}function Pn(Tt){var Rt={msg:ue.SCRIPTDATA_ARRIVED,data:Tt};ct.postMessage(Rt)}function qt(Tt){var Rt={msg:ue.STATISTICS_INFO,data:Tt};ct.postMessage(Rt)}function St(Tt,Rt){ct.postMessage({msg:ue.IO_ERROR,data:{type:Tt,info:Rt}})}function At(Tt,Rt){ct.postMessage({msg:ue.DEMUX_ERROR,data:{type:Tt,info:Rt}})}function cr(Tt){ct.postMessage({msg:ue.RECOMMEND_SEEKPOINT,data:Tt})}function or(Tt,Rt){ct.postMessage({msg:"logcat_callback",data:{type:Tt,logcat:Rt}})}},Xt=ye,pr=function(){function lt(ct,Le){if(Object(y.a)(this,lt),this.TAG="Transmuxer",this._emitter=new f.a,Le.enableWorker&&typeof Worker!="undefined")try{var Ue=i("0r65");this._worker=Ue(Xt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[ct,Le]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Te.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Te.getConfig()})}catch(ft){l.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new rt(ct,Le)}else this._controller=new rt(ct,Le);if(this._controller){var Ye=this._controller;Ye.on(ue.IO_ERROR,this._onIOError.bind(this)),Ye.on(ue.DEMUX_ERROR,this._onDemuxError.bind(this)),Ye.on(ue.INIT_SEGMENT,this._onInitSegment.bind(this)),Ye.on(ue.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Ye.on(ue.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Ye.on(ue.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Ye.on(ue.MEDIA_INFO,this._onMediaInfo.bind(this)),Ye.on(ue.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Ye.on(ue.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Ye.on(ue.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Ye.on(ue.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(m.a)(lt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Te.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Le,Ue){this._emitter.addListener(Le,Ue)}},{key:"off",value:function(Le,Ue){this._emitter.removeListener(Le,Ue)}},{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(Le){this._worker?this._worker.postMessage({cmd:"seek",param:Le}):this._controller.seek(Le)}},{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(Le,Ue){var Ye=this;Promise.resolve().then(function(){Ye._emitter.emit(ue.INIT_SEGMENT,Le,Ue)})}},{key:"_onMediaSegment",value:function(Le,Ue){var Ye=this;Promise.resolve().then(function(){Ye._emitter.emit(ue.MEDIA_SEGMENT,Le,Ue)})}},{key:"_onLoadingComplete",value:function(){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(ue.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(ue.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(Le){var Ue=this;Promise.resolve().then(function(){Ue._emitter.emit(ue.MEDIA_INFO,Le)})}},{key:"_onMetaDataArrived",value:function(Le){var Ue=this;Promise.resolve().then(function(){Ue._emitter.emit(ue.METADATA_ARRIVED,Le)})}},{key:"_onScriptDataArrived",value:function(Le){var Ue=this;Promise.resolve().then(function(){Ue._emitter.emit(ue.SCRIPTDATA_ARRIVED,Le)})}},{key:"_onStatisticsInfo",value:function(Le){var Ue=this;Promise.resolve().then(function(){Ue._emitter.emit(ue.STATISTICS_INFO,Le)})}},{key:"_onIOError",value:function(Le,Ue){var Ye=this;Promise.resolve().then(function(){Ye._emitter.emit(ue.IO_ERROR,Le,Ue)})}},{key:"_onDemuxError",value:function(Le,Ue){var Ye=this;Promise.resolve().then(function(){Ye._emitter.emit(ue.DEMUX_ERROR,Le,Ue)})}},{key:"_onRecommendSeekpoint",value:function(Le){var Ue=this;Promise.resolve().then(function(){Ue._emitter.emit(ue.RECOMMEND_SEEKPOINT,Le)})}},{key:"_onLoggingConfigChanged",value:function(Le){this._worker&&this._worker.postMessage({cmd:"logging_config",param:Le})}},{key:"_onWorkerMessage",value:function(Le){var Ue=Le.data,Ye=Ue.data;if(Ue.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(Ue.msg){case ue.INIT_SEGMENT:case ue.MEDIA_SEGMENT:this._emitter.emit(Ue.msg,Ye.type,Ye.data);break;case ue.LOADING_COMPLETE:case ue.RECOVERED_EARLY_EOF:this._emitter.emit(Ue.msg);break;case ue.MEDIA_INFO:Object.setPrototypeOf(Ye,Ae.prototype),this._emitter.emit(Ue.msg,Ye);break;case ue.METADATA_ARRIVED:case ue.SCRIPTDATA_ARRIVED:case ue.STATISTICS_INFO:this._emitter.emit(Ue.msg,Ye);break;case ue.IO_ERROR:case ue.DEMUX_ERROR:this._emitter.emit(Ue.msg,Ye.type,Ye.info);break;case ue.RECOMMEND_SEEKPOINT:this._emitter.emit(Ue.msg,Ye);break;case"logcat_callback":l.emitter.emit("log",Ye.type,Ye.logcat);break;default:break}}}]),lt}(),mt=pr,nr={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},yr=nr,gn=function(){function lt(ct){Object(y.a)(this,lt),this.TAG="MSEController",this._config=ct,this._emitter=new f.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 Pt}return Object(m.a)(lt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Le,Ue){this._emitter.addListener(Le,Ue)}},{key:"off",value:function(Le,Ue){this._emitter.removeListener(Le,Ue)}},{key:"attachMediaElement",value:function(Le){if(this._mediaSource)throw new c("MediaSource has been attached to an HTMLMediaElement!");var Ue=this._mediaSource=new window.MediaSource;Ue.addEventListener("sourceopen",this.e.onSourceOpen),Ue.addEventListener("sourceended",this.e.onSourceEnded),Ue.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=Le,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),Le.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var Le=this._mediaSource;for(var Ue in this._sourceBuffers){var Ye=this._pendingSegments[Ue];Ye.splice(0,Ye.length),this._pendingSegments[Ue]=null,this._pendingRemoveRanges[Ue]=null,this._lastInitSegments[Ue]=null;var ft=this._sourceBuffers[Ue];if(ft){if(Le.readyState!=="closed"){try{Le.removeSourceBuffer(ft)}catch(ir){l.e(this.TAG,ir.message)}ft.removeEventListener("error",this.e.onSourceBufferError),ft.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[Ue]=null,this._sourceBuffers[Ue]=null}}if(Le.readyState==="open")try{Le.endOfStream()}catch(ir){l.e(this.TAG,ir.message)}Le.removeEventListener("sourceopen",this.e.onSourceOpen),Le.removeEventListener("sourceended",this.e.onSourceEnded),Le.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(Le,Ue){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(Le),this._pendingSegments[Le.type].push(Le);return}var Ye=Le,ft="".concat(Ye.container);Ye.codec&&Ye.codec.length>0&&(ft+=";codecs=".concat(Ye.codec));var ir=!1;if(l.v(this.TAG,"Received Initialization Segment, mimeType: "+ft),this._lastInitSegments[Ye.type]=Ye,ft!==this._mimeTypes[Ye.type]){if(this._mimeTypes[Ye.type])l.v(this.TAG,"Notice: ".concat(Ye.type," mimeType changed, origin: ").concat(this._mimeTypes[Ye.type],", target: ").concat(ft));else{ir=!0;try{var Yt=this._sourceBuffers[Ye.type]=this._mediaSource.addSourceBuffer(ft);Yt.addEventListener("error",this.e.onSourceBufferError),Yt.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(rr){l.e(this.TAG,rr.message),this._emitter.emit(yr.ERROR,{code:rr.code,msg:rr.message});return}}this._mimeTypes[Ye.type]=ft}Ue||this._pendingSegments[Ye.type].push(Ye),ir||this._sourceBuffers[Ye.type]&&!this._sourceBuffers[Ye.type].updating&&this._doAppendSegments(),T.safari&&Ye.container==="audio/mpeg"&&Ye.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Ye.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(Le){var Ue=Le;this._pendingSegments[Ue.type].push(Ue),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Ye=this._sourceBuffers[Ue.type];Ye&&!Ye.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(Le){for(var Ue in this._sourceBuffers){if(!this._sourceBuffers[Ue])continue;var Ye=this._sourceBuffers[Ue];if(this._mediaSource.readyState==="open")try{Ye.abort()}catch(nn){l.e(this.TAG,nn.message)}this._idrList.clear();var ft=this._pendingSegments[Ue];if(ft.splice(0,ft.length),this._mediaSource.readyState==="closed")continue;for(var ir=0;ir<Ye.buffered.length;ir++){var Yt=Ye.buffered.start(ir),rr=Ye.buffered.end(ir);this._pendingRemoveRanges[Ue].push({start:Yt,end:rr})}if(Ye.updating||this._doRemoveRanges(),T.safari){var Zr=this._lastInitSegments[Ue];Zr&&(this._pendingSegments[Ue].push(Zr),Ye.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var Le=this._mediaSource,Ue=this._sourceBuffers;if(!Le||Le.readyState!=="open"){Le&&Le.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}Ue.video&&Ue.video.updating||Ue.audio&&Ue.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,Le.endOfStream())}},{key:"getNearestKeyframe",value:function(Le){return this._idrList.getLastSyncPointBeforeDts(Le)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var Le=this._mediaElement.currentTime;for(var Ue in this._sourceBuffers){var Ye=this._sourceBuffers[Ue];if(Ye){var ft=Ye.buffered;if(ft.length>=1&&Le-ft.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var Le=this._mediaElement.currentTime;for(var Ue in this._sourceBuffers){var Ye=this._sourceBuffers[Ue];if(Ye){for(var ft=Ye.buffered,ir=!1,Yt=0;Yt<ft.length;Yt++){var rr=ft.start(Yt),Zr=ft.end(Yt);if(rr<=Le&&Le<Zr+3){if(Le-rr>=this._config.autoCleanupMaxBackwardDuration){ir=!0;var nn=Le-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[Ue].push({start:rr,end:nn})}}else Zr<Le&&(ir=!0,this._pendingRemoveRanges[Ue].push({start:rr,end:Zr}))}ir&&!Ye.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var Le=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(Le.video&&Le.video.updating||Le.audio&&Le.audio.updating)return;var Ue=this._mediaSource.duration,Ye=this._pendingMediaDuration;Ye>0&&(isNaN(Ue)||Ye>Ue)&&(l.v(this.TAG,"Update MediaSource duration from ".concat(Ue," to ").concat(Ye)),this._mediaSource.duration=Ye),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var Le in this._pendingRemoveRanges){if(!this._sourceBuffers[Le]||this._sourceBuffers[Le].updating)continue;for(var Ue=this._sourceBuffers[Le],Ye=this._pendingRemoveRanges[Le];Ye.length&&!Ue.updating;){var ft=Ye.shift();Ue.remove(ft.start,ft.end)}}}},{key:"_doAppendSegments",value:function(){var Le=this._pendingSegments;for(var Ue in Le){if(!this._sourceBuffers[Ue]||this._sourceBuffers[Ue].updating)continue;if(Le[Ue].length>0){var Ye=Le[Ue].shift();if(Ye.timestampOffset){var ft=this._sourceBuffers[Ue].timestampOffset,ir=Ye.timestampOffset/1e3,Yt=Math.abs(ft-ir);Yt>.1&&(l.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(ft," to ").concat(ir)),this._sourceBuffers[Ue].timestampOffset=ir),delete Ye.timestampOffset}if(!Ye.data||Ye.data.byteLength===0)continue;try{this._sourceBuffers[Ue].appendBuffer(Ye.data),this._isBufferFull=!1,Ue==="video"&&Ye.hasOwnProperty("info")&&this._idrList.appendArray(Ye.info.syncPoints)}catch(rr){this._pendingSegments[Ue].unshift(Ye),rr.code===22?(this._isBufferFull||this._emitter.emit(yr.BUFFER_FULL),this._isBufferFull=!0):(l.e(this.TAG,rr.message),this._emitter.emit(yr.ERROR,{code:rr.code,msg:rr.message}))}}}}},{key:"_onSourceOpen",value:function(){if(l.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var Le=this._pendingSourceBufferInit;Le.length;){var Ue=Le.shift();this.appendInitSegment(Ue,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(yr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){l.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){l.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 Le=this._pendingSegments;return Le.video.length>0||Le.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var Le=this._pendingRemoveRanges;return Le.video.length>0||Le.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(yr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(Le){l.e(this.TAG,"SourceBuffer Error: ".concat(Le))}}]),lt}(),_r=gn,ur={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},zt={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},bt=function(){function lt(ct,Le){if(Object(y.a)(this,lt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new f.a,this._config=re(),typeof Le=="object"&&Object.assign(this._config,Le),ct.type.toLowerCase()!=="flv")throw new e("FlvPlayer requires an flv MediaDataSource input!");ct.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=ct,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 Ue=T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661);this._alwaysSeekKeyframe=!!(Ue||T.msedge||T.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(m.a)(lt,[{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(Le,Ue){var Ye=this;Le===me.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Ye._emitter.emit(me.MEDIA_INFO,Ye.mediaInfo)}):Le===me.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Ye._emitter.emit(me.STATISTICS_INFO,Ye.statisticsInfo)})),this._emitter.addListener(Le,Ue)}},{key:"off",value:function(Le,Ue){this._emitter.removeListener(Le,Ue)}},{key:"attachMediaElement",value:function(Le){var Ue=this;if(this._mediaElement=Le,Le.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),Le.addEventListener("seeking",this.e.onvSeeking),Le.addEventListener("canplay",this.e.onvCanPlay),Le.addEventListener("stalled",this.e.onvStalled),Le.addEventListener("progress",this.e.onvProgress),this._msectl=new _r(this._config),this._msectl.on(yr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(yr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(yr.SOURCE_OPEN,function(){Ue._mseSourceOpened=!0,Ue._hasPendingLoad&&(Ue._hasPendingLoad=!1,Ue.load())}),this._msectl.on(yr.ERROR,function(Ye){Ue._emitter.emit(me.ERROR,ur.MEDIA_ERROR,zt.MEDIA_MSE_ERROR,Ye)}),this._msectl.attachMediaElement(Le),this._pendingSeekTime!=null)try{Le.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Ye){}}},{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 Le=this;if(!this._mediaElement)throw new c("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new c("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new mt(this._mediaDataSource,this._config),this._transmuxer.on(ue.INIT_SEGMENT,function(Ue,Ye){Le._msectl.appendInitSegment(Ye)}),this._transmuxer.on(ue.MEDIA_SEGMENT,function(Ue,Ye){if(Le._msectl.appendMediaSegment(Ye),Le._config.lazyLoad&&!Le._config.isLive){var ft=Le._mediaElement.currentTime;Ye.info.endDts>=(ft+Le._config.lazyLoadMaxDuration)*1e3&&(Le._progressChecker==null&&(l.v(Le.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),Le._suspendTransmuxer()))}}),this._transmuxer.on(ue.LOADING_COMPLETE,function(){Le._msectl.endOfStream(),Le._emitter.emit(me.LOADING_COMPLETE)}),this._transmuxer.on(ue.RECOVERED_EARLY_EOF,function(){Le._emitter.emit(me.RECOVERED_EARLY_EOF)}),this._transmuxer.on(ue.IO_ERROR,function(Ue,Ye){Le._emitter.emit(me.ERROR,ur.NETWORK_ERROR,Ue,Ye)}),this._transmuxer.on(ue.DEMUX_ERROR,function(Ue,Ye){Le._emitter.emit(me.ERROR,ur.MEDIA_ERROR,Ue,{code:-1,msg:Ye})}),this._transmuxer.on(ue.MEDIA_INFO,function(Ue){Le._mediaInfo=Ue,Le._emitter.emit(me.MEDIA_INFO,Object.assign({},Ue))}),this._transmuxer.on(ue.METADATA_ARRIVED,function(Ue){Le._emitter.emit(me.METADATA_ARRIVED,Ue)}),this._transmuxer.on(ue.SCRIPTDATA_ARRIVED,function(Ue){Le._emitter.emit(me.SCRIPTDATA_ARRIVED,Ue)}),this._transmuxer.on(ue.STATISTICS_INFO,function(Ue){Le._statisticsInfo=Le._fillStatisticsInfo(Ue),Le._emitter.emit(me.STATISTICS_INFO,Object.assign({},Le._statisticsInfo))}),this._transmuxer.on(ue.RECOMMEND_SEEKPOINT,function(Ue){Le._mediaElement&&!Le._config.accurateSeek&&(Le._requestSetTime=!0,Le._mediaElement.currentTime=Ue/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(Le){this._mediaElement.volume=Le}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Le){this._mediaElement.muted=Le}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Le){this._mediaElement?this._internalSeek(Le):this._pendingSeekTime=Le}},{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(Le){if(Le.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return Le;var Ue=!0,Ye=0,ft=0;if(this._mediaElement.getVideoPlaybackQuality){var ir=this._mediaElement.getVideoPlaybackQuality();Ye=ir.totalVideoFrames,ft=ir.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ye=this._mediaElement.webkitDecodedFrameCount,ft=this._mediaElement.webkitDroppedFrameCount):Ue=!1;return Ue&&(Le.decodedFrames=Ye,Le.droppedFrames=ft),Le}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var Le=this._mediaElement.buffered,Ue=this._mediaElement.currentTime,Ye=0,ft=0,ir=0;ir<Le.length;ir++){var Yt=Le.start(ir),rr=Le.end(ir);if(Yt<=Ue&&Ue<rr){Ye=Yt,ft=rr;break}}ft>=Ue+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(l.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){l.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 Le=this._mediaElement.currentTime,Ue=this._mediaElement.buffered,Ye=!1,ft=0;ft<Ue.length;ft++){var ir=Ue.start(ft),Yt=Ue.end(ft);if(Le>=ir&&Le<Yt){Le>=Yt-this._config.lazyLoadRecoverDuration&&(Ye=!0);break}}Ye&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Ye&&(l.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(Le){for(var Ue=this._mediaElement.buffered,Ye=0;Ye<Ue.length;Ye++){var ft=Ue.start(Ye),ir=Ue.end(Ye);if(Le>=ft&&Le<ir)return!0}return!1}},{key:"_internalSeek",value:function(Le){var Ue=this._isTimepointBuffered(Le),Ye=!1,ft=0;if(Le<1&&this._mediaElement.buffered.length>0){var ir=this._mediaElement.buffered.start(0);(ir<1&&Le<ir||T.safari)&&(Ye=!0,ft=T.safari?.1:ir)}if(Ye)this._requestSetTime=!0,this._mediaElement.currentTime=ft;else if(Ue){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=Le;else{var Yt=this._msectl.getNearestKeyframe(Math.floor(Le*1e3));this._requestSetTime=!0,Yt!=null?this._mediaElement.currentTime=Yt.dts/1e3:this._mediaElement.currentTime=Le}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(Le),this._transmuxer.seek(Math.floor(Le*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Le)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var Le=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(Le)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(Le),this._transmuxer.seek(Math.floor(Le*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Le))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(Le){var Ue=this._mediaElement;if(Le||!this._receivedCanPlay||Ue.readyState<2){var Ye=Ue.buffered;Ye.length>0&&Ue.currentTime<Ye.start(0)&&(l.w(this.TAG,"Playback seems stuck at ".concat(Ue.currentTime,", seek to ").concat(Ye.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Ye.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(Le){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(Le){var Ue=this._mediaElement.currentTime,Ye=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(Ue<1&&Ye.length>0){var ft=Ye.start(0);if(ft<1&&Ue<ft||T.safari){this._requestSetTime=!0,this._mediaElement.currentTime=T.safari?.1:ft;return}}if(this._isTimepointBuffered(Ue)){if(this._alwaysSeekKeyframe){var ir=this._msectl.getNearestKeyframe(Math.floor(Ue*1e3));ir!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=ir.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:Ue,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(Le){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(Le){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(Le){this._checkAndResumeStuckPlayback()}}]),lt}(),ot=bt,lr=function(){function lt(ct,Le){if(Object(y.a)(this,lt),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new f.a,this._config=re(),typeof Le=="object"&&Object.assign(this._config,Le),ct.type.toLowerCase()==="flv")throw new e("NativePlayer does't support flv MediaDataSource input!");if(ct.hasOwnProperty("segments"))throw new e("NativePlayer(".concat(ct.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=ct,this._mediaElement=null}return Object(m.a)(lt,[{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(Le,Ue){var Ye=this;Le===me.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ye._emitter.emit(me.MEDIA_INFO,Ye.mediaInfo)}):Le===me.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ye._emitter.emit(me.STATISTICS_INFO,Ye.statisticsInfo)})),this._emitter.addListener(Le,Ue)}},{key:"off",value:function(Le,Ue){this._emitter.removeListener(Le,Ue)}},{key:"attachMediaElement",value:function(Le){if(this._mediaElement=Le,Le.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{Le.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Ue){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new c("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(Le){this._mediaElement.volume=Le}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Le){this._mediaElement.muted=Le}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Le){this._mediaElement?this._mediaElement.currentTime=Le:this._pendingSeekTime=Le}},{key:"mediaInfo",get:function(){var Le=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",Ue={mimeType:Le+this._mediaDataSource.type};return this._mediaElement&&(Ue.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(Ue.width=this._mediaElement.videoWidth,Ue.height=this._mediaElement.videoHeight)),Ue}},{key:"statisticsInfo",get:function(){var Le={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return Le;var Ue=!0,Ye=0,ft=0;if(this._mediaElement.getVideoPlaybackQuality){var ir=this._mediaElement.getVideoPlaybackQuality();Ye=ir.totalVideoFrames,ft=ir.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ye=this._mediaElement.webkitDecodedFrameCount,ft=this._mediaElement.webkitDroppedFrameCount):Ue=!1;return Ue&&(Le.decodedFrames=Ye,Le.droppedFrames=ft),Le}},{key:"_onvLoadedMetadata",value:function(Le){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(me.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(me.STATISTICS_INFO,this.statisticsInfo)}}]),lt}(),jr=lr;p.install();function Rr(lt,ct){var Le=lt;if(Le==null||typeof Le!="object")throw new e("MediaDataSource must be an javascript object!");if(!Le.hasOwnProperty("type"))throw new e("MediaDataSource must has type field to indicate video file type!");switch(Le.type){case"flv":return new ot(Le,ct);default:return new jr(Le,ct)}}function xr(){return we.supportMSEH264Playback()}function Vn(){return we.getFeatureList()}var bn={};bn.createPlayer=Rr,bn.isSupported=xr,bn.getFeatureList=Vn,bn.BaseLoader=g,bn.LoaderStatus=u,bn.LoaderErrors=h,bn.Events=me,bn.ErrorTypes=ur,bn.ErrorDetails=zt,bn.FlvPlayer=ot,bn.NativePlayer=jr,bn.LoggingControl=Te,Object.defineProperty(bn,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var di=R.a=bn},GVMX:function(U,R,i){var y=i("JEkh"),m=y.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"}});U.exports=m},GdRQ:function(U,R,i){"use strict";function y(T){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(S){return typeof S}:y=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},y(T)}Object.defineProperty(R,"__esModule",{value:!0}),R.isMac=u,R.isWindows=h,R.isIOS=g,R.isSafari=A,R.isIE=w,R.isEdge=x,R.isFirefox=C,R.hasScrollbarGutter=R.supportsImageMetadata=R.supportsCursorURIs=R.dragThreshold=R.isTouchDevice=void 0;var m=p(i("Lo0S"));function E(){if(typeof WeakMap!="function")return null;var T=new WeakMap;return E=function(){return T},T}function p(T){if(T&&T.__esModule)return T;if(T===null||y(T)!=="object"&&typeof T!="function")return{default:T};var O=E();if(O&&O.has(T))return O.get(T);var S={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in T)if(Object.prototype.hasOwnProperty.call(T,L)){var D=_?Object.getOwnPropertyDescriptor(T,L):null;D&&(D.get||D.set)?Object.defineProperty(S,L,D):S[L]=T[L]}return S.default=T,O&&O.set(T,S),S}var v="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;R.isTouchDevice=v,window.addEventListener("touchstart",function T(){R.isTouchDevice=v=!0,window.removeEventListener("touchstart",T,!1)},!1);var f=10*(window.devicePixelRatio||1);R.dragThreshold=f;var d=!1;try{var l=document.createElement("canvas");l.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',l.style.cursor.indexOf("url")===0?(m.Info("Data URI scheme cursor supported"),d=!0):m.Warn("Data URI scheme cursor not supported")}catch(T){m.Error("Data URI scheme cursor test exception: "+T)}var n=d;R.supportsCursorURIs=n;var t=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),t=!0}catch(T){}var a=t;R.supportsImageMetadata=a;var s=!0;try{var r=document.createElement("div");r.style.visibility="hidden",r.style.overflow="scroll",document.body.appendChild(r);var c=document.createElement("div");r.appendChild(c);var e=r.offsetWidth-c.offsetWidth;r.parentNode.removeChild(r),s=e!=0}catch(T){m.Error("Scrollbar test exception: "+T)}var o=s;R.hasScrollbarGutter=o;function u(){return navigator&&!!/mac/i.exec(navigator.platform)}function h(){return navigator&&!!/win/i.exec(navigator.platform)}function g(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function A(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function w(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function x(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function C(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(U,R,i){var y=i("bYtY"),m=i("6Ic6"),E=i("IwbS"),p=i("y+Vt"),v=i("sK/D"),f=v.createClipPath,d=["itemStyle"],l=["emphasis","itemStyle"],n=["color","color0","borderColor","borderColor0"],t=m.extend({type:"candlestick",render:function(A,w,x){this.group.removeClipPath(),this._updateDrawMode(A),this._isLargeDraw?this._renderLarge(A):this._renderNormal(A)},incrementalPrepareRender:function(A,w,x){this._clear(),this._updateDrawMode(A)},incrementalRender:function(A,w,x,C){this._isLargeDraw?this._incrementalRenderLarge(A,w):this._incrementalRenderNormal(A,w)},_updateDrawMode:function(A){var w=A.pipelineContext.large;(this._isLargeDraw==null||w^this._isLargeDraw)&&(this._isLargeDraw=w,this._clear())},_renderNormal:function(A){var w=A.getData(),x=this._data,C=this.group,T=w.getLayout("isSimpleBox"),O=A.get("clip",!0),S=A.coordinateSystem,_=S.getArea&&S.getArea();this._data||C.removeAll(),w.diff(x).add(function(L){if(w.hasValue(L)){var D,F=w.getItemLayout(L);if(O&&r(_,F))return;D=s(F,L,!0),E.initProps(D,{shape:{points:F.ends}},A,L),c(D,w,L,T),C.add(D),w.setItemGraphicEl(L,D)}}).update(function(L,D){var F=x.getItemGraphicEl(D);if(!w.hasValue(L)){C.remove(F);return}var j=w.getItemLayout(L);if(O&&r(_,j)){C.remove(F);return}F?E.updateProps(F,{shape:{points:j.ends}},A,L):F=s(j,L),c(F,w,L,T),C.add(F),w.setItemGraphicEl(L,F)}).remove(function(L){var D=x.getItemGraphicEl(L);D&&C.remove(D)}).execute(),this._data=w},_renderLarge:function(A){this._clear(),u(A,this.group);var w=A.get("clip",!0)?f(A.coordinateSystem,!1,A):null;w?this.group.setClipPath(w):this.group.removeClipPath()},_incrementalRenderNormal:function(A,w){for(var x=w.getData(),C=x.getLayout("isSimpleBox"),T;(T=A.next())!=null;){var O,S=x.getItemLayout(T);O=s(S,T),c(O,x,T,C),O.incremental=!0,this.group.add(O)}},_incrementalRenderLarge:function(A,w){u(w,this.group,!0)},remove:function(A){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:y.noop}),a=p.extend({type:"normalCandlestickBox",shape:{},buildPath:function(A,w){var x=w.points;this.__simpleBox?(A.moveTo(x[4][0],x[4][1]),A.lineTo(x[6][0],x[6][1])):(A.moveTo(x[0][0],x[0][1]),A.lineTo(x[1][0],x[1][1]),A.lineTo(x[2][0],x[2][1]),A.lineTo(x[3][0],x[3][1]),A.closePath(),A.moveTo(x[4][0],x[4][1]),A.lineTo(x[5][0],x[5][1]),A.moveTo(x[6][0],x[6][1]),A.lineTo(x[7][0],x[7][1]))}});function s(A,w,x){var C=A.ends;return new a({shape:{points:x?e(C,A):C},z2:100})}function r(A,w){for(var x=!0,C=0;C<w.ends.length;C++)if(A.contain(w.ends[C][0],w.ends[C][1])){x=!1;break}return x}function c(A,w,x,C){var T=w.getItemModel(x),O=T.getModel(d),S=w.getItemVisual(x,"color"),_=w.getItemVisual(x,"borderColor")||S,L=O.getItemStyle(n);A.useStyle(L),A.style.strokeNoScale=!0,A.style.fill=S,A.style.stroke=_,A.__simpleBox=C;var D=T.getModel(l).getItemStyle();E.setHoverStyle(A,D)}function e(A,w){return y.map(A,function(x){return x=x.slice(),x[1]=w.initBaseline,x})}var o=p.extend({type:"largeCandlestickBox",shape:{},buildPath:function(A,w){for(var x=w.points,C=0;C<x.length;)if(this.__sign===x[C++]){var T=x[C++];A.moveTo(T,x[C++]),A.lineTo(T,x[C++])}else C+=3}});function u(A,w,x){var C=A.getData(),T=C.getLayout("largePoints"),O=new o({shape:{points:T},__sign:1});w.add(O);var S=new o({shape:{points:T},__sign:-1});w.add(S),h(1,O,A,C),h(-1,S,A,C),x&&(O.incremental=!0,S.incremental=!0)}function h(A,w,x,C){var T=A>0?"P":"N",O=C.getVisual("borderColor"+T)||C.getVisual("color"+T),S=x.getModel(d).getItemStyle(n);w.useStyle(S),w.style.fill=null,w.style.stroke=O}var g=t;U.exports=g},Gev7:function(U,R,i){var y=i("bYtY"),m=i("K2GJ"),E=i("1bdT"),p=i("ni6a");function v(d){d=d||{},E.call(this,d);for(var l in d)d.hasOwnProperty(l)&&l!=="style"&&(this[l]=d[l]);this.style=new m(d.style,this),this._rect=null,this.__clipPaths=null}v.prototype={constructor:v,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(l){},afterBrush:function(l){},brush:function(l,n){},getBoundingRect:function(){},contain:function(l,n){return this.rectContain(l,n)},traverse:function(l,n){l.call(n,this)},rectContain:function(l,n){var t=this.transformCoordToLocal(l,n),a=this.getBoundingRect();return a.contain(t[0],t[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(l){return this.animate("style",l)},attrKV:function(l,n){l!=="style"?E.prototype.attrKV.call(this,l,n):this.style.set(n)},setStyle:function(l,n){return this.style.set(l,n),this.dirty(!1),this},useStyle:function(l){return this.style=new m(l,this),this.dirty(!1),this},calculateTextPosition:null},y.inherits(v,E),y.mixin(v,p);var f=v;U.exports=f},GrNh:function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E=i("6Ic6");function p(t,a,s,r){var c=a.getData(),e=this.dataIndex,o=c.getName(e),u=a.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:a.id}),c.each(function(h){v(c.getItemGraphicEl(h),c.getItemLayout(h),a.isSelected(c.getName(h)),u,s)})}function v(t,a,s,r,c){var e=(a.startAngle+a.endAngle)/2,o=Math.cos(e),u=Math.sin(e),h=s?r:0,g=[o*h,u*h];c?t.animate().when(200,{position:g}).start("bounceOut"):t.attr("position",g)}function f(t,a){m.Group.call(this);var s=new m.Sector({z2:2}),r=new m.Polyline,c=new m.Text;this.add(s),this.add(r),this.add(c),this.updateData(t,a,!0)}var d=f.prototype;d.updateData=function(t,a,s){var r=this.childAt(0),c=this.childAt(1),e=this.childAt(2),o=t.hostModel,u=t.getItemModel(a),h=t.getItemLayout(a),g=y.extend({},h);g.label=null;var A=o.getShallow("animationTypeUpdate");if(s){r.setShape(g);var w=o.getShallow("animationType");w==="scale"?(r.shape.r=h.r0,m.initProps(r,{shape:{r:h.r}},o,a)):(r.shape.endAngle=h.startAngle,m.updateProps(r,{shape:{endAngle:h.endAngle}},o,a))}else A==="expansion"?r.setShape(g):m.updateProps(r,{shape:g},o,a);var x=t.getItemVisual(a,"color");r.useStyle(y.defaults({lineJoin:"bevel",fill:x},u.getModel("itemStyle").getItemStyle())),r.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var C=u.getShallow("cursor");C&&r.attr("cursor",C),v(this,t.getItemLayout(a),o.isSelected(t.getName(a)),o.get("selectedOffset"),o.get("animation"));var T=!s&&A==="transition";this._updateLabel(t,a,T),this.highDownOnUpdate=o.get("silent")?null:function(O,S){var _=o.isAnimationEnabled()&&u.get("hoverAnimation");S==="emphasis"?(c.ignore=c.hoverIgnore,e.ignore=e.hoverIgnore,_&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r+o.get("hoverOffset")}},300,"elasticOut"))):(c.ignore=c.normalIgnore,e.ignore=e.normalIgnore,_&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r}},300,"elasticOut")))},m.setHoverStyle(this)},d._updateLabel=function(t,a,s){var r=this.childAt(1),c=this.childAt(2),e=t.hostModel,o=t.getItemModel(a),u=t.getItemLayout(a),h=u.label,g=t.getItemVisual(a,"color");if(!h||isNaN(h.x)||isNaN(h.y)){c.ignore=c.normalIgnore=c.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;return}var A={points:h.linePoints||[[h.x,h.y],[h.x,h.y],[h.x,h.y]]},w={x:h.x,y:h.y};s?(m.updateProps(r,{shape:A},e,a),m.updateProps(c,{style:w},e,a)):(r.attr({shape:A}),c.attr({style:w})),c.attr({rotation:h.rotation,origin:[h.x,h.y],z2:10});var x=o.getModel("label"),C=o.getModel("emphasis.label"),T=o.getModel("labelLine"),O=o.getModel("emphasis.labelLine"),g=t.getItemVisual(a,"color");m.setLabelStyle(c.style,c.hoverStyle={},x,C,{labelFetcher:t.hostModel,labelDataIndex:a,defaultText:h.text,autoColor:g,useInsideStyle:!!h.inside},{textAlign:h.textAlign,textVerticalAlign:h.verticalAlign,opacity:t.getItemVisual(a,"opacity")}),c.ignore=c.normalIgnore=!x.get("show"),c.hoverIgnore=!C.get("show"),r.ignore=r.normalIgnore=!T.get("show"),r.hoverIgnore=!O.get("show"),r.setStyle({stroke:g,opacity:t.getItemVisual(a,"opacity")}),r.setStyle(T.getModel("lineStyle").getLineStyle()),r.hoverStyle=O.getModel("lineStyle").getLineStyle();var S=T.get("smooth");S&&S===!0&&(S=.4),r.setShape({smooth:S})},y.inherits(f,m.Group);var l=E.extend({type:"pie",init:function(){var t=new m.Group;this._sectorGroup=t},render:function(t,a,s,r){if(r&&r.from===this.uid)return;var c=t.getData(),e=this._data,o=this.group,u=a.get("animation"),h=!e,g=t.get("animationType"),A=t.get("animationTypeUpdate"),w=y.curry(p,this.uid,t,u,s),x=t.get("selectedMode");if(c.diff(e).add(function(_){var L=new f(c,_);h&&g!=="scale"&&L.eachChild(function(D){D.stopAnimation(!0)}),x&&L.on("click",w),c.setItemGraphicEl(_,L),o.add(L)}).update(function(_,L){var D=e.getItemGraphicEl(L);!h&&A!=="transition"&&D.eachChild(function(F){F.stopAnimation(!0)}),D.updateData(c,_),D.off("click"),x&&D.on("click",w),o.add(D),c.setItemGraphicEl(_,D)}).remove(function(_){var L=e.getItemGraphicEl(_);o.remove(L)}).execute(),u&&c.count()>0&&(h?g!=="scale":A!=="transition")){for(var C=c.getItemLayout(0),T=1;isNaN(C.startAngle)&&T<c.count();++T)C=c.getItemLayout(T);var O=Math.max(s.getWidth(),s.getHeight())/2,S=y.bind(o.removeClipPath,o);o.setClipPath(this._createClipPath(C.cx,C.cy,O,C.startAngle,C.clockwise,S,t,h))}else o.removeClipPath();this._data=c},dispose:function(){},_createClipPath:function(t,a,s,r,c,e,o,u){var h=new m.Sector({shape:{cx:t,cy:a,r0:0,r:s,startAngle:r,endAngle:r,clockwise:c}}),g=u?m.initProps:m.updateProps;return g(h,{shape:{endAngle:r+(c?1:-1)*Math.PI*2}},o,e),h},containPoint:function(t,a){var s=a.getData(),r=s.getItemLayout(0);if(r){var c=t[0]-r.cx,e=t[1]-r.cy,o=Math.sqrt(c*c+e*e);return o<=r.r&&o>=r.r0}}}),n=l;U.exports=n},Gytx:function(U,R){U.exports=function(y,m,E,p){var v=E?E.call(p,y,m):void 0;if(v!==void 0)return!!v;if(y===m)return!0;if(typeof y!="object"||!y||typeof m!="object"||!m)return!1;var f=Object.keys(y),d=Object.keys(m);if(f.length!==d.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(m),n=0;n<f.length;n++){var t=f[n];if(!l(t))return!1;var a=y[t],s=m[t];if(v=E?E.call(p,a,s,t):void 0,v===!1||v===void 0&&a!==s)return!1}return!0}},GzdX:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("q1tI"),p=i.n(E),v=i("rePB"),f=i("1OyB"),d=i("vuIU"),l=i("Ji7U"),n=i("md7G"),t=i("foSv"),a=i("m+aA"),s=i("TSYQ"),r=i.n(s),c=i("4IlW");function e(V){var z=V.pageXOffset,X="scrollLeft";if(typeof z!="number"){var W=V.document;z=W.documentElement[X],typeof z!="number"&&(z=W.body[X])}return z}function o(V){var z,X,W=V.ownerDocument,q=W.body,Y=W&&W.documentElement,re=V.getBoundingClientRect();return z=re.left,X=re.top,z-=Y.clientLeft||q.clientLeft||0,X-=Y.clientTop||q.clientTop||0,{left:z,top:X}}function u(V){var z=o(V),X=V.ownerDocument,W=X.defaultView||X.parentWindow;return z.left+=e(W),z.left}function h(V){var z=g();return function(){var W=Object(t.a)(V),q;if(z){var Y=Object(t.a)(this).constructor;q=Reflect.construct(W,arguments,Y)}else q=W.apply(this,arguments);return Object(n.a)(this,q)}}function g(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(V){return!1}}var A=function(V){Object(l.a)(X,V);var z=h(X);function X(){var W;return Object(f.a)(this,X),W=z.apply(this,arguments),W.onHover=function(q){var Y=W.props,re=Y.onHover,ne=Y.index;re(q,ne)},W.onClick=function(q){var Y=W.props,re=Y.onClick,ne=Y.index;re(q,ne)},W.onKeyDown=function(q){var Y=W.props,re=Y.onClick,ne=Y.index;q.keyCode===13&&re(q,ne)},W}return Object(d.a)(X,[{key:"getClassName",value:function(){var q=this.props,Y=q.prefixCls,re=q.index,ne=q.value,we=q.allowHalf,ie=q.focused,me=re+1,_e=Y;return ne===0&&re===0&&ie?_e+=" ".concat(Y,"-focused"):we&&ne+.5>=me&&ne<me?(_e+=" ".concat(Y,"-half ").concat(Y,"-active"),ie&&(_e+=" ".concat(Y,"-focused"))):(_e+=me<=ne?" ".concat(Y,"-full"):" ".concat(Y,"-zero"),me===ne&&ie&&(_e+=" ".concat(Y,"-focused"))),_e}},{key:"render",value:function(){var q=this.onHover,Y=this.onClick,re=this.onKeyDown,ne=this.props,we=ne.disabled,ie=ne.prefixCls,me=ne.character,_e=ne.characterRender,Te=ne.index,We=ne.count,Ae=ne.value,je=typeof me=="function"?me(this.props):me,ee=p.a.createElement("li",{className:this.getClassName()},p.a.createElement("div",{onClick:we?null:Y,onKeyDown:we?null:re,onMouseMove:we?null:q,role:"radio","aria-checked":Ae>Te?"true":"false","aria-posinset":Te+1,"aria-setsize":We,tabIndex:we?-1:0},p.a.createElement("div",{className:"".concat(ie,"-first")},je),p.a.createElement("div",{className:"".concat(ie,"-second")},je)));return _e&&(ee=_e(ee,this.props)),ee}}]),X}(p.a.Component);function w(V,z){var X=Object.keys(V);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(V);z&&(W=W.filter(function(q){return Object.getOwnPropertyDescriptor(V,q).enumerable})),X.push.apply(X,W)}return X}function x(V){for(var z=1;z<arguments.length;z++){var X=arguments[z]!=null?arguments[z]:{};z%2?w(Object(X),!0).forEach(function(W){Object(v.a)(V,W,X[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(X)):w(Object(X)).forEach(function(W){Object.defineProperty(V,W,Object.getOwnPropertyDescriptor(X,W))})}return V}function C(V){var z=T();return function(){var W=Object(t.a)(V),q;if(z){var Y=Object(t.a)(this).constructor;q=Reflect.construct(W,arguments,Y)}else q=W.apply(this,arguments);return Object(n.a)(this,q)}}function T(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(V){return!1}}function O(){}var S=function(V){Object(l.a)(X,V);var z=C(X);function X(W){var q;Object(f.a)(this,X),q=z.call(this,W),q.onHover=function(re,ne){var we=q.props.onHoverChange,ie=q.getStarValue(ne,re.pageX),me=q.state.cleanedValue;ie!==me&&q.setState({hoverValue:ie,cleanedValue:null}),we(ie)},q.onMouseLeave=function(){var re=q.props.onHoverChange;q.setState({hoverValue:void 0,cleanedValue:null}),re(void 0)},q.onClick=function(re,ne){var we=q.props.allowClear,ie=q.state.value,me=q.getStarValue(ne,re.pageX),_e=!1;we&&(_e=me===ie),q.onMouseLeave(),q.changeValue(_e?0:me),q.setState({cleanedValue:_e?me:null})},q.onFocus=function(){var re=q.props.onFocus;q.setState({focused:!0}),re&&re()},q.onBlur=function(){var re=q.props.onBlur;q.setState({focused:!1}),re&&re()},q.onKeyDown=function(re){var ne=re.keyCode,we=q.props,ie=we.count,me=we.allowHalf,_e=we.onKeyDown,Te=we.direction,We=Te==="rtl",Ae=q.state.value;ne===c.a.RIGHT&&Ae<ie&&!We?(me?Ae+=.5:Ae+=1,q.changeValue(Ae),re.preventDefault()):ne===c.a.LEFT&&Ae>0&&!We||ne===c.a.RIGHT&&Ae>0&&We?(me?Ae-=.5:Ae-=1,q.changeValue(Ae),re.preventDefault()):ne===c.a.LEFT&&Ae<ie&&We&&(me?Ae+=.5:Ae+=1,q.changeValue(Ae),re.preventDefault()),_e&&_e(re)},q.saveRef=function(re){return function(ne){q.stars[re]=ne}},q.saveRate=function(re){q.rate=re};var Y=W.value;return Y===void 0&&(Y=W.defaultValue),q.stars={},q.state={value:Y,focused:!1,cleanedValue:null},q}return Object(d.a)(X,[{key:"componentDidMount",value:function(){var q=this.props,Y=q.autoFocus,re=q.disabled;Y&&!re&&this.focus()}},{key:"getStarDOM",value:function(q){return Object(a.a)(this.stars[q])}},{key:"getStarValue",value:function(q,Y){var re=this.props,ne=re.allowHalf,we=re.direction,ie=we==="rtl",me=q+1;if(ne){var _e=this.getStarDOM(q),Te=u(_e),We=_e.clientWidth;(ie&&Y-Te>We/2||!ie&&Y-Te<We/2)&&(me-=.5)}return me}},{key:"focus",value:function(){var q=this.props.disabled;q||this.rate.focus()}},{key:"blur",value:function(){var q=this.props.disabled;q||this.rate.blur()}},{key:"changeValue",value:function(q){var Y=this.props.onChange;"value"in this.props||this.setState({value:q}),Y(q)}},{key:"render",value:function(){for(var q=this.props,Y=q.count,re=q.allowHalf,ne=q.style,we=q.prefixCls,ie=q.disabled,me=q.className,_e=q.character,Te=q.characterRender,We=q.tabIndex,Ae=q.direction,je=this.state,ee=je.value,he=je.hoverValue,Ze=je.focused,oe=[],Q=ie?"".concat(we,"-disabled"):"",G=0;G<Y;G+=1)oe.push(p.a.createElement(A,{ref:this.saveRef(G),index:G,count:Y,disabled:ie,prefixCls:"".concat(we,"-star"),allowHalf:re,value:he===void 0?ee:he,onClick:this.onClick,onHover:this.onHover,key:G,character:_e,characterRender:Te,focused:Ze}));var te=r()(we,Q,me,Object(v.a)({},"".concat(we,"-rtl"),Ae==="rtl"));return p.a.createElement("ul",{className:te,style:ne,onMouseLeave:ie?null:this.onMouseLeave,tabIndex:ie?-1:We,onFocus:ie?null:this.onFocus,onBlur:ie?null:this.onBlur,onKeyDown:ie?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},oe)}}],[{key:"getDerivedStateFromProps",value:function(q,Y){return"value"in q&&q.value!==void 0?x(x({},Y),{},{value:q.value}):Y}}]),X}(p.a.Component);S.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:O,character:"\u2605",onHoverChange:O,tabIndex:0,direction:"ltr"};var _=S,L=_,D=i("Lerx"),F=i.n(D),j=i("3S7+"),k=i("H84U"),K=function(V,z){var X={};for(var W in V)Object.prototype.hasOwnProperty.call(V,W)&&z.indexOf(W)<0&&(X[W]=V[W]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,W=Object.getOwnPropertySymbols(V);q<W.length;q++)z.indexOf(W[q])<0&&Object.prototype.propertyIsEnumerable.call(V,W[q])&&(X[W[q]]=V[W[q]]);return X},Z=E.forwardRef(function(V,z){var X=V.prefixCls,W=V.tooltips,q=K(V,["prefixCls","tooltips"]),Y=function(_e,Te){var We=Te.index;return W?E.createElement(j.a,{title:W[We]},_e):_e},re=E.useContext(k.b),ne=re.getPrefixCls,we=re.direction,ie=ne("rate",X);return E.createElement(L,m()({ref:z,characterRender:Y},q,{prefixCls:ie,direction:we}))});Z.displayName="Rate",Z.defaultProps={character:E.createElement(F.a,null)};var B=R.a=Z},H6uX:function(U,R){var i=Array.prototype.slice,y=function(f){this._$handlers={},this._$eventProcessor=f};y.prototype={constructor:y,one:function(f,d,l,n){return E(this,f,d,l,n,!0)},on:function(f,d,l,n){return E(this,f,d,l,n,!1)},isSilent:function(f){var d=this._$handlers;return!d[f]||!d[f].length},off:function(f,d){var l=this._$handlers;if(!f)return this._$handlers={},this;if(d){if(l[f]){for(var n=[],t=0,a=l[f].length;t<a;t++)l[f][t].h!==d&&n.push(l[f][t]);l[f]=n}l[f]&&l[f].length===0&&delete l[f]}else delete l[f];return this},trigger:function(f){var d=this._$handlers[f],l=this._$eventProcessor;if(d){var n=arguments,t=n.length;t>3&&(n=i.call(n,1));for(var a=d.length,s=0;s<a;){var r=d[s];if(l&&l.filter&&r.query!=null&&!l.filter(f,r.query)){s++;continue}switch(t){case 1:r.h.call(r.ctx);break;case 2:r.h.call(r.ctx,n[1]);break;case 3:r.h.call(r.ctx,n[1],n[2]);break;default:r.h.apply(r.ctx,n);break}r.one?(d.splice(s,1),a--):s++}}return l&&l.afterTrigger&&l.afterTrigger(f),this},triggerWithContext:function(f){var d=this._$handlers[f],l=this._$eventProcessor;if(d){var n=arguments,t=n.length;t>4&&(n=i.call(n,1,n.length-1));for(var a=n[n.length-1],s=d.length,r=0;r<s;){var c=d[r];if(l&&l.filter&&c.query!=null&&!l.filter(f,c.query)){r++;continue}switch(t){case 1:c.h.call(a);break;case 2:c.h.call(a,n[1]);break;case 3:c.h.call(a,n[1],n[2]);break;default:c.h.apply(a,n);break}c.one?(d.splice(r,1),s--):r++}}return l&&l.afterTrigger&&l.afterTrigger(f),this}};function m(v,f){var d=v._$eventProcessor;return f!=null&&d&&d.normalizeQuery&&(f=d.normalizeQuery(f)),f}function E(v,f,d,l,n,t){var a=v._$handlers;if(typeof d=="function"&&(n=l,l=d,d=null),!l||!f)return v;d=m(v,d),a[f]||(a[f]=[]);for(var s=0;s<a[f].length;s++)if(a[f][s].h===l)return v;var r={h:l,one:t,query:d,ctx:n||v,callAtLast:l.zrEventfulCallAtLast},c=a[f].length-1,e=a[f][c];return e&&e.callAtLast?a[f].splice(c,0,r):a[f].push(r),v}var p=y;U.exports=p},H7XF:function(U,R,i){"use strict";R.byteLength=l,R.toByteArray=t,R.fromByteArray=r;for(var y=[],m=[],E=typeof Uint8Array!="undefined"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,f=p.length;v<f;++v)y[v]=p[v],m[p.charCodeAt(v)]=v;m["-".charCodeAt(0)]=62,m["_".charCodeAt(0)]=63;function d(c){var e=c.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=c.indexOf("=");o===-1&&(o=e);var u=o===e?0:4-o%4;return[o,u]}function l(c){var e=d(c),o=e[0],u=e[1];return(o+u)*3/4-u}function n(c,e,o){return(e+o)*3/4-o}function t(c){var e,o=d(c),u=o[0],h=o[1],g=new E(n(c,u,h)),A=0,w=h>0?u-4:u,x;for(x=0;x<w;x+=4)e=m[c.charCodeAt(x)]<<18|m[c.charCodeAt(x+1)]<<12|m[c.charCodeAt(x+2)]<<6|m[c.charCodeAt(x+3)],g[A++]=e>>16&255,g[A++]=e>>8&255,g[A++]=e&255;return h===2&&(e=m[c.charCodeAt(x)]<<2|m[c.charCodeAt(x+1)]>>4,g[A++]=e&255),h===1&&(e=m[c.charCodeAt(x)]<<10|m[c.charCodeAt(x+1)]<<4|m[c.charCodeAt(x+2)]>>2,g[A++]=e>>8&255,g[A++]=e&255),g}function a(c){return y[c>>18&63]+y[c>>12&63]+y[c>>6&63]+y[c&63]}function s(c,e,o){for(var u,h=[],g=e;g<o;g+=3)u=(c[g]<<16&16711680)+(c[g+1]<<8&65280)+(c[g+2]&255),h.push(a(u));return h.join("")}function r(c){for(var e,o=c.length,u=o%3,h=[],g=16383,A=0,w=o-u;A<w;A+=g)h.push(s(c,A,A+g>w?w:A+g));return u===1?(e=c[o-1],h.push(y[e>>2]+y[e<<4&63]+"==")):u===2&&(e=(c[o-2]<<8)+c[o-1],h.push(y[e>>10]+y[e>>4&63]+y[e<<2&63]+"=")),h.join("")}},HBhm:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},HDXh:function(U,R,i){"use strict";(function(y){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/var m=i("H7XF"),E=i("kVK+"),p=i("v3Qx");R.Buffer=l,R.SlowBuffer=h,R.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=y.TYPED_ARRAY_SUPPORT!==void 0?y.TYPED_ARRAY_SUPPORT:v(),R.kMaxLength=f();function v(){try{var oe=new Uint8Array(1);return oe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},oe.foo()===42&&typeof oe.subarray=="function"&&oe.subarray(1,1).byteLength===0}catch(Q){return!1}}function f(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function d(oe,Q){if(f()<Q)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(oe=new Uint8Array(Q),oe.__proto__=l.prototype):(oe===null&&(oe=new l(Q)),oe.length=Q),oe}function l(oe,Q,G){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(oe,Q,G);if(typeof oe=="number"){if(typeof Q=="string")throw new Error("If encoding is specified then the first argument must be a string");return s(this,oe)}return n(this,oe,Q,G)}l.poolSize=8192,l._augment=function(oe){return oe.__proto__=l.prototype,oe};function n(oe,Q,G,te){if(typeof Q=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&Q instanceof ArrayBuffer?e(oe,Q,G,te):typeof Q=="string"?r(oe,Q,G):o(oe,Q)}l.from=function(oe,Q,G){return n(null,oe,Q,G)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0}));function t(oe){if(typeof oe!="number")throw new TypeError('"size" argument must be a number');if(oe<0)throw new RangeError('"size" argument must not be negative')}function a(oe,Q,G,te){return t(Q),Q<=0?d(oe,Q):G!==void 0?typeof te=="string"?d(oe,Q).fill(G,te):d(oe,Q).fill(G):d(oe,Q)}l.alloc=function(oe,Q,G){return a(null,oe,Q,G)};function s(oe,Q){if(t(Q),oe=d(oe,Q<0?0:u(Q)|0),!l.TYPED_ARRAY_SUPPORT)for(var G=0;G<Q;++G)oe[G]=0;return oe}l.allocUnsafe=function(oe){return s(null,oe)},l.allocUnsafeSlow=function(oe){return s(null,oe)};function r(oe,Q,G){if((typeof G!="string"||G==="")&&(G="utf8"),!l.isEncoding(G))throw new TypeError('"encoding" must be a valid string encoding');var te=g(Q,G)|0;oe=d(oe,te);var xe=oe.write(Q,G);return xe!==te&&(oe=oe.slice(0,xe)),oe}function c(oe,Q){var G=Q.length<0?0:u(Q.length)|0;oe=d(oe,G);for(var te=0;te<G;te+=1)oe[te]=Q[te]&255;return oe}function e(oe,Q,G,te){if(Q.byteLength,G<0||Q.byteLength<G)throw new RangeError("'offset' is out of bounds");if(Q.byteLength<G+(te||0))throw new RangeError("'length' is out of bounds");return G===void 0&&te===void 0?Q=new Uint8Array(Q):te===void 0?Q=new Uint8Array(Q,G):Q=new Uint8Array(Q,G,te),l.TYPED_ARRAY_SUPPORT?(oe=Q,oe.__proto__=l.prototype):oe=c(oe,Q),oe}function o(oe,Q){if(l.isBuffer(Q)){var G=u(Q.length)|0;return oe=d(oe,G),oe.length===0||Q.copy(oe,0,0,G),oe}if(Q){if(typeof ArrayBuffer!="undefined"&&Q.buffer instanceof ArrayBuffer||"length"in Q)return typeof Q.length!="number"||Ze(Q.length)?d(oe,0):c(oe,Q);if(Q.type==="Buffer"&&p(Q.data))return c(oe,Q.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(oe){if(oe>=f())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+f().toString(16)+" bytes");return oe|0}function h(oe){return+oe!=oe&&(oe=0),l.alloc(+oe)}l.isBuffer=function(Q){return!!(Q!=null&&Q._isBuffer)},l.compare=function(Q,G){if(!l.isBuffer(Q)||!l.isBuffer(G))throw new TypeError("Arguments must be Buffers");if(Q===G)return 0;for(var te=Q.length,xe=G.length,fe=0,Be=Math.min(te,xe);fe<Be;++fe)if(Q[fe]!==G[fe]){te=Q[fe],xe=G[fe];break}return te<xe?-1:xe<te?1:0},l.isEncoding=function(Q){switch(String(Q).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(Q,G){if(!p(Q))throw new TypeError('"list" argument must be an Array of Buffers');if(Q.length===0)return l.alloc(0);var te;if(G===void 0)for(G=0,te=0;te<Q.length;++te)G+=Q[te].length;var xe=l.allocUnsafe(G),fe=0;for(te=0;te<Q.length;++te){var Be=Q[te];if(!l.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(xe,fe),fe+=Be.length}return xe};function g(oe,Q){if(l.isBuffer(oe))return oe.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(oe)||oe instanceof ArrayBuffer))return oe.byteLength;typeof oe!="string"&&(oe=""+oe);var G=oe.length;if(G===0)return 0;for(var te=!1;;)switch(Q){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":case void 0:return We(oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G*2;case"hex":return G>>>1;case"base64":return ee(oe).length;default:if(te)return We(oe).length;Q=(""+Q).toLowerCase(),te=!0}}l.byteLength=g;function A(oe,Q,G){var te=!1;if((Q===void 0||Q<0)&&(Q=0),Q>this.length)return"";if((G===void 0||G>this.length)&&(G=this.length),G<=0)return"";if(G>>>=0,Q>>>=0,G<=Q)return"";for(oe||(oe="utf8");;)switch(oe){case"hex":return V(this,Q,G);case"utf8":case"utf-8":return j(this,Q,G);case"ascii":return Z(this,Q,G);case"latin1":case"binary":return B(this,Q,G);case"base64":return F(this,Q,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,Q,G);default:if(te)throw new TypeError("Unknown encoding: "+oe);oe=(oe+"").toLowerCase(),te=!0}}l.prototype._isBuffer=!0;function w(oe,Q,G){var te=oe[Q];oe[Q]=oe[G],oe[G]=te}l.prototype.swap16=function(){var Q=this.length;if(Q%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var G=0;G<Q;G+=2)w(this,G,G+1);return this},l.prototype.swap32=function(){var Q=this.length;if(Q%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var G=0;G<Q;G+=4)w(this,G,G+3),w(this,G+1,G+2);return this},l.prototype.swap64=function(){var Q=this.length;if(Q%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var G=0;G<Q;G+=8)w(this,G,G+7),w(this,G+1,G+6),w(this,G+2,G+5),w(this,G+3,G+4);return this},l.prototype.toString=function(){var Q=this.length|0;return Q===0?"":arguments.length===0?j(this,0,Q):A.apply(this,arguments)},l.prototype.equals=function(Q){if(!l.isBuffer(Q))throw new TypeError("Argument must be a Buffer");return this===Q?!0:l.compare(this,Q)===0},l.prototype.inspect=function(){var Q="",G=R.INSPECT_MAX_BYTES;return this.length>0&&(Q=this.toString("hex",0,G).match(/.{2}/g).join(" "),this.length>G&&(Q+=" ... ")),"<Buffer "+Q+">"},l.prototype.compare=function(Q,G,te,xe,fe){if(!l.isBuffer(Q))throw new TypeError("Argument must be a Buffer");if(G===void 0&&(G=0),te===void 0&&(te=Q?Q.length:0),xe===void 0&&(xe=0),fe===void 0&&(fe=this.length),G<0||te>Q.length||xe<0||fe>this.length)throw new RangeError("out of range index");if(xe>=fe&&G>=te)return 0;if(xe>=fe)return-1;if(G>=te)return 1;if(G>>>=0,te>>>=0,xe>>>=0,fe>>>=0,this===Q)return 0;for(var Be=fe-xe,Ne=te-G,de=Math.min(Be,Ne),ve=this.slice(xe,fe),Me=Q.slice(G,te),qe=0;qe<de;++qe)if(ve[qe]!==Me[qe]){Be=ve[qe],Ne=Me[qe];break}return Be<Ne?-1:Ne<Be?1:0};function x(oe,Q,G,te,xe){if(oe.length===0)return-1;if(typeof G=="string"?(te=G,G=0):G>2147483647?G=2147483647:G<-2147483648&&(G=-2147483648),G=+G,isNaN(G)&&(G=xe?0:oe.length-1),G<0&&(G=oe.length+G),G>=oe.length){if(xe)return-1;G=oe.length-1}else if(G<0)if(xe)G=0;else return-1;if(typeof Q=="string"&&(Q=l.from(Q,te)),l.isBuffer(Q))return Q.length===0?-1:C(oe,Q,G,te,xe);if(typeof Q=="number")return Q=Q&255,l.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?xe?Uint8Array.prototype.indexOf.call(oe,Q,G):Uint8Array.prototype.lastIndexOf.call(oe,Q,G):C(oe,[Q],G,te,xe);throw new TypeError("val must be string, number or Buffer")}function C(oe,Q,G,te,xe){var fe=1,Be=oe.length,Ne=Q.length;if(te!==void 0&&(te=String(te).toLowerCase(),te==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(oe.length<2||Q.length<2)return-1;fe=2,Be/=2,Ne/=2,G/=2}function de(ht,Pe){return fe===1?ht[Pe]:ht.readUInt16BE(Pe*fe)}var ve;if(xe){var Me=-1;for(ve=G;ve<Be;ve++)if(de(oe,ve)===de(Q,Me===-1?0:ve-Me)){if(Me===-1&&(Me=ve),ve-Me+1===Ne)return Me*fe}else Me!==-1&&(ve-=ve-Me),Me=-1}else for(G+Ne>Be&&(G=Be-Ne),ve=G;ve>=0;ve--){for(var qe=!0,gt=0;gt<Ne;gt++)if(de(oe,ve+gt)!==de(Q,gt)){qe=!1;break}if(qe)return ve}return-1}l.prototype.includes=function(Q,G,te){return this.indexOf(Q,G,te)!==-1},l.prototype.indexOf=function(Q,G,te){return x(this,Q,G,te,!0)},l.prototype.lastIndexOf=function(Q,G,te){return x(this,Q,G,te,!1)};function T(oe,Q,G,te){G=Number(G)||0;var xe=oe.length-G;te?(te=Number(te),te>xe&&(te=xe)):te=xe;var fe=Q.length;if(fe%2!==0)throw new TypeError("Invalid hex string");te>fe/2&&(te=fe/2);for(var Be=0;Be<te;++Be){var Ne=parseInt(Q.substr(Be*2,2),16);if(isNaN(Ne))return Be;oe[G+Be]=Ne}return Be}function O(oe,Q,G,te){return he(We(Q,oe.length-G),oe,G,te)}function S(oe,Q,G,te){return he(Ae(Q),oe,G,te)}function _(oe,Q,G,te){return S(oe,Q,G,te)}function L(oe,Q,G,te){return he(ee(Q),oe,G,te)}function D(oe,Q,G,te){return he(je(Q,oe.length-G),oe,G,te)}l.prototype.write=function(Q,G,te,xe){if(G===void 0)xe="utf8",te=this.length,G=0;else if(te===void 0&&typeof G=="string")xe=G,te=this.length,G=0;else if(isFinite(G))G=G|0,isFinite(te)?(te=te|0,xe===void 0&&(xe="utf8")):(xe=te,te=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var fe=this.length-G;if((te===void 0||te>fe)&&(te=fe),Q.length>0&&(te<0||G<0)||G>this.length)throw new RangeError("Attempt to write outside buffer bounds");xe||(xe="utf8");for(var Be=!1;;)switch(xe){case"hex":return T(this,Q,G,te);case"utf8":case"utf-8":return O(this,Q,G,te);case"ascii":return S(this,Q,G,te);case"latin1":case"binary":return _(this,Q,G,te);case"base64":return L(this,Q,G,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,Q,G,te);default:if(Be)throw new TypeError("Unknown encoding: "+xe);xe=(""+xe).toLowerCase(),Be=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(oe,Q,G){return Q===0&&G===oe.length?m.fromByteArray(oe):m.fromByteArray(oe.slice(Q,G))}function j(oe,Q,G){G=Math.min(oe.length,G);for(var te=[],xe=Q;xe<G;){var fe=oe[xe],Be=null,Ne=fe>239?4:fe>223?3:fe>191?2:1;if(xe+Ne<=G){var de,ve,Me,qe;switch(Ne){case 1:fe<128&&(Be=fe);break;case 2:de=oe[xe+1],(de&192)===128&&(qe=(fe&31)<<6|de&63,qe>127&&(Be=qe));break;case 3:de=oe[xe+1],ve=oe[xe+2],(de&192)===128&&(ve&192)===128&&(qe=(fe&15)<<12|(de&63)<<6|ve&63,qe>2047&&(qe<55296||qe>57343)&&(Be=qe));break;case 4:de=oe[xe+1],ve=oe[xe+2],Me=oe[xe+3],(de&192)===128&&(ve&192)===128&&(Me&192)===128&&(qe=(fe&15)<<18|(de&63)<<12|(ve&63)<<6|Me&63,qe>65535&&qe<1114112&&(Be=qe))}}Be===null?(Be=65533,Ne=1):Be>65535&&(Be-=65536,te.push(Be>>>10&1023|55296),Be=56320|Be&1023),te.push(Be),xe+=Ne}return K(te)}var k=4096;function K(oe){var Q=oe.length;if(Q<=k)return String.fromCharCode.apply(String,oe);for(var G="",te=0;te<Q;)G+=String.fromCharCode.apply(String,oe.slice(te,te+=k));return G}function Z(oe,Q,G){var te="";G=Math.min(oe.length,G);for(var xe=Q;xe<G;++xe)te+=String.fromCharCode(oe[xe]&127);return te}function B(oe,Q,G){var te="";G=Math.min(oe.length,G);for(var xe=Q;xe<G;++xe)te+=String.fromCharCode(oe[xe]);return te}function V(oe,Q,G){var te=oe.length;(!Q||Q<0)&&(Q=0),(!G||G<0||G>te)&&(G=te);for(var xe="",fe=Q;fe<G;++fe)xe+=Te(oe[fe]);return xe}function z(oe,Q,G){for(var te=oe.slice(Q,G),xe="",fe=0;fe<te.length;fe+=2)xe+=String.fromCharCode(te[fe]+te[fe+1]*256);return xe}l.prototype.slice=function(Q,G){var te=this.length;Q=~~Q,G=G===void 0?te:~~G,Q<0?(Q+=te,Q<0&&(Q=0)):Q>te&&(Q=te),G<0?(G+=te,G<0&&(G=0)):G>te&&(G=te),G<Q&&(G=Q);var xe;if(l.TYPED_ARRAY_SUPPORT)xe=this.subarray(Q,G),xe.__proto__=l.prototype;else{var fe=G-Q;xe=new l(fe,void 0);for(var Be=0;Be<fe;++Be)xe[Be]=this[Be+Q]}return xe};function X(oe,Q,G){if(oe%1!==0||oe<0)throw new RangeError("offset is not uint");if(oe+Q>G)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUIntLE=function(Q,G,te){Q=Q|0,G=G|0,te||X(Q,G,this.length);for(var xe=this[Q],fe=1,Be=0;++Be<G&&(fe*=256);)xe+=this[Q+Be]*fe;return xe},l.prototype.readUIntBE=function(Q,G,te){Q=Q|0,G=G|0,te||X(Q,G,this.length);for(var xe=this[Q+--G],fe=1;G>0&&(fe*=256);)xe+=this[Q+--G]*fe;return xe},l.prototype.readUInt8=function(Q,G){return G||X(Q,1,this.length),this[Q]},l.prototype.readUInt16LE=function(Q,G){return G||X(Q,2,this.length),this[Q]|this[Q+1]<<8},l.prototype.readUInt16BE=function(Q,G){return G||X(Q,2,this.length),this[Q]<<8|this[Q+1]},l.prototype.readUInt32LE=function(Q,G){return G||X(Q,4,this.length),(this[Q]|this[Q+1]<<8|this[Q+2]<<16)+this[Q+3]*16777216},l.prototype.readUInt32BE=function(Q,G){return G||X(Q,4,this.length),this[Q]*16777216+(this[Q+1]<<16|this[Q+2]<<8|this[Q+3])},l.prototype.readIntLE=function(Q,G,te){Q=Q|0,G=G|0,te||X(Q,G,this.length);for(var xe=this[Q],fe=1,Be=0;++Be<G&&(fe*=256);)xe+=this[Q+Be]*fe;return fe*=128,xe>=fe&&(xe-=Math.pow(2,8*G)),xe},l.prototype.readIntBE=function(Q,G,te){Q=Q|0,G=G|0,te||X(Q,G,this.length);for(var xe=G,fe=1,Be=this[Q+--xe];xe>0&&(fe*=256);)Be+=this[Q+--xe]*fe;return fe*=128,Be>=fe&&(Be-=Math.pow(2,8*G)),Be},l.prototype.readInt8=function(Q,G){return G||X(Q,1,this.length),this[Q]&128?(255-this[Q]+1)*-1:this[Q]},l.prototype.readInt16LE=function(Q,G){G||X(Q,2,this.length);var te=this[Q]|this[Q+1]<<8;return te&32768?te|4294901760:te},l.prototype.readInt16BE=function(Q,G){G||X(Q,2,this.length);var te=this[Q+1]|this[Q]<<8;return te&32768?te|4294901760:te},l.prototype.readInt32LE=function(Q,G){return G||X(Q,4,this.length),this[Q]|this[Q+1]<<8|this[Q+2]<<16|this[Q+3]<<24},l.prototype.readInt32BE=function(Q,G){return G||X(Q,4,this.length),this[Q]<<24|this[Q+1]<<16|this[Q+2]<<8|this[Q+3]},l.prototype.readFloatLE=function(Q,G){return G||X(Q,4,this.length),E.read(this,Q,!0,23,4)},l.prototype.readFloatBE=function(Q,G){return G||X(Q,4,this.length),E.read(this,Q,!1,23,4)},l.prototype.readDoubleLE=function(Q,G){return G||X(Q,8,this.length),E.read(this,Q,!0,52,8)},l.prototype.readDoubleBE=function(Q,G){return G||X(Q,8,this.length),E.read(this,Q,!1,52,8)};function W(oe,Q,G,te,xe,fe){if(!l.isBuffer(oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Q>xe||Q<fe)throw new RangeError('"value" argument is out of bounds');if(G+te>oe.length)throw new RangeError("Index out of range")}l.prototype.writeUIntLE=function(Q,G,te,xe){if(Q=+Q,G=G|0,te=te|0,!xe){var fe=Math.pow(2,8*te)-1;W(this,Q,G,te,fe,0)}var Be=1,Ne=0;for(this[G]=Q&255;++Ne<te&&(Be*=256);)this[G+Ne]=Q/Be&255;return G+te},l.prototype.writeUIntBE=function(Q,G,te,xe){if(Q=+Q,G=G|0,te=te|0,!xe){var fe=Math.pow(2,8*te)-1;W(this,Q,G,te,fe,0)}var Be=te-1,Ne=1;for(this[G+Be]=Q&255;--Be>=0&&(Ne*=256);)this[G+Be]=Q/Ne&255;return G+te},l.prototype.writeUInt8=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,1,255,0),l.TYPED_ARRAY_SUPPORT||(Q=Math.floor(Q)),this[G]=Q&255,G+1};function q(oe,Q,G,te){Q<0&&(Q=65535+Q+1);for(var xe=0,fe=Math.min(oe.length-G,2);xe<fe;++xe)oe[G+xe]=(Q&255<<8*(te?xe:1-xe))>>>(te?xe:1-xe)*8}l.prototype.writeUInt16LE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[G]=Q&255,this[G+1]=Q>>>8):q(this,Q,G,!0),G+2},l.prototype.writeUInt16BE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[G]=Q>>>8,this[G+1]=Q&255):q(this,Q,G,!1),G+2};function Y(oe,Q,G,te){Q<0&&(Q=4294967295+Q+1);for(var xe=0,fe=Math.min(oe.length-G,4);xe<fe;++xe)oe[G+xe]=Q>>>(te?xe:3-xe)*8&255}l.prototype.writeUInt32LE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[G+3]=Q>>>24,this[G+2]=Q>>>16,this[G+1]=Q>>>8,this[G]=Q&255):Y(this,Q,G,!0),G+4},l.prototype.writeUInt32BE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[G]=Q>>>24,this[G+1]=Q>>>16,this[G+2]=Q>>>8,this[G+3]=Q&255):Y(this,Q,G,!1),G+4},l.prototype.writeIntLE=function(Q,G,te,xe){if(Q=+Q,G=G|0,!xe){var fe=Math.pow(2,8*te-1);W(this,Q,G,te,fe-1,-fe)}var Be=0,Ne=1,de=0;for(this[G]=Q&255;++Be<te&&(Ne*=256);)Q<0&&de===0&&this[G+Be-1]!==0&&(de=1),this[G+Be]=(Q/Ne>>0)-de&255;return G+te},l.prototype.writeIntBE=function(Q,G,te,xe){if(Q=+Q,G=G|0,!xe){var fe=Math.pow(2,8*te-1);W(this,Q,G,te,fe-1,-fe)}var Be=te-1,Ne=1,de=0;for(this[G+Be]=Q&255;--Be>=0&&(Ne*=256);)Q<0&&de===0&&this[G+Be+1]!==0&&(de=1),this[G+Be]=(Q/Ne>>0)-de&255;return G+te},l.prototype.writeInt8=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,1,127,-128),l.TYPED_ARRAY_SUPPORT||(Q=Math.floor(Q)),Q<0&&(Q=255+Q+1),this[G]=Q&255,G+1},l.prototype.writeInt16LE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[G]=Q&255,this[G+1]=Q>>>8):q(this,Q,G,!0),G+2},l.prototype.writeInt16BE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[G]=Q>>>8,this[G+1]=Q&255):q(this,Q,G,!1),G+2},l.prototype.writeInt32LE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[G]=Q&255,this[G+1]=Q>>>8,this[G+2]=Q>>>16,this[G+3]=Q>>>24):Y(this,Q,G,!0),G+4},l.prototype.writeInt32BE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,4,2147483647,-2147483648),Q<0&&(Q=4294967295+Q+1),l.TYPED_ARRAY_SUPPORT?(this[G]=Q>>>24,this[G+1]=Q>>>16,this[G+2]=Q>>>8,this[G+3]=Q&255):Y(this,Q,G,!1),G+4};function re(oe,Q,G,te,xe,fe){if(G+te>oe.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function ne(oe,Q,G,te,xe){return xe||re(oe,Q,G,4,34028234663852886e22,-34028234663852886e22),E.write(oe,Q,G,te,23,4),G+4}l.prototype.writeFloatLE=function(Q,G,te){return ne(this,Q,G,!0,te)},l.prototype.writeFloatBE=function(Q,G,te){return ne(this,Q,G,!1,te)};function we(oe,Q,G,te,xe){return xe||re(oe,Q,G,8,17976931348623157e292,-17976931348623157e292),E.write(oe,Q,G,te,52,8),G+8}l.prototype.writeDoubleLE=function(Q,G,te){return we(this,Q,G,!0,te)},l.prototype.writeDoubleBE=function(Q,G,te){return we(this,Q,G,!1,te)},l.prototype.copy=function(Q,G,te,xe){if(te||(te=0),!xe&&xe!==0&&(xe=this.length),G>=Q.length&&(G=Q.length),G||(G=0),xe>0&&xe<te&&(xe=te),xe===te)return 0;if(Q.length===0||this.length===0)return 0;if(G<0)throw new RangeError("targetStart out of bounds");if(te<0||te>=this.length)throw new RangeError("sourceStart out of bounds");if(xe<0)throw new RangeError("sourceEnd out of bounds");xe>this.length&&(xe=this.length),Q.length-G<xe-te&&(xe=Q.length-G+te);var fe=xe-te,Be;if(this===Q&&te<G&&G<xe)for(Be=fe-1;Be>=0;--Be)Q[Be+G]=this[Be+te];else if(fe<1e3||!l.TYPED_ARRAY_SUPPORT)for(Be=0;Be<fe;++Be)Q[Be+G]=this[Be+te];else Uint8Array.prototype.set.call(Q,this.subarray(te,te+fe),G);return fe},l.prototype.fill=function(Q,G,te,xe){if(typeof Q=="string"){if(typeof G=="string"?(xe=G,G=0,te=this.length):typeof te=="string"&&(xe=te,te=this.length),Q.length===1){var fe=Q.charCodeAt(0);fe<256&&(Q=fe)}if(xe!==void 0&&typeof xe!="string")throw new TypeError("encoding must be a string");if(typeof xe=="string"&&!l.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe)}else typeof Q=="number"&&(Q=Q&255);if(G<0||this.length<G||this.length<te)throw new RangeError("Out of range index");if(te<=G)return this;G=G>>>0,te=te===void 0?this.length:te>>>0,Q||(Q=0);var Be;if(typeof Q=="number")for(Be=G;Be<te;++Be)this[Be]=Q;else{var Ne=l.isBuffer(Q)?Q:We(new l(Q,xe).toString()),de=Ne.length;for(Be=0;Be<te-G;++Be)this[Be+G]=Ne[Be%de]}return this};var ie=/[^+\/0-9A-Za-z-_]/g;function me(oe){if(oe=_e(oe).replace(ie,""),oe.length<2)return"";for(;oe.length%4!==0;)oe=oe+"=";return oe}function _e(oe){return oe.trim?oe.trim():oe.replace(/^\s+|\s+$/g,"")}function Te(oe){return oe<16?"0"+oe.toString(16):oe.toString(16)}function We(oe,Q){Q=Q||Infinity;for(var G,te=oe.length,xe=null,fe=[],Be=0;Be<te;++Be){if(G=oe.charCodeAt(Be),G>55295&&G<57344){if(!xe){if(G>56319){(Q-=3)>-1&&fe.push(239,191,189);continue}else if(Be+1===te){(Q-=3)>-1&&fe.push(239,191,189);continue}xe=G;continue}if(G<56320){(Q-=3)>-1&&fe.push(239,191,189),xe=G;continue}G=(xe-55296<<10|G-56320)+65536}else xe&&((Q-=3)>-1&&fe.push(239,191,189));if(xe=null,G<128){if((Q-=1)<0)break;fe.push(G)}else if(G<2048){if((Q-=2)<0)break;fe.push(G>>6|192,G&63|128)}else if(G<65536){if((Q-=3)<0)break;fe.push(G>>12|224,G>>6&63|128,G&63|128)}else if(G<1114112){if((Q-=4)<0)break;fe.push(G>>18|240,G>>12&63|128,G>>6&63|128,G&63|128)}else throw new Error("Invalid code point")}return fe}function Ae(oe){for(var Q=[],G=0;G<oe.length;++G)Q.push(oe.charCodeAt(G)&255);return Q}function je(oe,Q){for(var G,te,xe,fe=[],Be=0;Be<oe.length&&!((Q-=2)<0);++Be)G=oe.charCodeAt(Be),te=G>>8,xe=G%256,fe.push(xe),fe.push(te);return fe}function ee(oe){return m.toByteArray(me(oe))}function he(oe,Q,G,te){for(var xe=0;xe<te&&!(xe+G>=Q.length||xe>=oe.length);++xe)Q[xe+G]=oe[xe];return xe}function Ze(oe){return oe!==oe}}).call(this,i("yLpj"))},"HF/U":function(U,R,i){var y=i("QBsz");function m(p){var v=p.coordinateSystem;if(v&&v.type!=="view")return;var f=p.getGraph();f.eachNode(function(d){var l=d.getModel();d.setLayout([+l.get("x"),+l.get("y")])}),E(f)}function E(p){p.eachEdge(function(v){var f=v.getModel().get("lineStyle.curveness")||0,d=y.clone(v.node1.getLayout()),l=y.clone(v.node2.getLayout()),n=[d,l];+f&&n.push([(d[0]+l[0])/2-(d[1]-l[1])*f,(d[1]+l[1])/2-(l[0]-d[0])*f]),v.setLayout(n)})}R.simpleLayout=m,R.simpleLayoutEdge=E},"HM/N":function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("/SeX"),v=i("OELB"),f=v.parsePercent,d=i("aX7z"),l=d.createScaleByModel,n=d.niceScaleExtent,t=i("IDmD"),a=i("7hqr"),s=a.getStackedDimension;i("ePAk");function r(u,h,g){var A=h.get("center"),w=g.getWidth(),x=g.getHeight();u.cx=f(A[0],w),u.cy=f(A[1],x);var C=u.getRadiusAxis(),T=Math.min(w,x)/2,O=h.get("radius");O==null?O=[0,"100%"]:E.isArray(O)||(O=[0,O]),O=[f(O[0],T),f(O[1],T)],C.inverse?C.setExtent(O[1],O[0]):C.setExtent(O[0],O[1])}function c(u,h){var g=this,A=g.getAngleAxis(),w=g.getRadiusAxis();if(A.scale.setExtent(Infinity,-Infinity),w.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(T){if(T.coordinateSystem===g){var O=T.getData();E.each(O.mapDimension("radius",!0),function(S){w.scale.unionExtentFromData(O,s(O,S))}),E.each(O.mapDimension("angle",!0),function(S){A.scale.unionExtentFromData(O,s(O,S))})}}),n(A.scale,A.model),n(w.scale,w.model),A.type==="category"&&!A.onBand){var x=A.getExtent(),C=360/A.scale.count();A.inverse?x[1]+=C:x[1]-=C,A.setExtent(x[0],x[1])}}function e(u,h){if(u.type=h.get("type"),u.scale=l(h),u.onBand=h.get("boundaryGap")&&u.type==="category",u.inverse=h.get("inverse"),h.mainType==="angleAxis"){u.inverse^=h.get("clockwise");var g=h.get("startAngle");u.setExtent(g,g+(u.inverse?-360:360))}h.axis=u,u.model=h}var o={dimensions:p.prototype.dimensions,create:function(u,h){var g=[];return u.eachComponent("polar",function(A,w){var x=new p(w);x.update=c;var C=x.getRadiusAxis(),T=x.getAngleAxis(),O=A.findAxisModel("radiusAxis"),S=A.findAxisModel("angleAxis");e(C,O),e(T,S),r(x,A,h),g.push(x),A.coordinateSystem=x,x.model=A}),u.eachSeries(function(A){if(A.get("coordinateSystem")==="polar"){var w=u.queryComponents({mainType:"polar",index:A.get("polarIndex"),id:A.get("polarId")})[0];A.coordinateSystem=w.coordinateSystem}}),g}};t.register("polar",o)},HQEm:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("Sj0X"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},HjIi:function(U,R,i){var y=i("bYtY"),m=i("OELB"),E=m.parsePercent,p=i("7hqr"),v=p.isDimensionStacked;function f(a){return a.get("stack")||"__ec_stack_"+a.seriesIndex}function d(a,s){return s.dim+a.model.componentIndex}function l(a,s,r){var c={},e=n(y.filter(s.getSeriesByType(a),function(o){return!s.isSeriesFiltered(o)&&o.coordinateSystem&&o.coordinateSystem.type==="polar"}));s.eachSeriesByType(a,function(o){if(o.coordinateSystem.type!=="polar")return;var u=o.getData(),h=o.coordinateSystem,g=h.getBaseAxis(),A=d(h,g),w=f(o),x=e[A][w],C=x.offset,T=x.width,O=h.getOtherAxis(g),S=o.coordinateSystem.cx,_=o.coordinateSystem.cy,L=o.get("barMinHeight")||0,D=o.get("barMinAngle")||0;c[w]=c[w]||[];for(var F=u.mapDimension(O.dim),j=u.mapDimension(g.dim),k=v(u,F),K=g.dim!=="radius"||!o.get("roundCap",!0),Z=O.getExtent()[0],B=0,V=u.count();B<V;B++){var z=u.get(F,B),X=u.get(j,B),W=z>=0?"p":"n",q=Z;k&&(c[w][X]||(c[w][X]={p:Z,n:Z}),q=c[w][X][W]);var Y,re,ne,we;if(O.dim==="radius"){var ie=O.dataToRadius(z)-Z,me=g.dataToAngle(X);Math.abs(ie)<L&&(ie=(ie<0?-1:1)*L),Y=q,re=q+ie,ne=me-C,we=ne-T,k&&(c[w][X][W]=re)}else{var _e=O.dataToAngle(z,K)-Z,Te=g.dataToRadius(X);Math.abs(_e)<D&&(_e=(_e<0?-1:1)*D),Y=Te+C,re=Y+T,ne=q,we=q+_e,k&&(c[w][X][W]=we)}u.setItemLayout(B,{cx:S,cy:_,r0:Y,r:re,startAngle:-ne*Math.PI/180,endAngle:-we*Math.PI/180})}},this)}function n(a,s){var r={};y.each(a,function(e,o){var u=e.getData(),h=e.coordinateSystem,g=h.getBaseAxis(),A=d(h,g),w=g.getExtent(),x=g.type==="category"?g.getBandWidth():Math.abs(w[1]-w[0])/u.count(),C=r[A]||{bandWidth:x,remainedWidth:x,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},T=C.stacks;r[A]=C;var O=f(e);T[O]||C.autoWidthCount++,T[O]=T[O]||{width:0,maxWidth:0};var S=E(e.get("barWidth"),x),_=E(e.get("barMaxWidth"),x),L=e.get("barGap"),D=e.get("barCategoryGap");S&&!T[O].width&&(S=Math.min(C.remainedWidth,S),T[O].width=S,C.remainedWidth-=S),_&&(T[O].maxWidth=_),L!=null&&(C.gap=L),D!=null&&(C.categoryGap=D)});var c={};return y.each(r,function(e,o){c[o]={};var u=e.stacks,h=e.bandWidth,g=E(e.categoryGap,h),A=E(e.gap,1),w=e.remainedWidth,x=e.autoWidthCount,C=(w-g)/(x+(x-1)*A);C=Math.max(C,0),y.each(u,function(_,L){var D=_.maxWidth;D&&D<C&&(D=Math.min(D,w),_.width&&(D=Math.min(D,_.width)),w-=D,_.width=D,x--)}),C=(w-g)/(x+(x-1)*A),C=Math.max(C,0);var T=0,O;y.each(u,function(_,L){_.width||(_.width=C),O=_,T+=_.width*(1+A)}),O&&(T-=O.width*A);var S=-T/2;y.each(u,function(_,L){c[o][L]=c[o][L]||{offset:S,width:_.width},S+=_.width*(1+A)})}),c}var t=l;U.exports=t},HjOm:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y={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"},m=y;R.default=m},Hw7h:function(U,R,i){var y=i("y+Vt"),m=y.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(E,p){var v=Math.cos,f=Math.sin,d=p.r,l=p.width,n=p.angle,t=p.x-v(n)*l*(l>=d/3?1:2),a=p.y-f(n)*l*(l>=d/3?1:2);n=p.angle-Math.PI/2,E.moveTo(t,a),E.lineTo(p.x+v(n)*l,p.y+f(n)*l),E.lineTo(p.x+v(p.angle)*d,p.y+f(p.angle)*d),E.lineTo(p.x-v(n)*l,p.y-f(n)*l),E.lineTo(t,a);return}});U.exports=m},Hxpc:function(U,R,i){var y=i("bYtY"),m=i("4NO4"),E=i("bLfw"),p=i("Qxkt"),v=i("cCMj"),f=i("7uqq"),d=E.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(n){E.prototype.init.apply(this,arguments),m.defaultEmphasis(n,"label",["show"])},optionUpdated:function(){var n=this.option,t=this;n.regions=f.getFilledRegions(n.regions,n.map,n.nameMap),this._optionModelMap=y.reduce(n.regions||[],function(a,s){return s.name&&a.set(s.name,new p(s,t)),a},y.createHashMap()),this.updateSelectedMap(n.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(n){return this._optionModelMap.get(n)||new p(null,this,this.ecModel)},getFormattedLabel:function(n,t){var a=this.getRegionModel(n),s=a.get("label"+(t==="normal"?".":t+".")+"formatter"),r={name:n};if(typeof s=="function")return r.status=t,s(r);if(typeof s=="string")return s.replace("{a}",n!=null?n:"")},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n}});y.mixin(d,v);var l=d;U.exports=l},"I+77":function(U,R,i){var y=i("ProS");i("h54F"),i("lwQL"),i("10cm");var m=i("Z1r0"),E=i("f5Yq"),p=i("KUOm"),v=i("3m61"),f=i("01d+"),d=i("rdor"),l=i("WGYa"),n=i("ewwo");y.registerProcessor(m),y.registerVisual(E("graph","circle",null)),y.registerVisual(p),y.registerVisual(v),y.registerLayout(f),y.registerLayout(y.PRIORITY.VISUAL.POST_CHART_LAYOUT,d),y.registerLayout(l),y.registerCoordinateSystem("graphView",{create:n})},"I+Bx":function(U,R,i){var y=i("bYtY"),m=i("eIcI"),E=i("ieMj"),p=i("OELB"),v=i("aX7z"),f=v.getScaleExtent,d=v.niceScaleExtent,l=i("IDmD"),n=i("jCoz");function t(s,r,c){this._model=s,this.dimensions=[],this._indicatorAxes=y.map(s.getIndicatorModels(),function(e,o){var u="indicator_"+o,h=new m(u,e.get("axisType")==="log"?new n:new E);return h.name=e.get("name"),h.model=e,e.axis=h,this.dimensions.push(u),h},this),this.resize(s,c),this.cx,this.cy,this.r,this.r0,this.startAngle}t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(s,r){var c=this._indicatorAxes[r];return this.coordToPoint(c.dataToCoord(s),r)},t.prototype.coordToPoint=function(s,r){var c=this._indicatorAxes[r],e=c.angle,o=this.cx+s*Math.cos(e),u=this.cy-s*Math.sin(e);return[o,u]},t.prototype.pointToData=function(s){var r=s[0]-this.cx,c=s[1]-this.cy,e=Math.sqrt(r*r+c*c);r/=e,c/=e;for(var o=Math.atan2(-c,r),u=Infinity,h,g=-1,A=0;A<this._indicatorAxes.length;A++){var w=this._indicatorAxes[A],x=Math.abs(o-w.angle);x<u&&(h=w,g=A,u=x)}return[g,+(h&&h.coordToData(e))]},t.prototype.resize=function(s,r){var c=s.get("center"),e=r.getWidth(),o=r.getHeight(),u=Math.min(e,o)/2;this.cx=p.parsePercent(c[0],e),this.cy=p.parsePercent(c[1],o),this.startAngle=s.get("startAngle")*Math.PI/180;var h=s.get("radius");(typeof h=="string"||typeof h=="number")&&(h=[0,h]),this.r0=p.parsePercent(h[0],u),this.r=p.parsePercent(h[1],u),y.each(this._indicatorAxes,function(g,A){g.setExtent(this.r0,this.r);var w=this.startAngle+A*Math.PI*2/this._indicatorAxes.length;w=Math.atan2(Math.sin(w),Math.cos(w)),g.angle=w},this)},t.prototype.update=function(s,r){var c=this._indicatorAxes,e=this._model;y.each(c,function(h){h.scale.setExtent(Infinity,-Infinity)}),s.eachSeriesByType("radar",function(h,g){if(h.get("coordinateSystem")!=="radar"||s.getComponent("radar",h.get("radarIndex"))!==e)return;var A=h.getData();y.each(c,function(w){w.scale.unionExtentFromData(A,A.mapDimension(w.dim))})},this);var o=e.get("splitNumber");function u(h){var g=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),A=h/g;return A===2?A=5:A*=2,A*g}y.each(c,function(h,g){var A=f(h.scale,h.model).extent;d(h.scale,h.model);var w=h.model,x=h.scale,C=w.getMin(),T=w.getMax(),O=x.getInterval();if(C!=null&&T!=null)x.setExtent(+C,+T),x.setInterval((T-C)/o);else if(C!=null){var S;do S=C+O*o,x.setExtent(+C,S),x.setInterval(O),O=u(O);while(S<A[1]&&isFinite(S)&&isFinite(A[1]))}else if(T!=null){var _;do _=T-O*o,x.setExtent(_,+T),x.setInterval(O),O=u(O);while(_>A[0]&&isFinite(_)&&isFinite(A[0]))}else{var L=x.getTicks().length-1;L>o&&(O=u(O));var S=Math.ceil(A[1]/O)*O,_=p.round(S-O*o);x.setExtent(_,S),x.setInterval(O)}})},t.dimensions=[],t.create=function(s,r){var c=[];return s.eachComponent("radar",function(e){var o=new t(e,s,r);c.push(o),e.coordinateSystem=o}),s.eachSeriesByType("radar",function(e){e.get("coordinateSystem")==="radar"&&(e.coordinateSystem=c[e.get("radarIndex")||0])}),c},l.register("radar",t);var a=t;U.exports=a},"I3/A":function(U,R,i){var y=i("bYtY"),m=i("YXkt"),E=i("c2i1"),p=i("Mdki"),v=i("sdST"),f=i("IDmD"),d=i("MwEJ");function l(n,t,a,s,r){for(var c=new E(s),e=0;e<n.length;e++)c.addNode(y.retrieve(n[e].id,n[e].name,e),e);for(var o=[],u=[],h=0,e=0;e<t.length;e++){var g=t[e],A=g.source,w=g.target;c.addEdge(A,w,h)&&(u.push(g),o.push(y.retrieve(g.id,A+" > "+w)),h++)}var x=a.get("coordinateSystem"),C;if(x==="cartesian2d"||x==="polar")C=d(n,a);else{var T=f.get(x),O=T&&T.type!=="view"?T.dimensions||[]:[];y.indexOf(O,"value")<0&&O.concat(["value"]);var S=v(n,{coordDimensions:O});C=new m(S,a),C.initData(n)}var _=new m(["value"],a);return _.initData(u,o),r&&r(C,_),p({mainData:C,struct:c,structAttr:"graph",datas:{node:C,edge:_},datasAttr:{node:"data",edge:"edgeData"}}),c.update(),c}U.exports=l},I8Z2:function(U,R,i){"use strict";i.d(R,"a",function(){return p}),i.d(R,"b",function(){return r}),i.d(R,"c",function(){return e});var y=i("q1tI"),m=function(){var o=function(h,g){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,w){A.__proto__=w}||function(A,w){for(var x in w)w.hasOwnProperty(x)&&(A[x]=w[x])},o(h,g)};return function(u,h){o(u,h);function g(){this.constructor=u}u.prototype=h===null?Object.create(h):(g.prototype=h.prototype,new g)}}(),E=y.createContext(null),p=function(o){m(u,o);function u(){return o!==null&&o.apply(this,arguments)||this}return u.prototype.render=function(){return y.createElement(E.Provider,{value:this.props.store},this.props.children)},u}(y.Component),v=i("Gytx"),f=i.n(v),d=i("2mql"),l=i.n(d),n=function(){var o=function(h,g){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,w){A.__proto__=w}||function(A,w){for(var x in w)w.hasOwnProperty(x)&&(A[x]=w[x])},o(h,g)};return function(u,h){o(u,h);function g(){this.constructor=u}u.prototype=h===null?Object.create(h):(g.prototype=h.prototype,new g)}}(),t=function(){return t=Object.assign||function(o){for(var u,h=1,g=arguments.length;h<g;h++){u=arguments[h];for(var A in u)Object.prototype.hasOwnProperty.call(u,A)&&(o[A]=u[A])}return o},t.apply(this,arguments)};function a(o){return o.displayName||o.name||"Component"}var s=function(){return{}};function r(o,u){u===void 0&&(u={});var h=!!o,g=o||s;return function(w){var x=function(T){n(O,T);function O(S,_){var L=T.call(this,S,_)||this;return L.unsubscribe=null,L.handleChange=function(){if(!L.unsubscribe)return;var D=g(L.store.getState(),L.props);L.setState({subscribed:D})},L.store=L.context,L.state={subscribed:g(L.store.getState(),S),store:L.store,props:S},L}return O.getDerivedStateFromProps=function(S,_){return o&&o.length===2&&S!==_.props?{subscribed:g(_.store.getState(),S),props:S}:{props:S}},O.prototype.componentDidMount=function(){this.trySubscribe()},O.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},O.prototype.shouldComponentUpdate=function(S,_){return!f()(this.props,S)||!f()(this.state.subscribed,_.subscribed)},O.prototype.trySubscribe=function(){h&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},O.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},O.prototype.render=function(){var S=t(t(t({},this.props),this.state.subscribed),{store:this.store});return y.createElement(w,t({},S,{ref:this.props.miniStoreForwardedRef}))},O.displayName="Connect("+a(w)+")",O.contextType=E,O}(y.Component);if(u.forwardRef){var C=y.forwardRef(function(T,O){return y.createElement(x,t({},T,{miniStoreForwardedRef:O}))});return l()(C,w)}return l()(x,w)}}var c=function(){return c=Object.assign||function(o){for(var u,h=1,g=arguments.length;h<g;h++){u=arguments[h];for(var A in u)Object.prototype.hasOwnProperty.call(u,A)&&(o[A]=u[A])}return o},c.apply(this,arguments)};function e(o){var u=o,h=[];function g(x){u=c(c({},u),x);for(var C=0;C<h.length;C++)h[C]()}function A(){return u}function w(x){return h.push(x),function(){var T=h.indexOf(x);h.splice(T,1)}}return{setState:g,getState:A,subscribe:w}}},"I9Y+":function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("4xFK")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DoubleRightOutlined";var l=p.forwardRef(d);R.default=l},ICMv:function(U,R,i){var y=i("bYtY"),m={getMin:function(E){var p=this.option,v=!E&&p.rangeStart!=null?p.rangeStart:p.min;return this.axis&&v!=null&&v!=="dataMin"&&typeof v!="function"&&!y.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getMax:function(E){var p=this.option,v=!E&&p.rangeEnd!=null?p.rangeEnd:p.max;return this.axis&&v!=null&&v!=="dataMax"&&typeof v!="function"&&!y.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getNeedCrossZero:function(){var E=this.option;return E.rangeStart!=null||E.rangeEnd!=null?!1:!E.scale},getCoordSysModel:y.noop,setRange:function(E,p){this.option.rangeStart=E,this.option.rangeEnd=p},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};U.exports=m},IDmD:function(U,R,i){var y=i("bYtY"),m={};function E(){this._coordinateSystems=[]}E.prototype={constructor:E,create:function(v,f){var d=[];y.each(m,function(l,n){var t=l.create(v,f);d=d.concat(t||[])}),this._coordinateSystems=d},update:function(v,f){y.each(this._coordinateSystems,function(d){d.update&&d.update(v,f)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},E.register=function(v,f){m[v]=f},E.get=function(v){return m[v]};var p=E;U.exports=p},IMiH:function(U,R,i){var y=i("Sj9i"),m=i("QBsz"),E=i("4mN7"),p=i("mFDi"),v=i("LPTA"),f=v.devicePixelRatio,d={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},l=[],n=[],t=[],a=[],s=Math.min,r=Math.max,c=Math.cos,e=Math.sin,o=Math.sqrt,u=Math.abs,h=typeof Float32Array!="undefined",g=function(x){this._saveData=!(x||!1),this._saveData&&(this.data=[]),this._ctx=null};g.prototype={constructor:g,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(x,C,T){T=T||0,this._ux=u(T/f/x)||0,this._uy=u(T/f/C)||0},getContext:function(){return this._ctx},beginPath:function(x){return this._ctx=x,x&&x.beginPath(),x&&(this.dpr=x.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(x,C){return this.addData(d.M,x,C),this._ctx&&this._ctx.moveTo(x,C),this._x0=x,this._y0=C,this._xi=x,this._yi=C,this},lineTo:function(x,C){var T=u(x-this._xi)>this._ux||u(C-this._yi)>this._uy||this._len<5;return this.addData(d.L,x,C),this._ctx&&T&&(this._needsDash()?this._dashedLineTo(x,C):this._ctx.lineTo(x,C)),T&&(this._xi=x,this._yi=C),this},bezierCurveTo:function(x,C,T,O,S,_){return this.addData(d.C,x,C,T,O,S,_),this._ctx&&(this._needsDash()?this._dashedBezierTo(x,C,T,O,S,_):this._ctx.bezierCurveTo(x,C,T,O,S,_)),this._xi=S,this._yi=_,this},quadraticCurveTo:function(x,C,T,O){return this.addData(d.Q,x,C,T,O),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(x,C,T,O):this._ctx.quadraticCurveTo(x,C,T,O)),this._xi=T,this._yi=O,this},arc:function(x,C,T,O,S,_){return this.addData(d.A,x,C,T,T,O,S-O,0,_?0:1),this._ctx&&this._ctx.arc(x,C,T,O,S,_),this._xi=c(S)*T+x,this._yi=e(S)*T+C,this},arcTo:function(x,C,T,O,S){return this._ctx&&this._ctx.arcTo(x,C,T,O,S),this},rect:function(x,C,T,O){return this._ctx&&this._ctx.rect(x,C,T,O),this.addData(d.R,x,C,T,O),this},closePath:function(){this.addData(d.Z);var x=this._ctx,C=this._x0,T=this._y0;return x&&(this._needsDash()&&this._dashedLineTo(C,T),x.closePath()),this._xi=C,this._yi=T,this},fill:function(x){x&&x.fill(),this.toStatic()},stroke:function(x){x&&x.stroke(),this.toStatic()},setLineDash:function(x){if(x instanceof Array){this._lineDash=x,this._dashIdx=0;for(var C=0,T=0;T<x.length;T++)C+=x[T];this._dashSum=C}return this},setLineDashOffset:function(x){return this._dashOffset=x,this},len:function(){return this._len},setData:function(x){var C=x.length;!(this.data&&this.data.length===C)&&h&&(this.data=new Float32Array(C));for(var T=0;T<C;T++)this.data[T]=x[T];this._len=C},appendPath:function(x){x instanceof Array||(x=[x]);for(var C=x.length,T=0,O=this._len,S=0;S<C;S++)T+=x[S].len();h&&this.data instanceof Float32Array&&(this.data=new Float32Array(O+T));for(var S=0;S<C;S++)for(var _=x[S].data,L=0;L<_.length;L++)this.data[O++]=_[L];this._len=O},addData:function(x){if(!this._saveData)return;var C=this.data;this._len+arguments.length>C.length&&(this._expandData(),C=this.data);for(var T=0;T<arguments.length;T++)C[this._len++]=arguments[T];this._prevCmd=x},_expandData:function(){if(!(this.data instanceof Array)){for(var x=[],C=0;C<this._len;C++)x[C]=this.data[C];this.data=x}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(x,C){var T=this._dashSum,O=this._dashOffset,S=this._lineDash,_=this._ctx,L=this._xi,D=this._yi,F=x-L,j=C-D,k=o(F*F+j*j),K=L,Z=D,B,V=S.length,z;for(F/=k,j/=k,O<0&&(O=T+O),O%=T,K-=O*F,Z-=O*j;F>0&&K<=x||F<0&&K>=x||F===0&&(j>0&&Z<=C||j<0&&Z>=C);){if(z=this._dashIdx,B=S[z],K+=F*B,Z+=j*B,this._dashIdx=(z+1)%V,F>0&&K<L||F<0&&K>L||j>0&&Z<D||j<0&&Z>D)continue;_[z%2?"moveTo":"lineTo"](F>=0?s(K,x):r(K,x),j>=0?s(Z,C):r(Z,C))}F=K-x,j=Z-C,this._dashOffset=-o(F*F+j*j)},_dashedBezierTo:function(x,C,T,O,S,_){var L=this._dashSum,D=this._dashOffset,F=this._lineDash,j=this._ctx,k=this._xi,K=this._yi,Z,B,V,z=y.cubicAt,X=0,W=this._dashIdx,q=F.length,Y,re,ne=0;for(D<0&&(D=L+D),D%=L,Z=0;Z<1;Z+=.1)B=z(k,x,T,S,Z+.1)-z(k,x,T,S,Z),V=z(K,C,O,_,Z+.1)-z(K,C,O,_,Z),X+=o(B*B+V*V);for(;W<q&&!(ne+=F[W],ne>D);W++);for(Z=(ne-D)/X;Z<=1;)Y=z(k,x,T,S,Z),re=z(K,C,O,_,Z),W%2?j.moveTo(Y,re):j.lineTo(Y,re),Z+=F[W]/X,W=(W+1)%q;W%2!==0&&j.lineTo(S,_),B=S-Y,V=_-re,this._dashOffset=-o(B*B+V*V)},_dashedQuadraticTo:function(x,C,T,O){var S=T,_=O;T=(T+2*x)/3,O=(O+2*C)/3,x=(this._xi+2*x)/3,C=(this._yi+2*C)/3,this._dashedBezierTo(x,C,T,O,S,_)},toStatic:function(){var x=this.data;x instanceof Array&&(x.length=this._len,h&&(this.data=new Float32Array(x)))},getBoundingRect:function(){l[0]=l[1]=t[0]=t[1]=Number.MAX_VALUE,n[0]=n[1]=a[0]=a[1]=-Number.MAX_VALUE;for(var x=this.data,C=0,T=0,O=0,S=0,_=0;_<x.length;){var L=x[_++];_===1&&(C=x[_],T=x[_+1],O=C,S=T);switch(L){case d.M:O=x[_++],S=x[_++],C=O,T=S,t[0]=O,t[1]=S,a[0]=O,a[1]=S;break;case d.L:E.fromLine(C,T,x[_],x[_+1],t,a),C=x[_++],T=x[_++];break;case d.C:E.fromCubic(C,T,x[_++],x[_++],x[_++],x[_++],x[_],x[_+1],t,a),C=x[_++],T=x[_++];break;case d.Q:E.fromQuadratic(C,T,x[_++],x[_++],x[_],x[_+1],t,a),C=x[_++],T=x[_++];break;case d.A:var D=x[_++],F=x[_++],j=x[_++],k=x[_++],K=x[_++],Z=x[_++]+K;_+=1;var B=1-x[_++];_===1&&(O=c(K)*j+D,S=e(K)*k+F),E.fromArc(D,F,j,k,K,Z,B,t,a),C=c(Z)*j+D,T=e(Z)*k+F;break;case d.R:O=C=x[_++],S=T=x[_++];var V=x[_++],z=x[_++];E.fromLine(O,S,O+V,S+z,t,a);break;case d.Z:C=O,T=S;break}m.min(l,l,t),m.max(n,n,a)}return _===0&&(l[0]=l[1]=n[0]=n[1]=0),new p(l[0],l[1],n[0]-l[0],n[1]-l[1])},rebuildPath:function(x){for(var C=this.data,T,O,S,_,L,D,F=this._ux,j=this._uy,k=this._len,K=0;K<k;){var Z=C[K++];K===1&&(S=C[K],_=C[K+1],T=S,O=_);switch(Z){case d.M:T=S=C[K++],O=_=C[K++],x.moveTo(S,_);break;case d.L:L=C[K++],D=C[K++],(u(L-S)>F||u(D-_)>j||K===k-1)&&(x.lineTo(L,D),S=L,_=D);break;case d.C:x.bezierCurveTo(C[K++],C[K++],C[K++],C[K++],C[K++],C[K++]),S=C[K-2],_=C[K-1];break;case d.Q:x.quadraticCurveTo(C[K++],C[K++],C[K++],C[K++]),S=C[K-2],_=C[K-1];break;case d.A:var B=C[K++],V=C[K++],z=C[K++],X=C[K++],W=C[K++],q=C[K++],Y=C[K++],re=C[K++],ne=z>X?z:X,we=z>X?1:z/X,ie=z>X?X/z:1,me=Math.abs(z-X)>.001,_e=W+q;me?(x.translate(B,V),x.rotate(Y),x.scale(we,ie),x.arc(0,0,ne,W,_e,1-re),x.scale(1/we,1/ie),x.rotate(-Y),x.translate(-B,-V)):x.arc(B,V,ne,W,_e,1-re),K===1&&(T=c(W)*z+B,O=e(W)*X+V),S=c(_e)*z+B,_=e(_e)*X+V;break;case d.R:T=S=C[K],O=_=C[K+1],x.rect(C[K++],C[K++],C[K++],C[K++]);break;case d.Z:x.closePath(),S=T,_=O}}}},g.CMD=d;var A=g;U.exports=A},IUWy:function(U,R){var i={};function y(E,p){i[E]=p}function m(E){return i[E]}R.register=y,R.get=m},IWNH:function(U,R,i){var y=i("T4UG"),m=i("Bsck"),E=i("7aKB"),p=E.encodeHTML,v=i("Qxkt"),f=y.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(d){var l={name:d.name,children:d.data},n=d.leaves||{},t=new v(n,this,this.ecModel),a=m.createTree(l,this,{},s);function s(o){o.wrapMethod("getItemModel",function(u,h){var g=a.getNodeByDataIndex(h);return(!g.children.length||!g.isExpand)&&(u.parentModel=t),u})}var r=0;a.eachNode("preorder",function(o){o.depth>r&&(r=o.depth)});var c=d.expandAndCollapse,e=c&&d.initialTreeDepth>=0?d.initialTreeDepth:r;return a.root.eachNode("preorder",function(o){var u=o.hostTree.data.getRawDataItem(o.dataIndex);o.isExpand=u&&u.collapsed!=null?!u.collapsed:o.depth<=e}),a.data},getOrient:function(){var d=this.get("orient");return d==="horizontal"?d="LR":d==="vertical"&&(d="TB"),d},setZoom:function(d){this.option.zoom=d},setCenter:function(d){this.option.center=d},formatTooltip:function(d){for(var l=this.getData().tree,n=l.root.children[0],t=l.getNodeByDataIndex(d),a=t.getValue(),s=t.name;t&&t!==n;)s=t.parentNode.name+"."+s,t=t.parentNode;return p(s+(isNaN(a)||a==null?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});U.exports=f},IWp7:function(U,R,i){var y=i("bYtY"),m=i("OELB"),E=i("7aKB"),p=i("lE7J"),v=i("ieMj"),f=v.prototype,d=Math.ceil,l=Math.floor,n=1e3,t=n*60,a=t*60,s=a*24,r=function(u,h,g,A){for(;g<A;){var w=g+A>>>1;u[w][1]<h?g=w+1:A=w}return g},c=v.extend({type:"time",getLabel:function(u){var h=this._stepLvl,g=new Date(u);return E.formatTime(h[0],g,this.getSetting("useUTC"))},niceExtent:function(u){var h=this._extent;if(h[0]===h[1]&&(h[0]-=s,h[1]+=s),h[1]===-Infinity&&h[0]===Infinity){var g=new Date;h[1]=+new Date(g.getFullYear(),g.getMonth(),g.getDate()),h[0]=h[1]-s}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var A=this._interval;u.fixMin||(h[0]=m.round(l(h[0]/A)*A)),u.fixMax||(h[1]=m.round(d(h[1]/A)*A))},niceTicks:function(u,h,g){u=u||10;var A=this._extent,w=A[1]-A[0],x=w/u;h!=null&&x<h&&(x=h),g!=null&&x>g&&(x=g);var C=e.length,T=r(e,x,0,C),O=e[Math.min(T,C-1)],S=O[1];if(O[0]==="year"){var _=w/S,L=m.nice(_/u,!0);S*=L}var D=this.getSetting("useUTC")?0:new Date(+A[0]||+A[1]).getTimezoneOffset()*60*1e3,F=[Math.round(d((A[0]-D)/S)*S+D),Math.round(l((A[1]-D)/S)*S+D)];p.fixExtent(F,A),this._stepLvl=O,this._interval=S,this._niceExtent=F},parse:function(u){return+m.parseDate(u)}});y.each(["contain","normalize"],function(u){c.prototype[u]=function(h){return f[u].call(this,this.parse(h))}});var e=[["hh:mm:ss",n],["hh:mm:ss",n*5],["hh:mm:ss",n*10],["hh:mm:ss",n*15],["hh:mm:ss",n*30],[`hh:mm
|
|
|
MM-dd`,t],[`hh:mm
|
|
|
MM-dd`,t*5],[`hh:mm
|
|
|
MM-dd`,t*10],[`hh:mm
|
|
|
MM-dd`,t*15],[`hh:mm
|
|
|
MM-dd`,t*30],[`hh:mm
|
|
|
MM-dd`,a],[`hh:mm
|
|
|
MM-dd`,a*2],[`hh:mm
|
|
|
MM-dd`,a*6],[`hh:mm
|
|
|
MM-dd`,a*12],[`MM-dd
|
|
|
yyyy`,s],[`MM-dd
|
|
|
yyyy`,s*2],[`MM-dd
|
|
|
yyyy`,s*3],[`MM-dd
|
|
|
yyyy`,s*4],[`MM-dd
|
|
|
yyyy`,s*5],[`MM-dd
|
|
|
yyyy`,s*6],["week",s*7],[`MM-dd
|
|
|
yyyy`,s*10],["week",s*14],["week",s*21],["month",s*31],["week",s*42],["month",s*62],["week",s*70],["quarter",s*95],["month",s*31*4],["month",s*31*5],["half-year",s*380/2],["month",s*31*8],["month",s*31*10],["year",s*380]];c.create=function(u){return new c({useUTC:u.ecModel.get("useUTC")})};var o=c;U.exports=o},IXuL:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("MwEJ"),p=i("T4UG"),v=p.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(f,d){return E(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}});U.exports=v},IXyC:function(U,R,i){var y=i("bYtY"),m=i("bLfw");i("3zoK");var E=m.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(){m.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(p){var v=this.option;p&&y.merge(v,p,!0),this._initDimensions()},contains:function(p,v){var f=p.get("parallelIndex");return f!=null&&v.getComponent("parallel",f)===this},setAxisExpand:function(p){y.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(v){p.hasOwnProperty(v)&&(this.option[v]=p[v])},this)},_initDimensions:function(){var p=this.dimensions=[],v=this.parallelAxisIndex=[],f=y.filter(this.dependentModels.parallelAxis,function(d){return(d.get("parallelIndex")||0)===this.componentIndex},this);y.each(f,function(d){p.push("dim"+d.get("dim")),v.push(d.componentIndex)})}});U.exports=E},ItGF:function(U,R){var i={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?i={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?i={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?i={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:i=m(navigator.userAgent);var y=i;function m(E){var p={},v={},f=E.match(/Firefox\/([\d.]+)/),d=E.match(/MSIE\s([\d.]+)/)||E.match(/Trident\/.+?rv:(([\d.]+))/),l=E.match(/Edge\/([\d.]+)/),n=/micromessenger/i.test(E);return f&&(v.firefox=!0,v.version=f[1]),d&&(v.ie=!0,v.version=d[1]),l&&(v.edge=!0,v.version=l[1]),n&&(v.weChat=!0),{browser:v,os:p,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!v.ie&&!v.edge,pointerEventsSupported:"onpointerdown"in window&&(v.edge||v.ie&&v.version>=11),domSupported:typeof document!="undefined"}}U.exports=y},ItS6:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=i("eP3c"),m=E(i("1q3G"));function E(l){return l&&l.__esModule?l:{default:l}}function p(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}function v(l,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,a.key,a)}}function f(l,n,t){return n&&v(l.prototype,n),t&&v(l,t),l}var d=function(){function l(){p(this,l),this.strm=new m.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,y.inflateInit)(this.strm,this.windowBits)}return f(l,[{key:"setInput",value:function(t){t?(this.strm.input=t,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(t){t>this.chunkSize&&(this.chunkSize=t,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=t;var a=(0,y.inflate)(this.strm,0);if(a<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=t)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,y.inflateReset)(this.strm)}}]),l}();R.default=d},Itpr:function(U,R,i){var y=i("+TT/");function m(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var o=[e],u,h;u=o.pop();)if(h=u.children,u.isExpand&&h.length)for(var g=h.length,A=g-1;A>=0;A--){var w=h[A];w.hierNode={defaultAncestor:null,ancestor:w,prelim:0,modifier:0,change:0,shift:0,i:A,thread:null},o.push(w)}}function E(e,o){var u=e.isExpand?e.children:[],h=e.parentNode.children,g=e.hierNode.i?h[e.hierNode.i-1]:null;if(u.length){l(e);var A=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;g?(e.hierNode.prelim=g.hierNode.prelim+o(e,g),e.hierNode.modifier=e.hierNode.prelim-A):e.hierNode.prelim=A}else g&&(e.hierNode.prelim=g.hierNode.prelim+o(e,g));e.parentNode.hierNode.defaultAncestor=n(e,g,e.parentNode.hierNode.defaultAncestor||h[0],o)}function p(e){var o=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:o},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function v(e){return arguments.length?e:c}function f(e,o){var u={};return e-=Math.PI/2,u.x=o*Math.cos(e),u.y=o*Math.sin(e),u}function d(e,o){return y.getLayoutRect(e.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()})}function l(e){for(var o=e.children,u=o.length,h=0,g=0;--u>=0;){var A=o[u];A.hierNode.prelim+=h,A.hierNode.modifier+=h,g+=A.hierNode.change,h+=A.hierNode.shift+g}}function n(e,o,u,h){if(o){for(var g=e,A=e,w=A.parentNode.children[0],x=o,C=g.hierNode.modifier,T=A.hierNode.modifier,O=w.hierNode.modifier,S=x.hierNode.modifier;x=t(x),A=a(A),x&&A;){g=t(g),w=a(w),g.hierNode.ancestor=e;var _=x.hierNode.prelim+S-A.hierNode.prelim-T+h(x,A);_>0&&(r(s(x,e,u),e,_),T+=_,C+=_),S+=x.hierNode.modifier,T+=A.hierNode.modifier,C+=g.hierNode.modifier,O+=w.hierNode.modifier}x&&!t(g)&&(g.hierNode.thread=x,g.hierNode.modifier+=S-C),A&&!a(w)&&(w.hierNode.thread=A,w.hierNode.modifier+=T-O,u=e)}return u}function t(e){var o=e.children;return o.length&&e.isExpand?o[o.length-1]:e.hierNode.thread}function a(e){var o=e.children;return o.length&&e.isExpand?o[0]:e.hierNode.thread}function s(e,o,u){return e.hierNode.ancestor.parentNode===o.parentNode?e.hierNode.ancestor:u}function r(e,o,u){var h=u/(o.hierNode.i-e.hierNode.i);o.hierNode.change-=h,o.hierNode.shift+=u,o.hierNode.modifier+=u,o.hierNode.prelim+=u,e.hierNode.change+=h}function c(e,o){return e.parentNode===o.parentNode?1:2}R.init=m,R.firstWalk=E,R.secondWalk=p,R.separation=v,R.radialCoordinate=f,R.getViewRect=d},IwbS:function(U,R,i){var y=i("bYtY"),m=i("NC18"),E=i("Qe9p"),p=i("Fofx"),v=i("QBsz"),f=i("y+Vt"),d=i("DN4a"),l=i("Dagg");R.Image=l;var n=i("4fz+");R.Group=n;var t=i("dqUG");R.Text=t;var a=i("2fw6");R.Circle=a;var s=i("SqI9");R.Sector=s;var r=i("RXMa");R.Ring=r;var c=i("h7HQ");R.Polygon=c;var e=i("1Jh7");R.Polyline=e;var o=i("x6Kt");R.Rect=o;var u=i("yxFR");R.Line=u;var h=i("rA99");R.BezierCurve=h;var g=i("jTL6");R.Arc=g;var A=i("1MYJ");R.CompoundPath=A;var w=i("SKnc");R.LinearGradient=w;var x=i("3e3G");R.RadialGradient=x;var C=i("mFDi");R.BoundingRect=C;var T=i("OS9S");R.IncrementalDisplayable=T;var O=i("nPnh"),S=Math.max,_=Math.min,L={},D=1,F={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},j="emphasis",k="normal",K=1,Z={},B={};function V(bt){return f.extend(bt)}function z(bt,ot){return m.extendFromString(bt,ot)}function X(bt,ot){B[bt]=ot}function W(bt){if(B.hasOwnProperty(bt))return B[bt]}function q(bt,ot,lr,jr){var Rr=m.createFromString(bt,ot);return lr&&(jr==="center"&&(lr=re(lr,Rr.getBoundingRect())),we(Rr,lr)),Rr}function Y(bt,ot,lr){var jr=new l({style:{image:bt,x:ot.x,y:ot.y,width:ot.width,height:ot.height},onload:function(Rr){if(lr==="center"){var xr={width:Rr.width,height:Rr.height};jr.setStyle(re(ot,xr))}}});return jr}function re(bt,ot){var lr=ot.width/ot.height,jr=bt.height*lr,Rr;jr<=bt.width?Rr=bt.height:(jr=bt.width,Rr=jr/lr);var xr=bt.x+bt.width/2,Vn=bt.y+bt.height/2;return{x:xr-jr/2,y:Vn-Rr/2,width:jr,height:Rr}}var ne=m.mergePath;function we(bt,ot){if(!bt.applyTransform)return;var lr=bt.getBoundingRect(),jr=lr.calculateTransform(ot);bt.applyTransform(jr)}function ie(bt){return O.subPixelOptimizeLine(bt.shape,bt.shape,bt.style),bt}function me(bt){return O.subPixelOptimizeRect(bt.shape,bt.shape,bt.style),bt}var _e=O.subPixelOptimize;function Te(bt){return bt!=null&&bt!=="none"}var We=y.createHashMap(),Ae=0;function je(bt){if(typeof bt!="string")return bt;var ot=We.get(bt);return ot||(ot=E.lift(bt,-.1),Ae<1e4&&(We.set(bt,ot),Ae++)),ot}function ee(bt){if(!bt.__hoverStlDirty)return;bt.__hoverStlDirty=!1;var ot=bt.__hoverStl;if(!ot){bt.__cachedNormalStl=bt.__cachedNormalZ2=null;return}var lr=bt.__cachedNormalStl={};bt.__cachedNormalZ2=bt.z2;var jr=bt.style;for(var Rr in ot)ot[Rr]!=null&&(lr[Rr]=jr[Rr]);lr.fill=jr.fill,lr.stroke=jr.stroke}function he(bt){var ot=bt.__hoverStl;if(!ot||bt.__highlighted)return;var lr=bt.__zr,jr=bt.useHoverLayer&&lr&&lr.painter.type==="canvas";if(bt.__highlighted=jr?"layer":"plain",bt.isGroup||!lr&&bt.useHoverLayer)return;var Rr=bt,xr=bt.style;jr&&(Rr=lr.addHover(bt),xr=Rr.style),er(xr),jr||ee(Rr),xr.extendFrom(ot),Ze(xr,ot,"fill"),Ze(xr,ot,"stroke"),jt(xr),jr||(bt.dirty(!1),bt.z2+=D)}function Ze(bt,ot,lr){!Te(ot[lr])&&Te(bt[lr])&&(bt[lr]=je(bt[lr]))}function oe(bt){var ot=bt.__highlighted;if(!ot)return;if(bt.__highlighted=!1,bt.isGroup)return;if(ot==="layer")bt.__zr&&bt.__zr.removeHover(bt);else{var lr=bt.style,jr=bt.__cachedNormalStl;jr&&(er(lr),bt.setStyle(jr),jt(lr));var Rr=bt.__cachedNormalZ2;Rr!=null&&bt.z2-Rr===D&&(bt.z2=Rr)}}function Q(bt,ot,lr){var jr=k,Rr=k,xr;bt.__highlighted&&(jr=j,xr=!0),ot(bt,lr),bt.__highlighted&&(Rr=j,xr=!0),bt.isGroup&&bt.traverse(function(Vn){!Vn.isGroup&&ot(Vn,lr)}),xr&&bt.__highDownOnUpdate&&bt.__highDownOnUpdate(jr,Rr)}function G(bt,ot){ot=bt.__hoverStl=ot!==!1&&(bt.hoverStyle||ot||{}),bt.__hoverStlDirty=!0,bt.__highlighted&&(bt.__cachedNormalStl=null,oe(bt),he(bt))}function te(bt){!Ne(this,bt)&&!this.__highByOuter&&Q(this,he)}function xe(bt){!Ne(this,bt)&&!this.__highByOuter&&Q(this,oe)}function fe(bt){this.__highByOuter|=1<<(bt||0),Q(this,he)}function Be(bt){!(this.__highByOuter&=~(1<<(bt||0)))&&Q(this,oe)}function Ne(bt,ot){return bt.__highDownSilentOnTouch&&ot.zrByTouch}function de(bt,ot){ve(bt,!0),Q(bt,G,ot)}function ve(bt,ot){var lr=ot===!1;if(bt.__highDownSilentOnTouch=bt.highDownSilentOnTouch,bt.__highDownOnUpdate=bt.highDownOnUpdate,!lr||bt.__highDownDispatcher){var jr=lr?"off":"on";bt[jr]("mouseover",te)[jr]("mouseout",xe),bt[jr]("emphasis",fe)[jr]("normal",Be),bt.__highByOuter=bt.__highByOuter||0,bt.__highDownDispatcher=!lr}}function Me(bt){return!!(bt&&bt.__highDownDispatcher)}function qe(bt){var ot=Z[bt];return ot==null&&K<=32&&(ot=Z[bt]=K++),ot}function gt(bt,ot,lr,jr,Rr,xr,Vn){Rr=Rr||L;var bn=Rr.labelFetcher,di=Rr.labelDataIndex,lt=Rr.labelDimIndex,ct=Rr.labelProp,Le=lr.getShallow("show"),Ue=jr.getShallow("show"),Ye;(Le||Ue)&&(bn&&(Ye=bn.getFormattedLabel(di,"normal",null,lt,ct)),Ye==null&&(Ye=y.isFunction(Rr.defaultText)?Rr.defaultText(di,Rr):Rr.defaultText));var ft=Le?Ye:null,ir=Ue?y.retrieve2(bn?bn.getFormattedLabel(di,"emphasis",null,lt,ct):null,Ye):null;(ft!=null||ir!=null)&&(Pe(bt,lr,xr,Rr),Pe(ot,jr,Vn,Rr,!0)),bt.text=ft,ot.text=ir}function ht(bt,ot,lr){var jr=bt.style;ot&&(er(jr),bt.setStyle(ot),jt(jr)),jr=bt.__hoverStl,lr&&jr&&(er(jr),y.extend(jr,lr),jt(jr))}function Pe(bt,ot,lr,jr,Rr){return nt(bt,ot,jr,Rr),lr&&y.extend(bt,lr),bt}function It(bt,ot,lr){var jr={isRectText:!0},Rr;lr===!1?Rr=!0:jr.autoColor=lr,nt(bt,ot,jr,Rr)}function nt(bt,ot,lr,jr){if(lr=lr||L,lr.isRectText){var Rr;lr.getTextPosition?Rr=lr.getTextPosition(ot,jr):(Rr=ot.getShallow("position")||(jr?null:"inside"),Rr==="outside"&&(Rr="top")),bt.textPosition=Rr,bt.textOffset=ot.getShallow("offset");var xr=ot.getShallow("rotate");xr!=null&&(xr*=Math.PI/180),bt.textRotation=xr,bt.textDistance=y.retrieve2(ot.getShallow("distance"),jr?null:5)}var Vn=ot.ecModel,bn=Vn&&Vn.option.textStyle,di=Nt(ot),lt;if(di){lt={};for(var ct in di)if(di.hasOwnProperty(ct)){var Le=ot.getModel(["rich",ct]);Bt(lt[ct]={},Le,bn,lr,jr)}}return bt.rich=lt,Bt(bt,ot,bn,lr,jr,!0),lr.forceRich&&!lr.textStyle&&(lr.textStyle={}),bt}function Nt(bt){for(var ot;bt&&bt!==bt.ecModel;){var lr=(bt.option||L).rich;if(lr){ot=ot||{};for(var jr in lr)lr.hasOwnProperty(jr)&&(ot[jr]=1)}bt=bt.parentModel}return ot}function Bt(bt,ot,lr,jr,Rr,xr){lr=!Rr&&lr||L,bt.textFill=Pt(ot.getShallow("color"),jr)||lr.color,bt.textStroke=Pt(ot.getShallow("textBorderColor"),jr)||lr.textBorderColor,bt.textStrokeWidth=y.retrieve2(ot.getShallow("textBorderWidth"),lr.textBorderWidth),Rr||(xr&&(bt.insideRollbackOpt=jr,jt(bt)),bt.textFill==null&&(bt.textFill=jr.autoColor)),bt.fontStyle=ot.getShallow("fontStyle")||lr.fontStyle,bt.fontWeight=ot.getShallow("fontWeight")||lr.fontWeight,bt.fontSize=ot.getShallow("fontSize")||lr.fontSize,bt.fontFamily=ot.getShallow("fontFamily")||lr.fontFamily,bt.textAlign=ot.getShallow("align"),bt.textVerticalAlign=ot.getShallow("verticalAlign")||ot.getShallow("baseline"),bt.textLineHeight=ot.getShallow("lineHeight"),bt.textWidth=ot.getShallow("width"),bt.textHeight=ot.getShallow("height"),bt.textTag=ot.getShallow("tag"),(!xr||!jr.disableBox)&&(bt.textBackgroundColor=Pt(ot.getShallow("backgroundColor"),jr),bt.textPadding=ot.getShallow("padding"),bt.textBorderColor=Pt(ot.getShallow("borderColor"),jr),bt.textBorderWidth=ot.getShallow("borderWidth"),bt.textBorderRadius=ot.getShallow("borderRadius"),bt.textBoxShadowColor=ot.getShallow("shadowColor"),bt.textBoxShadowBlur=ot.getShallow("shadowBlur"),bt.textBoxShadowOffsetX=ot.getShallow("shadowOffsetX"),bt.textBoxShadowOffsetY=ot.getShallow("shadowOffsetY")),bt.textShadowColor=ot.getShallow("textShadowColor")||lr.textShadowColor,bt.textShadowBlur=ot.getShallow("textShadowBlur")||lr.textShadowBlur,bt.textShadowOffsetX=ot.getShallow("textShadowOffsetX")||lr.textShadowOffsetX,bt.textShadowOffsetY=ot.getShallow("textShadowOffsetY")||lr.textShadowOffsetY}function Pt(bt,ot){return bt!=="auto"?bt:ot&&ot.autoColor?ot.autoColor:null}function jt(bt){var ot=bt.textPosition,lr=bt.insideRollbackOpt,jr;if(lr&&bt.textFill==null){var Rr=lr.autoColor,xr=lr.isRectText,Vn=lr.useInsideStyle,bn=Vn!==!1&&(Vn===!0||xr&&ot&&typeof ot=="string"&&ot.indexOf("inside")>=0),di=!bn&&Rr!=null;(bn||di)&&(jr={textFill:bt.textFill,textStroke:bt.textStroke,textStrokeWidth:bt.textStrokeWidth}),bn&&(bt.textFill="#fff",bt.textStroke==null&&(bt.textStroke=Rr,bt.textStrokeWidth==null&&(bt.textStrokeWidth=2))),di&&(bt.textFill=Rr)}bt.insideRollback=jr}function er(bt){var ot=bt.insideRollback;ot&&(bt.textFill=ot.textFill,bt.textStroke=ot.textStroke,bt.textStrokeWidth=ot.textStrokeWidth,bt.insideRollback=null)}function at(bt,ot){var lr=ot&&ot.getModel("textStyle");return y.trim([bt.fontStyle||lr&&lr.getShallow("fontStyle")||"",bt.fontWeight||lr&&lr.getShallow("fontWeight")||"",(bt.fontSize||lr&&lr.getShallow("fontSize")||12)+"px",bt.fontFamily||lr&&lr.getShallow("fontFamily")||"sans-serif"].join(" "))}function Ce(bt,ot,lr,jr,Rr,xr){typeof Rr=="function"&&(xr=Rr,Rr=null);var Vn=jr&&jr.isAnimationEnabled();if(Vn){var bn=bt?"Update":"",di=jr.getShallow("animationDuration"+bn),lt=jr.getShallow("animationEasing"+bn),ct=jr.getShallow("animationDelay"+bn);typeof ct=="function"&&(ct=ct(Rr,jr.getAnimationDelayParams?jr.getAnimationDelayParams(ot,Rr):null)),typeof di=="function"&&(di=di(Rr)),di>0?ot.animateTo(lr,di,ct||0,lt,xr,!!xr):(ot.stopAnimation(),ot.attr(lr),xr&&xr())}else ot.stopAnimation(),ot.attr(lr),xr&&xr()}function ue(bt,ot,lr,jr,Rr){Ce(!0,bt,ot,lr,jr,Rr)}function Dt(bt,ot,lr,jr,Rr){Ce(!1,bt,ot,lr,jr,Rr)}function rt(bt,ot){for(var lr=p.identity([]);bt&&bt!==ot;)p.mul(lr,bt.getLocalTransform(),lr),bt=bt.parent;return lr}function ye(bt,ot,lr){return ot&&!y.isArrayLike(ot)&&(ot=d.getLocalTransform(ot)),lr&&(ot=p.invert([],ot)),v.applyTransform([],bt,ot)}function Xt(bt,ot,lr){var jr=ot[4]===0||ot[5]===0||ot[0]===0?1:Math.abs(2*ot[4]/ot[0]),Rr=ot[4]===0||ot[5]===0||ot[2]===0?1:Math.abs(2*ot[4]/ot[2]),xr=[bt==="left"?-jr:bt==="right"?jr:0,bt==="top"?-Rr:bt==="bottom"?Rr:0];return xr=ye(xr,ot,lr),Math.abs(xr[0])>Math.abs(xr[1])?xr[0]>0?"right":"left":xr[1]>0?"bottom":"top"}function pr(bt,ot,lr,jr){if(!bt||!ot)return;function Rr(bn){var di={};return bn.traverse(function(lt){!lt.isGroup&<.anid&&(di[lt.anid]=lt)}),di}function xr(bn){var di={position:v.clone(bn.position),rotation:bn.rotation};return bn.shape&&(di.shape=y.extend({},bn.shape)),di}var Vn=Rr(bt);ot.traverse(function(bn){if(!bn.isGroup&&bn.anid){var di=Vn[bn.anid];if(di){var lt=xr(bn);bn.attr(xr(di)),ue(bn,lt,lr,bn.dataIndex)}}})}function mt(bt,ot){return y.map(bt,function(lr){var jr=lr[0];jr=S(jr,ot.x),jr=_(jr,ot.x+ot.width);var Rr=lr[1];return Rr=S(Rr,ot.y),Rr=_(Rr,ot.y+ot.height),[jr,Rr]})}function nr(bt,ot){var lr=S(bt.x,ot.x),jr=_(bt.x+bt.width,ot.x+ot.width),Rr=S(bt.y,ot.y),xr=_(bt.y+bt.height,ot.y+ot.height);if(jr>=lr&&xr>=Rr)return{x:lr,y:Rr,width:jr-lr,height:xr-Rr}}function yr(bt,ot,lr){ot=y.extend({rectHover:!0},ot);var jr=ot.style={strokeNoScale:!0};if(lr=lr||{x:-1,y:-1,width:2,height:2},bt)return bt.indexOf("image://")===0?(jr.image=bt.slice(8),y.defaults(jr,lr),new l(ot)):q(bt.replace("path://",""),ot,lr,"center")}function gn(bt,ot,lr,jr,Rr){for(var xr=0,Vn=Rr[Rr.length-1];xr<Rr.length;xr++){var bn=Rr[xr];if(_r(bt,ot,lr,jr,bn[0],bn[1],Vn[0],Vn[1]))return!0;Vn=bn}}function _r(bt,ot,lr,jr,Rr,xr,Vn,bn){var di=lr-bt,lt=jr-ot,ct=Vn-Rr,Le=bn-xr,Ue=ur(ct,Le,di,lt);if(zt(Ue))return!1;var Ye=bt-Rr,ft=ot-xr,ir=ur(Ye,ft,di,lt)/Ue;if(ir<0||ir>1)return!1;var Yt=ur(Ye,ft,ct,Le)/Ue;return!(Yt<0||Yt>1)}function ur(bt,ot,lr,jr){return bt*jr-lr*ot}function zt(bt){return bt<=1e-6&&bt>=-1e-6}X("circle",a),X("sector",s),X("ring",r),X("polygon",c),X("polyline",e),X("rect",o),X("line",u),X("bezierCurve",h),X("arc",g),R.Z2_EMPHASIS_LIFT=D,R.CACHED_LABEL_STYLE_PROPERTIES=F,R.extendShape=V,R.extendPath=z,R.registerShape=X,R.getShapeClass=W,R.makePath=q,R.makeImage=Y,R.mergePath=ne,R.resizePath=we,R.subPixelOptimizeLine=ie,R.subPixelOptimizeRect=me,R.subPixelOptimize=_e,R.setElementHoverStyle=G,R.setHoverStyle=de,R.setAsHighDownDispatcher=ve,R.isHighDownDispatcher=Me,R.getHighlightDigit=qe,R.setLabelStyle=gt,R.modifyLabelStyle=ht,R.setTextStyle=Pe,R.setText=It,R.getFont=at,R.updateProps=ue,R.initProps=Dt,R.getTransform=rt,R.applyTransform=ye,R.transformDirection=Xt,R.groupTransition=pr,R.clipPointsByRect=mt,R.clipRectByRect=nr,R.createIcon=yr,R.linePolygonIntersect=gn,R.lineLineIntersect=_r},IyUQ:function(U,R,i){var y=i("bYtY"),m=i("YH21"),E=i("IwbS"),p=i("iLNv"),v=i("fc+c"),f=i("OELB"),d=i("+TT/"),l=i("72pK"),n=E.Rect,t=f.linearMap,a=f.asc,s=y.bind,r=y.each,c=7,e=1,o=30,u="horizontal",h="vertical",g=5,A=["line","bar","candlestick","scatter"],w=v.extend({type:"dataZoom.slider",init:function(O,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(O,S,_,L){if(w.superApply(this,"render",arguments),p.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=O.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!L||L.type!=="dataZoom"||L.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){w.superApply(this,"remove",arguments),p.clear(this,"_dispatchZoomAction")},dispose:function(){w.superApply(this,"dispose",arguments),p.clear(this,"_dispatchZoomAction")},_buildView:function(){var O=this.group;O.removeAll(),this._resetLocation(),this._resetInterval();var S=this._displayables.barGroup=new E.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),O.add(S),this._positionGroup()},_resetLocation:function(){var O=this.dataZoomModel,S=this.api,_=this._findCoordRect(),L={width:S.getWidth(),height:S.getHeight()},D=this._orient===u?{right:L.width-_.x-_.width,top:L.height-o-c,width:_.width,height:o}:{right:c,top:_.y,width:o,height:_.height},F=d.getLayoutParams(O.option);y.each(["right","top","width","height"],function(k){F[k]==="ph"&&(F[k]=D[k])});var j=d.getLayoutRect(F,L,O.padding);this._location={x:j.x,y:j.y},this._size=[j.width,j.height],this._orient===h&&this._size.reverse()},_positionGroup:function(){var O=this.group,S=this._location,_=this._orient,L=this.dataZoomModel.getFirstTargetAxisModel(),D=L&&L.get("inverse"),F=this._displayables.barGroup,j=(this._dataShadowInfo||{}).otherAxisInverse;F.attr(_===u&&!D?{scale:j?[1,1]:[1,-1]}:_===u&&D?{scale:j?[-1,1]:[-1,-1]}:_===h&&!D?{scale:j?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:j?[-1,-1]:[-1,1],rotation:Math.PI/2});var k=O.getBoundingRect([F]);O.attr("position",[S.x-k.x,S.y-k.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var O=this.dataZoomModel,S=this._size,_=this._displayables.barGroup;_.add(new n({silent:!0,shape:{x:0,y:0,width:S[0],height:S[1]},style:{fill:O.get("backgroundColor")},z2:-40})),_.add(new n({shape:{x:0,y:0,width:S[0],height:S[1]},style:{fill:"transparent"},z2:0,onclick:y.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var O=this._dataShadowInfo=this._prepareDataShadowInfo();if(!O)return;var S=this._size,_=O.series,L=_.getRawData(),D=_.getShadowDim?_.getShadowDim():O.otherDim;if(D==null)return;var F=L.getDataExtent(D),j=(F[1]-F[0])*.3;F=[F[0]-j,F[1]+j];var k=[0,S[1]],K=[0,S[0]],Z=[[S[0],0],[0,0]],B=[],V=K[1]/(L.count()-1),z=0,X=Math.round(L.count()/S[0]),W;L.each([D],function(Y,re){if(X>0&&re%X){z+=V;return}var ne=Y==null||isNaN(Y)||Y==="",we=ne?0:t(Y,F,k,!0);ne&&!W&&re?(Z.push([Z[Z.length-1][0],0]),B.push([B[B.length-1][0],0])):!ne&&W&&(Z.push([z,0]),B.push([z,0])),Z.push([z,we]),B.push([z,we]),z+=V,W=ne});var q=this.dataZoomModel;this._displayables.barGroup.add(new E.Polygon({shape:{points:Z},style:y.defaults({fill:q.get("dataBackgroundColor")},q.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new E.Polyline({shape:{points:B},style:q.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var O=this.dataZoomModel,S=O.get("showDataShadow");if(S===!1)return;var _,L=this.ecModel;return O.eachTargetAxis(function(D,F){var j=O.getAxisProxy(D.name,F).getTargetSeriesModels();y.each(j,function(k){if(_)return;if(S!==!0&&y.indexOf(A,k.get("type"))<0)return;var K=L.getComponent(D.axis,F).axis,Z=x(D.name),B,V=k.coordinateSystem;Z!=null&&V.getOtherAxis&&(B=V.getOtherAxis(K).inverse),Z=k.getData().mapDimension(Z),_={thisAxis:K,series:k,thisDim:D.name,otherDim:Z,otherAxisInverse:B}},this)},this),_},_renderHandle:function(){var O=this._displayables,S=O.handles=[],_=O.handleLabels=[],L=this._displayables.barGroup,D=this._size,F=this.dataZoomModel;L.add(O.filler=new n({draggable:!0,cursor:C(this._orient),drift:s(this._onDragMove,this,"all"),ondragstart:s(this._showDataInfo,this,!0),ondragend:s(this._onDragEnd,this),onmouseover:s(this._showDataInfo,this,!0),onmouseout:s(this._showDataInfo,this,!1),style:{fill:F.get("fillerColor"),textPosition:"inside"}})),L.add(new n({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:D[0],height:D[1]},style:{stroke:F.get("dataBackgroundColor")||F.get("borderColor"),lineWidth:e,fill:"rgba(0,0,0,0)"}})),r([0,1],function(j){var k=E.createIcon(F.get("handleIcon"),{cursor:C(this._orient),draggable:!0,drift:s(this._onDragMove,this,j),ondragend:s(this._onDragEnd,this),onmouseover:s(this._showDataInfo,this,!0),onmouseout:s(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),K=k.getBoundingRect();this._handleHeight=f.parsePercent(F.get("handleSize"),this._size[1]),this._handleWidth=K.width/K.height*this._handleHeight,k.setStyle(F.getModel("handleStyle").getItemStyle());var Z=F.get("handleColor");Z!=null&&(k.style.fill=Z),L.add(S[j]=k);var B=F.textStyleModel;this.group.add(_[j]=new E.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:B.getTextColor(),textFont:B.getFont()},z2:10}))},this)},_resetInterval:function(){var O=this._range=this.dataZoomModel.getPercentRange(),S=this._getViewExtent();this._handleEnds=[t(O[0],[0,100],S,!0),t(O[1],[0,100],S,!0)]},_updateInterval:function(O,S){var _=this.dataZoomModel,L=this._handleEnds,D=this._getViewExtent(),F=_.findRepresentativeAxisProxy().getMinMaxSpan(),j=[0,100];l(S,L,D,_.get("zoomLock")?"all":O,F.minSpan!=null?t(F.minSpan,j,D,!0):null,F.maxSpan!=null?t(F.maxSpan,j,D,!0):null);var k=this._range,K=this._range=a([t(L[0],D,j,!0),t(L[1],D,j,!0)]);return!k||k[0]!==K[0]||k[1]!==K[1]},_updateView:function(O){var S=this._displayables,_=this._handleEnds,L=a(_.slice()),D=this._size;r([0,1],function(F){var j=S.handles[F],k=this._handleHeight;j.attr({scale:[k/2,k/2],position:[_[F],D[1]/2-k/2]})},this),S.filler.setShape({x:L[0],y:0,width:L[1]-L[0],height:D[1]}),this._updateDataInfo(O)},_updateDataInfo:function(O){var S=this.dataZoomModel,_=this._displayables,L=_.handleLabels,D=this._orient,F=["",""];if(S.get("showDetail")){var j=S.findRepresentativeAxisProxy();if(j){var k=j.getAxisModel().axis,K=this._range,Z=O?j.calculateDataWindow({start:K[0],end:K[1]}).valueWindow:j.getDataValueWindow();F=[this._formatLabel(Z[0],k),this._formatLabel(Z[1],k)]}}var B=a(this._handleEnds.slice());V.call(this,0),V.call(this,1);function V(z){var X=E.getTransform(_.handles[z].parent,this.group),W=E.transformDirection(z===0?"right":"left",X),q=this._handleWidth/2+g,Y=E.applyTransform([B[z]+(z===0?-q:q),this._size[1]/2],X);L[z].setStyle({x:Y[0],y:Y[1],textVerticalAlign:D===u?"middle":W,textAlign:D===u?W:"center",text:F[z]})}},_formatLabel:function(O,S){var _=this.dataZoomModel,L=_.get("labelFormatter"),D=_.get("labelPrecision");(D==null||D==="auto")&&(D=S.getPixelPrecision());var F=O==null||isNaN(O)?"":S.type==="category"||S.type==="time"?S.scale.getLabel(Math.round(O)):O.toFixed(Math.min(D,20));return y.isFunction(L)?L(O,F):y.isString(L)?L.replace("{value}",F):F},_showDataInfo:function(O){O=this._dragging||O;var S=this._displayables.handleLabels;S[0].attr("invisible",!O),S[1].attr("invisible",!O)},_onDragMove:function(O,S,_,L){this._dragging=!0,m.stop(L.event);var D=this._displayables.barGroup.getLocalTransform(),F=E.applyTransform([S,_],D,!0),j=this._updateInterval(O,F[0]),k=this.dataZoomModel.get("realtime");this._updateView(!k),j&&k&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var O=this.dataZoomModel.get("realtime");!O&&this._dispatchZoomAction()},_onClickPanelClick:function(O){var S=this._size,_=this._displayables.barGroup.transformCoordToLocal(O.offsetX,O.offsetY);if(_[0]<0||_[0]>S[0]||_[1]<0||_[1]>S[1])return;var L=this._handleEnds,D=(L[0]+L[1])/2,F=this._updateInterval("all",_[0]-D);this._updateView(),F&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var O=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:O[0],end:O[1]})},_findCoordRect:function(){var O;if(r(this.getTargetCoordInfo(),function(L){if(!O&&L.length){var D=L[0].model.coordinateSystem;O=D.getRect&&D.getRect()}}),!O){var S=this.api.getWidth(),_=this.api.getHeight();O={x:S*.2,y:_*.2,width:S*.6,height:_*.6}}return O}});function x(O){var S={x:"y",y:"x",radius:"angle",angle:"radius"};return S[O]}function C(O){return O==="vertical"?"ns-resize":"ew-resize"}var T=w;U.exports=T},IzEo:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("lnY3"),p=i.n(E),v=i("Znn+"),f=i("14J3"),d=i("jCWc")},J66h:function(U,R,i){(function(y){var m,E;(function(p,v){U.exports=v(p)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof y!="undefined"?y:this,function(p){"use strict";p=p||{};var v=p.Base64,f="2.6.4",d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(k){for(var K={},Z=0,B=k.length;Z<B;Z++)K[k.charAt(Z)]=Z;return K}(d),n=String.fromCharCode,t=function(K){if(K.length<2){var Z=K.charCodeAt(0);return Z<128?K:Z<2048?n(192|Z>>>6)+n(128|Z&63):n(224|Z>>>12&15)+n(128|Z>>>6&63)+n(128|Z&63)}else{var Z=65536+(K.charCodeAt(0)-55296)*1024+(K.charCodeAt(1)-56320);return n(240|Z>>>18&7)+n(128|Z>>>12&63)+n(128|Z>>>6&63)+n(128|Z&63)}},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,s=function(K){return K.replace(a,t)},r=function(K){var Z=[0,2,1][K.length%3],B=K.charCodeAt(0)<<16|(K.length>1?K.charCodeAt(1):0)<<8|(K.length>2?K.charCodeAt(2):0),V=[d.charAt(B>>>18),d.charAt(B>>>12&63),Z>=2?"=":d.charAt(B>>>6&63),Z>=1?"=":d.charAt(B&63)];return V.join("")},c=p.btoa&&typeof p.btoa=="function"?function(k){return p.btoa(k)}:function(k){if(k.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return k.replace(/[\s\S]{1,3}/g,r)},e=function(K){return c(s(String(K)))},o=function(K){return K.replace(/[+\/]/g,function(Z){return Z=="+"?"-":"_"}).replace(/=/g,"")},u=function(K,Z){return Z?o(e(K)):e(K)},h=function(K){return u(K,!0)},g;p.Uint8Array&&(g=function(K,Z){for(var B="",V=0,z=K.length;V<z;V+=3){var X=K[V],W=K[V+1],q=K[V+2],Y=X<<16|W<<8|q;B+=d.charAt(Y>>>18)+d.charAt(Y>>>12&63)+(typeof W!="undefined"?d.charAt(Y>>>6&63):"=")+(typeof q!="undefined"?d.charAt(Y&63):"=")}return Z?o(B):B});var A=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(K){switch(K.length){case 4:var Z=(7&K.charCodeAt(0))<<18|(63&K.charCodeAt(1))<<12|(63&K.charCodeAt(2))<<6|63&K.charCodeAt(3),B=Z-65536;return n((B>>>10)+55296)+n((B&1023)+56320);case 3:return n((15&K.charCodeAt(0))<<12|(63&K.charCodeAt(1))<<6|63&K.charCodeAt(2));default:return n((31&K.charCodeAt(0))<<6|63&K.charCodeAt(1))}},x=function(K){return K.replace(A,w)},C=function(K){var Z=K.length,B=Z%4,V=(Z>0?l[K.charAt(0)]<<18:0)|(Z>1?l[K.charAt(1)]<<12:0)|(Z>2?l[K.charAt(2)]<<6:0)|(Z>3?l[K.charAt(3)]:0),z=[n(V>>>16),n(V>>>8&255),n(V&255)];return z.length-=[0,0,2,1][B],z.join("")},T=p.atob&&typeof p.atob=="function"?function(k){return p.atob(k)}:function(k){return k.replace(/\S{1,4}/g,C)},O=function(K){return T(String(K).replace(/[^A-Za-z0-9\+\/]/g,""))},S=function(K){return x(T(K))},_=function(K){return String(K).replace(/[-_]/g,function(Z){return Z=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},L=function(K){return S(_(K))},D;p.Uint8Array&&(D=function(K){return Uint8Array.from(O(_(K)),function(Z){return Z.charCodeAt(0)})});var F=function(){var K=p.Base64;return p.Base64=v,K};if(p.Base64={VERSION:f,atob:O,btoa:c,fromBase64:L,toBase64:u,utob:s,encode:u,encodeURI:h,btou:x,decode:L,noConflict:F,fromUint8Array:g,toUint8Array:D},typeof Object.defineProperty=="function"){var j=function(K){return{value:K,enumerable:!1,writable:!0,configurable:!0}};p.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",j(function(){return L(this)})),Object.defineProperty(String.prototype,"toBase64",j(function(k){return u(this,k)})),Object.defineProperty(String.prototype,"toBase64URI",j(function(){return u(this,!0)}))}}return p.Meteor&&(Base64=p.Base64),U.exports?U.exports.Base64=p.Base64:!(m=[],E=function(){return p.Base64}.apply(R,m),E!==void 0&&(U.exports=E)),{Base64:p.Base64}})}).call(this,i("yLpj"))},JEkh:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("ItGF"),f=i("4NO4"),d=i("7aKB"),l=i("OKJ2"),n=d.addCommas,t=d.encodeHTML;function a(c){f.defaultEmphasis(c,"label",["show"])}var s=E.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(c,e,o){this.mergeDefaultAndTheme(c,o),this._mergeOption(c,o,!1,!0)},isAnimationEnabled:function(){if(v.node)return!1;var c=this.__hostSeries;return this.getShallow("animation")&&c&&c.isAnimationEnabled()},mergeOption:function(c,e){this._mergeOption(c,e,!1,!1)},_mergeOption:function(c,e,o,u){var h=this.constructor,g=this.mainType+"Model";o||e.eachSeries(function(A){var w=A.get(this.mainType,!0),x=A[g];if(!w||!w.data){A[g]=null;return}x?x._mergeOption(w,e,!0):(u&&a(w),p.each(w.data,function(C){C instanceof Array?(a(C[0]),a(C[1])):a(C)}),x=new h(w,this,e),p.extend(x,{mainType:this.mainType,seriesIndex:A.seriesIndex,name:A.name,createdBySelf:!0}),x.__hostSeries=A),A[g]=x},this)},formatTooltip:function(c){var e=this.getData(),o=this.getRawValue(c),u=p.isArray(o)?p.map(o,n).join(", "):n(o),h=e.getName(c),g=t(this.name);return(o!=null||h)&&(g+="<br />"),h&&(g+=t(h),o!=null&&(g+=" : ")),o!=null&&(g+=t(u)),g},getData:function(){return this._data},setData:function(c){this._data=c}});p.mixin(s,l);var r=s;U.exports=r},JGo8:function(U,R,i){},JLnu:function(U,R,i){var y=i("+TT/"),m=i("OELB"),E=m.parsePercent,p=m.linearMap;function v(n,t){return y.getLayoutRect(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function f(n,t){for(var a=n.mapDimension("value"),s=n.mapArray(a,function(u){return u}),r=[],c=t==="ascending",e=0,o=n.count();e<o;e++)r[e]=e;return typeof t=="function"?r.sort(t):t!=="none"&&r.sort(function(u,h){return c?s[u]-s[h]:s[h]-s[u]}),r}function d(n){n.each(function(t){var a=n.getItemModel(t),s=a.getModel("label"),r=s.get("position"),c=a.getModel("labelLine"),e=n.getItemLayout(t),o=e.points,u=r==="inner"||r==="inside"||r==="center"||r==="insideLeft"||r==="insideRight",h,g,A,w;if(u)r==="insideLeft"?(g=(o[0][0]+o[3][0])/2+5,A=(o[0][1]+o[3][1])/2,h="left"):r==="insideRight"?(g=(o[1][0]+o[2][0])/2-5,A=(o[1][1]+o[2][1])/2,h="right"):(g=(o[0][0]+o[1][0]+o[2][0]+o[3][0])/4,A=(o[0][1]+o[1][1]+o[2][1]+o[3][1])/4,h="center"),w=[[g,A],[g,A]];else{var x,C,T,O=c.get("length");r==="left"?(x=(o[3][0]+o[0][0])/2,C=(o[3][1]+o[0][1])/2,T=x-O,g=T-5,h="right"):r==="right"?(x=(o[1][0]+o[2][0])/2,C=(o[1][1]+o[2][1])/2,T=x+O,g=T+5,h="left"):r==="rightTop"?(x=o[1][0],C=o[1][1],T=x+O,g=T+5,h="top"):r==="rightBottom"?(x=o[2][0],C=o[2][1],T=x+O,g=T+5,h="bottom"):r==="leftTop"?(x=o[0][0],C=o[1][1],T=x-O,g=T-5,h="right"):r==="leftBottom"?(x=o[3][0],C=o[2][1],T=x-O,g=T-5,h="right"):(x=(o[1][0]+o[2][0])/2,C=(o[1][1]+o[2][1])/2,T=x+O,g=T+5,h="left");var S=C;w=[[x,C],[T,S]],A=S}e.label={linePoints:w,x:g,y:A,verticalAlign:"middle",textAlign:h,inside:u}})}function l(n,t,a){n.eachSeriesByType("funnel",function(s){var r=s.getData(),c=r.mapDimension("value"),e=s.get("sort"),o=v(s,t),u=f(r,e),h=[E(s.get("minSize"),o.width),E(s.get("maxSize"),o.width)],g=r.getDataExtent(c),A=s.get("min"),w=s.get("max");A==null&&(A=Math.min(g[0],0)),w==null&&(w=g[1]);var x=s.get("funnelAlign"),C=s.get("gap"),T=(o.height-C*(r.count()-1))/r.count(),O=o.y,S=function(Z,B){var V=r.get(c,Z)||0,z=p(V,[A,w],h,!0),X;switch(x){case"left":X=o.x;break;case"center":X=o.x+(o.width-z)/2;break;case"right":X=o.x+o.width-z;break}return[[X,B],[X+z,B]]};e==="ascending"&&(T=-T,C=-C,O+=o.height,u=u.reverse());for(var _=0;_<u.length;_++){var L=u[_],D=u[_+1],F=r.getItemModel(L),j=F.get("itemStyle.height");j==null?j=T:(j=E(j,o.height),e==="ascending"&&(j=-j));var k=S(L,O),K=S(D,O+j);O+=j+C,r.setItemLayout(L,{points:k.concat(K.slice().reverse())})}d(r)})}U.exports=l},JSwD:function(U,R,i){"use strict";function y(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(h){return typeof h}:y=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},y(o)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=e;var m=p(i("6BzB"));function E(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return E=function(){return o},o}function p(o){if(o&&o.__esModule)return o;if(o===null||y(o)!=="object"&&typeof o!="function")return{default:o};var u=E();if(u&&u.has(o))return u.get(o);var h={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in o)if(Object.prototype.hasOwnProperty.call(o,A)){var w=g?Object.getOwnPropertyDescriptor(o,A):null;w&&(w.get||w.set)?Object.defineProperty(h,A,w):h[A]=o[A]}return h.default=o,u&&u.set(o,h),h}var v=15,f=852,d=592,l=0,n=1,t=2,a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],r=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],c=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function e(o,u,h,g,A,w,x,C){var T=C.bits,O=0,S=0,_=0,L=0,D=0,F=0,j=0,k=0,K=0,Z=0,B,V,z,X,W,q=null,Y=0,re,ne=new m.Buf16(v+1),we=new m.Buf16(v+1),ie=null,me=0,_e,Te,We;for(O=0;O<=v;O++)ne[O]=0;for(S=0;S<g;S++)ne[u[h+S]]++;for(D=T,L=v;L>=1&&!(ne[L]!==0);L--);if(D>L&&(D=L),L===0)return A[w++]=1<<24|64<<16|0,A[w++]=1<<24|64<<16|0,C.bits=1,0;for(_=1;_<L&&!(ne[_]!==0);_++);for(D<_&&(D=_),k=1,O=1;O<=v;O++)if(k<<=1,k-=ne[O],k<0)return-1;if(k>0&&(o===l||L!==1))return-1;for(we[1]=0,O=1;O<v;O++)we[O+1]=we[O]+ne[O];for(S=0;S<g;S++)u[h+S]!==0&&(x[we[u[h+S]]++]=S);if(o===l?(q=ie=x,re=19):o===n?(q=a,Y-=257,ie=s,me-=257,re=256):(q=r,ie=c,re=-1),Z=0,S=0,O=_,W=w,F=D,j=0,z=-1,K=1<<D,X=K-1,o===n&&K>f||o===t&&K>d)return 1;for(;;){_e=O-j,x[S]<re?(Te=0,We=x[S]):x[S]>re?(Te=ie[me+x[S]],We=q[Y+x[S]]):(Te=32+64,We=0),B=1<<O-j,V=1<<F,_=V;do V-=B,A[W+(Z>>j)+V]=_e<<24|Te<<16|We|0;while(V!==0);for(B=1<<O-1;Z&B;)B>>=1;if(B!==0?(Z&=B-1,Z+=B):Z=0,S++,--ne[O]===0){if(O===L)break;O=u[h+x[S]]}if(O>D&&(Z&X)!==z){for(j===0&&(j=D),W+=_,F=O-j,k=1<<F;F+j<L&&!(k-=ne[F+j],k<=0);)F++,k<<=1;if(K+=1<<F,o===n&&K>f||o===t&&K>d)return 1;z=Z&X,A[z]=D<<24|F<<16|W-w|0}}return Z!==0&&(A[W+Z]=O-j<<24|64<<16|0),C.bits=D,0}},JVwQ:function(U,R,i){var y=i("ProS"),m=i("1NG9"),E=m.Polygon,p=i("IwbS"),v=i("bYtY"),f=v.bind,d=v.extend,l=i("gPAo"),n=y.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(a,s,r){var c=a.getData(),e=this.group,o=a.getLayerSeries(),u=c.getLayout("layoutInfo"),h=u.rect,g=u.boundaryGap;e.attr("position",[0,h.y+g[0]]);function A(T){return T.name}var w=new l(this._layersSeries||[],o,A,A),x={};w.add(f(C,this,"add")).update(f(C,this,"update")).remove(f(C,this,"remove")).execute();function C(T,O,S){var _=this._layers;if(T==="remove"){e.remove(_[O]);return}for(var L=[],D=[],F,j=o[O].indices,k=0;k<j.length;k++){var K=c.getItemLayout(j[k]),Z=K.x,B=K.y0,V=K.y;L.push([Z,B]),D.push([Z,B+V]),F=c.getItemVisual(j[k],"color")}var z,X,W=c.getItemLayout(j[0]),q=c.getItemModel(j[k-1]),Y=q.getModel("label"),re=Y.get("margin");if(T==="add"){var ne=x[O]=new p.Group;z=new E({shape:{points:L,stackedOnPoints:D,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),X=new p.Text({style:{x:W.x-re,y:W.y0+W.y/2}}),ne.add(z),ne.add(X),e.add(ne),z.setClipPath(t(z.getBoundingRect(),a,function(){z.removeClipPath()}))}else{var ne=_[S];z=ne.childAt(0),X=ne.childAt(1),e.add(ne),x[O]=ne,p.updateProps(z,{shape:{points:L,stackedOnPoints:D}},a),p.updateProps(X,{style:{x:W.x-re,y:W.y0+W.y/2}},a)}var we=q.getModel("emphasis.itemStyle"),ie=q.getModel("itemStyle");p.setTextStyle(X.style,Y,{text:Y.get("show")?a.getFormattedLabel(j[k-1],"normal")||c.getName(j[k-1]):null,textVerticalAlign:"middle"}),z.setStyle(d({fill:F},ie.getItemStyle(["color"]))),p.setHoverStyle(z,we.getItemStyle())}this._layersSeries=o,this._layers=x},dispose:function(){}});function t(a,s,r){var c=new p.Rect({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return p.initProps(c,{shape:{width:a.width+20,height:a.height+20}},s,r),c}U.exports=n},JcrP:function(U,R,i){"use strict";/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var y={};y.version="0.18.4";var m=1200,E=1252,p=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],v={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},f=function(N){if(p.indexOf(N)==-1)return;E=v[0]=N};function d(){f(1252)}var l=function(N){m=N,f(N)};function n(){l(1200),d()}function t(b){for(var N=[],I=0,H=b.length;I<H;++I)N[I]=b.charCodeAt(I);return N}function a(b){for(var N=[],I=0;I<b.length>>1;++I)N[I]=String.fromCharCode(b.charCodeAt(2*I)+(b.charCodeAt(2*I+1)<<8));return N.join("")}function s(b){for(var N=[],I=0;I<b.length>>1;++I)N[I]=String.fromCharCode(b.charCodeAt(2*I+1)+(b.charCodeAt(2*I)<<8));return N.join("")}var r=function(N){var I=N.charCodeAt(0),H=N.charCodeAt(1);return I==255&&H==254?a(N.slice(2)):I==254&&H==255?s(N.slice(2)):I==65279?N.slice(1):N},c=function(N){return String.fromCharCode(N)},e=function(N){return String.fromCharCode(N)},o;function u(b){o=b,l=function(I){m=I,f(I)},r=function(I){return I.charCodeAt(0)===255&&I.charCodeAt(1)===254?o.utils.decode(1200,t(I.slice(2))):I},c=function(I){return m===1200?String.fromCharCode(I):o.utils.decode(m,[I&255,I>>8])[0]},e=function(I){return o.utils.decode(E,[I])[0]},rn()}var h=null,g=!0,A=function(){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(I){for(var H="",J=0,be=0,ke=0,He=0,dt=0,Ot=0,Ct=0,dr=0;dr<I.length;)J=I.charCodeAt(dr++),He=J>>2,be=I.charCodeAt(dr++),dt=(J&3)<<4|be>>4,ke=I.charCodeAt(dr++),Ot=(be&15)<<2|ke>>6,Ct=ke&63,isNaN(be)?Ot=Ct=64:isNaN(ke)&&(Ct=64),H+=b.charAt(He)+b.charAt(dt)+b.charAt(Ot)+b.charAt(Ct);return H},decode:function(I){var H="",J=0,be=0,ke=0,He=0,dt=0,Ot=0,Ct=0;I=I.replace(/[^\w\+\/\=]/g,"");for(var dr=0;dr<I.length;)He=b.indexOf(I.charAt(dr++)),dt=b.indexOf(I.charAt(dr++)),J=He<<2|dt>>4,H+=String.fromCharCode(J),Ot=b.indexOf(I.charAt(dr++)),be=(dt&15)<<4|Ot>>2,Ot!==64&&(H+=String.fromCharCode(be)),Ct=b.indexOf(I.charAt(dr++)),ke=(Ot&3)<<6|Ct,Ct!==64&&(H+=String.fromCharCode(ke));return H}}}(),w=typeof Buffer!="undefined"&&typeof process!="undefined"&&typeof process.versions!="undefined"&&!!process.versions.node,x=function(){};if(typeof Buffer!="undefined"){var C=!Buffer.from;if(!C)try{Buffer.from("foo","utf8")}catch(b){C=!0}x=C?function(b,N){return N?new Buffer(b,N):new Buffer(b)}:Buffer.from.bind(Buffer),Buffer.alloc||(Buffer.alloc=function(b){return new Buffer(b)}),Buffer.allocUnsafe||(Buffer.allocUnsafe=function(b){return new Buffer(b)})}function T(b){return w?Buffer.alloc(b):typeof Uint8Array!="undefined"?new Uint8Array(b):new Array(b)}function O(b){return w?Buffer.allocUnsafe(b):typeof Uint8Array!="undefined"?new Uint8Array(b):new Array(b)}var S=function(N){return w?x(N,"binary"):N.split("").map(function(I){return I.charCodeAt(0)&255})};function _(b){if(typeof ArrayBuffer=="undefined")return S(b);for(var N=new ArrayBuffer(b.length),I=new Uint8Array(N),H=0;H!=b.length;++H)I[H]=b.charCodeAt(H)&255;return N}function L(b){if(Array.isArray(b))return b.map(function(H){return String.fromCharCode(H)}).join("");for(var N=[],I=0;I<b.length;++I)N[I]=String.fromCharCode(b[I]);return N.join("")}function D(b){if(typeof Uint8Array=="undefined")throw new Error("Unsupported");return new Uint8Array(b)}function F(b){if(typeof ArrayBuffer=="undefined")throw new Error("Unsupported");if(b instanceof ArrayBuffer)return F(new Uint8Array(b));for(var N=new Array(b.length),I=0;I<b.length;++I)N[I]=b[I];return N}function j(b){for(var N=[],I=0,H=b.length+250,J=T(b.length+255),be=0;be<b.length;++be){var ke=b.charCodeAt(be);if(ke<128)J[I++]=ke;else if(ke<2048)J[I++]=192|ke>>6&31,J[I++]=128|ke&63;else if(ke>=55296&&ke<57344){ke=(ke&1023)+64;var He=b.charCodeAt(++be)&1023;J[I++]=240|ke>>8&7,J[I++]=128|ke>>2&63,J[I++]=128|He>>6&15|(ke&3)<<4,J[I++]=128|He&63}else J[I++]=224|ke>>12&15,J[I++]=128|ke>>6&63,J[I++]=128|ke&63;I>H&&(N.push(J.slice(0,I)),I=0,J=T(65535),H=65530)}return N.push(J.slice(0,I)),k(N)}var k=function(N){if(typeof Uint8Array!="undefined"){var I=0,H=0;for(I=0;I<N.length;++I)H+=N[I].length;var J=new Uint8Array(H),be=0;for(I=0,H=0;I<N.length;H+=be,++I)if(be=N[I].length,N[I]instanceof Uint8Array)J.set(N[I],H);else{if(typeof N[I]=="string")throw"wtf";J.set(new Uint8Array(N[I]),H)}return J}return[].concat.apply([],N.map(function(ke){return Array.isArray(ke)?ke:[].slice.call(ke)}))},K=/\u0000/g,Z=/[\u0001-\u0006]/g,B={};function V(b){b.version="0.11.2";function N(Qr){for(var Dn="",ai=Qr.length-1;ai>=0;)Dn+=Qr.charAt(ai--);return Dn}function I(Qr,Dn){for(var ai="";ai.length<Dn;)ai+=Qr;return ai}function H(Qr,Dn){var ai=""+Qr;return ai.length>=Dn?ai:I("0",Dn-ai.length)+ai}function J(Qr,Dn){var ai=""+Qr;return ai.length>=Dn?ai:I(" ",Dn-ai.length)+ai}function be(Qr,Dn){var ai=""+Qr;return ai.length>=Dn?ai:ai+I(" ",Dn-ai.length)}function ke(Qr,Dn){var ai=""+Math.round(Qr);return ai.length>=Dn?ai:I("0",Dn-ai.length)+ai}function He(Qr,Dn){var ai=""+Qr;return ai.length>=Dn?ai:I("0",Dn-ai.length)+ai}var dt=Math.pow(2,32);function Ot(Qr,Dn){if(Qr>dt||Qr<-dt)return ke(Qr,Dn);var ai=Math.round(Qr);return He(ai,Dn)}function Ct(Qr,Dn){return Dn=Dn||0,Qr.length>=7+Dn&&(Qr.charCodeAt(Dn)|32)===103&&(Qr.charCodeAt(Dn+1)|32)===101&&(Qr.charCodeAt(Dn+2)|32)===110&&(Qr.charCodeAt(Dn+3)|32)===101&&(Qr.charCodeAt(Dn+4)|32)===114&&(Qr.charCodeAt(Dn+5)|32)===97&&(Qr.charCodeAt(Dn+6)|32)===108}var dr=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],vr=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function kr(Qr){Qr[0]="General",Qr[1]="0",Qr[2]="0.00",Qr[3]="#,##0",Qr[4]="#,##0.00",Qr[9]="0%",Qr[10]="0.00%",Qr[11]="0.00E+00",Qr[12]="# ?/?",Qr[13]="# ??/??",Qr[14]="m/d/yy",Qr[15]="d-mmm-yy",Qr[16]="d-mmm",Qr[17]="mmm-yy",Qr[18]="h:mm AM/PM",Qr[19]="h:mm:ss AM/PM",Qr[20]="h:mm",Qr[21]="h:mm:ss",Qr[22]="m/d/yy h:mm",Qr[37]="#,##0 ;(#,##0)",Qr[38]="#,##0 ;[Red](#,##0)",Qr[39]="#,##0.00;(#,##0.00)",Qr[40]="#,##0.00;[Red](#,##0.00)",Qr[45]="mm:ss",Qr[46]="[h]:mm:ss",Qr[47]="mmss.0",Qr[48]="##0.0E+0",Qr[49]="@",Qr[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'}var Ur={};kr(Ur);var Ar=[],Dr=0;for(Dr=5;Dr<=8;++Dr)Ar[Dr]=32+Dr;for(Dr=23;Dr<=26;++Dr)Ar[Dr]=0;for(Dr=27;Dr<=31;++Dr)Ar[Dr]=14;for(Dr=50;Dr<=58;++Dr)Ar[Dr]=14;for(Dr=59;Dr<=62;++Dr)Ar[Dr]=Dr-58;for(Dr=67;Dr<=68;++Dr)Ar[Dr]=Dr-58;for(Dr=72;Dr<=75;++Dr)Ar[Dr]=Dr-58;for(Dr=67;Dr<=68;++Dr)Ar[Dr]=Dr-57;for(Dr=76;Dr<=78;++Dr)Ar[Dr]=Dr-56;for(Dr=79;Dr<=81;++Dr)Ar[Dr]=Dr-34;var kn={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Wn(Qr,Dn,ai){for(var Ta=Qr<0?-1:1,si=Qr*Ta,ha=0,Ii=1,En=0,Cs=1,qa=0,gs=0,ns=Math.floor(si);qa<Dn&&!(ns=Math.floor(si),En=ns*Ii+ha,gs=ns*qa+Cs,si-ns<5e-8);)si=1/(si-ns),ha=Ii,Ii=En,Cs=qa,qa=gs;if(gs>Dn&&(qa>Dn?(gs=Cs,En=ha):(gs=qa,En=Ii)),!ai)return[0,Ta*En,gs];var Ro=Math.floor(Ta*En/gs);return[Ro,Ta*En-Ro*gs,gs]}function On(Qr,Dn,ai){if(Qr>2958465||Qr<0)return null;var Ta=Qr|0,si=Math.floor(86400*(Qr-Ta)),ha=0,Ii=[],En={D:Ta,T:si,u:86400*(Qr-Ta)-si,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(En.u)<1e-6&&(En.u=0),Dn&&Dn.date1904&&(Ta+=1462),En.u>.9999&&(En.u=0,++si==86400&&(En.T=si=0,++Ta,++En.D)),Ta===60)Ii=ai?[1317,10,29]:[1900,2,29],ha=3;else if(Ta===0)Ii=ai?[1317,8,29]:[1900,1,0],ha=6;else{Ta>60&&--Ta;var Cs=new Date(1900,0,1);Cs.setDate(Cs.getDate()+Ta-1),Ii=[Cs.getFullYear(),Cs.getMonth()+1,Cs.getDate()],ha=Cs.getDay(),Ta<60&&(ha=(ha+6)%7),ai&&(ha=Fa(Cs,Ii))}return En.y=Ii[0],En.m=Ii[1],En.d=Ii[2],En.S=si%60,si=Math.floor(si/60),En.M=si%60,si=Math.floor(si/60),En.H=si,En.q=ha,En}b.parse_date_code=On;var da=new Date(1899,11,31,0,0,0),Ba=da.getTime(),Bi=new Date(1900,2,1,0,0,0);function vi(Qr,Dn){var ai=Qr.getTime();return Dn?ai-=1461*24*60*60*1e3:Qr>=Bi&&(ai+=24*60*60*1e3),(ai-(Ba+(Qr.getTimezoneOffset()-da.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function _a(Qr){return Qr.toString(10)}b._general_int=_a;var na=function(){var Dn=/(?:\.0*|(\.\d*[1-9])0+)$/;function ai(qa){return qa.indexOf(".")==-1?qa:qa.replace(Dn,"$1")}var Ta=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,si=/(E[+-])(\d)$/;function ha(qa){return qa.indexOf("E")==-1?qa:qa.replace(Ta,"$1E").replace(si,"$10$2")}function Ii(qa){var gs=qa<0?12:11,ns=ai(qa.toFixed(12));return ns.length<=gs?ns:(ns=qa.toPrecision(10),ns.length<=gs?ns:qa.toExponential(5))}function En(qa){var gs=ai(qa.toFixed(11));return gs.length>(qa<0?12:11)||gs==="0"||gs==="-0"?qa.toPrecision(6):gs}function Cs(qa){var gs=Math.floor(Math.log(Math.abs(qa))*Math.LOG10E),ns;return gs>=-4&&gs<=-1?ns=qa.toPrecision(10+gs):Math.abs(gs)<=9?ns=Ii(qa):gs===10?ns=qa.toFixed(10).substr(0,12):ns=En(qa),ai(ha(ns.toUpperCase()))}return Cs}();b._general_num=na;function xa(Qr,Dn){switch(typeof Qr){case"string":return Qr;case"boolean":return Qr?"TRUE":"FALSE";case"number":return(Qr|0)===Qr?Qr.toString(10):na(Qr);case"undefined":return"";case"object":if(Qr==null)return"";if(Qr instanceof Date)return pa(14,vi(Qr,Dn&&Dn.date1904),Dn)}throw new Error("unsupported value in General format: "+Qr)}b._general=xa;function Fa(Qr,Dn){Dn[0]-=581;var ai=Qr.getDay();return Qr<60&&(ai=(ai+6)%7),ai}function Yi(Qr,Dn,ai,Ta){var si="",ha=0,Ii=0,En=ai.y,Cs,qa=0;switch(Qr){case 98:En=ai.y+543;case 121:switch(Dn.length){case 1:case 2:Cs=En%100,qa=2;break;default:Cs=En%1e4,qa=4;break}break;case 109:switch(Dn.length){case 1:case 2:Cs=ai.m,qa=Dn.length;break;case 3:return vr[ai.m-1][1];case 5:return vr[ai.m-1][0];default:return vr[ai.m-1][2]}break;case 100:switch(Dn.length){case 1:case 2:Cs=ai.d,qa=Dn.length;break;case 3:return dr[ai.q][0];default:return dr[ai.q][1]}break;case 104:switch(Dn.length){case 1:case 2:Cs=1+(ai.H+11)%12,qa=Dn.length;break;default:throw"bad hour format: "+Dn}break;case 72:switch(Dn.length){case 1:case 2:Cs=ai.H,qa=Dn.length;break;default:throw"bad hour format: "+Dn}break;case 77:switch(Dn.length){case 1:case 2:Cs=ai.M,qa=Dn.length;break;default:throw"bad minute format: "+Dn}break;case 115:if(Dn!="s"&&Dn!="ss"&&Dn!=".0"&&Dn!=".00"&&Dn!=".000")throw"bad second format: "+Dn;return ai.u===0&&(Dn=="s"||Dn=="ss")?H(ai.S,Dn.length):(Ta>=2?Ii=Ta===3?1e3:100:Ii=Ta===1?10:1,ha=Math.round(Ii*(ai.S+ai.u)),ha>=60*Ii&&(ha=0),Dn==="s"?ha===0?"0":""+ha/Ii:(si=H(ha,2+Ta),Dn==="ss"?si.substr(0,2):"."+si.substr(2,Dn.length-1)));case 90:switch(Dn){case"[h]":case"[hh]":Cs=ai.D*24+ai.H;break;case"[m]":case"[mm]":Cs=(ai.D*24+ai.H)*60+ai.M;break;case"[s]":case"[ss]":Cs=((ai.D*24+ai.H)*60+ai.M)*60+Math.round(ai.S+ai.u);break;default:throw"bad abstime format: "+Dn}qa=Dn.length===3?1:2;break;case 101:Cs=En,qa=1;break}var gs=qa>0?H(Cs,qa):"";return gs}function go(Qr){var Dn=3;if(Qr.length<=Dn)return Qr;for(var ai=Qr.length%Dn,Ta=Qr.substr(0,ai);ai!=Qr.length;ai+=Dn)Ta+=(Ta.length>0?",":"")+Qr.substr(ai,Dn);return Ta}var Jo=function(){var Dn=/%/g;function ai(bo,Qi,ra){var Es=Qi.replace(Dn,""),Ia=Qi.length-Es.length;return Jo(bo,Es,ra*Math.pow(10,2*Ia))+I("%",Ia)}function Ta(bo,Qi,ra){for(var Es=Qi.length-1;Qi.charCodeAt(Es-1)===44;)--Es;return Jo(bo,Qi.substr(0,Es),ra/Math.pow(10,3*(Qi.length-Es)))}function si(bo,Qi){var ra,Es=bo.indexOf("E")-bo.indexOf(".")-1;if(bo.match(/^#+0.0E\+0$/)){if(Qi==0)return"0.0E+0";if(Qi<0)return"-"+si(bo,-Qi);var Ia=bo.indexOf(".");Ia===-1&&(Ia=bo.indexOf("E"));var Qa=Math.floor(Math.log(Qi)*Math.LOG10E)%Ia;if(Qa<0&&(Qa+=Ia),ra=(Qi/Math.pow(10,Qa)).toPrecision(Es+1+(Ia+Qa)%Ia),ra.indexOf("e")===-1){var Js=Math.floor(Math.log(Qi)*Math.LOG10E);for(ra.indexOf(".")===-1?ra=ra.charAt(0)+"."+ra.substr(1)+"E+"+(Js-ra.length+Qa):ra+="E+"+(Js-Qa);ra.substr(0,2)==="0.";)ra=ra.charAt(0)+ra.substr(2,Ia)+"."+ra.substr(2+Ia),ra=ra.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");ra=ra.replace(/\+-/,"-")}ra=ra.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(wl,dc,Ic,Ul){return dc+Ic+Ul.substr(0,(Ia+Qa)%Ia)+"."+Ul.substr(Qa)+"E"})}else ra=Qi.toExponential(Es);return bo.match(/E\+00$/)&&ra.match(/e[+-]\d$/)&&(ra=ra.substr(0,ra.length-1)+"0"+ra.charAt(ra.length-1)),bo.match(/E\-/)&&ra.match(/e\+/)&&(ra=ra.replace(/e\+/,"e")),ra.replace("e","E")}var ha=/# (\?+)( ?)\/( ?)(\d+)/;function Ii(bo,Qi,ra){var Es=parseInt(bo[4],10),Ia=Math.round(Qi*Es),Qa=Math.floor(Ia/Es),Js=Ia-Qa*Es,wl=Es;return ra+(Qa===0?"":""+Qa)+" "+(Js===0?I(" ",bo[1].length+1+bo[4].length):J(Js,bo[1].length)+bo[2]+"/"+bo[3]+H(wl,bo[4].length))}function En(bo,Qi,ra){return ra+(Qi===0?"":""+Qi)+I(" ",bo[1].length+2+bo[4].length)}var Cs=/^#*0*\.([0#]+)/,qa=/\).*[0#]/,gs=/\(###\) ###\\?-####/;function ns(bo){for(var Qi="",ra,Es=0;Es!=bo.length;++Es)switch(ra=bo.charCodeAt(Es)){case 35:break;case 63:Qi+=" ";break;case 48:Qi+="0";break;default:Qi+=String.fromCharCode(ra)}return Qi}function Ro(bo,Qi){var ra=Math.pow(10,Qi);return""+Math.round(bo*ra)/ra}function uc(bo,Qi){var ra=bo-Math.floor(bo),Es=Math.pow(10,Qi);return Qi<(""+Math.round(ra*Es)).length?0:Math.round(ra*Es)}function Eu(bo,Qi){return Qi<(""+Math.round((bo-Math.floor(bo))*Math.pow(10,Qi))).length?1:0}function Hc(bo){return bo<2147483647&&bo>-2147483648?""+(bo>=0?bo|0:bo-1|0):""+Math.floor(bo)}function kl(bo,Qi,ra){if(bo.charCodeAt(0)===40&&!Qi.match(qa)){var Es=Qi.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return ra>=0?kl("n",Es,ra):"("+kl("n",Es,-ra)+")"}if(Qi.charCodeAt(Qi.length-1)===44)return Ta(bo,Qi,ra);if(Qi.indexOf("%")!==-1)return ai(bo,Qi,ra);if(Qi.indexOf("E")!==-1)return si(Qi,ra);if(Qi.charCodeAt(0)===36)return"$"+kl(bo,Qi.substr(Qi.charAt(1)==" "?2:1),ra);var Ia,Qa,Js,wl,dc=Math.abs(ra),Ic=ra<0?"-":"";if(Qi.match(/^00+$/))return Ic+Ot(dc,Qi.length);if(Qi.match(/^[#?]+$/))return Ia=Ot(ra,0),Ia==="0"&&(Ia=""),Ia.length>Qi.length?Ia:ns(Qi.substr(0,Qi.length-Ia.length))+Ia;if(Qa=Qi.match(ha))return Ii(Qa,dc,Ic);if(Qi.match(/^#+0+$/))return Ic+Ot(dc,Qi.length-Qi.indexOf("0"));if(Qa=Qi.match(Cs))return Ia=Ro(ra,Qa[1].length).replace(/^([^\.]+)$/,"$1."+ns(Qa[1])).replace(/\.$/,"."+ns(Qa[1])).replace(/\.(\d*)$/,function(_u,wh){return"."+wh+I("0",ns(Qa[1]).length-wh.length)}),Qi.indexOf("0.")!==-1?Ia:Ia.replace(/^0\./,".");if(Qi=Qi.replace(/^#+([0.])/,"$1"),Qa=Qi.match(/^(0*)\.(#*)$/))return Ic+Ro(dc,Qa[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,Qa[1].length?"0.":".");if(Qa=Qi.match(/^#{1,3},##0(\.?)$/))return Ic+go(Ot(dc,0));if(Qa=Qi.match(/^#,##0\.([#0]*0)$/))return ra<0?"-"+kl(bo,Qi,-ra):go(""+(Math.floor(ra)+Eu(ra,Qa[1].length)))+"."+H(uc(ra,Qa[1].length),Qa[1].length);if(Qa=Qi.match(/^#,#*,#0/))return kl(bo,Qi.replace(/^#,#*,/,""),ra);if(Qa=Qi.match(/^([0#]+)(\\?-([0#]+))+$/))return Ia=N(kl(bo,Qi.replace(/[\\-]/g,""),ra)),Js=0,N(N(Qi.replace(/\\/g,"")).replace(/[0#]/g,function(_u){return Js<Ia.length?Ia.charAt(Js++):_u==="0"?"0":""}));if(Qi.match(gs))return Ia=kl(bo,"##########",ra),"("+Ia.substr(0,3)+") "+Ia.substr(3,3)+"-"+Ia.substr(6);var Ul="";if(Qa=Qi.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return Js=Math.min(Qa[4].length,7),wl=Wn(dc,Math.pow(10,Js)-1,!1),Ia=""+Ic,Ul=Jo("n",Qa[1],wl[1]),Ul.charAt(Ul.length-1)==" "&&(Ul=Ul.substr(0,Ul.length-1)+"0"),Ia+=Ul+Qa[2]+"/"+Qa[3],Ul=be(wl[2],Js),Ul.length<Qa[4].length&&(Ul=ns(Qa[4].substr(Qa[4].length-Ul.length))+Ul),Ia+=Ul,Ia;if(Qa=Qi.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return Js=Math.min(Math.max(Qa[1].length,Qa[4].length),7),wl=Wn(dc,Math.pow(10,Js)-1,!0),Ic+(wl[0]||(wl[1]?"":"0"))+" "+(wl[1]?J(wl[1],Js)+Qa[2]+"/"+Qa[3]+be(wl[2],Js):I(" ",2*Js+1+Qa[2].length+Qa[3].length));if(Qa=Qi.match(/^[#0?]+$/))return Ia=Ot(ra,0),Qi.length<=Ia.length?Ia:ns(Qi.substr(0,Qi.length-Ia.length))+Ia;if(Qa=Qi.match(/^([#0?]+)\.([#0]+)$/)){Ia=""+ra.toFixed(Math.min(Qa[2].length,10)).replace(/([^0])0+$/,"$1"),Js=Ia.indexOf(".");var yh=Qi.indexOf(".")-Js,Ih=Qi.length-Ia.length-yh;return ns(Qi.substr(0,yh)+Ia+Qi.substr(Qi.length-Ih))}if(Qa=Qi.match(/^00,000\.([#0]*0)$/))return Js=uc(ra,Qa[1].length),ra<0?"-"+kl(bo,Qi,-ra):go(Hc(ra)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(_u){return"00,"+(_u.length<3?H(0,3-_u.length):"")+_u})+"."+H(Js,Qa[1].length);switch(Qi){case"###,##0.00":return kl(bo,"#,##0.00",ra);case"###,###":case"##,###":case"#,###":var fh=go(Ot(dc,0));return fh!=="0"?Ic+fh:"";case"###,###.00":return kl(bo,"###,##0.00",ra).replace(/^0\./,".");case"#,###.00":return kl(bo,"#,##0.00",ra).replace(/^0\./,".");default:}throw new Error("unsupported format |"+Qi+"|")}function Ud(bo,Qi,ra){for(var Es=Qi.length-1;Qi.charCodeAt(Es-1)===44;)--Es;return Jo(bo,Qi.substr(0,Es),ra/Math.pow(10,3*(Qi.length-Es)))}function id(bo,Qi,ra){var Es=Qi.replace(Dn,""),Ia=Qi.length-Es.length;return Jo(bo,Es,ra*Math.pow(10,2*Ia))+I("%",Ia)}function Fc(bo,Qi){var ra,Es=bo.indexOf("E")-bo.indexOf(".")-1;if(bo.match(/^#+0.0E\+0$/)){if(Qi==0)return"0.0E+0";if(Qi<0)return"-"+Fc(bo,-Qi);var Ia=bo.indexOf(".");Ia===-1&&(Ia=bo.indexOf("E"));var Qa=Math.floor(Math.log(Qi)*Math.LOG10E)%Ia;if(Qa<0&&(Qa+=Ia),ra=(Qi/Math.pow(10,Qa)).toPrecision(Es+1+(Ia+Qa)%Ia),!ra.match(/[Ee]/)){var Js=Math.floor(Math.log(Qi)*Math.LOG10E);ra.indexOf(".")===-1?ra=ra.charAt(0)+"."+ra.substr(1)+"E+"+(Js-ra.length+Qa):ra+="E+"+(Js-Qa),ra=ra.replace(/\+-/,"-")}ra=ra.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(wl,dc,Ic,Ul){return dc+Ic+Ul.substr(0,(Ia+Qa)%Ia)+"."+Ul.substr(Qa)+"E"})}else ra=Qi.toExponential(Es);return bo.match(/E\+00$/)&&ra.match(/e[+-]\d$/)&&(ra=ra.substr(0,ra.length-1)+"0"+ra.charAt(ra.length-1)),bo.match(/E\-/)&&ra.match(/e\+/)&&(ra=ra.replace(/e\+/,"e")),ra.replace("e","E")}function Vs(bo,Qi,ra){if(bo.charCodeAt(0)===40&&!Qi.match(qa)){var Es=Qi.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return ra>=0?Vs("n",Es,ra):"("+Vs("n",Es,-ra)+")"}if(Qi.charCodeAt(Qi.length-1)===44)return Ud(bo,Qi,ra);if(Qi.indexOf("%")!==-1)return id(bo,Qi,ra);if(Qi.indexOf("E")!==-1)return Fc(Qi,ra);if(Qi.charCodeAt(0)===36)return"$"+Vs(bo,Qi.substr(Qi.charAt(1)==" "?2:1),ra);var Ia,Qa,Js,wl,dc=Math.abs(ra),Ic=ra<0?"-":"";if(Qi.match(/^00+$/))return Ic+H(dc,Qi.length);if(Qi.match(/^[#?]+$/))return Ia=""+ra,ra===0&&(Ia=""),Ia.length>Qi.length?Ia:ns(Qi.substr(0,Qi.length-Ia.length))+Ia;if(Qa=Qi.match(ha))return En(Qa,dc,Ic);if(Qi.match(/^#+0+$/))return Ic+H(dc,Qi.length-Qi.indexOf("0"));if(Qa=Qi.match(Cs))return Ia=(""+ra).replace(/^([^\.]+)$/,"$1."+ns(Qa[1])).replace(/\.$/,"."+ns(Qa[1])),Ia=Ia.replace(/\.(\d*)$/,function(_u,wh){return"."+wh+I("0",ns(Qa[1]).length-wh.length)}),Qi.indexOf("0.")!==-1?Ia:Ia.replace(/^0\./,".");if(Qi=Qi.replace(/^#+([0.])/,"$1"),Qa=Qi.match(/^(0*)\.(#*)$/))return Ic+(""+dc).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,Qa[1].length?"0.":".");if(Qa=Qi.match(/^#{1,3},##0(\.?)$/))return Ic+go(""+dc);if(Qa=Qi.match(/^#,##0\.([#0]*0)$/))return ra<0?"-"+Vs(bo,Qi,-ra):go(""+ra)+"."+I("0",Qa[1].length);if(Qa=Qi.match(/^#,#*,#0/))return Vs(bo,Qi.replace(/^#,#*,/,""),ra);if(Qa=Qi.match(/^([0#]+)(\\?-([0#]+))+$/))return Ia=N(Vs(bo,Qi.replace(/[\\-]/g,""),ra)),Js=0,N(N(Qi.replace(/\\/g,"")).replace(/[0#]/g,function(_u){return Js<Ia.length?Ia.charAt(Js++):_u==="0"?"0":""}));if(Qi.match(gs))return Ia=Vs(bo,"##########",ra),"("+Ia.substr(0,3)+") "+Ia.substr(3,3)+"-"+Ia.substr(6);var Ul="";if(Qa=Qi.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return Js=Math.min(Qa[4].length,7),wl=Wn(dc,Math.pow(10,Js)-1,!1),Ia=""+Ic,Ul=Jo("n",Qa[1],wl[1]),Ul.charAt(Ul.length-1)==" "&&(Ul=Ul.substr(0,Ul.length-1)+"0"),Ia+=Ul+Qa[2]+"/"+Qa[3],Ul=be(wl[2],Js),Ul.length<Qa[4].length&&(Ul=ns(Qa[4].substr(Qa[4].length-Ul.length))+Ul),Ia+=Ul,Ia;if(Qa=Qi.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return Js=Math.min(Math.max(Qa[1].length,Qa[4].length),7),wl=Wn(dc,Math.pow(10,Js)-1,!0),Ic+(wl[0]||(wl[1]?"":"0"))+" "+(wl[1]?J(wl[1],Js)+Qa[2]+"/"+Qa[3]+be(wl[2],Js):I(" ",2*Js+1+Qa[2].length+Qa[3].length));if(Qa=Qi.match(/^[#0?]+$/))return Ia=""+ra,Qi.length<=Ia.length?Ia:ns(Qi.substr(0,Qi.length-Ia.length))+Ia;if(Qa=Qi.match(/^([#0]+)\.([#0]+)$/)){Ia=""+ra.toFixed(Math.min(Qa[2].length,10)).replace(/([^0])0+$/,"$1"),Js=Ia.indexOf(".");var yh=Qi.indexOf(".")-Js,Ih=Qi.length-Ia.length-yh;return ns(Qi.substr(0,yh)+Ia+Qi.substr(Qi.length-Ih))}if(Qa=Qi.match(/^00,000\.([#0]*0)$/))return ra<0?"-"+Vs(bo,Qi,-ra):go(""+ra).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(_u){return"00,"+(_u.length<3?H(0,3-_u.length):"")+_u})+"."+H(0,Qa[1].length);switch(Qi){case"###,###":case"##,###":case"#,###":var fh=go(""+dc);return fh!=="0"?Ic+fh:"";default:if(Qi.match(/\.[0#?]*$/))return Vs(bo,Qi.slice(0,Qi.lastIndexOf(".")),ra)+ns(Qi.slice(Qi.lastIndexOf(".")))}throw new Error("unsupported format |"+Qi+"|")}return function(Qi,ra,Es){return(Es|0)===Es?Vs(Qi,ra,Es):kl(Qi,ra,Es)}}();function Uo(Qr){for(var Dn=[],ai=!1,Ta=0,si=0;Ta<Qr.length;++Ta)switch(Qr.charCodeAt(Ta)){case 34:ai=!ai;break;case 95:case 42:case 92:++Ta;break;case 59:Dn[Dn.length]=Qr.substr(si,Ta-si),si=Ta+1}if(Dn[Dn.length]=Qr.substr(si),ai===!0)throw new Error("Format |"+Qr+"| unterminated string ");return Dn}b._split=Uo;var ms=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Ss(Qr){for(var Dn=0,ai="",Ta="";Dn<Qr.length;)switch(ai=Qr.charAt(Dn)){case"G":Ct(Qr,Dn)&&(Dn+=6),Dn++;break;case'"':for(;Qr.charCodeAt(++Dn)!==34&&Dn<Qr.length;);++Dn;break;case"\\":Dn+=2;break;case"_":Dn+=2;break;case"@":++Dn;break;case"B":case"b":if(Qr.charAt(Dn+1)==="1"||Qr.charAt(Dn+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"\u4E0A":if(Qr.substr(Dn,3).toUpperCase()==="A/P")return!0;if(Qr.substr(Dn,5).toUpperCase()==="AM/PM")return!0;if(Qr.substr(Dn,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348")return!0;++Dn;break;case"[":for(Ta=ai;Qr.charAt(Dn++)!=="]"&&Dn<Qr.length;)Ta+=Qr.charAt(Dn);if(Ta.match(ms))return!0;break;case".":case"0":case"#":for(;Dn<Qr.length&&("0#?.,E+-%".indexOf(ai=Qr.charAt(++Dn))>-1||ai=="\\"&&Qr.charAt(Dn+1)=="-"&&"0#".indexOf(Qr.charAt(Dn+2))>-1););break;case"?":for(;Qr.charAt(++Dn)===ai;);break;case"*":++Dn,(Qr.charAt(Dn)==" "||Qr.charAt(Dn)=="*")&&++Dn;break;case"(":case")":++Dn;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;Dn<Qr.length&&"0123456789".indexOf(Qr.charAt(++Dn))>-1;);break;case" ":++Dn;break;default:++Dn;break}return!1}b.is_date=Ss;function Bl(Qr,Dn,ai,Ta){for(var si=[],ha="",Ii=0,En="",Cs="t",qa,gs,ns,Ro="H";Ii<Qr.length;)switch(En=Qr.charAt(Ii)){case"G":if(!Ct(Qr,Ii))throw new Error("unrecognized character "+En+" in "+Qr);si[si.length]={t:"G",v:"General"},Ii+=7;break;case'"':for(ha="";(ns=Qr.charCodeAt(++Ii))!==34&&Ii<Qr.length;)ha+=String.fromCharCode(ns);si[si.length]={t:"t",v:ha},++Ii;break;case"\\":var uc=Qr.charAt(++Ii),Eu=uc==="("||uc===")"?uc:"t";si[si.length]={t:Eu,v:uc},++Ii;break;case"_":si[si.length]={t:"t",v:" "},Ii+=2;break;case"@":si[si.length]={t:"T",v:Dn},++Ii;break;case"B":case"b":if(Qr.charAt(Ii+1)==="1"||Qr.charAt(Ii+1)==="2"){if(qa==null&&(qa=On(Dn,ai,Qr.charAt(Ii+1)==="2"),qa==null))return"";si[si.length]={t:"X",v:Qr.substr(Ii,2)},Cs=En,Ii+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":En=En.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(Dn<0)return"";if(qa==null&&(qa=On(Dn,ai),qa==null))return"";for(ha=En;++Ii<Qr.length&&Qr.charAt(Ii).toLowerCase()===En;)ha+=En;En==="m"&&Cs.toLowerCase()==="h"&&(En="M"),En==="h"&&(En=Ro),si[si.length]={t:En,v:ha},Cs=En;break;case"A":case"a":case"\u4E0A":var Hc={t:En,v:En};if(qa==null&&(qa=On(Dn,ai)),Qr.substr(Ii,3).toUpperCase()==="A/P"?(qa!=null&&(Hc.v=qa.H>=12?"P":"A"),Hc.t="T",Ro="h",Ii+=3):Qr.substr(Ii,5).toUpperCase()==="AM/PM"?(qa!=null&&(Hc.v=qa.H>=12?"PM":"AM"),Hc.t="T",Ii+=5,Ro="h"):Qr.substr(Ii,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(qa!=null&&(Hc.v=qa.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),Hc.t="T",Ii+=5,Ro="h"):(Hc.t="t",++Ii),qa==null&&Hc.t==="T")return"";si[si.length]=Hc,Cs=En;break;case"[":for(ha=En;Qr.charAt(Ii++)!=="]"&&Ii<Qr.length;)ha+=Qr.charAt(Ii);if(ha.slice(-1)!=="]")throw'unterminated "[" block: |'+ha+"|";if(ha.match(ms)){if(qa==null&&(qa=On(Dn,ai),qa==null))return"";si[si.length]={t:"Z",v:ha.toLowerCase()},Cs=ha.charAt(1)}else ha.indexOf("$")>-1&&(ha=(ha.match(/\$([^-\[\]]*)/)||[])[1]||"$",Ss(Qr)||(si[si.length]={t:"t",v:ha}));break;case".":if(qa!=null){for(ha=En;++Ii<Qr.length&&(En=Qr.charAt(Ii))==="0";)ha+=En;si[si.length]={t:"s",v:ha};break}case"0":case"#":for(ha=En;++Ii<Qr.length&&"0#?.,E+-%".indexOf(En=Qr.charAt(Ii))>-1;)ha+=En;si[si.length]={t:"n",v:ha};break;case"?":for(ha=En;Qr.charAt(++Ii)===En;)ha+=En;si[si.length]={t:En,v:ha},Cs=En;break;case"*":++Ii,(Qr.charAt(Ii)==" "||Qr.charAt(Ii)=="*")&&++Ii;break;case"(":case")":si[si.length]={t:Ta===1?"t":En,v:En},++Ii;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(ha=En;Ii<Qr.length&&"0123456789".indexOf(Qr.charAt(++Ii))>-1;)ha+=Qr.charAt(Ii);si[si.length]={t:"D",v:ha};break;case" ":si[si.length]={t:En,v:En},++Ii;break;case"$":si[si.length]={t:"t",v:"$"},++Ii;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(En)===-1)throw new Error("unrecognized character "+En+" in "+Qr);si[si.length]={t:"t",v:En},++Ii;break}var kl=0,Ud=0,id;for(Ii=si.length-1,Cs="t";Ii>=0;--Ii)switch(si[Ii].t){case"h":case"H":si[Ii].t=Ro,Cs="h",kl<1&&(kl=1);break;case"s":(id=si[Ii].v.match(/\.0+$/))&&(Ud=Math.max(Ud,id[0].length-1)),kl<3&&(kl=3);case"d":case"y":case"M":case"e":Cs=si[Ii].t;break;case"m":Cs==="s"&&(si[Ii].t="M",kl<2&&(kl=2));break;case"X":break;case"Z":kl<1&&si[Ii].v.match(/[Hh]/)&&(kl=1),kl<2&&si[Ii].v.match(/[Mm]/)&&(kl=2),kl<3&&si[Ii].v.match(/[Ss]/)&&(kl=3)}switch(kl){case 0:break;case 1:qa.u>=.5&&(qa.u=0,++qa.S),qa.S>=60&&(qa.S=0,++qa.M),qa.M>=60&&(qa.M=0,++qa.H);break;case 2:qa.u>=.5&&(qa.u=0,++qa.S),qa.S>=60&&(qa.S=0,++qa.M);break}var Fc="",Vs;for(Ii=0;Ii<si.length;++Ii)switch(si[Ii].t){case"t":case"T":case" ":case"D":break;case"X":si[Ii].v="",si[Ii].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":si[Ii].v=Yi(si[Ii].t.charCodeAt(0),si[Ii].v,qa,Ud),si[Ii].t="t";break;case"n":case"?":for(Vs=Ii+1;si[Vs]!=null&&((En=si[Vs].t)==="?"||En==="D"||(En===" "||En==="t")&&si[Vs+1]!=null&&(si[Vs+1].t==="?"||si[Vs+1].t==="t"&&si[Vs+1].v==="/")||si[Ii].t==="("&&(En===" "||En==="n"||En===")")||En==="t"&&(si[Vs].v==="/"||si[Vs].v===" "&&si[Vs+1]!=null&&si[Vs+1].t=="?"));)si[Ii].v+=si[Vs].v,si[Vs]={v:"",t:";"},++Vs;Fc+=si[Ii].v,Ii=Vs-1;break;case"G":si[Ii].t="t",si[Ii].v=xa(Dn,ai);break}var bo="",Qi,ra;if(Fc.length>0){Fc.charCodeAt(0)==40?(Qi=Dn<0&&Fc.charCodeAt(0)===45?-Dn:Dn,ra=Jo("n",Fc,Qi)):(Qi=Dn<0&&Ta>1?-Dn:Dn,ra=Jo("n",Fc,Qi),Qi<0&&si[0]&&si[0].t=="t"&&(ra=ra.substr(1),si[0].v="-"+si[0].v)),Vs=ra.length-1;var Es=si.length;for(Ii=0;Ii<si.length;++Ii)if(si[Ii]!=null&&si[Ii].t!="t"&&si[Ii].v.indexOf(".")>-1){Es=Ii;break}var Ia=si.length;if(Es===si.length&&ra.indexOf("E")===-1){for(Ii=si.length-1;Ii>=0;--Ii){if(si[Ii]==null||"n?".indexOf(si[Ii].t)===-1)continue;Vs>=si[Ii].v.length-1?(Vs-=si[Ii].v.length,si[Ii].v=ra.substr(Vs+1,si[Ii].v.length)):Vs<0?si[Ii].v="":(si[Ii].v=ra.substr(0,Vs+1),Vs=-1),si[Ii].t="t",Ia=Ii}Vs>=0&&Ia<si.length&&(si[Ia].v=ra.substr(0,Vs+1)+si[Ia].v)}else if(Es!==si.length&&ra.indexOf("E")===-1){for(Vs=ra.indexOf(".")-1,Ii=Es;Ii>=0;--Ii){if(si[Ii]==null||"n?".indexOf(si[Ii].t)===-1)continue;for(gs=si[Ii].v.indexOf(".")>-1&&Ii===Es?si[Ii].v.indexOf(".")-1:si[Ii].v.length-1,bo=si[Ii].v.substr(gs+1);gs>=0;--gs)Vs>=0&&(si[Ii].v.charAt(gs)==="0"||si[Ii].v.charAt(gs)==="#")&&(bo=ra.charAt(Vs--)+bo);si[Ii].v=bo,si[Ii].t="t",Ia=Ii}for(Vs>=0&&Ia<si.length&&(si[Ia].v=ra.substr(0,Vs+1)+si[Ia].v),Vs=ra.indexOf(".")+1,Ii=Es;Ii<si.length;++Ii){if(si[Ii]==null||"n?(".indexOf(si[Ii].t)===-1&&Ii!==Es)continue;for(gs=si[Ii].v.indexOf(".")>-1&&Ii===Es?si[Ii].v.indexOf(".")+1:0,bo=si[Ii].v.substr(0,gs);gs<si[Ii].v.length;++gs)Vs<ra.length&&(bo+=ra.charAt(Vs++));si[Ii].v=bo,si[Ii].t="t",Ia=Ii}}}for(Ii=0;Ii<si.length;++Ii)si[Ii]!=null&&"n?".indexOf(si[Ii].t)>-1&&(Qi=Ta>1&&Dn<0&&Ii>0&&si[Ii-1].v==="-"?-Dn:Dn,si[Ii].v=Jo(si[Ii].t,si[Ii].v,Qi),si[Ii].t="t");var Qa="";for(Ii=0;Ii!==si.length;++Ii)si[Ii]!=null&&(Qa+=si[Ii].v);return Qa}b._eval=Bl;var Qo=/\[[=<>]/,Is=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function $a(Qr,Dn){if(Dn==null)return!1;var ai=parseFloat(Dn[2]);switch(Dn[1]){case"=":if(Qr==ai)return!0;break;case">":if(Qr>ai)return!0;break;case"<":if(Qr<ai)return!0;break;case"<>":if(Qr!=ai)return!0;break;case">=":if(Qr>=ai)return!0;break;case"<=":if(Qr<=ai)return!0;break}return!1}function pi(Qr,Dn){var ai=Uo(Qr),Ta=ai.length,si=ai[Ta-1].indexOf("@");if(Ta<4&&si>-1&&--Ta,ai.length>4)throw new Error("cannot find right format for |"+ai.join("|")+"|");if(typeof Dn!="number")return[4,ai.length===4||si>-1?ai[ai.length-1]:"@"];switch(ai.length){case 1:ai=si>-1?["General","General","General",ai[0]]:[ai[0],ai[0],ai[0],"@"];break;case 2:ai=si>-1?[ai[0],ai[0],ai[0],ai[1]]:[ai[0],ai[1],ai[0],"@"];break;case 3:ai=si>-1?[ai[0],ai[1],ai[0],ai[2]]:[ai[0],ai[1],ai[2],"@"];break;case 4:break}var ha=Dn>0?ai[0]:Dn<0?ai[1]:ai[2];if(ai[0].indexOf("[")===-1&&ai[1].indexOf("[")===-1)return[Ta,ha];if(ai[0].match(Qo)!=null||ai[1].match(Qo)!=null){var Ii=ai[0].match(Is),En=ai[1].match(Is);return $a(Dn,Ii)?[Ta,ai[0]]:$a(Dn,En)?[Ta,ai[1]]:[Ta,ai[Ii!=null&&En!=null?2:1]]}return[Ta,ha]}function pa(Qr,Dn,ai){ai==null&&(ai={});var Ta="";switch(typeof Qr){case"string":Qr=="m/d/yy"&&ai.dateNF?Ta=ai.dateNF:Ta=Qr;break;case"number":Qr==14&&ai.dateNF?Ta=ai.dateNF:Ta=(ai.table!=null?ai.table:Ur)[Qr],Ta==null&&(Ta=ai.table&&ai.table[Ar[Qr]]||Ur[Ar[Qr]]),Ta==null&&(Ta=kn[Qr]||"General");break}if(Ct(Ta,0))return xa(Dn,ai);Dn instanceof Date&&(Dn=vi(Dn,ai.date1904));var si=pi(Ta,Dn);if(Ct(si[1]))return xa(Dn,ai);if(Dn===!0)Dn="TRUE";else if(Dn===!1)Dn="FALSE";else if(Dn===""||Dn==null)return"";return Bl(si[1],Dn,ai,si[0])}function Xi(Qr,Dn){if(typeof Dn!="number"){Dn=+Dn||-1;for(var ai=0;ai<392;++ai){if(Ur[ai]==null){Dn<0&&(Dn=ai);continue}if(Ur[ai]==Qr){Dn=ai;break}}Dn<0&&(Dn=391)}return Ur[Dn]=Qr,Dn}b.load=Xi,b._table=Ur,b.get_table=function(){return Ur},b.load_table=function(Dn){for(var ai=0;ai!=392;++ai)Dn[ai]!==void 0&&Xi(Dn[ai],ai)},b.init_table=kr,b.format=pa}V(B);var z={"General Number":"General","General Date":B._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":B._table[15],"Short Date":B._table[14],"Long Time":B._table[19],"Medium Time":B._table[18],"Short Time":B._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:B._table[2],Standard:B._table[4],Percent:B._table[10],Scientific:B._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},X={"5":'"$"#,##0_);\\("$"#,##0\\)',"6":'"$"#,##0_);[Red]\\("$"#,##0\\)',"7":'"$"#,##0.00_);\\("$"#,##0.00\\)',"8":'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',"23":"General","24":"General","25":"General","26":"General","27":"m/d/yy","28":"m/d/yy","29":"m/d/yy","30":"m/d/yy","31":"m/d/yy","32":"h:mm:ss","33":"h:mm:ss","34":"h:mm:ss","35":"h:mm:ss","36":"m/d/yy","41":'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',"42":'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',"43":'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',"44":'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',"50":"m/d/yy","51":"m/d/yy","52":"m/d/yy","53":"m/d/yy","54":"m/d/yy","55":"m/d/yy","56":"m/d/yy","57":"m/d/yy","58":"m/d/yy","59":"0","60":"0.00","61":"#,##0","62":"#,##0.00","63":'"$"#,##0_);\\("$"#,##0\\)',"64":'"$"#,##0_);[Red]\\("$"#,##0\\)',"65":'"$"#,##0.00_);\\("$"#,##0.00\\)',"66":'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',"67":"0%","68":"0.00%","69":"# ?/?","70":"# ??/??","71":"m/d/yy","72":"m/d/yy","73":"d-mmm-yy","74":"d-mmm","75":"mmm-yy","76":"h:mm","77":"h:mm:ss","78":"m/d/yy h:mm","79":"mm:ss","80":"[h]:mm:ss","81":"mmss.0"},W=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function q(b){var N=typeof b=="number"?B._table[b]:b;return N=N.replace(W,"(\\d+)"),new RegExp("^"+N+"$")}function Y(b,N,I){var H=-1,J=-1,be=-1,ke=-1,He=-1,dt=-1;(N.match(W)||[]).forEach(function(dr,vr){var kr=parseInt(I[vr+1],10);switch(dr.toLowerCase().charAt(0)){case"y":H=kr;break;case"d":be=kr;break;case"h":ke=kr;break;case"s":dt=kr;break;case"m":ke>=0?He=kr:J=kr;break}}),dt>=0&&He==-1&&J>=0&&(He=J,J=-1);var Ot=(""+(H>=0?H:new Date().getFullYear())).slice(-4)+"-"+("00"+(J>=1?J:1)).slice(-2)+"-"+("00"+(be>=1?be:1)).slice(-2);Ot.length==7&&(Ot="0"+Ot),Ot.length==8&&(Ot="20"+Ot);var Ct=("00"+(ke>=0?ke:0)).slice(-2)+":"+("00"+(He>=0?He:0)).slice(-2)+":"+("00"+(dt>=0?dt:0)).slice(-2);return ke==-1&&He==-1&&dt==-1?Ot:H==-1&&J==-1&&be==-1?Ct:Ot+"T"+Ct}var re=function(){var b={};b.version="1.2.0";function N(){for(var vi=0,_a=new Array(256),na=0;na!=256;++na)vi=na,vi=vi&1?-306674912^vi>>>1:vi>>>1,vi=vi&1?-306674912^vi>>>1:vi>>>1,vi=vi&1?-306674912^vi>>>1:vi>>>1,vi=vi&1?-306674912^vi>>>1:vi>>>1,vi=vi&1?-306674912^vi>>>1:vi>>>1,vi=vi&1?-306674912^vi>>>1:vi>>>1,vi=vi&1?-306674912^vi>>>1:vi>>>1,vi=vi&1?-306674912^vi>>>1:vi>>>1,_a[na]=vi;return typeof Int32Array!="undefined"?new Int32Array(_a):_a}var I=N();function H(vi){var _a=0,na=0,xa=0,Fa=typeof Int32Array!="undefined"?new Int32Array(4096):new Array(4096);for(xa=0;xa!=256;++xa)Fa[xa]=vi[xa];for(xa=0;xa!=256;++xa)for(na=vi[xa],_a=256+xa;_a<4096;_a+=256)na=Fa[_a]=na>>>8^vi[na&255];var Yi=[];for(xa=1;xa!=16;++xa)Yi[xa-1]=typeof Int32Array!="undefined"?Fa.subarray(xa*256,xa*256+256):Fa.slice(xa*256,xa*256+256);return Yi}var J=H(I),be=J[0],ke=J[1],He=J[2],dt=J[3],Ot=J[4],Ct=J[5],dr=J[6],vr=J[7],kr=J[8],Ur=J[9],Ar=J[10],Dr=J[11],kn=J[12],Wn=J[13],On=J[14];function da(vi,_a){for(var na=_a^-1,xa=0,Fa=vi.length;xa<Fa;)na=na>>>8^I[(na^vi.charCodeAt(xa++))&255];return~na}function Ba(vi,_a){for(var na=_a^-1,xa=vi.length-15,Fa=0;Fa<xa;)na=On[vi[Fa++]^na&255]^Wn[vi[Fa++]^na>>8&255]^kn[vi[Fa++]^na>>16&255]^Dr[vi[Fa++]^na>>>24]^Ar[vi[Fa++]]^Ur[vi[Fa++]]^kr[vi[Fa++]]^vr[vi[Fa++]]^dr[vi[Fa++]]^Ct[vi[Fa++]]^Ot[vi[Fa++]]^dt[vi[Fa++]]^He[vi[Fa++]]^ke[vi[Fa++]]^be[vi[Fa++]]^I[vi[Fa++]];for(xa+=15;Fa<xa;)na=na>>>8^I[(na^vi[Fa++])&255];return~na}function Bi(vi,_a){for(var na=_a^-1,xa=0,Fa=vi.length,Yi=0,go=0;xa<Fa;)Yi=vi.charCodeAt(xa++),Yi<128?na=na>>>8^I[(na^Yi)&255]:Yi<2048?(na=na>>>8^I[(na^(192|Yi>>6&31))&255],na=na>>>8^I[(na^(128|Yi&63))&255]):Yi>=55296&&Yi<57344?(Yi=(Yi&1023)+64,go=vi.charCodeAt(xa++)&1023,na=na>>>8^I[(na^(240|Yi>>8&7))&255],na=na>>>8^I[(na^(128|Yi>>2&63))&255],na=na>>>8^I[(na^(128|go>>6&15|(Yi&3)<<4))&255],na=na>>>8^I[(na^(128|go&63))&255]):(na=na>>>8^I[(na^(224|Yi>>12&15))&255],na=na>>>8^I[(na^(128|Yi>>6&63))&255],na=na>>>8^I[(na^(128|Yi&63))&255]);return~na}return b.table=I,b.bstr=da,b.buf=Ba,b.str=Bi,b}(),ne=function(){var N={};N.version="1.2.1";function I(an,Gn){for(var Mn=an.split("/"),Fn=Gn.split("/"),$n=0,ei=0,fa=Math.min(Mn.length,Fn.length);$n<fa;++$n){if(ei=Mn[$n].length-Fn[$n].length)return ei;if(Mn[$n]!=Fn[$n])return Mn[$n]<Fn[$n]?-1:1}return Mn.length-Fn.length}function H(an){if(an.charAt(an.length-1)=="/")return an.slice(0,-1).indexOf("/")===-1?an:H(an.slice(0,-1));var Gn=an.lastIndexOf("/");return Gn===-1?an:an.slice(0,Gn+1)}function J(an){if(an.charAt(an.length-1)=="/")return J(an.slice(0,-1));var Gn=an.lastIndexOf("/");return Gn===-1?an:an.slice(Gn+1)}function be(an,Gn){typeof Gn=="string"&&(Gn=new Date(Gn));var Mn=Gn.getHours();Mn=Mn<<6|Gn.getMinutes(),Mn=Mn<<5|Gn.getSeconds()>>>1,an.write_shift(2,Mn);var Fn=Gn.getFullYear()-1980;Fn=Fn<<4|Gn.getMonth()+1,Fn=Fn<<5|Gn.getDate(),an.write_shift(2,Fn)}function ke(an){var Gn=an.read_shift(2)&65535,Mn=an.read_shift(2)&65535,Fn=new Date,$n=Mn&31;Mn>>>=5;var ei=Mn&15;Mn>>>=4,Fn.setMilliseconds(0),Fn.setFullYear(Mn+1980),Fn.setMonth(ei-1),Fn.setDate($n);var fa=Gn&31;Gn>>>=5;var Ha=Gn&63;return Gn>>>=6,Fn.setHours(Gn),Fn.setMinutes(Ha),Fn.setSeconds(fa<<1),Fn}function He(an){Cn(an,0);for(var Gn={},Mn=0;an.l<=an.length-4;){var Fn=an.read_shift(2),$n=an.read_shift(2),ei=an.l+$n,fa={};switch(Fn){case 21589:Mn=an.read_shift(1),Mn&1&&(fa.mtime=an.read_shift(4)),$n>5&&(Mn&2&&(fa.atime=an.read_shift(4)),Mn&4&&(fa.ctime=an.read_shift(4))),fa.mtime&&(fa.mt=new Date(fa.mtime*1e3));break}an.l=ei,Gn[Fn]=fa}return Gn}var dt;function Ot(){return dt||(dt={})}function Ct(an,Gn){if(an[0]==80&&an[1]==75)return _u(an,Gn);if((an[0]|32)==109&&(an[1]|32)==105)return xb(an,Gn);if(an.length<512)throw new Error("CFB file size "+an.length+" < 512");var Mn=3,Fn=512,$n=0,ei=0,fa=0,Ha=0,ga=0,ma=[],Sa=an.slice(0,512);Cn(Sa,0);var Co=dr(Sa);Mn=Co[0];switch(Mn){case 3:Fn=512;break;case 4:Fn=4096;break;case 0:if(Co[1]==0)return _u(an,Gn);default:throw new Error("Major Version: Expected 3 or 4 saw "+Mn)}Fn!==512&&(Sa=an.slice(0,Fn),Cn(Sa,28));var Wo=an.slice(0,Fn);vr(Sa,Mn);var Ls=Sa.read_shift(4,"i");if(Mn===3&&Ls!==0)throw new Error("# Directory Sectors: Expected 0 saw "+Ls);Sa.l+=4,fa=Sa.read_shift(4,"i"),Sa.l+=4,Sa.chk("00100000","Mini Stream Cutoff Size: "),Ha=Sa.read_shift(4,"i"),$n=Sa.read_shift(4,"i"),ga=Sa.read_shift(4,"i"),ei=Sa.read_shift(4,"i");for(var Bo=-1,Vo=0;Vo<109&&!(Bo=Sa.read_shift(4,"i"),Bo<0);++Vo)ma[Vo]=Bo;var ml=kr(an,Fn);Dr(ga,ei,ml,Fn,ma);var Tc=Wn(ml,fa,ma,Fn);Tc[fa].name="!Directory",$n>0&&Ha!==go&&(Tc[Ha].name="!MiniFAT"),Tc[ma[0]].name="!FAT",Tc.fat_addrs=ma,Tc.ssz=Fn;var Vu={},Qc=[],ad=[],Kh=[];On(fa,Tc,ml,Qc,$n,Vu,ad,Ha),Ur(ad,Kh,Qc),Qc.shift();var Vh={FileIndex:ad,FullPaths:Kh};return Gn&&Gn.raw&&(Vh.raw={header:Wo,sectors:ml}),Vh}function dr(an){if(an[an.l]==80&&an[an.l+1]==75)return[0,0];an.chk(Jo,"Header Signature: "),an.l+=16;var Gn=an.read_shift(2,"u");return[an.read_shift(2,"u"),Gn]}function vr(an,Gn){var Mn=9;an.l+=2;switch(Mn=an.read_shift(2)){case 9:if(Gn!=3)throw new Error("Sector Shift: Expected 9 saw "+Mn);break;case 12:if(Gn!=4)throw new Error("Sector Shift: Expected 12 saw "+Mn);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+Mn)}an.chk("0600","Mini Sector Shift: "),an.chk("000000000000","Reserved: ")}function kr(an,Gn){for(var Mn=Math.ceil(an.length/Gn)-1,Fn=[],$n=1;$n<Mn;++$n)Fn[$n-1]=an.slice($n*Gn,($n+1)*Gn);return Fn[Mn-1]=an.slice(Mn*Gn),Fn}function Ur(an,Gn,Mn){for(var Fn=0,$n=0,ei=0,fa=0,Ha=0,ga=Mn.length,ma=[],Sa=[];Fn<ga;++Fn)ma[Fn]=Sa[Fn]=Fn,Gn[Fn]=Mn[Fn];for(;Ha<Sa.length;++Ha)Fn=Sa[Ha],$n=an[Fn].L,ei=an[Fn].R,fa=an[Fn].C,ma[Fn]===Fn&&($n!==-1&&ma[$n]!==$n&&(ma[Fn]=ma[$n]),ei!==-1&&ma[ei]!==ei&&(ma[Fn]=ma[ei])),fa!==-1&&(ma[fa]=Fn),$n!==-1&&Fn!=ma[Fn]&&(ma[$n]=ma[Fn],Sa.lastIndexOf($n)<Ha&&Sa.push($n)),ei!==-1&&Fn!=ma[Fn]&&(ma[ei]=ma[Fn],Sa.lastIndexOf(ei)<Ha&&Sa.push(ei));for(Fn=1;Fn<ga;++Fn)ma[Fn]===Fn&&(ei!==-1&&ma[ei]!==ei?ma[Fn]=ma[ei]:$n!==-1&&ma[$n]!==$n&&(ma[Fn]=ma[$n]));for(Fn=1;Fn<ga;++Fn){if(an[Fn].type===0)continue;if(Ha=Fn,Ha!=ma[Ha])do Ha=ma[Ha],Gn[Fn]=Gn[Ha]+"/"+Gn[Fn];while(Ha!==0&&ma[Ha]!==-1&&Ha!=ma[Ha]);ma[Fn]=-1}for(Gn[0]+="/",Fn=1;Fn<ga;++Fn)an[Fn].type!==2&&(Gn[Fn]+="/")}function Ar(an,Gn,Mn){for(var Fn=an.start,$n=an.size,ei=[],fa=Fn;Mn&&$n>0&&fa>=0;)ei.push(Gn.slice(fa*Yi,fa*Yi+Yi)),$n-=Yi,fa=Vi(Mn,fa*4);return ei.length===0?Tn(0):k(ei).slice(0,an.size)}function Dr(an,Gn,Mn,Fn,$n){var ei=go;if(an===go){if(Gn!==0)throw new Error("DIFAT chain shorter than expected")}else if(an!==-1){var fa=Mn[an],Ha=(Fn>>>2)-1;if(!fa)return;for(var ga=0;ga<Ha&&!((ei=Vi(fa,ga*4))===go);++ga)$n.push(ei);Dr(Vi(fa,Fn-4),Gn-1,Mn,Fn,$n)}}function kn(an,Gn,Mn,Fn,$n){var ei=[],fa=[];$n||($n=[]);var Ha=Fn-1,ga=0,ma=0;for(ga=Gn;ga>=0;){$n[ga]=!0,ei[ei.length]=ga,fa.push(an[ga]);var Sa=Mn[Math.floor(ga*4/Fn)];if(ma=ga*4&Ha,Fn<4+ma)throw new Error("FAT boundary crossed: "+ga+" 4 "+Fn);if(!an[Sa])break;ga=Vi(an[Sa],ma)}return{nodes:ei,data:_i([fa])}}function Wn(an,Gn,Mn,Fn){var $n=an.length,ei=[],fa=[],Ha=[],ga=[],ma=Fn-1,Sa=0,Co=0,Wo=0,Ls=0;for(Sa=0;Sa<$n;++Sa){if(Ha=[],Wo=Sa+Gn,Wo>=$n&&(Wo-=$n),fa[Wo])continue;ga=[];var Bo=[];for(Co=Wo;Co>=0;){Bo[Co]=!0,fa[Co]=!0,Ha[Ha.length]=Co,ga.push(an[Co]);var Vo=Mn[Math.floor(Co*4/Fn)];if(Ls=Co*4&ma,Fn<4+Ls)throw new Error("FAT boundary crossed: "+Co+" 4 "+Fn);if(!an[Vo])break;if(Co=Vi(an[Vo],Ls),Bo[Co])break}ei[Wo]={nodes:Ha,data:_i([ga])}}return ei}function On(an,Gn,Mn,Fn,$n,ei,fa,Ha){for(var ga=0,ma=Fn.length?2:0,Sa=Gn[an].data,Co=0,Wo=0,Ls;Co<Sa.length;Co+=128){var Bo=Sa.slice(Co,Co+128);Cn(Bo,64),Wo=Bo.read_shift(2),Ls=aa(Bo,0,Wo-ma),Fn.push(Ls);var Vo={name:Ls,type:Bo.read_shift(1),color:Bo.read_shift(1),L:Bo.read_shift(4,"i"),R:Bo.read_shift(4,"i"),C:Bo.read_shift(4,"i"),clsid:Bo.read_shift(16),state:Bo.read_shift(4,"i"),start:0,size:0},ml=Bo.read_shift(2)+Bo.read_shift(2)+Bo.read_shift(2)+Bo.read_shift(2);ml!==0&&(Vo.ct=da(Bo,Bo.l-8));var Tc=Bo.read_shift(2)+Bo.read_shift(2)+Bo.read_shift(2)+Bo.read_shift(2);Tc!==0&&(Vo.mt=da(Bo,Bo.l-8)),Vo.start=Bo.read_shift(4,"i"),Vo.size=Bo.read_shift(4,"i"),Vo.size<0&&Vo.start<0&&(Vo.size=Vo.type=0,Vo.start=go,Vo.name=""),Vo.type===5?(ga=Vo.start,$n>0&&ga!==go&&(Gn[ga].name="!StreamData")):Vo.size>=4096?(Vo.storage="fat",Gn[Vo.start]===void 0&&(Gn[Vo.start]=kn(Mn,Vo.start,Gn.fat_addrs,Gn.ssz)),Gn[Vo.start].name=Vo.name,Vo.content=Gn[Vo.start].data.slice(0,Vo.size)):(Vo.storage="minifat",Vo.size<0?Vo.size=0:ga!==go&&Vo.start!==go&&Gn[ga]&&(Vo.content=Ar(Vo,Gn[ga].data,(Gn[Ha]||{}).data))),Vo.content&&Cn(Vo.content,0),ei[Ls]=Vo,fa.push(Vo)}}function da(an,Gn){return new Date((Li(an,Gn+4)/1e7*Math.pow(2,32)+Li(an,Gn)/1e7-11644473600)*1e3)}function Ba(an,Gn){return Ot(),Ct(dt.readFileSync(an),Gn)}function Bi(an,Gn){var Mn=Gn&&Gn.type;Mn||w&&Buffer.isBuffer(an)&&(Mn="buffer");switch(Mn||"base64"){case"file":return Ba(an,Gn);case"base64":return Ct(S(A.decode(an)),Gn);case"binary":return Ct(S(an),Gn)}return Ct(an,Gn)}function vi(an,Gn){var Mn=Gn||{},Fn=Mn.root||"Root Entry";if(an.FullPaths||(an.FullPaths=[]),an.FileIndex||(an.FileIndex=[]),an.FullPaths.length!==an.FileIndex.length)throw new Error("inconsistent CFB structure");an.FullPaths.length===0&&(an.FullPaths[0]=Fn+"/",an.FileIndex[0]={name:Fn,type:5}),Mn.CLSID&&(an.FileIndex[0].clsid=Mn.CLSID),_a(an)}function _a(an){var Gn="Sh33tJ5";if(ne.find(an,"/"+Gn))return;var Mn=Tn(4);Mn[0]=55,Mn[1]=Mn[3]=50,Mn[2]=54,an.FileIndex.push({name:Gn,type:2,content:Mn,size:4,L:69,R:69,C:69}),an.FullPaths.push(an.FullPaths[0]+Gn),na(an)}function na(an,Gn){vi(an);for(var Mn=!1,Fn=!1,$n=an.FullPaths.length-1;$n>=0;--$n){var ei=an.FileIndex[$n];switch(ei.type){case 0:Fn?Mn=!0:(an.FileIndex.pop(),an.FullPaths.pop());break;case 1:case 2:case 5:Fn=!0,isNaN(ei.R*ei.L*ei.C)&&(Mn=!0),ei.R>-1&&ei.L>-1&&ei.R==ei.L&&(Mn=!0);break;default:Mn=!0;break}}if(!Mn&&!Gn)return;var fa=new Date(1987,1,19),Ha=0,ga=Object.create?Object.create(null):{},ma=[];for($n=0;$n<an.FullPaths.length;++$n){if(ga[an.FullPaths[$n]]=!0,an.FileIndex[$n].type===0)continue;ma.push([an.FullPaths[$n],an.FileIndex[$n]])}for($n=0;$n<ma.length;++$n){var Sa=H(ma[$n][0]);Fn=ga[Sa],Fn||(ma.push([Sa,{name:J(Sa).replace("/",""),type:1,clsid:ms,ct:fa,mt:fa,content:null}]),ga[Sa]=!0)}for(ma.sort(function(Ls,Bo){return I(Ls[0],Bo[0])}),an.FullPaths=[],an.FileIndex=[],$n=0;$n<ma.length;++$n)an.FullPaths[$n]=ma[$n][0],an.FileIndex[$n]=ma[$n][1];for($n=0;$n<ma.length;++$n){var Co=an.FileIndex[$n],Wo=an.FullPaths[$n];if(Co.name=J(Wo).replace("/",""),Co.L=Co.R=Co.C=-(Co.color=1),Co.size=Co.content?Co.content.length:0,Co.start=0,Co.clsid=Co.clsid||ms,$n===0)Co.C=ma.length>1?1:-1,Co.size=0,Co.type=5;else if(Wo.slice(-1)=="/"){for(Ha=$n+1;Ha<ma.length&&!(H(an.FullPaths[Ha])==Wo);++Ha);for(Co.C=Ha>=ma.length?-1:Ha,Ha=$n+1;Ha<ma.length&&!(H(an.FullPaths[Ha])==H(Wo));++Ha);Co.R=Ha>=ma.length?-1:Ha,Co.type=1}else H(an.FullPaths[$n+1]||"")==H(Wo)&&(Co.R=$n+1),Co.type=2}}function xa(an,Gn){var Mn=Gn||{};if(Mn.fileType=="mad")return Sb(an,Mn);na(an);switch(Mn.fileType){case"zip":return gb(an,Mn)}var Fn=function(Ls){for(var Bo=0,Vo=0,ml=0;ml<Ls.FileIndex.length;++ml){var Tc=Ls.FileIndex[ml];if(!Tc.content)continue;var Vu=Tc.content.length;Vu>0&&(Vu<4096?Bo+=Vu+63>>6:Vo+=Vu+511>>9)}for(var Qc=Ls.FullPaths.length+3>>2,ad=Bo+7>>3,Kh=Bo+127>>7,Vh=ad+Vo+Qc+Kh,xh=Vh+127>>7,Nf=xh<=109?0:Math.ceil((xh-109)/127);Vh+xh+Nf+127>>7>xh;)Nf=++xh<=109?0:Math.ceil((xh-109)/127);var oh=[1,Nf,xh,Kh,Qc,Vo,Bo,0];return Ls.FileIndex[0].size=Bo<<6,oh[7]=(Ls.FileIndex[0].start=oh[0]+oh[1]+oh[2]+oh[3]+oh[4]+oh[5])+(oh[6]+7>>3),oh}(an),$n=Tn(Fn[7]<<9),ei=0,fa=0;{for(ei=0;ei<8;++ei)$n.write_shift(1,Uo[ei]);for(ei=0;ei<8;++ei)$n.write_shift(2,0);for($n.write_shift(2,62),$n.write_shift(2,3),$n.write_shift(2,65534),$n.write_shift(2,9),$n.write_shift(2,6),ei=0;ei<3;++ei)$n.write_shift(2,0);for($n.write_shift(4,0),$n.write_shift(4,Fn[2]),$n.write_shift(4,Fn[0]+Fn[1]+Fn[2]+Fn[3]-1),$n.write_shift(4,0),$n.write_shift(4,1<<12),$n.write_shift(4,Fn[3]?Fn[0]+Fn[1]+Fn[2]-1:go),$n.write_shift(4,Fn[3]),$n.write_shift(-4,Fn[1]?Fn[0]-1:go),$n.write_shift(4,Fn[1]),ei=0;ei<109;++ei)$n.write_shift(-4,ei<Fn[2]?Fn[1]+ei:-1)}if(Fn[1])for(fa=0;fa<Fn[1];++fa){for(;ei<236+fa*127;++ei)$n.write_shift(-4,ei<Fn[2]?Fn[1]+ei:-1);$n.write_shift(-4,fa===Fn[1]-1?go:fa+1)}var Ha=function(Bo){for(fa+=Bo;ei<fa-1;++ei)$n.write_shift(-4,ei+1);Bo&&(++ei,$n.write_shift(-4,go))};for(fa=ei=0,fa+=Fn[1];ei<fa;++ei)$n.write_shift(-4,Ss.DIFSECT);for(fa+=Fn[2];ei<fa;++ei)$n.write_shift(-4,Ss.FATSECT);Ha(Fn[3]),Ha(Fn[4]);for(var ga=0,ma=0,Sa=an.FileIndex[0];ga<an.FileIndex.length;++ga){if(Sa=an.FileIndex[ga],!Sa.content)continue;if(ma=Sa.content.length,ma<4096)continue;Sa.start=fa,Ha(ma+511>>9)}for(Ha(Fn[6]+7>>3);$n.l&511;)$n.write_shift(-4,Ss.ENDOFCHAIN);for(fa=ei=0,ga=0;ga<an.FileIndex.length;++ga){if(Sa=an.FileIndex[ga],!Sa.content)continue;if(ma=Sa.content.length,!ma||ma>=4096)continue;Sa.start=fa,Ha(ma+63>>6)}for(;$n.l&511;)$n.write_shift(-4,Ss.ENDOFCHAIN);for(ei=0;ei<Fn[4]<<2;++ei){var Co=an.FullPaths[ei];if(!Co||Co.length===0){for(ga=0;ga<17;++ga)$n.write_shift(4,0);for(ga=0;ga<3;++ga)$n.write_shift(4,-1);for(ga=0;ga<12;++ga)$n.write_shift(4,0);continue}Sa=an.FileIndex[ei],ei===0&&(Sa.start=Sa.size?Sa.start-1:go);var Wo=ei===0&&Mn.root||Sa.name;if(ma=2*(Wo.length+1),$n.write_shift(64,Wo,"utf16le"),$n.write_shift(2,ma),$n.write_shift(1,Sa.type),$n.write_shift(1,Sa.color),$n.write_shift(-4,Sa.L),$n.write_shift(-4,Sa.R),$n.write_shift(-4,Sa.C),Sa.clsid)$n.write_shift(16,Sa.clsid,"hex");else for(ga=0;ga<4;++ga)$n.write_shift(4,0);$n.write_shift(4,Sa.state||0),$n.write_shift(4,0),$n.write_shift(4,0),$n.write_shift(4,0),$n.write_shift(4,0),$n.write_shift(4,Sa.start),$n.write_shift(4,Sa.size),$n.write_shift(4,0)}for(ei=1;ei<an.FileIndex.length;++ei)if(Sa=an.FileIndex[ei],Sa.size>=4096)if($n.l=Sa.start+1<<9,w&&Buffer.isBuffer(Sa.content))Sa.content.copy($n,$n.l,0,Sa.size),$n.l+=Sa.size+511&-512;else{for(ga=0;ga<Sa.size;++ga)$n.write_shift(1,Sa.content[ga]);for(;ga&511;++ga)$n.write_shift(1,0)}for(ei=1;ei<an.FileIndex.length;++ei)if(Sa=an.FileIndex[ei],Sa.size>0&&Sa.size<4096)if(w&&Buffer.isBuffer(Sa.content))Sa.content.copy($n,$n.l,0,Sa.size),$n.l+=Sa.size+63&-64;else{for(ga=0;ga<Sa.size;++ga)$n.write_shift(1,Sa.content[ga]);for(;ga&63;++ga)$n.write_shift(1,0)}if(w)$n.l=$n.length;else for(;$n.l<$n.length;)$n.write_shift(1,0);return $n}function Fa(an,Gn){var Mn=an.FullPaths.map(function(ga){return ga.toUpperCase()}),Fn=Mn.map(function(ga){var ma=ga.split("/");return ma[ma.length-(ga.slice(-1)=="/"?2:1)]}),$n=!1;Gn.charCodeAt(0)===47?($n=!0,Gn=Mn[0].slice(0,-1)+Gn):$n=Gn.indexOf("/")!==-1;var ei=Gn.toUpperCase(),fa=$n===!0?Mn.indexOf(ei):Fn.indexOf(ei);if(fa!==-1)return an.FileIndex[fa];var Ha=!ei.match(Z);for(ei=ei.replace(K,""),Ha&&(ei=ei.replace(Z,"!")),fa=0;fa<Mn.length;++fa){if((Ha?Mn[fa].replace(Z,"!"):Mn[fa]).replace(K,"")==ei)return an.FileIndex[fa];if((Ha?Fn[fa].replace(Z,"!"):Fn[fa]).replace(K,"")==ei)return an.FileIndex[fa]}return null}var Yi=64,go=-2,Jo="d0cf11e0a1b11ae1",Uo=[208,207,17,224,161,177,26,225],ms="00000000000000000000000000000000",Ss={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:go,FREESECT:-1,HEADER_SIGNATURE:Jo,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:ms,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function Bl(an,Gn,Mn){Ot();var Fn=xa(an,Mn);dt.writeFileSync(Gn,Fn)}function Qo(an){for(var Gn=new Array(an.length),Mn=0;Mn<an.length;++Mn)Gn[Mn]=String.fromCharCode(an[Mn]);return Gn.join("")}function Is(an,Gn){var Mn=xa(an,Gn);switch(Gn&&Gn.type||"buffer"){case"file":return Ot(),dt.writeFileSync(Gn.filename,Mn),Mn;case"binary":return typeof Mn=="string"?Mn:Qo(Mn);case"base64":return A.encode(typeof Mn=="string"?Mn:Qo(Mn));case"buffer":if(w)return Buffer.isBuffer(Mn)?Mn:x(Mn);case"array":return typeof Mn=="string"?S(Mn):Mn}return Mn}var $a;function pi(an){try{var Gn=an.InflateRaw,Mn=new Gn;if(Mn._processChunk(new Uint8Array([3,0]),Mn._finishFlushFlag),Mn.bytesRead)$a=an;else throw new Error("zlib does not expose bytesRead")}catch(Fn){console.error("cannot use native zlib: "+(Fn.message||Fn))}}function pa(an,Gn){if(!$a)return Ih(an,Gn);var Mn=$a.InflateRaw,Fn=new Mn,$n=Fn._processChunk(an.slice(an.l),Fn._finishFlushFlag);return an.l+=Fn.bytesRead,$n}function Xi(an){return $a?$a.deflateRawSync(an):Ia(an)}var Qr=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Dn=[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],ai=[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];function Ta(an){var Gn=(an<<1|an<<11)&139536|(an<<5|an<<15)&558144;return(Gn>>16|Gn>>8|Gn)&255}for(var si=typeof Uint8Array!="undefined",ha=si?new Uint8Array(1<<8):[],Ii=0;Ii<1<<8;++Ii)ha[Ii]=Ta(Ii);function En(an,Gn){var Mn=ha[an&255];return Gn<=8?Mn>>>8-Gn:(Mn=Mn<<8|ha[an>>8&255],Gn<=16?Mn>>>16-Gn:(Mn=Mn<<8|ha[an>>16&255],Mn>>>24-Gn))}function Cs(an,Gn){var Mn=Gn&7,Fn=Gn>>>3;return(an[Fn]|(Mn<=6?0:an[Fn+1]<<8))>>>Mn&3}function qa(an,Gn){var Mn=Gn&7,Fn=Gn>>>3;return(an[Fn]|(Mn<=5?0:an[Fn+1]<<8))>>>Mn&7}function gs(an,Gn){var Mn=Gn&7,Fn=Gn>>>3;return(an[Fn]|(Mn<=4?0:an[Fn+1]<<8))>>>Mn&15}function ns(an,Gn){var Mn=Gn&7,Fn=Gn>>>3;return(an[Fn]|(Mn<=3?0:an[Fn+1]<<8))>>>Mn&31}function Ro(an,Gn){var Mn=Gn&7,Fn=Gn>>>3;return(an[Fn]|(Mn<=1?0:an[Fn+1]<<8))>>>Mn&127}function uc(an,Gn,Mn){var Fn=Gn&7,$n=Gn>>>3,ei=(1<<Mn)-1,fa=an[$n]>>>Fn;return Mn<8-Fn?fa&ei:(fa|=an[$n+1]<<8-Fn,Mn<16-Fn?fa&ei:(fa|=an[$n+2]<<16-Fn,Mn<24-Fn||(fa|=an[$n+3]<<24-Fn),fa&ei))}function Eu(an,Gn,Mn){var Fn=Gn&7,$n=Gn>>>3;return Fn<=5?an[$n]|=(Mn&7)<<Fn:(an[$n]|=Mn<<Fn&255,an[$n+1]=(Mn&7)>>8-Fn),Gn+3}function Hc(an,Gn,Mn){var Fn=Gn&7,$n=Gn>>>3;return Mn=(Mn&1)<<Fn,an[$n]|=Mn,Gn+1}function kl(an,Gn,Mn){var Fn=Gn&7,$n=Gn>>>3;return Mn<<=Fn,an[$n]|=Mn&255,Mn>>>=8,an[$n+1]=Mn,Gn+8}function Ud(an,Gn,Mn){var Fn=Gn&7,$n=Gn>>>3;return Mn<<=Fn,an[$n]|=Mn&255,Mn>>>=8,an[$n+1]=Mn&255,an[$n+2]=Mn>>>8,Gn+16}function id(an,Gn){var Mn=an.length,Fn=2*Mn>Gn?2*Mn:Gn+5,$n=0;if(Mn>=Gn)return an;if(w){var ei=O(Fn);if(an.copy)an.copy(ei);else for(;$n<an.length;++$n)ei[$n]=an[$n];return ei}else if(si){var fa=new Uint8Array(Fn);if(fa.set)fa.set(an);else for(;$n<Mn;++$n)fa[$n]=an[$n];return fa}return an.length=Fn,an}function Fc(an){for(var Gn=new Array(an),Mn=0;Mn<an;++Mn)Gn[Mn]=0;return Gn}function Vs(an,Gn,Mn){var Fn=1,$n=0,ei=0,fa=0,Ha=0,ga=an.length,ma=si?new Uint16Array(32):Fc(32);for(ei=0;ei<32;++ei)ma[ei]=0;for(ei=ga;ei<Mn;++ei)an[ei]=0;ga=an.length;var Sa=si?new Uint16Array(ga):Fc(ga);for(ei=0;ei<ga;++ei)ma[$n=an[ei]]++,Fn<$n&&(Fn=$n),Sa[ei]=0;for(ma[0]=0,ei=1;ei<=Fn;++ei)ma[ei+16]=Ha=Ha+ma[ei-1]<<1;for(ei=0;ei<ga;++ei)Ha=an[ei],Ha!=0&&(Sa[ei]=ma[Ha+16]++);var Co=0;for(ei=0;ei<ga;++ei)if(Co=an[ei],Co!=0)for(Ha=En(Sa[ei],Fn)>>Fn-Co,fa=(1<<Fn+4-Co)-1;fa>=0;--fa)Gn[Ha|fa<<Co]=Co&15|ei<<4;return Fn}var bo=si?new Uint16Array(512):Fc(512),Qi=si?new Uint16Array(32):Fc(32);if(!si){for(var ra=0;ra<512;++ra)bo[ra]=0;for(ra=0;ra<32;++ra)Qi[ra]=0}(function(){for(var an=[],Gn=0;Gn<32;Gn++)an.push(5);Vs(an,Qi,32);var Mn=[];for(Gn=0;Gn<=143;Gn++)Mn.push(8);for(;Gn<=255;Gn++)Mn.push(9);for(;Gn<=279;Gn++)Mn.push(7);for(;Gn<=287;Gn++)Mn.push(8);Vs(Mn,bo,288)})();var Es=function(){for(var Gn=si?new Uint8Array(32768):[],Mn=0,Fn=0;Mn<ai.length-1;++Mn)for(;Fn<ai[Mn+1];++Fn)Gn[Fn]=Mn;for(;Fn<32768;++Fn)Gn[Fn]=29;var $n=si?new Uint8Array(259):[];for(Mn=0,Fn=0;Mn<Dn.length-1;++Mn)for(;Fn<Dn[Mn+1];++Fn)$n[Fn]=Mn;function ei(Ha,ga){for(var ma=0;ma<Ha.length;){var Sa=Math.min(65535,Ha.length-ma),Co=ma+Sa==Ha.length;for(ga.write_shift(1,+Co),ga.write_shift(2,Sa),ga.write_shift(2,~Sa&65535);Sa-- >0;)ga[ga.l++]=Ha[ma++]}return ga.l}function fa(Ha,ga){for(var ma=0,Sa=0,Co=si?new Uint16Array(32768):[];Sa<Ha.length;){var Wo=Math.min(65535,Ha.length-Sa);if(Wo<10){for(ma=Eu(ga,ma,+(Sa+Wo==Ha.length)),ma&7&&(ma+=8-(ma&7)),ga.l=ma/8|0,ga.write_shift(2,Wo),ga.write_shift(2,~Wo&65535);Wo-- >0;)ga[ga.l++]=Ha[Sa++];ma=ga.l*8;continue}ma=Eu(ga,ma,+(Sa+Wo==Ha.length)+2);for(var Ls=0;Wo-- >0;){var Bo=Ha[Sa];Ls=(Ls<<5^Bo)&32767;var Vo=-1,ml=0;if((Vo=Co[Ls])&&(Vo|=Sa&~32767,Vo>Sa&&(Vo-=32768),Vo<Sa))for(;Ha[Vo+ml]==Ha[Sa+ml]&&ml<250;)++ml;if(ml>2){Bo=$n[ml],Bo<=22?ma=kl(ga,ma,ha[Bo+1]>>1)-1:(kl(ga,ma,3),ma+=5,kl(ga,ma,ha[Bo-23]>>5),ma+=3);var Tc=Bo<8?0:Bo-4>>2;Tc>0&&(Ud(ga,ma,ml-Dn[Bo]),ma+=Tc),Bo=Gn[Sa-Vo],ma=kl(ga,ma,ha[Bo]>>3),ma-=3;var Vu=Bo<4?0:Bo-2>>1;Vu>0&&(Ud(ga,ma,Sa-Vo-ai[Bo]),ma+=Vu);for(var Qc=0;Qc<ml;++Qc)Co[Ls]=Sa&32767,Ls=(Ls<<5^Ha[Sa])&32767,++Sa;Wo-=ml-1}else Bo<=143?Bo=Bo+48:ma=Hc(ga,ma,1),ma=kl(ga,ma,ha[Bo]),Co[Ls]=Sa&32767,++Sa}ma=kl(ga,ma,0)-1}return ga.l=(ma+7)/8|0,ga.l}return function(ga,ma){return ga.length<8?ei(ga,ma):fa(ga,ma)}}();function Ia(an){var Gn=Tn(50+Math.floor(an.length*1.1)),Mn=Es(an,Gn);return Gn.slice(0,Mn)}var Qa=si?new Uint16Array(32768):Fc(32768),Js=si?new Uint16Array(32768):Fc(32768),wl=si?new Uint16Array(128):Fc(128),dc=1,Ic=1;function Ul(an,Gn){var Mn=ns(an,Gn)+257;Gn+=5;var Fn=ns(an,Gn)+1;Gn+=5;var $n=gs(an,Gn)+4;Gn+=4;for(var ei=0,fa=si?new Uint8Array(19):Fc(19),Ha=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],ga=1,ma=si?new Uint8Array(8):Fc(8),Sa=si?new Uint8Array(8):Fc(8),Co=fa.length,Wo=0;Wo<$n;++Wo)fa[Qr[Wo]]=ei=qa(an,Gn),ga<ei&&(ga=ei),ma[ei]++,Gn+=3;var Ls=0;for(ma[0]=0,Wo=1;Wo<=ga;++Wo)Sa[Wo]=Ls=Ls+ma[Wo-1]<<1;for(Wo=0;Wo<Co;++Wo)(Ls=fa[Wo])!=0&&(Ha[Wo]=Sa[Ls]++);var Bo=0;for(Wo=0;Wo<Co;++Wo)if(Bo=fa[Wo],Bo!=0){Ls=ha[Ha[Wo]]>>8-Bo;for(var Vo=(1<<7-Bo)-1;Vo>=0;--Vo)wl[Ls|Vo<<Bo]=Bo&7|Wo<<3}var ml=[];for(ga=1;ml.length<Mn+Fn;){Ls=wl[Ro(an,Gn)],Gn+=Ls&7;switch(Ls>>>=3){case 16:for(ei=3+Cs(an,Gn),Gn+=2,Ls=ml[ml.length-1];ei-- >0;)ml.push(Ls);break;case 17:for(ei=3+qa(an,Gn),Gn+=3;ei-- >0;)ml.push(0);break;case 18:for(ei=11+Ro(an,Gn),Gn+=7;ei-- >0;)ml.push(0);break;default:ml.push(Ls),ga<Ls&&(ga=Ls);break}}var Tc=ml.slice(0,Mn),Vu=ml.slice(Mn);for(Wo=Mn;Wo<286;++Wo)Tc[Wo]=0;for(Wo=Fn;Wo<30;++Wo)Vu[Wo]=0;return dc=Vs(Tc,Qa,286),Ic=Vs(Vu,Js,30),Gn}function yh(an,Gn){if(an[0]==3&&!(an[1]&3))return[T(Gn),2];for(var Mn=0,Fn=0,$n=O(Gn||1<<18),ei=0,fa=$n.length>>>0,Ha=0,ga=0;(Fn&1)==0;){if(Fn=qa(an,Mn),Mn+=3,Fn>>>1==0){Mn&7&&(Mn+=8-(Mn&7));var ma=an[Mn>>>3]|an[(Mn>>>3)+1]<<8;if(Mn+=32,ma>0)for(!Gn&&fa<ei+ma&&($n=id($n,ei+ma),fa=$n.length);ma-- >0;)$n[ei++]=an[Mn>>>3],Mn+=8;continue}else Fn>>1==1?(Ha=9,ga=5):(Mn=Ul(an,Mn),Ha=dc,ga=Ic);for(;;){!Gn&&fa<ei+32767&&($n=id($n,ei+32767),fa=$n.length);var Sa=uc(an,Mn,Ha),Co=Fn>>>1==1?bo[Sa]:Qa[Sa];if(Mn+=Co&15,Co>>>=4,(Co>>>8&255)===0)$n[ei++]=Co;else{if(Co==256)break;Co-=257;var Wo=Co<8?0:Co-4>>2;Wo>5&&(Wo=0);var Ls=ei+Dn[Co];Wo>0&&(Ls+=uc(an,Mn,Wo),Mn+=Wo),Sa=uc(an,Mn,ga),Co=Fn>>>1==1?Qi[Sa]:Js[Sa],Mn+=Co&15,Co>>>=4;var Bo=Co<4?0:Co-2>>1,Vo=ai[Co];for(Bo>0&&(Vo+=uc(an,Mn,Bo),Mn+=Bo),!Gn&&fa<Ls&&($n=id($n,Ls+100),fa=$n.length);ei<Ls;)$n[ei]=$n[ei-Vo],++ei}}}return Gn?[$n,Mn+7>>>3]:[$n.slice(0,ei),Mn+7>>>3]}function Ih(an,Gn){var Mn=an.slice(an.l||0),Fn=yh(Mn,Gn);return an.l+=Fn[1],Fn[0]}function fh(an,Gn){if(an)typeof console!="undefined"&&console.error(Gn);else throw new Error(Gn)}function _u(an,Gn){var Mn=an;Cn(Mn,0);var Fn=[],$n=[],ei={FileIndex:Fn,FullPaths:$n};vi(ei,{root:Gn.root});for(var fa=Mn.length-4;(Mn[fa]!=80||Mn[fa+1]!=75||Mn[fa+2]!=5||Mn[fa+3]!=6)&&fa>=0;)--fa;Mn.l=fa+4,Mn.l+=4;var Ha=Mn.read_shift(2);Mn.l+=6;var ga=Mn.read_shift(4);for(Mn.l=ga,fa=0;fa<Ha;++fa){Mn.l+=20;var ma=Mn.read_shift(4),Sa=Mn.read_shift(4),Co=Mn.read_shift(2),Wo=Mn.read_shift(2),Ls=Mn.read_shift(2);Mn.l+=8;var Bo=Mn.read_shift(4),Vo=He(Mn.slice(Mn.l+Co,Mn.l+Co+Wo));Mn.l+=Co+Wo+Ls;var ml=Mn.l;Mn.l=Bo+4,wh(Mn,ma,Sa,ei,Vo),Mn.l=ml}return ei}function wh(an,Gn,Mn,Fn,$n){an.l+=2;var ei=an.read_shift(2),fa=an.read_shift(2),Ha=ke(an);if(ei&8257)throw new Error("Unsupported ZIP encryption");for(var ga=an.read_shift(4),ma=an.read_shift(4),Sa=an.read_shift(4),Co=an.read_shift(2),Wo=an.read_shift(2),Ls="",Bo=0;Bo<Co;++Bo)Ls+=String.fromCharCode(an[an.l++]);if(Wo){var Vo=He(an.slice(an.l,an.l+Wo));(Vo[21589]||{}).mt&&(Ha=Vo[21589].mt),(($n||{})[21589]||{}).mt&&(Ha=$n[21589].mt)}an.l+=Wo;var ml=an.slice(an.l,an.l+ma);switch(fa){case 8:ml=pa(an,Sa);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+fa)}var Tc=!1;ei&8&&(ga=an.read_shift(4),ga==134695760&&(ga=an.read_shift(4),Tc=!0),ma=an.read_shift(4),Sa=an.read_shift(4)),ma!=Gn&&fh(Tc,"Bad compressed size: "+Gn+" != "+ma),Sa!=Mn&&fh(Tc,"Bad uncompressed size: "+Mn+" != "+Sa),Lf(Fn,Ls,ml,{unsafe:!0,mt:Ha})}function gb(an,Gn){var Mn=Gn||{},Fn=[],$n=[],ei=Tn(1),fa=Mn.compression?8:0,Ha=0,ga=!1;ga&&(Ha|=8);var ma=0,Sa=0,Co=0,Wo=0,Ls=an.FullPaths[0],Bo=Ls,Vo=an.FileIndex[0],ml=[],Tc=0;for(ma=1;ma<an.FullPaths.length;++ma){if(Bo=an.FullPaths[ma].slice(Ls.length),Vo=an.FileIndex[ma],!Vo.size||!Vo.content||Bo=="Sh33tJ5")continue;var Vu=Co,Qc=Tn(Bo.length);for(Sa=0;Sa<Bo.length;++Sa)Qc.write_shift(1,Bo.charCodeAt(Sa)&127);Qc=Qc.slice(0,Qc.l),ml[Wo]=re.buf(Vo.content,0);var ad=Vo.content;fa==8&&(ad=Xi(ad)),ei=Tn(30),ei.write_shift(4,67324752),ei.write_shift(2,20),ei.write_shift(2,Ha),ei.write_shift(2,fa),Vo.mt?be(ei,Vo.mt):ei.write_shift(4,0),ei.write_shift(-4,Ha&8?0:ml[Wo]),ei.write_shift(4,Ha&8?0:ad.length),ei.write_shift(4,Ha&8?0:Vo.content.length),ei.write_shift(2,Qc.length),ei.write_shift(2,0),Co+=ei.length,Fn.push(ei),Co+=Qc.length,Fn.push(Qc),Co+=ad.length,Fn.push(ad),Ha&8&&(ei=Tn(12),ei.write_shift(-4,ml[Wo]),ei.write_shift(4,ad.length),ei.write_shift(4,Vo.content.length),Co+=ei.l,Fn.push(ei)),ei=Tn(46),ei.write_shift(4,33639248),ei.write_shift(2,0),ei.write_shift(2,20),ei.write_shift(2,Ha),ei.write_shift(2,fa),ei.write_shift(4,0),ei.write_shift(-4,ml[Wo]),ei.write_shift(4,ad.length),ei.write_shift(4,Vo.content.length),ei.write_shift(2,Qc.length),ei.write_shift(2,0),ei.write_shift(2,0),ei.write_shift(2,0),ei.write_shift(2,0),ei.write_shift(4,0),ei.write_shift(4,Vu),Tc+=ei.l,$n.push(ei),Tc+=Qc.length,$n.push(Qc),++Wo}return ei=Tn(22),ei.write_shift(4,101010256),ei.write_shift(2,0),ei.write_shift(2,0),ei.write_shift(2,Wo),ei.write_shift(2,Wo),ei.write_shift(4,Tc),ei.write_shift(4,Co),ei.write_shift(2,0),k([k(Fn),k($n),ei])}var qh={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Ab(an,Gn){if(an.ctype)return an.ctype;var Mn=an.name||"",Fn=Mn.match(/\.([^\.]+)$/);return Fn&&qh[Fn[1]]||Gn&&(Fn=(Mn=Gn).match(/[\.\\]([^\.\\])+$/),Fn&&qh[Fn[1]])?qh[Fn[1]]:"application/octet-stream"}function vb(an){for(var Gn=A.encode(an),Mn=[],Fn=0;Fn<Gn.length;Fn+=76)Mn.push(Gn.slice(Fn,Fn+76));return Mn.join(`\r
|
|
|
`)+`\r
|
|
|
`}function bb(an){var Gn=an.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(ma){var Sa=ma.charCodeAt(0).toString(16).toUpperCase();return"="+(Sa.length==1?"0"+Sa:Sa)});Gn=Gn.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),Gn.charAt(0)==`
|
|
|
`&&(Gn="=0D"+Gn.slice(1)),Gn=Gn.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
|
|
|
=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var Mn=[],Fn=Gn.split(`\r
|
|
|
`),$n=0;$n<Fn.length;++$n){var ei=Fn[$n];if(ei.length==0){Mn.push("");continue}for(var fa=0;fa<ei.length;){var Ha=76,ga=ei.slice(fa,fa+Ha);ga.charAt(Ha-1)=="="?Ha--:ga.charAt(Ha-2)=="="?Ha-=2:ga.charAt(Ha-3)=="="&&(Ha-=3),ga=ei.slice(fa,fa+Ha),fa+=Ha,fa<ei.length&&(ga+="="),Mn.push(ga)}}return Mn.join(`\r
|
|
|
`)}function yb(an){for(var Gn=[],Mn=0;Mn<an.length;++Mn){for(var Fn=an[Mn];Mn<=an.length&&Fn.charAt(Fn.length-1)=="=";)Fn=Fn.slice(0,Fn.length-1)+an[++Mn];Gn.push(Fn)}for(var $n=0;$n<Gn.length;++$n)Gn[$n]=Gn[$n].replace(/[=][0-9A-Fa-f]{2}/g,function(ei){return String.fromCharCode(parseInt(ei.slice(1),16))});return S(Gn.join(`\r
|
|
|
`))}function wb(an,Gn,Mn){for(var Fn="",$n="",ei="",fa,Ha=0;Ha<10;++Ha){var ga=Gn[Ha];if(!ga||ga.match(/^\s*$/))break;var ma=ga.match(/^(.*?):\s*([^\s].*)$/);if(ma)switch(ma[1].toLowerCase()){case"content-location":Fn=ma[2].trim();break;case"content-type":ei=ma[2].trim();break;case"content-transfer-encoding":$n=ma[2].trim();break}}++Ha;switch($n.toLowerCase()){case"base64":fa=S(A.decode(Gn.slice(Ha).join("")));break;case"quoted-printable":fa=yb(Gn.slice(Ha));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+$n)}var Sa=Lf(an,Fn.slice(Mn.length),fa,{unsafe:!0});ei&&(Sa.ctype=ei)}function xb(an,Gn){if(Qo(an.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var Mn=Gn&&Gn.root||"",Fn=(w&&Buffer.isBuffer(an)?an.toString("binary"):Qo(an)).split(`\r
|
|
|
`),$n=0,ei="";for($n=0;$n<Fn.length;++$n){if(ei=Fn[$n],!/^Content-Location:/i.test(ei))continue;if(ei=ei.slice(ei.indexOf("file")),Mn||(Mn=ei.slice(0,ei.lastIndexOf("/")+1)),ei.slice(0,Mn.length)==Mn)continue;for(;Mn.length>0&&!(Mn=Mn.slice(0,Mn.length-1),Mn=Mn.slice(0,Mn.lastIndexOf("/")+1),ei.slice(0,Mn.length)==Mn););}var fa=(Fn[1]||"").match(/boundary="(.*?)"/);if(!fa)throw new Error("MAD cannot find boundary");var Ha="--"+(fa[1]||""),ga=[],ma=[],Sa={FileIndex:ga,FullPaths:ma};vi(Sa);var Co,Wo=0;for($n=0;$n<Fn.length;++$n){var Ls=Fn[$n];if(Ls!==Ha&&Ls!==Ha+"--")continue;Wo++&&wb(Sa,Fn.slice(Co,$n),Mn),Co=$n}return Sa}function Sb(an,Gn){var Mn=Gn||{},Fn=Mn.boundary||"SheetJS";Fn="------="+Fn;for(var $n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+Fn.slice(2)+'"',"","",""],ei=an.FullPaths[0],fa=ei,Ha=an.FileIndex[0],ga=1;ga<an.FullPaths.length;++ga){if(fa=an.FullPaths[ga].slice(ei.length),Ha=an.FileIndex[ga],!Ha.size||!Ha.content||fa=="Sh33tJ5")continue;fa=fa.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(ml){return"_x"+ml.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(ml){return"_u"+ml.charCodeAt(0).toString(16)+"_"});for(var ma=Ha.content,Sa=w&&Buffer.isBuffer(ma)?ma.toString("binary"):Qo(ma),Co=0,Wo=Math.min(1024,Sa.length),Ls=0,Bo=0;Bo<=Wo;++Bo)(Ls=Sa.charCodeAt(Bo))>=32&&Ls<128&&++Co;var Vo=Co>=Wo*4/5;$n.push(Fn),$n.push("Content-Location: "+(Mn.root||"file:///C:/SheetJS/")+fa),$n.push("Content-Transfer-Encoding: "+(Vo?"quoted-printable":"base64")),$n.push("Content-Type: "+Ab(Ha,fa)),$n.push(""),$n.push(Vo?bb(Sa):vb(Sa))}return $n.push(Fn+`--\r
|
|
|
`),$n.join(`\r
|
|
|
`)}function Cb(an){var Gn={};return vi(Gn,an),Gn}function Lf(an,Gn,Mn,Fn){var $n=Fn&&Fn.unsafe;$n||vi(an);var ei=!$n&&ne.find(an,Gn);if(!ei){var fa=an.FullPaths[0];Gn.slice(0,fa.length)==fa?fa=Gn:(fa.slice(-1)!="/"&&(fa+="/"),fa=(fa+Gn).replace("//","/")),ei={name:J(Gn),type:2},an.FileIndex.push(ei),an.FullPaths.push(fa),$n||ne.utils.cfb_gc(an)}return ei.content=Mn,ei.size=Mn?Mn.length:0,Fn&&(Fn.CLSID&&(ei.clsid=Fn.CLSID),Fn.mt&&(ei.mt=Fn.mt),Fn.ct&&(ei.ct=Fn.ct)),ei}function Eb(an,Gn){vi(an);var Mn=ne.find(an,Gn);if(Mn){for(var Fn=0;Fn<an.FileIndex.length;++Fn)if(an.FileIndex[Fn]==Mn)return an.FileIndex.splice(Fn,1),an.FullPaths.splice(Fn,1),!0}return!1}function _b(an,Gn,Mn){vi(an);var Fn=ne.find(an,Gn);if(Fn){for(var $n=0;$n<an.FileIndex.length;++$n)if(an.FileIndex[$n]==Fn)return an.FileIndex[$n].name=J(Mn),an.FullPaths[$n]=Mn,!0}return!1}function Tb(an){na(an,!0)}return N.find=Fa,N.read=Bi,N.parse=Ct,N.write=Is,N.writeFile=Bl,N.utils={cfb_new:Cb,cfb_add:Lf,cfb_del:Eb,cfb_mov:_b,cfb_gc:Tb,ReadShift:qi,CheckField:ri,prep_blob:Cn,bconcat:k,use_zlib:pi,_deflateRaw:Ia,_inflateRaw:Ih,consts:Ss},N}(),we=void 0;function ie(b){we=b}function me(b){return typeof b=="string"?_(b):Array.isArray(b)?D(b):b}function _e(b,N,I){if(typeof we!="undefined"&&we.writeFileSync)return I?we.writeFileSync(b,N,I):we.writeFileSync(b,N);if(typeof Deno!="undefined"){if(I&&typeof N=="string")switch(I){case"utf8":N=new TextEncoder(I).encode(N);break;case"binary":N=_(N);break;default:throw new Error("Unsupported encoding "+I)}return Deno.writeFileSync(b,N)}var H=I=="utf8"?ft(N):N;if(typeof IE_SaveFile!="undefined")return IE_SaveFile(H,b);if(typeof Blob!="undefined"){var J=new Blob([me(H)],{type:"application/octet-stream"});if(typeof navigator!="undefined"&&navigator.msSaveBlob)return navigator.msSaveBlob(J,b);if(typeof saveAs!="undefined")return saveAs(J,b);if(typeof URL!="undefined"&&typeof document!="undefined"&&document.createElement&&URL.createObjectURL){var be=URL.createObjectURL(J);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout!="undefined"&&setTimeout(function(){URL.revokeObjectURL(be)},6e4),chrome.downloads.download({url:be,filename:b,saveAs:!0});var ke=document.createElement("a");if(ke.download!=null)return ke.download=b,ke.href=be,document.body.appendChild(ke),ke.click(),document.body.removeChild(ke),URL.revokeObjectURL&&typeof setTimeout!="undefined"&&setTimeout(function(){URL.revokeObjectURL(be)},6e4),be}}if(typeof $!="undefined"&&typeof File!="undefined"&&typeof Folder!="undefined")try{var He=File(b);return He.open("w"),He.encoding="binary",Array.isArray(N)&&(N=L(N)),He.write(N),He.close(),N}catch(dt){if(!dt.message||!dt.message.match(/onstruct/))throw dt}throw new Error("cannot save file "+b)}function Te(b){if(typeof we!="undefined")return we.readFileSync(b);if(typeof Deno!="undefined")return Deno.readFileSync(b);if(typeof $!="undefined"&&typeof File!="undefined"&&typeof Folder!="undefined")try{var N=File(b);N.open("r"),N.encoding="binary";var I=N.read();return N.close(),I}catch(H){if(!H.message||!H.message.match(/onstruct/))throw H}throw new Error("Cannot access file "+b)}function We(b){for(var N=Object.keys(b),I=[],H=0;H<N.length;++H)Object.prototype.hasOwnProperty.call(b,N[H])&&I.push(N[H]);return I}function Ae(b,N){for(var I=[],H=We(b),J=0;J!==H.length;++J)I[b[H[J]][N]]==null&&(I[b[H[J]][N]]=H[J]);return I}function je(b){for(var N=[],I=We(b),H=0;H!==I.length;++H)N[b[I[H]]]=I[H];return N}function ee(b){for(var N=[],I=We(b),H=0;H!==I.length;++H)N[b[I[H]]]=parseInt(I[H],10);return N}function he(b){for(var N=[],I=We(b),H=0;H!==I.length;++H)N[b[I[H]]]==null&&(N[b[I[H]]]=[]),N[b[I[H]]].push(I[H]);return N}var Ze=new Date(1899,11,30,0,0,0);function oe(b,N){var I=b.getTime();N&&(I-=1462*24*60*60*1e3);var H=Ze.getTime()+(b.getTimezoneOffset()-Ze.getTimezoneOffset())*6e4;return(I-H)/(24*60*60*1e3)}var Q=new Date,G=Ze.getTime()+(Q.getTimezoneOffset()-Ze.getTimezoneOffset())*6e4,te=Q.getTimezoneOffset();function xe(b){var N=new Date;return N.setTime(b*24*60*60*1e3+G),N.getTimezoneOffset()!==te&&N.setTime(N.getTime()+(N.getTimezoneOffset()-te)*6e4),N}function fe(b){var N=0,I=0,H=!1,J=b.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!J)throw new Error("|"+b+"| is not an ISO8601 Duration");for(var be=1;be!=J.length;++be){if(!J[be])continue;I=1,be>3&&(H=!0);switch(J[be].slice(J[be].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+J[be].slice(J[be].length-1));case"D":I*=24;case"H":I*=60;case"M":if(H)I*=60;else throw new Error("Unsupported ISO Duration Field: M");case"S":break}N+=I*parseInt(J[be],10)}return N}var Be=new Date("2017-02-19T19:06:09.000Z");isNaN(Be.getFullYear())&&(Be=new Date("2/19/17"));var Ne=Be.getFullYear()==2017;function de(b,N){var I=new Date(b);if(Ne)return N>0?I.setTime(I.getTime()+I.getTimezoneOffset()*60*1e3):N<0&&I.setTime(I.getTime()-I.getTimezoneOffset()*60*1e3),I;if(b instanceof Date)return b;if(Be.getFullYear()==1917&&!isNaN(I.getFullYear())){var H=I.getFullYear();return b.indexOf(""+H)>-1||I.setFullYear(I.getFullYear()+100),I}var J=b.match(/\d+/g)||["2017","2","19","0","0","0"],be=new Date(+J[0],+J[1]-1,+J[2],+J[3]||0,+J[4]||0,+J[5]||0);return b.indexOf("Z")>-1&&(be=new Date(be.getTime()-be.getTimezoneOffset()*60*1e3)),be}function ve(b,N){if(w&&Buffer.isBuffer(b)){if(N){if(b[0]==255&&b[1]==254)return b.slice(2).toString("utf16le");if(b[1]==254&&b[2]==255)return s(b.slice(2).toString("binary"))}return b.toString("binary")}for(var I=[],H=0;H!=b.length;++H)I.push(String.fromCharCode(b[H]));return I.join("")}function Me(b){if(typeof JSON!="undefined"&&!Array.isArray(b))return JSON.parse(JSON.stringify(b));if(typeof b!="object"||b==null)return b;if(b instanceof Date)return new Date(b.getTime());var N={};for(var I in b)Object.prototype.hasOwnProperty.call(b,I)&&(N[I]=Me(b[I]));return N}function qe(b,N){for(var I="";I.length<N;)I+=b;return I}function gt(b){var N=Number(b);if(!isNaN(N))return isFinite(N)?N:NaN;if(!/\d/.test(b))return N;var I=1,H=b.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return I*=100,""});return isNaN(N=Number(H))?(H=H.replace(/[(](.*)[)]/,function(J,be){return I=-I,be}),isNaN(N=Number(H))?N:N/I):N/I}var ht=["january","february","march","april","may","june","july","august","september","october","november","december"];function Pe(b){var N=new Date(b),I=new Date(NaN),H=N.getYear(),J=N.getMonth(),be=N.getDate();if(isNaN(be))return I;var ke=b.toLowerCase();if(ke.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(ke=ke.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),ke.length>3&&ht.indexOf(ke)==-1)return I}else if(ke.match(/[a-z]/))return I;return H<0||H>8099?I:(J>0||be>1)&&H!=101?N:b.match(/[^-0-9:,\/\\]/)?I:N}var It="abacaba".split(/(:?b)/i).length==5;function nt(b,N,I){if(It||typeof N=="string")return b.split(N);for(var H=b.split(N),J=[H[0]],be=1;be<H.length;++be)J.push(I),J.push(H[be]);return J}function Nt(b){return b?b.content&&b.type?ve(b.content,!0):b.data?r(b.data):b.asNodeBuffer&&w?r(b.asNodeBuffer().toString("binary")):b.asBinary?r(b.asBinary()):b._data&&b._data.getContent?r(ve(Array.prototype.slice.call(b._data.getContent(),0))):null:null}function Bt(b){if(!b)return null;if(b.data)return t(b.data);if(b.asNodeBuffer&&w)return b.asNodeBuffer();if(b._data&&b._data.getContent){var N=b._data.getContent();return typeof N=="string"?t(N):Array.prototype.slice.call(N)}return b.content&&b.type?b.content:null}function Pt(b){return b&&b.name.slice(-4)===".bin"?Bt(b):Nt(b)}function jt(b,N){for(var I=b.FullPaths||We(b.files),H=N.toLowerCase().replace(/[\/]/g,"\\"),J=H.replace(/\\/g,"/"),be=0;be<I.length;++be){var ke=I[be].replace(/^Root Entry[\/]/,"").toLowerCase();if(H==ke||J==ke)return b.files?b.files[I[be]]:b.FileIndex[be]}return null}function er(b,N){var I=jt(b,N);if(I==null)throw new Error("Cannot find file "+N+" in zip");return I}function at(b,N,I){if(!I)return Pt(er(b,N));if(!N)return null;try{return at(b,N)}catch(H){return null}}function Ce(b,N,I){if(!I)return Nt(er(b,N));if(!N)return null;try{return Ce(b,N)}catch(H){return null}}function ue(b,N,I){if(!I)return Bt(er(b,N));if(!N)return null;try{return ue(b,N)}catch(H){return null}}function Dt(b){for(var N=b.FullPaths||We(b.files),I=[],H=0;H<N.length;++H)N[H].slice(-1)!="/"&&I.push(N[H].replace(/^Root Entry[\/]/,""));return I.sort()}function rt(b,N,I){if(b.FullPaths){if(typeof I=="string"){var H;return w?H=x(I):H=j(I),ne.utils.cfb_add(b,N,H)}ne.utils.cfb_add(b,N,I)}else b.file(N,I)}function ye(){return ne.utils.cfb_new()}function Xt(b,N){switch(N.type){case"base64":return ne.read(b,{type:"base64"});case"binary":return ne.read(b,{type:"binary"});case"buffer":case"array":return ne.read(b,{type:"buffer"})}throw new Error("Unrecognized type "+N.type)}function pr(b,N){if(b.charAt(0)=="/")return b.slice(1);var I=N.split("/");N.slice(-1)!="/"&&I.pop();for(var H=b.split("/");H.length!==0;){var J=H.shift();J===".."?I.pop():J!=="."&&I.push(J)}return I.join("/")}var mt=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
|
|
|
`,nr=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,yr=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg;mt.match(yr)||(yr=/<[^>]*>/g);var gn=/<\w*:/,_r=/<(\/?)\w+:/;function ur(b,N,I){for(var H={},J=0,be=0;J!==b.length&&!((be=b.charCodeAt(J))===32||be===10||be===13);++J);if(N||(H[0]=b.slice(0,J)),J===b.length)return H;var ke=b.match(nr),He=0,dt="",Ot=0,Ct="",dr="",vr=1;if(ke)for(Ot=0;Ot!=ke.length;++Ot){for(dr=ke[Ot],be=0;be!=dr.length&&!(dr.charCodeAt(be)===61);++be);for(Ct=dr.slice(0,be).trim();dr.charCodeAt(be+1)==32;)++be;for(vr=(J=dr.charCodeAt(be+1))==34||J==39?1:0,dt=dr.slice(be+1+vr,dr.length-vr),He=0;He!=Ct.length&&!(Ct.charCodeAt(He)===58);++He);if(He===Ct.length)Ct.indexOf("_")>0&&(Ct=Ct.slice(0,Ct.indexOf("_"))),H[Ct]=dt,I||(H[Ct.toLowerCase()]=dt);else{var kr=(He===5&&Ct.slice(0,5)==="xmlns"?"xmlns":"")+Ct.slice(He+1);if(H[kr]&&Ct.slice(He-3,He)=="ext")continue;H[kr]=dt,I||(H[kr.toLowerCase()]=dt)}}return H}function zt(b){return b.replace(_r,"<$1")}var bt={""":'"',"'":"'",">":">","<":"<","&":"&"},ot=je(bt),lr=function(){var b=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,N=/_x([\da-fA-F]{4})_/ig;return function I(H){var J=H+"",be=J.indexOf("<![CDATA[");if(be==-1)return J.replace(b,function(He,dt){return bt[He]||String.fromCharCode(parseInt(dt,He.indexOf("x")>-1?16:10))||He}).replace(N,function(He,dt){return String.fromCharCode(parseInt(dt,16))});var ke=J.indexOf("]]>");return I(J.slice(0,be))+J.slice(be+9,ke)+I(J.slice(ke+3))}}(),jr=/[&<>'"]/g,Rr=/[\u0000-\u0008\u000b-\u001f]/g;function xr(b){var N=b+"";return N.replace(jr,function(I){return ot[I]}).replace(Rr,function(I){return"_x"+("000"+I.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Vn(b){return xr(b).replace(/ /g,"_x0020_")}var bn=/[\u0000-\u001f]/g;function di(b){var N=b+"";return N.replace(jr,function(I){return ot[I]}).replace(/\n/g,"<br/>").replace(bn,function(I){return"&#x"+("000"+I.charCodeAt(0).toString(16)).slice(-4)+";"})}function lt(b){var N=b+"";return N.replace(jr,function(I){return ot[I]}).replace(bn,function(I){return"&#x"+I.charCodeAt(0).toString(16).toUpperCase()+";"})}var ct=function(){var b=/&#(\d+);/g;function N(I,H){return String.fromCharCode(parseInt(H,10))}return function(H){return H.replace(b,N)}}();function Le(b){return b.replace(/(\r\n|[\r\n])/g," ")}function Ue(b){switch(b){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var Ye=function(N){for(var I="",H=0,J=0,be=0,ke=0,He=0,dt=0;H<N.length;){if(J=N.charCodeAt(H++),J<128){I+=String.fromCharCode(J);continue}if(be=N.charCodeAt(H++),J>191&&J<224){He=(J&31)<<6,He|=be&63,I+=String.fromCharCode(He);continue}if(ke=N.charCodeAt(H++),J<240){I+=String.fromCharCode((J&15)<<12|(be&63)<<6|ke&63);continue}He=N.charCodeAt(H++),dt=((J&7)<<18|(be&63)<<12|(ke&63)<<6|He&63)-65536,I+=String.fromCharCode(55296+(dt>>>10&1023)),I+=String.fromCharCode(56320+(dt&1023))}return I},ft=function(N){for(var I=[],H=0,J=0,be=0;H<N.length;){J=N.charCodeAt(H++);switch(!0){case J<128:I.push(String.fromCharCode(J));break;case J<2048:I.push(String.fromCharCode(192+(J>>6))),I.push(String.fromCharCode(128+(J&63)));break;case(J>=55296&&J<57344):J-=55296,be=N.charCodeAt(H++)-56320+(J<<10),I.push(String.fromCharCode(240+(be>>18&7))),I.push(String.fromCharCode(144+(be>>12&63))),I.push(String.fromCharCode(128+(be>>6&63))),I.push(String.fromCharCode(128+(be&63)));break;default:I.push(String.fromCharCode(224+(J>>12))),I.push(String.fromCharCode(128+(J>>6&63))),I.push(String.fromCharCode(128+(J&63)))}}return I.join("")};if(w){var ir=function(N){var I=Buffer.alloc(2*N.length),H,J,be=1,ke=0,He=0,dt;for(J=0;J<N.length;J+=be)be=1,(dt=N.charCodeAt(J))<128?H=dt:dt<224?(H=(dt&31)*64+(N.charCodeAt(J+1)&63),be=2):dt<240?(H=(dt&15)*4096+(N.charCodeAt(J+1)&63)*64+(N.charCodeAt(J+2)&63),be=3):(be=4,H=(dt&7)*262144+(N.charCodeAt(J+1)&63)*4096+(N.charCodeAt(J+2)&63)*64+(N.charCodeAt(J+3)&63),H-=65536,He=55296+(H>>>10&1023),H=56320+(H&1023)),He!==0&&(I[ke++]=He&255,I[ke++]=He>>>8,He=0),I[ke++]=H%256,I[ke++]=H>>>8;return I.slice(0,ke).toString("ucs2")},Yt="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3";Ye(Yt)==ir(Yt)&&(Ye=ir);var rr=function(N){return x(N,"binary").toString("utf8")};Ye(Yt)==rr(Yt)&&(Ye=rr),ft=function(N){return x(N,"utf8").toString("binary")}}var Zr=function(){var b={};return function(I,H){var J=I+"|"+(H||"");return b[J]?b[J]:b[J]=new RegExp("<(?:\\w+:)?"+I+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+I+">",H||"")}}(),nn=function(){var b=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(N){return[new RegExp("&"+N[0]+";","ig"),N[1]]});return function(I){for(var H=I.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
|
|
|
`).replace(/<[^>]*>/g,""),J=0;J<b.length;++J)H=H.replace(b[J][0],b[J][1]);return H}}(),Pn=function(){var b={};return function(I){return b[I]!==void 0?b[I]:b[I]=new RegExp("<(?:vt:)?"+I+">([\\s\\S]*?)</(?:vt:)?"+I+">","g")}}(),qt=/<\/?(?:vt:)?variant>/g,St=/<(?:vt:)([^>]*)>([\s\S]*)</;function At(b,N){var I=ur(b),H=b.match(Pn(I.baseType))||[],J=[];if(H.length!=I.size){if(N.WTF)throw new Error("unexpected vector length "+H.length+" != "+I.size);return J}return H.forEach(function(be){var ke=be.replace(qt,"").match(St);ke&&J.push({v:Ye(ke[2]),t:ke[1]})}),J}var cr=/(^\s|\s$|\n)/;function or(b,N){return"<"+b+(N.match(cr)?' xml:space="preserve"':"")+">"+N+"</"+b+">"}function Tt(b){return We(b).map(function(N){return" "+N+'="'+b[N]+'"'}).join("")}function Rt(b,N,I){return"<"+b+(I!=null?Tt(I):"")+(N!=null?(N.match(cr)?' xml:space="preserve"':"")+">"+N+"</"+b:"/")+">"}function _t(b,N){try{return b.toISOString().replace(/\.\d*/,"")}catch(I){if(N)throw I}return""}function Zt(b,N){switch(typeof b){case"string":var I=Rt("vt:lpwstr",xr(b));return N&&(I=I.replace(/"/g,"_x0022_")),I;case"number":return Rt((b|0)==b?"vt:i4":"vt:r8",xr(String(b)));case"boolean":return Rt("vt:bool",b?"true":"false")}if(b instanceof Date)return Rt("vt:filetime",_t(b));throw new Error("Unable to serialize "+b)}function Nr(b){if(w&&Buffer.isBuffer(b))return b.toString("utf8");if(typeof b=="string")return b;if(typeof Uint8Array!="undefined"&&b instanceof Uint8Array)return Ye(L(F(b)));throw new Error("Bad input format: expected Buffer or string")}var Sr=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/mg,br={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},hn=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],fn={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function ni(b,N){for(var I=1-2*(b[N+7]>>>7),H=((b[N+7]&127)<<4)+(b[N+6]>>>4&15),J=b[N+6]&15,be=5;be>=0;--be)J=J*256+b[N+be];return H==2047?J==0?I*Infinity:NaN:(H==0?H=-1022:(H-=1023,J+=Math.pow(2,52)),I*Math.pow(2,H-52)*J)}function mi(b,N,I){var H=(N<0||1/N==-Infinity?1:0)<<7,J=0,be=0,ke=H?-N:N;isFinite(ke)?ke==0?J=be=0:(J=Math.floor(Math.log(ke)/Math.LN2),be=ke*Math.pow(2,52-J),J<=-1023&&(!isFinite(be)||be<Math.pow(2,52))?J=-1022:(be-=Math.pow(2,52),J+=1023)):(J=2047,be=isNaN(N)?26985:0);for(var He=0;He<=5;++He,be/=256)b[I+He]=be&255;b[I+6]=(J&15)<<4|be&15,b[I+7]=J>>4|H}var _i=function(N){for(var I=[],H=10240,J=0;J<N[0].length;++J)if(N[0][J])for(var be=0,ke=N[0][J].length;be<ke;be+=H)I.push.apply(I,N[0][J].slice(be,be+H));return I},Hi=_i,aa=function(N,I,H){for(var J=[],be=I;be<H;be+=2)J.push(String.fromCharCode(Yn(N,be)));return J.join("").replace(K,"")},Ra=aa,it=function(N,I,H){for(var J=[],be=I;be<I+H;++be)J.push(("0"+N[be].toString(16)).slice(-2));return J.join("")},Re=it,Ke=function(N,I,H){for(var J=[],be=I;be<H;be++)J.push(String.fromCharCode(Br(N,be)));return J.join("")},Ge=Ke,et=function(N,I){var H=Li(N,I);return H>0?Ke(N,I+4,I+4+H-1):""},$e=et,st=function(N,I){var H=Li(N,I);return H>0?Ke(N,I+4,I+4+H-1):""},Lt=st,vt=function(N,I){var H=2*Li(N,I);return H>0?Ke(N,I+4,I+4+H-1):""},Qt=vt,Fr,Lr;Fr=Lr=function(N,I){var H=Li(N,I);return H>0?aa(N,I+4,I+4+H):""};var Gr=function(N,I){var H=Li(N,I);return H>0?Ke(N,I+4,I+4+H):""},$t=Gr,Rn,wr;Rn=wr=function(N,I){return ni(N,I)};var pn=function(N){return Array.isArray(N)||typeof Uint8Array!="undefined"&&N instanceof Uint8Array};w&&(aa=function(N,I,H){return Buffer.isBuffer(N)?N.toString("utf16le",I,H).replace(K,""):Ra(N,I,H)},it=function(N,I,H){return Buffer.isBuffer(N)?N.toString("hex",I,I+H):Re(N,I,H)},et=function(N,I){if(!Buffer.isBuffer(N))return $e(N,I);var H=N.readUInt32LE(I);return H>0?N.toString("utf8",I+4,I+4+H-1):""},st=function(N,I){if(!Buffer.isBuffer(N))return Lt(N,I);var H=N.readUInt32LE(I);return H>0?N.toString("utf8",I+4,I+4+H-1):""},vt=function(N,I){if(!Buffer.isBuffer(N))return Qt(N,I);var H=2*N.readUInt32LE(I);return N.toString("utf16le",I+4,I+4+H-1)},Fr=function(N,I){if(!Buffer.isBuffer(N))return Lr(N,I);var H=N.readUInt32LE(I);return N.toString("utf16le",I+4,I+4+H)},Gr=function(N,I){if(!Buffer.isBuffer(N))return $t(N,I);var H=N.readUInt32LE(I);return N.toString("utf8",I+4,I+4+H)},Ke=function(N,I,H){return Buffer.isBuffer(N)?N.toString("utf8",I,H):Ge(N,I,H)},_i=function(N){return N[0].length>0&&Buffer.isBuffer(N[0][0])?Buffer.concat(N[0].map(function(I){return Buffer.isBuffer(I)?I:x(I)})):Hi(N)},k=function(N){return Buffer.concat(N.map(function(I){return Buffer.isBuffer(I)?I:x(I)}))},Rn=function(N,I){return Buffer.isBuffer(N)?N.readDoubleLE(I):wr(N,I)},pn=function(N){return Buffer.isBuffer(N)||Array.isArray(N)||typeof Uint8Array!="undefined"&&N instanceof Uint8Array});function rn(){aa=function(N,I,H){return o.utils.decode(1200,N.slice(I,H)).replace(K,"")},Ke=function(N,I,H){return o.utils.decode(65001,N.slice(I,H))},et=function(N,I){var H=Li(N,I);return H>0?o.utils.decode(E,N.slice(I+4,I+4+H-1)):""},st=function(N,I){var H=Li(N,I);return H>0?o.utils.decode(m,N.slice(I+4,I+4+H-1)):""},vt=function(N,I){var H=2*Li(N,I);return H>0?o.utils.decode(1200,N.slice(I+4,I+4+H-1)):""},Fr=function(N,I){var H=Li(N,I);return H>0?o.utils.decode(1200,N.slice(I+4,I+4+H)):""},Gr=function(N,I){var H=Li(N,I);return H>0?o.utils.decode(65001,N.slice(I+4,I+4+H)):""}}typeof o!="undefined"&&rn();var Br=function(N,I){return N[I]},Yn=function(N,I){return N[I+1]*(1<<8)+N[I]},xi=function(N,I){var H=N[I+1]*(1<<8)+N[I];return H<32768?H:(65535-H+1)*-1},Li=function(N,I){return N[I+3]*(1<<24)+(N[I+2]<<16)+(N[I+1]<<8)+N[I]},Vi=function(N,I){return N[I+3]<<24|N[I+2]<<16|N[I+1]<<8|N[I]},Wi=function(N,I){return N[I]<<24|N[I+1]<<16|N[I+2]<<8|N[I+3]};function qi(b,N){var I="",H,J,be=[],ke,He,dt,Ot;switch(N){case"dbcs":if(Ot=this.l,w&&Buffer.isBuffer(this))I=this.slice(this.l,this.l+2*b).toString("utf16le");else for(dt=0;dt<b;++dt)I+=String.fromCharCode(Yn(this,Ot)),Ot+=2;b*=2;break;case"utf8":I=Ke(this,this.l,this.l+b);break;case"utf16le":b*=2,I=aa(this,this.l,this.l+b);break;case"wstr":if(typeof o!="undefined")I=o.utils.decode(m,this.slice(this.l,this.l+2*b));else return qi.call(this,b,"dbcs");b=2*b;break;case"lpstr-ansi":I=et(this,this.l),b=4+Li(this,this.l);break;case"lpstr-cp":I=st(this,this.l),b=4+Li(this,this.l);break;case"lpwstr":I=vt(this,this.l),b=4+2*Li(this,this.l);break;case"lpp4":b=4+Li(this,this.l),I=Fr(this,this.l),b&2&&(b+=2);break;case"8lpp4":b=4+Li(this,this.l),I=Gr(this,this.l),b&3&&(b+=4-(b&3));break;case"cstr":for(b=0,I="";(ke=Br(this,this.l+b++))!==0;)be.push(c(ke));I=be.join("");break;case"_wstr":for(b=0,I="";(ke=Yn(this,this.l+b))!==0;)be.push(c(ke)),b+=2;b+=2,I=be.join("");break;case"dbcs-cont":for(I="",Ot=this.l,dt=0;dt<b;++dt){if(this.lens&&this.lens.indexOf(Ot)!==-1)return ke=Br(this,Ot),this.l=Ot+1,He=qi.call(this,b-dt,ke?"dbcs-cont":"sbcs-cont"),be.join("")+He;be.push(c(Yn(this,Ot))),Ot+=2}I=be.join(""),b*=2;break;case"cpstr":if(typeof o!="undefined"){I=o.utils.decode(m,this.slice(this.l,this.l+b));break}case"sbcs-cont":for(I="",Ot=this.l,dt=0;dt!=b;++dt){if(this.lens&&this.lens.indexOf(Ot)!==-1)return ke=Br(this,Ot),this.l=Ot+1,He=qi.call(this,b-dt,ke?"dbcs-cont":"sbcs-cont"),be.join("")+He;be.push(c(Br(this,Ot))),Ot+=1}I=be.join("");break;default:switch(b){case 1:return H=Br(this,this.l),this.l++,H;case 2:return H=(N==="i"?xi:Yn)(this,this.l),this.l+=2,H;case 4:case-4:return N==="i"||(this[this.l+3]&128)===0?(H=(b>0?Vi:Wi)(this,this.l),this.l+=4,H):(J=Li(this,this.l),this.l+=4,J);case 8:case-8:if(N==="f")return b==8?J=Rn(this,this.l):J=Rn([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,J;b=8;case 16:I=it(this,this.l,b);break}}return this.l+=b,I}var bi=function(N,I,H){N[H]=I&255,N[H+1]=I>>>8&255,N[H+2]=I>>>16&255,N[H+3]=I>>>24&255},ba=function(N,I,H){N[H]=I&255,N[H+1]=I>>8&255,N[H+2]=I>>16&255,N[H+3]=I>>24&255},Kn=function(N,I,H){N[H]=I&255,N[H+1]=I>>>8&255};function un(b,N,I){var H=0,J=0;if(I==="dbcs"){for(J=0;J!=N.length;++J)Kn(this,N.charCodeAt(J),this.l+2*J);H=2*N.length}else if(I==="sbcs"){if(typeof o!="undefined"&&E==874)for(J=0;J!=N.length;++J){var be=o.utils.encode(E,N.charAt(J));this[this.l+J]=be[0]}else for(N=N.replace(/[^\x00-\x7F]/g,"_"),J=0;J!=N.length;++J)this[this.l+J]=N.charCodeAt(J)&255;H=N.length}else if(I==="hex"){for(;J<b;++J)this[this.l++]=parseInt(N.slice(2*J,2*J+2),16)||0;return this}else if(I==="utf16le"){var ke=Math.min(this.l+b,this.length);for(J=0;J<Math.min(N.length,b);++J){var He=N.charCodeAt(J);this[this.l++]=He&255,this[this.l++]=He>>8}for(;this.l<ke;)this[this.l++]=0;return this}else switch(b){case 1:H=1,this[this.l]=N&255;break;case 2:H=2,this[this.l]=N&255,N>>>=8,this[this.l+1]=N&255;break;case 3:H=3,this[this.l]=N&255,N>>>=8,this[this.l+1]=N&255,N>>>=8,this[this.l+2]=N&255;break;case 4:H=4,bi(this,N,this.l);break;case 8:if(H=8,I==="f"){mi(this,N,this.l);break}case 16:break;case-4:H=4,ba(this,N,this.l);break}return this.l+=H,this}function ri(b,N){var I=it(this,this.l,b.length>>1);if(I!==b)throw new Error(N+"Expected "+b+" saw "+I);this.l+=b.length>>1}function Cn(b,N){b.l=N,b.read_shift=qi,b.chk=ri,b.write_shift=un}function ki(b,N){b.l+=N}function Tn(b){var N=T(b);return Cn(N,0),N}function oa(b,N,I){if(!b)return;var H,J,be;Cn(b,b.l||0);for(var ke=b.length,He=0,dt=0;b.l<ke;){He=b.read_shift(1),He&128&&(He=(He&127)+((b.read_shift(1)&127)<<7));var Ot=jh[He]||jh[65535];for(H=b.read_shift(1),be=H&127,J=1;J<4&&H&128;++J)be+=((H=b.read_shift(1))&127)<<7*J;dt=b.l+be;var Ct=Ot.f&&Ot.f(b,be,I);if(b.l=dt,N(Ct,Ot,He))return}}function Ti(){var b=[],N=w?256:2048,I=function(Ot){var Ct=Tn(Ot);return Cn(Ct,0),Ct},H=I(N),J=function(){if(!H)return;H.length>H.l&&(H=H.slice(0,H.l),H.l=H.length),H.length>0&&b.push(H),H=null},be=function(Ot){return H&&Ot<H.length-H.l?H:(J(),H=I(Math.max(Ot+1,N)))},ke=function(){return J(),k(b)},He=function(Ot){J(),H=Ot,H.l==null&&(H.l=H.length),be(N)};return{next:be,push:He,end:ke,_bufs:b}}function li(b,N,I,H){var J=+N,be;if(isNaN(J))return;H||(H=jh[J].p||(I||[]).length||0),be=1+(J>=128?1:0)+1,H>=128&&++be,H>=16384&&++be,H>=2097152&&++be;var ke=b.next(be);J<=127?ke.write_shift(1,J):(ke.write_shift(1,(J&127)+128),ke.write_shift(1,J>>7));for(var He=0;He!=4;++He)if(H>=128)ke.write_shift(1,(H&127)+128),H>>=7;else{ke.write_shift(1,H);break}H>0&&pn(I)&&b.push(I)}function Ri(b,N,I){var H=Me(b);if(N.s?(H.cRel&&(H.c+=N.s.c),H.rRel&&(H.r+=N.s.r)):(H.cRel&&(H.c+=N.c),H.rRel&&(H.r+=N.r)),!I||I.biff<12){for(;H.c>=256;)H.c-=256;for(;H.r>=65536;)H.r-=65536}return H}function Da(b,N,I){var H=Me(b);return H.s=Ri(H.s,N.s,I),H.e=Ri(H.e,N.s,I),H}function Un(b,N){if(b.cRel&&b.c<0)for(b=Me(b);b.c<0;)b.c+=N>8?16384:256;if(b.rRel&&b.r<0)for(b=Me(b);b.r<0;)b.r+=N>8?1048576:N>5?65536:16384;var I=Ka(b);return!b.cRel&&b.cRel!=null&&(I=ia(I)),!b.rRel&&b.rRel!=null&&(I=Ni(I)),I}function on(b,N){return b.s.r==0&&!b.s.rRel&&(b.e.r==(N.biff>=12?1048575:N.biff>=8?65536:16384)&&!b.e.rRel)?(b.s.cRel?"":"$")+Fi(b.s.c)+":"+(b.e.cRel?"":"$")+Fi(b.e.c):b.s.c==0&&!b.s.cRel&&(b.e.c==(N.biff>=12?16383:255)&&!b.e.cRel)?(b.s.rRel?"":"$")+hi(b.s.r)+":"+(b.e.rRel?"":"$")+hi(b.e.r):Un(b.s,N.biff)+":"+Un(b.e,N.biff)}function Zn(b){return parseInt(zi(b),10)-1}function hi(b){return""+(b+1)}function Ni(b){return b.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function zi(b){return b.replace(/\$(\d+)$/,"$1")}function ea(b){for(var N=Va(b),I=0,H=0;H!==N.length;++H)I=26*I+N.charCodeAt(H)-64;return I-1}function Fi(b){if(b<0)throw new Error("invalid column "+b);var N="";for(++b;b;b=Math.floor((b-1)/26))N=String.fromCharCode((b-1)%26+65)+N;return N}function ia(b){return b.replace(/^([A-Z])/,"$$$1")}function Va(b){return b.replace(/^\$([A-Z])/,"$1")}function fo(b){return b.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function ja(b){for(var N=0,I=0,H=0;H<b.length;++H){var J=b.charCodeAt(H);J>=48&&J<=57?N=10*N+(J-48):J>=65&&J<=90&&(I=26*I+(J-64))}return{c:I-1,r:N-1}}function Ka(b){for(var N=b.c+1,I="";N;N=(N-1)/26|0)I=String.fromCharCode((N-1)%26+65)+I;return I+(b.r+1)}function Gi(b){var N=b.indexOf(":");return N==-1?{s:ja(b),e:ja(b)}:{s:ja(b.slice(0,N)),e:ja(b.slice(N+1))}}function mn(b,N){return typeof N=="undefined"||typeof N=="number"?mn(b.s,b.e):(typeof b!="string"&&(b=Ka(b)),typeof N!="string"&&(N=Ka(N)),b==N?b:b+":"+N)}function $i(b){var N={s:{c:0,r:0},e:{c:0,r:0}},I=0,H=0,J=0,be=b.length;for(I=0;H<be&&!((J=b.charCodeAt(H)-64)<1||J>26);++H)I=26*I+J;for(N.s.c=--I,I=0;H<be&&!((J=b.charCodeAt(H)-48)<0||J>9);++H)I=10*I+J;if(N.s.r=--I,H===be||J!=10)return N.e.c=N.s.c,N.e.r=N.s.r,N;for(++H,I=0;H!=be&&!((J=b.charCodeAt(H)-64)<1||J>26);++H)I=26*I+J;for(N.e.c=--I,I=0;H!=be&&!((J=b.charCodeAt(H)-48)<0||J>9);++H)I=10*I+J;return N.e.r=--I,N}function io(b,N){var I=b.t=="d"&&N instanceof Date;if(b.z!=null)try{return b.w=B.format(b.z,I?oe(N):N)}catch(H){}try{return b.w=B.format((b.XF||{}).numFmtId||(I?14:0),I?oe(N):N)}catch(H){return""+N}}function La(b,N,I){return b==null||b.t==null||b.t=="z"?"":b.w!==void 0?b.w:(b.t=="d"&&!b.z&&I&&I.dateNF&&(b.z=I.dateNF),b.t=="e"?No[b.v]||b.v:N==null?io(b,b.v):io(b,N))}function ao(b,N){var I=N&&N.sheet?N.sheet:"Sheet1",H={};return H[I]=b,{SheetNames:[I],Sheets:H}}function tr(b,N,I){var H=I||{},J=b?Array.isArray(b):H.dense;h!=null&&J==null&&(J=h);var be=b||(J?[]:{}),ke=0,He=0;if(be&&H.origin!=null){if(typeof H.origin=="number")ke=H.origin;else{var dt=typeof H.origin=="string"?ja(H.origin):H.origin;ke=dt.r,He=dt.c}be["!ref"]||(be["!ref"]="A1:A1")}var Ot={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(be["!ref"]){var Ct=$i(be["!ref"]);Ot.s.c=Ct.s.c,Ot.s.r=Ct.s.r,Ot.e.c=Math.max(Ot.e.c,Ct.e.c),Ot.e.r=Math.max(Ot.e.r,Ct.e.r),ke==-1&&(Ot.e.r=ke=Ct.e.r+1)}for(var dr=0;dr!=N.length;++dr){if(!N[dr])continue;if(!Array.isArray(N[dr]))throw new Error("aoa_to_sheet expects an array of arrays");for(var vr=0;vr!=N[dr].length;++vr){if(typeof N[dr][vr]=="undefined")continue;var kr={v:N[dr][vr]},Ur=ke+dr,Ar=He+vr;if(Ot.s.r>Ur&&(Ot.s.r=Ur),Ot.s.c>Ar&&(Ot.s.c=Ar),Ot.e.r<Ur&&(Ot.e.r=Ur),Ot.e.c<Ar&&(Ot.e.c=Ar),N[dr][vr]&&typeof N[dr][vr]=="object"&&!Array.isArray(N[dr][vr])&&!(N[dr][vr]instanceof Date))kr=N[dr][vr];else if(Array.isArray(kr.v)&&(kr.f=N[dr][vr][1],kr.v=kr.v[0]),kr.v===null)if(kr.f)kr.t="n";else if(H.nullError)kr.t="e",kr.v=0;else if(H.sheetStubs)kr.t="z";else continue;else typeof kr.v=="number"?kr.t="n":typeof kr.v=="boolean"?kr.t="b":kr.v instanceof Date?(kr.z=H.dateNF||B._table[14],H.cellDates?(kr.t="d",kr.w=B.format(kr.z,oe(kr.v))):(kr.t="n",kr.v=oe(kr.v),kr.w=B.format(kr.z,kr.v))):kr.t="s";if(J)be[Ur]||(be[Ur]=[]),be[Ur][Ar]&&be[Ur][Ar].z&&(kr.z=be[Ur][Ar].z),be[Ur][Ar]=kr;else{var Dr=Ka({c:Ar,r:Ur});be[Dr]&&be[Dr].z&&(kr.z=be[Dr].z),be[Dr]=kr}}}return Ot.s.c<1e7&&(be["!ref"]=mn(Ot)),be}function An(b,N){return tr(null,b,N)}function _n(b){return b.read_shift(4,"i")}function Bn(b,N){return N||(N=Tn(4)),N.write_shift(4,b),N}function tt(b){var N=b.read_shift(4);return N===0?"":b.read_shift(N,"dbcs")}function Ft(b,N){var I=!1;return N==null&&(I=!0,N=Tn(4+2*b.length)),N.write_shift(4,b.length),b.length>0&&N.write_shift(0,b,"dbcs"),I?N.slice(0,N.l):N}function Cr(b){return{ich:b.read_shift(2),ifnt:b.read_shift(2)}}function gr(b,N){return N||(N=Tn(4)),N.write_shift(2,b.ich||0),N.write_shift(2,b.ifnt||0),N}function Yr(b,N){var I=b.l,H=b.read_shift(1),J=tt(b),be=[],ke={t:J,h:J};if((H&1)!==0){for(var He=b.read_shift(4),dt=0;dt!=He;++dt)be.push(Cr(b));ke.r=be}else ke.r=[{ich:0,ifnt:0}];return b.l=I+N,ke}function en(b,N){var I=!1;return N==null&&(I=!0,N=Tn(15+4*b.t.length)),N.write_shift(1,0),Ft(b.t,N),I?N.slice(0,N.l):N}var cn=Yr;function In(b,N){var I=!1;return N==null&&(I=!0,N=Tn(23+4*b.t.length)),N.write_shift(1,1),Ft(b.t,N),N.write_shift(4,1),gr({ich:0,ifnt:0},N),I?N.slice(0,N.l):N}function Xn(b){var N=b.read_shift(4),I=b.read_shift(2);return I+=b.read_shift(1)<<16,b.l++,{c:N,iStyleRef:I}}function ii(b,N){return N==null&&(N=Tn(8)),N.write_shift(-4,b.c),N.write_shift(3,b.iStyleRef||b.s),N.write_shift(1,0),N}function fi(b){var N=b.read_shift(2);return N+=b.read_shift(1)<<16,b.l++,{c:-1,iStyleRef:N}}function ui(b,N){return N==null&&(N=Tn(4)),N.write_shift(3,b.iStyleRef||b.s),N.write_shift(1,0),N}var qn=tt,ti=Ft;function oi(b){var N=b.read_shift(4);return N===0||N===4294967295?"":b.read_shift(N,"dbcs")}function Ci(b,N){var I=!1;return N==null&&(I=!0,N=Tn(127)),N.write_shift(4,b.length>0?b.length:4294967295),b.length>0&&N.write_shift(0,b,"dbcs"),I?N.slice(0,N.l):N}var Mi=tt,Pi=oi,ca=Ci;function sa(b){var N=b.slice(b.l,b.l+4),I=N[0]&1,H=N[0]&2;b.l+=4;var J=H===0?Rn([0,0,0,0,N[0]&252,N[1],N[2],N[3]],0):Vi(N,0)>>2;return I?J/100:J}function Na(b,N){N==null&&(N=Tn(4));var I=0,H=0,J=b*100;if(b==(b|0)&&b>=-(1<<29)&&b<1<<29?H=1:J==(J|0)&&J>=-(1<<29)&&J<1<<29&&(H=1,I=1),H)N.write_shift(-4,((I?J:b)<<2)+(I+2));else throw new Error("unsupported RkNumber "+b)}function Pa(b){var N={s:{},e:{}};return N.s.r=b.read_shift(4),N.e.r=b.read_shift(4),N.s.c=b.read_shift(4),N.e.c=b.read_shift(4),N}function ya(b,N){return N||(N=Tn(16)),N.write_shift(4,b.s.r),N.write_shift(4,b.e.r),N.write_shift(4,b.s.c),N.write_shift(4,b.e.c),N}var va=Pa,Ca=ya;function Ai(b){if(b.length-b.l<8)throw"XLS Xnum Buffer underflow";return b.read_shift(8,"f")}function Aa(b,N){return(N||Tn(8)).write_shift(8,b,"f")}function za(b){var N={},I=b.read_shift(1),H=I>>>1,J=b.read_shift(1),be=b.read_shift(2,"i"),ke=b.read_shift(1),He=b.read_shift(1),dt=b.read_shift(1);b.l++;switch(H){case 0:N.auto=1;break;case 1:N.index=J;var Ot=To[J];Ot&&(N.rgb=Rs(Ot));break;case 2:N.rgb=Rs([ke,He,dt]);break;case 3:N.theme=J;break}return be!=0&&(N.tint=be>0?be/32767:be/32768),N}function Or(b,N){if(N||(N=Tn(8)),!b||b.auto)return N.write_shift(4,0),N.write_shift(4,0),N;b.index!=null?(N.write_shift(1,2),N.write_shift(1,b.index)):b.theme!=null?(N.write_shift(1,6),N.write_shift(1,b.theme)):(N.write_shift(1,5),N.write_shift(1,0));var I=b.tint||0;if(I>0?I*=32767:I<0&&(I*=32768),N.write_shift(2,I),!b.rgb||b.theme!=null)N.write_shift(2,0),N.write_shift(1,0),N.write_shift(1,0);else{var H=b.rgb||"FFFFFF";typeof H=="number"&&(H=("000000"+H.toString(16)).slice(-6)),N.write_shift(1,parseInt(H.slice(0,2),16)),N.write_shift(1,parseInt(H.slice(2,4),16)),N.write_shift(1,parseInt(H.slice(4,6),16)),N.write_shift(1,255)}return N}function $r(b){var N=b.read_shift(1);b.l++;var I={fBold:N&1,fItalic:N&2,fUnderline:N&4,fStrikeout:N&8,fOutline:N&16,fShadow:N&32,fCondense:N&64,fExtend:N&128};return I}function vn(b,N){N||(N=Tn(2));var I=(b.italic?2:0)|(b.strike?8:0)|(b.outline?16:0)|(b.shadow?32:0)|(b.condense?64:0)|(b.extend?128:0);return N.write_shift(1,I),N.write_shift(1,0),N}function Jr(b,N){var I={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},H=b.read_shift(4);switch(H){case 0:return"";case 4294967295:case 4294967294:return I[b.read_shift(4)]||""}if(H>400)throw new Error("Unsupported Clipboard: "+H.toString(16));return b.l-=4,b.read_shift(0,N==1?"lpstr":"lpwstr")}function ar(b){return Jr(b,1)}function Hr(b){return Jr(b,2)}var mr=2,tn=3,sn=11,Hn=12,Ln=19,Qn=30,yi=64,Di=65,Ui=71,ua=4096,Xa=80,vo=81,wo=[Xa,vo],ho={1:{n:"CodePage",t:mr},2:{n:"Category",t:Xa},3:{n:"PresentationFormat",t:Xa},4:{n:"ByteCount",t:tn},5:{n:"LineCount",t:tn},6:{n:"ParagraphCount",t:tn},7:{n:"SlideCount",t:tn},8:{n:"NoteCount",t:tn},9:{n:"HiddenCount",t:tn},10:{n:"MultimediaClipCount",t:tn},11:{n:"ScaleCrop",t:sn},12:{n:"HeadingPairs",t:ua|Hn},13:{n:"TitlesOfParts",t:ua|Qn},14:{n:"Manager",t:Xa},15:{n:"Company",t:Xa},16:{n:"LinksUpToDate",t:sn},17:{n:"CharacterCount",t:tn},19:{n:"SharedDoc",t:sn},22:{n:"HyperlinksChanged",t:sn},23:{n:"AppVersion",t:tn,p:"version"},24:{n:"DigSig",t:Di},26:{n:"ContentType",t:Xa},27:{n:"ContentStatus",t:Xa},28:{n:"Language",t:Xa},29:{n:"Version",t:Xa},255:{},2147483648:{n:"Locale",t:Ln},2147483651:{n:"Behavior",t:Ln},1919054434:{}},yo={1:{n:"CodePage",t:mr},2:{n:"Title",t:Xa},3:{n:"Subject",t:Xa},4:{n:"Author",t:Xa},5:{n:"Keywords",t:Xa},6:{n:"Comments",t:Xa},7:{n:"Template",t:Xa},8:{n:"LastAuthor",t:Xa},9:{n:"RevNumber",t:Xa},10:{n:"EditTime",t:yi},11:{n:"LastPrinted",t:yi},12:{n:"CreatedDate",t:yi},13:{n:"ModifiedDate",t:yi},14:{n:"PageCount",t:tn},15:{n:"WordCount",t:tn},16:{n:"CharCount",t:tn},17:{n:"Thumbnail",t:Ui},18:{n:"Application",t:Xa},19:{n:"DocSecurity",t:tn},255:{},2147483648:{n:"Locale",t:Ln},2147483651:{n:"Behavior",t:Ln},1919054434:{}},Ga={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Ma=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function uo(b){return b.map(function(N){return[N>>16&255,N>>8&255,N&255]})}var so=uo([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),To=Me(so),No={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},oo=ee(No),Ja={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},zo={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function Eo(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Ea(b){var N=Eo();if(!b||!b.match)return N;var I={};if((b.match(yr)||[]).forEach(function(H){var J=ur(H);switch(J[0].replace(gn,"<")){case"<?xml":break;case"<Types":N.xmlns=J["xmlns"+(J[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":I[J.Extension]=J.ContentType;break;case"<Override":N[Ja[J.ContentType]]!==void 0&&N[Ja[J.ContentType]].push(J.PartName);break}}),N.xmlns!==br.CT)throw new Error("Unknown Namespace: "+N.xmlns);return N.calcchain=N.calcchains.length>0?N.calcchains[0]:"",N.sst=N.strs.length>0?N.strs[0]:"",N.style=N.styles.length>0?N.styles[0]:"",N.defaults=I,delete N.calcchains,N}var jo=Rt("Types",null,{xmlns:br.CT,"xmlns:xsd":br.xsd,"xmlns:xsi":br.xsi});function Zo(b,N){var I=he(Ja),H=[],J;H[H.length]=mt,H[H.length]=jo,H=H.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(dt){return Rt("Default",null,{Extension:dt[0],ContentType:dt[1]})}));var be=function(Ot){b[Ot]&&b[Ot].length>0&&(J=b[Ot][0],H[H.length]=Rt("Override",null,{PartName:(J[0]=="/"?"":"/")+J,ContentType:zo[Ot][N.bookType]||zo[Ot].xlsx}))},ke=function(Ot){(b[Ot]||[]).forEach(function(Ct){H[H.length]=Rt("Override",null,{PartName:(Ct[0]=="/"?"":"/")+Ct,ContentType:zo[Ot][N.bookType]||zo[Ot].xlsx})})},He=function(Ot){(b[Ot]||[]).forEach(function(Ct){H[H.length]=Rt("Override",null,{PartName:(Ct[0]=="/"?"":"/")+Ct,ContentType:I[Ot][0]})})};return be("workbooks"),ke("sheets"),ke("charts"),He("themes"),["strs","styles"].forEach(be),["coreprops","extprops","custprops"].forEach(He),He("vba"),He("comments"),He("threadedcomments"),He("drawings"),ke("metadata"),He("people"),H.length>2&&(H[H.length]="</Types>",H[1]=H[1].replace("/>",">")),H.join("")}var Za={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Xo(b){var N=b.lastIndexOf("/");return b.slice(0,N+1)+"_rels/"+b.slice(N+1)+".rels"}function qo(b,N){var I={"!id":{}};if(!b)return I;N.charAt(0)!=="/"&&(N="/"+N);var H={};return(b.match(yr)||[]).forEach(function(J){var be=ur(J);if(be[0]==="<Relationship"){var ke={};ke.Type=be.Type,ke.Target=be.Target,ke.Id=be.Id,be.TargetMode&&(ke.TargetMode=be.TargetMode);var He=be.TargetMode==="External"?be.Target:pr(be.Target,N);I[He]=ke,H[be.Id]=ke}}),I["!id"]=H,I}var cs=Rt("Relationships",null,{xmlns:br.RELS});function Oo(b){var N=[mt,cs];return We(b["!id"]).forEach(function(I){N[N.length]=Rt("Relationship",null,b["!id"][I])}),N.length>2&&(N[N.length]="</Relationships>",N[1]=N[1].replace("/>",">")),N.join("")}var ss=[Za.HLINK,Za.XPATH,Za.XMISS];function Io(b,N,I,H,J,be){if(J||(J={}),b["!id"]||(b["!id"]={}),b["!idx"]||(b["!idx"]=1),N<0)for(N=b["!idx"];b["!id"]["rId"+N];++N);if(b["!idx"]=N+1,J.Id="rId"+N,J.Type=H,J.Target=I,be?J.TargetMode=be:ss.indexOf(J.Type)>-1&&(J.TargetMode="External"),b["!id"][J.Id])throw new Error("Cannot rewrite rId "+N);return b["!id"][J.Id]=J,b[("/"+J.Target).replace("//","/")]=J,N}var lo="application/vnd.oasis.opendocument.spreadsheet";function ks(b,N){for(var I=Nr(b),H,J;H=Sr.exec(I);)switch(H[3]){case"manifest":break;case"file-entry":if(J=ur(H[0],!1),J.path=="/"&&J.type!==lo)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(N&&N.WTF)throw H}}function As(b){var N=[mt];N.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
|
|
|
`),N.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
|
|
|
`);for(var I=0;I<b.length;++I)N.push(' <manifest:file-entry manifest:full-path="'+b[I][0]+'" manifest:media-type="'+b[I][1]+`"/>
|
|
|
`);return N.push("</manifest:manifest>"),N.join("")}function ko(b,N,I){return[' <rdf:Description rdf:about="'+b+`">
|
|
|
`,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(I||"odf")+"#"+N+`"/>
|
|
|
`,` </rdf:Description>
|
|
|
`].join("")}function ys(b,N){return[' <rdf:Description rdf:about="'+b+`">
|
|
|
`,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+N+`"/>
|
|
|
`,` </rdf:Description>
|
|
|
`].join("")}function es(b){var N=[mt];N.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
|
`);for(var I=0;I!=b.length;++I)N.push(ko(b[I][0],b[I][1])),N.push(ys("",b[I][0]));return N.push(ko("","Document","pkg")),N.push("</rdf:RDF>"),N.join("")}function ts(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+y.version+"</meta:generator></office:meta></office:document-meta>"}var _s=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],Ts=function(){for(var b=new Array(_s.length),N=0;N<_s.length;++N){var I=_s[N],H="(?:"+I[0].slice(0,I[0].indexOf(":"))+":)"+I[0].slice(I[0].indexOf(":")+1);b[N]=new RegExp("<"+H+"[^>]*>([\\s\\S]*?)</"+H+">")}return b}();function $s(b){var N={};b=Ye(b);for(var I=0;I<_s.length;++I){var H=_s[I],J=b.match(Ts[I]);J!=null&&J.length>0&&(N[H[1]]=lr(J[1])),H[2]==="date"&&N[H[1]]&&(N[H[1]]=de(N[H[1]]))}return N}function Ms(b,N,I,H,J){if(J[b]!=null||N==null||N==="")return;J[b]=N,N=xr(N),H[H.length]=I?Rt(b,N,I):or(b,N)}function Fs(b,N){var I=N||{},H=[mt,Rt("cp:coreProperties",null,{"xmlns:cp":br.CORE_PROPS,"xmlns:dc":br.dc,"xmlns:dcterms":br.dcterms,"xmlns:dcmitype":br.dcmitype,"xmlns:xsi":br.xsi})],J={};if(!b&&!I.Props)return H.join("");b&&(b.CreatedDate!=null&&Ms("dcterms:created",typeof b.CreatedDate=="string"?b.CreatedDate:_t(b.CreatedDate,I.WTF),{"xsi:type":"dcterms:W3CDTF"},H,J),b.ModifiedDate!=null&&Ms("dcterms:modified",typeof b.ModifiedDate=="string"?b.ModifiedDate:_t(b.ModifiedDate,I.WTF),{"xsi:type":"dcterms:W3CDTF"},H,J));for(var be=0;be!=_s.length;++be){var ke=_s[be],He=I.Props&&I.Props[ke[1]]!=null?I.Props[ke[1]]:b?b[ke[1]]:null;He===!0?He="1":He===!1?He="0":typeof He=="number"&&(He=String(He)),He!=null&&Ms(ke[0],He,null,H,J)}return H.length>2&&(H[H.length]="</cp:coreProperties>",H[1]=H[1].replace("/>",">")),H.join("")}var as=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],vs=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Ho(b,N,I,H){var J=[];if(typeof b=="string")J=At(b,H);else for(var be=0;be<b.length;++be)J=J.concat(b[be].map(function(Ct){return{v:Ct}}));var ke=typeof N=="string"?At(N,H).map(function(Ct){return Ct.v}):N,He=0,dt=0;if(ke.length>0)for(var Ot=0;Ot!==J.length;Ot+=2){dt=+J[Ot+1].v;switch(J[Ot].v){case"Worksheets":case"\u5DE5\u4F5C\u8868":case"\u041B\u0438\u0441\u0442\u044B":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30EF\u30FC\u30AF\u30B7\u30FC\u30C8":case"\u05D2\u05DC\u05D9\u05D5\u05E0\u05D5\u05EA \u05E2\u05D1\u05D5\u05D3\u05D4":case"Arbeitsbl\xE4tter":case"\xC7al\u0131\u015Fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xE1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xE1lculo":case"Werkbladen":I.Worksheets=dt,I.SheetNames=ke.slice(He,He+dt);break;case"Named Ranges":case"Rangos con nombre":case"\u540D\u524D\u4ED8\u304D\u4E00\u89A7":case"Benannte Bereiche":case"Navngivne omr\xE5der":I.NamedRanges=dt,I.DefinedNames=ke.slice(He,He+dt);break;case"Charts":case"Diagramme":I.Chartsheets=dt,I.ChartNames=ke.slice(He,He+dt);break}He+=dt}}function Ns(b,N,I){var H={};return N||(N={}),b=Ye(b),as.forEach(function(J){var be=(b.match(Zr(J[0]))||[])[1];switch(J[2]){case"string":be&&(N[J[1]]=lr(be));break;case"bool":N[J[1]]=be==="true";break;case"raw":var ke=b.match(new RegExp("<"+J[0]+"[^>]*>([\\s\\S]*?)</"+J[0]+">"));ke&&ke.length>0&&(H[J[1]]=ke[1]);break}}),H.HeadingPairs&&H.TitlesOfParts&&Ho(H.HeadingPairs,H.TitlesOfParts,N,I),N}function Us(b){var N=[],I=Rt;return b||(b={}),b.Application="SheetJS",N[N.length]=mt,N[N.length]=Rt("Properties",null,{xmlns:br.EXT_PROPS,"xmlns:vt":br.vt}),as.forEach(function(H){if(b[H[1]]===void 0)return;var J;switch(H[2]){case"string":J=xr(String(b[H[1]]));break;case"bool":J=b[H[1]]?"true":"false";break}J!==void 0&&(N[N.length]=I(H[0],J))}),N[N.length]=I("HeadingPairs",I("vt:vector",I("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+I("vt:variant",I("vt:i4",String(b.Worksheets))),{size:2,baseType:"variant"})),N[N.length]=I("TitlesOfParts",I("vt:vector",b.SheetNames.map(function(H){return"<vt:lpstr>"+xr(H)+"</vt:lpstr>"}).join(""),{size:b.Worksheets,baseType:"lpstr"})),N.length>2&&(N[N.length]="</Properties>",N[1]=N[1].replace("/>",">")),N.join("")}var ka=/<[^>]+>[^<]*/g;function Go(b,N){var I={},H="",J=b.match(ka);if(J)for(var be=0;be!=J.length;++be){var ke=J[be],He=ur(ke);switch(He[0]){case"<?xml":break;case"<Properties":break;case"<property":H=lr(He.name);break;case"</property>":H=null;break;default:if(ke.indexOf("<vt:")===0){var dt=ke.split(">"),Ot=dt[0].slice(4),Ct=dt[1];switch(Ot){case"lpstr":case"bstr":case"lpwstr":I[H]=lr(Ct);break;case"bool":I[H]=Ue(Ct);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":I[H]=parseInt(Ct,10);break;case"r4":case"r8":case"decimal":I[H]=parseFloat(Ct);break;case"filetime":case"date":I[H]=de(Ct);break;case"cy":case"error":I[H]=lr(Ct);break;default:if(Ot.slice(-1)=="/")break;N.WTF&&typeof console!="undefined"&&console.warn("Unexpected",ke,Ot,dt)}}else if(!(ke.slice(0,2)==="</")){if(N.WTF)throw new Error(ke)}}}return I}function xl(b){var N=[mt,Rt("Properties",null,{xmlns:br.CUST_PROPS,"xmlns:vt":br.vt})];if(!b)return N.join("");var I=1;return We(b).forEach(function(J){++I,N[N.length]=Rt("property",Zt(b[J],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:I,name:xr(J)})}),N.length>2&&(N[N.length]="</Properties>",N[1]=N[1].replace("/>",">")),N.join("")}var ul={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},gl;function _l(b,N,I){gl||(gl=je(ul)),N=gl[N]||N,b[N]=I}function Xs(b,N){var I=[];return We(ul).map(function(H){for(var J=0;J<_s.length;++J)if(_s[J][1]==H)return _s[J];for(J=0;J<as.length;++J)if(as[J][1]==H)return as[J];throw H}).forEach(function(H){if(b[H[1]]==null)return;var J=N&&N.Props&&N.Props[H[1]]!=null?N.Props[H[1]]:b[H[1]];switch(H[2]){case"date":J=new Date(J).toISOString().replace(/\.\d*Z/,"Z");break}typeof J=="number"?J=String(J):J===!0||J===!1?J=J?"1":"0":J instanceof Date&&(J=new Date(J).toISOString().replace(/\.\d*Z/,"")),I.push(or(ul[H[1]]||H[1],J))}),Rt("DocumentProperties",I.join(""),{xmlns:fn.o})}function Yo(b,N){var I=["Worksheets","SheetNames"],H="CustomDocumentProperties",J=[];return b&&We(b).forEach(function(be){if(!Object.prototype.hasOwnProperty.call(b,be))return;for(var ke=0;ke<_s.length;++ke)if(be==_s[ke][1])return;for(ke=0;ke<as.length;++ke)if(be==as[ke][1])return;for(ke=0;ke<I.length;++ke)if(be==I[ke])return;var He=b[be],dt="string";typeof He=="number"?(dt="float",He=String(He)):He===!0||He===!1?(dt="boolean",He=He?"1":"0"):He=String(He),J.push(Rt(Vn(be),He,{"dt:dt":dt}))}),N&&We(N).forEach(function(be){if(!Object.prototype.hasOwnProperty.call(N,be))return;if(b&&Object.prototype.hasOwnProperty.call(b,be))return;var ke=N[be],He="string";typeof ke=="number"?(He="float",ke=String(ke)):ke===!0||ke===!1?(He="boolean",ke=ke?"1":"0"):ke instanceof Date?(He="dateTime.tz",ke=ke.toISOString()):ke=String(ke),J.push(Rt(Vn(be),ke,{"dt:dt":He}))}),"<"+H+' xmlns="'+fn.o+'">'+J.join("")+"</"+H+">"}function al(b){var N=b.read_shift(4),I=b.read_shift(4);return new Date((I/1e7*Math.pow(2,32)+N/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function Wl(b){var N=typeof b=="string"?new Date(Date.parse(b)):b,I=N.getTime()/1e3+11644473600,H=I%Math.pow(2,32),J=(I-H)/Math.pow(2,32);H*=1e7,J*=1e7;var be=H/Math.pow(2,32)|0;be>0&&(H=H%Math.pow(2,32),J+=be);var ke=Tn(8);return ke.write_shift(4,H),ke.write_shift(4,J),ke}function Ps(b,N,I){var H=b.l,J=b.read_shift(0,"lpstr-cp");if(I)for(;b.l-H&3;)++b.l;return J}function nl(b,N,I){var H=b.read_shift(0,"lpwstr");return I&&(b.l+=4-(H.length+1&3)&3),H}function $o(b,N,I){return N===31?nl(b):Ps(b,N,I)}function Sl(b,N,I){return $o(b,N,I===!1?0:4)}function Pc(b,N){if(!N)throw new Error("VtUnalignedString must have positive length");return $o(b,N,0)}function nc(b){for(var N=b.read_shift(4),I=[],H=0;H!=N;++H){var J=b.l;I[H]=b.read_shift(0,"lpwstr").replace(K,""),b.l-J&2&&(b.l+=2)}return I}function hc(b){for(var N=b.read_shift(4),I=[],H=0;H!=N;++H)I[H]=b.read_shift(0,"lpstr-cp").replace(K,"");return I}function ic(b){var N=b.l,I=Tl(b,vo);b[b.l]==0&&b[b.l+1]==0&&b.l-N&2&&(b.l+=2);var H=Tl(b,tn);return[I,H]}function Jl(b){for(var N=b.read_shift(4),I=[],H=0;H<N/2;++H)I.push(ic(b));return I}function Yl(b,N){for(var I=b.read_shift(4),H={},J=0;J!=I;++J){var be=b.read_shift(4),ke=b.read_shift(4);H[be]=b.read_shift(ke,N===1200?"utf16le":"utf8").replace(K,"").replace(Z,"!"),N===1200&&ke%2&&(b.l+=2)}return b.l&3&&(b.l=b.l>>2+1<<2),H}function Al(b){var N=b.read_shift(4),I=b.slice(b.l,b.l+N);return b.l+=N,(N&3)>0&&(b.l+=4-(N&3)&3),I}function zs(b){var N={};return N.Size=b.read_shift(4),b.l+=N.Size+3-(N.Size-1)%4,N}function Tl(b,N,I){var H=b.read_shift(2),J,be=I||{};if(b.l+=2,N!==Hn&&(H!==N&&wo.indexOf(N)===-1&&!((N&65534)==4126&&(H&65534)==4126)))throw new Error("Expected type "+N+" saw "+H);switch(N===Hn?H:N){case 2:return J=b.read_shift(2,"i"),be.raw||(b.l+=2),J;case 3:return J=b.read_shift(4,"i"),J;case 11:return b.read_shift(4)!==0;case 19:return J=b.read_shift(4),J;case 30:return Ps(b,H,4).replace(K,"");case 31:return nl(b);case 64:return al(b);case 65:return Al(b);case 71:return zs(b);case 80:return Sl(b,H,!be.raw).replace(K,"");case 81:return Pc(b,H).replace(K,"");case 4108:return Jl(b);case 4126:case 4127:return H==4127?nc(b):hc(b);default:throw new Error("TypedPropertyValue unrecognized type "+N+" "+H)}}function vl(b,N){var I=Tn(4),H=Tn(4);I.write_shift(4,b==80?31:b);switch(b){case 3:H.write_shift(-4,N);break;case 5:H=Tn(8),H.write_shift(8,N,"f");break;case 11:H.write_shift(4,N?1:0);break;case 64:H=Wl(N);break;case 31:case 80:for(H=Tn(4+2*(N.length+1)+(N.length%2?0:2)),H.write_shift(4,N.length+1),H.write_shift(0,N,"dbcs");H.l!=H.length;)H.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+b+" "+N)}return k([I,H])}function Cl(b,N){var I=b.l,H=b.read_shift(4),J=b.read_shift(4),be=[],ke=0,He=0,dt=-1,Ot={};for(ke=0;ke!=J;++ke){var Ct=b.read_shift(4),dr=b.read_shift(4);be[ke]=[Ct,dr+I]}be.sort(function(Wn,On){return Wn[1]-On[1]});var vr={};for(ke=0;ke!=J;++ke){if(b.l!==be[ke][1]){var kr=!0;if(ke>0&&N)switch(N[be[ke-1][0]].t){case 2:b.l+2===be[ke][1]&&(b.l+=2,kr=!1);break;case 80:b.l<=be[ke][1]&&(b.l=be[ke][1],kr=!1);break;case 4108:b.l<=be[ke][1]&&(b.l=be[ke][1],kr=!1);break}if((!N||ke==0)&&b.l<=be[ke][1]&&(kr=!1,b.l=be[ke][1]),kr)throw new Error("Read Error: Expected address "+be[ke][1]+" at "+b.l+" :"+ke)}if(N){var Ur=N[be[ke][0]];if(vr[Ur.n]=Tl(b,Ur.t,{raw:!0}),Ur.p==="version"&&(vr[Ur.n]=String(vr[Ur.n]>>16)+"."+("0000"+String(vr[Ur.n]&65535)).slice(-4)),Ur.n=="CodePage")switch(vr[Ur.n]){case 0:vr[Ur.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:l(He=vr[Ur.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+vr[Ur.n])}}else if(be[ke][0]===1){if(He=vr.CodePage=Tl(b,mr),l(He),dt!==-1){var Ar=b.l;b.l=be[dt][1],Ot=Yl(b,He),b.l=Ar}}else if(be[ke][0]===0){if(He===0){dt=ke,b.l=be[ke+1][1];continue}Ot=Yl(b,He)}else{var Dr=Ot[be[ke][0]],kn;switch(b[b.l]){case 65:b.l+=4,kn=Al(b);break;case 30:b.l+=4,kn=Sl(b,b[b.l-4]).replace(/\u0000+$/,"");break;case 31:b.l+=4,kn=Sl(b,b[b.l-4]).replace(/\u0000+$/,"");break;case 3:b.l+=4,kn=b.read_shift(4,"i");break;case 19:b.l+=4,kn=b.read_shift(4);break;case 5:b.l+=4,kn=b.read_shift(8,"f");break;case 11:b.l+=4,kn=Hs(b,4);break;case 64:b.l+=4,kn=de(al(b));break;default:throw new Error("unparsed value: "+b[b.l])}vr[Dr]=kn}}return b.l=I+H,vr}var dn=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function bl(b){switch(typeof b){case"boolean":return 11;case"number":return(b|0)==b?3:5;case"string":return 31;case"object":if(b instanceof Date)return 64;break}return-1}function Lc(b,N,I){var H=Tn(8),J=[],be=[],ke=8,He=0,dt=Tn(8),Ot=Tn(8);if(dt.write_shift(4,2),dt.write_shift(4,1200),Ot.write_shift(4,1),be.push(dt),J.push(Ot),ke+=8+dt.length,!N){Ot=Tn(8),Ot.write_shift(4,0),J.unshift(Ot);var Ct=[Tn(4)];for(Ct[0].write_shift(4,b.length),He=0;He<b.length;++He){var dr=b[He][0];for(dt=Tn(4+4+2*(dr.length+1)+(dr.length%2?0:2)),dt.write_shift(4,He+2),dt.write_shift(4,dr.length+1),dt.write_shift(0,dr,"dbcs");dt.l!=dt.length;)dt.write_shift(1,0);Ct.push(dt)}dt=k(Ct),be.unshift(dt),ke+=8+dt.length}for(He=0;He<b.length;++He){if(N&&!N[b[He][0]])continue;if(dn.indexOf(b[He][0])>-1||vs.indexOf(b[He][0])>-1)continue;if(b[He][1]==null)continue;var vr=b[He][1],kr=0;if(N){kr=+N[b[He][0]];var Ur=I[kr];if(Ur.p=="version"&&typeof vr=="string"){var Ar=vr.split(".");vr=(+Ar[0]<<16)+(+Ar[1]||0)}dt=vl(Ur.t,vr)}else{var Dr=bl(vr);Dr==-1&&(Dr=31,vr=String(vr)),dt=vl(Dr,vr)}be.push(dt),Ot=Tn(8),Ot.write_shift(4,N?kr:2+He),J.push(Ot),ke+=8+dt.length}var kn=8*(be.length+1);for(He=0;He<be.length;++He)J[He].write_shift(4,kn),kn+=be[He].length;return H.write_shift(4,ke),H.write_shift(4,be.length),k([H].concat(J).concat(be))}function bc(b,N,I){var H=b.content;if(!H)return{};Cn(H,0);var J,be,ke,He,dt=0;H.chk("feff","Byte Order: "),H.read_shift(2);var Ot=H.read_shift(4),Ct=H.read_shift(16);if(Ct!==ne.utils.consts.HEADER_CLSID&&Ct!==I)throw new Error("Bad PropertySet CLSID "+Ct);if(J=H.read_shift(4),J!==1&&J!==2)throw new Error("Unrecognized #Sets: "+J);if(be=H.read_shift(16),He=H.read_shift(4),J===1&&He!==H.l)throw new Error("Length mismatch: "+He+" !== "+H.l);J===2&&(ke=H.read_shift(16),dt=H.read_shift(4));var dr=Cl(H,N),vr={SystemIdentifier:Ot};for(var kr in dr)vr[kr]=dr[kr];if(vr.FMTID=be,J===1)return vr;if(dt-H.l==2&&(H.l+=2),H.l!==dt)throw new Error("Length mismatch 2: "+H.l+" !== "+dt);var Ur;try{Ur=Cl(H,null)}catch(Ar){}for(kr in Ur)vr[kr]=Ur[kr];return vr.FMTID=[be,ke],vr}function pc(b,N,I,H,J,be){var ke=Tn(J?68:48),He=[ke];ke.write_shift(2,65534),ke.write_shift(2,0),ke.write_shift(4,842412599),ke.write_shift(16,ne.utils.consts.HEADER_CLSID,"hex"),ke.write_shift(4,J?2:1),ke.write_shift(16,N,"hex"),ke.write_shift(4,J?68:48);var dt=Lc(b,I,H);if(He.push(dt),J){var Ot=Lc(J,null,null);ke.write_shift(16,be,"hex"),ke.write_shift(4,68+dt.length),He.push(Ot)}return k(He)}function fs(b,N){return b.read_shift(N),null}function Ks(b,N){N||(N=Tn(b));for(var I=0;I<b;++I)N.write_shift(1,0);return N}function Ol(b,N,I){for(var H=[],J=b.l+N;b.l<J;)H.push(I(b,J-b.l));if(J!==b.l)throw new Error("Slurp error");return H}function Hs(b,N){return b.read_shift(N)===1}function ol(b,N){return N||(N=Tn(2)),N.write_shift(2,+!!b),N}function Gs(b){return b.read_shift(2,"u")}function Il(b,N){return N||(N=Tn(2)),N.write_shift(2,b),N}function Uc(b,N){return Ol(b,N,Gs)}function mc(b){var N=b.read_shift(1),I=b.read_shift(1);return I===1?N:N===1}function yc(b,N,I){return I||(I=Tn(2)),I.write_shift(1,N=="e"?+b:+!!b),I.write_shift(1,N=="e"?1:0),I}function ac(b,N,I){var H=b.read_shift(I&&I.biff>=12?2:1),J="sbcs-cont",be=m;if(I&&I.biff>=8&&(m=1200),!I||I.biff==8){var ke=b.read_shift(1);ke&&(J="dbcs-cont")}else I.biff==12&&(J="wstr");I.biff>=2&&I.biff<=5&&(J="cpstr");var He=H?b.read_shift(H,J):"";return m=be,He}function Ql(b){var N=m;m=1200;var I=b.read_shift(2),H=b.read_shift(1),J=H&4,be=H&8,ke=1+(H&1),He=0,dt,Ot={};be&&(He=b.read_shift(2)),J&&(dt=b.read_shift(4));var Ct=ke==2?"dbcs-cont":"sbcs-cont",dr=I===0?"":b.read_shift(I,Ct);return be&&(b.l+=4*He),J&&(b.l+=dt),Ot.t=dr,be||(Ot.raw="<t>"+Ot.t+"</t>",Ot.r=Ot.t),m=N,Ot}function gc(b){var N=b.t||"",I=1,H=Tn(3+(I>1?2:0));H.write_shift(2,N.length),H.write_shift(1,(I>1?8:0)|1),I>1&&H.write_shift(2,I);var J=Tn(2*N.length);J.write_shift(2*N.length,N,"utf16le");var be=[H,J];return k(be)}function Mt(b,N,I){var H;if(I){if(I.biff>=2&&I.biff<=5)return b.read_shift(N,"cpstr");if(I.biff>=12)return b.read_shift(N,"dbcs-cont")}var J=b.read_shift(1);return J===0?H=b.read_shift(N,"sbcs-cont"):H=b.read_shift(N,"dbcs-cont"),H}function Vt(b,N,I){var H=b.read_shift(I&&I.biff==2?1:2);return H===0?(b.l++,""):Mt(b,H,I)}function wn(b,N,I){if(I.biff>5)return Vt(b,N,I);var H=b.read_shift(1);return H===0?(b.l++,""):b.read_shift(H,I.biff<=4||!b.lens?"cpstr":"sbcs-cont")}function ci(b,N,I){return I||(I=Tn(3+2*b.length)),I.write_shift(2,b.length),I.write_shift(1,1),I.write_shift(31,b,"utf16le"),I}function Et(b){var N=b.read_shift(1);b.l++;var I=b.read_shift(2);return b.l+=2,[N,I]}function ce(b){var N=b.read_shift(4),I=b.l,H=!1;N>24&&(b.l+=N-24,b.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(H=!0),b.l=I);var J=b.read_shift((H?N-24:N)>>1,"utf16le").replace(K,"");return H&&(b.l+=24),J}function Se(b){for(var N=b.read_shift(2),I="";N-- >0;)I+="../";var H=b.read_shift(0,"lpstr-ansi");if(b.l+=2,b.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var J=b.read_shift(4);if(J===0)return I+H.replace(/\\/g,"/");var be=b.read_shift(4);if(b.read_shift(2)!=3)throw new Error("Bad FileMoniker");var ke=b.read_shift(be>>1,"utf16le").replace(K,"");return I+ke}function Oe(b,N){var I=b.read_shift(16);N-=16;switch(I){case"e0c9ea79f9bace118c8200aa004ba90b":return ce(b,N);case"0303000000000000c000000000000046":return Se(b,N);default:throw new Error("Unsupported Moniker "+I)}}function Xe(b){var N=b.read_shift(4),I=N>0?b.read_shift(N,"utf16le").replace(K,""):"";return I}function wt(b,N){N||(N=Tn(6+b.length*2)),N.write_shift(4,1+b.length);for(var I=0;I<b.length;++I)N.write_shift(2,b.charCodeAt(I));return N.write_shift(2,0),N}function Ht(b,N){var I=b.l+N,H=b.read_shift(4);if(H!==2)throw new Error("Unrecognized streamVersion: "+H);var J=b.read_shift(2);b.l+=2;var be,ke,He,dt,Ot="",Ct,dr;J&16&&(be=Xe(b,I-b.l)),J&128&&(ke=Xe(b,I-b.l)),(J&257)===257&&(He=Xe(b,I-b.l)),(J&257)===1&&(dt=Oe(b,I-b.l)),J&8&&(Ot=Xe(b,I-b.l)),J&32&&(Ct=b.read_shift(16)),J&64&&(dr=al(b)),b.l=I;var vr=ke||He||dt||"";vr&&Ot&&(vr+="#"+Ot),vr||(vr="#"+Ot),J&2&&vr.charAt(0)=="/"&&vr.charAt(1)!="/"&&(vr="file://"+vr);var kr={Target:vr};return Ct&&(kr.guid=Ct),dr&&(kr.time=dr),be&&(kr.Tooltip=be),kr}function Pr(b){var N=Tn(512),I=0,H=b.Target;H.slice(0,7)=="file://"&&(H=H.slice(7));var J=H.indexOf("#"),be=J>-1?31:23;switch(H.charAt(0)){case"#":be=28;break;case".":be&=~2;break}N.write_shift(4,2),N.write_shift(4,be);var ke=[8,6815827,6619237,4849780,83];for(I=0;I<ke.length;++I)N.write_shift(4,ke[I]);if(be==28)H=H.slice(1),wt(H,N);else if(be&2){for(ke="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),I=0;I<ke.length;++I)N.write_shift(1,parseInt(ke[I],16));var He=J>-1?H.slice(0,J):H;for(N.write_shift(4,2*(He.length+1)),I=0;I<He.length;++I)N.write_shift(2,He.charCodeAt(I));N.write_shift(2,0),be&8&&wt(J>-1?H.slice(J+1):"",N)}else{for(ke="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),I=0;I<ke.length;++I)N.write_shift(1,parseInt(ke[I],16));for(var dt=0;H.slice(dt*3,dt*3+3)=="../"||H.slice(dt*3,dt*3+3)=="..\\";)++dt;for(N.write_shift(2,dt),N.write_shift(4,H.length-3*dt+1),I=0;I<H.length-3*dt;++I)N.write_shift(1,H.charCodeAt(I+3*dt)&255);for(N.write_shift(1,0),N.write_shift(2,65535),N.write_shift(2,57005),I=0;I<6;++I)N.write_shift(4,0)}return N.slice(0,N.l)}function Xr(b){var N=b.read_shift(1),I=b.read_shift(1),H=b.read_shift(1),J=b.read_shift(1);return[N,I,H,J]}function yn(b,N){var I=Xr(b,N);return I[3]=0,I}function Jn(b){var N=b.read_shift(2),I=b.read_shift(2),H=b.read_shift(2);return{r:N,c:I,ixfe:H}}function Ei(b,N,I,H){return H||(H=Tn(6)),H.write_shift(2,b),H.write_shift(2,N),H.write_shift(2,I||0),H}function Ji(b){var N=b.read_shift(2),I=b.read_shift(2);return b.l+=8,{type:N,flags:I}}function wa(b,N,I){return N===0?"":wn(b,N,I)}function Ya(b,N,I){var H=I.biff>8?4:2,J=b.read_shift(H),be=b.read_shift(H,"i"),ke=b.read_shift(H,"i");return[J,be,ke]}function mo(b){var N=b.read_shift(2),I=sa(b);return[N,I]}function Mo(b,N,I){b.l+=4,N-=4;var H=b.l+N,J=ac(b,N,I),be=b.read_shift(2);if(H-=b.l,be!==H)throw new Error("Malformed AddinUdf: padding = "+H+" != "+be);return b.l+=be,J}function us(b){var N=b.read_shift(2),I=b.read_shift(2),H=b.read_shift(2),J=b.read_shift(2);return{s:{c:H,r:N},e:{c:J,r:I}}}function ws(b,N){return N||(N=Tn(8)),N.write_shift(2,b.s.r),N.write_shift(2,b.e.r),N.write_shift(2,b.s.c),N.write_shift(2,b.e.c),N}function Os(b){var N=b.read_shift(2),I=b.read_shift(2),H=b.read_shift(1),J=b.read_shift(1);return{s:{c:H,r:N},e:{c:J,r:I}}}var il=Os;function Ys(b){b.l+=4;var N=b.read_shift(2),I=b.read_shift(2),H=b.read_shift(2);return b.l+=12,[I,N,H]}function ro(b){var N={};return b.l+=4,b.l+=16,N.fSharedNote=b.read_shift(2),b.l+=4,N}function Ws(b){var N={};return b.l+=4,b.cf=b.read_shift(2),N}function bs(b){b.l+=2,b.l+=b.read_shift(2)}var Rl={0:bs,4:bs,5:bs,6:bs,7:Ws,8:bs,9:bs,10:bs,11:bs,12:bs,13:ro,14:bs,15:bs,16:bs,17:bs,18:bs,19:bs,20:bs,21:Ys};function sl(b,N){for(var I=b.l+N,H=[];b.l<I;){var J=b.read_shift(2);b.l-=2;try{H.push(Rl[J](b,I-b.l))}catch(be){return b.l=I,H}}return b.l!=I&&(b.l=I),H}function el(b,N){var I={BIFFVer:0,dt:0};I.BIFFVer=b.read_shift(2),N-=2,N>=2&&(I.dt=b.read_shift(2),b.l-=2);switch(I.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(N>6)throw new Error("Unexpected BIFF Ver "+I.BIFFVer)}return b.read_shift(N),I}function dl(b,N,I){var H=1536,J=16;switch(I.bookType){case"biff8":break;case"biff5":H=1280,J=8;break;case"biff4":H=4,J=6;break;case"biff3":H=3,J=6;break;case"biff2":H=2,J=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var be=Tn(J);return be.write_shift(2,H),be.write_shift(2,N),J>4&&be.write_shift(2,29282),J>6&&be.write_shift(2,1997),J>8&&(be.write_shift(2,49161),be.write_shift(2,1),be.write_shift(2,1798),be.write_shift(2,0)),be}function $l(b,N){return N===0||b.read_shift(2)!==1200,1200}function zl(b,N,I){if(I.enc)return b.l+=N,"";var H=b.l,J=wn(b,0,I);return b.read_shift(N+H-b.l),J}function Kl(b,N){var I=!N||N.biff==8,H=Tn(I?112:54);for(H.write_shift(N.biff==8?2:1,7),I&&H.write_shift(1,0),H.write_shift(4,859007059),H.write_shift(4,5458548|(I?0:536870912));H.l<H.length;)H.write_shift(1,I?0:32);return H}function ql(b,N,I){var H=I&&I.biff==8||N==2?b.read_shift(2):(b.l+=N,0);return{fDialog:H&16,fBelow:H&64,fRight:H&128}}function Vl(b,N,I){var H=b.read_shift(4),J=b.read_shift(1)&3,be=b.read_shift(1);switch(be){case 0:be="Worksheet";break;case 1:be="Macrosheet";break;case 2:be="Chartsheet";break;case 6:be="VBAModule";break}var ke=ac(b,0,I);return ke.length===0&&(ke="Sheet1"),{pos:H,hs:J,dt:be,name:ke}}function Nc(b,N){var I=!N||N.biff>=8?2:1,H=Tn(8+I*b.name.length);H.write_shift(4,b.pos),H.write_shift(1,b.hs||0),H.write_shift(1,b.dt),H.write_shift(1,b.name.length),N.biff>=8&&H.write_shift(1,1),H.write_shift(I*b.name.length,b.name,N.biff<8?"sbcs":"utf16le");var J=H.slice(0,H.l);return J.l=H.l,J}function Zc(b,N){for(var I=b.l+N,H=b.read_shift(4),J=b.read_shift(4),be=[],ke=0;ke!=J&&b.l<I;++ke)be.push(Ql(b));return be.Count=H,be.Unique=J,be}function Zl(b,N){var I=Tn(8);I.write_shift(4,b.Count),I.write_shift(4,b.Unique);for(var H=[],J=0;J<b.length;++J)H[J]=gc(b[J],N);var be=k([I].concat(H));return be.parts=[I.length].concat(H.map(function(ke){return ke.length})),be}function ll(b,N){var I={};return I.dsst=b.read_shift(2),b.l+=N-2,I}function Fl(b){var N={};N.r=b.read_shift(2),N.c=b.read_shift(2),N.cnt=b.read_shift(2)-N.c;var I=b.read_shift(2);b.l+=4;var H=b.read_shift(1);return b.l+=3,H&7&&(N.level=H&7),H&32&&(N.hidden=!0),H&64&&(N.hpt=I/20),N}function Mc(b){var N=Ji(b);if(N.type!=2211)throw new Error("Invalid Future Record "+N.type);var I=b.read_shift(4);return I!==0}function fc(b){return b.read_shift(2),b.read_shift(4)}function Cc(b,N,I){var H=0;I&&I.biff==2||(H=b.read_shift(2));var J=b.read_shift(2);I&&I.biff==2&&(H=1-(J>>15),J&=32767);var be={Unsynced:H&1,DyZero:(H&2)>>1,ExAsc:(H&4)>>2,ExDsc:(H&8)>>3};return[be,J]}function Oc(b){var N=b.read_shift(2),I=b.read_shift(2),H=b.read_shift(2),J=b.read_shift(2),be=b.read_shift(2),ke=b.read_shift(2),He=b.read_shift(2),dt=b.read_shift(2),Ot=b.read_shift(2);return{Pos:[N,I],Dim:[H,J],Flags:be,CurTab:ke,FirstTab:He,Selected:dt,TabRatio:Ot}}function Ac(){var b=Tn(18);return b.write_shift(2,0),b.write_shift(2,0),b.write_shift(2,29280),b.write_shift(2,17600),b.write_shift(2,56),b.write_shift(2,0),b.write_shift(2,0),b.write_shift(2,1),b.write_shift(2,500),b}function Wc(b,N,I){if(I&&I.biff>=2&&I.biff<5)return{};var H=b.read_shift(2);return{RTL:H&64}}function Dc(b){var N=Tn(18),I=1718;return b&&b.RTL&&(I|=64),N.write_shift(2,I),N.write_shift(4,0),N.write_shift(4,64),N.write_shift(4,0),N.write_shift(4,0),N}function jc(){}function wc(b,N,I){var H={dyHeight:b.read_shift(2),fl:b.read_shift(2)};switch(I&&I.biff||8){case 2:break;case 3:case 4:b.l+=2;break;default:b.l+=10;break}return H.name=ac(b,0,I),H}function ps(b,N){var I=b.name||"Arial",H=N&&N.biff==5,J=H?15+I.length:16+2*I.length,be=Tn(J);return be.write_shift(2,(b.sz||12)*20),be.write_shift(4,0),be.write_shift(2,400),be.write_shift(4,0),be.write_shift(2,0),be.write_shift(1,I.length),H||be.write_shift(1,1),be.write_shift((H?1:2)*I.length,I,H?"sbcs":"utf16le"),be}function xo(b){var N=Jn(b);return N.isst=b.read_shift(4),N}function ls(b,N,I,H){var J=Tn(10);return Ei(b,N,H,J),J.write_shift(4,I),J}function Ds(b,N,I){I.biffguess&&I.biff==2&&(I.biff=5);var H=b.l+N,J=Jn(b,6);I.biff==2&&b.l++;var be=Vt(b,H-b.l,I);return J.val=be,J}function Nl(b,N,I,H,J){var be=!J||J.biff==8,ke=Tn(6+2+ +be+(1+be)*I.length);return Ei(b,N,H,ke),ke.write_shift(2,I.length),be&&ke.write_shift(1,1),ke.write_shift((1+be)*I.length,I,be?"utf16le":"sbcs"),ke}function vc(b,N,I){var H=b.read_shift(2),J=wn(b,0,I);return[H,J]}function ec(b,N,I,H){var J=I&&I.biff==5;H||(H=Tn(J?3+N.length:5+2*N.length)),H.write_shift(2,b),H.write_shift(J?1:2,N.length),J||H.write_shift(1,1),H.write_shift((J?1:2)*N.length,N,J?"sbcs":"utf16le");var be=H.length>H.l?H.slice(0,H.l):H;return be.l==null&&(be.l=be.length),be}var Xl=wn;function hl(b,N,I){var H=b.l+N,J=I.biff==8||!I.biff?4:2,be=b.read_shift(J),ke=b.read_shift(J),He=b.read_shift(2),dt=b.read_shift(2);return b.l=H,{s:{r:be,c:He},e:{r:ke,c:dt}}}function tl(b,N){var I=N.biff==8||!N.biff?4:2,H=Tn(2*I+6);return H.write_shift(I,b.s.r),H.write_shift(I,b.e.r+1),H.write_shift(2,b.s.c),H.write_shift(2,b.e.c+1),H.write_shift(2,0),H}function Ll(b){var N=b.read_shift(2),I=b.read_shift(2),H=mo(b);return{r:N,c:I,ixfe:H[0],rknum:H[1]}}function Qs(b,N){for(var I=b.l+N-2,H=b.read_shift(2),J=b.read_shift(2),be=[];b.l<I;)be.push(mo(b));if(b.l!==I)throw new Error("MulRK read error");var ke=b.read_shift(2);if(be.length!=ke-J+1)throw new Error("MulRK length mismatch");return{r:H,c:J,C:ke,rkrec:be}}function xc(b,N){for(var I=b.l+N-2,H=b.read_shift(2),J=b.read_shift(2),be=[];b.l<I;)be.push(b.read_shift(2));if(b.l!==I)throw new Error("MulBlank read error");var ke=b.read_shift(2);if(be.length!=ke-J+1)throw new Error("MulBlank length mismatch");return{r:H,c:J,C:ke,ixfe:be}}function ku(b,N,I,H){var J={},be=b.read_shift(4),ke=b.read_shift(4),He=b.read_shift(4),dt=b.read_shift(2);return J.patternType=Ma[He>>26],H.cellStyles&&(J.alc=be&7,J.fWrap=be>>3&1,J.alcV=be>>4&7,J.fJustLast=be>>7&1,J.trot=be>>8&255,J.cIndent=be>>16&15,J.fShrinkToFit=be>>20&1,J.iReadOrder=be>>22&2,J.fAtrNum=be>>26&1,J.fAtrFnt=be>>27&1,J.fAtrAlc=be>>28&1,J.fAtrBdr=be>>29&1,J.fAtrPat=be>>30&1,J.fAtrProt=be>>31&1,J.dgLeft=ke&15,J.dgRight=ke>>4&15,J.dgTop=ke>>8&15,J.dgBottom=ke>>12&15,J.icvLeft=ke>>16&127,J.icvRight=ke>>23&127,J.grbitDiag=ke>>30&3,J.icvTop=He&127,J.icvBottom=He>>7&127,J.icvDiag=He>>14&127,J.dgDiag=He>>21&15,J.icvFore=dt&127,J.icvBack=dt>>7&127,J.fsxButton=dt>>14&1),J}function $c(b,N,I){var H={};return H.ifnt=b.read_shift(2),H.numFmtId=b.read_shift(2),H.flags=b.read_shift(2),H.fStyle=H.flags>>2&1,N-=6,H.data=ku(b,N,H.fStyle,I),H}function hu(b,N,I,H){var J=I&&I.biff==5;H||(H=Tn(J?16:20)),H.write_shift(2,0),b.style?(H.write_shift(2,b.numFmtId||0),H.write_shift(2,65524)):(H.write_shift(2,b.numFmtId||0),H.write_shift(2,N<<4));var be=0;return b.numFmtId>0&&J&&(be|=1024),H.write_shift(4,be),H.write_shift(4,0),J||H.write_shift(4,0),H.write_shift(2,0),H}function Rc(b){b.l+=4;var N=[b.read_shift(2),b.read_shift(2)];if(N[0]!==0&&N[0]--,N[1]!==0&&N[1]--,N[0]>7||N[1]>7)throw new Error("Bad Gutters: "+N.join("|"));return N}function fu(b){var N=Tn(8);return N.write_shift(4,0),N.write_shift(2,b[0]?b[0]+1:0),N.write_shift(2,b[1]?b[1]+1:0),N}function au(b,N,I){var H=Jn(b,6);(I.biff==2||N==9)&&++b.l;var J=mc(b,2);return H.val=J,H.t=J===!0||J===!1?"b":"e",H}function Cd(b,N,I,H,J,be){var ke=Tn(8);return Ei(b,N,H,ke),yc(I,be,ke),ke}function od(b,N,I){I.biffguess&&I.biff==2&&(I.biff=5);var H=Jn(b,6),J=Ai(b,8);return H.val=J,H}function Ed(b,N,I,H){var J=Tn(14);return Ei(b,N,H,J),Aa(I,J),J}var _d=wa;function Xu(b,N,I){var H=b.l+N,J=b.read_shift(2),be=b.read_shift(2);if(I.sbcch=be,be==1025||be==14849)return[be,J];if(be<1||be>255)throw new Error("Unexpected SupBook type: "+be);for(var ke=Mt(b,be),He=[];H>b.l;)He.push(Vt(b));return[be,J,ke,He]}function Ec(b,N,I){var H=b.read_shift(2),J,be={fBuiltIn:H&1,fWantAdvise:H>>>1&1,fWantPict:H>>>2&1,fOle:H>>>3&1,fOleLink:H>>>4&1,cf:H>>>5&1023,fIcon:H>>>15&1};return I.sbcch===14849&&(J=Mo(b,N-2,I)),be.body=J||b.read_shift(N-2),typeof J=="string"&&(be.Name=J),be}var Gl=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Bc(b,N,I){var H=b.l+N,J=b.read_shift(2),be=b.read_shift(1),ke=b.read_shift(1),He=b.read_shift(I&&I.biff==2?1:2),dt=0;(!I||I.biff>=5)&&(I.biff!=5&&(b.l+=2),dt=b.read_shift(2),I.biff==5&&(b.l+=2),b.l+=4);var Ot=Mt(b,ke,I);J&32&&(Ot=Gl[Ot.charCodeAt(0)]);var Ct=H-b.l;I&&I.biff==2&&--Ct;var dr=H==b.l||He===0||!(Ct>0)?[]:Hm(b,Ct,I,He);return{chKey:be,Name:Ot,itab:dt,rgce:dr}}function Fu(b,N,I){if(I.biff<8)return sd(b,N,I);for(var H=[],J=b.l+N,be=b.read_shift(I.biff>8?4:2);be--!==0;)H.push(Ya(b,I.biff>8?12:6,I));if(b.l!=J)throw new Error("Bad ExternSheet: "+b.l+" != "+J);return H}function sd(b,N,I){b[b.l+1]==3&&b[b.l]++;var H=ac(b,N,I);return H.charCodeAt(0)==3?H.slice(1):H}function ld(b,N,I){if(I.biff<8){b.l+=N;return}var H=b.read_shift(2),J=b.read_shift(2),be=Mt(b,H,I),ke=Mt(b,J,I);return[be,ke]}function Gu(b,N,I){var H=Os(b,6);b.l++;var J=b.read_shift(1);return N-=8,[Wm(b,N,I),J,H]}function Tu(b,N,I){var H=il(b,6);switch(I.biff){case 2:b.l++,N-=7;break;case 3:case 4:b.l+=2,N-=8;break;default:b.l+=6,N-=12}return[H,Um(b,N,I,H)]}function jd(b){var N=b.read_shift(4)!==0,I=b.read_shift(4)!==0,H=b.read_shift(4);return[N,I,H]}function cd(b,N,I){if(I.biff<8)return;var H=b.read_shift(2),J=b.read_shift(2),be=b.read_shift(2),ke=b.read_shift(2),He=wn(b,0,I);return I.biff<8&&b.read_shift(1),[{r:H,c:J},He,ke,be]}function Td(b,N,I){return cd(b,N,I)}function qc(b,N){for(var I=[],H=b.read_shift(2);H--;)I.push(us(b,N));return I}function ou(b){var N=Tn(2+b.length*8);N.write_shift(2,b.length);for(var I=0;I<b.length;++I)ws(b[I],N);return N}function Pu(b,N,I){if(I&&I.biff<8)return eu(b,N,I);var H=Ys(b,22),J=sl(b,N-22,H[1]);return{cmo:H,ft:J}}var Ou={8:function(N,I){var H=N.l+I;N.l+=10;var J=N.read_shift(2);N.l+=4,N.l+=2,N.l+=2,N.l+=2,N.l+=4;var be=N.read_shift(1);return N.l+=be,N.l=H,{fmt:J}}};function eu(b,N,I){b.l+=4;var H=b.read_shift(2),J=b.read_shift(2),be=b.read_shift(2);b.l+=2,b.l+=2,b.l+=2,b.l+=2,b.l+=2,b.l+=2,b.l+=2,b.l+=2,b.l+=2,b.l+=6,N-=36;var ke=[];return ke.push((Ou[H]||ki)(b,N,I)),{cmo:[J,H,be],ft:ke}}function Sc(b,N,I){var H=b.l,J="";try{b.l+=4;var be=(I.lastobj||{cmo:[0,0]}).cmo[1],ke;[0,5,7,11,12,14].indexOf(be)==-1?b.l+=6:ke=Et(b,6,I);var He=b.read_shift(2);b.read_shift(2),Gs(b,2);var dt=b.read_shift(2);b.l+=dt;for(var Ot=1;Ot<b.lens.length-1;++Ot){if(b.l-H!=b.lens[Ot])throw new Error("TxO: bad continue record");var Ct=b[b.l],dr=Mt(b,b.lens[Ot+1]-b.lens[Ot]-1);if(J+=dr,J.length>=(Ct?He:2*He))break}if(J.length!==He&&J.length!==He*2)throw new Error("cchText: "+He+" != "+J.length);return b.l=H+N,{t:J}}catch(vr){return b.l=H+N,{t:J}}}function Uu(b,N){var I=us(b,8);b.l+=16;var H=Ht(b,N-24);return[I,H]}function su(b){var N=Tn(24),I=ja(b[0]);N.write_shift(2,I.r),N.write_shift(2,I.r),N.write_shift(2,I.c),N.write_shift(2,I.c);for(var H="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),J=0;J<16;++J)N.write_shift(1,parseInt(H[J],16));return k([N,Pr(b[1])])}function Yu(b,N){b.read_shift(2);var I=us(b,8),H=b.read_shift((N-10)/2,"dbcs-cont");return H=H.replace(K,""),[I,H]}function Od(b){var N=b[1].Tooltip,I=Tn(10+2*(N.length+1));I.write_shift(2,2048);var H=ja(b[0]);I.write_shift(2,H.r),I.write_shift(2,H.r),I.write_shift(2,H.c),I.write_shift(2,H.c);for(var J=0;J<N.length;++J)I.write_shift(2,N.charCodeAt(J));return I.write_shift(2,0),I}function ju(b){var N=[0,0],I;return I=b.read_shift(2),N[0]=Ga[I]||I,I=b.read_shift(2),N[1]=Ga[I]||I,N}function Iu(b){return b||(b=Tn(4)),b.write_shift(2,1),b.write_shift(2,1),b}function pu(b){for(var N=b.read_shift(2),I=[];N-- >0;)I.push(yn(b,8));return I}function Lu(b){for(var N=b.read_shift(2),I=[];N-- >0;)I.push(yn(b,8));return I}function Id(b){b.l+=2;var N={cxfs:0,crc:0};return N.cxfs=b.read_shift(2),N.crc=b.read_shift(4),N}function ud(b,N,I){if(!I.cellStyles)return ki(b,N);var H=I&&I.biff>=12?4:2,J=b.read_shift(H),be=b.read_shift(H),ke=b.read_shift(H),He=b.read_shift(H),dt=b.read_shift(2);H==2&&(b.l+=2);var Ot={s:J,e:be,w:ke,ixfe:He,flags:dt};return(I.biff>=5||!I.biff)&&(Ot.level=dt>>8&7),Ot}function dd(b,N){var I=Tn(12);I.write_shift(2,N),I.write_shift(2,N),I.write_shift(2,b.width*256),I.write_shift(2,0);var H=0;return b.hidden&&(H|=1),I.write_shift(1,H),H=b.level||0,I.write_shift(1,H),I.write_shift(2,0),I}function Hu(b,N){var I={};return N<32||(b.l+=16,I.header=Ai(b,8),I.footer=Ai(b,8),b.l+=2),I}function hd(b,N,I){var H={area:!1};if(I.biff!=5)return b.l+=N,H;var J=b.read_shift(1);return b.l+=3,J&16&&(H.area=!0),H}function fd(b){for(var N=Tn(2*b),I=0;I<b;++I)N.write_shift(2,I+1);return N}var Ld=Jn,Xc=Uc,Gc=Vt;function Jc(b){var N=b.read_shift(2),I=b.read_shift(2),H=b.read_shift(4),J={fmt:N,env:I,len:H,data:b.slice(b.l,b.l+H)};return b.l+=H,J}function Qu(b,N,I){I.biffguess&&I.biff==5&&(I.biff=2);var H=Jn(b,6);++b.l;var J=wn(b,N-7,I);return H.t="str",H.val=J,H}function pd(b){var N=Jn(b,6);++b.l;var I=Ai(b,8);return N.t="n",N.val=I,N}function lu(b,N,I){var H=Tn(15);return Hh(H,b,N),H.write_shift(8,I,"f"),H}function Yc(b){var N=Jn(b,6);++b.l;var I=b.read_shift(2);return N.t="n",N.val=I,N}function Wu(b,N,I){var H=Tn(9);return Hh(H,b,N),H.write_shift(2,I),H}function Zu(b){var N=b.read_shift(1);return N===0?(b.l++,""):b.read_shift(N,"sbcs-cont")}function Hd(b,N){b.l+=6,b.l+=2,b.l+=1,b.l+=3,b.l+=1,b.l+=N-13}function md(b,N,I){var H=b.l+N,J=Jn(b,6),be=b.read_shift(2),ke=Mt(b,be,I);return b.l=H,J.t="str",J.val=ke,J}var Ju=[2,3,48,49,131,139,140,245],$u=function(){var b={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},N=je({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function I(He,dt){var Ot=[],Ct=T(1);switch(dt.type){case"base64":Ct=S(A.decode(He));break;case"binary":Ct=S(He);break;case"buffer":case"array":Ct=He;break}Cn(Ct,0);var dr=Ct.read_shift(1),vr=!!(dr&136),kr=!1,Ur=!1;switch(dr){case 2:break;case 3:break;case 48:kr=!0,vr=!0;break;case 49:kr=!0,vr=!0;break;case 131:break;case 139:break;case 140:Ur=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+dr.toString(16))}var Ar=0,Dr=521;dr==2&&(Ar=Ct.read_shift(2)),Ct.l+=3,dr!=2&&(Ar=Ct.read_shift(4)),Ar>1048576&&(Ar=1e6),dr!=2&&(Dr=Ct.read_shift(2));var kn=Ct.read_shift(2),Wn=dt.codepage||1252;dr!=2&&(Ct.l+=16,Ct.read_shift(1),Ct[Ct.l]!==0&&(Wn=b[Ct[Ct.l]]),Ct.l+=1,Ct.l+=2),Ur&&(Ct.l+=36);for(var On=[],da={},Ba=Math.min(Ct.length,dr==2?521:Dr-10-(kr?264:0)),Bi=Ur?32:11;Ct.l<Ba&&Ct[Ct.l]!=13;){da={},da.name=o.utils.decode(Wn,Ct.slice(Ct.l,Ct.l+Bi)).replace(/[\u0000\r\n].*$/g,""),Ct.l+=Bi,da.type=String.fromCharCode(Ct.read_shift(1)),dr!=2&&!Ur&&(da.offset=Ct.read_shift(4)),da.len=Ct.read_shift(1),dr==2&&(da.offset=Ct.read_shift(2)),da.dec=Ct.read_shift(1),da.name.length&&On.push(da),dr!=2&&(Ct.l+=Ur?13:14);switch(da.type){case"B":(!kr||da.len!=8)&&dt.WTF&&console.log("Skipping "+da.name+":"+da.type);break;case"G":case"P":dt.WTF&&console.log("Skipping "+da.name+":"+da.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+da.type)}}if(Ct[Ct.l]!==13&&(Ct.l=Dr-1),Ct.read_shift(1)!==13)throw new Error("DBF Terminator not found "+Ct.l+" "+Ct[Ct.l]);Ct.l=Dr;var vi=0,_a=0;for(Ot[0]=[],_a=0;_a!=On.length;++_a)Ot[0][_a]=On[_a].name;for(;Ar-- >0;){if(Ct[Ct.l]===42){Ct.l+=kn;continue}for(++Ct.l,Ot[++vi]=[],_a=0,_a=0;_a!=On.length;++_a){var na=Ct.slice(Ct.l,Ct.l+On[_a].len);Ct.l+=On[_a].len,Cn(na,0);var xa=o.utils.decode(Wn,na);switch(On[_a].type){case"C":xa.trim().length&&(Ot[vi][_a]=xa.replace(/\s+$/,""));break;case"D":xa.length===8?Ot[vi][_a]=new Date(+xa.slice(0,4),+xa.slice(4,6)-1,+xa.slice(6,8)):Ot[vi][_a]=xa;break;case"F":Ot[vi][_a]=parseFloat(xa.trim());break;case"+":case"I":Ot[vi][_a]=Ur?na.read_shift(-4,"i")^2147483648:na.read_shift(4,"i");break;case"L":switch(xa.trim().toUpperCase()){case"Y":case"T":Ot[vi][_a]=!0;break;case"N":case"F":Ot[vi][_a]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+xa+"|")}break;case"M":if(!vr)throw new Error("DBF Unexpected MEMO for type "+dr.toString(16));Ot[vi][_a]="##MEMO##"+(Ur?parseInt(xa.trim(),10):na.read_shift(4));break;case"N":xa=xa.replace(/\u0000/g,"").trim(),xa&&xa!="."&&(Ot[vi][_a]=+xa||0);break;case"@":Ot[vi][_a]=new Date(na.read_shift(-8,"f")-621356832e5);break;case"T":Ot[vi][_a]=new Date((na.read_shift(4)-2440588)*864e5+na.read_shift(4));break;case"Y":Ot[vi][_a]=na.read_shift(4,"i")/1e4+na.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":Ot[vi][_a]=-na.read_shift(-8,"f");break;case"B":if(kr&&On[_a].len==8){Ot[vi][_a]=na.read_shift(8,"f");break}case"G":case"P":na.l+=On[_a].len;break;case"0":if(On[_a].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+On[_a].type)}}}if(dr!=2&&(Ct.l<Ct.length&&Ct[Ct.l++]!=26))throw new Error("DBF EOF Marker missing "+(Ct.l-1)+" of "+Ct.length+" "+Ct[Ct.l-1].toString(16));return dt&&dt.sheetRows&&(Ot=Ot.slice(0,dt.sheetRows)),dt.DBF=On,Ot}function H(He,dt){var Ot=dt||{};Ot.dateNF||(Ot.dateNF="yyyymmdd");var Ct=An(I(He,Ot),Ot);return Ct["!cols"]=Ot.DBF.map(function(dr){return{wch:dr.len,DBF:dr}}),delete Ot.DBF,Ct}function J(He,dt){try{return ao(H(He,dt),dt)}catch(Ot){if(dt&&dt.WTF)throw Ot}return{SheetNames:[],Sheets:{}}}var be={B:8,C:250,L:1,D:8,"?":0,"":0};function ke(He,dt){var Ot=dt||{};if(+Ot.codepage>=0&&l(+Ot.codepage),Ot.type=="string")throw new Error("Cannot write DBF to JS string");var Ct=Ti(),dr=_f(He,{header:1,raw:!0,cellDates:!0}),vr=dr[0],kr=dr.slice(1),Ur=He["!cols"]||[],Ar=0,Dr=0,kn=0,Wn=1;for(Ar=0;Ar<vr.length;++Ar){if(((Ur[Ar]||{}).DBF||{}).name){vr[Ar]=Ur[Ar].DBF.name,++kn;continue}if(vr[Ar]==null)continue;if(++kn,typeof vr[Ar]=="number"&&(vr[Ar]=vr[Ar].toString(10)),typeof vr[Ar]!="string")throw new Error("DBF Invalid column name "+vr[Ar]+" |"+typeof vr[Ar]+"|");if(vr.indexOf(vr[Ar])!==Ar){for(Dr=0;Dr<1024;++Dr)if(vr.indexOf(vr[Ar]+"_"+Dr)==-1){vr[Ar]+="_"+Dr;break}}}var On=$i(He["!ref"]),da=[],Ba=[],Bi=[];for(Ar=0;Ar<=On.e.c-On.s.c;++Ar){var vi="",_a="",na=0,xa=[];for(Dr=0;Dr<kr.length;++Dr)kr[Dr][Ar]!=null&&xa.push(kr[Dr][Ar]);if(xa.length==0||vr[Ar]==null){da[Ar]="?";continue}for(Dr=0;Dr<xa.length;++Dr){switch(typeof xa[Dr]){case"number":_a="B";break;case"string":_a="C";break;case"boolean":_a="L";break;case"object":_a=xa[Dr]instanceof Date?"D":"C";break;default:_a="C"}na=Math.max(na,String(xa[Dr]).length),vi=vi&&vi!=_a?"C":_a}na>250&&(na=250),_a=((Ur[Ar]||{}).DBF||{}).type,_a=="C"&&(Ur[Ar].DBF.len>na&&(na=Ur[Ar].DBF.len)),vi=="B"&&_a=="N"&&(vi="N",Bi[Ar]=Ur[Ar].DBF.dec,na=Ur[Ar].DBF.len),Ba[Ar]=vi=="C"||_a=="N"?na:be[vi]||0,Wn+=Ba[Ar],da[Ar]=vi}var Fa=Ct.next(32);for(Fa.write_shift(4,318902576),Fa.write_shift(4,kr.length),Fa.write_shift(2,296+32*kn),Fa.write_shift(2,Wn),Ar=0;Ar<4;++Ar)Fa.write_shift(4,0);for(Fa.write_shift(4,0|(+N[E]||3)<<8),Ar=0,Dr=0;Ar<vr.length;++Ar){if(vr[Ar]==null)continue;var Yi=Ct.next(32),go=(vr[Ar].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);Yi.write_shift(1,go,"sbcs"),Yi.write_shift(1,da[Ar]=="?"?"C":da[Ar],"sbcs"),Yi.write_shift(4,Dr),Yi.write_shift(1,Ba[Ar]||be[da[Ar]]||0),Yi.write_shift(1,Bi[Ar]||0),Yi.write_shift(1,2),Yi.write_shift(4,0),Yi.write_shift(1,0),Yi.write_shift(4,0),Yi.write_shift(4,0),Dr+=Ba[Ar]||be[da[Ar]]||0}var Jo=Ct.next(264);for(Jo.write_shift(4,13),Ar=0;Ar<65;++Ar)Jo.write_shift(4,0);for(Ar=0;Ar<kr.length;++Ar){var Uo=Ct.next(Wn);for(Uo.write_shift(1,0),Dr=0;Dr<vr.length;++Dr){if(vr[Dr]==null)continue;switch(da[Dr]){case"L":Uo.write_shift(1,kr[Ar][Dr]==null?63:kr[Ar][Dr]?84:70);break;case"B":Uo.write_shift(8,kr[Ar][Dr]||0,"f");break;case"N":var ms="0";for(typeof kr[Ar][Dr]=="number"&&(ms=kr[Ar][Dr].toFixed(Bi[Dr]||0)),kn=0;kn<Ba[Dr]-ms.length;++kn)Uo.write_shift(1,32);Uo.write_shift(1,ms,"sbcs");break;case"D":kr[Ar][Dr]?(Uo.write_shift(4,("0000"+kr[Ar][Dr].getFullYear()).slice(-4),"sbcs"),Uo.write_shift(2,("00"+(kr[Ar][Dr].getMonth()+1)).slice(-2),"sbcs"),Uo.write_shift(2,("00"+kr[Ar][Dr].getDate()).slice(-2),"sbcs")):Uo.write_shift(8,"00000000","sbcs");break;case"C":var Ss=String(kr[Ar][Dr]!=null?kr[Ar][Dr]:"").slice(0,Ba[Dr]);for(Uo.write_shift(1,Ss,"sbcs"),kn=0;kn<Ba[Dr]-Ss.length;++kn)Uo.write_shift(1,32);break}}}return Ct.next(1).write_shift(1,26),Ct.end()}return{to_workbook:J,to_sheet:H,from_sheet:ke}}(),qu=function(){var b={AA:"\xC0",BA:"\xC1",CA:"\xC2",DA:195,HA:"\xC4",JA:197,AE:"\xC8",BE:"\xC9",CE:"\xCA",HE:"\xCB",AI:"\xCC",BI:"\xCD",CI:"\xCE",HI:"\xCF",AO:"\xD2",BO:"\xD3",CO:"\xD4",DO:213,HO:"\xD6",AU:"\xD9",BU:"\xDA",CU:"\xDB",HU:"\xDC",Aa:"\xE0",Ba:"\xE1",Ca:"\xE2",Da:227,Ha:"\xE4",Ja:229,Ae:"\xE8",Be:"\xE9",Ce:"\xEA",He:"\xEB",Ai:"\xEC",Bi:"\xED",Ci:"\xEE",Hi:"\xEF",Ao:"\xF2",Bo:"\xF3",Co:"\xF4",Do:245,Ho:"\xF6",Au:"\xF9",Bu:"\xFA",Cu:"\xFB",Hu:"\xFC",KC:"\xC7",Kc:"\xE7",q:"\xE6",z:"\u0153",a:"\xC6",j:"\u0152",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},N=new RegExp("N("+We(b).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),I=function(kr,Ur){var Ar=b[Ur];return typeof Ar=="number"?e(Ar):Ar},H=function(kr,Ur,Ar){var Dr=Ur.charCodeAt(0)-32<<4|Ar.charCodeAt(0)-48;return Dr==59?kr:e(Dr)};b["|"]=254;function J(vr,kr){switch(kr.type){case"base64":return be(A.decode(vr),kr);case"binary":return be(vr,kr);case"buffer":return be(w&&Buffer.isBuffer(vr)?vr.toString("binary"):L(vr),kr);case"array":return be(ve(vr),kr)}throw new Error("Unrecognized type "+kr.type)}function be(vr,kr){var Ur=vr.split(/[\n\r]+/),Ar=-1,Dr=-1,kn=0,Wn=0,On=[],da=[],Ba=null,Bi={},vi=[],_a=[],na=[],xa=0,Fa;for(+kr.codepage>=0&&l(+kr.codepage);kn!==Ur.length;++kn){xa=0;var Yi=Ur[kn].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,H).replace(N,I),go=Yi.replace(/;;/g,"\0").split(";").map(function(Qr){return Qr.replace(/\u0000/g,";")}),Jo=go[0],Uo;if(Yi.length>0)switch(Jo){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":go[1].charAt(0)=="P"&&da.push(Yi.slice(3).replace(/;;/g,";"));break;case"C":var ms=!1,Ss=!1,Bl=!1,Qo=!1,Is=-1,$a=-1;for(Wn=1;Wn<go.length;++Wn)switch(go[Wn].charAt(0)){case"A":break;case"X":Dr=parseInt(go[Wn].slice(1))-1,Ss=!0;break;case"Y":for(Ar=parseInt(go[Wn].slice(1))-1,Ss||(Dr=0),Fa=On.length;Fa<=Ar;++Fa)On[Fa]=[];break;case"K":Uo=go[Wn].slice(1),Uo.charAt(0)==='"'?Uo=Uo.slice(1,Uo.length-1):Uo==="TRUE"?Uo=!0:Uo==="FALSE"?Uo=!1:isNaN(gt(Uo))?isNaN(Pe(Uo).getDate())||(Uo=de(Uo)):(Uo=gt(Uo),Ba!==null&&B.is_date(Ba)&&(Uo=xe(Uo))),typeof o!="undefined"&&typeof Uo=="string"&&(kr||{}).type!="string"&&(kr||{}).codepage&&(Uo=o.utils.decode(kr.codepage,Uo)),ms=!0;break;case"E":Qo=!0;var pi=Ru(go[Wn].slice(1),{r:Ar,c:Dr});On[Ar][Dr]=[On[Ar][Dr],pi];break;case"S":Bl=!0,On[Ar][Dr]=[On[Ar][Dr],"S5S"];break;case"G":break;case"R":Is=parseInt(go[Wn].slice(1))-1;break;case"C":$a=parseInt(go[Wn].slice(1))-1;break;default:if(kr&&kr.WTF)throw new Error("SYLK bad record "+Yi)}if(ms&&(On[Ar][Dr]&&On[Ar][Dr].length==2?On[Ar][Dr][0]=Uo:On[Ar][Dr]=Uo,Ba=null),Bl){if(Qo)throw new Error("SYLK shared formula cannot have own formula");var pa=Is>-1&&On[Is][$a];if(!pa||!pa[1])throw new Error("SYLK shared formula cannot find base");On[Ar][Dr][1]=nd(pa[1],{r:Ar-Is,c:Dr-$a})}break;case"F":var Xi=0;for(Wn=1;Wn<go.length;++Wn)switch(go[Wn].charAt(0)){case"X":Dr=parseInt(go[Wn].slice(1))-1,++Xi;break;case"Y":for(Ar=parseInt(go[Wn].slice(1))-1,Fa=On.length;Fa<=Ar;++Fa)On[Fa]=[];break;case"M":xa=parseInt(go[Wn].slice(1))/20;break;case"F":break;case"G":break;case"P":Ba=da[parseInt(go[Wn].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(na=go[Wn].slice(1).split(" "),Fa=parseInt(na[0],10);Fa<=parseInt(na[1],10);++Fa)xa=parseInt(na[2],10),_a[Fa-1]=xa===0?{hidden:!0}:{wch:xa},gi(_a[Fa-1]);break;case"C":Dr=parseInt(go[Wn].slice(1))-1,_a[Dr]||(_a[Dr]={});break;case"R":Ar=parseInt(go[Wn].slice(1))-1,vi[Ar]||(vi[Ar]={}),xa>0?(vi[Ar].hpt=xa,vi[Ar].hpx=eo(xa)):xa===0&&(vi[Ar].hidden=!0);break;default:if(kr&&kr.WTF)throw new Error("SYLK bad record "+Yi)}Xi<1&&(Ba=null);break;default:if(kr&&kr.WTF)throw new Error("SYLK bad record "+Yi)}}return vi.length>0&&(Bi["!rows"]=vi),_a.length>0&&(Bi["!cols"]=_a),kr&&kr.sheetRows&&(On=On.slice(0,kr.sheetRows)),[On,Bi]}function ke(vr,kr){var Ur=J(vr,kr),Ar=Ur[0],Dr=Ur[1],kn=An(Ar,kr);return We(Dr).forEach(function(Wn){kn[Wn]=Dr[Wn]}),kn}function He(vr,kr){return ao(ke(vr,kr),kr)}function dt(vr,kr,Ur,Ar){var Dr="C;Y"+(Ur+1)+";X"+(Ar+1)+";K";switch(vr.t){case"n":Dr+=vr.v||0,vr.f&&!vr.F&&(Dr+=";E"+Fd(vr.f,{r:Ur,c:Ar}));break;case"b":Dr+=vr.v?"TRUE":"FALSE";break;case"e":Dr+=vr.w||vr.v;break;case"d":Dr+='"'+(vr.w||vr.v)+'"';break;case"s":Dr+='"'+vr.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return Dr}function Ot(vr,kr){kr.forEach(function(Ur,Ar){var Dr="F;W"+(Ar+1)+" "+(Ar+1)+" ";Ur.hidden?Dr+="0":(typeof Ur.width=="number"&&!Ur.wpx&&(Ur.wpx=Ut(Ur.width)),typeof Ur.wpx=="number"&&!Ur.wch&&(Ur.wch=sr(Ur.wpx)),typeof Ur.wch=="number"&&(Dr+=Math.round(Ur.wch))),Dr.charAt(Dr.length-1)!=" "&&vr.push(Dr)})}function Ct(vr,kr){kr.forEach(function(Ur,Ar){var Dr="F;";Ur.hidden?Dr+="M0;":Ur.hpt?Dr+="M"+20*Ur.hpt+";":Ur.hpx&&(Dr+="M"+20*Ua(Ur.hpx)+";"),Dr.length>2&&vr.push(Dr+"R"+(Ar+1))})}function dr(vr,kr){var Ur=["ID;PWXL;N;E"],Ar=[],Dr=$i(vr["!ref"]),kn,Wn=Array.isArray(vr),On=`\r
|
|
|
`;Ur.push("P;PGeneral"),Ur.push("F;P0;DG0G8;M255"),vr["!cols"]&&Ot(Ur,vr["!cols"]),vr["!rows"]&&Ct(Ur,vr["!rows"]),Ur.push("B;Y"+(Dr.e.r-Dr.s.r+1)+";X"+(Dr.e.c-Dr.s.c+1)+";D"+[Dr.s.c,Dr.s.r,Dr.e.c,Dr.e.r].join(" "));for(var da=Dr.s.r;da<=Dr.e.r;++da)for(var Ba=Dr.s.c;Ba<=Dr.e.c;++Ba){var Bi=Ka({r:da,c:Ba});if(kn=Wn?(vr[da]||[])[Ba]:vr[Bi],!kn||kn.v==null&&(!kn.f||kn.F))continue;Ar.push(dt(kn,vr,da,Ba,kr))}return Ur.join(On)+On+Ar.join(On)+On+"E"+On}return{to_workbook:He,to_sheet:ke,from_sheet:dr}}(),tu=function(){function b(be,ke){switch(ke.type){case"base64":return N(A.decode(be),ke);case"binary":return N(be,ke);case"buffer":return N(w&&Buffer.isBuffer(be)?be.toString("binary"):L(be),ke);case"array":return N(ve(be),ke)}throw new Error("Unrecognized type "+ke.type)}function N(be,ke){for(var He=be.split(`
|
|
|
`),dt=-1,Ot=-1,Ct=0,dr=[];Ct!==He.length;++Ct){if(He[Ct].trim()==="BOT"){dr[++dt]=[],Ot=0;continue}if(dt<0)continue;var vr=He[Ct].trim().split(","),kr=vr[0],Ur=vr[1];++Ct;for(var Ar=He[Ct]||"";(Ar.match(/["]/g)||[]).length&1&&Ct<He.length-1;)Ar+=`
|
|
|
`+He[++Ct];Ar=Ar.trim();switch(+kr){case-1:if(Ar==="BOT"){dr[++dt]=[],Ot=0;continue}else if(Ar!=="EOD")throw new Error("Unrecognized DIF special command "+Ar);break;case 0:Ar==="TRUE"?dr[dt][Ot]=!0:Ar==="FALSE"?dr[dt][Ot]=!1:isNaN(gt(Ur))?isNaN(Pe(Ur).getDate())?dr[dt][Ot]=Ur:dr[dt][Ot]=de(Ur):dr[dt][Ot]=gt(Ur),++Ot;break;case 1:Ar=Ar.slice(1,Ar.length-1),Ar=Ar.replace(/""/g,'"'),g&&Ar&&Ar.match(/^=".*"$/)&&(Ar=Ar.slice(2,-1)),dr[dt][Ot++]=Ar!==""?Ar:null;break}if(Ar==="EOD")break}return ke&&ke.sheetRows&&(dr=dr.slice(0,ke.sheetRows)),dr}function I(be,ke){return An(b(be,ke),ke)}function H(be,ke){return ao(I(be,ke),ke)}var J=function(){var be=function(dt,Ot,Ct,dr,vr){dt.push(Ot),dt.push(Ct+","+dr),dt.push('"'+vr.replace(/"/g,'""')+'"')},ke=function(dt,Ot,Ct,dr){dt.push(Ot+","+Ct),dt.push(Ot==1?'"'+dr.replace(/"/g,'""')+'"':dr)};return function(dt){var Ot=[],Ct=$i(dt["!ref"]),dr,vr=Array.isArray(dt);be(Ot,"TABLE",0,1,"sheetjs"),be(Ot,"VECTORS",0,Ct.e.r-Ct.s.r+1,""),be(Ot,"TUPLES",0,Ct.e.c-Ct.s.c+1,""),be(Ot,"DATA",0,0,"");for(var kr=Ct.s.r;kr<=Ct.e.r;++kr){ke(Ot,-1,0,"BOT");for(var Ur=Ct.s.c;Ur<=Ct.e.c;++Ur){var Ar=Ka({r:kr,c:Ur});if(dr=vr?(dt[kr]||[])[Ur]:dt[Ar],!dr){ke(Ot,1,0,"");continue}switch(dr.t){case"n":var Dr=g?dr.w:dr.v;!Dr&&dr.v!=null&&(Dr=dr.v),Dr==null?g&&dr.f&&!dr.F?ke(Ot,1,0,"="+dr.f):ke(Ot,1,0,""):ke(Ot,0,Dr,"V");break;case"b":ke(Ot,0,dr.v?1:0,dr.v?"TRUE":"FALSE");break;case"s":ke(Ot,1,0,!g||isNaN(dr.v)?dr.v:'="'+dr.v+'"');break;case"d":dr.w||(dr.w=B.format(dr.z||B._table[14],oe(de(dr.v)))),g?ke(Ot,0,dr.w,"V"):ke(Ot,1,0,dr.w);break;default:ke(Ot,1,0,"")}}}ke(Ot,-1,0,"EOD");var kn=`\r
|
|
|
`,Wn=Ot.join(kn);return Wn}}();return{to_workbook:H,to_sheet:I,from_sheet:J}}(),cu=function(){function b(dr){return dr.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
|
|
|
`)}function N(dr){return dr.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function I(dr,vr){for(var kr=dr.split(`
|
|
|
`),Ur=-1,Ar=-1,Dr=0,kn=[];Dr!==kr.length;++Dr){var Wn=kr[Dr].trim().split(":");if(Wn[0]!=="cell")continue;var On=ja(Wn[1]);if(kn.length<=On.r)for(Ur=kn.length;Ur<=On.r;++Ur)kn[Ur]||(kn[Ur]=[]);Ur=On.r,Ar=On.c;switch(Wn[2]){case"t":kn[Ur][Ar]=b(Wn[3]);break;case"v":kn[Ur][Ar]=+Wn[3];break;case"vtf":var da=Wn[Wn.length-1];case"vtc":switch(Wn[3]){case"nl":kn[Ur][Ar]=!!+Wn[4];break;default:kn[Ur][Ar]=+Wn[4];break}Wn[2]=="vtf"&&(kn[Ur][Ar]=[kn[Ur][Ar],da])}}return vr&&vr.sheetRows&&(kn=kn.slice(0,vr.sheetRows)),kn}function H(dr,vr){return An(I(dr,vr),vr)}function J(dr,vr){return ao(H(dr,vr),vr)}var be=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
|
|
|
`),ke=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
|
|
|
`)+`
|
|
|
`,He=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
|
|
|
`),dt="--SocialCalcSpreadsheetControlSave--";function Ot(dr){if(!dr||!dr["!ref"])return"";for(var vr=[],kr=[],Ur,Ar="",Dr=Gi(dr["!ref"]),kn=Array.isArray(dr),Wn=Dr.s.r;Wn<=Dr.e.r;++Wn)for(var On=Dr.s.c;On<=Dr.e.c;++On){if(Ar=Ka({r:Wn,c:On}),Ur=kn?(dr[Wn]||[])[On]:dr[Ar],!Ur||Ur.v==null||Ur.t==="z")continue;kr=["cell",Ar,"t"];switch(Ur.t){case"s":case"str":kr.push(N(Ur.v));break;case"n":Ur.f?(kr[2]="vtf",kr[3]="n",kr[4]=Ur.v,kr[5]=N(Ur.f)):(kr[2]="v",kr[3]=Ur.v);break;case"b":kr[2]="vt"+(Ur.f?"f":"c"),kr[3]="nl",kr[4]=Ur.v?"1":"0",kr[5]=N(Ur.f||(Ur.v?"TRUE":"FALSE"));break;case"d":var da=oe(de(Ur.v));kr[2]="vtc",kr[3]="nd",kr[4]=""+da,kr[5]=Ur.w||B.format(Ur.z||B._table[14],da);break;case"e":continue}vr.push(kr.join(":"))}return vr.push("sheet:c:"+(Dr.e.c-Dr.s.c+1)+":r:"+(Dr.e.r-Dr.s.r+1)+":tvf:1"),vr.push("valueformat:1:text-wiki"),vr.join(`
|
|
|
`)}function Ct(dr){return[be,ke,He,ke,Ot(dr),dt].join(`
|
|
|
`)}return{to_workbook:J,to_sheet:H,from_sheet:Ct}}(),ru=function(){function b(Ct,dr,vr,kr,Ur){Ur.raw?dr[vr][kr]=Ct:Ct===""||(Ct==="TRUE"?dr[vr][kr]=!0:Ct==="FALSE"?dr[vr][kr]=!1:isNaN(gt(Ct))?isNaN(Pe(Ct).getDate())?dr[vr][kr]=Ct:dr[vr][kr]=de(Ct):dr[vr][kr]=gt(Ct))}function N(Ct,dr){var vr=dr||{},kr=[];if(!Ct||Ct.length===0)return kr;for(var Ur=Ct.split(/[\r\n]/),Ar=Ur.length-1;Ar>=0&&Ur[Ar].length===0;)--Ar;for(var Dr=10,kn=0,Wn=0;Wn<=Ar;++Wn)kn=Ur[Wn].indexOf(" "),kn==-1?kn=Ur[Wn].length:kn++,Dr=Math.max(Dr,kn);for(Wn=0;Wn<=Ar;++Wn){kr[Wn]=[];var On=0;for(b(Ur[Wn].slice(0,Dr).trim(),kr,Wn,On,vr),On=1;On<=(Ur[Wn].length-Dr)/10+1;++On)b(Ur[Wn].slice(Dr+(On-1)*10,Dr+On*10).trim(),kr,Wn,On,vr)}return vr.sheetRows&&(kr=kr.slice(0,vr.sheetRows)),kr}var I={44:",",9:" ",59:";",124:"|"},H={44:3,9:2,59:1,124:0};function J(Ct){for(var dr={},vr=!1,kr=0,Ur=0;kr<Ct.length;++kr)(Ur=Ct.charCodeAt(kr))==34?vr=!vr:!vr&&Ur in I&&(dr[Ur]=(dr[Ur]||0)+1);Ur=[];for(kr in dr)Object.prototype.hasOwnProperty.call(dr,kr)&&Ur.push([dr[kr],kr]);if(!Ur.length){dr=H;for(kr in dr)Object.prototype.hasOwnProperty.call(dr,kr)&&Ur.push([dr[kr],kr])}return Ur.sort(function(Ar,Dr){return Ar[0]-Dr[0]||H[Ar[1]]-H[Dr[1]]}),I[Ur.pop()[1]]||44}function be(Ct,dr){var vr=dr||{},kr="";h!=null&&vr.dense==null&&(vr.dense=h);var Ur=vr.dense?[]:{},Ar={s:{c:0,r:0},e:{c:0,r:0}};Ct.slice(0,4)=="sep="?Ct.charCodeAt(5)==13&&Ct.charCodeAt(6)==10?(kr=Ct.charAt(4),Ct=Ct.slice(7)):Ct.charCodeAt(5)==13||Ct.charCodeAt(5)==10?(kr=Ct.charAt(4),Ct=Ct.slice(6)):kr=J(Ct.slice(0,1024)):vr&&vr.FS?kr=vr.FS:kr=J(Ct.slice(0,1024));var Dr=0,kn=0,Wn=0,On=0,da=0,Ba=kr.charCodeAt(0),Bi=!1,vi=0,_a=Ct.charCodeAt(0);Ct=Ct.replace(/\r\n/mg,`
|
|
|
`);var na=vr.dateNF!=null?q(vr.dateNF):null;function xa(){var Fa=Ct.slice(On,da),Yi={};if(Fa.charAt(0)=='"'&&Fa.charAt(Fa.length-1)=='"'&&(Fa=Fa.slice(1,-1).replace(/""/g,'"')),Fa.length===0)Yi.t="z";else if(vr.raw)Yi.t="s",Yi.v=Fa;else if(Fa.trim().length===0)Yi.t="s",Yi.v=Fa;else if(Fa.charCodeAt(0)==61)Fa.charCodeAt(1)==34&&Fa.charCodeAt(Fa.length-1)==34?(Yi.t="s",Yi.v=Fa.slice(2,-1).replace(/""/g,'"')):ih(Fa)?(Yi.t="n",Yi.f=Fa.slice(1)):(Yi.t="s",Yi.v=Fa);else if(Fa=="TRUE")Yi.t="b",Yi.v=!0;else if(Fa=="FALSE")Yi.t="b",Yi.v=!1;else if(!isNaN(Wn=gt(Fa)))Yi.t="n",vr.cellText!==!1&&(Yi.w=Fa),Yi.v=Wn;else if(!isNaN(Pe(Fa).getDate())||na&&Fa.match(na)){Yi.z=vr.dateNF||B._table[14];var go=0;na&&Fa.match(na)&&(Fa=Y(Fa,vr.dateNF,Fa.match(na)||[]),go=1),vr.cellDates?(Yi.t="d",Yi.v=de(Fa,go)):(Yi.t="n",Yi.v=oe(de(Fa,go))),vr.cellText!==!1&&(Yi.w=B.format(Yi.z,Yi.v instanceof Date?oe(Yi.v):Yi.v)),vr.cellNF||delete Yi.z}else Yi.t="s",Yi.v=Fa;if(Yi.t=="z"||(vr.dense?(Ur[Dr]||(Ur[Dr]=[]),Ur[Dr][kn]=Yi):Ur[Ka({c:kn,r:Dr})]=Yi),On=da+1,_a=Ct.charCodeAt(On),Ar.e.c<kn&&(Ar.e.c=kn),Ar.e.r<Dr&&(Ar.e.r=Dr),vi==Ba)++kn;else if(kn=0,++Dr,vr.sheetRows&&vr.sheetRows<=Dr)return!0}e:for(;da<Ct.length;++da)switch(vi=Ct.charCodeAt(da)){case 34:_a===34&&(Bi=!Bi);break;case Ba:case 10:case 13:if(!Bi&&xa())break e;break;default:break}return da-On>0&&xa(),Ur["!ref"]=mn(Ar),Ur}function ke(Ct,dr){return dr&&dr.PRN?dr.FS||(Ct.slice(0,4)=="sep="||(Ct.indexOf(" ")>=0||Ct.indexOf(",")>=0||Ct.indexOf(";")>=0))?be(Ct,dr):An(N(Ct,dr),dr):be(Ct,dr)}function He(Ct,dr){var vr="",kr=dr.type=="string"?[0,0,0,0]:wf(Ct,dr);switch(dr.type){case"base64":vr=A.decode(Ct);break;case"binary":vr=Ct;break;case"buffer":dr.codepage==65001?vr=Ct.toString("utf8"):dr.codepage&&typeof o!="undefined"?vr=o.utils.decode(dr.codepage,Ct):vr=w&&Buffer.isBuffer(Ct)?Ct.toString("binary"):L(Ct);break;case"array":vr=ve(Ct);break;case"string":vr=Ct;break;default:throw new Error("Unrecognized type "+dr.type)}return kr[0]==239&&kr[1]==187&&kr[2]==191?vr=Ye(vr.slice(3)):dr.type!="string"&&dr.type!="buffer"&&dr.codepage==65001?vr=Ye(vr):dr.type=="binary"&&typeof o!="undefined"&&dr.codepage&&(vr=o.utils.decode(dr.codepage,o.utils.encode(28591,vr))),vr.slice(0,19)=="socialcalc:version:"?cu.to_sheet(dr.type=="string"?vr:Ye(vr),dr):ke(vr,dr)}function dt(Ct,dr){return ao(He(Ct,dr),dr)}function Ot(Ct){for(var dr=[],vr=$i(Ct["!ref"]),kr,Ur=Array.isArray(Ct),Ar=vr.s.r;Ar<=vr.e.r;++Ar){for(var Dr=[],kn=vr.s.c;kn<=vr.e.c;++kn){var Wn=Ka({r:Ar,c:kn});if(kr=Ur?(Ct[Ar]||[])[kn]:Ct[Wn],!kr||kr.v==null){Dr.push(" ");continue}for(var On=(kr.w||(La(kr),kr.w)||"").slice(0,10);On.length<10;)On+=" ";Dr.push(On+(kn===0?" ":""))}dr.push(Dr.join(""))}return dr.join(`
|
|
|
`)}return{to_workbook:dt,to_sheet:He,from_sheet:Ot}}();function zu(b,N){var I=N||{},H=!!I.WTF;I.WTF=!0;try{var J=qu.to_workbook(b,I);return I.WTF=H,J}catch(be){if(I.WTF=H,!be.message.match(/SYLK bad record ID/)&&H)throw be;return ru.to_workbook(b,N)}}var nu=function(){function b(pi,pa,Xi){if(!pi)return;Cn(pi,pi.l||0);for(var Qr=Xi.Enum||Is;pi.l<pi.length;){var Dn=pi.read_shift(2),ai=Qr[Dn]||Qr[65535],Ta=pi.read_shift(2),si=pi.l+Ta,ha=ai.f&&ai.f(pi,Ta,Xi);if(pi.l=si,pa(ha,ai,Dn))return}}function N(pi,pa){switch(pa.type){case"base64":return I(S(A.decode(pi)),pa);case"binary":return I(S(pi),pa);case"buffer":case"array":return I(pi,pa)}throw"Unsupported type "+pa.type}function I(pi,pa){if(!pi)return pi;var Xi=pa||{};h!=null&&Xi.dense==null&&(Xi.dense=h);var Qr=Xi.dense?[]:{},Dn="Sheet1",ai="",Ta=0,si={},ha=[],Ii=[],En={s:{r:0,c:0},e:{r:0,c:0}},Cs=Xi.sheetRows||0;if(pi[2]==0&&((pi[3]==8||pi[3]==9)&&(pi.length>=16&&pi[14]==5&&pi[15]===108)))throw new Error("Unsupported Works 3 for Mac file");if(pi[2]==2)Xi.Enum=Is,b(pi,function(Ro,uc,Eu){switch(Eu){case 0:Xi.vers=Ro,Ro>=4096&&(Xi.qpro=!0);break;case 6:En=Ro;break;case 204:Ro&&(ai=Ro);break;case 222:ai=Ro;break;case 15:case 51:Xi.qpro||(Ro[1].v=Ro[1].v.slice(1));case 13:case 14:case 16:Eu==14&&(Ro[2]&112)==112&&(Ro[2]&15)>1&&(Ro[2]&15)<15&&(Ro[1].z=Xi.dateNF||B._table[14],Xi.cellDates&&(Ro[1].t="d",Ro[1].v=xe(Ro[1].v))),Xi.qpro&&(Ro[3]>Ta&&(Qr["!ref"]=mn(En),si[Dn]=Qr,ha.push(Dn),Qr=Xi.dense?[]:{},En={s:{r:0,c:0},e:{r:0,c:0}},Ta=Ro[3],Dn=ai||"Sheet"+(Ta+1),ai=""));var Hc=Xi.dense?(Qr[Ro[0].r]||[])[Ro[0].c]:Qr[Ka(Ro[0])];if(Hc){Hc.t=Ro[1].t,Hc.v=Ro[1].v,Ro[1].z!=null&&(Hc.z=Ro[1].z),Ro[1].f!=null&&(Hc.f=Ro[1].f);break}Xi.dense?(Qr[Ro[0].r]||(Qr[Ro[0].r]=[]),Qr[Ro[0].r][Ro[0].c]=Ro[1]):Qr[Ka(Ro[0])]=Ro[1];break;default:}},Xi);else if(pi[2]==26||pi[2]==14)Xi.Enum=$a,pi[2]==14&&(Xi.qpro=!0,pi.l=0),b(pi,function(Ro,uc,Eu){switch(Eu){case 204:Dn=Ro;break;case 22:Ro[1].v=Ro[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(Ro[3]>Ta&&(Qr["!ref"]=mn(En),si[Dn]=Qr,ha.push(Dn),Qr=Xi.dense?[]:{},En={s:{r:0,c:0},e:{r:0,c:0}},Ta=Ro[3],Dn="Sheet"+(Ta+1)),Cs>0&&Ro[0].r>=Cs)break;Xi.dense?(Qr[Ro[0].r]||(Qr[Ro[0].r]=[]),Qr[Ro[0].r][Ro[0].c]=Ro[1]):Qr[Ka(Ro[0])]=Ro[1],En.e.c<Ro[0].c&&(En.e.c=Ro[0].c),En.e.r<Ro[0].r&&(En.e.r=Ro[0].r);break;case 27:Ro[14e3]&&(Ii[Ro[14e3][0]]=Ro[14e3][1]);break;case 1537:Ii[Ro[0]]=Ro[1],Ro[0]==Ta&&(Dn=Ro[1]);break;default:break}},Xi);else throw new Error("Unrecognized LOTUS BOF "+pi[2]);if(Qr["!ref"]=mn(En),si[ai||Dn]=Qr,ha.push(ai||Dn),!Ii.length)return{SheetNames:ha,Sheets:si};for(var qa={},gs=[],ns=0;ns<Ii.length;++ns)si[ha[ns]]?(gs.push(Ii[ns]||ha[ns]),qa[Ii[ns]]=si[Ii[ns]]||si[ha[ns]]):(gs.push(Ii[ns]),qa[Ii[ns]]={"!ref":"A1"});return{SheetNames:gs,Sheets:qa}}function H(pi,pa){var Xi=pa||{};if(+Xi.codepage>=0&&l(+Xi.codepage),Xi.type=="string")throw new Error("Cannot write WK1 to JS string");var Qr=Ti(),Dn=$i(pi["!ref"]),ai=Array.isArray(pi),Ta=[];Po(Qr,0,be(1030)),Po(Qr,6,dt(Dn));for(var si=Math.min(Dn.e.r,8191),ha=Dn.s.r;ha<=si;++ha)for(var Ii=hi(ha),En=Dn.s.c;En<=Dn.e.c;++En){ha===Dn.s.r&&(Ta[En]=Fi(En));var Cs=Ta[En]+Ii,qa=ai?(pi[ha]||[])[En]:pi[Cs];if(!qa||qa.t=="z")continue;if(qa.t=="n")(qa.v|0)==qa.v&&qa.v>=-32768&&qa.v<=32767?Po(Qr,13,kr(ha,En,qa.v)):Po(Qr,14,Ar(ha,En,qa.v));else{var gs=La(qa);Po(Qr,15,dr(ha,En,gs.slice(0,239)))}}return Po(Qr,1),Qr.end()}function J(pi,pa){var Xi=pa||{};if(+Xi.codepage>=0&&l(+Xi.codepage),Xi.type=="string")throw new Error("Cannot write WK3 to JS string");var Qr=Ti();Po(Qr,0,ke(pi));for(var Dn=0,ai=0;Dn<pi.SheetNames.length;++Dn)(pi.Sheets[pi.SheetNames[Dn]]||{})["!ref"]&&Po(Qr,27,Qo(pi.SheetNames[Dn],ai++));var Ta=0;for(Dn=0;Dn<pi.SheetNames.length;++Dn){var si=pi.Sheets[pi.SheetNames[Dn]];if(!si||!si["!ref"])continue;for(var ha=$i(si["!ref"]),Ii=Array.isArray(si),En=[],Cs=Math.min(ha.e.r,8191),qa=ha.s.r;qa<=Cs;++qa)for(var gs=hi(qa),ns=ha.s.c;ns<=ha.e.c;++ns){qa===ha.s.r&&(En[ns]=Fi(ns));var Ro=En[ns]+gs,uc=Ii?(si[qa]||[])[ns]:si[Ro];if(!uc||uc.t=="z")continue;if(uc.t=="n")Po(Qr,23,xa(qa,ns,Ta,uc.v));else{var Eu=La(uc);Po(Qr,22,vi(qa,ns,Ta,Eu.slice(0,239)))}}++Ta}return Po(Qr,1),Qr.end()}function be(pi){var pa=Tn(2);return pa.write_shift(2,pi),pa}function ke(pi){var pa=Tn(26);pa.write_shift(2,4096),pa.write_shift(2,4),pa.write_shift(4,0);for(var Xi=0,Qr=0,Dn=0,ai=0;ai<pi.SheetNames.length;++ai){var Ta=pi.SheetNames[ai],si=pi.Sheets[Ta];if(!si||!si["!ref"])continue;++Dn;var ha=Gi(si["!ref"]);Xi<ha.e.r&&(Xi=ha.e.r),Qr<ha.e.c&&(Qr=ha.e.c)}return Xi>8191&&(Xi=8191),pa.write_shift(2,Xi),pa.write_shift(1,Dn),pa.write_shift(1,Qr),pa.write_shift(2,0),pa.write_shift(2,0),pa.write_shift(1,1),pa.write_shift(1,2),pa.write_shift(4,0),pa.write_shift(4,0),pa}function He(pi,pa,Xi){var Qr={s:{c:0,r:0},e:{c:0,r:0}};return pa==8&&Xi.qpro?(Qr.s.c=pi.read_shift(1),pi.l++,Qr.s.r=pi.read_shift(2),Qr.e.c=pi.read_shift(1),pi.l++,Qr.e.r=pi.read_shift(2),Qr):(Qr.s.c=pi.read_shift(2),Qr.s.r=pi.read_shift(2),pa==12&&Xi.qpro&&(pi.l+=2),Qr.e.c=pi.read_shift(2),Qr.e.r=pi.read_shift(2),pa==12&&Xi.qpro&&(pi.l+=2),Qr.s.c==65535&&(Qr.s.c=Qr.e.c=Qr.s.r=Qr.e.r=0),Qr)}function dt(pi){var pa=Tn(8);return pa.write_shift(2,pi.s.c),pa.write_shift(2,pi.s.r),pa.write_shift(2,pi.e.c),pa.write_shift(2,pi.e.r),pa}function Ot(pi,pa,Xi){var Qr=[{c:0,r:0},{t:"n",v:0},0,0];return Xi.qpro&&Xi.vers!=20768?(Qr[0].c=pi.read_shift(1),Qr[3]=pi.read_shift(1),Qr[0].r=pi.read_shift(2),pi.l+=2):(Qr[2]=pi.read_shift(1),Qr[0].c=pi.read_shift(2),Qr[0].r=pi.read_shift(2)),Qr}function Ct(pi,pa,Xi){var Qr=pi.l+pa,Dn=Ot(pi,pa,Xi);if(Dn[1].t="s",Xi.vers==20768){pi.l++;var ai=pi.read_shift(1);return Dn[1].v=pi.read_shift(ai,"utf8"),Dn}return Xi.qpro&&pi.l++,Dn[1].v=pi.read_shift(Qr-pi.l,"cstr"),Dn}function dr(pi,pa,Xi){var Qr=Tn(7+Xi.length);Qr.write_shift(1,255),Qr.write_shift(2,pa),Qr.write_shift(2,pi),Qr.write_shift(1,39);for(var Dn=0;Dn<Qr.length;++Dn){var ai=Xi.charCodeAt(Dn);Qr.write_shift(1,ai>=128?95:ai)}return Qr.write_shift(1,0),Qr}function vr(pi,pa,Xi){var Qr=Ot(pi,pa,Xi);return Qr[1].v=pi.read_shift(2,"i"),Qr}function kr(pi,pa,Xi){var Qr=Tn(7);return Qr.write_shift(1,255),Qr.write_shift(2,pa),Qr.write_shift(2,pi),Qr.write_shift(2,Xi,"i"),Qr}function Ur(pi,pa,Xi){var Qr=Ot(pi,pa,Xi);return Qr[1].v=pi.read_shift(8,"f"),Qr}function Ar(pi,pa,Xi){var Qr=Tn(13);return Qr.write_shift(1,255),Qr.write_shift(2,pa),Qr.write_shift(2,pi),Qr.write_shift(8,Xi,"f"),Qr}function Dr(pi,pa,Xi){var Qr=pi.l+pa,Dn=Ot(pi,pa,Xi);if(Dn[1].v=pi.read_shift(8,"f"),Xi.qpro)pi.l=Qr;else{var ai=pi.read_shift(2);da(pi.slice(pi.l,pi.l+ai),Dn),pi.l+=ai}return Dn}function kn(pi,pa,Xi){var Qr=pa&32768;return pa&=~32768,pa=(Qr?pi:0)+(pa>=8192?pa-16384:pa),(Qr?"":"$")+(Xi?Fi(pa):hi(pa))}var Wn={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},On=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function da(pi,pa){Cn(pi,0);for(var Xi=[],Qr=0,Dn="",ai="",Ta="",si="";pi.l<pi.length;){var ha=pi[pi.l++];switch(ha){case 0:Xi.push(pi.read_shift(8,"f"));break;case 1:ai=kn(pa[0].c,pi.read_shift(2),!0),Dn=kn(pa[0].r,pi.read_shift(2),!1),Xi.push(ai+Dn);break;case 2:{var Ii=kn(pa[0].c,pi.read_shift(2),!0),En=kn(pa[0].r,pi.read_shift(2),!1);ai=kn(pa[0].c,pi.read_shift(2),!0),Dn=kn(pa[0].r,pi.read_shift(2),!1),Xi.push(Ii+En+":"+ai+Dn)}break;case 3:if(pi.l<pi.length){console.error("WK1 premature formula end");return}break;case 4:Xi.push("("+Xi.pop()+")");break;case 5:Xi.push(pi.read_shift(2));break;case 6:{for(var Cs="";ha=pi[pi.l++];)Cs+=String.fromCharCode(ha);Xi.push('"'+Cs.replace(/"/g,'""')+'"')}break;case 8:Xi.push("-"+Xi.pop());break;case 23:Xi.push("+"+Xi.pop());break;case 22:Xi.push("NOT("+Xi.pop()+")");break;case 20:case 21:si=Xi.pop(),Ta=Xi.pop(),Xi.push(["AND","OR"][ha-20]+"("+Ta+","+si+")");break;default:if(ha<32&&On[ha])si=Xi.pop(),Ta=Xi.pop(),Xi.push(Ta+On[ha]+si);else if(Wn[ha]){if(Qr=Wn[ha][1],Qr==69&&(Qr=pi[pi.l++]),Qr>Xi.length){console.error("WK1 bad formula parse 0x"+ha.toString(16)+":|"+Xi.join("|")+"|");return}var qa=Xi.slice(-Qr);Xi.length-=Qr,Xi.push(Wn[ha][0]+"("+qa.join(",")+")")}else return ha<=7?console.error("WK1 invalid opcode "+ha.toString(16)):ha<=24?console.error("WK1 unsupported op "+ha.toString(16)):ha<=30?console.error("WK1 invalid opcode "+ha.toString(16)):ha<=115?console.error("WK1 unsupported function opcode "+ha.toString(16)):console.error("WK1 unrecognized opcode "+ha.toString(16))}}Xi.length==1?pa[1].f=""+Xi[0]:console.error("WK1 bad formula parse |"+Xi.join("|")+"|")}function Ba(pi){var pa=[{c:0,r:0},{t:"n",v:0},0];return pa[0].r=pi.read_shift(2),pa[3]=pi[pi.l++],pa[0].c=pi[pi.l++],pa}function Bi(pi,pa){var Xi=Ba(pi,pa);return Xi[1].t="s",Xi[1].v=pi.read_shift(pa-4,"cstr"),Xi}function vi(pi,pa,Xi,Qr){var Dn=Tn(6+Qr.length);Dn.write_shift(2,pi),Dn.write_shift(1,Xi),Dn.write_shift(1,pa),Dn.write_shift(1,39);for(var ai=0;ai<Qr.length;++ai){var Ta=Qr.charCodeAt(ai);Dn.write_shift(1,Ta>=128?95:Ta)}return Dn.write_shift(1,0),Dn}function _a(pi,pa){var Xi=Ba(pi,pa);Xi[1].v=pi.read_shift(2);var Qr=Xi[1].v>>1;if(Xi[1].v&1)switch(Qr&7){case 0:Qr=(Qr>>3)*5e3;break;case 1:Qr=(Qr>>3)*500;break;case 2:Qr=(Qr>>3)/20;break;case 3:Qr=(Qr>>3)/200;break;case 4:Qr=(Qr>>3)/2e3;break;case 5:Qr=(Qr>>3)/2e4;break;case 6:Qr=(Qr>>3)/16;break;case 7:Qr=(Qr>>3)/64;break}return Xi[1].v=Qr,Xi}function na(pi,pa){var Xi=Ba(pi,pa),Qr=pi.read_shift(4),Dn=pi.read_shift(4),ai=pi.read_shift(2);if(ai==65535)return Qr===0&&Dn===3221225472?(Xi[1].t="e",Xi[1].v=15):Qr===0&&Dn===3489660928?(Xi[1].t="e",Xi[1].v=42):Xi[1].v=0,Xi;var Ta=ai&32768;return ai=(ai&32767)-16446,Xi[1].v=(1-Ta*2)*(Dn*Math.pow(2,ai+32)+Qr*Math.pow(2,ai)),Xi}function xa(pi,pa,Xi,Qr){var Dn=Tn(14);if(Dn.write_shift(2,pi),Dn.write_shift(1,Xi),Dn.write_shift(1,pa),Qr==0)return Dn.write_shift(4,0),Dn.write_shift(4,0),Dn.write_shift(2,65535),Dn;var ai=0,Ta=0,si=0,ha=0;return Qr<0&&(ai=1,Qr=-Qr),Ta=Math.log2(Qr)|0,Qr/=Math.pow(2,Ta-31),ha=Qr>>>0,(ha&2147483648)==0&&(Qr/=2,++Ta,ha=Qr>>>0),Qr-=ha,ha|=2147483648,ha>>>=0,Qr*=Math.pow(2,32),si=Qr>>>0,Dn.write_shift(4,si),Dn.write_shift(4,ha),Ta+=16383+(ai?32768:0),Dn.write_shift(2,Ta),Dn}function Fa(pi,pa){var Xi=na(pi,14);return pi.l+=pa-14,Xi}function Yi(pi,pa){var Xi=Ba(pi,pa),Qr=pi.read_shift(4);return Xi[1].v=Qr>>6,Xi}function go(pi,pa){var Xi=Ba(pi,pa),Qr=pi.read_shift(8,"f");return Xi[1].v=Qr,Xi}function Jo(pi,pa){var Xi=go(pi,14);return pi.l+=pa-10,Xi}function Uo(pi,pa){return pi[pi.l+pa-1]==0?pi.read_shift(pa,"cstr"):""}function ms(pi,pa){var Xi=pi[pi.l++];Xi>pa-1&&(Xi=pa-1);for(var Qr="";Qr.length<Xi;)Qr+=String.fromCharCode(pi[pi.l++]);return Qr}function Ss(pi,pa,Xi){if(!Xi.qpro||pa<21)return;var Qr=pi.read_shift(1);pi.l+=17,pi.l+=1,pi.l+=2;var Dn=pi.read_shift(pa-21,"cstr");return[Qr,Dn]}function Bl(pi,pa){for(var Xi={},Qr=pi.l+pa;pi.l<Qr;){var Dn=pi.read_shift(2);if(Dn==14e3){for(Xi[Dn]=[0,""],Xi[Dn][0]=pi.read_shift(2);pi[pi.l];)Xi[Dn][1]+=String.fromCharCode(pi[pi.l]),pi.l++;pi.l++}}return Xi}function Qo(pi,pa){var Xi=Tn(5+pi.length);Xi.write_shift(2,14e3),Xi.write_shift(2,pa);for(var Qr=0;Qr<pi.length;++Qr){var Dn=pi.charCodeAt(Qr);Xi[Xi.l++]=Dn>127?95:Dn}return Xi[Xi.l++]=0,Xi}var Is={0:{n:"BOF",f:Gs},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:He},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:vr},14:{n:"NUMBER",f:Ur},15:{n:"LABEL",f:Ct},16:{n:"FORMULA",f:Dr},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:Ct},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:Uo},222:{n:"SHEETNAMELP",f:ms},65535:{n:""}},$a={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:Bi},23:{n:"NUMBER17",f:na},24:{n:"NUMBER18",f:_a},25:{n:"FORMULA19",f:Fa},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:Bl},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:Yi},38:{n:"??"},39:{n:"NUMBER27",f:go},40:{n:"FORMULA28",f:Jo},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:Uo},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:Ss},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:H,book_to_wk3:J,to_workbook:N}}();function $d(b){var N={},I=b.match(yr),H=0,J=!1;if(I)for(;H!=I.length;++H){var be=ur(I[H]);switch(be[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!be.val)break;case"<shadow>":case"<shadow/>":N.shadow=1;break;case"</shadow>":break;case"<charset":if(be.val=="1")break;N.cp=v[parseInt(be.val,10)];break;case"<outline":if(!be.val)break;case"<outline>":case"<outline/>":N.outline=1;break;case"</outline>":break;case"<rFont":N.name=be.val;break;case"<sz":N.sz=be.val;break;case"<strike":if(!be.val)break;case"<strike>":case"<strike/>":N.strike=1;break;case"</strike>":break;case"<u":if(!be.val)break;switch(be.val){case"double":N.uval="double";break;case"singleAccounting":N.uval="single-accounting";break;case"doubleAccounting":N.uval="double-accounting";break}case"<u>":case"<u/>":N.u=1;break;case"</u>":break;case"<b":if(be.val=="0")break;case"<b>":case"<b/>":N.b=1;break;case"</b>":break;case"<i":if(be.val=="0")break;case"<i>":case"<i/>":N.i=1;break;case"</i>":break;case"<color":be.rgb&&(N.color=be.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":N.family=be.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":N.valign=be.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":break;case"<scheme":break;case"<scheme>":case"<scheme/>":case"</scheme>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":J=!0;break;case"</ext>":J=!1;break;default:if(be[0].charCodeAt(1)!==47&&!J)throw new Error("Unrecognized rich format "+be[0])}}return N}var Wd=function(){var b=Zr("t"),N=Zr("rPr");function I(be){var ke=be.match(b);if(!ke)return{t:"s",v:""};var He={t:"s",v:lr(ke[1])},dt=be.match(N);return dt&&(He.s=$d(dt[1])),He}var H=/<(?:\w+:)?r>/g,J=/<\/(?:\w+:)?r>/;return function(ke){return ke.replace(H,"").split(J).map(I).filter(function(He){return He.v})}}(),zd=function(){var N=/(\r\n|\n)/g;function I(J,be,ke){var He=[];J.u&&He.push("text-decoration: underline;"),J.uval&&He.push("text-underline-style:"+J.uval+";"),J.sz&&He.push("font-size:"+J.sz+"pt;"),J.outline&&He.push("text-effect: outline;"),J.shadow&&He.push("text-shadow: auto;"),be.push('<span style="'+He.join("")+'">'),J.b&&(be.push("<b>"),ke.push("</b>")),J.i&&(be.push("<i>"),ke.push("</i>")),J.strike&&(be.push("<s>"),ke.push("</s>"));var dt=J.valign||"";return dt=="superscript"||dt=="super"?dt="sup":dt=="subscript"&&(dt="sub"),dt!=""&&(be.push("<"+dt+">"),ke.push("</"+dt+">")),ke.push("</span>"),J}function H(J){var be=[[],J.v,[]];return J.v?(J.s&&I(J.s,be[0],be[2]),be[0].join("")+be[1].replace(N,"<br/>")+be[2].join("")):""}return function(be){return be.map(H).join("")}}(),mu=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Nd=/<(?:\w+:)?r>/,gd=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Ad(b,N){var I=N?N.cellHTML:!0,H={};return b?(b.match(/^\s*<(?:\w+:)?t[^>]*>/)?(H.t=lr(Ye(b.slice(b.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),H.r=Ye(b),I&&(H.h=di(H.t))):b.match(Nd)&&(H.r=Ye(b),H.t=lr(Ye((b.replace(gd,"").match(mu)||[]).join("").replace(yr,""))),I&&(H.h=zd(Wd(H.r)))),H):{t:""}}var Md=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Dd=/<(?:\w+:)?(?:si|sstItem)>/g,ed=/<\/(?:\w+:)?(?:si|sstItem)>/;function Rd(b,N){var I=[],H="";if(!b)return I;var J=b.match(Md);if(J){H=J[2].replace(Dd,"").split(ed);for(var be=0;be!=H.length;++be){var ke=Ad(H[be].trim(),N);ke!=null&&(I[I.length]=ke)}J=ur(J[1]),I.Count=J.count,I.Unique=J.uniqueCount}return I}var gu=/^\s|\s$|[\t\n\r]/;function Nu(b,N){if(!N.bookSST)return"";var I=[mt];I[I.length]=Rt("sst",null,{xmlns:hn[0],count:b.Count,uniqueCount:b.Unique});for(var H=0;H!=b.length;++H){if(b[H]==null)continue;var J=b[H],be="<si>";J.r?be+=J.r:(be+="<t",J.t||(J.t=""),J.t.match(gu)&&(be+=' xml:space="preserve"'),be+=">"+xr(J.t)+"</t>"),be+="</si>",I[I.length]=be}return I.length>2&&(I[I.length]="</sst>",I[1]=I[1].replace("/>",">")),I.join("")}function Ee(b){return[b.read_shift(4),b.read_shift(4)]}function Qe(b,N){var I=[],H=!1;return oa(b,function(be,ke,He){switch(He){case 159:I.Count=be[0],I.Unique=be[1];break;case 19:I.push(be);break;case 160:return!0;case 35:H=!0;break;case 36:H=!1;break;default:if(ke.T,!H||N.WTF)throw new Error("Unexpected record 0x"+He.toString(16))}}),I}function xt(b,N){return N||(N=Tn(8)),N.write_shift(4,b.Count),N.write_shift(4,b.Unique),N}var Jt=en;function Tr(b){var N=Ti();li(N,159,xt(b));for(var I=0;I<b.length;++I)li(N,19,Jt(b[I]));return li(N,160),N.end()}function Vr(b){if(typeof o!="undefined")return o.utils.encode(E,b);for(var N=[],I=b.split(""),H=0;H<I.length;++H)N[H]=I[H].charCodeAt(0);return N}function Fe(b,N){var I={};return I.Major=b.read_shift(2),I.Minor=b.read_shift(2),N>=4&&(b.l+=N-4),I}function se(b){var N={};return N.id=b.read_shift(0,"lpp4"),N.R=Fe(b,4),N.U=Fe(b,4),N.W=Fe(b,4),N}function Ie(b){for(var N=b.read_shift(4),I=b.l+N-4,H={},J=b.read_shift(4),be=[];J-- >0;)be.push({t:b.read_shift(4),v:b.read_shift(0,"lpp4")});if(H.name=b.read_shift(0,"lpp4"),H.comps=be,b.l!=I)throw new Error("Bad DataSpaceMapEntry: "+b.l+" != "+I);return H}function Je(b){var N=[];b.l+=4;for(var I=b.read_shift(4);I-- >0;)N.push(Ie(b));return N}function pt(b){var N=[];b.l+=4;for(var I=b.read_shift(4);I-- >0;)N.push(b.read_shift(0,"lpp4"));return N}function kt(b){var N={};return b.read_shift(4),b.l+=4,N.id=b.read_shift(0,"lpp4"),N.name=b.read_shift(0,"lpp4"),N.R=Fe(b,4),N.U=Fe(b,4),N.W=Fe(b,4),N}function Wt(b){var N=kt(b);if(N.ename=b.read_shift(0,"8lpp4"),N.blksz=b.read_shift(4),N.cmode=b.read_shift(4),b.read_shift(4)!=4)throw new Error("Bad !Primary record");return N}function Kt(b,N){var I=b.l+N,H={};H.Flags=b.read_shift(4)&63,b.l+=4,H.AlgID=b.read_shift(4);var J=!1;switch(H.AlgID){case 26126:case 26127:case 26128:J=H.Flags==36;break;case 26625:J=H.Flags==4;break;case 0:J=H.Flags==16||H.Flags==4||H.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+H.AlgID}if(!J)throw new Error("Encryption Flags/AlgID mismatch");return H.AlgIDHash=b.read_shift(4),H.KeySize=b.read_shift(4),H.ProviderType=b.read_shift(4),b.l+=8,H.CSPName=b.read_shift(I-b.l>>1,"utf16le"),b.l=I,H}function Mr(b,N){var I={},H=b.l+N;return b.l+=4,I.Salt=b.slice(b.l,b.l+16),b.l+=16,I.Verifier=b.slice(b.l,b.l+16),b.l+=16,b.read_shift(4),I.VerifierHash=b.slice(b.l,H),b.l=H,I}function Kr(b){var N=Fe(b);switch(N.Minor){case 2:return[N.Minor,Ir(b,N)];case 3:return[N.Minor,Er(b,N)];case 4:return[N.Minor,zr(b,N)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+N.Minor)}function Ir(b){var N=b.read_shift(4);if((N&63)!=36)throw new Error("EncryptionInfo mismatch");var I=b.read_shift(4),H=Kt(b,I),J=Mr(b,b.length-b.l);return{t:"Std",h:H,v:J}}function Er(){throw new Error("File is password-protected: ECMA-376 Extensible")}function zr(b){var N=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];b.l+=4;var I=b.read_shift(b.length-b.l,"utf8"),H={};return I.replace(yr,function(be){var ke=ur(be);switch(zt(ke[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":N.forEach(function(He){H[He]=ke[He]});break;case"<dataIntegrity":H.encryptedHmacKey=ke.encryptedHmacKey,H.encryptedHmacValue=ke.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":H.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":H.uri=ke.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":H.encs.push(ke);break;default:throw ke[0]}}),H}function qr(b,N){var I={},H=I.EncryptionVersionInfo=Fe(b,4);if(N-=4,H.Minor!=2)throw new Error("unrecognized minor version code: "+H.Minor);if(H.Major>4||H.Major<2)throw new Error("unrecognized major version code: "+H.Major);I.Flags=b.read_shift(4),N-=4;var J=b.read_shift(4);return N-=4,I.EncryptionHeader=Kt(b,J),N-=J,I.EncryptionVerifier=Mr(b,N),I}function Nn(b){var N={},I=N.EncryptionVersionInfo=Fe(b,4);if(I.Major!=1||I.Minor!=1)throw"unrecognized version code "+I.Major+" : "+I.Minor;return N.Salt=b.read_shift(16),N.EncryptedVerifier=b.read_shift(16),N.EncryptedVerifierHash=b.read_shift(16),N}function wi(b){var N=0,I,H=Vr(b),J=H.length+1,be,ke,He,dt,Ot;for(I=T(J),I[0]=H.length,be=1;be!=J;++be)I[be]=H[be-1];for(be=J-1;be>=0;--be)ke=I[be],He=(N&16384)===0?0:1,dt=N<<1&32767,Ot=He|dt,N=Ot^ke;return N^52811}var Ki=function(){var b=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],N=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],I=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],H=function(He){return(He/2|He*128)&255},J=function(He,dt){return H(He^dt)},be=function(He){for(var dt=N[He.length-1],Ot=104,Ct=He.length-1;Ct>=0;--Ct)for(var dr=He[Ct],vr=0;vr!=7;++vr)dr&64&&(dt^=I[Ot]),dr*=2,--Ot;return dt};return function(ke){for(var He=Vr(ke),dt=be(He),Ot=He.length,Ct=T(16),dr=0;dr!=16;++dr)Ct[dr]=0;var vr,kr,Ur;for((Ot&1)===1&&(vr=dt>>8,Ct[Ot]=J(b[0],vr),--Ot,vr=dt&255,kr=He[He.length-1],Ct[Ot]=J(kr,vr));Ot>0;)--Ot,vr=dt>>8,Ct[Ot]=J(He[Ot],vr),--Ot,vr=dt&255,Ct[Ot]=J(He[Ot],vr);for(Ot=15,Ur=15-He.length;Ur>0;)vr=dt>>8,Ct[Ot]=J(b[Ur],vr),--Ot,--Ur,vr=dt&255,Ct[Ot]=J(He[Ot],vr),--Ot,--Ur;return Ct}}(),Oa=function(N,I,H,J,be){be||(be=I),J||(J=Ki(N));var ke,He;for(ke=0;ke!=I.length;++ke)He=I[ke],He^=J[H],He=(He>>5|He<<3)&255,be[ke]=He,++H;return[be,H,J]},ta=function(N){var I=0,H=Ki(N);return function(J){var be=Oa("",J,I,H);return I=be[1],be[0]}};function _o(b,N,I,H){var J={key:Gs(b),verificationBytes:Gs(b)};return I.password&&(J.verifier=wi(I.password)),H.valid=J.verificationBytes===J.verifier,H.valid&&(H.insitu=ta(I.password)),J}function Wa(b,N,I){var H=I||{};return H.Info=b.read_shift(2),b.l-=2,H.Info===1?H.Data=Nn(b,N):H.Data=qr(b,N),H}function Ko(b,N,I){var H={Type:I.biff>=8?b.read_shift(2):0};return H.Type?Wa(b,N-2,H):_o(b,I.biff>=8?N:N-2,I,H),H}var Lo=function(){function b(J,be){switch(be.type){case"base64":return N(A.decode(J),be);case"binary":return N(J,be);case"buffer":return N(w&&Buffer.isBuffer(J)?J.toString("binary"):L(J),be);case"array":return N(ve(J),be)}throw new Error("Unrecognized type "+be.type)}function N(J,be){var ke=be||{},He=ke.dense?[]:{},dt=J.match(/\\trowd.*?\\row\b/g);if(!dt.length)throw new Error("RTF missing table");var Ot={s:{c:0,r:0},e:{c:0,r:dt.length-1}};return dt.forEach(function(Ct,dr){Array.isArray(He)&&(He[dr]=[]);for(var vr=/\\\w+\b/g,kr=0,Ur,Ar=-1;Ur=vr.exec(Ct);){switch(Ur[0]){case"\\cell":var Dr=Ct.slice(kr,vr.lastIndex-Ur[0].length);if(Dr[0]==" "&&(Dr=Dr.slice(1)),++Ar,Dr.length){var kn={v:Dr,t:"s"};Array.isArray(He)?He[dr][Ar]=kn:He[Ka({r:dr,c:Ar})]=kn}break}kr=vr.lastIndex}Ar>Ot.e.c&&(Ot.e.c=Ar)}),He["!ref"]=mn(Ot),He}function I(J,be){return ao(b(J,be),be)}function H(J){for(var be=["{\\rtf1\\ansi"],ke=$i(J["!ref"]),He,dt=Array.isArray(J),Ot=ke.s.r;Ot<=ke.e.r;++Ot){be.push("\\trowd\\trautofit1");for(var Ct=ke.s.c;Ct<=ke.e.c;++Ct)be.push("\\cellx"+(Ct+1));for(be.push("\\pard\\intbl"),Ct=ke.s.c;Ct<=ke.e.c;++Ct){var dr=Ka({r:Ot,c:Ct});if(He=dt?(J[Ot]||[])[Ct]:J[dr],!He||He.v==null&&(!He.f||He.F))continue;be.push(" "+(He.w||(La(He),He.w))),be.push("\\cell")}be.push("\\pard\\intbl\\row")}return be.join("")+"}"}return{to_workbook:I,to_sheet:b,from_sheet:H}}();function ds(b){var N=b.slice(b[0]==="#"?1:0).slice(0,6);return[parseInt(N.slice(0,2),16),parseInt(N.slice(2,4),16),parseInt(N.slice(4,6),16)]}function Rs(b){for(var N=0,I=1;N!=3;++N)I=I*256+(b[N]>255?255:b[N]<0?0:b[N]);return I.toString(16).toUpperCase().slice(1)}function M(b){var N=b[0]/255,I=b[1]/255,H=b[2]/255,J=Math.max(N,I,H),be=Math.min(N,I,H),ke=J-be;if(ke===0)return[0,0,N];var He=0,dt=0,Ot=J+be;dt=ke/(Ot>1?2-Ot:Ot);switch(J){case N:He=((I-H)/ke+6)%6;break;case I:He=(H-N)/ke+2;break;case H:He=(N-I)/ke+4;break}return[He/6,dt,Ot/2]}function P(b){var N=b[0],I=b[1],H=b[2],J=I*2*(H<.5?H:1-H),be=H-J/2,ke=[be,be,be],He=6*N,dt;if(I!==0)switch(He|0){case 0:case 6:dt=J*He,ke[0]+=J,ke[1]+=dt;break;case 1:dt=J*(2-He),ke[0]+=dt,ke[1]+=J;break;case 2:dt=J*(He-2),ke[1]+=J,ke[2]+=dt;break;case 3:dt=J*(4-He),ke[1]+=dt,ke[2]+=J;break;case 4:dt=J*(He-4),ke[2]+=J,ke[0]+=dt;break;case 5:dt=J*(6-He),ke[2]+=dt,ke[0]+=J;break}for(var Ot=0;Ot!=3;++Ot)ke[Ot]=Math.round(ke[Ot]*255);return ke}function ae(b,N){if(N===0)return b;var I=M(ds(b));return N<0?I[2]=I[2]*(1+N):I[2]=1-(1-I[2])*(1-N),Rs(P(I))}var le=6,pe=15,Ve=1,yt=le;function Ut(b){return Math.floor((b+Math.round(128/yt)/256)*yt)}function sr(b){return Math.floor((b-5)/yt*100+.5)/100}function fr(b){return Math.round((b*yt+5)/yt*256)/256}function xn(b){return fr(sr(Ut(b)))}function jn(b){var N=Math.abs(b-xn(b)),I=yt;if(N>.005)for(yt=Ve;yt<pe;++yt)Math.abs(b-xn(b))<=N&&(N=Math.abs(b-xn(b)),I=yt);yt=I}function gi(b){b.width?(b.wpx=Ut(b.width),b.wch=sr(b.wpx),b.MDW=yt):b.wpx?(b.wch=sr(b.wpx),b.width=fr(b.wch),b.MDW=yt):typeof b.wch=="number"&&(b.width=fr(b.wch),b.wpx=Ut(b.width),b.MDW=yt),b.customWidth&&delete b.customWidth}var Si=96,la=Si;function Ua(b){return b*96/la}function eo(b){return b*la/96}var no={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function to(b,N,I,H){N.Borders=[];var J={},be=!1;(b[0].match(yr)||[]).forEach(function(ke){var He=ur(ke);switch(zt(He[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":J={},He.diagonalUp&&(J.diagonalUp=Ue(He.diagonalUp)),He.diagonalDown&&(J.diagonalDown=Ue(He.diagonalDown)),N.Borders.push(J);break;case"</border>":break;case"<left/>":break;case"<left":case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":case"<bottom>":break;case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":break;case"</vertical>":break;case"<start":case"<start>":case"<start/>":break;case"</start>":break;case"<end":case"<end>":case"<end/>":break;case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":be=!0;break;case"</ext>":be=!1;break;default:if(H&&H.WTF&&!be)throw new Error("unrecognized "+He[0]+" in borders")}})}function So(b,N,I,H){N.Fills=[];var J={},be=!1;(b[0].match(yr)||[]).forEach(function(ke){var He=ur(ke);switch(zt(He[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":J={},N.Fills.push(J);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":N.Fills.push(J),J={};break;case"<patternFill":case"<patternFill>":He.patternType&&(J.patternType=He.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":J.bgColor||(J.bgColor={}),He.indexed&&(J.bgColor.indexed=parseInt(He.indexed,10)),He.theme&&(J.bgColor.theme=parseInt(He.theme,10)),He.tint&&(J.bgColor.tint=parseFloat(He.tint)),He.rgb&&(J.bgColor.rgb=He.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":J.fgColor||(J.fgColor={}),He.theme&&(J.fgColor.theme=parseInt(He.theme,10)),He.tint&&(J.fgColor.tint=parseFloat(He.tint)),He.rgb!=null&&(J.fgColor.rgb=He.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":break;case"</stop>":break;case"<color":case"<color/>":break;case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":be=!0;break;case"</ext>":be=!1;break;default:if(H&&H.WTF&&!be)throw new Error("unrecognized "+He[0]+" in fills")}})}function Do(b,N,I,H){N.Fonts=[];var J={},be=!1;(b[0].match(yr)||[]).forEach(function(ke){var He=ur(ke);switch(zt(He[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":N.Fonts.push(J),J={};break;case"<name":He.val&&(J.name=Ye(He.val));break;case"<name/>":case"</name>":break;case"<b":J.bold=He.val?Ue(He.val):1;break;case"<b/>":J.bold=1;break;case"<i":J.italic=He.val?Ue(He.val):1;break;case"<i/>":J.italic=1;break;case"<u":switch(He.val){case"none":J.underline=0;break;case"single":J.underline=1;break;case"double":J.underline=2;break;case"singleAccounting":J.underline=33;break;case"doubleAccounting":J.underline=34;break}break;case"<u/>":J.underline=1;break;case"<strike":J.strike=He.val?Ue(He.val):1;break;case"<strike/>":J.strike=1;break;case"<outline":J.outline=He.val?Ue(He.val):1;break;case"<outline/>":J.outline=1;break;case"<shadow":J.shadow=He.val?Ue(He.val):1;break;case"<shadow/>":J.shadow=1;break;case"<condense":J.condense=He.val?Ue(He.val):1;break;case"<condense/>":J.condense=1;break;case"<extend":J.extend=He.val?Ue(He.val):1;break;case"<extend/>":J.extend=1;break;case"<sz":He.val&&(J.sz=+He.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":He.val&&(J.vertAlign=He.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":He.val&&(J.family=parseInt(He.val,10));break;case"<family/>":case"</family>":break;case"<scheme":He.val&&(J.scheme=He.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if(He.val=="1")break;He.codepage=v[parseInt(He.val,10)];break;case"<color":if(J.color||(J.color={}),He.auto&&(J.color.auto=Ue(He.auto)),He.rgb)J.color.rgb=He.rgb.slice(-6);else if(He.indexed){J.color.index=parseInt(He.indexed,10);var dt=To[J.color.index];J.color.index==81&&(dt=To[1]),dt||(dt=To[1]),J.color.rgb=dt[0].toString(16)+dt[1].toString(16)+dt[2].toString(16)}else He.theme&&(J.color.theme=parseInt(He.theme,10),He.tint&&(J.color.tint=parseFloat(He.tint)),He.theme&&I.themeElements&&I.themeElements.clrScheme&&(J.color.rgb=ae(I.themeElements.clrScheme[J.color.theme].rgb,J.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":be=!0;break;case"</AlternateContent>":be=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":be=!0;break;case"</ext>":be=!1;break;default:if(H&&H.WTF&&!be)throw new Error("unrecognized "+He[0]+" in fonts")}})}function xs(b,N,I){N.NumberFmt=[];for(var H=We(B._table),J=0;J<H.length;++J)N.NumberFmt[H[J]]=B._table[H[J]];var be=b[0].match(yr);if(!be)return;for(J=0;J<be.length;++J){var ke=ur(be[J]);switch(zt(ke[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":{var He=lr(Ye(ke.formatCode)),dt=parseInt(ke.numFmtId,10);if(N.NumberFmt[dt]=He,dt>0){if(dt>392){for(dt=392;dt>60&&!(N.NumberFmt[dt]==null);--dt);N.NumberFmt[dt]=He}B.load(He,dt)}}break;case"</numFmt>":break;default:if(I.WTF)throw new Error("unrecognized "+ke[0]+" in numFmts")}}}function os(b){var N=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(I){for(var H=I[0];H<=I[1];++H)b[H]!=null&&(N[N.length]=Rt("numFmt",null,{numFmtId:H,formatCode:xr(b[H])}))}),N.length===1?"":(N[N.length]="</numFmts>",N[0]=Rt("numFmts",null,{count:N.length-2}).replace("/>",">"),N.join(""))}var js=["numFmtId","fillId","fontId","borderId","xfId"],cl=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function co(b,N,I){N.CellXf=[];var H,J=!1;(b[0].match(yr)||[]).forEach(function(be){var ke=ur(be),He=0;switch(zt(ke[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(H=ke,delete H[0],He=0;He<js.length;++He)H[js[He]]&&(H[js[He]]=parseInt(H[js[He]],10));for(He=0;He<cl.length;++He)H[cl[He]]&&(H[cl[He]]=Ue(H[cl[He]]));if(N.NumberFmt&&H.numFmtId>392){for(He=392;He>60;--He)if(N.NumberFmt[H.numFmtId]==N.NumberFmt[He]){H.numFmtId=He;break}}N.CellXf.push(H);break;case"</xf>":break;case"<alignment":case"<alignment/>":var dt={};ke.vertical&&(dt.vertical=ke.vertical),ke.horizontal&&(dt.horizontal=ke.horizontal),ke.textRotation!=null&&(dt.textRotation=ke.textRotation),ke.indent&&(dt.indent=ke.indent),ke.wrapText&&(dt.wrapText=Ue(ke.wrapText)),H.alignment=dt;break;case"</alignment>":break;case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":J=!0;break;case"</AlternateContent>":J=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":J=!0;break;case"</ext>":J=!1;break;default:if(I&&I.WTF&&!J)throw new Error("unrecognized "+ke[0]+" in cellXfs")}})}function yl(b){var N=[];return N[N.length]=Rt("cellXfs",null),b.forEach(function(I){N[N.length]=Rt("xf",null,I)}),N[N.length]="</cellXfs>",N.length===2?"":(N[0]=Rt("cellXfs",null,{count:N.length-2}).replace("/>",">"),N.join(""))}var oc=function(){var N=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,I=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,H=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,J=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,be=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(He,dt,Ot){var Ct={};if(!He)return Ct;He=He.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var dr;return(dr=He.match(N))&&xs(dr,Ct,Ot),(dr=He.match(J))&&Do(dr,Ct,dt,Ot),(dr=He.match(H))&&So(dr,Ct,dt,Ot),(dr=He.match(be))&&to(dr,Ct,dt,Ot),(dr=He.match(I))&&co(dr,Ct,Ot),Ct}}();function jl(b,N){var I=[mt,Rt("styleSheet",null,{xmlns:hn[0],"xmlns:vt":br.vt})],H;return b.SSF&&(H=os(b.SSF))!=null&&(I[I.length]=H),I[I.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',I[I.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',I[I.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',I[I.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(H=yl(N.cellXfs))&&(I[I.length]=H),I[I.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',I[I.length]='<dxfs count="0"/>',I[I.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',I.length>2&&(I[I.length]="</styleSheet>",I[1]=I[1].replace("/>",">")),I.join("")}function sc(b,N){var I=b.read_shift(2),H=tt(b,N-2);return[I,H]}function Zs(b,N,I){I||(I=Tn(6+4*N.length)),I.write_shift(2,b),Ft(N,I);var H=I.length>I.l?I.slice(0,I.l):I;return I.l==null&&(I.l=I.length),H}function rl(b,N,I){var H={};H.sz=b.read_shift(2)/20;var J=$r(b,2,I);J.fItalic&&(H.italic=1),J.fCondense&&(H.condense=1),J.fExtend&&(H.extend=1),J.fShadow&&(H.shadow=1),J.fOutline&&(H.outline=1),J.fStrikeout&&(H.strike=1);var be=b.read_shift(2);be===700&&(H.bold=1);switch(b.read_shift(2)){case 1:H.vertAlign="superscript";break;case 2:H.vertAlign="subscript";break}var ke=b.read_shift(1);ke!=0&&(H.underline=ke);var He=b.read_shift(1);He>0&&(H.family=He);var dt=b.read_shift(1);dt>0&&(H.charset=dt),b.l++,H.color=za(b,8);switch(b.read_shift(1)){case 1:H.scheme="major";break;case 2:H.scheme="minor";break}return H.name=tt(b,N-21),H}function tc(b,N){N||(N=Tn(25+4*32)),N.write_shift(2,b.sz*20),vn(b,N),N.write_shift(2,b.bold?700:400);var I=0;b.vertAlign=="superscript"?I=1:b.vertAlign=="subscript"&&(I=2),N.write_shift(2,I),N.write_shift(1,b.underline||0),N.write_shift(1,b.family||0),N.write_shift(1,b.charset||0),N.write_shift(1,0),Or(b.color,N);var H=0;return b.scheme=="major"&&(H=1),b.scheme=="minor"&&(H=2),N.write_shift(1,H),Ft(b.name,N),N.length>N.l?N.slice(0,N.l):N}var lc=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Ml,zc=ki;function Au(b,N){N||(N=Tn(4*3+8*7+16*1)),Ml||(Ml=je(lc));var I=Ml[b.patternType];I==null&&(I=40),N.write_shift(4,I);var H=0;if(I!=40)for(Or({auto:1},N),Or({auto:1},N);H<12;++H)N.write_shift(4,0);else{for(;H<4;++H)N.write_shift(4,0);for(;H<12;++H)N.write_shift(4,0)}return N.length>N.l?N.slice(0,N.l):N}function vu(b,N){var I=b.l+N,H=b.read_shift(2),J=b.read_shift(2);return b.l=I,{ixfe:H,numFmtId:J}}function rc(b,N,I){I||(I=Tn(16)),I.write_shift(2,N||0),I.write_shift(2,b.numFmtId||0),I.write_shift(2,0),I.write_shift(2,0),I.write_shift(2,0),I.write_shift(1,0),I.write_shift(1,0);var H=0;return I.write_shift(1,H),I.write_shift(1,0),I.write_shift(1,0),I.write_shift(1,0),I}function Kc(b,N){return N||(N=Tn(10)),N.write_shift(1,0),N.write_shift(1,0),N.write_shift(4,0),N.write_shift(4,0),N}var _c=ki;function Kd(b,N){return N||(N=Tn(51)),N.write_shift(1,0),Kc(null,N),Kc(null,N),Kc(null,N),Kc(null,N),Kc(null,N),N.length>N.l?N.slice(0,N.l):N}function bu(b,N){return N||(N=Tn(12+4*10)),N.write_shift(4,b.xfId),N.write_shift(2,1),N.write_shift(1,+b.builtinId),N.write_shift(1,0),Ci(b.name||"",N),N.length>N.l?N.slice(0,N.l):N}function uu(b,N,I){var H=Tn(4+256*2*4);return H.write_shift(4,b),Ci(N,H),Ci(I,H),H.length>H.l?H.slice(0,H.l):H}function Mu(b,N,I){var H={};H.NumberFmt=[];for(var J in B._table)H.NumberFmt[J]=B._table[J];H.CellXf=[],H.Fonts=[];var be=[],ke=!1;return oa(b,function(dt,Ot,Ct){switch(Ct){case 44:H.NumberFmt[dt[0]]=dt[1],B.load(dt[1],dt[0]);break;case 43:H.Fonts.push(dt),dt.color.theme!=null&&N&&N.themeElements&&N.themeElements.clrScheme&&(dt.color.rgb=ae(N.themeElements.clrScheme[dt.color.theme].rgb,dt.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:be[be.length-1]==617&&H.CellXf.push(dt);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:ke=!0;break;case 36:ke=!1;break;case 37:be.push(Ct),ke=!0;break;case 38:be.pop(),ke=!1;break;default:if(Ot.T>0)be.push(Ct);else if(Ot.T<0)be.pop();else if(!ke||I.WTF&&be[be.length-1]!=37)throw new Error("Unexpected record 0x"+Ct.toString(16))}}),H}function kc(b,N){if(!N)return;var I=0;if([[5,8],[23,26],[41,44],[50,392]].forEach(function(H){for(var J=H[0];J<=H[1];++J)N[J]!=null&&++I}),I==0)return;li(b,615,Bn(I)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(H){for(var J=H[0];J<=H[1];++J)N[J]!=null&&li(b,44,Zs(J,N[J]))}),li(b,616)}function yu(b){var N=1;if(N==0)return;li(b,611,Bn(N)),li(b,43,tc({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),li(b,612)}function Bd(b){var N=2;if(N==0)return;li(b,603,Bn(N)),li(b,45,Au({patternType:"none"})),li(b,45,Au({patternType:"gray125"})),li(b,604)}function Vd(b){var N=1;if(N==0)return;li(b,613,Bn(N)),li(b,46,Kd({})),li(b,614)}function Sh(b){var N=1;li(b,626,Bn(N)),li(b,47,rc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),li(b,627)}function Lh(b,N){li(b,617,Bn(N.length)),N.forEach(function(I){li(b,47,rc(I,0))}),li(b,618)}function sh(b){var N=1;li(b,619,Bn(N)),li(b,48,bu({xfId:0,builtinId:0,name:"Normal"})),li(b,620)}function qd(b){var N=0;li(b,505,Bn(N)),li(b,506)}function iu(b){var N=0;li(b,508,uu(N,"TableStyleMedium9","PivotStyleMedium4")),li(b,509)}function td(){return}function eh(b,N){var I=Ti();return li(I,278),kc(I,b.SSF),yu(I,b),Bd(I,b),Vd(I,b),Sh(I,b),Lh(I,N.cellXfs),sh(I,b),qd(I,b),iu(I,b),td(I,b),li(I,279),I.end()}var Ch=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Nh(b,N,I){N.themeElements.clrScheme=[];var H={};(b[0].match(yr)||[]).forEach(function(J){var be=ur(J);switch(be[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":H.rgb=be.val;break;case"<a:sysClr":H.rgb=be.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":be[0].charAt(1)==="/"?(N.themeElements.clrScheme[Ch.indexOf(be[0])]=H,H={}):H.name=be[0].slice(3,be[0].length-1);break;default:if(I&&I.WTF)throw new Error("Unrecognized "+be[0]+" in clrScheme")}})}function lh(){}function Du(){}var ch=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,Eh=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,Xd=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function _h(b,N,I){N.themeElements={};var H;[["clrScheme",ch,Nh],["fontScheme",Eh,lh],["fmtScheme",Xd,Du]].forEach(function(J){if(!(H=b.match(J[1])))throw new Error(J[0]+" not found in themeElements");J[2](H,N,I)})}var Mh=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function kd(b,N){(!b||b.length===0)&&(b=th());var I,H={};if(!(I=b.match(Mh)))throw new Error("themeElements not found in theme");return _h(I[0],H,N),H.raw=b,H}function th(b,N){if(N&&N.themeXLSX)return N.themeXLSX;if(b&&typeof b.raw=="string")return b.raw;var I=[mt];return I[I.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',I[I.length]="<a:themeElements>",I[I.length]='<a:clrScheme name="Office">',I[I.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',I[I.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',I[I.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',I[I.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',I[I.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',I[I.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',I[I.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',I[I.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',I[I.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',I[I.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',I[I.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',I[I.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',I[I.length]="</a:clrScheme>",I[I.length]='<a:fontScheme name="Office">',I[I.length]="<a:majorFont>",I[I.length]='<a:latin typeface="Cambria"/>',I[I.length]='<a:ea typeface=""/>',I[I.length]='<a:cs typeface=""/>',I[I.length]='<a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/>',I[I.length]='<a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/>',I[I.length]='<a:font script="Hans" typeface="\u5B8B\u4F53"/>',I[I.length]='<a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/>',I[I.length]='<a:font script="Arab" typeface="Times New Roman"/>',I[I.length]='<a:font script="Hebr" typeface="Times New Roman"/>',I[I.length]='<a:font script="Thai" typeface="Tahoma"/>',I[I.length]='<a:font script="Ethi" typeface="Nyala"/>',I[I.length]='<a:font script="Beng" typeface="Vrinda"/>',I[I.length]='<a:font script="Gujr" typeface="Shruti"/>',I[I.length]='<a:font script="Khmr" typeface="MoolBoran"/>',I[I.length]='<a:font script="Knda" typeface="Tunga"/>',I[I.length]='<a:font script="Guru" typeface="Raavi"/>',I[I.length]='<a:font script="Cans" typeface="Euphemia"/>',I[I.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',I[I.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',I[I.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',I[I.length]='<a:font script="Thaa" typeface="MV Boli"/>',I[I.length]='<a:font script="Deva" typeface="Mangal"/>',I[I.length]='<a:font script="Telu" typeface="Gautami"/>',I[I.length]='<a:font script="Taml" typeface="Latha"/>',I[I.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',I[I.length]='<a:font script="Orya" typeface="Kalinga"/>',I[I.length]='<a:font script="Mlym" typeface="Kartika"/>',I[I.length]='<a:font script="Laoo" typeface="DokChampa"/>',I[I.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',I[I.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',I[I.length]='<a:font script="Viet" typeface="Times New Roman"/>',I[I.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',I[I.length]='<a:font script="Geor" typeface="Sylfaen"/>',I[I.length]="</a:majorFont>",I[I.length]="<a:minorFont>",I[I.length]='<a:latin typeface="Calibri"/>',I[I.length]='<a:ea typeface=""/>',I[I.length]='<a:cs typeface=""/>',I[I.length]='<a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/>',I[I.length]='<a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/>',I[I.length]='<a:font script="Hans" typeface="\u5B8B\u4F53"/>',I[I.length]='<a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/>',I[I.length]='<a:font script="Arab" typeface="Arial"/>',I[I.length]='<a:font script="Hebr" typeface="Arial"/>',I[I.length]='<a:font script="Thai" typeface="Tahoma"/>',I[I.length]='<a:font script="Ethi" typeface="Nyala"/>',I[I.length]='<a:font script="Beng" typeface="Vrinda"/>',I[I.length]='<a:font script="Gujr" typeface="Shruti"/>',I[I.length]='<a:font script="Khmr" typeface="DaunPenh"/>',I[I.length]='<a:font script="Knda" typeface="Tunga"/>',I[I.length]='<a:font script="Guru" typeface="Raavi"/>',I[I.length]='<a:font script="Cans" typeface="Euphemia"/>',I[I.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',I[I.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',I[I.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',I[I.length]='<a:font script="Thaa" typeface="MV Boli"/>',I[I.length]='<a:font script="Deva" typeface="Mangal"/>',I[I.length]='<a:font script="Telu" typeface="Gautami"/>',I[I.length]='<a:font script="Taml" typeface="Latha"/>',I[I.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',I[I.length]='<a:font script="Orya" typeface="Kalinga"/>',I[I.length]='<a:font script="Mlym" typeface="Kartika"/>',I[I.length]='<a:font script="Laoo" typeface="DokChampa"/>',I[I.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',I[I.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',I[I.length]='<a:font script="Viet" typeface="Arial"/>',I[I.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',I[I.length]='<a:font script="Geor" typeface="Sylfaen"/>',I[I.length]="</a:minorFont>",I[I.length]="</a:fontScheme>",I[I.length]='<a:fmtScheme name="Office">',I[I.length]="<a:fillStyleLst>",I[I.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',I[I.length]='<a:gradFill rotWithShape="1">',I[I.length]="<a:gsLst>",I[I.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',I[I.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',I[I.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',I[I.length]="</a:gsLst>",I[I.length]='<a:lin ang="16200000" scaled="1"/>',I[I.length]="</a:gradFill>",I[I.length]='<a:gradFill rotWithShape="1">',I[I.length]="<a:gsLst>",I[I.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',I[I.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',I[I.length]="</a:gsLst>",I[I.length]='<a:lin ang="16200000" scaled="0"/>',I[I.length]="</a:gradFill>",I[I.length]="</a:fillStyleLst>",I[I.length]="<a:lnStyleLst>",I[I.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',I[I.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',I[I.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',I[I.length]="</a:lnStyleLst>",I[I.length]="<a:effectStyleLst>",I[I.length]="<a:effectStyle>",I[I.length]="<a:effectLst>",I[I.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',I[I.length]="</a:effectLst>",I[I.length]="</a:effectStyle>",I[I.length]="<a:effectStyle>",I[I.length]="<a:effectLst>",I[I.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',I[I.length]="</a:effectLst>",I[I.length]="</a:effectStyle>",I[I.length]="<a:effectStyle>",I[I.length]="<a:effectLst>",I[I.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',I[I.length]="</a:effectLst>",I[I.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',I[I.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',I[I.length]="</a:effectStyle>",I[I.length]="</a:effectStyleLst>",I[I.length]="<a:bgFillStyleLst>",I[I.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',I[I.length]='<a:gradFill rotWithShape="1">',I[I.length]="<a:gsLst>",I[I.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',I[I.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',I[I.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',I[I.length]="</a:gsLst>",I[I.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',I[I.length]="</a:gradFill>",I[I.length]='<a:gradFill rotWithShape="1">',I[I.length]="<a:gsLst>",I[I.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',I[I.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',I[I.length]="</a:gsLst>",I[I.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',I[I.length]="</a:gradFill>",I[I.length]="</a:bgFillStyleLst>",I[I.length]="</a:fmtScheme>",I[I.length]="</a:themeElements>",I[I.length]="<a:objectDefaults>",I[I.length]="<a:spDef>",I[I.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',I[I.length]="</a:spDef>",I[I.length]="<a:lnDef>",I[I.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',I[I.length]="</a:lnDef>",I[I.length]="</a:objectDefaults>",I[I.length]="<a:extraClrSchemeLst/>",I[I.length]="</a:theme>",I.join("")}function rh(b,N,I){var H=b.l+N,J=b.read_shift(4);if(J===124226)return;if(!I.cellStyles){b.l=H;return}var be=b.slice(b.l);b.l=H;var ke;try{ke=Xt(be,{type:"array"})}catch(dt){return}var He=Ce(ke,"theme/theme/theme1.xml",!0);return He?kd(He,I):void 0}function rd(b){return b.read_shift(4)}function vd(b){var N={};N.xclrType=b.read_shift(2),N.nTintShade=b.read_shift(2);switch(N.xclrType){case 0:b.l+=4;break;case 1:N.xclrValue=bd(b,4);break;case 2:N.xclrValue=Xr(b,4);break;case 3:N.xclrValue=rd(b,4);break;case 4:b.l+=4;break}return b.l+=8,N}function bd(b,N){return ki(b,N)}function uh(b,N){return ki(b,N)}function ph(b){var N=b.read_shift(2),I=b.read_shift(2)-4,H=[N];switch(N){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:H[1]=vd(b,I);break;case 6:H[1]=uh(b,I);break;case 14:case 15:H[1]=b.read_shift(I===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+N+" "+I)}return H}function Th(b,N){var I=b.l+N;b.l+=2;var H=b.read_shift(2);b.l+=2;for(var J=b.read_shift(2),be=[];J-- >0;)be.push(ph(b,I-b.l));return{ixfe:H,ext:be}}function Dh(b,N){N.forEach(function(I){switch(I[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break}})}function mh(b,N){return{flags:b.read_shift(4),version:b.read_shift(4),name:tt(b,N-8)}}function gh(b){var N=Tn(12+2*b.name.length);return N.write_shift(4,b.flags),N.write_shift(4,b.version),Ft(b.name,N),N.slice(0,N.l)}function ef(b){for(var N=[],I=b.read_shift(4);I-- >0;)N.push([b.read_shift(4),b.read_shift(4)]);return N}function tf(b){var N=Tn(4+8*b.length);N.write_shift(4,b.length);for(var I=0;I<b.length;++I)N.write_shift(4,b[I][0]),N.write_shift(4,b[I][1]);return N}function rf(b,N){var I=Tn(8+2*N.length);return I.write_shift(4,b),Ft(N,I),I.slice(0,I.l)}function nf(b){return b.l+=4,b.read_shift(4)!=0}function af(b,N){var I=Tn(8);return I.write_shift(4,b),I.write_shift(4,N?1:0),I}function hr(b,N,I){var H={Types:[],Cell:[],Value:[]},J=I||{},be=[],ke=!1,He=2;return oa(b,function(dt,Ot,Ct){switch(Ct){case 335:H.Types.push({name:dt.name});break;case 51:dt.forEach(function(dr){He==1?H.Cell.push({type:H.Types[dr[0]-1].name,index:dr[1]}):He==0&&H.Value.push({type:H.Types[dr[0]-1].name,index:dr[1]})});break;case 337:He=dt?1:0;break;case 338:He=2;break;case 35:be.push(Ct),ke=!0;break;case 36:be.pop(),ke=!1;break;default:if(!Ot.T){if(!ke||J.WTF&&be[be.length-1]!=35)throw new Error("Unexpected record 0x"+Ct.toString(16))}}}),H}function ge(){var b=Ti();return li(b,332),li(b,334,Bn(1)),li(b,335,gh({name:"XLDAPR",version:12e4,flags:3496657072})),li(b,336),li(b,339,rf(1,"XLDAPR")),li(b,52),li(b,35,Bn(514)),li(b,4096,Bn(0)),li(b,4097,Il(1)),li(b,36),li(b,53),li(b,340),li(b,337,af(1,!0)),li(b,51,tf([[1,0]])),li(b,338),li(b,333),b.end()}function De(b,N,I){var H={Types:[],Cell:[],Value:[]};if(!b)return H;var J=!1,be=2;return b.replace(yr,function(ke){var He=ur(ke);switch(zt(He[0])){case"<?xml":break;case"<metadata":case"</metadata>":break;case"<metadataTypes":case"</metadataTypes>":break;case"<metadataType":H.Types.push({name:He.name});break;case"</metadataType>":break;case"<futureMetadata":break;case"</futureMetadata>":break;case"<bk>":break;case"</bk>":break;case"<rc":be==1?H.Cell.push({type:H.Types[He.t-1].name,index:+He.v}):be==0&&H.Value.push({type:H.Types[He.t-1].name,index:+He.v});break;case"</rc>":break;case"<cellMetadata":be=1;break;case"</cellMetadata>":be=2;break;case"<valueMetadata":be=0;break;case"</valueMetadata>":be=2;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":J=!0;break;case"</ext>":J=!1;break;default:if(!J&&I.WTF)throw new Error("unrecognized "+He[0]+" in metadata")}return ke}),H}function ze(){var b=[mt];return b.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
|
|
|
<metadataTypes count="1">
|
|
|
<metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
|
|
|
</metadataTypes>
|
|
|
<futureMetadata name="XLDAPR" count="1">
|
|
|
<bk>
|
|
|
<extLst>
|
|
|
<ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
|
|
|
<xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
|
|
|
</ext>
|
|
|
</extLst>
|
|
|
</bk>
|
|
|
</futureMetadata>
|
|
|
<cellMetadata count="1">
|
|
|
<bk>
|
|
|
<rc t="1" v="0"/>
|
|
|
</bk>
|
|
|
</cellMetadata>
|
|
|
</metadata>`),b.join("")}function ut(b){var N=[];if(!b)return N;var I=1;return(b.match(yr)||[]).forEach(function(H){var J=ur(H);switch(J[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete J[0],J.i?I=J.i:J.i=I,N.push(J);break}}),N}function Gt(b){var N={};N.i=b.read_shift(4);var I={};I.r=b.read_shift(4),I.c=b.read_shift(4),N.r=Ka(I);var H=b.read_shift(1);return H&2&&(N.l="1"),H&8&&(N.a="1"),N}function Wr(b,N,I){var H=[],J=!1;return oa(b,function(ke,He,dt){switch(dt){case 63:H.push(ke);break;default:if(!He.T){if(!J||I.WTF)throw new Error("Unexpected record 0x"+dt.toString(16))}}}),H}function ln(){}function Sn(b,N,I,H){if(!b)return b;var J=H||{},be=!1,ke=!1;oa(b,function(dt,Ot,Ct){if(ke)return;switch(Ct){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:be=!0;break;case 36:be=!1;break;default:if(!Ot.T){if(!be||J.WTF)throw new Error("Unexpected record 0x"+Ct.toString(16))}}},J)}function zn(b,N){if(!b)return"??";var I=(b.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return N["!id"][I].Target}var ji=1024;function Oi(b,N){for(var I=[21600,21600],H=["m0,0l0",I[1],I[0],I[1],I[0],"0xe"].join(","),J=[Rt("xml",null,{"xmlns:v":fn.v,"xmlns:o":fn.o,"xmlns:x":fn.x,"xmlns:mv":fn.mv}).replace(/\/>/,">"),Rt("o:shapelayout",Rt("o:idmap",null,{"v:ext":"edit",data:b}),{"v:ext":"edit"}),Rt("v:shapetype",[Rt("v:stroke",null,{joinstyle:"miter"}),Rt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:I.join(","),path:H})];ji<b*1e3;)ji+=1e3;return N.forEach(function(be){var ke=ja(be[0]),He={color2:"#BEFF82",type:"gradient"};He.type=="gradient"&&(He.angle="-180");var dt=He.type=="gradient"?Rt("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,Ot=Rt("v:fill",dt,He),Ct={on:"t",obscured:"t"};++ji,J=J.concat(["<v:shape"+Tt({id:"_x0000_s"+ji,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(be[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",Ot,Rt("v:shadow",null,Ct),Rt("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",or("x:Anchor",[ke.c+1,0,ke.r+1,0,ke.c+3,20,ke.r+5,20].join(",")),or("x:AutoFill","False"),or("x:Row",String(ke.r)),or("x:Column",String(ke.c)),be[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),J.push("</xml>"),J.join("")}function Zi(b,N,I,H){var J=Array.isArray(b),be;N.forEach(function(ke){var He=ja(ke.ref);if(J?(b[He.r]||(b[He.r]=[]),be=b[He.r][He.c]):be=b[ke.ref],!be){be={t:"z"},J?b[He.r][He.c]=be:b[ke.ref]=be;var dt=$i(b["!ref"]||"BDWGO1000001:A1");dt.s.r>He.r&&(dt.s.r=He.r),dt.e.r<He.r&&(dt.e.r=He.r),dt.s.c>He.c&&(dt.s.c=He.c),dt.e.c<He.c&&(dt.e.c=He.c);var Ot=mn(dt);Ot!==b["!ref"]&&(b["!ref"]=Ot)}be.c||(be.c=[]);var Ct={a:ke.author,t:ke.t,r:ke.r,T:I};ke.h&&(Ct.h=ke.h);for(var dr=be.c.length-1;dr>=0;--dr){if(!I&&be.c[dr].T)return;I&&!be.c[dr].T&&be.c.splice(dr,1)}if(I&&H){for(dr=0;dr<H.length;++dr)if(Ct.a==H[dr].id){Ct.a=H[dr].name||Ct.a;break}}be.c.push(Ct)})}function po(b,N){if(b.match(/<(?:\w+:)?comments *\/>/))return[];var I=[],H=[],J=b.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);J&&J[1]&&J[1].split(/<\/\w*:?author>/).forEach(function(ke){if(ke===""||ke.trim()==="")return;var He=ke.match(/<(?:\w+:)?author[^>]*>(.*)/);He&&I.push(He[1])});var be=b.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return be&&be[1]&&be[1].split(/<\/\w*:?comment>/).forEach(function(ke){if(ke===""||ke.trim()==="")return;var He=ke.match(/<(?:\w+:)?comment[^>]*>/);if(!He)return;var dt=ur(He[0]),Ot={author:dt.authorId&&I[dt.authorId]||"sheetjsghost",ref:dt.ref,guid:dt.guid},Ct=ja(dt.ref);if(N.sheetRows&&N.sheetRows<=Ct.r)return;var dr=ke.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),vr=!!dr&&!!dr[1]&&Ad(dr[1])||{r:"",t:"",h:""};Ot.r=vr.r,vr.r=="<t></t>"&&(vr.t=vr.h=""),Ot.t=(vr.t||"").replace(/\r\n/g,`
|
|
|
`).replace(/\r/g,`
|
|
|
`),N.cellHTML&&(Ot.h=vr.h),H.push(Ot)}),H}function Ao(b){var N=[mt,Rt("comments",null,{xmlns:hn[0]})],I=[];return N.push("<authors>"),b.forEach(function(H){H[1].forEach(function(J){var be=xr(J.a);I.indexOf(be)==-1&&(I.push(be),N.push("<author>"+be+"</author>")),J.T&&J.ID&&I.indexOf("tc="+J.ID)==-1&&(I.push("tc="+J.ID),N.push("<author>tc="+J.ID+"</author>"))})}),I.length==0&&(I.push("SheetJ5"),N.push("<author>SheetJ5</author>")),N.push("</authors>"),N.push("<commentList>"),b.forEach(function(H){var J=0,be=[];if(H[1][0]&&H[1][0].T&&H[1][0].ID?J=I.indexOf("tc="+H[1][0].ID):H[1].forEach(function(dt){dt.a&&(J=I.indexOf(xr(dt.a))),be.push(dt.t||"")}),N.push('<comment ref="'+H[0]+'" authorId="'+J+'"><text>'),be.length<=1)N.push(or("t",xr(be[0]||"")));else{for(var ke=`Comment:
|
|
|
`+be[0]+`
|
|
|
`,He=1;He<be.length;++He)ke+=`Reply:
|
|
|
`+be[He]+`
|
|
|
`;N.push(or("t",xr(ke)))}N.push("</text></comment>")}),N.push("</commentList>"),N.length>2&&(N[N.length]="</comments>",N[1]=N[1].replace("/>",">")),N.join("")}function Fo(b,N){var I=[],H=!1,J={},be=0;return b.replace(yr,function(He,dt){var Ot=ur(He);switch(zt(Ot[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":J={author:Ot.personId,guid:Ot.id,ref:Ot.ref,T:1};break;case"</threadedComment>":J.t!=null&&I.push(J);break;case"<text>":case"<text":be=dt+He.length;break;case"</text>":J.t=b.slice(be,dt).replace(/\r\n/g,`
|
|
|
`).replace(/\r/g,`
|
|
|
`);break;case"<mentions":case"<mentions>":H=!0;break;case"</mentions>":H=!1;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":H=!0;break;case"</ext>":H=!1;break;default:if(!H&&N.WTF)throw new Error("unrecognized "+Ot[0]+" in threaded comments")}return He}),I}function Bs(b,N,I){var H=[mt,Rt("ThreadedComments",null,{xmlns:br.TCMNT}).replace(/[\/]>/,">")];return b.forEach(function(J){var be="";(J[1]||[]).forEach(function(ke,He){if(!ke.T){delete ke.ID;return}ke.a&&N.indexOf(ke.a)==-1&&N.push(ke.a);var dt={ref:J[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+I.tcid++).slice(-12)+"}"};He==0?be=dt.id:dt.parentId=be,ke.ID=dt.id,ke.a&&(dt.personId="{54EE7950-7262-4200-6969-"+("000000000000"+N.indexOf(ke.a)).slice(-12)+"}"),H.push(Rt("threadedComment",or("text",ke.t||""),dt))})}),H.push("</ThreadedComments>"),H.join("")}function hs(b,N){var I=[],H=!1;return b.replace(yr,function(be){var ke=ur(be);switch(zt(ke[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":I.push({name:ke.displayname,id:ke.id});break;case"</person>":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":H=!0;break;case"</ext>":H=!1;break;default:if(!H&&N.WTF)throw new Error("unrecognized "+ke[0]+" in threaded comments")}return be}),I}function is(b){var N=[mt,Rt("personList",null,{xmlns:br.TCMNT,"xmlns:x":hn[0]}).replace(/[\/]>/,">")];return b.forEach(function(I,H){N.push(Rt("person",null,{displayName:I,id:"{54EE7950-7262-4200-6969-"+("000000000000"+H).slice(-12)+"}",userId:I,providerId:"None"}))}),N.push("</personList>"),N.join("")}function El(b){var N={};N.iauthor=b.read_shift(4);var I=va(b,16);return N.rfx=I.s,N.ref=Ka(I.s),b.l+=16,N}function Dl(b,N){return N==null&&(N=Tn(36)),N.write_shift(4,b[1].iauthor),Ca(b[0],N),N.write_shift(4,0),N.write_shift(4,0),N.write_shift(4,0),N.write_shift(4,0),N}var fl=tt;function rs(b){return Ft(b.slice(0,54))}function Pl(b,N){var I=[],H=[],J={},be=!1;return oa(b,function(He,dt,Ot){switch(Ot){case 632:H.push(He);break;case 635:J=He;break;case 637:J.t=He.t,J.h=He.h,J.r=He.r;break;case 636:if(J.author=H[J.iauthor],delete J.iauthor,N.sheetRows&&J.rfx&&N.sheetRows<=J.rfx.r)break;J.t||(J.t=""),delete J.rfx,I.push(J);break;case 3072:break;case 35:be=!0;break;case 36:be=!1;break;case 37:break;case 38:break;default:if(!dt.T){if(!be||N.WTF)throw new Error("Unexpected record 0x"+Ot.toString(16))}}}),I}function Hl(b){var N=Ti(),I=[];return li(N,628),li(N,630),b.forEach(function(H){H[1].forEach(function(J){if(I.indexOf(J.a)>-1)return;I.push(J.a.slice(0,54)),li(N,632,rs(J.a))})}),li(N,631),li(N,633),b.forEach(function(H){H[1].forEach(function(J){J.iauthor=I.indexOf(J.a);var be={s:ja(H[0]),e:ja(H[0])};li(N,635,Dl([be,J])),J.t&&J.t.length>0&&li(N,637,In(J)),li(N,636),delete J.iauthor})}),li(N,634),li(N,629),N.end()}var pl="application/vnd.ms-office.vbaProject";function wu(b){var N=ne.utils.cfb_new({root:"R"});return b.FullPaths.forEach(function(I,H){if(I.slice(-1)==="/"||!I.match(/_VBA_PROJECT_CUR/))return;var J=I.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");ne.utils.cfb_add(N,J,b.FileIndex[H].content)}),ne.write(N)}function Ku(b,N){N.FullPaths.forEach(function(I,H){if(H==0)return;var J=I.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");J.slice(-1)!=="/"&&ne.utils.cfb_add(b,J,N.FileIndex[H].content)})}var du=["xlsb","xlsm","xlam","biff8","xla"];function Vc(){return{"!type":"dialog"}}function nh(){return{"!type":"dialog"}}function yd(){return{"!type":"macro"}}function Gd(){return{"!type":"macro"}}var Ru=function(){var b=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,N={r:0,c:0};function I(H,J,be,ke){var He=!1,dt=!1;be.length==0?dt=!0:be.charAt(0)=="["&&(dt=!0,be=be.slice(1,-1)),ke.length==0?He=!0:ke.charAt(0)=="["&&(He=!0,ke=ke.slice(1,-1));var Ot=be.length>0?parseInt(be,10)|0:0,Ct=ke.length>0?parseInt(ke,10)|0:0;return He?Ct+=N.c:--Ct,dt?Ot+=N.r:--Ot,J+(He?"":"$")+Fi(Ct)+(dt?"":"$")+hi(Ot)}return function(J,be){return N=be,J.replace(b,I)}}(),wd=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,Fd=function(){return function(N,I){return N.replace(wd,function(H,J,be,ke,He,dt){var Ot=ea(ke)-(be?0:I.c),Ct=Zn(dt)-(He?0:I.r),dr=Ct==0?"":He?Ct+1:"["+Ct+"]",vr=Ot==0?"":be?Ot+1:"["+Ot+"]";return J+"R"+dr+"C"+vr})}}();function nd(b,N){return b.replace(wd,function(I,H,J,be,ke,He){return H+(J=="$"?J+be:Fi(ea(be)+N.c))+(ke=="$"?ke+He:hi(Zn(He)+N.r))})}function Yd(b,N,I){var H=Gi(N),J=H.s,be=ja(I),ke={r:be.r-J.r,c:be.c-J.c};return nd(b,ke)}function ih(b){return!(b.length==1)}function Qd(b){return b.replace(/_xlfn\./g,"")}function cc(b){b.l+=1;return}function xu(b,N){var I=b.read_shift(N==1?1:2);return[I&16383,I>>14&1,I>>15&1]}function xd(b,N,I){var H=2;if(I){if(I.biff>=2&&I.biff<=5)return ah(b,N,I);I.biff==12&&(H=4)}var J=b.read_shift(H),be=b.read_shift(H),ke=xu(b,2),He=xu(b,2);return{s:{r:J,c:ke[0],cRel:ke[1],rRel:ke[2]},e:{r:be,c:He[0],cRel:He[1],rRel:He[2]}}}function ah(b){var N=xu(b,2),I=xu(b,2),H=b.read_shift(1),J=b.read_shift(1);return{s:{r:N[0],c:H,cRel:N[1],rRel:N[2]},e:{r:I[0],c:J,cRel:I[1],rRel:I[2]}}}function Ah(b,N,I){if(I.biff<8)return ah(b,N,I);var H=b.read_shift(I.biff==12?4:2),J=b.read_shift(I.biff==12?4:2),be=xu(b,2),ke=xu(b,2);return{s:{r:H,c:be[0],cRel:be[1],rRel:be[2]},e:{r:J,c:ke[0],cRel:ke[1],rRel:ke[2]}}}function Mf(b,N,I){if(I&&I.biff>=2&&I.biff<=5)return _p(b,N,I);var H=b.read_shift(I&&I.biff==12?4:2),J=xu(b,2);return{r:H,c:J[0],cRel:J[1],rRel:J[2]}}function _p(b){var N=xu(b,2),I=b.read_shift(1);return{r:N[0],c:I,cRel:N[1],rRel:N[2]}}function Tp(b){var N=b.read_shift(2),I=b.read_shift(2);return{r:N,c:I&255,fQuoted:!!(I&16384),cRel:I>>15,rRel:I>>15}}function Op(b,N,I){var H=I&&I.biff?I.biff:8;if(H>=2&&H<=5)return Ip(b,N,I);var J=b.read_shift(H>=12?4:2),be=b.read_shift(2),ke=(be&16384)>>14,He=(be&32768)>>15;if(be&=16383,He==1)for(;J>524287;)J-=1048576;if(ke==1)for(;be>8191;)be=be-16384;return{r:J,c:be,cRel:ke,rRel:He}}function Ip(b){var N=b.read_shift(2),I=b.read_shift(1),H=(N&32768)>>15,J=(N&16384)>>14;return N&=16383,H==1&&N>=8192&&(N=N-16384),J==1&&I>=128&&(I=I-256),{r:N,c:I,cRel:J,rRel:H}}function Lp(b,N,I){var H=(b[b.l++]&96)>>5,J=xd(b,I.biff>=2&&I.biff<=5?6:8,I);return[H,J]}function Np(b,N,I){var H=(b[b.l++]&96)>>5,J=b.read_shift(2,"i"),be=8;if(I)switch(I.biff){case 5:b.l+=12,be=6;break;case 12:be=12;break}var ke=xd(b,be,I);return[H,J,ke]}function Mp(b,N,I){var H=(b[b.l++]&96)>>5;return b.l+=I&&I.biff>8?12:I.biff<8?6:8,[H]}function Dp(b,N,I){var H=(b[b.l++]&96)>>5,J=b.read_shift(2),be=8;if(I)switch(I.biff){case 5:b.l+=12,be=6;break;case 12:be=12;break}return b.l+=be,[H,J]}function Rp(b,N,I){var H=(b[b.l++]&96)>>5,J=Ah(b,N-1,I);return[H,J]}function Bp(b,N,I){var H=(b[b.l++]&96)>>5;return b.l+=I.biff==2?6:I.biff==12?14:7,[H]}function Df(b){var N=b[b.l+1]&1,I=1;return b.l+=4,[N,I]}function kp(b,N,I){b.l+=2;for(var H=b.read_shift(I&&I.biff==2?1:2),J=[],be=0;be<=H;++be)J.push(b.read_shift(I&&I.biff==2?1:2));return J}function Fp(b,N,I){var H=b[b.l+1]&255?1:0;return b.l+=2,[H,b.read_shift(I&&I.biff==2?1:2)]}function Pp(b,N,I){var H=b[b.l+1]&255?1:0;return b.l+=2,[H,b.read_shift(I&&I.biff==2?1:2)]}function Up(b){var N=b[b.l+1]&255?1:0;return b.l+=2,[N,b.read_shift(2)]}function jp(b,N,I){var H=b[b.l+1]&255?1:0;return b.l+=I&&I.biff==2?3:4,[H]}function Rf(b){var N=b.read_shift(1),I=b.read_shift(1);return[N,I]}function Hp(b){return b.read_shift(2),Rf(b,2)}function Wp(b){return b.read_shift(2),Rf(b,2)}function zp(b,N,I){var H=(b[b.l]&96)>>5;b.l+=1;var J=Mf(b,0,I);return[H,J]}function Kp(b,N,I){var H=(b[b.l]&96)>>5;b.l+=1;var J=Op(b,0,I);return[H,J]}function Vp(b,N,I){var H=(b[b.l]&96)>>5;b.l+=1;var J=b.read_shift(2);I&&I.biff==5&&(b.l+=12);var be=Mf(b,0,I);return[H,J,be]}function Xp(b,N,I){var H=(b[b.l]&96)>>5;b.l+=1;var J=b.read_shift(I&&I.biff<=3?1:2);return[Zm[J],Uf[J],H]}function Gp(b,N,I){var H=b[b.l++],J=b.read_shift(1),be=I&&I.biff<=3?[H==88?-1:0,b.read_shift(1)]:Yp(b);return[J,(be[0]===0?Uf:Qm)[be[1]]]}function Yp(b){return[b[b.l+1]>>7,b.read_shift(2)&32767]}function Qp(b,N,I){b.l+=I&&I.biff==2?3:4;return}function Zp(b,N,I){if(b.l++,I&&I.biff==12)return[b.read_shift(4,"i"),0];var H=b.read_shift(2),J=b.read_shift(I&&I.biff==2?1:2);return[H,J]}function Jp(b){return b.l++,No[b.read_shift(1)]}function $p(b){return b.l++,b.read_shift(2)}function qp(b){return b.l++,b.read_shift(1)!==0}function em(b){return b.l++,Ai(b,8)}function tm(b,N,I){return b.l++,ac(b,N-1,I)}function rm(b,N){var I=[b.read_shift(1)];if(N==12)switch(I[0]){case 2:I[0]=4;break;case 4:I[0]=16;break;case 0:I[0]=1;break;case 1:I[0]=2;break}switch(I[0]){case 4:I[1]=Hs(b,1)?"TRUE":"FALSE",N!=12&&(b.l+=7);break;case 37:case 16:I[1]=No[b[b.l]],b.l+=N==12?4:8;break;case 0:b.l+=8;break;case 1:I[1]=Ai(b,8);break;case 2:I[1]=wn(b,0,{biff:N>0&&N<8?2:N});break;default:throw new Error("Bad SerAr: "+I[0])}return I}function nm(b,N,I){for(var H=b.read_shift(I.biff==12?4:2),J=[],be=0;be!=H;++be)J.push((I.biff==12?va:us)(b,8));return J}function im(b,N,I){var H=0,J=0;I.biff==12?(H=b.read_shift(4),J=b.read_shift(4)):(J=1+b.read_shift(1),H=1+b.read_shift(2)),I.biff>=2&&I.biff<8&&(--H,--J==0&&(J=256));for(var be=0,ke=[];be!=H&&(ke[be]=[]);++be)for(var He=0;He!=J;++He)ke[be][He]=rm(b,I.biff);return ke}function am(b,N,I){var H=b.read_shift(1)>>>5&3,J=!I||I.biff>=8?4:2,be=b.read_shift(J);switch(I.biff){case 2:b.l+=5;break;case 3:case 4:b.l+=8;break;case 5:b.l+=12;break}return[H,0,be]}function om(b,N,I){if(I.biff==5)return sm(b,N,I);var H=b.read_shift(1)>>>5&3,J=b.read_shift(2),be=b.read_shift(4);return[H,J,be]}function sm(b){var N=b.read_shift(1)>>>5&3,I=b.read_shift(2,"i");b.l+=8;var H=b.read_shift(2);return b.l+=12,[N,I,H]}function lm(b,N,I){var H=b.read_shift(1)>>>5&3;b.l+=I&&I.biff==2?3:4;var J=b.read_shift(I&&I.biff==2?1:2);return[H,J]}function cm(b,N,I){var H=b.read_shift(1)>>>5&3,J=b.read_shift(I&&I.biff==2?1:2);return[H,J]}function um(b,N,I){var H=b.read_shift(1)>>>5&3;return b.l+=4,I.biff<8&&b.l--,I.biff==12&&(b.l+=2),[H]}function dm(b,N,I){var H=(b[b.l++]&96)>>5,J=b.read_shift(2),be=4;if(I)switch(I.biff){case 5:be=15;break;case 12:be=6;break}return b.l+=be,[H,J]}var hm=ki,fm=ki,pm=ki;function Rh(b,N,I){return b.l+=2,[Tp(b,4,I)]}function of(b){return b.l+=6,[]}var mm=Rh,gm=of,Am=of,vm=Rh;function Bf(b){return b.l+=2,[Gs(b),b.read_shift(2)&1]}var bm=Rh,ym=Bf,wm=of,xm=Rh,Sm=Rh,Cm=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Em(b){b.l+=2;var N=b.read_shift(2),I=b.read_shift(2),H=b.read_shift(4),J=b.read_shift(2),be=b.read_shift(2),ke=Cm[I>>2&31];return{ixti:N,coltype:I&3,rt:ke,idx:H,c:J,C:be}}function _m(b){return b.l+=2,[b.read_shift(4)]}function Tm(b,N,I){return b.l+=5,b.l+=2,b.l+=I.biff==2?1:4,["PTGSHEET"]}function Om(b,N,I){return b.l+=I.biff==2?4:5,["PTGENDSHEET"]}function Im(b){var N=b.read_shift(1)>>>5&3,I=b.read_shift(2);return[N,I]}function Lm(b){var N=b.read_shift(1)>>>5&3,I=b.read_shift(2);return[N,I]}function Nm(b){return b.l+=4,[0,0]}var kf={1:{n:"PtgExp",f:Zp},2:{n:"PtgTbl",f:pm},3:{n:"PtgAdd",f:cc},4:{n:"PtgSub",f:cc},5:{n:"PtgMul",f:cc},6:{n:"PtgDiv",f:cc},7:{n:"PtgPower",f:cc},8:{n:"PtgConcat",f:cc},9:{n:"PtgLt",f:cc},10:{n:"PtgLe",f:cc},11:{n:"PtgEq",f:cc},12:{n:"PtgGe",f:cc},13:{n:"PtgGt",f:cc},14:{n:"PtgNe",f:cc},15:{n:"PtgIsect",f:cc},16:{n:"PtgUnion",f:cc},17:{n:"PtgRange",f:cc},18:{n:"PtgUplus",f:cc},19:{n:"PtgUminus",f:cc},20:{n:"PtgPercent",f:cc},21:{n:"PtgParen",f:cc},22:{n:"PtgMissArg",f:cc},23:{n:"PtgStr",f:tm},26:{n:"PtgSheet",f:Tm},27:{n:"PtgEndSheet",f:Om},28:{n:"PtgErr",f:Jp},29:{n:"PtgBool",f:qp},30:{n:"PtgInt",f:$p},31:{n:"PtgNum",f:em},32:{n:"PtgArray",f:Bp},33:{n:"PtgFunc",f:Xp},34:{n:"PtgFuncVar",f:Gp},35:{n:"PtgName",f:am},36:{n:"PtgRef",f:zp},37:{n:"PtgArea",f:Lp},38:{n:"PtgMemArea",f:lm},39:{n:"PtgMemErr",f:hm},40:{n:"PtgMemNoMem",f:fm},41:{n:"PtgMemFunc",f:cm},42:{n:"PtgRefErr",f:um},43:{n:"PtgAreaErr",f:Mp},44:{n:"PtgRefN",f:Kp},45:{n:"PtgAreaN",f:Rp},46:{n:"PtgMemAreaN",f:Im},47:{n:"PtgMemNoMemN",f:Lm},57:{n:"PtgNameX",f:om},58:{n:"PtgRef3d",f:Vp},59:{n:"PtgArea3d",f:Np},60:{n:"PtgRefErr3d",f:dm},61:{n:"PtgAreaErr3d",f:Dp},255:{}},Mm={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Dm={1:{n:"PtgElfLel",f:Bf},2:{n:"PtgElfRw",f:xm},3:{n:"PtgElfCol",f:mm},6:{n:"PtgElfRwV",f:Sm},7:{n:"PtgElfColV",f:vm},10:{n:"PtgElfRadical",f:bm},11:{n:"PtgElfRadicalS",f:wm},13:{n:"PtgElfColS",f:gm},15:{n:"PtgElfColSV",f:Am},16:{n:"PtgElfRadicalLel",f:ym},25:{n:"PtgList",f:Em},29:{n:"PtgSxName",f:_m},255:{}},Rm={0:{n:"PtgAttrNoop",f:Nm},1:{n:"PtgAttrSemi",f:jp},2:{n:"PtgAttrIf",f:Pp},4:{n:"PtgAttrChoose",f:kp},8:{n:"PtgAttrGoto",f:Fp},16:{n:"PtgAttrSum",f:Qp},32:{n:"PtgAttrBaxcel",f:Df},33:{n:"PtgAttrBaxcel",f:Df},64:{n:"PtgAttrSpace",f:Hp},65:{n:"PtgAttrSpaceSemi",f:Wp},128:{n:"PtgAttrIfError",f:Up},255:{}};function Bh(b,N,I,H){if(H.biff<8)return ki(b,N);for(var J=b.l+N,be=[],ke=0;ke!==I.length;++ke)switch(I[ke][0]){case"PtgArray":I[ke][1]=im(b,0,H),be.push(I[ke][1]);break;case"PtgMemArea":I[ke][2]=nm(b,I[ke][1],H),be.push(I[ke][2]);break;case"PtgExp":H&&H.biff==12&&(I[ke][1][1]=b.read_shift(4),be.push(I[ke][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+I[ke][0];default:break}return N=J-b.l,N!==0&&be.push(ki(b,N)),be}function kh(b,N,I){for(var H=b.l+N,J,be,ke=[];H!=b.l;)N=H-b.l,be=b[b.l],J=kf[be]||kf[Mm[be]],(be===24||be===25)&&(J=(be===24?Dm:Rm)[b[b.l+1]]),!J||!J.f?ki(b,N):ke.push([J.n,J.f(b,N,I)]);return ke}function Bm(b){for(var N=[],I=0;I<b.length;++I){for(var H=b[I],J=[],be=0;be<H.length;++be){var ke=H[be];if(ke)switch(ke[0]){case 2:J.push('"'+ke[1].replace(/"/g,'""')+'"');break;default:J.push(ke[1])}else J.push("")}N.push(J.join(","))}return N.join(";")}var km={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},Fm=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function Pm(b,N){if(!b&&!(N&&N.biff<=5&&N.biff>=2))throw new Error("empty sheet name");return Fm.test(b)?"'"+b+"'":b}function Ff(b,N,I){if(!b)return"SH33TJSERR0";if(I.biff>8&&(!b.XTI||!b.XTI[N]))return b.SheetNames[N];if(!b.XTI)return"SH33TJSERR6";var H=b.XTI[N];if(I.biff<8)return N>1e4&&(N-=65536),N<0&&(N=-N),N==0?"":b.XTI[N-1];if(!H)return"SH33TJSERR1";var J="";if(I.biff>8)switch(b[H[0]][0]){case 357:return J=H[1]==-1?"#REF":b.SheetNames[H[1]],H[1]==H[2]?J:J+":"+b.SheetNames[H[2]];case 358:return I.SID!=null?b.SheetNames[I.SID]:"SH33TJSSAME"+b[H[0]][0];case 355:default:return"SH33TJSSRC"+b[H[0]][0]}switch(b[H[0]][0][0]){case 1025:return J=H[1]==-1?"#REF":b.SheetNames[H[1]]||"SH33TJSERR3",H[1]==H[2]?J:J+":"+b.SheetNames[H[2]];case 14849:return b[H[0]].slice(1).map(function(be){return be.Name}).join(";;");default:return b[H[0]][0][3]?(J=H[1]==-1?"#REF":b[H[0]][0][3][H[1]]||"SH33TJSERR4",H[1]==H[2]?J:J+":"+b[H[0]][0][3][H[2]]):"SH33TJSERR2"}}function Pf(b,N,I){var H=Ff(b,N,I);return H=="#REF"?H:Pm(H,I)}function Su(b,N,I,H,J){var be=J&&J.biff||8,ke={s:{c:0,r:0},e:{c:0,r:0}},He=[],dt,Ot,Ct,dr=0,vr=0,kr,Ur="";if(!b[0]||!b[0][0])return"";for(var Ar=-1,Dr="",kn=0,Wn=b[0].length;kn<Wn;++kn){var On=b[0][kn];switch(On[0]){case"PtgUminus":He.push("-"+He.pop());break;case"PtgUplus":He.push("+"+He.pop());break;case"PtgPercent":He.push(He.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(dt=He.pop(),Ot=He.pop(),Ar>=0){switch(b[0][Ar][1][0]){case 0:Dr=qe(" ",b[0][Ar][1][1]);break;case 1:Dr=qe("\r",b[0][Ar][1][1]);break;default:if(Dr="",J.WTF)throw new Error("Unexpected PtgAttrSpaceType "+b[0][Ar][1][0])}Ot=Ot+Dr,Ar=-1}He.push(Ot+km[On[0]]+dt);break;case"PtgIsect":dt=He.pop(),Ot=He.pop(),He.push(Ot+" "+dt);break;case"PtgUnion":dt=He.pop(),Ot=He.pop(),He.push(Ot+","+dt);break;case"PtgRange":dt=He.pop(),Ot=He.pop(),He.push(Ot+":"+dt);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":Ct=Ri(On[1][1],ke,J),He.push(Un(Ct,be));break;case"PtgRefN":Ct=I?Ri(On[1][1],I,J):On[1][1],He.push(Un(Ct,be));break;case"PtgRef3d":dr=On[1][1],Ct=Ri(On[1][2],ke,J),Ur=Pf(H,dr,J);var da=Ur;He.push(Ur+"!"+Un(Ct,be));break;case"PtgFunc":case"PtgFuncVar":var Ba=On[1][0],Bi=On[1][1];Ba||(Ba=0),Ba&=127;var vi=Ba==0?[]:He.slice(-Ba);He.length-=Ba,Bi==="User"&&(Bi=vi.shift()),He.push(Bi+"("+vi.join(",")+")");break;case"PtgBool":He.push(On[1]?"TRUE":"FALSE");break;case"PtgInt":He.push(On[1]);break;case"PtgNum":He.push(String(On[1]));break;case"PtgStr":He.push('"'+On[1].replace(/"/g,'""')+'"');break;case"PtgErr":He.push(On[1]);break;case"PtgAreaN":kr=Da(On[1][1],I?{s:I}:ke,J),He.push(on(kr,J));break;case"PtgArea":kr=Da(On[1][1],ke,J),He.push(on(kr,J));break;case"PtgArea3d":dr=On[1][1],kr=On[1][2],Ur=Pf(H,dr,J),He.push(Ur+"!"+on(kr,J));break;case"PtgAttrSum":He.push("SUM("+He.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":vr=On[1][2];var _a=(H.names||[])[vr-1]||(H[0]||[])[vr],na=_a?_a.Name:"SH33TJSNAME"+String(vr);na&&na.slice(0,6)=="_xlfn."&&!J.xlfn&&(na=na.slice(6)),He.push(na);break;case"PtgNameX":var xa=On[1][1];vr=On[1][2];var Fa;if(J.biff<=5)xa<0&&(xa=-xa),H[xa]&&(Fa=H[xa][vr]);else{var Yi="";if(((H[xa]||[])[0]||[])[0]==14849||(((H[xa]||[])[0]||[])[0]==1025?H[xa][vr]&&H[xa][vr].itab>0&&(Yi=H.SheetNames[H[xa][vr].itab-1]+"!"):Yi=H.SheetNames[vr-1]+"!"),H[xa]&&H[xa][vr])Yi+=H[xa][vr].Name;else if(H[0]&&H[0][vr])Yi+=H[0][vr].Name;else{var go=(Ff(H,xa,J)||"").split(";;");go[vr-1]?Yi=go[vr-1]:Yi+="SH33TJSERRX"}He.push(Yi);break}Fa||(Fa={Name:"SH33TJSERRY"}),He.push(Fa.Name);break;case"PtgParen":var Jo="(",Uo=")";if(Ar>=0){Dr="";switch(b[0][Ar][1][0]){case 2:Jo=qe(" ",b[0][Ar][1][1])+Jo;break;case 3:Jo=qe("\r",b[0][Ar][1][1])+Jo;break;case 4:Uo=qe(" ",b[0][Ar][1][1])+Uo;break;case 5:Uo=qe("\r",b[0][Ar][1][1])+Uo;break;default:if(J.WTF)throw new Error("Unexpected PtgAttrSpaceType "+b[0][Ar][1][0])}Ar=-1}He.push(Jo+He.pop()+Uo);break;case"PtgRefErr":He.push("#REF!");break;case"PtgRefErr3d":He.push("#REF!");break;case"PtgExp":Ct={c:On[1][1],r:On[1][0]};var ms={c:I.c,r:I.r};if(H.sharedf[Ka(Ct)]){var Ss=H.sharedf[Ka(Ct)];He.push(Su(Ss,ke,ms,H,J))}else{var Bl=!1;for(dt=0;dt!=H.arrayf.length;++dt){if(Ot=H.arrayf[dt],Ct.c<Ot[0].s.c||Ct.c>Ot[0].e.c)continue;if(Ct.r<Ot[0].s.r||Ct.r>Ot[0].e.r)continue;He.push(Su(Ot[1],ke,ms,H,J)),Bl=!0;break}Bl||He.push(On[1])}break;case"PtgArray":He.push("{"+Bm(On[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":Ar=kn;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":He.push("");break;case"PtgAreaErr":He.push("#REF!");break;case"PtgAreaErr3d":He.push("#REF!");break;case"PtgList":He.push("Table"+On[1].idx+"[#"+On[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(On));default:throw new Error("Unrecognized Formula Token: "+String(On))}var Qo=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(J.biff!=3&&(Ar>=0&&Qo.indexOf(b[0][kn][0])==-1)){On=b[0][Ar];var Is=!0;switch(On[1][0]){case 4:Is=!1;case 0:Dr=qe(" ",On[1][1]);break;case 5:Is=!1;case 1:Dr=qe("\r",On[1][1]);break;default:if(Dr="",J.WTF)throw new Error("Unexpected PtgAttrSpaceType "+On[1][0])}He.push((Is?Dr:"")+He.pop()+(Is?"":Dr)),Ar=-1}}if(He.length>1&&J.WTF)throw new Error("bad formula stack");return He[0]}function Um(b,N,I){var H=b.l+N,J=I.biff==2?1:2,be,ke=b.read_shift(J);if(ke==65535)return[[],ki(b,N-2)];var He=kh(b,ke,I);return N!==ke+J&&(be=Bh(b,N-ke-J,He,I)),b.l=H,[He,be]}function jm(b,N,I){var H=b.l+N,J=I.biff==2?1:2,be,ke=b.read_shift(J);if(ke==65535)return[[],ki(b,N-2)];var He=kh(b,ke,I);return N!==ke+J&&(be=Bh(b,N-ke-J,He,I)),b.l=H,[He,be]}function Hm(b,N,I,H){var J=b.l+N,be=kh(b,H,I),ke;return J!==b.l&&(ke=Bh(b,J-b.l,be,I)),[be,ke]}function Wm(b,N,I){var H=b.l+N,J,be=b.read_shift(2),ke=kh(b,be,I);return be==65535?[[],ki(b,N-2)]:(N!==be+2&&(J=Bh(b,H-be-2,ke,I)),[ke,J])}function zm(b){var N;if(Yn(b,b.l+6)!==65535)return[Ai(b),"n"];switch(b[b.l]){case 0:return b.l+=8,["String","s"];case 1:return N=b[b.l+2]===1,b.l+=8,[N,"b"];case 2:return N=b[b.l+2],b.l+=8,[N,"e"];case 3:return b.l+=8,["","s"]}return[]}function Km(b){if(b==null){var N=Tn(8);return N.write_shift(1,3),N.write_shift(1,0),N.write_shift(2,0),N.write_shift(2,0),N.write_shift(2,65535),N}else if(typeof b=="number")return Aa(b);return Aa(0)}function sf(b,N,I){var H=b.l+N,J=Jn(b,6);I.biff==2&&++b.l;var be=zm(b,8),ke=b.read_shift(1);I.biff!=2&&(b.read_shift(1),I.biff>=5&&b.read_shift(4));var He=jm(b,H-b.l,I);return{cell:J,val:be[0],formula:He,shared:ke>>3&1,tt:be[1]}}function Vm(b,N,I,H,J){var be=Ei(N,I,J),ke=Km(b.v),He=Tn(6),dt=1|32;He.write_shift(2,dt),He.write_shift(4,0);for(var Ot=Tn(b.bf.length),Ct=0;Ct<b.bf.length;++Ct)Ot[Ct]=b.bf[Ct];var dr=k([be,ke,He,Ot]);return dr}function Xh(b,N,I){var H=b.read_shift(4),J=kh(b,H,I),be=b.read_shift(4),ke=be>0?Bh(b,be,J,I):null;return[J,ke]}var Xm=Xh,Gh=Xh,Gm=Xh,Ym=Xh,Qm={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Uf={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Zm={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function jf(b){return b.slice(0,3)=="of:"&&(b=b.slice(3)),b.charCodeAt(0)==61&&(b=b.slice(1),b.charCodeAt(0)==61&&(b=b.slice(1))),b=b.replace(/COM\.MICROSOFT\./g,""),b=b.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(N,I){return I.replace(/\./g,"")}),b=b.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),b.replace(/[;~]/g,",").replace(/\|/g,";")}function Jm(b){var N="of:="+b.replace(wd,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return N.replace(/;/g,"|").replace(/,/g,";")}function lf(b){var N=b.split(":"),I=N[0].split(".")[0];return[I,N[0].split(".")[1]+(N.length>1?":"+(N[1].split(".")[1]||N[1].split(".")[0]):"")]}function $m(b){return b.replace(/\./,"!")}var Fh={},Oh={},Ph=typeof Map!="undefined";function cf(b,N,I){var H=0,J=b.length;if(I){if(Ph?I.has(N):Object.prototype.hasOwnProperty.call(I,N)){for(var be=Ph?I.get(N):I[N];H<be.length;++H)if(b[be[H]].t===N)return b.Count++,be[H]}}else for(;H<J;++H)if(b[H].t===N)return b.Count++,H;return b[J]={t:N},b.Count++,b.Unique++,I&&(Ph?(I.has(N)||I.set(N,[]),I.get(N).push(J)):(Object.prototype.hasOwnProperty.call(I,N)||(I[N]=[]),I[N].push(J))),J}function Yh(b,N){var I={min:b+1,max:b+1},H=-1;return N.MDW&&(yt=N.MDW),N.width!=null?I.customWidth=1:N.wpx!=null?H=sr(N.wpx):N.wch!=null&&(H=N.wch),H>-1?(I.width=fr(H),I.customWidth=1):N.width!=null&&(I.width=N.width),N.hidden&&(I.hidden=!0),N.level!=null&&(I.outlineLevel=I.level=N.level),I}function vh(b,N){if(!b)return;var I=[.7,.7,.75,.75,.3,.3];N=="xlml"&&(I=[1,1,1,1,.5,.5]),b.left==null&&(b.left=I[0]),b.right==null&&(b.right=I[1]),b.top==null&&(b.top=I[2]),b.bottom==null&&(b.bottom=I[3]),b.header==null&&(b.header=I[4]),b.footer==null&&(b.footer=I[5])}function dh(b,N,I){var H=I.revssf[N.z!=null?N.z:"General"],J=60,be=b.length;if(H==null&&I.ssf){for(;J<392;++J)if(I.ssf[J]==null){B.load(N.z,J),I.ssf[J]=N.z,I.revssf[N.z]=H=J;break}}for(J=0;J!=be;++J)if(b[J].numFmtId===H)return J;return b[be]={numFmtId:H,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},be}function Hf(b,N,I,H,J,be){try{H.cellNF&&(b.z=B._table[N])}catch(He){if(H.WTF)throw He}if(b.t==="z"&&!H.cellStyles)return;if(b.t==="d"&&typeof b.v=="string"&&(b.v=de(b.v)),(!H||H.cellText!==!1)&&b.t!=="z")try{if(B._table[N]==null&&B.load(X[N]||"General",N),b.t==="e")b.w=b.w||No[b.v];else if(N===0)if(b.t==="n")(b.v|0)===b.v?b.w=B._general_int(b.v):b.w=B._general_num(b.v);else if(b.t==="d"){var ke=oe(b.v);(ke|0)===ke?b.w=B._general_int(ke):b.w=B._general_num(ke)}else{if(b.v===void 0)return"";b.w=B._general(b.v,Oh)}else b.t==="d"?b.w=B.format(N,oe(b.v),Oh):b.w=B.format(N,b.v,Oh)}catch(He){if(H.WTF)throw He}if(!H.cellStyles)return;if(I!=null)try{b.s=be.Fills[I],b.s.fgColor&&b.s.fgColor.theme&&!b.s.fgColor.rgb&&(b.s.fgColor.rgb=ae(J.themeElements.clrScheme[b.s.fgColor.theme].rgb,b.s.fgColor.tint||0),H.WTF&&(b.s.fgColor.raw_rgb=J.themeElements.clrScheme[b.s.fgColor.theme].rgb)),b.s.bgColor&&b.s.bgColor.theme&&(b.s.bgColor.rgb=ae(J.themeElements.clrScheme[b.s.bgColor.theme].rgb,b.s.bgColor.tint||0),H.WTF&&(b.s.bgColor.raw_rgb=J.themeElements.clrScheme[b.s.bgColor.theme].rgb))}catch(He){if(H.WTF&&be.Fills)throw He}}function qm(b,N,I){if(b&&b["!ref"]){var H=$i(b["!ref"]);if(H.e.c<H.s.c||H.e.r<H.s.r)throw new Error("Bad range ("+I+"): "+b["!ref"])}}function eg(b,N){var I=$i(N);I.s.r<=I.e.r&&I.s.c<=I.e.c&&I.s.r>=0&&I.s.c>=0&&(b["!ref"]=mn(I))}var tg=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,rg=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,ng=/<(?:\w:)?hyperlink [^>]*>/mg,ig=/"(\w*:\w*)"/,ag=/<(?:\w:)?col\b[^>]*[\/]?>/g,og=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,sg=/<(?:\w:)?pageMargins[^>]*\/>/g,Wf=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,lg=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,cg=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function ug(b,N,I,H,J,be,ke){if(!b)return b;H||(H={"!id":{}}),h!=null&&N.dense==null&&(N.dense=h);var He=N.dense?[]:{},dt={s:{r:2e6,c:2e6},e:{r:0,c:0}},Ot="",Ct="",dr=b.match(rg);dr?(Ot=b.slice(0,dr.index),Ct=b.slice(dr.index+dr[0].length)):Ot=Ct=b;var vr=Ot.match(Wf);vr?uf(vr[0],He,J,I):(vr=Ot.match(lg))&&hg(vr[0],vr[1]||"",He,J,I,ke,be);var kr=(Ot.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(kr>0){var Ur=Ot.slice(kr,kr+50).match(ig);Ur&&eg(He,Ur[1])}var Ar=Ot.match(cg);Ar&&Ar[1]&&Eg(Ar[1],J);var Dr=[];if(N.cellStyles){var kn=Ot.match(ag);kn&&yg(Dr,kn)}dr&&Og(dr[1],He,N,dt,be,ke);var Wn=Ct.match(og);Wn&&(He["!autofilter"]=xg(Wn[0]));var On=[],da=Ct.match(tg);if(da)for(kr=0;kr!=da.length;++kr)On[kr]=$i(da[kr].slice(da[kr].indexOf('"')+1));var Ba=Ct.match(ng);Ba&&Ag(He,Ba,H);var Bi=Ct.match(sg);if(Bi&&(He["!margins"]=vg(ur(Bi[0]))),!He["!ref"]&&dt.e.c>=dt.s.c&&dt.e.r>=dt.s.r&&(He["!ref"]=mn(dt)),N.sheetRows>0&&He["!ref"]){var vi=$i(He["!ref"]);N.sheetRows<=+vi.e.r&&(vi.e.r=N.sheetRows-1,vi.e.r>dt.e.r&&(vi.e.r=dt.e.r),vi.e.r<vi.s.r&&(vi.s.r=vi.e.r),vi.e.c>dt.e.c&&(vi.e.c=dt.e.c),vi.e.c<vi.s.c&&(vi.s.c=vi.e.c),He["!fullref"]=He["!ref"],He["!ref"]=mn(vi))}return Dr.length>0&&(He["!cols"]=Dr),On.length>0&&(He["!merges"]=On),He}function dg(b){if(b.length===0)return"";for(var N='<mergeCells count="'+b.length+'">',I=0;I!=b.length;++I)N+='<mergeCell ref="'+mn(b[I])+'"/>';return N+"</mergeCells>"}function uf(b,N,I,H){var J=ur(b);I.Sheets[H]||(I.Sheets[H]={}),J.codeName&&(I.Sheets[H].CodeName=lr(Ye(J.codeName)))}function hg(b,N,I,H,J){uf(b.slice(0,b.indexOf(">")),I,H,J)}function fg(b,N,I,H,J){var be=!1,ke={},He=null;if(H.bookType!=="xlsx"&&N.vbaraw){var dt=N.SheetNames[I];try{N.Workbook&&(dt=N.Workbook.Sheets[I].CodeName||dt)}catch(Ct){}be=!0,ke.codeName=ft(xr(dt))}if(b&&b["!outline"]){var Ot={summaryBelow:1,summaryRight:1};b["!outline"].above&&(Ot.summaryBelow=0),b["!outline"].left&&(Ot.summaryRight=0),He=(He||"")+Rt("outlinePr",null,Ot)}if(!be&&!He)return;J[J.length]=Rt("sheetPr",He,ke)}var pg=["objects","scenarios","selectLockedCells","selectUnlockedCells"],mg=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function gg(b){var N={sheet:1};return pg.forEach(function(I){b[I]!=null&&b[I]&&(N[I]="1")}),mg.forEach(function(I){b[I]!=null&&!b[I]&&(N[I]="0")}),b.password&&(N.password=wi(b.password).toString(16).toUpperCase()),Rt("sheetProtection",null,N)}function Ag(b,N,I){for(var H=Array.isArray(b),J=0;J!=N.length;++J){var be=ur(Ye(N[J]),!0);if(!be.ref)return;var ke=((I||{})["!id"]||[])[be.id];ke?(be.Target=ke.Target,be.location&&(be.Target+="#"+lr(be.location))):(be.Target="#"+lr(be.location),ke={Target:be.Target,TargetMode:"Internal"}),be.Rel=ke,be.tooltip&&(be.Tooltip=be.tooltip,delete be.tooltip);for(var He=$i(be.ref),dt=He.s.r;dt<=He.e.r;++dt)for(var Ot=He.s.c;Ot<=He.e.c;++Ot){var Ct=Ka({c:Ot,r:dt});H?(b[dt]||(b[dt]=[]),b[dt][Ot]||(b[dt][Ot]={t:"z",v:void 0}),b[dt][Ot].l=be):(b[Ct]||(b[Ct]={t:"z",v:void 0}),b[Ct].l=be)}}}function vg(b){var N={};return["left","right","top","bottom","header","footer"].forEach(function(I){b[I]&&(N[I]=parseFloat(b[I]))}),N}function bg(b){return vh(b),Rt("pageMargins",null,b)}function yg(b,N){for(var I=!1,H=0;H!=N.length;++H){var J=ur(N[H],!0);J.hidden&&(J.hidden=Ue(J.hidden));var be=parseInt(J.min,10)-1,ke=parseInt(J.max,10)-1;for(J.outlineLevel&&(J.level=+J.outlineLevel||0),delete J.min,delete J.max,J.width=+J.width,!I&&J.width&&(I=!0,jn(J.width)),gi(J);be<=ke;)b[be++]=Me(J)}}function wg(b,N){for(var I=["<cols>"],H,J=0;J!=N.length;++J){if(!(H=N[J]))continue;I[I.length]=Rt("col",null,Yh(J,H))}return I[I.length]="</cols>",I.join("")}function xg(b){var N={ref:(b.match(/ref="([^"]*)"/)||[])[1]};return N}function Sg(b,N,I,H){var J=typeof b.ref=="string"?b.ref:mn(b.ref);I.Workbook||(I.Workbook={Sheets:[]}),I.Workbook.Names||(I.Workbook.Names=[]);var be=I.Workbook.Names,ke=Gi(J);ke.s.r==ke.e.r&&(ke.e.r=Gi(N["!ref"]).e.r,J=mn(ke));for(var He=0;He<be.length;++He){var dt=be[He];if(dt.Name!="_xlnm._FilterDatabase")continue;if(dt.Sheet!=H)continue;dt.Ref="'"+I.SheetNames[H]+"'!"+J;break}return He==be.length&&be.push({Name:"_xlnm._FilterDatabase",Sheet:H,Ref:"'"+I.SheetNames[H]+"'!"+J}),Rt("autoFilter",null,{ref:J})}var Cg=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Eg(b,N){N.Views||(N.Views=[{}]),(b.match(Cg)||[]).forEach(function(I,H){var J=ur(I);N.Views[H]||(N.Views[H]={}),+J.zoomScale&&(N.Views[H].zoom=+J.zoomScale),Ue(J.rightToLeft)&&(N.Views[H].RTL=!0)})}function _g(b,N,I,H){var J={workbookViewId:"0"};return(((H||{}).Workbook||{}).Views||[])[0]&&(J.rightToLeft=H.Workbook.Views[0].RTL?"1":"0"),Rt("sheetViews",Rt("sheetView",null,J),{})}function Tg(b,N,I,H){if(b.c&&I["!comments"].push([N,b.c]),b.v===void 0&&typeof b.f!="string"||b.t==="z"&&!b.f)return"";var J="",be=b.t,ke=b.v;if(b.t!=="z")switch(b.t){case"b":J=b.v?"1":"0";break;case"n":J=""+b.v;break;case"e":J=No[b.v];break;case"d":H&&H.cellDates?J=de(b.v,-1).toISOString():(b=Me(b),b.t="n",J=""+(b.v=oe(de(b.v)))),typeof b.z=="undefined"&&(b.z=B._table[14]);break;default:J=b.v;break}var He=or("v",xr(J)),dt={r:N},Ot=dh(H.cellXfs,b,H);Ot!==0&&(dt.s=Ot);switch(b.t){case"n":break;case"d":dt.t="d";break;case"b":dt.t="b";break;case"e":dt.t="e";break;case"z":break;default:if(b.v==null){delete b.t;break}if(b.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(H&&H.bookSST){He=or("v",""+cf(H.Strings,b.v,H.revStrings)),dt.t="s";break}dt.t="str";break}if(b.t!=be&&(b.t=be,b.v=ke),typeof b.f=="string"&&b.f){var Ct=b.F&&b.F.slice(0,N.length)==N?{t:"array",ref:b.F}:null;He=Rt("f",xr(b.f),Ct)+(b.v!=null?He:"")}return b.l&&I["!links"].push([N,b.l]),b.D&&(dt.cm=1),Rt("c",He,dt)}var Og=function(){var b=/<(?:\w+:)?c[ \/>]/,N=/<\/(?:\w+:)?row>/,I=/r=["']([^"']*)["']/,H=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,J=/ref=["']([^"']*)["']/,be=Zr("v"),ke=Zr("f");return function(dt,Ot,Ct,dr,vr,kr){for(var Ur=0,Ar="",Dr=[],kn=[],Wn=0,On=0,da=0,Ba="",Bi,vi,_a=0,na=0,xa,Fa,Yi=0,go=0,Jo=Array.isArray(kr.CellXf),Uo,ms=[],Ss=[],Bl=Array.isArray(Ot),Qo=[],Is={},$a=!1,pi=!!Ct.sheetStubs,pa=dt.split(N),Xi=0,Qr=pa.length;Xi!=Qr;++Xi){Ar=pa[Xi].trim();var Dn=Ar.length;if(Dn===0)continue;var ai=0;e:for(Ur=0;Ur<Dn;++Ur)switch(Ar[Ur]){case">":if(Ar[Ur-1]!="/"){++Ur;break e}if(Ct&&Ct.cellStyles){if(vi=ur(Ar.slice(ai,Ur),!0),_a=vi.r!=null?parseInt(vi.r,10):_a+1,na=-1,Ct.sheetRows&&Ct.sheetRows<_a)continue;Is={},$a=!1,vi.ht&&($a=!0,Is.hpt=parseFloat(vi.ht),Is.hpx=eo(Is.hpt)),vi.hidden=="1"&&($a=!0,Is.hidden=!0),vi.outlineLevel!=null&&($a=!0,Is.level=+vi.outlineLevel),$a&&(Qo[_a-1]=Is)}break;case"<":ai=Ur;break}if(ai>=Ur)break;if(vi=ur(Ar.slice(ai,Ur),!0),_a=vi.r!=null?parseInt(vi.r,10):_a+1,na=-1,Ct.sheetRows&&Ct.sheetRows<_a)continue;dr.s.r>_a-1&&(dr.s.r=_a-1),dr.e.r<_a-1&&(dr.e.r=_a-1),Ct&&Ct.cellStyles&&(Is={},$a=!1,vi.ht&&($a=!0,Is.hpt=parseFloat(vi.ht),Is.hpx=eo(Is.hpt)),vi.hidden=="1"&&($a=!0,Is.hidden=!0),vi.outlineLevel!=null&&($a=!0,Is.level=+vi.outlineLevel),$a&&(Qo[_a-1]=Is)),Dr=Ar.slice(Ur).split(b);for(var Ta=0;Ta!=Dr.length&&!(Dr[Ta].trim().charAt(0)!="<");++Ta);for(Dr=Dr.slice(Ta),Ur=0;Ur!=Dr.length;++Ur){if(Ar=Dr[Ur].trim(),Ar.length===0)continue;if(kn=Ar.match(I),Wn=Ur,On=0,da=0,Ar="<c "+(Ar.slice(0,1)=="<"?">":"")+Ar,kn!=null&&kn.length===2){for(Wn=0,Ba=kn[1],On=0;On!=Ba.length&&!((da=Ba.charCodeAt(On)-64)<1||da>26);++On)Wn=26*Wn+da;--Wn,na=Wn}else++na;for(On=0;On!=Ar.length&&!(Ar.charCodeAt(On)===62);++On);if(++On,vi=ur(Ar.slice(0,On),!0),vi.r||(vi.r=Ka({r:_a-1,c:na})),Ba=Ar.slice(On),Bi={t:""},(kn=Ba.match(be))!=null&&kn[1]!==""&&(Bi.v=lr(kn[1])),Ct.cellFormula){if((kn=Ba.match(ke))!=null&&kn[1]!==""){if(Bi.f=lr(Ye(kn[1])).replace(/\r\n/g,`
|
|
|
`),Ct.xlfn||(Bi.f=Qd(Bi.f)),kn[0].indexOf('t="array"')>-1)Bi.F=(Ba.match(J)||[])[1],Bi.F.indexOf(":")>-1&&ms.push([$i(Bi.F),Bi.F]);else if(kn[0].indexOf('t="shared"')>-1){Fa=ur(kn[0]);var si=lr(Ye(kn[1]));Ct.xlfn||(si=Qd(si)),Ss[parseInt(Fa.si,10)]=[Fa,si,vi.r]}}else(kn=Ba.match(/<f[^>]*\/>/))&&(Fa=ur(kn[0]),Ss[Fa.si]&&(Bi.f=Yd(Ss[Fa.si][1],Ss[Fa.si][2],vi.r)));var ha=ja(vi.r);for(On=0;On<ms.length;++On)ha.r>=ms[On][0].s.r&&ha.r<=ms[On][0].e.r&&(ha.c>=ms[On][0].s.c&&ha.c<=ms[On][0].e.c&&(Bi.F=ms[On][1]))}if(vi.t==null&&Bi.v===void 0)if(Bi.f||Bi.F)Bi.v=0,Bi.t="n";else if(pi)Bi.t="z";else continue;else Bi.t=vi.t||"n";dr.s.c>na&&(dr.s.c=na),dr.e.c<na&&(dr.e.c=na);switch(Bi.t){case"n":if(Bi.v==""||Bi.v==null){if(!pi)continue;Bi.t="z"}else Bi.v=parseFloat(Bi.v);break;case"s":if(typeof Bi.v=="undefined"){if(!pi)continue;Bi.t="z"}else xa=Fh[parseInt(Bi.v,10)],Bi.v=xa.t,Bi.r=xa.r,Ct.cellHTML&&(Bi.h=xa.h);break;case"str":Bi.t="s",Bi.v=Bi.v!=null?Ye(Bi.v):"",Ct.cellHTML&&(Bi.h=di(Bi.v));break;case"inlineStr":kn=Ba.match(H),Bi.t="s",kn!=null&&(xa=Ad(kn[1]))?(Bi.v=xa.t,Ct.cellHTML&&(Bi.h=xa.h)):Bi.v="";break;case"b":Bi.v=Ue(Bi.v);break;case"d":Ct.cellDates?Bi.v=de(Bi.v,1):(Bi.v=oe(de(Bi.v,1)),Bi.t="n");break;case"e":(!Ct||Ct.cellText!==!1)&&(Bi.w=Bi.v),Bi.v=oo[Bi.v];break}if(Yi=go=0,Uo=null,Jo&&vi.s!==void 0&&(Uo=kr.CellXf[vi.s],Uo!=null&&(Uo.numFmtId!=null&&(Yi=Uo.numFmtId),Ct.cellStyles&&(Uo.fillId!=null&&(go=Uo.fillId)))),Hf(Bi,Yi,go,Ct,vr,kr),Ct.cellDates&&Jo&&Bi.t=="n"&&B.is_date(B._table[Yi])&&(Bi.t="d",Bi.v=xe(Bi.v)),vi.cm&&Ct.xlmeta){var Ii=(Ct.xlmeta.Cell||[])[+vi.cm-1];Ii&&Ii.type=="XLDAPR"&&(Bi.D=!0)}if(Bl){var En=ja(vi.r);Ot[En.r]||(Ot[En.r]=[]),Ot[En.r][En.c]=Bi}else Ot[vi.r]=Bi}}Qo.length>0&&(Ot["!rows"]=Qo)}}();function Ig(b,N,I,H){var J=[],be=[],ke=$i(b["!ref"]),He="",dt,Ot="",Ct=[],dr=0,vr=0,kr=b["!rows"],Ur=Array.isArray(b),Ar={r:Ot},Dr,kn=-1;for(vr=ke.s.c;vr<=ke.e.c;++vr)Ct[vr]=Fi(vr);for(dr=ke.s.r;dr<=ke.e.r;++dr){for(be=[],Ot=hi(dr),vr=ke.s.c;vr<=ke.e.c;++vr){dt=Ct[vr]+Ot;var Wn=Ur?(b[dr]||[])[vr]:b[dt];if(Wn===void 0)continue;(He=Tg(Wn,dt,b,N,I,H))!=null&&be.push(He)}(be.length>0||kr&&kr[dr])&&(Ar={r:Ot},kr&&kr[dr]&&(Dr=kr[dr],Dr.hidden&&(Ar.hidden=1),kn=-1,Dr.hpx?kn=Ua(Dr.hpx):Dr.hpt&&(kn=Dr.hpt),kn>-1&&(Ar.ht=kn,Ar.customHeight=1),Dr.level&&(Ar.outlineLevel=Dr.level)),J[J.length]=Rt("row",be.join(""),Ar))}if(kr)for(;dr<kr.length;++dr)kr&&kr[dr]&&(Ar={r:dr+1},Dr=kr[dr],Dr.hidden&&(Ar.hidden=1),kn=-1,Dr.hpx?kn=Ua(Dr.hpx):Dr.hpt&&(kn=Dr.hpt),kn>-1&&(Ar.ht=kn,Ar.customHeight=1),Dr.level&&(Ar.outlineLevel=Dr.level),J[J.length]=Rt("row","",Ar));return J.join("")}function zf(b,N,I,H){var J=[mt,Rt("worksheet",null,{xmlns:hn[0],"xmlns:r":br.r})],be=I.SheetNames[b],ke=0,He="",dt=I.Sheets[be];dt==null&&(dt={});var Ot=dt["!ref"]||"A1",Ct=$i(Ot);if(Ct.e.c>16383||Ct.e.r>1048575){if(N.WTF)throw new Error("Range "+Ot+" exceeds format limit A1:XFD1048576");Ct.e.c=Math.min(Ct.e.c,16383),Ct.e.r=Math.min(Ct.e.c,1048575),Ot=mn(Ct)}H||(H={}),dt["!comments"]=[];var dr=[];fg(dt,I,b,N,J),J[J.length]=Rt("dimension",null,{ref:Ot}),J[J.length]=_g(dt,N,b,I),N.sheetFormat&&(J[J.length]=Rt("sheetFormatPr",null,{defaultRowHeight:N.sheetFormat.defaultRowHeight||"16",baseColWidth:N.sheetFormat.baseColWidth||"10",outlineLevelRow:N.sheetFormat.outlineLevelRow||"7"})),dt["!cols"]!=null&&dt["!cols"].length>0&&(J[J.length]=wg(dt,dt["!cols"])),J[ke=J.length]="<sheetData/>",dt["!links"]=[],dt["!ref"]!=null&&(He=Ig(dt,N,b,I,H),He.length>0&&(J[J.length]=He)),J.length>ke+1&&(J[J.length]="</sheetData>",J[ke]=J[ke].replace("/>",">")),dt["!protect"]&&(J[J.length]=gg(dt["!protect"])),dt["!autofilter"]!=null&&(J[J.length]=Sg(dt["!autofilter"],dt,I,b)),dt["!merges"]!=null&&dt["!merges"].length>0&&(J[J.length]=dg(dt["!merges"]));var vr=-1,kr,Ur=-1;return dt["!links"].length>0&&(J[J.length]="<hyperlinks>",dt["!links"].forEach(function(Ar){if(!Ar[1].Target)return;kr={ref:Ar[0]},Ar[1].Target.charAt(0)!="#"&&(Ur=Io(H,-1,xr(Ar[1].Target).replace(/#.*$/,""),Za.HLINK),kr["r:id"]="rId"+Ur),(vr=Ar[1].Target.indexOf("#"))>-1&&(kr.location=xr(Ar[1].Target.slice(vr+1))),Ar[1].Tooltip&&(kr.tooltip=xr(Ar[1].Tooltip)),J[J.length]=Rt("hyperlink",null,kr)}),J[J.length]="</hyperlinks>"),delete dt["!links"],dt["!margins"]!=null&&(J[J.length]=bg(dt["!margins"])),(!N||N.ignoreEC||N.ignoreEC==null)&&(J[J.length]=or("ignoredErrors",Rt("ignoredError",null,{numberStoredAsText:1,sqref:Ot}))),dr.length>0&&(Ur=Io(H,-1,"../drawings/drawing"+(b+1)+".xml",Za.DRAW),J[J.length]=Rt("drawing",null,{"r:id":"rId"+Ur}),dt["!drawing"]=dr),dt["!comments"].length>0&&(Ur=Io(H,-1,"../drawings/vmlDrawing"+(b+1)+".vml",Za.VML),J[J.length]=Rt("legacyDrawing",null,{"r:id":"rId"+Ur}),dt["!legacy"]=Ur),J.length>1&&(J[J.length]="</worksheet>",J[1]=J[1].replace("/>",">")),J.join("")}function Lg(b,N){var I={},H=b.l+N;I.r=b.read_shift(4),b.l+=4;var J=b.read_shift(2);b.l+=1;var be=b.read_shift(1);return b.l=H,be&7&&(I.level=be&7),be&16&&(I.hidden=!0),be&32&&(I.hpt=J/20),I}function Ng(b,N,I){var H=Tn(17+8*16),J=(I["!rows"]||[])[b]||{};H.write_shift(4,b),H.write_shift(4,0);var be=320;J.hpx?be=Ua(J.hpx)*20:J.hpt&&(be=J.hpt*20),H.write_shift(2,be),H.write_shift(1,0);var ke=0;J.level&&(ke|=J.level),J.hidden&&(ke|=16),(J.hpx||J.hpt)&&(ke|=32),H.write_shift(1,ke),H.write_shift(1,0);var He=0,dt=H.l;H.l+=4;for(var Ot={r:b,c:0},Ct=0;Ct<16;++Ct){if(N.s.c>Ct+1<<10||N.e.c<Ct<<10)continue;for(var dr=-1,vr=-1,kr=Ct<<10;kr<Ct+1<<10;++kr){Ot.c=kr;var Ur=Array.isArray(I)?(I[Ot.r]||[])[Ot.c]:I[Ka(Ot)];Ur&&(dr<0&&(dr=kr),vr=kr)}if(dr<0)continue;++He,H.write_shift(4,dr),H.write_shift(4,vr)}var Ar=H.l;return H.l=dt,H.write_shift(4,He),H.l=Ar,H.length>H.l?H.slice(0,H.l):H}function Mg(b,N,I,H){var J=Ng(H,I,N);(J.length>17||(N["!rows"]||[])[H])&&li(b,0,J)}var Dg=va,Rg=Ca;function Bg(){}function kg(b,N){var I={},H=b[b.l];return++b.l,I.above=!(H&64),I.left=!(H&128),b.l+=18,I.name=qn(b,N-19),I}function Fg(b,N,I){I==null&&(I=Tn(84+4*b.length));var H=192;N&&(N.above&&(H&=~64),N.left&&(H&=~128)),I.write_shift(1,H);for(var J=1;J<3;++J)I.write_shift(1,0);return Or({auto:1},I),I.write_shift(-4,-1),I.write_shift(-4,-1),ti(b,I),I.slice(0,I.l)}function Pg(b){var N=Xn(b);return[N]}function Ug(b,N,I){return I==null&&(I=Tn(8)),ii(N,I)}function jg(b){var N=fi(b);return[N]}function Hg(b,N,I){return I==null&&(I=Tn(4)),ui(N,I)}function Wg(b){var N=Xn(b),I=b.read_shift(1);return[N,I,"b"]}function zg(b,N,I){return I==null&&(I=Tn(9)),ii(N,I),I.write_shift(1,b.v?1:0),I}function Kg(b){var N=fi(b),I=b.read_shift(1);return[N,I,"b"]}function Vg(b,N,I){return I==null&&(I=Tn(5)),ui(N,I),I.write_shift(1,b.v?1:0),I}function Xg(b){var N=Xn(b),I=b.read_shift(1);return[N,I,"e"]}function Gg(b,N,I){return I==null&&(I=Tn(9)),ii(N,I),I.write_shift(1,b.v),I}function Yg(b){var N=fi(b),I=b.read_shift(1);return[N,I,"e"]}function Qg(b,N,I){return I==null&&(I=Tn(8)),ui(N,I),I.write_shift(1,b.v),I.write_shift(2,0),I.write_shift(1,0),I}function Zg(b){var N=Xn(b),I=b.read_shift(4);return[N,I,"s"]}function Jg(b,N,I){return I==null&&(I=Tn(12)),ii(N,I),I.write_shift(4,N.v),I}function $g(b){var N=fi(b),I=b.read_shift(4);return[N,I,"s"]}function qg(b,N,I){return I==null&&(I=Tn(8)),ui(N,I),I.write_shift(4,N.v),I}function e0(b){var N=Xn(b),I=Ai(b);return[N,I,"n"]}function t0(b,N,I){return I==null&&(I=Tn(16)),ii(N,I),Aa(b.v,I),I}function Kf(b){var N=fi(b),I=Ai(b);return[N,I,"n"]}function r0(b,N,I){return I==null&&(I=Tn(12)),ui(N,I),Aa(b.v,I),I}function n0(b){var N=Xn(b),I=sa(b);return[N,I,"n"]}function i0(b,N,I){return I==null&&(I=Tn(12)),ii(N,I),Na(b.v,I),I}function a0(b){var N=fi(b),I=sa(b);return[N,I,"n"]}function o0(b,N,I){return I==null&&(I=Tn(8)),ui(N,I),Na(b.v,I),I}function s0(b){var N=Xn(b),I=Yr(b);return[N,I,"is"]}function l0(b){var N=Xn(b),I=tt(b);return[N,I,"str"]}function c0(b,N,I){return I==null&&(I=Tn(12+4*b.v.length)),ii(N,I),Ft(b.v,I),I.length>I.l?I.slice(0,I.l):I}function u0(b){var N=fi(b),I=tt(b);return[N,I,"str"]}function d0(b,N,I){return I==null&&(I=Tn(8+4*b.v.length)),ui(N,I),Ft(b.v,I),I.length>I.l?I.slice(0,I.l):I}function h0(b,N,I){var H=b.l+N,J=Xn(b);J.r=I["!row"];var be=b.read_shift(1),ke=[J,be,"b"];if(I.cellFormula){b.l+=2;var He=Gh(b,H-b.l,I);ke[3]=Su(He,null,J,I.supbooks,I)}else b.l=H;return ke}function f0(b,N,I){var H=b.l+N,J=Xn(b);J.r=I["!row"];var be=b.read_shift(1),ke=[J,be,"e"];if(I.cellFormula){b.l+=2;var He=Gh(b,H-b.l,I);ke[3]=Su(He,null,J,I.supbooks,I)}else b.l=H;return ke}function p0(b,N,I){var H=b.l+N,J=Xn(b);J.r=I["!row"];var be=Ai(b),ke=[J,be,"n"];if(I.cellFormula){b.l+=2;var He=Gh(b,H-b.l,I);ke[3]=Su(He,null,J,I.supbooks,I)}else b.l=H;return ke}function m0(b,N,I){var H=b.l+N,J=Xn(b);J.r=I["!row"];var be=tt(b),ke=[J,be,"str"];if(I.cellFormula){b.l+=2;var He=Gh(b,H-b.l,I);ke[3]=Su(He,null,J,I.supbooks,I)}else b.l=H;return ke}var g0=va,A0=Ca;function v0(b,N){return N==null&&(N=Tn(4)),N.write_shift(4,b),N}function b0(b,N){var I=b.l+N,H=va(b,16),J=oi(b),be=tt(b),ke=tt(b),He=tt(b);b.l=I;var dt={rfx:H,relId:J,loc:be,display:He};return ke&&(dt.Tooltip=ke),dt}function y0(b,N){var I=Tn(50+4*(b[1].Target.length+(b[1].Tooltip||"").length));Ca({s:ja(b[0]),e:ja(b[0])},I),ca("rId"+N,I);var H=b[1].Target.indexOf("#"),J=H==-1?"":b[1].Target.slice(H+1);return Ft(J||"",I),Ft(b[1].Tooltip||"",I),Ft("",I),I.slice(0,I.l)}function w0(){}function x0(b,N,I){var H=b.l+N,J=Pa(b,16),be=b.read_shift(1),ke=[J];if(ke[2]=be,I.cellFormula){var He=Xm(b,H-b.l,I);ke[1]=He}else b.l=H;return ke}function S0(b,N,I){var H=b.l+N,J=va(b,16),be=[J];if(I.cellFormula){var ke=Ym(b,H-b.l,I);be[1]=ke,b.l=H}else b.l=H;return be}function C0(b,N,I){I==null&&(I=Tn(18));var H=Yh(b,N);I.write_shift(-4,b),I.write_shift(-4,b),I.write_shift(4,(H.width||10)*256),I.write_shift(4,0);var J=0;return N.hidden&&(J|=1),typeof H.width=="number"&&(J|=2),N.level&&(J|=N.level<<8),I.write_shift(2,J),I}var Vf=["left","right","top","bottom","header","footer"];function E0(b){var N={};return Vf.forEach(function(I){N[I]=Ai(b,8)}),N}function _0(b,N){return N==null&&(N=Tn(6*8)),vh(b),Vf.forEach(function(I){Aa(b[I],N)}),N}function T0(b){var N=b.read_shift(2);return b.l+=28,{RTL:N&32}}function O0(b,N,I){I==null&&(I=Tn(30));var H=924;return(((N||{}).Views||[])[0]||{}).RTL&&(H|=32),I.write_shift(2,H),I.write_shift(4,0),I.write_shift(4,0),I.write_shift(4,0),I.write_shift(1,0),I.write_shift(1,0),I.write_shift(2,0),I.write_shift(2,100),I.write_shift(2,0),I.write_shift(2,0),I.write_shift(2,0),I.write_shift(4,0),I}function I0(b){var N=Tn(24);return N.write_shift(4,4),N.write_shift(4,1),Ca(b,N),N}function L0(b,N){return N==null&&(N=Tn(16*4+2)),N.write_shift(2,b.password?wi(b.password):0),N.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(I){I[1]?N.write_shift(4,b[I[0]]!=null&&!b[I[0]]?1:0):N.write_shift(4,b[I[0]]!=null&&b[I[0]]?0:1)}),N}function N0(){}function M0(){}function D0(b,N,I,H,J,be,ke){if(!b)return b;var He=N||{};H||(H={"!id":{}}),h!=null&&He.dense==null&&(He.dense=h);var dt=He.dense?[]:{},Ot,Ct={s:{r:2e6,c:2e6},e:{r:0,c:0}},dr=[],vr=!1,kr=!1,Ur,Ar,Dr,kn,Wn,On,da,Ba,Bi,vi=[];He.biff=12,He["!row"]=0;var _a=0,na=!1,xa=[],Fa={},Yi=He.supbooks||J.supbooks||[[]];if(Yi.sharedf=Fa,Yi.arrayf=xa,Yi.SheetNames=J.SheetNames||J.Sheets.map(function(Is){return Is.name}),!He.supbooks&&(He.supbooks=Yi,J.Names))for(var go=0;go<J.Names.length;++go)Yi[0][go+1]=J.Names[go];var Jo=[],Uo=[],ms=!1;jh[16]={n:"BrtShortReal",f:Kf};var Ss,Bl;if(oa(b,function($a,pi,pa){if(kr)return;switch(pa){case 148:Ot=$a;break;case 0:Ur=$a,He.sheetRows&&He.sheetRows<=Ur.r&&(kr=!0),Ba=hi(kn=Ur.r),He["!row"]=Ur.r,($a.hidden||$a.hpt||$a.level!=null)&&($a.hpt&&($a.hpx=eo($a.hpt)),Uo[$a.r]=$a);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:Ar={t:$a[2]};switch($a[2]){case"n":Ar.v=$a[1];break;case"s":da=Fh[$a[1]],Ar.v=da.t,Ar.r=da.r;break;case"b":Ar.v=!!$a[1];break;case"e":Ar.v=$a[1],He.cellText!==!1&&(Ar.w=No[Ar.v]);break;case"str":Ar.t="s",Ar.v=$a[1];break;case"is":Ar.t="s",Ar.v=$a[1].t;break}if((Dr=ke.CellXf[$a[0].iStyleRef])&&Hf(Ar,Dr.numFmtId,null,He,be,ke),Wn=$a[0].c==-1?Wn+1:$a[0].c,He.dense?(dt[kn]||(dt[kn]=[]),dt[kn][Wn]=Ar):dt[Fi(Wn)+Ba]=Ar,He.cellFormula){for(na=!1,_a=0;_a<xa.length;++_a){var Xi=xa[_a];Ur.r>=Xi[0].s.r&&Ur.r<=Xi[0].e.r&&(Wn>=Xi[0].s.c&&Wn<=Xi[0].e.c&&(Ar.F=mn(Xi[0]),na=!0))}!na&&$a.length>3&&(Ar.f=$a[3])}if(Ct.s.r>Ur.r&&(Ct.s.r=Ur.r),Ct.s.c>Wn&&(Ct.s.c=Wn),Ct.e.r<Ur.r&&(Ct.e.r=Ur.r),Ct.e.c<Wn&&(Ct.e.c=Wn),He.cellDates&&Dr&&Ar.t=="n"&&B.is_date(B._table[Dr.numFmtId])){var Qr=B.parse_date_code(Ar.v);Qr&&(Ar.t="d",Ar.v=new Date(Qr.y,Qr.m-1,Qr.d,Qr.H,Qr.M,Qr.S,Qr.u))}Ss&&(Ss.type=="XLDAPR"&&(Ar.D=!0),Ss=void 0),Bl&&(Bl=void 0);break;case 1:case 12:if(!He.sheetStubs||vr)break;Ar={t:"z",v:void 0},Wn=$a[0].c==-1?Wn+1:$a[0].c,He.dense?(dt[kn]||(dt[kn]=[]),dt[kn][Wn]=Ar):dt[Fi(Wn)+Ba]=Ar,Ct.s.r>Ur.r&&(Ct.s.r=Ur.r),Ct.s.c>Wn&&(Ct.s.c=Wn),Ct.e.r<Ur.r&&(Ct.e.r=Ur.r),Ct.e.c<Wn&&(Ct.e.c=Wn),Ss&&(Ss.type=="XLDAPR"&&(Ar.D=!0),Ss=void 0),Bl&&(Bl=void 0);break;case 176:vi.push($a);break;case 49:Ss=((He.xlmeta||{}).Cell||[])[$a-1];break;case 494:var Dn=H["!id"][$a.relId];for(Dn?($a.Target=Dn.Target,$a.loc&&($a.Target+="#"+$a.loc),$a.Rel=Dn):$a.relId==""&&($a.Target="#"+$a.loc),kn=$a.rfx.s.r;kn<=$a.rfx.e.r;++kn)for(Wn=$a.rfx.s.c;Wn<=$a.rfx.e.c;++Wn)He.dense?(dt[kn]||(dt[kn]=[]),dt[kn][Wn]||(dt[kn][Wn]={t:"z",v:void 0}),dt[kn][Wn].l=$a):(On=Ka({c:Wn,r:kn}),dt[On]||(dt[On]={t:"z",v:void 0}),dt[On].l=$a);break;case 426:if(!He.cellFormula)break;xa.push($a),Bi=He.dense?dt[kn][Wn]:dt[Fi(Wn)+Ba],Bi.f=Su($a[1],Ct,{r:Ur.r,c:Wn},Yi,He),Bi.F=mn($a[0]);break;case 427:if(!He.cellFormula)break;Fa[Ka($a[0].s)]=$a[1],Bi=He.dense?dt[kn][Wn]:dt[Fi(Wn)+Ba],Bi.f=Su($a[1],Ct,{r:Ur.r,c:Wn},Yi,He);break;case 60:if(!He.cellStyles)break;for(;$a.e>=$a.s;)Jo[$a.e--]={width:$a.w/256,hidden:!!($a.flags&1),level:$a.level},ms||(ms=!0,jn($a.w/256)),gi(Jo[$a.e+1]);break;case 161:dt["!autofilter"]={ref:mn($a)};break;case 476:dt["!margins"]=$a;break;case 147:J.Sheets[I]||(J.Sheets[I]={}),$a.name&&(J.Sheets[I].CodeName=$a.name),($a.above||$a.left)&&(dt["!outline"]={above:$a.above,left:$a.left});break;case 137:J.Views||(J.Views=[{}]),J.Views[0]||(J.Views[0]={}),$a.RTL&&(J.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:vr=!0;break;case 36:vr=!1;break;case 37:dr.push(pa),vr=!0;break;case 38:dr.pop(),vr=!1;break;default:if(!pi.T){if(!vr||He.WTF)throw new Error("Unexpected record 0x"+pa.toString(16))}}},He),delete He.supbooks,delete He["!row"],!dt["!ref"]&&(Ct.s.r<2e6||Ot&&(Ot.e.r>0||Ot.e.c>0||Ot.s.r>0||Ot.s.c>0))&&(dt["!ref"]=mn(Ot||Ct)),He.sheetRows&&dt["!ref"]){var Qo=$i(dt["!ref"]);He.sheetRows<=+Qo.e.r&&(Qo.e.r=He.sheetRows-1,Qo.e.r>Ct.e.r&&(Qo.e.r=Ct.e.r),Qo.e.r<Qo.s.r&&(Qo.s.r=Qo.e.r),Qo.e.c>Ct.e.c&&(Qo.e.c=Ct.e.c),Qo.e.c<Qo.s.c&&(Qo.s.c=Qo.e.c),dt["!fullref"]=dt["!ref"],dt["!ref"]=mn(Qo))}return vi.length>0&&(dt["!merges"]=vi),Jo.length>0&&(dt["!cols"]=Jo),Uo.length>0&&(dt["!rows"]=Uo),dt}function R0(b,N,I,H,J,be,ke){if(N.v===void 0)return!1;var He="";switch(N.t){case"b":He=N.v?"1":"0";break;case"d":N=Me(N),N.z=N.z||B._table[14],N.v=oe(de(N.v)),N.t="n";break;case"n":case"e":He=""+N.v;break;default:He=N.v;break}var dt={r:I,c:H};dt.s=dh(J.cellXfs,N,J),N.l&&be["!links"].push([Ka(dt),N.l]),N.c&&be["!comments"].push([Ka(dt),N.c]);switch(N.t){case"s":case"str":return J.bookSST?(He=cf(J.Strings,N.v,J.revStrings),dt.t="s",dt.v=He,ke?li(b,18,qg(N,dt)):li(b,7,Jg(N,dt))):(dt.t="str",ke?li(b,17,d0(N,dt)):li(b,6,c0(N,dt))),!0;case"n":return N.v==(N.v|0)&&N.v>-1e3&&N.v<1e3?ke?li(b,13,o0(N,dt)):li(b,2,i0(N,dt)):ke?li(b,16,r0(N,dt)):li(b,5,t0(N,dt)),!0;case"b":return dt.t="b",ke?li(b,15,Vg(N,dt)):li(b,4,zg(N,dt)),!0;case"e":return dt.t="e",ke?li(b,14,Qg(N,dt)):li(b,3,Gg(N,dt)),!0}return ke?li(b,12,Hg(N,dt)):li(b,1,Ug(N,dt)),!0}function B0(b,N,I,H){var J=$i(N["!ref"]||"A1"),be,ke="",He=[];li(b,145);var dt=Array.isArray(N),Ot=J.e.r;N["!rows"]&&(Ot=Math.max(J.e.r,N["!rows"].length-1));for(var Ct=J.s.r;Ct<=Ot;++Ct){ke=hi(Ct),Mg(b,N,J,Ct);var dr=!1;if(Ct<=J.e.r)for(var vr=J.s.c;vr<=J.e.c;++vr){Ct===J.s.r&&(He[vr]=Fi(vr)),be=He[vr]+ke;var kr=dt?(N[Ct]||[])[vr]:N[be];if(!kr){dr=!1;continue}dr=R0(b,kr,Ct,vr,H,N,dr)}}li(b,146)}function k0(b,N){if(!N||!N["!merges"])return;li(b,177,v0(N["!merges"].length)),N["!merges"].forEach(function(I){li(b,176,A0(I))}),li(b,178)}function F0(b,N){if(!N||!N["!cols"])return;li(b,390),N["!cols"].forEach(function(I,H){I&&li(b,60,C0(H,I))}),li(b,391)}function P0(b,N){if(!N||!N["!ref"])return;li(b,648),li(b,649,I0($i(N["!ref"]))),li(b,650)}function U0(b,N,I){N["!links"].forEach(function(H){if(!H[1].Target)return;var J=Io(I,-1,H[1].Target.replace(/#.*$/,""),Za.HLINK);li(b,494,y0(H,J))}),delete N["!links"]}function j0(b,N,I,H){if(N["!comments"].length>0){var J=Io(H,-1,"../drawings/vmlDrawing"+(I+1)+".vml",Za.VML);li(b,551,ca("rId"+J)),N["!legacy"]=J}}function H0(b,N,I,H){if(!N["!autofilter"])return;var J=N["!autofilter"],be=typeof J.ref=="string"?J.ref:mn(J.ref);I.Workbook||(I.Workbook={Sheets:[]}),I.Workbook.Names||(I.Workbook.Names=[]);var ke=I.Workbook.Names,He=Gi(be);He.s.r==He.e.r&&(He.e.r=Gi(N["!ref"]).e.r,be=mn(He));for(var dt=0;dt<ke.length;++dt){var Ot=ke[dt];if(Ot.Name!="_xlnm._FilterDatabase")continue;if(Ot.Sheet!=H)continue;Ot.Ref="'"+I.SheetNames[H]+"'!"+be;break}dt==ke.length&&ke.push({Name:"_xlnm._FilterDatabase",Sheet:H,Ref:"'"+I.SheetNames[H]+"'!"+be}),li(b,161,Ca($i(be))),li(b,162)}function W0(b,N,I){li(b,133),li(b,137,O0(N,I)),li(b,138),li(b,134)}function z0(){}function K0(b,N){if(!N["!protect"])return;li(b,535,L0(N["!protect"]))}function V0(b,N,I,H){var J=Ti(),be=I.SheetNames[b],ke=I.Sheets[be]||{},He=be;try{I&&I.Workbook&&(He=I.Workbook.Sheets[b].CodeName||He)}catch(Ot){}var dt=$i(ke["!ref"]||"A1");if(dt.e.c>16383||dt.e.r>1048575){if(N.WTF)throw new Error("Range "+(ke["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");dt.e.c=Math.min(dt.e.c,16383),dt.e.r=Math.min(dt.e.c,1048575)}return ke["!links"]=[],ke["!comments"]=[],li(J,129),(I.vbaraw||ke["!outline"])&&li(J,147,Fg(He,ke["!outline"])),li(J,148,Rg(dt)),W0(J,ke,I.Workbook),z0(J,ke),F0(J,ke,b,N,I),B0(J,ke,b,N,I),K0(J,ke),H0(J,ke,I,b),k0(J,ke),U0(J,ke,H),ke["!margins"]&&li(J,476,_0(ke["!margins"])),(!N||N.ignoreEC||N.ignoreEC==null)&&P0(J,ke),j0(J,ke,b,H),li(J,130),J.end()}function X0(b){var N=[],I=b.match(/^<c:numCache>/),H;(b.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/mg)||[]).forEach(function(be){var ke=be.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);if(!ke)return;N[+ke[1]]=I?+ke[2]:ke[2]});var J=lr((b.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(b.match(/<c:f>(.*?)<\/c:f>/mg)||[]).forEach(function(be){H=be.replace(/<.*?>/g,"")}),[N,J,H]}function G0(b,N,I,H,J,be){var ke=be||{"!type":"chart"};if(!b)return be;var He=0,dt=0,Ot="A",Ct={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(b.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(dr){var vr=X0(dr);Ct.s.r=Ct.s.c=0,Ct.e.c=He,Ot=Fi(He),vr[0].forEach(function(kr,Ur){ke[Ot+hi(Ur)]={t:"n",v:kr,z:vr[1]},dt=Ur}),Ct.e.r<dt&&(Ct.e.r=dt),++He}),He>0&&(ke["!ref"]=mn(Ct)),ke}function Y0(b,N,I,H,J){if(!b)return b;H||(H={"!id":{}});var be={"!type":"chart","!drawel":null,"!rel":""},ke,He=b.match(Wf);return He&&uf(He[0],be,J,I),(ke=b.match(/drawing r:id="(.*?)"/))&&(be["!rel"]=ke[1]),H["!id"][be["!rel"]]&&(be["!drawel"]=H["!id"][be["!rel"]]),be}function Q0(b,N,I,H){var J=[mt,Rt("chartsheet",null,{xmlns:hn[0],"xmlns:r":br.r})];return J[J.length]=Rt("drawing",null,{"r:id":"rId1"}),Io(H,-1,"../drawings/drawing"+(b+1)+".xml",Za.DRAW),J.length>2&&(J[J.length]="</chartsheet>",J[1]=J[1].replace("/>",">")),J.join("")}function Z0(b,N){b.l+=10;var I=tt(b,N-10);return{name:I}}function J0(b,N,I,H,J){if(!b)return b;H||(H={"!id":{}});var be={"!type":"chart","!drawel":null,"!rel":""},ke=[],He=!1;return oa(b,function(Ot,Ct,dr){switch(dr){case 550:be["!rel"]=Ot;break;case 651:J.Sheets[I]||(J.Sheets[I]={}),Ot.name&&(J.Sheets[I].CodeName=Ot.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:He=!0;break;case 36:He=!1;break;case 37:ke.push(dr);break;case 38:ke.pop();break;default:if(Ct.T>0)ke.push(dr);else if(Ct.T<0)ke.pop();else if(!He||N.WTF)throw new Error("Unexpected record 0x"+dr.toString(16))}},N),H["!id"][be["!rel"]]&&(be["!drawel"]=H["!id"][be["!rel"]]),be}function $0(){var b=Ti();return li(b,129),li(b,130),b.end()}var df=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],q0=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],eA=[],tA=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Xf(b,N){for(var I=0;I!=b.length;++I)for(var H=b[I],J=0;J!=N.length;++J){var be=N[J];if(H[be[0]]==null)H[be[0]]=be[1];else switch(be[2]){case"bool":typeof H[be[0]]=="string"&&(H[be[0]]=Ue(H[be[0]]));break;case"int":typeof H[be[0]]=="string"&&(H[be[0]]=parseInt(H[be[0]],10));break}}}function Gf(b,N){for(var I=0;I!=N.length;++I){var H=N[I];if(b[H[0]]==null)b[H[0]]=H[1];else switch(H[2]){case"bool":typeof b[H[0]]=="string"&&(b[H[0]]=Ue(b[H[0]]));break;case"int":typeof b[H[0]]=="string"&&(b[H[0]]=parseInt(b[H[0]],10));break}}}function Yf(b){Gf(b.WBProps,df),Gf(b.CalcPr,tA),Xf(b.WBView,q0),Xf(b.Sheets,eA),Oh.date1904=Ue(b.WBProps.date1904)}function rA(b){return b.Workbook&&(b.Workbook.WBProps&&Ue(b.Workbook.WBProps.date1904))?"true":"false"}var nA="][*?/\\".split("");function Qf(b,N){if(b.length>31){if(N)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var I=!0;return nA.forEach(function(H){if(b.indexOf(H)==-1)return;if(!N)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");I=!1}),I}function iA(b,N,I){b.forEach(function(H,J){Qf(H);for(var be=0;be<J;++be)if(H==b[be])throw new Error("Duplicate Sheet Name: "+H);if(I){var ke=N&&N[J]&&N[J].CodeName||H;if(ke.charCodeAt(0)==95&&ke.length>22)throw new Error("Bad Code Name: Worksheet"+ke)}})}function Zf(b){if(!b||!b.SheetNames||!b.Sheets)throw new Error("Invalid Workbook");if(!b.SheetNames.length)throw new Error("Workbook is empty");var N=b.Workbook&&b.Workbook.Sheets||[];iA(b.SheetNames,N,!!b.vbaraw);for(var I=0;I<b.SheetNames.length;++I)qm(b.Sheets[b.SheetNames[I]],b.SheetNames[I],I)}var aA=/<\w+:workbook/;function oA(b,N){if(!b)throw new Error("Could not find file");var I={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},H=!1,J="xmlns",be={},ke=0;if(b.replace(yr,function(dt,Ot){var Ct=ur(dt);switch(zt(Ct[0])){case"<?xml":break;case"<workbook":dt.match(aA)&&(J="xmlns"+dt.match(/<(\w+):/)[1]),I.xmlns=Ct[J];break;case"</workbook>":break;case"<fileVersion":delete Ct[0],I.AppVersion=Ct;break;case"<fileVersion/>":case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":df.forEach(function(dr){if(Ct[dr[0]]==null)return;switch(dr[2]){case"bool":I.WBProps[dr[0]]=Ue(Ct[dr[0]]);break;case"int":I.WBProps[dr[0]]=parseInt(Ct[dr[0]],10);break;default:I.WBProps[dr[0]]=Ct[dr[0]]}}),Ct.codeName&&(I.WBProps.CodeName=Ye(Ct.codeName));break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete Ct[0],I.WBView.push(Ct);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(Ct.state){case"hidden":Ct.Hidden=1;break;case"veryHidden":Ct.Hidden=2;break;default:Ct.Hidden=0}delete Ct.state,Ct.name=lr(Ye(Ct.name)),delete Ct[0],I.Sheets.push(Ct);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":case"<definedNames":H=!0;break;case"</definedNames>":H=!1;break;case"<definedName":be={},be.Name=Ye(Ct.name),Ct.comment&&(be.Comment=Ct.comment),Ct.localSheetId&&(be.Sheet=+Ct.localSheetId),Ue(Ct.hidden||"0")&&(be.Hidden=!0),ke=Ot+dt.length;break;case"</definedName>":be.Ref=lr(Ye(b.slice(ke,Ot))),I.Names.push(be);break;case"<definedName/>":break;case"<calcPr":delete Ct[0],I.CalcPr=Ct;break;case"<calcPr/>":delete Ct[0],I.CalcPr=Ct;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":H=!0;break;case"</ext>":H=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":H=!0;break;case"</AlternateContent>":H=!1;break;case"<revisionPtr":break;default:if(!H&&N.WTF)throw new Error("unrecognized "+Ct[0]+" in workbook")}return dt}),hn.indexOf(I.xmlns)===-1)throw new Error("Unknown Namespace: "+I.xmlns);return Yf(I),I}function Jf(b){var N=[mt];N[N.length]=Rt("workbook",null,{xmlns:hn[0],"xmlns:r":br.r});var I=b.Workbook&&(b.Workbook.Names||[]).length>0,H={codeName:"ThisWorkbook"};b.Workbook&&b.Workbook.WBProps&&(df.forEach(function(He){if(b.Workbook.WBProps[He[0]]==null)return;if(b.Workbook.WBProps[He[0]]==He[1])return;H[He[0]]=b.Workbook.WBProps[He[0]]}),b.Workbook.WBProps.CodeName&&(H.codeName=b.Workbook.WBProps.CodeName,delete H.CodeName)),N[N.length]=Rt("workbookPr",null,H);var J=b.Workbook&&b.Workbook.Sheets||[],be=0;if(J&&J[0]&&!!J[0].Hidden){for(N[N.length]="<bookViews>",be=0;be!=b.SheetNames.length&&J[be];++be)if(!J[be].Hidden)break;be==b.SheetNames.length&&(be=0),N[N.length]='<workbookView firstSheet="'+be+'" activeTab="'+be+'"/>',N[N.length]="</bookViews>"}for(N[N.length]="<sheets>",be=0;be!=b.SheetNames.length;++be){var ke={name:xr(b.SheetNames[be].slice(0,31))};if(ke.sheetId=""+(be+1),ke["r:id"]="rId"+(be+1),J[be])switch(J[be].Hidden){case 1:ke.state="hidden";break;case 2:ke.state="veryHidden";break}N[N.length]=Rt("sheet",null,ke)}return N[N.length]="</sheets>",I&&(N[N.length]="<definedNames>",b.Workbook&&b.Workbook.Names&&b.Workbook.Names.forEach(function(He){var dt={name:He.Name};if(He.Comment&&(dt.comment=He.Comment),He.Sheet!=null&&(dt.localSheetId=""+He.Sheet),He.Hidden&&(dt.hidden="1"),!He.Ref)return;N[N.length]=Rt("definedName",xr(He.Ref),dt)}),N[N.length]="</definedNames>"),N.length>2&&(N[N.length]="</workbook>",N[1]=N[1].replace("/>",">")),N.join("")}function sA(b,N){var I={};return I.Hidden=b.read_shift(4),I.iTabID=b.read_shift(4),I.strRelID=Pi(b,N-8),I.name=tt(b),I}function lA(b,N){return N||(N=Tn(127)),N.write_shift(4,b.Hidden),N.write_shift(4,b.iTabID),ca(b.strRelID,N),Ft(b.name.slice(0,31),N),N.length>N.l?N.slice(0,N.l):N}function cA(b,N){var I={},H=b.read_shift(4);I.defaultThemeVersion=b.read_shift(4);var J=N>8?tt(b):"";return J.length>0&&(I.CodeName=J),I.autoCompressPictures=!!(H&65536),I.backupFile=!!(H&64),I.checkCompatibility=!!(H&4096),I.date1904=!!(H&1),I.filterPrivacy=!!(H&8),I.hidePivotFieldList=!!(H&1024),I.promptedSolutions=!!(H&16),I.publishItems=!!(H&2048),I.refreshAllConnections=!!(H&262144),I.saveExternalLinkValues=!!(H&128),I.showBorderUnselectedTables=!!(H&4),I.showInkAnnotation=!!(H&32),I.showObjects=["all","placeholders","none"][H>>13&3],I.showPivotChartFilter=!!(H&32768),I.updateLinks=["userSet","never","always"][H>>8&3],I}function uA(b,N){N||(N=Tn(72));var I=0;return b&&(b.filterPrivacy&&(I|=8)),N.write_shift(4,I),N.write_shift(4,0),ti(b&&b.CodeName||"ThisWorkbook",N),N.slice(0,N.l)}function dA(b,N){var I={};return b.read_shift(4),I.ArchID=b.read_shift(4),b.l+=N-8,I}function hA(b,N,I){var H=b.l+N;b.l+=4,b.l+=1;var J=b.read_shift(4),be=Mi(b),ke=Gm(b,0,I),He=oi(b);b.l=H;var dt={Name:be,Ptg:ke};return J<268435455&&(dt.Sheet=J),He&&(dt.Comment=He),dt}function fA(b,N){var I={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},H=[],J=!1;N||(N={}),N.biff=12;var be=[],ke=[[]];return ke.SheetNames=[],ke.XTI=[],jh[16]={n:"BrtFRTArchID$",f:dA},oa(b,function(dt,Ot,Ct){switch(Ct){case 156:ke.SheetNames.push(dt.name),I.Sheets.push(dt);break;case 153:I.WBProps=dt;break;case 39:dt.Sheet!=null&&(N.SID=dt.Sheet),dt.Ref=Su(dt.Ptg,null,null,ke,N),delete N.SID,delete dt.Ptg,be.push(dt);break;case 1036:break;case 357:case 358:case 355:case 667:ke[0].length?ke.push([Ct,dt]):ke[0]=[Ct,dt],ke[ke.length-1].XTI=[];break;case 362:ke.length===0&&(ke[0]=[],ke[0].XTI=[]),ke[ke.length-1].XTI=ke[ke.length-1].XTI.concat(dt),ke.XTI=ke.XTI.concat(dt);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:H.push(Ct),J=!0;break;case 36:H.pop(),J=!1;break;case 37:H.push(Ct),J=!0;break;case 38:H.pop(),J=!1;break;case 16:break;default:if(!Ot.T){if(!J||N.WTF&&H[H.length-1]!=37&&H[H.length-1]!=35)throw new Error("Unexpected record 0x"+Ct.toString(16))}}},N),Yf(I),I.Names=be,I.supbooks=ke,I}function pA(b,N){li(b,143);for(var I=0;I!=N.SheetNames.length;++I){var H=N.Workbook&&N.Workbook.Sheets&&N.Workbook.Sheets[I]&&N.Workbook.Sheets[I].Hidden||0,J={Hidden:H,iTabID:I+1,strRelID:"rId"+(I+1),name:N.SheetNames[I]};li(b,156,lA(J))}li(b,144)}function mA(b,N){N||(N=Tn(127));for(var I=0;I!=4;++I)N.write_shift(4,0);return Ft("SheetJS",N),Ft(y.version,N),Ft(y.version,N),Ft("7262",N),N.length>N.l?N.slice(0,N.l):N}function gA(b,N){N||(N=Tn(29)),N.write_shift(-4,0),N.write_shift(-4,460),N.write_shift(4,28800),N.write_shift(4,17600),N.write_shift(4,500),N.write_shift(4,b),N.write_shift(4,b);var I=120;return N.write_shift(1,I),N.length>N.l?N.slice(0,N.l):N}function AA(b,N){if(!N.Workbook||!N.Workbook.Sheets)return;for(var I=N.Workbook.Sheets,H=0,J=-1,be=-1;H<I.length;++H)!I[H]||!I[H].Hidden&&J==-1?J=H:I[H].Hidden==1&&be==-1&&(be=H);if(be>J)return;li(b,135),li(b,158,gA(J)),li(b,136)}function vA(b,N){var I=Ti();return li(I,131),li(I,128,mA()),li(I,153,uA(b.Workbook&&b.Workbook.WBProps||null)),AA(I,b,N),pA(I,b,N),li(I,132),I.end()}function bA(b,N,I){return N.slice(-4)===".bin"?fA(b,I):oA(b,I)}function yA(b,N,I,H,J,be,ke,He){return N.slice(-4)===".bin"?D0(b,H,I,J,be,ke,He):ug(b,H,I,J,be,ke,He)}function wA(b,N,I,H,J,be,ke,He){return N.slice(-4)===".bin"?J0(b,H,I,J,be,ke,He):Y0(b,H,I,J,be,ke,He)}function xA(b,N,I,H,J,be,ke,He){return N.slice(-4)===".bin"?yd(b,H,I,J,be,ke,He):Gd(b,H,I,J,be,ke,He)}function SA(b,N,I,H,J,be,ke,He){return N.slice(-4)===".bin"?Vc(b,H,I,J,be,ke,He):nh(b,H,I,J,be,ke,He)}function CA(b,N,I,H){return N.slice(-4)===".bin"?Mu(b,I,H):oc(b,I,H)}function EA(b,N,I){return kd(b,I)}function _A(b,N,I){return N.slice(-4)===".bin"?Qe(b,I):Rd(b,I)}function TA(b,N,I){return N.slice(-4)===".bin"?Pl(b,I):po(b,I)}function OA(b,N,I){return N.slice(-4)===".bin"?Wr(b,N,I):ut(b,N,I)}function IA(b,N,I,H){return I.slice(-4)===".bin"?Sn(b,N,I,H):ln(b,N,I,H)}function LA(b,N,I){return N.slice(-4)===".bin"?hr(b,N,I):De(b,N,I)}function NA(b,N,I){return(N.slice(-4)===".bin"?vA:Jf)(b,I)}function MA(b,N,I,H,J){return(N.slice(-4)===".bin"?V0:zf)(b,I,H,J)}function Ob(b,N,I,H,J){return(N.slice(-4)===".bin"?$0:Q0)(b,I,H,J)}function DA(b,N,I){return(N.slice(-4)===".bin"?eh:jl)(b,I)}function RA(b,N,I){return(N.slice(-4)===".bin"?Tr:Nu)(b,I)}function BA(b,N,I){return(N.slice(-4)===".bin"?Hl:Ao)(b,I)}function kA(b){return(b.slice(-4)===".bin"?ge:ze)()}var $f=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,qf=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Pd(b,N){var I=b.split(/\s+/),H=[];if(N||(H[0]=I[0]),I.length===1)return H;var J=b.match($f),be,ke,He,dt;if(J)for(dt=0;dt!=J.length;++dt)be=J[dt].match(qf),(ke=be[1].indexOf(":"))===-1?H[be[1]]=be[2].slice(1,be[2].length-1):(be[1].slice(0,6)==="xmlns:"?He="xmlns"+be[1].slice(6):He=be[1].slice(ke+1),H[He]=be[2].slice(1,be[2].length-1));return H}function FA(b){var N=b.split(/\s+/),I={};if(N.length===1)return I;var H=b.match($f),J,be,ke,He;if(H)for(He=0;He!=H.length;++He)J=H[He].match(qf),(be=J[1].indexOf(":"))===-1?I[J[1]]=J[2].slice(1,J[2].length-1):(J[1].slice(0,6)==="xmlns:"?ke="xmlns"+J[1].slice(6):ke=J[1].slice(be+1),I[ke]=J[2].slice(1,J[2].length-1));return I}function PA(b,N){var I=z[b]||lr(b);return I==="General"?B._general(N):B.format(I,N)}function UA(b,N,I,H){var J=H;switch((I[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":J=Ue(H);break;case"i2":case"int":J=parseInt(H,10);break;case"r4":case"float":J=parseFloat(H);break;case"date":case"dateTime.tz":J=de(H);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+I[0])}b[lr(N)]=J}function jA(b,N,I){if(b.t==="z")return;if(!I||I.cellText!==!1)try{b.t==="e"?b.w=b.w||No[b.v]:N==="General"?b.t==="n"?(b.v|0)===b.v?b.w=B._general_int(b.v):b.w=B._general_num(b.v):b.w=B._general(b.v):b.w=PA(N||"General",b.v)}catch(be){if(I.WTF)throw be}try{var H=z[N]||N||"General";if(I.cellNF&&(b.z=H),I.cellDates&&b.t=="n"&&B.is_date(H)){var J=B.parse_date_code(b.v);J&&(b.t="d",b.v=new Date(J.y,J.m-1,J.d,J.H,J.M,J.S,J.u))}}catch(be){if(I.WTF)throw be}}function HA(b,N,I){if(I.cellStyles&&N.Interior){var H=N.Interior;H.Pattern&&(H.patternType=no[H.Pattern]||H.Pattern)}b[N.ID]=N}function WA(b,N,I,H,J,be,ke,He,dt,Ot){var Ct="General",dr=H.StyleID,vr={};Ot=Ot||{};var kr=[],Ur=0;for(dr===void 0&&He&&(dr=He.StyleID),dr===void 0&&ke&&(dr=ke.StyleID);be[dr]!==void 0&&!(be[dr].nf&&(Ct=be[dr].nf),be[dr].Interior&&kr.push(be[dr].Interior),!be[dr].Parent);)dr=be[dr].Parent;switch(I.Type){case"Boolean":H.t="b",H.v=Ue(b);break;case"String":H.t="s",H.r=ct(lr(b)),H.v=b.indexOf("<")>-1?lr(N||b).replace(/<.*?>/g,""):H.r;break;case"DateTime":b.slice(-1)!="Z"&&(b+="Z"),H.v=(de(b)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),H.v!==H.v?H.v=lr(b):H.v<60&&(H.v=H.v-1),(!Ct||Ct=="General")&&(Ct="yyyy-mm-dd");case"Number":H.v===void 0&&(H.v=+b),H.t||(H.t="n");break;case"Error":H.t="e",H.v=oo[b],Ot.cellText!==!1&&(H.w=b);break;default:b==""&&N==""?H.t="z":(H.t="s",H.v=ct(N||b));break}if(jA(H,Ct,Ot),Ot.cellFormula!==!1)if(H.Formula){var Ar=lr(H.Formula);Ar.charCodeAt(0)==61&&(Ar=Ar.slice(1)),H.f=Ru(Ar,J),delete H.Formula,H.ArrayRange=="RC"?H.F=Ru("RC:RC",J):H.ArrayRange&&(H.F=Ru(H.ArrayRange,J),dt.push([$i(H.F),H.F]))}else for(Ur=0;Ur<dt.length;++Ur)J.r>=dt[Ur][0].s.r&&J.r<=dt[Ur][0].e.r&&(J.c>=dt[Ur][0].s.c&&J.c<=dt[Ur][0].e.c&&(H.F=dt[Ur][1]));Ot.cellStyles&&(kr.forEach(function(Dr){!vr.patternType&&Dr.patternType&&(vr.patternType=Dr.patternType)}),H.s=vr),H.StyleID!==void 0&&(H.ixfe=H.StyleID)}function zA(b){b.t=b.v||"",b.t=b.t.replace(/\r\n/g,`
|
|
|
`).replace(/\r/g,`
|
|
|
`),b.v=b.w=b.ixfe=void 0}function hf(b,N){var I=N||{};V(B);var H=r(Nr(b));(I.type=="binary"||I.type=="array"||I.type=="base64")&&(typeof o!="undefined"?H=o.utils.decode(65001,t(H)):H=Ye(H));var J=H.slice(0,1024).toLowerCase(),be=!1;if(J=J.replace(/".*?"/g,""),(J.indexOf(">")&1023)>Math.min(J.indexOf(",")&1023,J.indexOf(";")&1023)){var ke=Me(I);return ke.type="string",ru.to_workbook(H,ke)}if(J.indexOf("<?xml")==-1&&["html","table","head","meta","script","style","div"].forEach(function(uc){J.indexOf("<"+uc)>=0&&(be=!0)}),be)return bh.to_workbook(H,I);var He,dt=[],Ot;h!=null&&I.dense==null&&(I.dense=h);var Ct={},dr=[],vr=I.dense?[]:{},kr="",Ur={},Ar={},Dr=Pd('<Data ss:Type="String">'),kn=0,Wn=0,On=0,da={s:{r:2e6,c:2e6},e:{r:0,c:0}},Ba={},Bi={},vi="",_a=0,na=[],xa={},Fa={},Yi=0,go=[],Jo=[],Uo={},ms=[],Ss,Bl=!1,Qo=[],Is=[],$a={},pi=0,pa=0,Xi={Sheets:[],WBProps:{date1904:!1}},Qr={};Sr.lastIndex=0,H=H.replace(/<!--([\s\S]*?)-->/mg,"");for(var Dn="";He=Sr.exec(H);)switch(He[3]=(Dn=He[3]).toLowerCase()){case"data":if(Dn=="data"){if(He[1]==="/"){if((Ot=dt.pop())[0]!==He[3])throw new Error("Bad state: "+Ot.join("|"))}else He[0].charAt(He[0].length-2)!=="/"&&dt.push([He[3],!0]);break}if(dt[dt.length-1][1])break;He[1]==="/"?WA(H.slice(kn,He.index),vi,Dr,dt[dt.length-1][0]=="comment"?Uo:Ur,{c:Wn,r:On},Ba,ms[Wn],Ar,Qo,I):(vi="",Dr=Pd(He[0]),kn=He.index+He[0].length);break;case"cell":if(He[1]==="/")if(Jo.length>0&&(Ur.c=Jo),(!I.sheetRows||I.sheetRows>On)&&Ur.v!==void 0&&(I.dense?(vr[On]||(vr[On]=[]),vr[On][Wn]=Ur):vr[Fi(Wn)+hi(On)]=Ur),Ur.HRef&&(Ur.l={Target:lr(Ur.HRef)},Ur.HRefScreenTip&&(Ur.l.Tooltip=Ur.HRefScreenTip),delete Ur.HRef,delete Ur.HRefScreenTip),(Ur.MergeAcross||Ur.MergeDown)&&(pi=Wn+(parseInt(Ur.MergeAcross,10)|0),pa=On+(parseInt(Ur.MergeDown,10)|0),na.push({s:{c:Wn,r:On},e:{c:pi,r:pa}})),!I.sheetStubs)Ur.MergeAcross?Wn=pi+1:++Wn;else if(Ur.MergeAcross||Ur.MergeDown){for(var ai=Wn;ai<=pi;++ai)for(var Ta=On;Ta<=pa;++Ta)(ai>Wn||Ta>On)&&(I.dense?(vr[Ta]||(vr[Ta]=[]),vr[Ta][ai]={t:"z"}):vr[Fi(ai)+hi(Ta)]={t:"z"});Wn=pi+1}else++Wn;else Ur=FA(He[0]),Ur.Index&&(Wn=+Ur.Index-1),Wn<da.s.c&&(da.s.c=Wn),Wn>da.e.c&&(da.e.c=Wn),He[0].slice(-2)==="/>"&&++Wn,Jo=[];break;case"row":He[1]==="/"||He[0].slice(-2)==="/>"?(On<da.s.r&&(da.s.r=On),On>da.e.r&&(da.e.r=On),He[0].slice(-2)==="/>"&&(Ar=Pd(He[0]),Ar.Index&&(On=+Ar.Index-1)),Wn=0,++On):(Ar=Pd(He[0]),Ar.Index&&(On=+Ar.Index-1),$a={},(Ar.AutoFitHeight=="0"||Ar.Height)&&($a.hpx=parseInt(Ar.Height,10),$a.hpt=Ua($a.hpx),Is[On]=$a),Ar.Hidden=="1"&&($a.hidden=!0,Is[On]=$a));break;case"worksheet":if(He[1]==="/"){if((Ot=dt.pop())[0]!==He[3])throw new Error("Bad state: "+Ot.join("|"));dr.push(kr),da.s.r<=da.e.r&&da.s.c<=da.e.c&&(vr["!ref"]=mn(da),I.sheetRows&&I.sheetRows<=da.e.r&&(vr["!fullref"]=vr["!ref"],da.e.r=I.sheetRows-1,vr["!ref"]=mn(da))),na.length&&(vr["!merges"]=na),ms.length>0&&(vr["!cols"]=ms),Is.length>0&&(vr["!rows"]=Is),Ct[kr]=vr}else da={s:{r:2e6,c:2e6},e:{r:0,c:0}},On=Wn=0,dt.push([He[3],!1]),Ot=Pd(He[0]),kr=lr(Ot.Name),vr=I.dense?[]:{},na=[],Qo=[],Is=[],Qr={name:kr,Hidden:0},Xi.Sheets.push(Qr);break;case"table":if(He[1]==="/"){if((Ot=dt.pop())[0]!==He[3])throw new Error("Bad state: "+Ot.join("|"))}else{if(He[0].slice(-2)=="/>")break;dt.push([He[3],!1]),ms=[],Bl=!1}break;case"style":He[1]==="/"?HA(Ba,Bi,I):Bi=Pd(He[0]);break;case"numberformat":Bi.nf=lr(Pd(He[0]).Format||"General"),z[Bi.nf]&&(Bi.nf=z[Bi.nf]);for(var si=0;si!=392&&!(B._table[si]==Bi.nf);++si);if(si==392){for(si=57;si!=392;++si)if(B._table[si]==null){B.load(Bi.nf,si);break}}break;case"column":if(dt[dt.length-1][0]!=="table")break;if(Ss=Pd(He[0]),Ss.Hidden&&(Ss.hidden=!0,delete Ss.Hidden),Ss.Width&&(Ss.wpx=parseInt(Ss.Width,10)),!Bl&&Ss.wpx>10){Bl=!0,yt=le;for(var ha=0;ha<ms.length;++ha)ms[ha]&&gi(ms[ha])}Bl&&gi(Ss),ms[Ss.Index-1||ms.length]=Ss;for(var Ii=0;Ii<+Ss.Span;++Ii)ms[ms.length]=Me(Ss);break;case"namedrange":if(He[1]==="/")break;Xi.Names||(Xi.Names=[]);var En=ur(He[0]),Cs={Name:En.Name,Ref:Ru(En.RefersTo.slice(1),{r:0,c:0})};Xi.Sheets.length>0&&(Cs.Sheet=Xi.Sheets.length-1),Xi.Names.push(Cs);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(He[0].slice(-2)==="/>")break;He[1]==="/"?vi+=H.slice(_a,He.index):_a=He.index+He[0].length;break;case"interior":if(!I.cellStyles)break;Bi.Interior=Pd(He[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(He[0].slice(-2)==="/>")break;He[1]==="/"?_l(xa,Dn,H.slice(Yi,He.index)):Yi=He.index+He[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(He[1]==="/"){if((Ot=dt.pop())[0]!==He[3])throw new Error("Bad state: "+Ot.join("|"))}else dt.push([He[3],!1]);break;case"comment":if(He[1]==="/"){if((Ot=dt.pop())[0]!==He[3])throw new Error("Bad state: "+Ot.join("|"));zA(Uo),Jo.push(Uo)}else dt.push([He[3],!1]),Ot=Pd(He[0]),Uo={a:Ot.Author};break;case"autofilter":if(He[1]==="/"){if((Ot=dt.pop())[0]!==He[3])throw new Error("Bad state: "+Ot.join("|"))}else if(He[0].charAt(He[0].length-2)!=="/"){var qa=Pd(He[0]);vr["!autofilter"]={ref:Ru(qa.Range).replace(/\$/g,"")},dt.push([He[3],!0])}break;case"name":break;case"datavalidation":if(He[1]==="/"){if((Ot=dt.pop())[0]!==He[3])throw new Error("Bad state: "+Ot.join("|"))}else He[0].charAt(He[0].length-2)!=="/"&&dt.push([He[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(He[1]==="/"){if((Ot=dt.pop())[0]!==He[3])throw new Error("Bad state: "+Ot.join("|"))}else He[0].charAt(He[0].length-2)!=="/"&&dt.push([He[3],!0]);break;case"null":break;default:if(dt.length==0&&He[3]=="document")return cp(H,I);if(dt.length==0&&He[3]=="uof")return cp(H,I);var gs=!0;switch(dt[dt.length-1][0]){case"officedocumentsettings":switch(He[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:gs=!1}break;case"componentoptions":switch(He[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:gs=!1}break;case"excelworkbook":switch(He[3]){case"date1904":Xi.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:gs=!1}break;case"workbookoptions":switch(He[3]){case"owcversion":break;case"height":break;case"width":break;default:gs=!1}break;case"worksheetoptions":switch(He[3]){case"visible":if(!(He[0].slice(-2)==="/>"))if(He[1]==="/")switch(H.slice(Yi,He.index)){case"SheetHidden":Qr.Hidden=1;break;case"SheetVeryHidden":Qr.Hidden=2;break}else Yi=He.index+He[0].length;break;case"header":vr["!margins"]||vh(vr["!margins"]={},"xlml"),isNaN(+ur(He[0]).Margin)||(vr["!margins"].header=+ur(He[0]).Margin);break;case"footer":vr["!margins"]||vh(vr["!margins"]={},"xlml"),isNaN(+ur(He[0]).Margin)||(vr["!margins"].footer=+ur(He[0]).Margin);break;case"pagemargins":var ns=ur(He[0]);vr["!margins"]||vh(vr["!margins"]={},"xlml"),isNaN(+ns.Top)||(vr["!margins"].top=+ns.Top),isNaN(+ns.Left)||(vr["!margins"].left=+ns.Left),isNaN(+ns.Right)||(vr["!margins"].right=+ns.Right),isNaN(+ns.Bottom)||(vr["!margins"].bottom=+ns.Bottom);break;case"displayrighttoleft":Xi.Views||(Xi.Views=[]),Xi.Views[0]||(Xi.Views[0]={}),Xi.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":vr["!outline"]||(vr["!outline"]={}),vr["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":vr["!outline"]||(vr["!outline"]={}),vr["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:gs=!1}break;case"pivottable":case"pivotcache":switch(He[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:gs=!1}break;case"pagebreaks":switch(He[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:gs=!1}break;case"autofilter":switch(He[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:gs=!1}break;case"querytable":switch(He[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:gs=!1}break;case"datavalidation":switch(He[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:gs=!1}break;case"sorting":case"conditionalformatting":switch(He[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:gs=!1}break;case"mapinfo":case"schema":case"data":switch(He[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:gs=!1}break;case"smarttags":break;default:gs=!1;break}if(gs)break;if(He[3].match(/!\[CDATA/))break;if(!dt[dt.length-1][1])throw"Unrecognized tag: "+He[3]+"|"+dt.join("|");if(dt[dt.length-1][0]==="customdocumentproperties"){if(He[0].slice(-2)==="/>")break;He[1]==="/"?UA(Fa,Dn,go,H.slice(Yi,He.index)):(go=He,Yi=He.index+He[0].length);break}if(I.WTF)throw"Unrecognized tag: "+He[3]+"|"+dt.join("|")}var Ro={};return!I.bookSheets&&!I.bookProps&&(Ro.Sheets=Ct),Ro.SheetNames=dr,Ro.Workbook=Xi,Ro.SSF=B.get_table(),Ro.Props=xa,Ro.Custprops=Fa,Ro}function ff(b,N){bf(N=N||{});switch(N.type||"base64"){case"base64":return hf(A.decode(b),N);case"binary":case"buffer":case"file":return hf(b,N);case"array":return hf(L(b),N)}}function KA(b,N){var I=[];return b.Props&&I.push(Xs(b.Props,N)),b.Custprops&&I.push(Yo(b.Props,b.Custprops,N)),I.join("")}function VA(){return""}function XA(b,N){var I=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return N.cellXfs.forEach(function(H,J){var be=[];be.push(Rt("NumberFormat",null,{"ss:Format":xr(B._table[H.numFmtId])}));var ke={"ss:ID":"s"+(21+J)};I.push(Rt("Style",be.join(""),ke))}),Rt("Styles",I.join(""))}function ep(b){return Rt("NamedRange",null,{"ss:Name":b.Name,"ss:RefersTo":"="+Fd(b.Ref,{r:0,c:0})})}function GA(b){if(!((b||{}).Workbook||{}).Names)return"";for(var N=b.Workbook.Names,I=[],H=0;H<N.length;++H){var J=N[H];if(J.Sheet!=null)continue;if(J.Name.match(/^_xlfn\./))continue;I.push(ep(J))}return Rt("Names",I.join(""))}function YA(b,N,I,H){if(!b)return"";if(!((H||{}).Workbook||{}).Names)return"";for(var J=H.Workbook.Names,be=[],ke=0;ke<J.length;++ke){var He=J[ke];if(He.Sheet!=I)continue;if(He.Name.match(/^_xlfn\./))continue;be.push(ep(He))}return be.join("")}function QA(b,N,I,H){if(!b)return"";var J=[];if(b["!margins"]&&(J.push("<PageSetup>"),b["!margins"].header&&J.push(Rt("Header",null,{"x:Margin":b["!margins"].header})),b["!margins"].footer&&J.push(Rt("Footer",null,{"x:Margin":b["!margins"].footer})),J.push(Rt("PageMargins",null,{"x:Bottom":b["!margins"].bottom||"0.75","x:Left":b["!margins"].left||"0.7","x:Right":b["!margins"].right||"0.7","x:Top":b["!margins"].top||"0.75"})),J.push("</PageSetup>")),H&&H.Workbook&&H.Workbook.Sheets&&H.Workbook.Sheets[I])if(H.Workbook.Sheets[I].Hidden)J.push(Rt("Visible",H.Workbook.Sheets[I].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var be=0;be<I&&!(H.Workbook.Sheets[be]&&!H.Workbook.Sheets[be].Hidden);++be);be==I&&J.push("<Selected/>")}return((((H||{}).Workbook||{}).Views||[])[0]||{}).RTL&&J.push("<DisplayRightToLeft/>"),b["!protect"]&&(J.push(or("ProtectContents","True")),b["!protect"].objects&&J.push(or("ProtectObjects","True")),b["!protect"].scenarios&&J.push(or("ProtectScenarios","True")),b["!protect"].selectLockedCells!=null&&!b["!protect"].selectLockedCells?J.push(or("EnableSelection","NoSelection")):b["!protect"].selectUnlockedCells!=null&&!b["!protect"].selectUnlockedCells&&J.push(or("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(ke){b["!protect"][ke[0]]&&J.push("<"+ke[1]+"/>")})),J.length==0?"":Rt("WorksheetOptions",J.join(""),{xmlns:fn.x})}function ZA(b){return b.map(function(N){var I=Le(N.t||""),H=Rt("ss:Data",I,{xmlns:"http://www.w3.org/TR/REC-html40"});return Rt("Comment",H,{"ss:Author":N.a})}).join("")}function JA(b,N,I,H,J,be,ke){if(!b||b.v==null&&b.f==null)return"";var He={};if(b.f&&(He["ss:Formula"]="="+xr(Fd(b.f,ke))),b.F&&b.F.slice(0,N.length)==N){var dt=ja(b.F.slice(N.length+1));He["ss:ArrayRange"]="RC:R"+(dt.r==ke.r?"":"["+(dt.r-ke.r)+"]")+"C"+(dt.c==ke.c?"":"["+(dt.c-ke.c)+"]")}if(b.l&&b.l.Target&&(He["ss:HRef"]=xr(b.l.Target),b.l.Tooltip&&(He["x:HRefScreenTip"]=xr(b.l.Tooltip))),I["!merges"])for(var Ot=I["!merges"],Ct=0;Ct!=Ot.length;++Ct){if(Ot[Ct].s.c!=ke.c||Ot[Ct].s.r!=ke.r)continue;Ot[Ct].e.c>Ot[Ct].s.c&&(He["ss:MergeAcross"]=Ot[Ct].e.c-Ot[Ct].s.c),Ot[Ct].e.r>Ot[Ct].s.r&&(He["ss:MergeDown"]=Ot[Ct].e.r-Ot[Ct].s.r)}var dr="",vr="";switch(b.t){case"z":if(!H.sheetStubs)return"";break;case"n":dr="Number",vr=String(b.v);break;case"b":dr="Boolean",vr=b.v?"1":"0";break;case"e":dr="Error",vr=No[b.v];break;case"d":dr="DateTime",vr=new Date(b.v).toISOString(),b.z==null&&(b.z=b.z||B._table[14]);break;case"s":dr="String",vr=lt(b.v||"");break}var kr=dh(H.cellXfs,b,H);He["ss:StyleID"]="s"+(21+kr),He["ss:Index"]=ke.c+1;var Ur=b.v!=null?vr:"",Ar=b.t=="z"?"":'<Data ss:Type="'+dr+'">'+Ur+"</Data>";return(b.c||[]).length>0&&(Ar+=ZA(b.c)),Rt("Cell",Ar,He)}function $A(b,N){var I='<Row ss:Index="'+(b+1)+'"';return N&&(N.hpt&&!N.hpx&&(N.hpx=eo(N.hpt)),N.hpx&&(I+=' ss:AutoFitHeight="0" ss:Height="'+N.hpx+'"'),N.hidden&&(I+=' ss:Hidden="1"')),I+">"}function qA(b,N,I,H){if(!b["!ref"])return"";var J=$i(b["!ref"]),be=b["!merges"]||[],ke=0,He=[];b["!cols"]&&b["!cols"].forEach(function(Dr,kn){gi(Dr);var Wn=!!Dr.width,On=Yh(kn,Dr),da={"ss:Index":kn+1};Wn&&(da["ss:Width"]=Ut(On.width)),Dr.hidden&&(da["ss:Hidden"]="1"),He.push(Rt("Column",null,da))});for(var dt=Array.isArray(b),Ot=J.s.r;Ot<=J.e.r;++Ot){for(var Ct=[$A(Ot,(b["!rows"]||[])[Ot])],dr=J.s.c;dr<=J.e.c;++dr){var vr=!1;for(ke=0;ke!=be.length;++ke){if(be[ke].s.c>dr)continue;if(be[ke].s.r>Ot)continue;if(be[ke].e.c<dr)continue;if(be[ke].e.r<Ot)continue;(be[ke].s.c!=dr||be[ke].s.r!=Ot)&&(vr=!0);break}if(vr)continue;var kr={r:Ot,c:dr},Ur=Ka(kr),Ar=dt?(b[Ot]||[])[dr]:b[Ur];Ct.push(JA(Ar,Ur,b,N,I,H,kr))}Ct.push("</Row>"),Ct.length>2&&He.push(Ct.join(""))}return He.join("")}function ev(b,N,I){var H=[],J=I.SheetNames[b],be=I.Sheets[J],ke=be?YA(be,N,b,I):"";return ke.length>0&&H.push("<Names>"+ke+"</Names>"),ke=be?qA(be,N,b,I):"",ke.length>0&&H.push("<Table>"+ke+"</Table>"),H.push(QA(be,N,b,I)),H.join("")}function tv(b,N){N||(N={}),b.SSF||(b.SSF=B.get_table()),b.SSF&&(V(B),B.load_table(b.SSF),N.revssf=ee(b.SSF),N.revssf[b.SSF[65535]]=0,N.ssf=b.SSF,N.cellXfs=[],dh(N.cellXfs,{},{revssf:{General:0}}));var I=[];I.push(KA(b,N)),I.push(VA(b,N)),I.push(""),I.push("");for(var H=0;H<b.SheetNames.length;++H)I.push(Rt("Worksheet",ev(H,N,b),{"ss:Name":xr(b.SheetNames[H])}));return I[2]=XA(b,N),I[3]=GA(b,N),mt+Rt("Workbook",I.join(""),{xmlns:fn.ss,"xmlns:o":fn.o,"xmlns:x":fn.x,"xmlns:ss":fn.ss,"xmlns:dt":fn.dt,"xmlns:html":fn.html})}function rv(b){var N={},I=b.content;if(I.l=28,N.AnsiUserType=I.read_shift(0,"lpstr-ansi"),N.AnsiClipboardFormat=ar(I),I.length-I.l<=4)return N;var H=I.read_shift(4);if(H==0||H>40)return N;if(I.l-=4,N.Reserved1=I.read_shift(0,"lpstr-ansi"),I.length-I.l<=4)return N;if(H=I.read_shift(4),H!==1907505652)return N;if(N.UnicodeClipboardFormat=Hr(I),H=I.read_shift(4),H==0||H>40)return N;I.l-=4,N.Reserved2=I.read_shift(0,"lpwstr")}var nv=[60,1084,2066,2165,2175];function iv(b,N,I,H,J){var be=H,ke=[],He=I.slice(I.l,I.l+be);if(J&&J.enc&&J.enc.insitu&&He.length>0)switch(b){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:J.enc.insitu(He)}ke.push(He),I.l+=be;for(var dt=Yn(I,I.l),Ot=pf[dt],Ct=0;Ot!=null&&nv.indexOf(dt)>-1;)be=Yn(I,I.l+2),Ct=I.l+4,dt==2066?Ct+=4:(dt==2165||dt==2175)&&(Ct+=12),He=I.slice(Ct,I.l+4+be),ke.push(He),I.l+=4+be,Ot=pf[dt=Yn(I,I.l)];var dr=k(ke);Cn(dr,0);var vr=0;dr.lens=[];for(var kr=0;kr<ke.length;++kr)dr.lens.push(vr),vr+=ke[kr].length;if(dr.length<H)throw"XLS Record 0x"+b.toString(16)+" Truncated: "+dr.length+" < "+H;return N.f(dr,dr.length,J)}function Zd(b,N,I){if(b.t==="z")return;if(!b.XF)return;var H=0;try{H=b.z||b.XF.numFmtId||0,N.cellNF&&(b.z=B._table[H])}catch(be){if(N.WTF)throw be}if(!N||N.cellText!==!1)try{b.t==="e"?b.w=b.w||No[b.v]:H===0||H=="General"?b.t==="n"?(b.v|0)===b.v?b.w=B._general_int(b.v):b.w=B._general_num(b.v):b.w=B._general(b.v):b.w=B.format(H,b.v,{date1904:!!I,dateNF:N&&N.dateNF})}catch(be){if(N.WTF)throw be}if(N.cellDates&&H&&b.t=="n"&&B.is_date(B._table[H]||String(H))){var J=B.parse_date_code(b.v);J&&(b.t="d",b.v=new Date(J.y,J.m-1,J.d,J.H,J.M,J.S,J.u))}}function Qh(b,N,I){return{v:b,ixfe:N,t:I}}function av(b,N){var I={opts:{}},H={};h!=null&&N.dense==null&&(N.dense=h);var J=N.dense?[]:{},be={},ke={},He=null,dt=[],Ot="",Ct={},dr,vr="",kr,Ur,Ar,Dr,kn={},Wn=[],On,da,Ba=[],Bi=[],vi={Sheets:[],WBProps:{date1904:!1},Views:[{}]},_a={},na=function(Ia){return Ia<8?To[Ia]:Ia<64&&Bi[Ia-8]||To[Ia]},xa=function(Ia,Qa,Js){var wl=Qa.XF.data;if(!wl||!wl.patternType||!Js||!Js.cellStyles)return;Qa.s={},Qa.s.patternType=wl.patternType;var dc;(dc=Rs(na(wl.icvFore)))&&(Qa.s.fgColor={rgb:dc}),(dc=Rs(na(wl.icvBack)))&&(Qa.s.bgColor={rgb:dc})},Fa=function(Ia,Qa,Js){if($a>1)return;if(Js.sheetRows&&Ia.r>=Js.sheetRows)return;if(Js.cellStyles&&Qa.XF&&Qa.XF.data&&xa(Ia,Qa,Js),delete Qa.ixfe,delete Qa.XF,dr=Ia,vr=Ka(Ia),(!ke||!ke.s||!ke.e)&&(ke={s:{r:0,c:0},e:{r:0,c:0}}),Ia.r<ke.s.r&&(ke.s.r=Ia.r),Ia.c<ke.s.c&&(ke.s.c=Ia.c),Ia.r+1>ke.e.r&&(ke.e.r=Ia.r+1),Ia.c+1>ke.e.c&&(ke.e.c=Ia.c+1),Js.cellFormula&&Qa.f)for(var wl=0;wl<Wn.length;++wl){if(Wn[wl][0].s.c>Ia.c||Wn[wl][0].s.r>Ia.r)continue;if(Wn[wl][0].e.c<Ia.c||Wn[wl][0].e.r<Ia.r)continue;Qa.F=mn(Wn[wl][0]),(Wn[wl][0].s.c!=Ia.c||Wn[wl][0].s.r!=Ia.r)&&delete Qa.f,Qa.f&&(Qa.f=""+Su(Wn[wl][1],ke,Ia,Qo,Yi));break}Js.dense?(J[Ia.r]||(J[Ia.r]=[]),J[Ia.r][Ia.c]=Qa):J[vr]=Qa},Yi={enc:!1,sbcch:0,snames:[],sharedf:kn,arrayf:Wn,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!N&&!!N.cellStyles,WTF:!!N&&!!N.wtf};N.password&&(Yi.password=N.password);var go,Jo=[],Uo=[],ms=[],Ss=[],Bl=!1,Qo=[];Qo.SheetNames=Yi.snames,Qo.sharedf=Yi.sharedf,Qo.arrayf=Yi.arrayf,Qo.names=[],Qo.XTI=[];var Is=0,$a=0,pi=0,pa=[],Xi=[],Qr;Yi.codepage=1200,l(1200);for(var Dn=!1;b.l<b.length-1;){var ai=b.l,Ta=b.read_shift(2);if(Ta===0&&Is===10)break;var si=b.l===b.length?0:b.read_shift(2),ha=pf[Ta];if(ha&&ha.f){if(N.bookSheets&&(Is===133&&Ta!==133))break;if(Is=Ta,ha.r===2||ha.r==12){var Ii=b.read_shift(2);if(si-=2,!Yi.enc&&Ii!==Ta&&((Ii&255)<<8|Ii>>8)!==Ta)throw new Error("rt mismatch: "+Ii+"!="+Ta);ha.r==12&&(b.l+=10,si-=10)}var En={};if(Ta===10?En=ha.f(b,si,Yi):En=iv(Ta,ha,b,si,Yi),$a==0&&[9,521,1033,2057].indexOf(Is)===-1)continue;switch(Ta){case 34:I.opts.Date1904=vi.WBProps.date1904=En;break;case 134:I.opts.WriteProtect=!0;break;case 47:if(Yi.enc||(b.l=0),Yi.enc=En,!N.password)throw new Error("File is password-protected");if(En.valid==null)throw new Error("Encryption scheme unsupported");if(!En.valid)throw new Error("Password is incorrect");break;case 92:Yi.lastuser=En;break;case 66:var Cs=Number(En);switch(Cs){case 21010:Cs=1200;break;case 32768:Cs=1e4;break;case 32769:Cs=1252;break}l(Yi.codepage=Cs),Dn=!0;break;case 317:Yi.rrtabid=En;break;case 25:Yi.winlocked=En;break;case 439:I.opts.RefreshAll=En;break;case 12:I.opts.CalcCount=En;break;case 16:I.opts.CalcDelta=En;break;case 17:I.opts.CalcIter=En;break;case 13:I.opts.CalcMode=En;break;case 14:I.opts.CalcPrecision=En;break;case 95:I.opts.CalcSaveRecalc=En;break;case 15:Yi.CalcRefMode=En;break;case 2211:I.opts.FullCalc=En;break;case 129:En.fDialog&&(J["!type"]="dialog"),En.fBelow||((J["!outline"]||(J["!outline"]={})).above=!0),En.fRight||((J["!outline"]||(J["!outline"]={})).left=!0);break;case 224:Ba.push(En);break;case 430:Qo.push([En]),Qo[Qo.length-1].XTI=[];break;case 35:case 547:Qo[Qo.length-1].push(En);break;case 24:case 536:Qr={Name:En.Name,Ref:Su(En.rgce,ke,null,Qo,Yi)},En.itab>0&&(Qr.Sheet=En.itab-1),Qo.names.push(Qr),Qo[0]||(Qo[0]=[],Qo[0].XTI=[]),Qo[Qo.length-1].push(En),En.Name=="_xlnm._FilterDatabase"&&En.itab>0&&(En.rgce&&En.rgce[0]&&En.rgce[0][0]&&En.rgce[0][0][0]=="PtgArea3d"&&(Xi[En.itab-1]={ref:mn(En.rgce[0][0][1][2])}));break;case 22:Yi.ExternCount=En;break;case 23:Qo.length==0&&(Qo[0]=[],Qo[0].XTI=[]),Qo[Qo.length-1].XTI=Qo[Qo.length-1].XTI.concat(En),Qo.XTI=Qo.XTI.concat(En);break;case 2196:if(Yi.biff<8)break;Qr!=null&&(Qr.Comment=En[1]);break;case 18:J["!protect"]=En;break;case 19:En!==0&&Yi.WTF&&console.error("Password verifier: "+En);break;case 133:be[En.pos]=En,Yi.snames.push(En.name);break;case 10:{if(--$a)break;if(ke.e){if(ke.e.r>0&&ke.e.c>0){if(ke.e.r--,ke.e.c--,J["!ref"]=mn(ke),N.sheetRows&&N.sheetRows<=ke.e.r){var qa=ke.e.r;ke.e.r=N.sheetRows-1,J["!fullref"]=J["!ref"],J["!ref"]=mn(ke),ke.e.r=qa}ke.e.r++,ke.e.c++}Jo.length>0&&(J["!merges"]=Jo),Uo.length>0&&(J["!objects"]=Uo),ms.length>0&&(J["!cols"]=ms),Ss.length>0&&(J["!rows"]=Ss),vi.Sheets.push(_a)}Ot===""?Ct=J:H[Ot]=J,J=N.dense?[]:{}}break;case 9:case 521:case 1033:case 2057:{if(Yi.biff===8&&(Yi.biff={9:2,521:3,1033:4}[Ta]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[En.BIFFVer]||8),Yi.biffguess=En.BIFFVer==0,En.BIFFVer==0&&En.dt==4096&&(Yi.biff=5,Dn=!0,l(Yi.codepage=28591)),Yi.biff==8&&En.BIFFVer==0&&En.dt==16&&(Yi.biff=2),$a++)break;if(J=N.dense?[]:{},Yi.biff<8&&!Dn&&(Dn=!0,l(Yi.codepage=N.codepage||1252)),Yi.biff<5||En.BIFFVer==0&&En.dt==4096){Ot===""&&(Ot="Sheet1"),ke={s:{r:0,c:0},e:{r:0,c:0}};var gs={pos:b.l-si,name:Ot};be[gs.pos]=gs,Yi.snames.push(Ot)}else Ot=(be[ai]||{name:""}).name;En.dt==32&&(J["!type"]="chart"),En.dt==64&&(J["!type"]="macro"),Jo=[],Uo=[],Yi.arrayf=Wn=[],ms=[],Ss=[],Bl=!1,_a={Hidden:(be[ai]||{hs:0}).hs,name:Ot}}break;case 515:case 3:case 2:J["!type"]=="chart"&&((N.dense?(J[En.r]||[])[En.c]:J[Ka({c:En.c,r:En.r})])&&++En.c),On={ixfe:En.ixfe,XF:Ba[En.ixfe]||{},v:En.val,t:"n"},pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa({c:En.c,r:En.r},On,N);break;case 5:case 517:On={ixfe:En.ixfe,XF:Ba[En.ixfe],v:En.val,t:En.t},pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa({c:En.c,r:En.r},On,N);break;case 638:On={ixfe:En.ixfe,XF:Ba[En.ixfe],v:En.rknum,t:"n"},pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa({c:En.c,r:En.r},On,N);break;case 189:for(var ns=En.c;ns<=En.C;++ns){var Ro=En.rkrec[ns-En.c][0];On={ixfe:Ro,XF:Ba[Ro],v:En.rkrec[ns-En.c][1],t:"n"},pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa({c:ns,r:En.r},On,N)}break;case 6:case 518:case 1030:{if(En.val=="String"){He=En;break}if(On=Qh(En.val,En.cell.ixfe,En.tt),On.XF=Ba[On.ixfe],N.cellFormula){var uc=En.formula;if(uc&&uc[0]&&uc[0][0]&&uc[0][0][0]=="PtgExp"){var Eu=uc[0][0][1][0],Hc=uc[0][0][1][1],kl=Ka({r:Eu,c:Hc});kn[kl]?On.f=""+Su(En.formula,ke,En.cell,Qo,Yi):On.F=((N.dense?(J[Eu]||[])[Hc]:J[kl])||{}).F}else On.f=""+Su(En.formula,ke,En.cell,Qo,Yi)}pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa(En.cell,On,N),He=En}break;case 7:case 519:if(He)He.val=En,On=Qh(En,He.cell.ixfe,"s"),On.XF=Ba[On.ixfe],N.cellFormula&&(On.f=""+Su(He.formula,ke,He.cell,Qo,Yi)),pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa(He.cell,On,N),He=null;else throw new Error("String record expects Formula");break;case 33:case 545:{Wn.push(En);var Ud=Ka(En[0].s);if(kr=N.dense?(J[En[0].s.r]||[])[En[0].s.c]:J[Ud],N.cellFormula&&kr){if(!He)break;if(!Ud||!kr)break;kr.f=""+Su(En[1],ke,En[0],Qo,Yi),kr.F=mn(En[0])}}break;case 1212:{if(!N.cellFormula)break;if(vr){if(!He)break;kn[Ka(He.cell)]=En[0],kr=N.dense?(J[He.cell.r]||[])[He.cell.c]:J[Ka(He.cell)],(kr||{}).f=""+Su(En[0],ke,dr,Qo,Yi)}}break;case 253:On=Qh(dt[En.isst].t,En.ixfe,"s"),dt[En.isst].h&&(On.h=dt[En.isst].h),On.XF=Ba[On.ixfe],pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa({c:En.c,r:En.r},On,N);break;case 513:N.sheetStubs&&(On={ixfe:En.ixfe,XF:Ba[En.ixfe],t:"z"},pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa({c:En.c,r:En.r},On,N));break;case 190:if(N.sheetStubs)for(var id=En.c;id<=En.C;++id){var Fc=En.ixfe[id-En.c];On={ixfe:Fc,XF:Ba[Fc],t:"z"},pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa({c:id,r:En.r},On,N)}break;case 214:case 516:case 4:On=Qh(En.val,En.ixfe,"s"),On.XF=Ba[On.ixfe],pi>0&&(On.z=pa[On.ixfe>>8&63]),Zd(On,N,I.opts.Date1904),Fa({c:En.c,r:En.r},On,N);break;case 0:case 512:$a===1&&(ke=En);break;case 252:dt=En;break;case 1054:if(Yi.biff==4){pa[pi++]=En[1];for(var Vs=0;Vs<pi+163&&!(B._table[Vs]==En[1]);++Vs);Vs>=163&&B.load(En[1],pi+163)}else B.load(En[1],En[0]);break;case 30:{pa[pi++]=En;for(var bo=0;bo<pi+163&&!(B._table[bo]==En);++bo);bo>=163&&B.load(En,pi+163)}break;case 229:Jo=Jo.concat(En);break;case 93:Uo[En.cmo[0]]=Yi.lastobj=En;break;case 438:Yi.lastobj.TxO=En;break;case 127:Yi.lastobj.ImData=En;break;case 440:for(Dr=En[0].s.r;Dr<=En[0].e.r;++Dr)for(Ar=En[0].s.c;Ar<=En[0].e.c;++Ar)kr=N.dense?(J[Dr]||[])[Ar]:J[Ka({c:Ar,r:Dr})],kr&&(kr.l=En[1]);break;case 2048:for(Dr=En[0].s.r;Dr<=En[0].e.r;++Dr)for(Ar=En[0].s.c;Ar<=En[0].e.c;++Ar)kr=N.dense?(J[Dr]||[])[Ar]:J[Ka({c:Ar,r:Dr})],kr&&kr.l&&(kr.l.Tooltip=En[1]);break;case 28:{if(Yi.biff<=5&&Yi.biff>=2)break;kr=N.dense?(J[En[0].r]||[])[En[0].c]:J[Ka(En[0])];var Qi=Uo[En[2]];kr||(N.dense?(J[En[0].r]||(J[En[0].r]=[]),kr=J[En[0].r][En[0].c]={t:"z"}):kr=J[Ka(En[0])]={t:"z"},ke.e.r=Math.max(ke.e.r,En[0].r),ke.s.r=Math.min(ke.s.r,En[0].r),ke.e.c=Math.max(ke.e.c,En[0].c),ke.s.c=Math.min(ke.s.c,En[0].c)),kr.c||(kr.c=[]),Ur={a:En[1],t:Qi.TxO.t},kr.c.push(Ur)}break;case 2173:Dh(Ba[En.ixfe],En.ext);break;case 125:{if(!Yi.cellStyles)break;for(;En.e>=En.s;)ms[En.e--]={width:En.w/256,level:En.level||0,hidden:!!(En.flags&1)},Bl||(Bl=!0,jn(En.w/256)),gi(ms[En.e+1])}break;case 520:{var ra={};En.level!=null&&(Ss[En.r]=ra,ra.level=En.level),En.hidden&&(Ss[En.r]=ra,ra.hidden=!0),En.hpt&&(Ss[En.r]=ra,ra.hpt=En.hpt,ra.hpx=eo(En.hpt))}break;case 38:case 39:case 40:case 41:J["!margins"]||vh(J["!margins"]={}),J["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[Ta]]=En;break;case 161:J["!margins"]||vh(J["!margins"]={}),J["!margins"].header=En.header,J["!margins"].footer=En.footer;break;case 574:En.RTL&&(vi.Views[0].RTL=!0);break;case 146:Bi=En;break;case 2198:go=En;break;case 140:da=En;break;case 442:Ot?_a.CodeName=En||_a.name:vi.WBProps.CodeName=En||"ThisWorkbook";break;case 85:case 549:case 94:case 431:case 444:case 91:case 255:case 2147:case 2214:case 233:case 96:case 218:case 352:case 2202:case 11:case 523:case 4188:case 29:case 20:case 21:case 131:case 132:case 77:case 171:case 148:case 215:case 450:case 176:case 177:case 178:case 256:case 180:case 205:case 151:case 135:case 197:case 181:case 241:case 2050:case 2152:case 2151:case 2161:case 2162:case 2168:case 2167:case 449:case 153:case 4192:case 4200:case 4198:case 49:case 2172:case 659:case 2194:case 221:case 99:case 2169:case 566:case 2190:case 2191:case 2192:case 213:case 227:case 81:case 2148:case 437:case 82:case 182:case 251:case 247:case 240:case 242:case 245:case 244:case 174:case 80:case 2156:case 42:case 43:case 51:case 89:case 90:case 160:case 2146:case 445:case 211:case 2199:case 2059:case 239:case 222:case 2189:case 446:case 434:case 4177:case 4099:case 4109:case 2166:case 220:case 2051:case 2058:case 2052:case 4174:case 432:case 433:case 2170:case 2171:case 448:case 4097:case 225:case 193:case 226:case 353:case 156:break;case 61:case 141:case 130:case 128:case 425:case 426:case 427:case 65:case 4195:case 4147:case 4148:case 2130:case 2131:case 4146:case 4122:case 4125:case 4129:case 4126:case 4166:case 2205:case 2215:case 4130:case 4124:case 2206:case 2207:case 4103:case 4106:case 4098:case 4154:case 4191:case 4116:case 2128:case 4149:case 4196:case 4118:case 4170:case 4171:case 4102:case 4165:case 4134:case 4128:case 4194:case 4189:case 4164:case 4132:case 4133:case 2134:case 2155:case 4117:case 4163:case 4121:case 4123:case 4107:case 4105:case 2132:case 2133:case 4176:case 4135:case 4197:case 4108:case 2135:case 4120:case 4119:case 4159:case 4161:case 4175:case 4127:case 2064:case 2136:case 2137:case 4168:case 2213:case 2249:case 2250:case 2251:case 429:case 2055:case 2054:case 2053:case 155:case 158:case 157:case 2174:case 2164:case 144:case 2197:case 2212:case 236:case 235:case 237:case 2049:case 2240:case 2204:case 2150:case 2187:case 27:case 26:case 64:case 2203:case 2188:case 60:case 2175:case 2138:case 2129:case 234:case 4158:case 4160:case 4157:case"Intl":case"CoordList":case"SerAuxErrBar":case 69:case 31:case 50:case 67:case 579:case 1091:case 68:case 86:case 8:case 62:case 175:case 4156:case 2154:case 441:case 4193:case 4199:case 2067:case 149:case 154:case 194:case 152:case 2241:case 2242:case 319:case 1048:case 191:case 192:case 52:case 2262:break;default:if(N.WTF)throw"Unrecognized Record 0x"+Ta.toString(16)}}else b.l+=si}return I.SheetNames=We(be).sort(function(Es,Ia){return Number(Es)-Number(Ia)}).map(function(Es){return be[Es].name}),N.bookSheets||(I.Sheets=H),!I.SheetNames.length&&Ct["!ref"]?(I.SheetNames.push("Sheet1"),I.Sheets&&(I.Sheets.Sheet1=Ct)):I.Preamble=Ct,I.Sheets&&Xi.forEach(function(Es,Ia){I.Sheets[I.SheetNames[Ia]]["!autofilter"]=Es}),I.Strings=dt,I.SSF=B.get_table(),Yi.enc&&(I.Encryption=Yi.enc),go&&(I.Themes=go),I.Metadata={},da!==void 0&&(I.Metadata.Country=da),Qo.names.length>0&&(vi.Names=Qo.names),I.Workbook=vi,I}var Uh={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function ov(b,N,I){var H=ne.find(b,"/!DocumentSummaryInformation");if(H&&H.size>0)try{var J=bc(H,ho,Uh.DSI);for(var be in J)N[be]=J[be]}catch(Ot){if(I.WTF)throw Ot}var ke=ne.find(b,"/!SummaryInformation");if(ke&&ke.size>0)try{var He=bc(ke,yo,Uh.SI);for(var dt in He)N[dt]==null&&(N[dt]=He[dt])}catch(Ot){if(I.WTF)throw Ot}N.HeadingPairs&&N.TitlesOfParts&&(Ho(N.HeadingPairs,N.TitlesOfParts,N,I),delete N.HeadingPairs,delete N.TitlesOfParts)}function sv(b,N){var I=[],H=[],J=[],be=0,ke,He=Ae(ho,"n"),dt=Ae(yo,"n");if(b.Props)for(ke=We(b.Props),be=0;be<ke.length;++be)(Object.prototype.hasOwnProperty.call(He,ke[be])?I:Object.prototype.hasOwnProperty.call(dt,ke[be])?H:J).push([ke[be],b.Props[ke[be]]]);if(b.Custprops)for(ke=We(b.Custprops),be=0;be<ke.length;++be)Object.prototype.hasOwnProperty.call(b.Props||{},ke[be])||(Object.prototype.hasOwnProperty.call(He,ke[be])?I:Object.prototype.hasOwnProperty.call(dt,ke[be])?H:J).push([ke[be],b.Custprops[ke[be]]]);var Ot=[];for(be=0;be<J.length;++be){if(dn.indexOf(J[be][0])>-1||vs.indexOf(J[be][0])>-1)continue;if(J[be][1]==null)continue;Ot.push(J[be])}H.length&&ne.utils.cfb_add(N,"/SummaryInformation",pc(H,Uh.SI,dt,yo)),(I.length||Ot.length)&&ne.utils.cfb_add(N,"/DocumentSummaryInformation",pc(I,Uh.DSI,He,ho,Ot.length?Ot:null,Uh.UDI))}function tp(b,N){N||(N={}),bf(N),n(),N.codepage&&f(N.codepage);var I,H;if(b.FullPaths){if(ne.find(b,"/encryption"))throw new Error("File is password-protected");I=ne.find(b,"!CompObj"),H=ne.find(b,"/Workbook")||ne.find(b,"/Book")}else{switch(N.type){case"base64":b=S(A.decode(b));break;case"binary":b=S(b);break;case"buffer":break;case"array":Array.isArray(b)||(b=Array.prototype.slice.call(b));break}Cn(b,0),H={content:b}}var J,be;if(I&&rv(I),N.bookProps&&!N.bookSheets)J={};else{var ke=w?"buffer":"array";if(H&&H.content)J=av(H.content,N);else if((be=ne.find(b,"PerfectOffice_MAIN"))&&be.content)J=nu.to_workbook(be.content,(N.type=ke,N));else if((be=ne.find(b,"NativeContent_MAIN"))&&be.content)J=nu.to_workbook(be.content,(N.type=ke,N));else throw(be=ne.find(b,"MN0"))&&be.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");N.bookVBA&&b.FullPaths&&ne.find(b,"/_VBA_PROJECT_CUR/VBA/dir")&&(J.vbaraw=wu(b))}var He={};return b.FullPaths&&ov(b,He,N),J.Props=J.Custprops=He,N.bookFiles&&(J.cfb=b),J}function lv(b,N){var I=N||{},H=ne.utils.cfb_new({root:"R"}),J="/Workbook";switch(I.bookType||"xls"){case"xls":I.bookType="biff8";case"xla":I.bookType||(I.bookType="xla");case"biff8":J="/Workbook",I.biff=8;break;case"biff5":J="/Book",I.biff=5;break;default:throw new Error("invalid type "+I.bookType+" for XLS CFB")}return ne.utils.cfb_add(H,J,rp(b,I)),I.biff==8&&(b.Props||b.Custprops)&&sv(b,H),I.biff==8&&b.vbaraw&&Ku(H,ne.read(b.vbaraw,{type:typeof b.vbaraw=="string"?"binary":"buffer"})),H}var jh={0:{f:Lg},1:{f:Pg},2:{f:n0},3:{f:Xg},4:{f:Wg},5:{f:e0},6:{f:l0},7:{f:Zg},8:{f:m0},9:{f:p0},10:{f:h0},11:{f:f0},12:{f:jg},13:{f:a0},14:{f:Yg},15:{f:Kg},16:{f:Kf},17:{f:u0},18:{f:$g},19:{f:Yr},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:hA},40:{},42:{},43:{f:rl},44:{f:sc},45:{f:zc},46:{f:_c},47:{f:vu},48:{},49:{f:_n},50:{},51:{f:ef},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:ud},62:{f:s0},63:{f:Gt},64:{f:N0},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:ki,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:T0},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:kg},148:{f:Dg,p:16},151:{f:w0},152:{},153:{f:cA},154:{},155:{},156:{f:sA},157:{},158:{},159:{T:1,f:Ee},160:{T:-1},161:{T:1,f:va},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:g0},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:mh},336:{T:-1},337:{f:nf,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Pi},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Fu},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:x0},427:{f:S0},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:E0},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Bg},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:b0},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Pi},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:fl},633:{T:1},634:{T:-1},635:{T:1,f:El},636:{T:-1},637:{f:cn},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Z0},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:M0},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},pf={6:{f:sf},10:{f:fs},12:{f:Gs},13:{f:Gs},14:{f:Hs},15:{f:Hs},16:{f:Ai},17:{f:Hs},18:{f:Hs},19:{f:Gs},20:{f:_d},21:{f:_d},23:{f:Fu},24:{f:Bc},25:{f:Hs},26:{},27:{},28:{f:Td},29:{},34:{f:Hs},35:{f:Ec},38:{f:Ai},39:{f:Ai},40:{f:Ai},41:{f:Ai},42:{f:Hs},43:{f:Hs},47:{f:Ko},49:{f:wc},51:{f:Gs},60:{},61:{f:Oc},64:{f:Hs},65:{f:jc},66:{f:Gs},77:{},80:{},81:{},82:{},85:{f:Gs},89:{},90:{},91:{},92:{f:zl},93:{f:Pu},94:{},95:{f:Hs},96:{},97:{},99:{f:Hs},125:{f:ud},128:{f:Rc},129:{f:ql},130:{f:Gs},131:{f:Hs},132:{f:Hs},133:{f:Vl},134:{},140:{f:ju},141:{f:Gs},144:{},146:{f:Lu},151:{},152:{},153:{},154:{},155:{},156:{f:Gs},157:{},158:{},160:{f:Xc},161:{f:Hu},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:Qs},190:{f:xc},193:{f:fs},197:{},198:{},199:{},200:{},201:{},202:{f:Hs},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Gs},220:{},221:{f:Hs},222:{},224:{f:$c},225:{f:$l},226:{f:fs},227:{},229:{f:qc},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:Zc},253:{f:xo},255:{f:ll},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Uc},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Hs},353:{f:fs},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:Xu},431:{f:Hs},432:{},433:{},434:{},437:{},438:{f:Sc},439:{f:Hs},440:{f:Uu},441:{},442:{f:Vt},443:{},444:{f:Gs},445:{},446:{},448:{f:fs},449:{f:fc,r:2},450:{f:fs},512:{f:hl},513:{f:Ld},515:{f:od},516:{f:Ds},517:{f:au},519:{f:Gc},520:{f:Fl},523:{},545:{f:Tu},549:{f:Cc},566:{},574:{f:Wc},638:{f:Ll},659:{},1048:{},1054:{f:vc},1084:{},1212:{f:Gu},2048:{f:Yu},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:el},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:fs},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:Id,r:12},2173:{f:Th,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Hs,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:ld,r:12},2197:{},2198:{f:rh,r:12},2199:{},2200:{},2201:{},2202:{f:jd,r:12},2203:{f:fs},2204:{},2205:{},2206:{},2207:{},2211:{f:Mc},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Gs},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:hd},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:pu},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:hl},1:{},2:{f:Yc},3:{f:pd},4:{f:Qu},5:{f:au},7:{f:Zu},8:{},9:{f:el},11:{},22:{f:Gs},30:{f:Xl},31:{},32:{},33:{f:Tu},36:{},37:{f:Cc},50:{f:Hd},62:{},52:{},67:{},68:{f:Gs},69:{},86:{},126:{},127:{f:Jc},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:md},223:{},234:{},354:{},421:{},518:{f:sf},521:{f:el},536:{f:Bc},547:{f:Ec},561:{},579:{},1030:{f:sf},1033:{f:el},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function Po(b,N,I,H){var J=N;if(isNaN(J))return;var be=H||(I||[]).length||0,ke=b.next(4);ke.write_shift(2,J),ke.write_shift(2,be),be>0&&pn(I)&&b.push(I)}function cv(b,N,I,H){var J=H||(I||[]).length||0;if(J<=8224)return Po(b,N,I,J);var be=N;if(isNaN(be))return;for(var ke=I.parts||[],He=0,dt=0,Ot=0;Ot+(ke[He]||8224)<=8224;)Ot+=ke[He]||8224,He++;var Ct=b.next(4);for(Ct.write_shift(2,be),Ct.write_shift(2,Ot),b.push(I.slice(dt,dt+Ot)),dt+=Ot;dt<J;){for(Ct=b.next(4),Ct.write_shift(2,60),Ot=0;Ot+(ke[He]||8224)<=8224;)Ot+=ke[He]||8224,He++;Ct.write_shift(2,Ot),b.push(I.slice(dt,dt+Ot)),dt+=Ot}}function Hh(b,N,I){return b||(b=Tn(7)),b.write_shift(2,N),b.write_shift(2,I),b.write_shift(2,0),b.write_shift(1,0),b}function uv(b,N,I,H){var J=Tn(9);return Hh(J,b,N),yc(I,H||"b",J),J}function dv(b,N,I){var H=Tn(8+2*I.length);return Hh(H,b,N),H.write_shift(1,I.length),H.write_shift(I.length,I,"sbcs"),H.l<H.length?H.slice(0,H.l):H}function hv(b,N,I,H){if(N.v!=null)switch(N.t){case"d":case"n":var J=N.t=="d"?oe(de(N.v)):N.v;J==(J|0)&&J>=0&&J<65536?Po(b,2,Wu(I,H,J)):Po(b,3,lu(I,H,J));return;case"b":case"e":Po(b,5,uv(I,H,N.v,N.t));return;case"s":case"str":Po(b,4,dv(I,H,(N.v||"").slice(0,255)));return}Po(b,1,Hh(null,I,H))}function fv(b,N,I,H){var J=Array.isArray(N),be=$i(N["!ref"]||"A1"),ke,He="",dt=[];if(be.e.c>255||be.e.r>16383){if(H.WTF)throw new Error("Range "+(N["!ref"]||"A1")+" exceeds format limit A1:IV16384");be.e.c=Math.min(be.e.c,255),be.e.r=Math.min(be.e.c,16383),ke=mn(be)}for(var Ot=be.s.r;Ot<=be.e.r;++Ot){He=hi(Ot);for(var Ct=be.s.c;Ct<=be.e.c;++Ct){Ot===be.s.r&&(dt[Ct]=Fi(Ct)),ke=dt[Ct]+He;var dr=J?(N[Ot]||[])[Ct]:N[ke];if(!dr)continue;hv(b,dr,Ot,Ct,H)}}}function pv(b,N){var I=N||{};h!=null&&I.dense==null&&(I.dense=h);for(var H=Ti(),J=0,be=0;be<b.SheetNames.length;++be)b.SheetNames[be]==I.sheet&&(J=be);if(J==0&&!!I.sheet&&b.SheetNames[0]!=I.sheet)throw new Error("Sheet not found: "+I.sheet);return Po(H,I.biff==4?1033:I.biff==3?521:9,dl(b,16,I)),fv(H,b.Sheets[b.SheetNames[J]],J,I,b),Po(H,10),H.end()}function mv(b,N,I){Po(b,49,ps({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},I))}function gv(b,N,I){if(!N)return;[[5,8],[23,26],[41,44],[50,392]].forEach(function(H){for(var J=H[0];J<=H[1];++J)N[J]!=null&&Po(b,1054,ec(J,N[J],I))})}function Av(b,N){var I=Tn(19);I.write_shift(4,2151),I.write_shift(4,0),I.write_shift(4,0),I.write_shift(2,3),I.write_shift(1,1),I.write_shift(4,0),Po(b,2151,I),I=Tn(39),I.write_shift(4,2152),I.write_shift(4,0),I.write_shift(4,0),I.write_shift(2,3),I.write_shift(1,0),I.write_shift(4,0),I.write_shift(2,1),I.write_shift(4,4),I.write_shift(2,0),ws($i(N["!ref"]||"A1"),I),I.write_shift(4,4),Po(b,2152,I)}function vv(b,N){for(var I=0;I<16;++I)Po(b,224,hu({numFmtId:0,style:!0},0,N));N.cellXfs.forEach(function(H){Po(b,224,hu(H,0,N))})}function bv(b,N){for(var I=0;I<N["!links"].length;++I){var H=N["!links"][I];Po(b,440,su(H)),H[1].Tooltip&&Po(b,2048,Od(H))}delete N["!links"]}function yv(b,N){if(!N)return;var I=0;N.forEach(function(H,J){++I<=256&&H&&Po(b,125,dd(Yh(J,H),J))})}function wv(b,N,I,H,J){var be=16+dh(J.cellXfs,N,J);if(N.v==null&&!N.bf){Po(b,513,Ei(I,H,be));return}if(N.bf)Po(b,6,Vm(N,I,H,J,be));else switch(N.t){case"d":case"n":var ke=N.t=="d"?oe(de(N.v)):N.v;Po(b,515,Ed(I,H,ke,be,J));break;case"b":case"e":Po(b,517,Cd(I,H,N.v,be,J,N.t));break;case"s":case"str":if(J.bookSST){var He=cf(J.Strings,N.v,J.revStrings);Po(b,253,ls(I,H,He,be,J))}else Po(b,516,Nl(I,H,(N.v||"").slice(0,255),be,J));break;default:Po(b,513,Ei(I,H,be))}}function xv(b,N,I){var H=Ti(),J=I.SheetNames[b],be=I.Sheets[J]||{},ke=(I||{}).Workbook||{},He=(ke.Sheets||[])[b]||{},dt=Array.isArray(be),Ot=N.biff==8,Ct,dr="",vr=[],kr=$i(be["!ref"]||"A1"),Ur=Ot?65536:16384;if(kr.e.c>255||kr.e.r>=Ur){if(N.WTF)throw new Error("Range "+(be["!ref"]||"A1")+" exceeds format limit A1:IV16384");kr.e.c=Math.min(kr.e.c,255),kr.e.r=Math.min(kr.e.c,Ur-1)}Po(H,2057,dl(I,16,N)),Po(H,13,Il(1)),Po(H,12,Il(100)),Po(H,15,ol(!0)),Po(H,17,ol(!1)),Po(H,16,Aa(.001)),Po(H,95,ol(!0)),Po(H,42,ol(!1)),Po(H,43,ol(!1)),Po(H,130,Il(1)),Po(H,128,fu([0,0])),Po(H,131,ol(!1)),Po(H,132,ol(!1)),Ot&&yv(H,be["!cols"]),Po(H,512,tl(kr,N)),Ot&&(be["!links"]=[]);for(var Ar=kr.s.r;Ar<=kr.e.r;++Ar){dr=hi(Ar);for(var Dr=kr.s.c;Dr<=kr.e.c;++Dr){Ar===kr.s.r&&(vr[Dr]=Fi(Dr)),Ct=vr[Dr]+dr;var kn=dt?(be[Ar]||[])[Dr]:be[Ct];if(!kn)continue;wv(H,kn,Ar,Dr,N),Ot&&kn.l&&be["!links"].push([Ct,kn.l])}}var Wn=He.CodeName||He.name||J;return Ot&&Po(H,574,Dc((ke.Views||[])[0])),Ot&&(be["!merges"]||[]).length&&Po(H,229,ou(be["!merges"])),Ot&&bv(H,be),Po(H,442,ci(Wn,N)),Ot&&Av(H,be),Po(H,10),H.end()}function Sv(b,N,I){var H=Ti(),J=(b||{}).Workbook||{},be=J.Sheets||[],ke=J.WBProps||{},He=I.biff==8,dt=I.biff==5;if(Po(H,2057,dl(b,5,I)),I.bookType=="xla"&&Po(H,135),Po(H,225,He?Il(1200):null),Po(H,193,Ks(2)),dt&&Po(H,191),dt&&Po(H,192),Po(H,226),Po(H,92,Kl("SheetJS",I)),Po(H,66,Il(He?1200:1252)),He&&Po(H,353,Il(0)),He&&Po(H,448),Po(H,317,fd(b.SheetNames.length)),He&&b.vbaraw&&Po(H,211),He&&b.vbaraw){var Ot=ke.CodeName||"ThisWorkbook";Po(H,442,ci(Ot,I))}Po(H,156,Il(17)),Po(H,25,ol(!1)),Po(H,18,ol(!1)),Po(H,19,Il(0)),He&&Po(H,431,ol(!1)),He&&Po(H,444,Il(0)),Po(H,61,Ac(I)),Po(H,64,ol(!1)),Po(H,141,Il(0)),Po(H,34,ol(rA(b)=="true")),Po(H,14,ol(!0)),He&&Po(H,439,ol(!1)),Po(H,218,Il(0)),mv(H,b,I),gv(H,b.SSF,I),vv(H,I),He&&Po(H,352,ol(!1));var Ct=H.end(),dr=Ti();He&&Po(dr,140,Iu()),He&&I.Strings&&cv(dr,252,Zl(I.Strings,I)),Po(dr,10);var vr=dr.end(),kr=Ti(),Ur=0,Ar=0;for(Ar=0;Ar<b.SheetNames.length;++Ar)Ur+=(He?12:11)+(He?2:1)*b.SheetNames[Ar].length;var Dr=Ct.length+Ur+vr.length;for(Ar=0;Ar<b.SheetNames.length;++Ar){var kn=be[Ar]||{};Po(kr,133,Nc({pos:Dr,hs:kn.Hidden||0,dt:0,name:b.SheetNames[Ar]},I)),Dr+=N[Ar].length}var Wn=kr.end();if(Ur!=Wn.length)throw new Error("BS8 "+Ur+" != "+Wn.length);var On=[];return Ct.length&&On.push(Ct),Wn.length&&On.push(Wn),vr.length&&On.push(vr),k(On)}function Cv(b,N){var I=N||{},H=[];b&&!b.SSF&&(b.SSF=B.get_table()),b&&b.SSF&&(V(B),B.load_table(b.SSF),I.revssf=ee(b.SSF),I.revssf[b.SSF[65535]]=0,I.ssf=b.SSF),I.Strings=[],I.Strings.Count=0,I.Strings.Unique=0,yf(I),I.cellXfs=[],dh(I.cellXfs,{},{revssf:{General:0}}),b.Props||(b.Props={});for(var J=0;J<b.SheetNames.length;++J)H[H.length]=xv(J,I,b);return H.unshift(Sv(b,H,I)),k(H)}function rp(b,N){for(var I=0;I<=b.SheetNames.length;++I){var H=b.Sheets[b.SheetNames[I]];if(!H||!H["!ref"])continue;var J=Gi(H["!ref"]);J.e.c>255&&(typeof console!="undefined"&&console.error&&console.error("Worksheet '"+b.SheetNames[I]+"' extends beyond column IV (255). Data may be lost."))}var be=N||{};switch(be.biff||2){case 8:case 5:return Cv(b,N);case 4:case 3:case 2:return pv(b,N)}throw new Error("invalid type "+be.bookType+" for BIFF")}var bh=function(){function b(He,dt){var Ot=dt||{};h!=null&&Ot.dense==null&&(Ot.dense=h);var Ct=Ot.dense?[]:{};He=He.replace(/<!--.*?-->/g,"");var dr=He.match(/<table/i);if(!dr)throw new Error("Invalid HTML: could not find <table>");var vr=He.match(/<\/table/i),kr=dr.index,Ur=vr&&vr.index||He.length,Ar=nt(He.slice(kr,Ur),/(:?<tr[^>]*>)/i,"<tr>"),Dr=-1,kn=0,Wn=0,On=0,da={s:{r:1e7,c:1e7},e:{r:0,c:0}},Ba=[];for(kr=0;kr<Ar.length;++kr){var Bi=Ar[kr].trim(),vi=Bi.slice(0,3).toLowerCase();if(vi=="<tr"){if(++Dr,Ot.sheetRows&&Ot.sheetRows<=Dr){--Dr;break}kn=0;continue}if(vi!="<td"&&vi!="<th")continue;var _a=Bi.split(/<\/t[dh]>/i);for(Ur=0;Ur<_a.length;++Ur){var na=_a[Ur].trim();if(!na.match(/<t[dh]/i))continue;for(var xa=na,Fa=0;xa.charAt(0)=="<"&&(Fa=xa.indexOf(">"))>-1;)xa=xa.slice(Fa+1);for(var Yi=0;Yi<Ba.length;++Yi){var go=Ba[Yi];go.s.c==kn&&go.s.r<Dr&&Dr<=go.e.r&&(kn=go.e.c+1,Yi=-1)}var Jo=ur(na.slice(0,na.indexOf(">")));On=Jo.colspan?+Jo.colspan:1,((Wn=+Jo.rowspan)>1||On>1)&&Ba.push({s:{r:Dr,c:kn},e:{r:Dr+(Wn||1)-1,c:kn+On-1}});var Uo=Jo.t||Jo["data-t"]||"";if(!xa.length){kn+=On;continue}if(xa=nn(xa),da.s.r>Dr&&(da.s.r=Dr),da.e.r<Dr&&(da.e.r=Dr),da.s.c>kn&&(da.s.c=kn),da.e.c<kn&&(da.e.c=kn),!xa.length){kn+=On;continue}var ms={t:"s",v:xa};Ot.raw||!xa.trim().length||Uo=="s"||(xa==="TRUE"?ms={t:"b",v:!0}:xa==="FALSE"?ms={t:"b",v:!1}:isNaN(gt(xa))?isNaN(Pe(xa).getDate())||(ms={t:"d",v:de(xa)},Ot.cellDates||(ms={t:"n",v:oe(ms.v)}),ms.z=Ot.dateNF||B._table[14]):ms={t:"n",v:gt(xa)}),Ot.dense?(Ct[Dr]||(Ct[Dr]=[]),Ct[Dr][kn]=ms):Ct[Ka({r:Dr,c:kn})]=ms,kn+=On}}return Ct["!ref"]=mn(da),Ba.length&&(Ct["!merges"]=Ba),Ct}function N(He,dt){var Ot=He.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!Ot||Ot.length==0)throw new Error("Invalid HTML: could not find <table>");if(Ot.length==1)return ao(b(Ot[0],dt),dt);var Ct=Of();return Ot.forEach(function(dr,vr){If(Ct,b(dr,dt),"Sheet"+(vr+1))}),Ct}function I(He,dt,Ot,Ct){for(var dr=He["!merges"]||[],vr=[],kr=dt.s.c;kr<=dt.e.c;++kr){for(var Ur=0,Ar=0,Dr=0;Dr<dr.length;++Dr){if(dr[Dr].s.r>Ot||dr[Dr].s.c>kr)continue;if(dr[Dr].e.r<Ot||dr[Dr].e.c<kr)continue;if(dr[Dr].s.r<Ot||dr[Dr].s.c<kr){Ur=-1;break}Ur=dr[Dr].e.r-dr[Dr].s.r+1,Ar=dr[Dr].e.c-dr[Dr].s.c+1;break}if(Ur<0)continue;var kn=Ka({r:Ot,c:kr}),Wn=Ct.dense?(He[Ot]||[])[kr]:He[kn],On=Wn&&Wn.v!=null&&(Wn.h||di(Wn.w||(La(Wn),Wn.w)||""))||"",da={};Ur>1&&(da.rowspan=Ur),Ar>1&&(da.colspan=Ar),Ct.editable?On='<span contenteditable="true">'+On+"</span>":Wn&&(da["data-t"]=Wn&&Wn.t||"z",Wn.v!=null&&(da["data-v"]=Wn.v),Wn.z!=null&&(da["data-z"]=Wn.z),Wn.l&&(Wn.l.Target||"#").charAt(0)!="#"&&(On='<a href="'+Wn.l.Target+'">'+On+"</a>")),da.id=(Ct.id||"sjs")+"-"+kn,vr.push(Rt("td",On,da))}var Ba="<tr>";return Ba+vr.join("")+"</tr>"}function H(He,dt,Ot){var Ct=[];return Ct.join("")+"<table"+(Ot&&Ot.id?' id="'+Ot.id+'"':"")+">"}var J='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',be="</body></html>";function ke(He,dt){var Ot=dt||{},Ct=Ot.header!=null?Ot.header:J,dr=Ot.footer!=null?Ot.footer:be,vr=[Ct],kr=Gi(He["!ref"]);Ot.dense=Array.isArray(He),vr.push(H(He,kr,Ot));for(var Ur=kr.s.r;Ur<=kr.e.r;++Ur)vr.push(I(He,kr,Ur,Ot));return vr.push("</table>"+dr),vr.join("")}return{to_workbook:N,to_sheet:b,_row:I,BEGIN:J,END:be,_preamble:H,from_sheet:ke}}();function np(b,N,I){var H=I||{};h!=null&&(H.dense=h);var J=0,be=0;if(H.origin!=null)if(typeof H.origin=="number")J=H.origin;else{var ke=typeof H.origin=="string"?ja(H.origin):H.origin;J=ke.r,be=ke.c}var He=N.getElementsByTagName("tr"),dt=Math.min(H.sheetRows||1e7,He.length),Ot={s:{r:0,c:0},e:{r:J,c:be}};if(b["!ref"]){var Ct=Gi(b["!ref"]);Ot.s.r=Math.min(Ot.s.r,Ct.s.r),Ot.s.c=Math.min(Ot.s.c,Ct.s.c),Ot.e.r=Math.max(Ot.e.r,Ct.e.r),Ot.e.c=Math.max(Ot.e.c,Ct.e.c),J==-1&&(Ot.e.r=J=Ct.e.r+1)}var dr=[],vr=0,kr=b["!rows"]||(b["!rows"]=[]),Ur=0,Ar=0,Dr=0,kn=0,Wn=0,On=0;for(b["!cols"]||(b["!cols"]=[]);Ur<He.length&&Ar<dt;++Ur){var da=He[Ur];if(ap(da)){if(H.display)continue;kr[Ar]={hidden:!0}}var Ba=da.children;for(Dr=kn=0;Dr<Ba.length;++Dr){var Bi=Ba[Dr];if(H.display&&ap(Bi))continue;var vi=Bi.hasAttribute("data-v")?Bi.getAttribute("data-v"):Bi.hasAttribute("v")?Bi.getAttribute("v"):nn(Bi.innerHTML),_a=Bi.getAttribute("data-z")||Bi.getAttribute("z");for(vr=0;vr<dr.length;++vr){var na=dr[vr];na.s.c==kn+be&&na.s.r<Ar+J&&Ar+J<=na.e.r&&(kn=na.e.c+1-be,vr=-1)}On=+Bi.getAttribute("colspan")||1,((Wn=+Bi.getAttribute("rowspan")||1)>1||On>1)&&dr.push({s:{r:Ar+J,c:kn+be},e:{r:Ar+J+(Wn||1)-1,c:kn+be+(On||1)-1}});var xa={t:"s",v:vi},Fa=Bi.getAttribute("data-t")||Bi.getAttribute("t")||"";vi!=null&&(vi.length==0?xa.t=Fa||"z":H.raw||vi.trim().length==0||Fa=="s"||(vi==="TRUE"?xa={t:"b",v:!0}:vi==="FALSE"?xa={t:"b",v:!1}:isNaN(gt(vi))?isNaN(Pe(vi).getDate())||(xa={t:"d",v:de(vi)},H.cellDates||(xa={t:"n",v:oe(xa.v)}),xa.z=H.dateNF||B._table[14]):xa={t:"n",v:gt(vi)})),xa.z===void 0&&_a!=null&&(xa.z=_a);var Yi="",go=Bi.getElementsByTagName("A");if(go&&go.length)for(var Jo=0;Jo<go.length&&!(go[Jo].hasAttribute("href")&&(Yi=go[Jo].getAttribute("href"),Yi.charAt(0)!="#"));++Jo);Yi&&Yi.charAt(0)!="#"&&(xa.l={Target:Yi}),H.dense?(b[Ar+J]||(b[Ar+J]=[]),b[Ar+J][kn+be]=xa):b[Ka({c:kn+be,r:Ar+J})]=xa,Ot.e.c<kn+be&&(Ot.e.c=kn+be),kn+=On}++Ar}return dr.length&&(b["!merges"]=(b["!merges"]||[]).concat(dr)),Ot.e.r=Math.max(Ot.e.r,Ar-1+J),b["!ref"]=mn(Ot),Ar>=dt&&(b["!fullref"]=mn((Ot.e.r=He.length-Ur+Ar-1+J,Ot))),b}function ip(b,N){var I=N||{},H=I.dense?[]:{};return np(H,b,N)}function Ev(b,N){return ao(ip(b,N),N)}function ap(b){var N="",I=_v(b);return I&&(N=I(b).getPropertyValue("display")),N||(N=b.style&&b.style.display),N==="none"}function _v(b){return b.ownerDocument.defaultView&&typeof b.ownerDocument.defaultView.getComputedStyle=="function"?b.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function Tv(b){var N=b.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(H,J){return Array(parseInt(J,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g," ").replace(/<text:line-break\/>/g,`
|
|
|
`),I=lr(N.replace(/<[^>]*>/g,""));return[I]}var op={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function sp(b,N){var I=N||{};h!=null&&I.dense==null&&(I.dense=h);var H=Nr(b),J=[],be,ke,He={name:""},dt="",Ot=0,Ct,dr,vr={},kr=[],Ur=I.dense?[]:{},Ar,Dr,kn={value:""},Wn="",On=0,da,Ba=[],Bi=-1,vi=-1,_a={s:{r:1e6,c:1e7},e:{r:0,c:0}},na=0,xa={},Fa=[],Yi={},go=0,Jo=0,Uo=[],ms=1,Ss=1,Bl=[],Qo={Names:[]},Is={},$a=["",""],pi=[],pa={},Xi="",Qr=0,Dn=!1,ai=!1,Ta=0;for(Sr.lastIndex=0,H=H.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");Ar=Sr.exec(H);)switch(Ar[3]=Ar[3].replace(/_.*$/,"")){case"table":case"\u5DE5\u4F5C\u8868":Ar[1]==="/"?(_a.e.c>=_a.s.c&&_a.e.r>=_a.s.r?Ur["!ref"]=mn(_a):Ur["!ref"]="A1:A1",I.sheetRows>0&&I.sheetRows<=_a.e.r&&(Ur["!fullref"]=Ur["!ref"],_a.e.r=I.sheetRows-1,Ur["!ref"]=mn(_a)),Fa.length&&(Ur["!merges"]=Fa),Uo.length&&(Ur["!rows"]=Uo),Ct.name=Ct.\u540D\u79F0||Ct.name,typeof JSON!="undefined"&&JSON.stringify(Ct),kr.push(Ct.name),vr[Ct.name]=Ur,ai=!1):Ar[0].charAt(Ar[0].length-2)!=="/"&&(Ct=ur(Ar[0],!1),Bi=vi=-1,_a.s.r=_a.s.c=1e7,_a.e.r=_a.e.c=0,Ur=I.dense?[]:{},Fa=[],Uo=[],ai=!0);break;case"table-row-group":Ar[1]==="/"?--na:++na;break;case"table-row":case"\u884C":if(Ar[1]==="/"){Bi+=ms,ms=1;break}if(dr=ur(Ar[0],!1),dr.\u884C\u53F7?Bi=dr.\u884C\u53F7-1:Bi==-1&&(Bi=0),ms=+dr["number-rows-repeated"]||1,ms<10)for(Ta=0;Ta<ms;++Ta)na>0&&(Uo[Bi+Ta]={level:na});vi=-1;break;case"covered-table-cell":Ar[1]!=="/"&&++vi,I.sheetStubs&&(I.dense?(Ur[Bi]||(Ur[Bi]=[]),Ur[Bi][vi]={t:"z"}):Ur[Ka({r:Bi,c:vi})]={t:"z"}),Wn="",Ba=[];break;case"table-cell":case"\u6570\u636E":if(Ar[0].charAt(Ar[0].length-2)==="/")++vi,kn=ur(Ar[0],!1),Ss=parseInt(kn["number-columns-repeated"]||"1",10),Dr={t:"z",v:null},kn.formula&&I.cellFormula!=!1&&(Dr.f=jf(lr(kn.formula))),(kn.\u6570\u636E\u7C7B\u578B||kn["value-type"])=="string"&&(Dr.t="s",Dr.v=lr(kn["string-value"]||""),I.dense?(Ur[Bi]||(Ur[Bi]=[]),Ur[Bi][vi]=Dr):Ur[Ka({r:Bi,c:vi})]=Dr),vi+=Ss-1;else if(Ar[1]!=="/"){++vi,Wn="",On=0,Ba=[],Ss=1;var si=ms?Bi+ms-1:Bi;if(vi>_a.e.c&&(_a.e.c=vi),vi<_a.s.c&&(_a.s.c=vi),Bi<_a.s.r&&(_a.s.r=Bi),si>_a.e.r&&(_a.e.r=si),kn=ur(Ar[0],!1),pi=[],pa={},Dr={t:kn.\u6570\u636E\u7C7B\u578B||kn["value-type"],v:null},I.cellFormula)if(kn.formula&&(kn.formula=lr(kn.formula)),kn["number-matrix-columns-spanned"]&&kn["number-matrix-rows-spanned"]&&(go=parseInt(kn["number-matrix-rows-spanned"],10)||0,Jo=parseInt(kn["number-matrix-columns-spanned"],10)||0,Yi={s:{r:Bi,c:vi},e:{r:Bi+go-1,c:vi+Jo-1}},Dr.F=mn(Yi),Bl.push([Yi,Dr.F])),kn.formula)Dr.f=jf(kn.formula);else for(Ta=0;Ta<Bl.length;++Ta)Bi>=Bl[Ta][0].s.r&&Bi<=Bl[Ta][0].e.r&&(vi>=Bl[Ta][0].s.c&&vi<=Bl[Ta][0].e.c&&(Dr.F=Bl[Ta][1]));(kn["number-columns-spanned"]||kn["number-rows-spanned"])&&(go=parseInt(kn["number-rows-spanned"],10)||0,Jo=parseInt(kn["number-columns-spanned"],10)||0,Yi={s:{r:Bi,c:vi},e:{r:Bi+go-1,c:vi+Jo-1}},Fa.push(Yi)),kn["number-columns-repeated"]&&(Ss=parseInt(kn["number-columns-repeated"],10));switch(Dr.t){case"boolean":Dr.t="b",Dr.v=Ue(kn["boolean-value"]);break;case"float":Dr.t="n",Dr.v=parseFloat(kn.value);break;case"percentage":Dr.t="n",Dr.v=parseFloat(kn.value);break;case"currency":Dr.t="n",Dr.v=parseFloat(kn.value);break;case"date":Dr.t="d",Dr.v=de(kn["date-value"]),I.cellDates||(Dr.t="n",Dr.v=oe(Dr.v)),Dr.z="m/d/yy";break;case"time":Dr.t="n",Dr.v=fe(kn["time-value"])/86400,I.cellDates&&(Dr.t="d",Dr.v=xe(Dr.v)),Dr.z="HH:MM:SS";break;case"number":Dr.t="n",Dr.v=parseFloat(kn.\u6570\u636E\u6570\u503C);break;default:if(Dr.t==="string"||Dr.t==="text"||!Dr.t)Dr.t="s",kn["string-value"]!=null&&(Wn=lr(kn["string-value"]),Ba=[]);else throw new Error("Unsupported value type "+Dr.t)}}else{if(Dn=!1,Dr.t==="s"&&(Dr.v=Wn||"",Ba.length&&(Dr.R=Ba),Dn=On==0),Is.Target&&(Dr.l=Is),pi.length>0&&(Dr.c=pi,pi=[]),Wn&&I.cellText!==!1&&(Dr.w=Wn),Dn&&(Dr.t="z",delete Dr.v),(!Dn||I.sheetStubs)&&!(I.sheetRows&&I.sheetRows<=Bi))for(var ha=0;ha<ms;++ha){if(Ss=parseInt(kn["number-columns-repeated"]||"1",10),I.dense)for(Ur[Bi+ha]||(Ur[Bi+ha]=[]),Ur[Bi+ha][vi]=ha==0?Dr:Me(Dr);--Ss>0;)Ur[Bi+ha][vi+Ss]=Me(Dr);else for(Ur[Ka({r:Bi+ha,c:vi})]=Dr;--Ss>0;)Ur[Ka({r:Bi+ha,c:vi+Ss})]=Me(Dr);_a.e.c<=vi&&(_a.e.c=vi)}Ss=parseInt(kn["number-columns-repeated"]||"1",10),vi+=Ss-1,Ss=0,Dr={},Wn="",Ba=[]}Is={};break;case"document":case"document-content":case"\u7535\u5B50\u8868\u683C\u6587\u6863":case"spreadsheet":case"\u4E3B\u4F53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(Ar[1]==="/"){if((be=J.pop())[0]!==Ar[3])throw"Bad state: "+be}else Ar[0].charAt(Ar[0].length-2)!=="/"&&J.push([Ar[3],!0]);break;case"annotation":if(Ar[1]==="/"){if((be=J.pop())[0]!==Ar[3])throw"Bad state: "+be;pa.t=Wn,Ba.length&&(pa.R=Ba),pa.a=Xi,pi.push(pa)}else Ar[0].charAt(Ar[0].length-2)!=="/"&&J.push([Ar[3],!1]);Xi="",Qr=0,Wn="",On=0,Ba=[];break;case"creator":Ar[1]==="/"?Xi=H.slice(Qr,Ar.index):Qr=Ar.index+Ar[0].length;break;case"meta":case"\u5143\u6570\u636E":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(Ar[1]==="/"){if((be=J.pop())[0]!==Ar[3])throw"Bad state: "+be}else Ar[0].charAt(Ar[0].length-2)!=="/"&&J.push([Ar[3],!1]);Wn="",On=0,Ba=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(Ar[1]==="/"){if(xa[He.name]=dt,(be=J.pop())[0]!==Ar[3])throw"Bad state: "+be}else Ar[0].charAt(Ar[0].length-2)!=="/"&&(dt="",He=ur(Ar[0],!1),J.push([Ar[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(J[J.length-1][0]){case"time-style":case"date-style":ke=ur(Ar[0],!1),dt+=op[Ar[3]][ke.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(J[J.length-1][0]){case"time-style":case"date-style":ke=ur(Ar[0],!1),dt+=op[Ar[3]][ke.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(Ar[0].slice(-2)==="/>")break;if(Ar[1]==="/")switch(J[J.length-1][0]){case"number-style":case"date-style":case"time-style":dt+=H.slice(Ot,Ar.index);break}else Ot=Ar.index+Ar[0].length;break;case"named-range":ke=ur(Ar[0],!1),$a=lf(ke["cell-range-address"]);var Ii={Name:ke.name,Ref:$a[0]+"!"+$a[1]};ai&&(Ii.Sheet=kr.length),Qo.Names.push(Ii);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"\u7535\u5B50\u8868\u683C":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"\u6587\u672C\u4E32":if(["master-styles"].indexOf(J[J.length-1][0])>-1)break;if(Ar[1]==="/"&&(!kn||!kn["string-value"])){var En=Tv(H.slice(On,Ar.index),da);Wn=(Wn.length>0?Wn+`
|
|
|
`:"")+En[0]}else da=ur(Ar[0],!1),On=Ar.index+Ar[0].length;break;case"s":break;case"database-range":if(Ar[1]==="/")break;try{$a=lf(ur(Ar[0])["target-range-address"]),vr[$a[0]]["!autofilter"]={ref:$a[1]}}catch(qa){}break;case"date":break;case"object":break;case"title":case"\u6807\u9898":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(Ar[1]!=="/"){if(Is=ur(Ar[0],!1),!Is.href)break;Is.Target=lr(Is.href),delete Is.href,Is.Target.charAt(0)=="#"&&Is.Target.indexOf(".")>-1?($a=lf(Is.Target.slice(1)),Is.Target="#"+$a[0]+"!"+$a[1]):Is.Target.match(/^\.\.[\\\/]/)&&(Is.Target=Is.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(Ar[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5B57:":break;default:if(I.WTF)throw new Error(Ar)}}var Cs={Sheets:vr,SheetNames:kr,Workbook:Qo};return I.bookSheets&&delete Cs.Sheets,Cs}function lp(b,N){N=N||{},jt(b,"META-INF/manifest.xml")&&ks(at(b,"META-INF/manifest.xml"),N);var I=Ce(b,"content.xml");if(!I)throw new Error("Missing content.xml in ODS / UOF file");var H=sp(Ye(I),N);return jt(b,"meta.xml")&&(H.Props=$s(at(b,"meta.xml"))),H}function cp(b,N){return sp(b,N)}var Ov=function(){var b=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),N="<office:document-styles "+Tt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+b+"</office:document-styles>";return function(){return mt+N}}(),up=function(){var b=function(ke){return xr(ke).replace(/ +/g,function(He){return'<text:s text:c="'+He.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},N=` <table:table-cell />
|
|
|
`,I=` <table:covered-table-cell/>
|
|
|
`,H=function(ke,He,dt){var Ot=[];Ot.push(' <table:table table:name="'+xr(He.SheetNames[dt])+`" table:style-name="ta1">
|
|
|
`);var Ct=0,dr=0,vr=Gi(ke["!ref"]||"A1"),kr=ke["!merges"]||[],Ur=0,Ar=Array.isArray(ke);if(ke["!cols"])for(dr=0;dr<=vr.e.c;++dr)Ot.push(" <table:table-column"+(ke["!cols"][dr]?' table:style-name="co'+ke["!cols"][dr].ods+'"':"")+`></table:table-column>
|
|
|
`);var Dr="",kn=ke["!rows"]||[];for(Ct=0;Ct<vr.s.r;++Ct)Dr=kn[Ct]?' table:style-name="ro'+kn[Ct].ods+'"':"",Ot.push(" <table:table-row"+Dr+`></table:table-row>
|
|
|
`);for(;Ct<=vr.e.r;++Ct){for(Dr=kn[Ct]?' table:style-name="ro'+kn[Ct].ods+'"':"",Ot.push(" <table:table-row"+Dr+`>
|
|
|
`),dr=0;dr<vr.s.c;++dr)Ot.push(N);for(;dr<=vr.e.c;++dr){var Wn=!1,On={},da="";for(Ur=0;Ur!=kr.length;++Ur){if(kr[Ur].s.c>dr)continue;if(kr[Ur].s.r>Ct)continue;if(kr[Ur].e.c<dr)continue;if(kr[Ur].e.r<Ct)continue;(kr[Ur].s.c!=dr||kr[Ur].s.r!=Ct)&&(Wn=!0),On["table:number-columns-spanned"]=kr[Ur].e.c-kr[Ur].s.c+1,On["table:number-rows-spanned"]=kr[Ur].e.r-kr[Ur].s.r+1;break}if(Wn){Ot.push(I);continue}var Ba=Ka({r:Ct,c:dr}),Bi=Ar?(ke[Ct]||[])[dr]:ke[Ba];if(Bi&&Bi.f&&(On["table:formula"]=xr(Jm(Bi.f)),Bi.F&&Bi.F.slice(0,Ba.length)==Ba)){var vi=Gi(Bi.F);On["table:number-matrix-columns-spanned"]=vi.e.c-vi.s.c+1,On["table:number-matrix-rows-spanned"]=vi.e.r-vi.s.r+1}if(!Bi){Ot.push(N);continue}switch(Bi.t){case"b":da=Bi.v?"TRUE":"FALSE",On["office:value-type"]="boolean",On["office:boolean-value"]=Bi.v?"true":"false";break;case"n":da=Bi.w||String(Bi.v||0),On["office:value-type"]="float",On["office:value"]=Bi.v||0;break;case"s":case"str":da=Bi.v==null?"":Bi.v,On["office:value-type"]="string";break;case"d":da=Bi.w||de(Bi.v).toISOString(),On["office:value-type"]="date",On["office:date-value"]=de(Bi.v).toISOString(),On["table:style-name"]="ce1";break;default:Ot.push(N);continue}var _a=b(da);if(Bi.l&&Bi.l.Target){var na=Bi.l.Target;na=na.charAt(0)=="#"?"#"+$m(na.slice(1)):na,na.charAt(0)!="#"&&!na.match(/^\w+:/)&&(na="../"+na),_a=Rt("text:a",_a,{"xlink:href":na.replace(/&/g,"&")})}Ot.push(" "+Rt("table:table-cell",Rt("text:p",_a,{}),On)+`
|
|
|
`)}Ot.push(` </table:table-row>
|
|
|
`)}return Ot.push(` </table:table>
|
|
|
`),Ot.join("")},J=function(ke,He){ke.push(` <office:automatic-styles>
|
|
|
`),ke.push(` <number:date-style style:name="N37" number:automatic-order="true">
|
|
|
`),ke.push(` <number:month number:style="long"/>
|
|
|
`),ke.push(` <number:text>/</number:text>
|
|
|
`),ke.push(` <number:day number:style="long"/>
|
|
|
`),ke.push(` <number:text>/</number:text>
|
|
|
`),ke.push(` <number:year/>
|
|
|
`),ke.push(` </number:date-style>
|
|
|
`);var dt=0;He.SheetNames.map(function(Ct){return He.Sheets[Ct]}).forEach(function(Ct){if(!Ct)return;if(Ct["!cols"]){for(var dr=0;dr<Ct["!cols"].length;++dr)if(Ct["!cols"][dr]){var vr=Ct["!cols"][dr];if(vr.width==null&&vr.wpx==null&&vr.wch==null)continue;gi(vr),vr.ods=dt;var kr=Ct["!cols"][dr].wpx+"px";ke.push(' <style:style style:name="co'+dt+`" style:family="table-column">
|
|
|
`),ke.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+kr+`"/>
|
|
|
`),ke.push(` </style:style>
|
|
|
`),++dt}}});var Ot=0;He.SheetNames.map(function(Ct){return He.Sheets[Ct]}).forEach(function(Ct){if(!Ct)return;if(Ct["!rows"]){for(var dr=0;dr<Ct["!rows"].length;++dr)if(Ct["!rows"][dr]){Ct["!rows"][dr].ods=Ot;var vr=Ct["!rows"][dr].hpx+"px";ke.push(' <style:style style:name="ro'+Ot+`" style:family="table-row">
|
|
|
`),ke.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+vr+`"/>
|
|
|
`),ke.push(` </style:style>
|
|
|
`),++Ot}}}),ke.push(` <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
|
|
|
`),ke.push(` <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
|
|
|
`),ke.push(` </style:style>
|
|
|
`),ke.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
|
|
|
`),ke.push(` </office:automatic-styles>
|
|
|
`)};return function(ke,He){var dt=[mt],Ot=Tt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),Ct=Tt({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});He.bookType=="fods"?(dt.push("<office:document"+Ot+Ct+`>
|
|
|
`),dt.push(ts().replace(/office:document-meta/g,"office:meta"))):dt.push("<office:document-content"+Ot+`>
|
|
|
`),J(dt,ke),dt.push(` <office:body>
|
|
|
`),dt.push(` <office:spreadsheet>
|
|
|
`);for(var dr=0;dr!=ke.SheetNames.length;++dr)dt.push(H(ke.Sheets[ke.SheetNames[dr]],ke,dr,He));return dt.push(` </office:spreadsheet>
|
|
|
`),dt.push(` </office:body>
|
|
|
`),He.bookType=="fods"?dt.push("</office:document>"):dt.push("</office:document-content>"),dt.join("")}}();function dp(b,N){if(N.bookType=="fods")return up(b,N);var I=ye(),H="",J=[],be=[];return H="mimetype",rt(I,H,"application/vnd.oasis.opendocument.spreadsheet"),H="content.xml",rt(I,H,up(b,N)),J.push([H,"text/xml"]),be.push([H,"ContentFile"]),H="styles.xml",rt(I,H,Ov(b,N)),J.push([H,"text/xml"]),be.push([H,"StylesFile"]),H="meta.xml",rt(I,H,mt+ts()),J.push([H,"text/xml"]),be.push([H,"MetadataFile"]),H="manifest.rdf",rt(I,H,es(be)),J.push([H,"application/rdf+xml"]),H="META-INF/manifest.xml",rt(I,H,As(J)),I}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */var Zh=function(N){return new DataView(N.buffer,N.byteOffset,N.byteLength)},mf=function(N){return typeof TextDecoder!="undefined"?new TextDecoder().decode(N):Ye(L(N))},gf=function(N){var I=N.reduce(function(be,ke){return be+ke.length},0),H=new Uint8Array(I),J=0;return N.forEach(function(be){H.set(be,J),J+=be.length}),H},hp=function(N){return N-=N>>1&1431655765,N=(N&858993459)+(N>>2&858993459),(N+(N>>4)&252645135)*16843009>>>24},Iv=function(N,I){for(var H=(N[I+15]&127)<<7|N[I+14]>>1,J=N[I+14]&1,be=I+13;be>=I;--be)J=J*256+N[be];return(N[I+15]&128?-J:J)*Math.pow(10,H-6176)};function Wh(b,N){var I=N?N[0]:0,H=b[I]&127;e:if(b[I++]>=128){if(H|=(b[I]&127)<<7,b[I++]<128)break e;if(H|=(b[I]&127)<<14,b[I++]<128)break e;if(H|=(b[I]&127)<<21,b[I++]<128)break e;if(H+=(b[I]&127)*Math.pow(2,28),++I,b[I++]<128)break e;if(H+=(b[I]&127)*Math.pow(2,35),++I,b[I++]<128)break e;if(H+=(b[I]&127)*Math.pow(2,42),++I,b[I++]<128)break e}return N&&(N[0]=I),H}function Bu(b){var N=0,I=b[N]&127;e:if(b[N++]>=128){if(I|=(b[N]&127)<<7,b[N++]<128)break e;if(I|=(b[N]&127)<<14,b[N++]<128)break e;if(I|=(b[N]&127)<<21,b[N++]<128)break e;I|=(b[N]&127)<<28}return I}function Cu(b){for(var N=[],I=[0];I[0]<b.length;){var H=I[0],J=Wh(b,I),be=J&7;J=Math.floor(J/8);var ke=0,He;if(J==0)break;switch(be){case 0:{for(var dt=I[0];b[I[0]++]>=128;);He=b.slice(dt,I[0])}break;case 5:ke=4,He=b.slice(I[0],I[0]+ke),I[0]+=ke;break;case 1:ke=8,He=b.slice(I[0],I[0]+ke),I[0]+=ke;break;case 2:ke=Wh(b,I),He=b.slice(I[0],I[0]+ke),I[0]+=ke;break;case 3:case 4:default:throw new Error("PB Type ".concat(be," for Field ").concat(J," at offset ").concat(H))}var Ot={offset:H,data:He,type:be};N[J]==null?N[J]=[Ot]:N[J].push(Ot)}return N}function Af(b,N){return b?b.map(function(I){var H;try{return N(I.data)}catch(be){var J=(H=be.message)==null?void 0:H.match(/at offset (\d+)/);throw J&&(be.message=be.message.replace(/at offset (\d+)/,"at offset "+(+J[1]+I.offset))),be}}):[]}function Lv(b){for(var N=[],I=[0];I[0]<b.length;){var H=Wh(b,I),J=Cu(b.slice(I[0],I[0]+H));I[0]+=H;var be={id:Bu(J[1][0].data),messages:[]};J[2].forEach(function(ke){var He=Cu(ke.data),dt=Bu(He[3][0].data);be.messages.push({meta:He,data:b.slice(I[0],I[0]+dt)}),I[0]+=dt}),N.push(be)}return N}function Nv(b,N){if(b!=0)throw new Error("Unexpected Snappy chunk type ".concat(b));for(var I=[0],H=Wh(N,I),J=[];I[0]<N.length;){var be=N[I[0]]&3;if(be==0){var ke=N[I[0]++]>>2;if(ke<60)++ke;else{var He=ke-59;ke=N[I[0]],He>1&&(ke|=N[I[0]+1]<<8),He>2&&(ke|=N[I[0]+2]<<16),He>3&&(ke|=N[I[0]+3]<<24),ke>>>=0,ke++,I[0]+=He}J.push(N.slice(I[0],I[0]+ke)),I[0]+=ke;continue}else{var dt=0,Ot=0;if(be==1?(Ot=(N[I[0]]>>2&7)+4,dt=(N[I[0]++]&224)<<3,dt|=N[I[0]++]):(Ot=(N[I[0]++]>>2)+1,be==2?(dt=N[I[0]]|N[I[0]+1]<<8,I[0]+=2):(dt=(N[I[0]]|N[I[0]+1]<<8|N[I[0]+2]<<16|N[I[0]+3]<<24)>>>0,I[0]+=4)),J=[gf(J)],dt==0)throw new Error("Invalid offset 0");if(dt>J[0].length)throw new Error("Invalid offset beyond length");if(Ot>=dt)for(J.push(J[0].slice(-dt)),Ot-=dt;Ot>=J[J.length-1].length;)J.push(J[J.length-1]),Ot-=J[J.length-1].length;J.push(J[0].slice(-dt,-dt+Ot))}}var Ct=gf(J);if(Ct.length!=H)throw new Error("Unexpected length: ".concat(Ct.length," != ").concat(H));return Ct}function Mv(b){for(var N=[],I=0;I<b.length;){var H=b[I++],J=b[I]|b[I+1]<<8|b[I+2]<<16;I+=3,N.push(Nv(H,b.slice(I,I+J))),I+=J}if(I!==b.length)throw new Error("data is not a valid framed stream!");return gf(N)}function Dv(b,N,I){var H=Zh(b),J=b[b[0]==4?1:2],be=H.getUint32(4,!0),ke=12+hp(be&3470)*4,He=-1,dt=-1,Ot=NaN,Ct=new Date(2001,0,1);be&512&&(He=H.getUint32(ke,!0),ke+=4),ke+=hp(be&12288)*4,be&16&&(dt=H.getUint32(ke,!0),ke+=4),be&32&&(Ot=H.getFloat64(ke,!0),ke+=8),be&64&&(Ct.setTime(Ct.getTime()+H.getFloat64(ke,!0)*1e3),ke+=8);var dr;switch(J){case 0:break;case 2:dr={t:"n",v:Ot};break;case 3:dr={t:"s",v:N[dt]};break;case 5:dr={t:"d",v:Ct};break;case 6:dr={t:"b",v:Ot>0};break;case 7:dr={t:"n",v:Ot};break;case 8:dr={t:"e",v:0};break;case 9:if(He>-1)dr={t:"s",v:I[He]};else if(dt>-1)dr={t:"s",v:N[dt]};else if(!isNaN(Ot))dr={t:"n",v:Ot};else throw new Error("Unsupported cell type ".concat(b.slice(0,4)));break;default:throw new Error("Unsupported cell type ".concat(b.slice(0,4)))}return dr}function Rv(b,N,I){var H=Zh(b),J=b[1],be=H.getUint32(8,!0),ke=12,He=-1,dt=-1,Ot=NaN,Ct=NaN,dr=new Date(2001,0,1);be&1&&(Ot=Iv(b,ke),ke+=16),be&2&&(Ct=H.getFloat64(ke,!0),ke+=8),be&4&&(dr.setTime(dr.getTime()+H.getFloat64(ke,!0)*1e3),ke+=8),be&8&&(dt=H.getUint32(ke,!0),ke+=4),be&16&&(He=H.getUint32(ke,!0),ke+=4);var vr;switch(J){case 0:break;case 2:vr={t:"n",v:Ot};break;case 3:vr={t:"s",v:N[dt]};break;case 5:vr={t:"d",v:dr};break;case 6:vr={t:"b",v:Ct>0};break;case 7:vr={t:"n",v:Ct};break;case 8:vr={t:"e",v:0};break;case 9:if(He>-1)vr={t:"s",v:I[He]};else throw new Error("Unsupported cell type ".concat(J," : ").concat(be&31," : ").concat(b.slice(0,4)));break;case 10:vr={t:"n",v:Ot};break;default:throw new Error("Unsupported cell type ".concat(J," : ").concat(be&31," : ").concat(b.slice(0,4)))}return vr}function Bv(b,N,I){switch(b[0]){case 3:case 4:return Dv(b,N,I);case 5:return Rv(b,N,I);default:throw new Error("Unsupported payload version ".concat(b[0]))}}function hh(b){var N=Cu(b);return Wh(N[1][0].data)}function fp(b,N){var I=Cu(N.data),H=Bu(I[1][0].data),J=I[3],be=[];return(J||[]).forEach(function(ke){var He=Cu(ke.data),dt=Bu(He[1][0].data)>>>0;switch(H){case 1:be[dt]=mf(He[3][0].data);break;case 8:{var Ot=b[hh(He[9][0].data)][0],Ct=Cu(Ot.data),dr=b[hh(Ct[1][0].data)][0],vr=Bu(dr.meta[1][0].data);if(vr!=2001)throw new Error("2000 unexpected reference to ".concat(vr));var kr=Cu(dr.data);be[dt]=kr[3].map(function(Ur){return mf(Ur.data)}).join("")}break}}),be}function kv(b){for(var N,I,H,J,be,ke,He,dt,Ot,Ct,dr=Cu(b),vr=Bu(dr[1][0].data)>>>0,kr=(I=(N=dr[3])==null?void 0:N[0])==null?void 0:I.data,Ur=((J=(H=dr[4])==null?void 0:H[0])==null?void 0:J.data)&&Zh(dr[4][0].data),Ar=(ke=(be=dr[6])==null?void 0:be[0])==null?void 0:ke.data,Dr=((dt=(He=dr[7])==null?void 0:He[0])==null?void 0:dt.data)&&Zh(dr[7][0].data),kn=((Ct=(Ot=dr[8])==null?void 0:Ot[0])==null?void 0:Ct.data)&&Bu(dr[8][0].data)>0||!1,Wn=kn?4:1,On=[],da=0,Ba=0;Ba<Ur.byteLength/2;++Ba){if(Ar&&Dr&&(da=Dr.getUint16(Ba*2,!0)*Wn,da<Ar.length)){On[Ba]=Ar.subarray(da,Dr.getUint16(Ba*2+2,!0)*Wn);continue}kr&&Ur&&(da=Ur.getUint16(Ba*2,!0)*Wn,da<kr.length&&(On[Ba]=kr.subarray(da,Ur.getUint16(Ba*2+2,!0)*Wn)))}return{R:vr,cells:On}}function Fv(b,N){var I=Cu(N.data),H=Af(I[5],kv);return H.reduce(function(J,be){return J[be.R]||(J[be.R]=[]),be.cells.forEach(function(ke,He){if(J[be.R][He])throw new Error("Duplicate cell r=".concat(be.R," c=").concat(He));J[be.R][He]=ke}),J},[])}function Pv(b,N,I){var H,J=Cu(N.data),be={s:{r:0,c:0},e:{r:0,c:0}};if(be.e.r=(Bu(J[6][0].data)>>>0)-1,be.e.r<0)throw new Error("Invalid row varint ".concat(J[6][0].data));if(be.e.c=(Bu(J[7][0].data)>>>0)-1,be.e.c<0)throw new Error("Invalid col varint ".concat(J[7][0].data));I["!ref"]=mn(be);{var ke=Cu(J[4][0].data),He=fp(b,b[hh(ke[4][0].data)][0]),dt=((H=ke[17])==null?void 0:H[0])?fp(b,b[hh(ke[17][0].data)][0]):[];{var Ot=Cu(ke[3][0].data),Ct=[];Ot[1].forEach(function(dr){var vr=Cu(dr.data),kr=b[hh(vr[2][0].data)][0],Ur=Bu(kr.meta[1][0].data);if(Ur!=6002)throw new Error("6001 unexpected reference to ".concat(Ur));Ct.push({id:Bu(vr[1][0].data),ref:Fv(b,kr)})}),Ct.forEach(function(dr){dr.ref.forEach(function(vr,kr){vr.forEach(function(Ur,Ar){var Dr=Ka({r:kr,c:Ar}),kn=Bv(Ur,He,dt);kn&&(I[Dr]=kn)})})})}}}function Uv(b,N){var I=Cu(N.data),H={"!ref":"A1"},J=b[hh(I[2][0].data)],be=Bu(J[0].meta[1][0].data);if(be!=6001)throw new Error("6000 unexpected reference to ".concat(be));return Pv(b,J[0],H),H}function jv(b,N){var I,H=Cu(N.data),J={name:((I=H[1])==null?void 0:I[0])?mf(H[1][0].data):"",sheets:[]},be=Af(H[2],hh);return be.forEach(function(ke){b[ke].forEach(function(He){var dt=Bu(He.meta[1][0].data);dt==6e3&&J.sheets.push(Uv(b,He))})}),J}function Hv(b,N){var I=Of(),H=Cu(N.data),J=Af(H[1],hh);if(J.forEach(function(be){b[be].forEach(function(ke){var He=Bu(ke.meta[1][0].data);if(He==2){var dt=jv(b,ke);dt.sheets.forEach(function(Ot){If(I,Ot,dt.name)})}})}),I.SheetNames.length==0)throw new Error("Empty NUMBERS file");return I}function vf(b){var N=[];if(b.FullPaths.forEach(function(H){if(H.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),b.FileIndex.forEach(function(H){if(!H.name.match(/\.iwa$/))return;var J;try{J=Mv(H.content)}catch(ke){return console.log("?? "+H.content.length+" "+(ke.message||ke))}var be;try{be=Lv(J)}catch(ke){return console.log("## "+(ke.message||ke))}be.forEach(function(ke){N[+ke.id]=ke.messages})}),!N.length)throw new Error("File has no messages");var I;if(N.forEach(function(H){H.forEach(function(J){var be=Bu(J.meta[1][0].data)>>>0;if(be==1)if(!I)I=J;else throw new Error("Document has multiple roots")})}),!I)throw new Error("Cannot find Document root");return Hv(N,I)}function pp(b){return function(I){for(var H=0;H!=b.length;++H){var J=b[H];I[J[0]]===void 0&&(I[J[0]]=J[1]),J[2]==="n"&&(I[J[0]]=Number(I[J[0]]))}}}function bf(b){pp([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(b)}function yf(b){pp([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(b)}function Wv(b){return Za.WS.indexOf(b)>-1?"sheet":Za.CS&&b==Za.CS?"chart":Za.DS&&b==Za.DS?"dialog":Za.MS&&b==Za.MS?"macro":b&&b.length?b:"sheet"}function zv(b,N){if(!b)return 0;try{b=N.map(function(H){return H.id||(H.id=H.strRelID),[H.name,b["!id"][H.id].Target,Wv(b["!id"][H.id].Type)]})}catch(I){return null}return!b||b.length===0?null:b}function Kv(b,N,I,H,J,be,ke,He,dt,Ot,Ct,dr){try{be[H]=qo(Ce(b,I,!0),N);var vr=at(b,N),kr;switch(He){case"sheet":kr=yA(vr,N,J,dt,be[H],Ot,Ct,dr);break;case"chart":if(kr=wA(vr,N,J,dt,be[H],Ot,Ct,dr),!kr||!kr["!drawel"])break;var Ur=pr(kr["!drawel"].Target,N),Ar=Xo(Ur),Dr=zn(Ce(b,Ur,!0),qo(Ce(b,Ar,!0),Ur)),kn=pr(Dr,Ur),Wn=Xo(kn);kr=G0(Ce(b,kn,!0),kn,dt,qo(Ce(b,Wn,!0),kn),Ot,kr);break;case"macro":kr=xA(vr,N,J,dt,be[H],Ot,Ct,dr);break;case"dialog":kr=SA(vr,N,J,dt,be[H],Ot,Ct,dr);break;default:throw new Error("Unrecognized sheet type "+He)}ke[H]=kr;var On=[];be&&be[H]&&We(be[H]).forEach(function(da){var Ba="";if(be[H][da].Type==Za.CMNT){Ba=pr(be[H][da].Target,N);var Bi=TA(at(b,Ba,!0),Ba,dt);if(!Bi||!Bi.length)return;Zi(kr,Bi,!1)}be[H][da].Type==Za.TCMNT&&(Ba=pr(be[H][da].Target,N),On=On.concat(Fo(at(b,Ba,!0),dt)))}),On&&On.length&&Zi(kr,On,!0,dt.people||[])}catch(da){if(dt.WTF)throw da}}function Sd(b){return b.charAt(0)=="/"?b.slice(1):b}function Vv(b,N){if(V(B),N=N||{},bf(N),jt(b,"META-INF/manifest.xml"))return lp(b,N);if(jt(b,"objectdata.xml"))return lp(b,N);if(jt(b,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof vf!="undefined"){if(b.FileIndex)return vf(b);var I=ne.utils.cfb_new();return Dt(b).forEach(function(Jo){rt(I,Jo,ue(b,Jo))}),vf(I)}throw new Error("Unsupported NUMBERS file")}if(!jt(b,"[Content_Types].xml"))throw jt(b,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):jt(b,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var H=Dt(b),J=Ea(Ce(b,"[Content_Types].xml")),be=!1,ke,He;if(J.workbooks.length===0&&(He="xl/workbook.xml",at(b,He,!0)&&J.workbooks.push(He)),J.workbooks.length===0){if(He="xl/workbook.bin",!at(b,He,!0))throw new Error("Could not find workbook");J.workbooks.push(He),be=!0}J.workbooks[0].slice(-3)=="bin"&&(be=!0);var dt={},Ot={};if(!N.bookSheets&&!N.bookProps){if(Fh=[],J.sst)try{Fh=_A(at(b,Sd(J.sst)),J.sst,N)}catch(Jo){if(N.WTF)throw Jo}N.cellStyles&&J.themes.length&&(dt=EA(Ce(b,J.themes[0].replace(/^\//,""),!0)||"",J.themes[0],N)),J.style&&(Ot=CA(at(b,Sd(J.style)),J.style,dt,N))}J.links.map(function(Jo){try{var Uo=qo(Ce(b,Xo(Sd(Jo))),Jo);return IA(at(b,Sd(Jo)),Uo,Jo,N)}catch(ms){}});var Ct=bA(at(b,Sd(J.workbooks[0])),J.workbooks[0],N),dr={},vr="";J.coreprops.length&&(vr=at(b,Sd(J.coreprops[0]),!0),vr&&(dr=$s(vr)),J.extprops.length!==0&&(vr=at(b,Sd(J.extprops[0]),!0),vr&&Ns(vr,dr,N)));var kr={};(!N.bookSheets||N.bookProps)&&(J.custprops.length!==0&&(vr=Ce(b,Sd(J.custprops[0]),!0),vr&&(kr=Go(vr,N))));var Ur={};if((N.bookSheets||N.bookProps)&&(Ct.Sheets?ke=Ct.Sheets.map(function(Uo){return Uo.name}):dr.Worksheets&&dr.SheetNames.length>0&&(ke=dr.SheetNames),N.bookProps&&(Ur.Props=dr,Ur.Custprops=kr),N.bookSheets&&typeof ke!="undefined"&&(Ur.SheetNames=ke),N.bookSheets?Ur.SheetNames:N.bookProps))return Ur;ke={};var Ar={};N.bookDeps&&J.calcchain&&(Ar=OA(at(b,Sd(J.calcchain)),J.calcchain,N));var Dr=0,kn={},Wn,On;{var da=Ct.Sheets;dr.Worksheets=da.length,dr.SheetNames=[];for(var Ba=0;Ba!=da.length;++Ba)dr.SheetNames[Ba]=da[Ba].name}var Bi=be?"bin":"xml",vi=J.workbooks[0].lastIndexOf("/"),_a=(J.workbooks[0].slice(0,vi+1)+"_rels/"+J.workbooks[0].slice(vi+1)+".rels").replace(/^\//,"");jt(b,_a)||(_a="xl/_rels/workbook."+Bi+".rels");var na=qo(Ce(b,_a,!0),_a.replace(/_rels.*/,"s5s"));(J.metadata||[]).length>=1&&(N.xlmeta=LA(at(b,Sd(J.metadata[0])),J.metadata[0],N)),(J.people||[]).length>=1&&(N.people=hs(at(b,Sd(J.people[0])),N)),na&&(na=zv(na,Ct.Sheets));var xa=at(b,"xl/worksheets/sheet.xml",!0)?1:0;e:for(Dr=0;Dr!=dr.Worksheets;++Dr){var Fa="sheet";if(na&&na[Dr]?(Wn="xl/"+na[Dr][1].replace(/[\/]?xl\//,""),jt(b,Wn)||(Wn=na[Dr][1]),jt(b,Wn)||(Wn=_a.replace(/_rels\/.*$/,"")+na[Dr][1]),Fa=na[Dr][2]):(Wn="xl/worksheets/sheet"+(Dr+1-xa)+"."+Bi,Wn=Wn.replace(/sheet0\./,"sheet.")),On=Wn.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),N&&N.sheets!=null)switch(typeof N.sheets){case"number":if(Dr!=N.sheets)continue e;break;case"string":if(dr.SheetNames[Dr].toLowerCase()!=N.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(N.sheets)){for(var Yi=!1,go=0;go!=N.sheets.length;++go)typeof N.sheets[go]=="number"&&N.sheets[go]==Dr&&(Yi=1),typeof N.sheets[go]=="string"&&N.sheets[go].toLowerCase()==dr.SheetNames[Dr].toLowerCase()&&(Yi=1);if(!Yi)continue e}}Kv(b,Wn,On,dr.SheetNames[Dr],Dr,kn,ke,Fa,N,Ct,dt,Ot)}return Ur={Directory:J,Workbook:Ct,Props:dr,Custprops:kr,Deps:Ar,Sheets:ke,SheetNames:dr.SheetNames,Strings:Fh,Styles:Ot,Themes:dt,SSF:B.get_table()},N&&N.bookFiles&&(b.files?(Ur.keys=H,Ur.files=b.files):(Ur.keys=[],Ur.files={},b.FullPaths.forEach(function(Jo,Uo){Jo=Jo.replace(/^Root Entry[\/]/,""),Ur.keys.push(Jo),Ur.files[Jo]=b.FileIndex[Uo]}))),N&&N.bookVBA&&(J.vba.length>0?Ur.vbaraw=at(b,Sd(J.vba[0]),!0):J.defaults&&J.defaults.bin===pl&&(Ur.vbaraw=at(b,"xl/vbaProject.bin",!0))),Ur}function Xv(b,N){var I=N||{},H="Workbook",J=ne.find(b,H);try{if(H="/!DataSpaces/Version",J=ne.find(b,H),!J||!J.content)throw new Error("ECMA-376 Encrypted file missing "+H);if(se(J.content),H="/!DataSpaces/DataSpaceMap",J=ne.find(b,H),!J||!J.content)throw new Error("ECMA-376 Encrypted file missing "+H);var be=Je(J.content);if(be.length!==1||be[0].comps.length!==1||be[0].comps[0].t!==0||be[0].name!=="StrongEncryptionDataSpace"||be[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+H);if(H="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",J=ne.find(b,H),!J||!J.content)throw new Error("ECMA-376 Encrypted file missing "+H);var ke=pt(J.content);if(ke.length!=1||ke[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+H);if(H="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",J=ne.find(b,H),!J||!J.content)throw new Error("ECMA-376 Encrypted file missing "+H);Wt(J.content)}catch(dt){}if(H="/EncryptionInfo",J=ne.find(b,H),!J||!J.content)throw new Error("ECMA-376 Encrypted file missing "+H);var He=Kr(J.content);if(H="/EncryptedPackage",J=ne.find(b,H),!J||!J.content)throw new Error("ECMA-376 Encrypted file missing "+H);if(He[0]==4&&typeof decrypt_agile!="undefined")return decrypt_agile(He[1],J.content,I.password||"",I);if(He[0]==2&&typeof decrypt_std76!="undefined")return decrypt_std76(He[1],J.content,I.password||"",I);throw new Error("File is password-protected")}function Gv(b,N){return N.bookType=="ods"?dp(b,N):N.bookType=="xlsb"?Yv(b,N):mp(b,N)}function Yv(b,N){ji=1024,b&&!b.SSF&&(b.SSF=B.get_table()),b&&b.SSF&&(V(B),B.load_table(b.SSF),N.revssf=ee(b.SSF),N.revssf[b.SSF[65535]]=0,N.ssf=b.SSF),N.rels={},N.wbrels={},N.Strings=[],N.Strings.Count=0,N.Strings.Unique=0,Ph?N.revStrings=new Map:(N.revStrings={},N.revStrings.foo=[],delete N.revStrings.foo);var I=N.bookType=="xlsb"?"bin":"xml",H=du.indexOf(N.bookType)>-1,J=Eo();yf(N=N||{});var be=ye(),ke="",He=0;if(N.cellXfs=[],dh(N.cellXfs,{},{revssf:{General:0}}),b.Props||(b.Props={}),ke="docProps/core.xml",rt(be,ke,Fs(b.Props,N)),J.coreprops.push(ke),Io(N.rels,2,ke,Za.CORE_PROPS),ke="docProps/app.xml",!(b.Props&&b.Props.SheetNames))if(!b.Workbook||!b.Workbook.Sheets)b.Props.SheetNames=b.SheetNames;else{for(var dt=[],Ot=0;Ot<b.SheetNames.length;++Ot)(b.Workbook.Sheets[Ot]||{}).Hidden!=2&&dt.push(b.SheetNames[Ot]);b.Props.SheetNames=dt}for(b.Props.Worksheets=b.Props.SheetNames.length,rt(be,ke,Us(b.Props,N)),J.extprops.push(ke),Io(N.rels,3,ke,Za.EXT_PROPS),b.Custprops!==b.Props&&We(b.Custprops||{}).length>0&&(ke="docProps/custom.xml",rt(be,ke,xl(b.Custprops,N)),J.custprops.push(ke),Io(N.rels,4,ke,Za.CUST_PROPS)),He=1;He<=b.SheetNames.length;++He){var Ct={"!id":{}},dr=b.Sheets[b.SheetNames[He-1]],vr=(dr||{})["!type"]||"sheet";switch(vr){case"chart":default:ke="xl/worksheets/sheet"+He+"."+I,rt(be,ke,MA(He-1,ke,N,b,Ct)),J.sheets.push(ke),Io(N.wbrels,-1,"worksheets/sheet"+He+"."+I,Za.WS[0])}if(dr){var kr=dr["!comments"],Ur=!1,Ar="";kr&&kr.length>0&&(Ar="xl/comments"+He+"."+I,rt(be,Ar,BA(kr,Ar,N)),J.comments.push(Ar),Io(Ct,-1,"../comments"+He+"."+I,Za.CMNT),Ur=!0),dr["!legacy"]&&(Ur&&rt(be,"xl/drawings/vmlDrawing"+He+".vml",Oi(He,dr["!comments"]))),delete dr["!comments"],delete dr["!legacy"]}Ct["!id"].rId1&&rt(be,Xo(ke),Oo(Ct))}return N.Strings!=null&&N.Strings.length>0&&(ke="xl/sharedStrings."+I,rt(be,ke,RA(N.Strings,ke,N)),J.strs.push(ke),Io(N.wbrels,-1,"sharedStrings."+I,Za.SST)),ke="xl/workbook."+I,rt(be,ke,NA(b,ke,N)),J.workbooks.push(ke),Io(N.rels,1,ke,Za.WB),ke="xl/theme/theme1.xml",rt(be,ke,th(b.Themes,N)),J.themes.push(ke),Io(N.wbrels,-1,"theme/theme1.xml",Za.THEME),ke="xl/styles."+I,rt(be,ke,DA(b,ke,N)),J.styles.push(ke),Io(N.wbrels,-1,"styles."+I,Za.STY),b.vbaraw&&H&&(ke="xl/vbaProject.bin",rt(be,ke,b.vbaraw),J.vba.push(ke),Io(N.wbrels,-1,"vbaProject.bin",Za.VBA)),ke="xl/metadata."+I,rt(be,ke,kA(ke)),J.metadata.push(ke),Io(N.wbrels,-1,"metadata."+I,Za.XLMETA),rt(be,"[Content_Types].xml",Zo(J,N)),rt(be,"_rels/.rels",Oo(N.rels)),rt(be,"xl/_rels/workbook."+I+".rels",Oo(N.wbrels)),delete N.revssf,delete N.ssf,be}function mp(b,N){ji=1024,b&&!b.SSF&&(b.SSF=B.get_table()),b&&b.SSF&&(V(B),B.load_table(b.SSF),N.revssf=ee(b.SSF),N.revssf[b.SSF[65535]]=0,N.ssf=b.SSF),N.rels={},N.wbrels={},N.Strings=[],N.Strings.Count=0,N.Strings.Unique=0,Ph?N.revStrings=new Map:(N.revStrings={},N.revStrings.foo=[],delete N.revStrings.foo);var I="xml",H=du.indexOf(N.bookType)>-1,J=Eo();yf(N=N||{});var be=ye(),ke="",He=0;if(N.cellXfs=[],dh(N.cellXfs,{},{revssf:{General:0}}),b.Props||(b.Props={}),ke="docProps/core.xml",rt(be,ke,Fs(b.Props,N)),J.coreprops.push(ke),Io(N.rels,2,ke,Za.CORE_PROPS),ke="docProps/app.xml",!(b.Props&&b.Props.SheetNames))if(!b.Workbook||!b.Workbook.Sheets)b.Props.SheetNames=b.SheetNames;else{for(var dt=[],Ot=0;Ot<b.SheetNames.length;++Ot)(b.Workbook.Sheets[Ot]||{}).Hidden!=2&&dt.push(b.SheetNames[Ot]);b.Props.SheetNames=dt}b.Props.Worksheets=b.Props.SheetNames.length,rt(be,ke,Us(b.Props,N)),J.extprops.push(ke),Io(N.rels,3,ke,Za.EXT_PROPS),b.Custprops!==b.Props&&We(b.Custprops||{}).length>0&&(ke="docProps/custom.xml",rt(be,ke,xl(b.Custprops,N)),J.custprops.push(ke),Io(N.rels,4,ke,Za.CUST_PROPS));var Ct=["SheetJ5"];for(N.tcid=0,He=1;He<=b.SheetNames.length;++He){var dr={"!id":{}},vr=b.Sheets[b.SheetNames[He-1]],kr=(vr||{})["!type"]||"sheet";switch(kr){case"chart":default:ke="xl/worksheets/sheet"+He+"."+I,rt(be,ke,zf(He-1,N,b,dr)),J.sheets.push(ke),Io(N.wbrels,-1,"worksheets/sheet"+He+"."+I,Za.WS[0])}if(vr){var Ur=vr["!comments"],Ar=!1,Dr="";if(Ur&&Ur.length>0){var kn=!1;Ur.forEach(function(Wn){Wn[1].forEach(function(On){On.T==!0&&(kn=!0)})}),kn&&(Dr="xl/threadedComments/threadedComment"+He+"."+I,rt(be,Dr,Bs(Ur,Ct,N)),J.threadedcomments.push(Dr),Io(dr,-1,"../threadedComments/threadedComment"+He+"."+I,Za.TCMNT)),Dr="xl/comments"+He+"."+I,rt(be,Dr,Ao(Ur,N)),J.comments.push(Dr),Io(dr,-1,"../comments"+He+"."+I,Za.CMNT),Ar=!0}vr["!legacy"]&&(Ar&&rt(be,"xl/drawings/vmlDrawing"+He+".vml",Oi(He,vr["!comments"]))),delete vr["!comments"],delete vr["!legacy"]}dr["!id"].rId1&&rt(be,Xo(ke),Oo(dr))}return N.Strings!=null&&N.Strings.length>0&&(ke="xl/sharedStrings."+I,rt(be,ke,Nu(N.Strings,N)),J.strs.push(ke),Io(N.wbrels,-1,"sharedStrings."+I,Za.SST)),ke="xl/workbook."+I,rt(be,ke,Jf(b,N)),J.workbooks.push(ke),Io(N.rels,1,ke,Za.WB),ke="xl/theme/theme1.xml",rt(be,ke,th(b.Themes,N)),J.themes.push(ke),Io(N.wbrels,-1,"theme/theme1.xml",Za.THEME),ke="xl/styles."+I,rt(be,ke,jl(b,N)),J.styles.push(ke),Io(N.wbrels,-1,"styles."+I,Za.STY),b.vbaraw&&H&&(ke="xl/vbaProject.bin",rt(be,ke,b.vbaraw),J.vba.push(ke),Io(N.wbrels,-1,"vbaProject.bin",Za.VBA)),ke="xl/metadata."+I,rt(be,ke,ze()),J.metadata.push(ke),Io(N.wbrels,-1,"metadata."+I,Za.XLMETA),Ct.length>1&&(ke="xl/persons/person.xml",rt(be,ke,is(Ct,N)),J.people.push(ke),Io(N.wbrels,-1,"persons/person.xml",Za.PEOPLE)),rt(be,"[Content_Types].xml",Zo(J,N)),rt(be,"_rels/.rels",Oo(N.rels)),rt(be,"xl/_rels/workbook."+I+".rels",Oo(N.wbrels)),delete N.revssf,delete N.ssf,be}function wf(b,N){var I="";switch((N||{}).type||"base64"){case"buffer":return[b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7]];case"base64":I=A.decode(b.slice(0,12));break;case"binary":I=b;break;case"array":return[b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7]];default:throw new Error("Unrecognized type "+(N&&N.type||"undefined"))}return[I.charCodeAt(0),I.charCodeAt(1),I.charCodeAt(2),I.charCodeAt(3),I.charCodeAt(4),I.charCodeAt(5),I.charCodeAt(6),I.charCodeAt(7)]}function Qv(b,N){return ne.find(b,"EncryptedPackage")?Xv(b,N):tp(b,N)}function Zv(b,N){var I,H=b,J=N||{};return J.type||(J.type=w&&Buffer.isBuffer(b)?"buffer":"base64"),I=Xt(H,J),Vv(I,J)}function gp(b,N){var I=0;e:for(;I<b.length;)switch(b.charCodeAt(I)){case 10:case 13:case 32:++I;break;case 60:return ff(b.slice(I),N);default:break e}return ru.to_workbook(b,N)}function Jv(b,N){var I="",H=wf(b,N);switch(N.type){case"base64":I=A.decode(b);break;case"binary":I=b;break;case"buffer":I=b.toString("binary");break;case"array":I=ve(b);break;default:throw new Error("Unrecognized type "+N.type)}return H[0]==239&&H[1]==187&&H[2]==191&&(I=Ye(I)),N.type="binary",gp(I,N)}function $v(b,N){var I=b;return N.type=="base64"&&(I=A.decode(I)),I=o.utils.decode(1200,I.slice(2),"str"),N.type="binary",gp(I,N)}function qv(b){return b.match(/[^\x00-\x7F]/)?ft(b):b}function xf(b,N,I,H){return H?(I.type="string",ru.to_workbook(b,I)):ru.to_workbook(N,I)}function Sf(b,N){n();var I=N||{};if(typeof ArrayBuffer!="undefined"&&b instanceof ArrayBuffer)return Sf(new Uint8Array(b),(I=Me(I),I.type="array",I));typeof Uint8Array!="undefined"&&b instanceof Uint8Array&&!I.type&&(I.type=typeof Deno!="undefined"?"buffer":"array");var H=b,J=[0,0,0,0],be=!1;if(I.cellStyles&&(I.cellNF=!0,I.sheetStubs=!0),Oh={},I.dateNF&&(Oh.dateNF=I.dateNF),I.type||(I.type=w&&Buffer.isBuffer(b)?"buffer":"base64"),I.type=="file"&&(I.type=w?"buffer":"binary",H=Te(b),typeof Uint8Array!="undefined"&&!w&&(I.type="array")),I.type=="string"&&(be=!0,I.type="binary",I.codepage=65001,H=qv(b)),I.type=="array"&&typeof Uint8Array!="undefined"&&b instanceof Uint8Array&&typeof ArrayBuffer!="undefined"){var ke=new ArrayBuffer(3),He=new Uint8Array(ke);if(He.foo="bar",!He.foo)return I=Me(I),I.type="array",Sf(F(H),I)}switch((J=wf(H,I))[0]){case 208:if(J[1]===207&&J[2]===17&&J[3]===224&&J[4]===161&&J[5]===177&&J[6]===26&&J[7]===225)return Qv(ne.read(H,I),I);break;case 9:if(J[1]<=8)return tp(H,I);break;case 60:return ff(H,I);case 73:if(J[1]===73&&J[2]===42&&J[3]===0)throw new Error("TIFF Image File is not a spreadsheet");if(J[1]===68)return zu(H,I);break;case 84:if(J[1]===65&&J[2]===66&&J[3]===76)return tu.to_workbook(H,I);break;case 80:return J[1]===75&&J[2]<9&&J[3]<9?Zv(H,I):xf(b,H,I,be);case 239:return J[3]===60?ff(H,I):xf(b,H,I,be);case 255:if(J[1]===254)return $v(H,I);if(J[1]===0&&J[2]===2&&J[3]===0)return nu.to_workbook(H,I);break;case 0:if(J[1]===0){if(J[2]>=2&&J[3]===0)return nu.to_workbook(H,I);if(J[2]===0&&(J[3]===8||J[3]===9))return nu.to_workbook(H,I)}break;case 3:case 131:case 139:case 140:return $u.to_workbook(H,I);case 123:if(J[1]===92&&J[2]===114&&J[3]===116)return Lo.to_workbook(H,I);break;case 10:case 13:case 32:return Jv(H,I);case 137:if(J[1]===80&&J[2]===78&&J[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return Ju.indexOf(J[0])>-1&&J[2]<=12&&J[3]<=31?$u.to_workbook(H,I):xf(b,H,I,be)}function Ib(b,N){var I=N||{};return I.type="file",Sf(b,I)}function Ap(b,N){switch(N.type){case"base64":case"binary":break;case"buffer":case"array":N.type="";break;case"file":return _e(N.file,ne.write(b,{type:w?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+N.bookType+"' files");default:throw new Error("Unrecognized type "+N.type)}return ne.write(b,N)}function eb(b,N){var I=Me(N||{}),H=Gv(b,I);return vp(H,I)}function tb(b,N){var I=Me(N||{}),H=mp(b,I);return vp(H,I)}function vp(b,N){var I={},H=w?"nodebuffer":typeof Uint8Array!="undefined"?"array":"string";if(N.compression&&(I.compression="DEFLATE"),N.password)I.type=H;else switch(N.type){case"base64":I.type="base64";break;case"binary":I.type="string";break;case"string":throw new Error("'string' output type invalid for '"+N.bookType+"' files");case"buffer":case"file":I.type=H;break;default:throw new Error("Unrecognized type "+N.type)}var J=b.FullPaths?ne.write(b,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[I.type]||I.type,compression:!!N.compression}):b.generate(I);if(typeof Deno!="undefined"&&typeof J=="string"){if(N.type=="binary"||N.type=="base64")return J;J=new Uint8Array(_(J))}return N.password&&typeof encrypt_agile!="undefined"?Ap(encrypt_agile(J,N.password),N):N.type==="file"?_e(N.file,J):N.type=="string"?Ye(J):J}function rb(b,N){var I=N||{},H=lv(b,I);return Ap(H,I)}function Jd(b,N,I){I||(I="");var H=I+b;switch(N.type){case"base64":return A.encode(ft(H));case"binary":return ft(H);case"string":return b;case"file":return _e(N.file,H,"utf8");case"buffer":return w?x(H,"utf8"):typeof TextEncoder!="undefined"?new TextEncoder().encode(H):Jd(H,{type:"binary"}).split("").map(function(J){return J.charCodeAt(0)})}throw new Error("Unrecognized type "+N.type)}function nb(b,N){switch(N.type){case"base64":return A.encode(b);case"binary":return b;case"string":return b;case"file":return _e(N.file,b,"binary");case"buffer":return w?x(b,"binary"):b.split("").map(function(I){return I.charCodeAt(0)})}throw new Error("Unrecognized type "+N.type)}function Jh(b,N){switch(N.type){case"string":case"base64":case"binary":for(var I="",H=0;H<b.length;++H)I+=String.fromCharCode(b[H]);return N.type=="base64"?A.encode(I):N.type=="string"?Ye(I):I;case"file":return _e(N.file,b);case"buffer":return b;default:throw new Error("Unrecognized type "+N.type)}}function bp(b,N){n(),Zf(b);var I=Me(N||{});if(I.cellStyles&&(I.cellNF=!0,I.sheetStubs=!0),I.type=="array"){I.type="binary";var H=bp(b,I);return I.type="array",_(H)}return tb(b,I)}function Cf(b,N){n(),Zf(b);var I=Me(N||{});if(I.cellStyles&&(I.cellNF=!0,I.sheetStubs=!0),I.type=="array"){I.type="binary";var H=Cf(b,I);return I.type="array",_(H)}var J=0;if(I.sheet&&(typeof I.sheet=="number"?J=I.sheet:J=b.SheetNames.indexOf(I.sheet),!b.SheetNames[J]))throw new Error("Sheet not found: "+I.sheet+" : "+typeof I.sheet);switch(I.bookType||"xlsb"){case"xml":case"xlml":return Jd(tv(b,I),I);case"slk":case"sylk":return Jd(qu.from_sheet(b.Sheets[b.SheetNames[J]],I),I);case"htm":case"html":return Jd(bh.from_sheet(b.Sheets[b.SheetNames[J]],I),I);case"txt":return nb(Sp(b.Sheets[b.SheetNames[J]],I),I);case"csv":return Jd(Tf(b.Sheets[b.SheetNames[J]],I),I,"\uFEFF");case"dif":return Jd(tu.from_sheet(b.Sheets[b.SheetNames[J]],I),I);case"dbf":return Jh($u.from_sheet(b.Sheets[b.SheetNames[J]],I),I);case"prn":return Jd(ru.from_sheet(b.Sheets[b.SheetNames[J]],I),I);case"rtf":return Jd(Lo.from_sheet(b.Sheets[b.SheetNames[J]],I),I);case"eth":return Jd(cu.from_sheet(b.Sheets[b.SheetNames[J]],I),I);case"fods":return Jd(dp(b,I),I);case"wk1":return Jh(nu.sheet_to_wk1(b.Sheets[b.SheetNames[J]],I),I);case"wk3":return Jh(nu.book_to_wk3(b,I),I);case"biff2":I.biff||(I.biff=2);case"biff3":I.biff||(I.biff=3);case"biff4":return I.biff||(I.biff=4),Jh(rp(b,I),I);case"biff5":I.biff||(I.biff=5);case"biff8":case"xla":case"xls":return I.biff||(I.biff=8),rb(b,I);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"ods":return eb(b,I);default:throw new Error("Unrecognized bookType |"+I.bookType+"|")}}function Ef(b){if(b.bookType)return;var N={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},I=b.file.slice(b.file.lastIndexOf(".")).toLowerCase();I.match(/^\.[a-z]+$/)&&(b.bookType=I.slice(1)),b.bookType=N[b.bookType]||b.bookType}function Lb(b,N,I){var H=I||{};return H.type="file",H.file=N,Ef(H),Cf(b,H)}function Nb(b,N,I){var H=I||{};return H.type="file",H.file=N,Ef(H),bp(b,H)}function Mb(b,N,I,H){var J=I||{};J.type="file",J.file=b,Ef(J),J.type="buffer";var be=H;return be instanceof Function||(be=I),we.writeFile(b,Cf(N,J),be)}function yp(b,N,I,H,J,be,ke,He){var dt=hi(I),Ot=He.defval,Ct=He.raw||!Object.prototype.hasOwnProperty.call(He,"raw"),dr=!0,vr=J===1?[]:{};if(J!==1)if(Object.defineProperty)try{Object.defineProperty(vr,"__rowNum__",{value:I,enumerable:!1})}catch(Dr){vr.__rowNum__=I}else vr.__rowNum__=I;if(!ke||b[I])for(var kr=N.s.c;kr<=N.e.c;++kr){var Ur=ke?b[I][kr]:b[H[kr]+dt];if(Ur===void 0||Ur.t===void 0){if(Ot===void 0)continue;be[kr]!=null&&(vr[be[kr]]=Ot);continue}var Ar=Ur.v;switch(Ur.t){case"z":if(Ar==null)break;continue;case"e":Ar=Ar==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+Ur.t)}if(be[kr]!=null){if(Ar==null)if(Ur.t=="e"&&Ar===null)vr[be[kr]]=null;else if(Ot!==void 0)vr[be[kr]]=Ot;else if(Ct&&Ar===null)vr[be[kr]]=null;else continue;else vr[be[kr]]=Ct||He.rawNumbers&&Ur.t=="n"?Ar:La(Ur,Ar,He);Ar!=null&&(dr=!1)}}return{row:vr,isempty:dr}}function _f(b,N){if(b==null||b["!ref"]==null)return[];var I={t:"n",v:0},H=0,J=1,be=[],ke=0,He="",dt={s:{r:0,c:0},e:{r:0,c:0}},Ot=N||{},Ct=Ot.range!=null?Ot.range:b["!ref"];Ot.header===1?H=1:Ot.header==="A"?H=2:Array.isArray(Ot.header)?H=3:Ot.header==null&&(H=0);switch(typeof Ct){case"string":dt=$i(Ct);break;case"number":dt=$i(b["!ref"]),dt.s.r=Ct;break;default:dt=Ct}H>0&&(J=0);var dr=hi(dt.s.r),vr=[],kr=[],Ur=0,Ar=0,Dr=Array.isArray(b),kn=dt.s.r,Wn=0,On={};Dr&&!b[kn]&&(b[kn]=[]);var da=Ot.skipHidden&&b["!cols"]||[],Ba=Ot.skipHidden&&b["!rows"]||[];for(Wn=dt.s.c;Wn<=dt.e.c;++Wn){if((da[Wn]||{}).hidden)continue;vr[Wn]=Fi(Wn),I=Dr?b[kn][Wn]:b[vr[Wn]+dr];switch(H){case 1:be[Wn]=Wn-dt.s.c;break;case 2:be[Wn]=vr[Wn];break;case 3:be[Wn]=Ot.header[Wn-dt.s.c];break;default:if(I==null&&(I={w:"__EMPTY",t:"s"}),He=ke=La(I,null,Ot),Ar=On[ke]||0,!Ar)On[ke]=1;else{do He=ke+"_"+Ar++;while(On[He]);On[ke]=Ar,On[He]=1}be[Wn]=He}}for(kn=dt.s.r+J;kn<=dt.e.r;++kn){if((Ba[kn]||{}).hidden)continue;var Bi=yp(b,dt,kn,vr,H,be,Dr,Ot);(Bi.isempty===!1||(H===1?Ot.blankrows!==!1:!!Ot.blankrows))&&(kr[Ur++]=Bi.row)}return kr.length=Ur,kr}var wp=/"/g;function xp(b,N,I,H,J,be,ke,He){for(var dt=!0,Ot=[],Ct="",dr=hi(I),vr=N.s.c;vr<=N.e.c;++vr){if(!H[vr])continue;var kr=He.dense?(b[I]||[])[vr]:b[H[vr]+dr];if(kr==null)Ct="";else if(kr.v!=null){dt=!1,Ct=""+(He.rawNumbers&&kr.t=="n"?kr.v:La(kr,null,He));for(var Ur=0,Ar=0;Ur!==Ct.length;++Ur)if((Ar=Ct.charCodeAt(Ur))===J||Ar===be||Ar===34||He.forceQuotes){Ct='"'+Ct.replace(wp,'""')+'"';break}Ct=="ID"&&(Ct='"ID"')}else kr.f!=null&&!kr.F?(dt=!1,Ct="="+kr.f,Ct.indexOf(",")>=0&&(Ct='"'+Ct.replace(wp,'""')+'"')):Ct="";Ot.push(Ct)}return He.blankrows===!1&&dt?null:Ot.join(ke)}function Tf(b,N){var I=[],H=N==null?{}:N;if(b==null||b["!ref"]==null)return"";var J=$i(b["!ref"]),be=H.FS!==void 0?H.FS:",",ke=be.charCodeAt(0),He=H.RS!==void 0?H.RS:`
|
|
|
`,dt=He.charCodeAt(0),Ot=new RegExp((be=="|"?"\\|":be)+"+$"),Ct="",dr=[];H.dense=Array.isArray(b);for(var vr=H.skipHidden&&b["!cols"]||[],kr=H.skipHidden&&b["!rows"]||[],Ur=J.s.c;Ur<=J.e.c;++Ur)(vr[Ur]||{}).hidden||(dr[Ur]=Fi(Ur));for(var Ar=0,Dr=J.s.r;Dr<=J.e.r;++Dr){if((kr[Dr]||{}).hidden)continue;if(Ct=xp(b,J,Dr,dr,ke,dt,be,H),Ct==null)continue;H.strip&&(Ct=Ct.replace(Ot,"")),(Ct||H.blankrows!==!1)&&I.push((Ar++?He:"")+Ct)}return delete H.dense,I.join("")}function Sp(b,N){N||(N={}),N.FS=" ",N.RS=`
|
|
|
`;var I=Tf(b,N);if(typeof o=="undefined"||N.type=="string")return I;var H=o.utils.encode(1200,I,"str");return String.fromCharCode(255)+String.fromCharCode(254)+H}function ib(b){var N="",I,H="";if(b==null||b["!ref"]==null)return[];var J=$i(b["!ref"]),be="",ke=[],He,dt=[],Ot=Array.isArray(b);for(He=J.s.c;He<=J.e.c;++He)ke[He]=Fi(He);for(var Ct=J.s.r;Ct<=J.e.r;++Ct)for(be=hi(Ct),He=J.s.c;He<=J.e.c;++He){if(N=ke[He]+be,I=Ot?(b[Ct]||[])[He]:b[N],H="",I===void 0)continue;if(I.F!=null){if(N=I.F,!I.f)continue;H=I.f,N.indexOf(":")==-1&&(N=N+":"+N)}if(I.f!=null)H=I.f;else{if(I.t=="z")continue;if(I.t=="n"&&I.v!=null)H=""+I.v;else if(I.t=="b")H=I.v?"TRUE":"FALSE";else if(I.w!==void 0)H="'"+I.w;else{if(I.v===void 0)continue;I.t=="s"?H="'"+I.v:H=""+I.v}}dt[dt.length]=N+"="+H}return dt}function Cp(b,N,I){var H=I||{},J=+!H.skipHeader,be=b||{},ke=0,He=0;if(be&&H.origin!=null)if(typeof H.origin=="number")ke=H.origin;else{var dt=typeof H.origin=="string"?ja(H.origin):H.origin;ke=dt.r,He=dt.c}var Ot,Ct={s:{c:0,r:0},e:{c:He,r:ke+N.length-1+J}};if(be["!ref"]){var dr=$i(be["!ref"]);Ct.e.c=Math.max(Ct.e.c,dr.e.c),Ct.e.r=Math.max(Ct.e.r,dr.e.r),ke==-1&&(ke=dr.e.r+1,Ct.e.r=ke+N.length-1+J)}else ke==-1&&(ke=0,Ct.e.r=N.length-1+J);var vr=H.header||[],kr=0;N.forEach(function(Ar,Dr){We(Ar).forEach(function(kn){(kr=vr.indexOf(kn))==-1&&(vr[kr=vr.length]=kn);var Wn=Ar[kn],On="z",da="",Ba=Ka({c:He+kr,r:ke+Dr+J});Ot=zh(be,Ba),Wn&&typeof Wn=="object"&&!(Wn instanceof Date)?be[Ba]=Wn:(typeof Wn=="number"?On="n":typeof Wn=="boolean"?On="b":typeof Wn=="string"?On="s":Wn instanceof Date?(On="d",H.cellDates||(On="n",Wn=oe(Wn)),da=H.dateNF||B._table[14]):Wn===null&&H.nullError&&(On="e",Wn=0),Ot?(Ot.t=On,Ot.v=Wn,delete Ot.w,delete Ot.R,da&&(Ot.z=da)):be[Ba]=Ot={t:On,v:Wn},da&&(Ot.z=da))})}),Ct.e.c=Math.max(Ct.e.c,He+vr.length-1);var Ur=hi(ke);if(J)for(kr=0;kr<vr.length;++kr)be[Fi(kr+He)+Ur]={t:"s",v:vr[kr]};return be["!ref"]=mn(Ct),be}function ab(b,N){return Cp(null,b,N)}function zh(b,N,I){if(typeof N=="string"){if(Array.isArray(b)){var H=ja(N);return b[H.r]||(b[H.r]=[]),b[H.r][H.c]||(b[H.r][H.c]={t:"z"})}return b[N]||(b[N]={t:"z"})}return typeof N!="number"?zh(b,Ka(N)):zh(b,Ka({r:N,c:I||0}))}function ob(b,N){if(typeof N=="number"){if(N>=0&&b.SheetNames.length>N)return N;throw new Error("Cannot find sheet # "+N)}else if(typeof N=="string"){var I=b.SheetNames.indexOf(N);if(I>-1)return I;throw new Error("Cannot find sheet name |"+N+"|")}else throw new Error("Cannot find sheet |"+N+"|")}function Of(){return{SheetNames:[],Sheets:{}}}function If(b,N,I){if(!I)for(var H=1;H<=65535&&!(b.SheetNames.indexOf(I="Sheet"+H)==-1);++H,I=void 0);if(!I||b.SheetNames.length>=65535)throw new Error("Too many worksheets");if(Qf(I),b.SheetNames.indexOf(I)>=0)throw new Error("Worksheet with name |"+I+"| already exists!");b.SheetNames.push(I),b.Sheets[I]=N}function sb(b,N,I){b.Workbook||(b.Workbook={}),b.Workbook.Sheets||(b.Workbook.Sheets=[]);var H=ob(b,N);b.Workbook.Sheets[H]||(b.Workbook.Sheets[H]={});switch(I){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+I)}b.Workbook.Sheets[H].Hidden=I}function lb(b,N){return b.z=N,b}function Ep(b,N,I){return N?(b.l={Target:N},I&&(b.l.Tooltip=I)):delete b.l,b}function cb(b,N,I){return Ep(b,"#"+N,I)}function ub(b,N,I){b.c||(b.c=[]),b.c.push({t:N,a:I||"SheetJS"})}function db(b,N,I,H){for(var J=typeof N!="string"?N:$i(N),be=typeof N=="string"?N:mn(N),ke=J.s.r;ke<=J.e.r;++ke)for(var He=J.s.c;He<=J.e.c;++He){var dt=zh(b,ke,He);dt.t="n",dt.F=be,delete dt.v,ke==J.s.r&&He==J.s.c&&(dt.f=I,H&&(dt.D=!0))}return b}var Db={encode_col:Fi,encode_row:hi,encode_cell:Ka,encode_range:mn,decode_col:ea,decode_row:Zn,split_cell:fo,decode_cell:ja,decode_range:Gi,format_cell:La,sheet_add_aoa:tr,sheet_add_json:Cp,sheet_add_dom:np,aoa_to_sheet:An,json_to_sheet:ab,table_to_sheet:ip,table_to_book:Ev,sheet_to_csv:Tf,sheet_to_txt:Sp,sheet_to_json:_f,sheet_to_html:bh.from_sheet,sheet_to_formulae:ib,sheet_to_row_object_array:_f,sheet_get_cell:zh,book_new:Of,book_append_sheet:If,book_set_sheet_visibility:sb,cell_set_number_format:lb,cell_set_hyperlink:Ep,cell_set_internal_link:cb,cell_add_comment:ub,sheet_set_array_formula:db,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}},$h;function hb(b){$h=b}function fb(b,N){var I=$h(),H=N==null?{}:N;if(b==null||b["!ref"]==null)return I.push(null),I;var J=$i(b["!ref"]),be=H.FS!==void 0?H.FS:",",ke=be.charCodeAt(0),He=H.RS!==void 0?H.RS:`
|
|
|
`,dt=He.charCodeAt(0),Ot=new RegExp((be=="|"?"\\|":be)+"+$"),Ct="",dr=[];H.dense=Array.isArray(b);for(var vr=H.skipHidden&&b["!cols"]||[],kr=H.skipHidden&&b["!rows"]||[],Ur=J.s.c;Ur<=J.e.c;++Ur)(vr[Ur]||{}).hidden||(dr[Ur]=Fi(Ur));var Ar=J.s.r,Dr=!1,kn=0;return I._read=function(){if(!Dr)return Dr=!0,I.push("\uFEFF");for(;Ar<=J.e.r;){if(++Ar,(kr[Ar-1]||{}).hidden)continue;if(Ct=xp(b,J,Ar-1,dr,ke,dt,be,H),Ct!=null&&(H.strip&&(Ct=Ct.replace(Ot,"")),Ct||H.blankrows!==!1))return I.push((kn++?He:"")+Ct)}return I.push(null)},I}function pb(b,N){var I=$h(),H=N||{},J=H.header!=null?H.header:bh.BEGIN,be=H.footer!=null?H.footer:bh.END;I.push(J);var ke=Gi(b["!ref"]);H.dense=Array.isArray(b),I.push(bh._preamble(b,ke,H));var He=ke.s.r,dt=!1;return I._read=function(){if(He>ke.e.r)return dt||(dt=!0,I.push("</table>"+be)),I.push(null);for(;He<=ke.e.r;){I.push(bh._row(b,ke,He,H)),++He;break}},I}function mb(b,N){var I=$h({objectMode:!0});if(b==null||b["!ref"]==null)return I.push(null),I;var H={t:"n",v:0},J=0,be=1,ke=[],He=0,dt="",Ot={s:{r:0,c:0},e:{r:0,c:0}},Ct=N||{},dr=Ct.range!=null?Ct.range:b["!ref"];Ct.header===1?J=1:Ct.header==="A"?J=2:Array.isArray(Ct.header)&&(J=3);switch(typeof dr){case"string":Ot=$i(dr);break;case"number":Ot=$i(b["!ref"]),Ot.s.r=dr;break;default:Ot=dr}J>0&&(be=0);var vr=hi(Ot.s.r),kr=[],Ur=0,Ar=Array.isArray(b),Dr=Ot.s.r,kn=0,Wn={};Ar&&!b[Dr]&&(b[Dr]=[]);var On=Ct.skipHidden&&b["!cols"]||[],da=Ct.skipHidden&&b["!rows"]||[];for(kn=Ot.s.c;kn<=Ot.e.c;++kn){if((On[kn]||{}).hidden)continue;kr[kn]=Fi(kn),H=Ar?b[Dr][kn]:b[kr[kn]+vr];switch(J){case 1:ke[kn]=kn-Ot.s.c;break;case 2:ke[kn]=kr[kn];break;case 3:ke[kn]=Ct.header[kn-Ot.s.c];break;default:if(H==null&&(H={w:"__EMPTY",t:"s"}),dt=He=La(H,null,Ct),Ur=Wn[He]||0,!Ur)Wn[He]=1;else{do dt=He+"_"+Ur++;while(Wn[dt]);Wn[He]=Ur,Wn[dt]=1}ke[kn]=dt}}return Dr=Ot.s.r+be,I._read=function(){for(;Dr<=Ot.e.r;){if((da[Dr-1]||{}).hidden)continue;var Ba=yp(b,Ot,Dr,kr,J,ke,Ar,Ct);if(++Dr,Ba.isempty===!1||(J===1?Ct.blankrows!==!1:!!Ct.blankrows)){I.push(Ba.row);return}}return I.push(null)},I}var Rb={to_json:mb,to_html:pb,to_csv:fb,set_readable:hb},Bb=y.version},JgUQ:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},JsLm:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("PJYZ"),t=i.n(n),a=i("7W2i"),s=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),o=i("i8i4"),u=i("TSYQ"),h=i.n(u),g=i("zT1h"),A=i("cDf5"),w=i.n(A),x=i("BGR+"),C=i("t23M"),T=i("H84U"),O=i("PEeC");function S(Ae){return Ae!==window?Ae.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function _(Ae,je,ee){return ee!==void 0&&je.top>Ae.top-ee?ee+je.top:void 0}function L(Ae,je,ee){if(ee!==void 0&&je.bottom<Ae.bottom+ee){var he=window.innerHeight-je.bottom;return ee+he}return}var D=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],F=[];function j(){return F}function k(Ae,je){if(!Ae)return;var ee=F.find(function(he){return he.target===Ae});ee?ee.affixList.push(je):(ee={target:Ae,affixList:[je],eventHandlers:{}},F.push(ee),D.forEach(function(he){ee.eventHandlers[he]=Object(g.a)(Ae,he,function(){ee.affixList.forEach(function(Ze){Ze.lazyUpdatePosition()})})}))}function K(Ae){var je=F.find(function(ee){var he=ee.affixList.some(function(Ze){return Ze===Ae});return he&&(ee.affixList=ee.affixList.filter(function(Ze){return Ze!==Ae})),he});je&&je.affixList.length===0&&(F=F.filter(function(ee){return ee!==je}),D.forEach(function(ee){var he=je.eventHandlers[ee];he&&he.remove&&he.remove()}))}var Z=function(Ae,je,ee,he){var Ze=arguments.length,oe=Ze<3?je:he===null?he=Object.getOwnPropertyDescriptor(je,ee):he,Q;if((typeof Reflect=="undefined"?"undefined":w()(Reflect))==="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(Ae,je,ee,he);else for(var G=Ae.length-1;G>=0;G--)(Q=Ae[G])&&(oe=(Ze<3?Q(oe):Ze>3?Q(je,ee,oe):Q(je,ee))||oe);return Ze>3&&oe&&Object.defineProperty(je,ee,oe),oe};function B(){return typeof window!="undefined"?window:null}var V;(function(Ae){Ae[Ae.None=0]="None",Ae[Ae.Prepare=1]="Prepare"})(V||(V={}));var z=function(Ae){s()(ee,Ae);var je=c()(ee);function ee(){var he;return f()(this,ee),he=je.apply(this,arguments),he.state={status:V.None,lastAffix:!1,prevTarget:null},he.getOffsetTop=function(){var Ze=he.props.offsetBottom,oe=he.props.offsetTop;return Ze===void 0&&oe===void 0&&(oe=0),oe},he.getOffsetBottom=function(){return he.props.offsetBottom},he.savePlaceholderNode=function(Ze){he.placeholderNode=Ze},he.saveFixedNode=function(Ze){he.fixedNode=Ze},he.measure=function(){var Ze=he.state,oe=Ze.status,Q=Ze.lastAffix,G=he.props.onChange,te=he.getTargetFunc();if(oe!==V.Prepare||!he.fixedNode||!he.placeholderNode||!te)return;var xe=he.getOffsetTop(),fe=he.getOffsetBottom(),Be=te();if(!Be)return;var Ne={status:V.None},de=S(Be),ve=S(he.placeholderNode),Me=_(ve,de,xe),qe=L(ve,de,fe);Me!==void 0?(Ne.affixStyle={position:"fixed",top:Me,width:ve.width,height:ve.height},Ne.placeholderStyle={width:ve.width,height:ve.height}):qe!==void 0&&(Ne.affixStyle={position:"fixed",bottom:qe,width:ve.width,height:ve.height},Ne.placeholderStyle={width:ve.width,height:ve.height}),Ne.lastAffix=!!Ne.affixStyle,G&&Q!==Ne.lastAffix&&G(Ne.lastAffix),he.setState(Ne)},he.prepareMeasure=function(){if(he.setState({status:V.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var Ze},he.render=function(){var Ze=he.context.getPrefixCls,oe=he.state,Q=oe.affixStyle,G=oe.placeholderStyle,te=he.props,xe=te.prefixCls,fe=te.children,Be=h()(p()({},Ze("affix",xe),Q)),Ne=Object(x.default)(he.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return e.createElement(C.a,{onResize:function(){he.updatePosition()}},e.createElement("div",m()({},Ne,{ref:he.savePlaceholderNode}),Q&&e.createElement("div",{style:G,"aria-hidden":"true"}),e.createElement("div",{className:Be,ref:he.saveFixedNode,style:Q},e.createElement(C.a,{onResize:function(){he.updatePosition()}},fe))))},he}return l()(ee,[{key:"getTargetFunc",value:function(){var Ze=this.context.getTargetContainer,oe=this.props.target;return oe!==void 0?oe:Ze||B}},{key:"componentDidMount",value:function(){var Ze=this,oe=this.getTargetFunc();oe&&(this.timeout=setTimeout(function(){k(oe(),Ze),Ze.updatePosition()}))}},{key:"componentDidUpdate",value:function(Ze){var oe=this.state.prevTarget,Q=this.getTargetFunc(),G=null;Q&&(G=Q()||null),oe!==G&&(K(this),G&&(k(G,this),this.updatePosition()),this.setState({prevTarget:G})),(Ze.offsetTop!==this.props.offsetTop||Ze.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),K(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var Ze=this.getTargetFunc(),oe=this.state.affixStyle;if(Ze&&oe){var Q=this.getOffsetTop(),G=this.getOffsetBottom(),te=Ze();if(te&&this.placeholderNode){var xe=S(te),fe=S(this.placeholderNode),Be=_(fe,xe,Q),Ne=L(fe,xe,G);if(Be!==void 0&&oe.top===Be||Ne!==void 0&&oe.bottom===Ne)return}}this.prepareMeasure()}}]),ee}(e.Component);z.contextType=T.b,Z([Object(O.b)()],z.prototype,"updatePosition",null),Z([Object(O.b)()],z.prototype,"lazyUpdatePosition",null);var X=z,W=i("zAh6"),q=i("i6bk"),Y=e.createContext(null),re=Y;function ne(){return window}function we(Ae,je){if(!Ae.getClientRects().length)return 0;var ee=Ae.getBoundingClientRect();return ee.width||ee.height?je===window?(je=Ae.ownerDocument.documentElement,ee.top-je.clientTop):ee.top-je.getBoundingClientRect().top:ee.top}var ie=/#(\S+)$/,me=function(Ae){s()(ee,Ae);var je=c()(ee);function ee(){var he;return f()(this,ee),he=je.apply(this,arguments),he.state={activeLink:null},he.links=[],he.registerLink=function(Ze){he.links.includes(Ze)||he.links.push(Ze)},he.unregisterLink=function(Ze){var oe=he.links.indexOf(Ze);oe!==-1&&he.links.splice(oe,1)},he.getContainer=function(){var Ze=he.context.getTargetContainer,oe=he.props.getContainer,Q=oe||Ze||ne;return Q()},he.handleScrollTo=function(Ze){var oe=he.props,Q=oe.offsetTop,G=oe.targetOffset;he.setCurrentActiveLink(Ze);var te=he.getContainer(),xe=Object(q.a)(te,!0),fe=ie.exec(Ze);if(!fe)return;var Be=document.getElementById(fe[1]);if(!Be)return;var Ne=we(Be,te),de=xe+Ne;de-=G!==void 0?G:Q||0,he.animating=!0,Object(W.a)(de,{callback:function(){he.animating=!1},getContainer:he.getContainer})},he.saveInkNode=function(Ze){he.inkNode=Ze},he.setCurrentActiveLink=function(Ze){var oe=he.state.activeLink,Q=he.props.onChange;oe!==Ze&&(he.setState({activeLink:Ze}),Q&&Q(Ze))},he.handleScroll=function(){if(he.animating)return;var Ze=he.props,oe=Ze.offsetTop,Q=Ze.bounds,G=Ze.targetOffset,te=he.getCurrentAnchor(G!==void 0?G:oe||0,Q);he.setCurrentActiveLink(te)},he.updateInk=function(){var Ze=t()(he),oe=Ze.prefixCls,Q=o.findDOMNode(t()(he)),G=Q.getElementsByClassName("".concat(oe,"-link-title-active"))[0];G&&(he.inkNode.style.top="".concat(G.offsetTop+G.clientHeight/2-4.5,"px"))},he.render=function(){var Ze=he.context,oe=Ze.getPrefixCls,Q=Ze.direction,G=he.props,te=G.prefixCls,xe=G.className,fe=xe===void 0?"":xe,Be=G.style,Ne=G.offsetTop,de=G.affix,ve=G.showInkInFixed,Me=G.children,qe=he.state.activeLink,gt=oe("anchor",te);he.prefixCls=gt;var ht=h()("".concat(gt,"-ink-ball"),{visible:qe}),Pe=h()(fe,"".concat(gt,"-wrapper"),p()({},"".concat(gt,"-rtl"),Q==="rtl")),It=h()(gt,{fixed:!de&&!ve}),nt=m()({maxHeight:Ne?"calc(100vh - ".concat(Ne,"px)"):"100vh"},Be),Nt=e.createElement("div",{className:Pe,style:nt},e.createElement("div",{className:It},e.createElement("div",{className:"".concat(gt,"-ink")},e.createElement("span",{className:ht,ref:he.saveInkNode})),Me));return e.createElement(re.Provider,{value:{registerLink:he.registerLink,unregisterLink:he.unregisterLink,activeLink:he.state.activeLink,scrollTo:he.handleScrollTo,onClick:he.props.onClick}},de?e.createElement(X,{offsetTop:Ne,target:he.getContainer},Nt):Nt)},he}return l()(ee,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(g.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var Ze=this.getContainer();this.scrollContainer!==Ze&&(this.scrollContainer=Ze,this.scrollEvent.remove(),this.scrollEvent=Object(g.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,Q=this.props.getCurrentAnchor;if(typeof Q=="function")return Q();var G=[],te=this.getContainer();if(this.links.forEach(function(fe){var Be=ie.exec(fe.toString());if(!Be)return;var Ne=document.getElementById(Be[1]);if(Ne){var de=we(Ne,te);de<Ze+oe&&G.push({link:fe,top:de})}}),G.length){var xe=G.reduce(function(fe,Be){return Be.top>fe.top?Be:fe});return xe.link}return""}}]),ee}(e.Component);me.defaultProps={affix:!0,showInkInFixed:!1},me.contextType=T.b;var _e=function(Ae){s()(ee,Ae);var je=c()(ee);function ee(){var he;return f()(this,ee),he=je.apply(this,arguments),he.handleClick=function(Ze){var oe=he.context,Q=oe.scrollTo,G=oe.onClick,te=he.props,xe=te.href,fe=te.title;G&&G(Ze,{title:fe,href:xe}),Q(xe)},he.renderAnchorLink=function(Ze){var oe=Ze.getPrefixCls,Q=he.props,G=Q.prefixCls,te=Q.href,xe=Q.title,fe=Q.children,Be=Q.className,Ne=Q.target,de=oe("anchor",G),ve=he.context.activeLink===te,Me=h()(Be,"".concat(de,"-link"),p()({},"".concat(de,"-link-active"),ve)),qe=h()("".concat(de,"-link-title"),p()({},"".concat(de,"-link-title-active"),ve));return e.createElement("div",{className:Me},e.createElement("a",{className:qe,href:te,title:typeof xe=="string"?xe:"",target:Ne,onClick:he.handleClick},xe),fe)},he}return l()(ee,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(Ze){var oe=Ze.href,Q=this.props.href;oe!==Q&&(this.context.unregisterLink(oe),this.context.registerLink(Q))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return e.createElement(T.a,null,this.renderAnchorLink)}}]),ee}(e.Component);_e.defaultProps={href:"#"},_e.contextType=re;var Te=_e;me.Link=Te;var We=R.a=me},JuEJ:function(U,R,i){var y=i("bYtY"),m=i("4NO4"),E=y.each,p=y.isObject,v=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function f(e){var o=e&&e.itemStyle;if(!o)return;for(var u=0,h=v.length;u<h;u++){var g=v[u],A=o.normal,w=o.emphasis;A&&A[g]&&(e[g]=e[g]||{},e[g].normal?y.merge(e[g].normal,A[g]):e[g].normal=A[g],A[g]=null),w&&w[g]&&(e[g]=e[g]||{},e[g].emphasis?y.merge(e[g].emphasis,w[g]):e[g].emphasis=w[g],w[g]=null)}}function d(e,o,u){if(e&&e[o]&&(e[o].normal||e[o].emphasis)){var h=e[o].normal,g=e[o].emphasis;h&&(u?(e[o].normal=e[o].emphasis=null,y.defaults(e[o],h)):e[o]=h),g&&(e.emphasis=e.emphasis||{},e.emphasis[o]=g)}}function l(e){d(e,"itemStyle"),d(e,"lineStyle"),d(e,"areaStyle"),d(e,"label"),d(e,"labelLine"),d(e,"upperLabel"),d(e,"edgeLabel")}function n(e,o){var u=p(e)&&e[o],h=p(u)&&u.textStyle;if(h)for(var g=0,A=m.TEXT_STYLE_OPTIONS.length;g<A;g++){var o=m.TEXT_STYLE_OPTIONS[g];h.hasOwnProperty(o)&&(u[o]=h[o])}}function t(e){e&&(l(e),n(e,"label"),e.emphasis&&n(e.emphasis,"label"))}function a(e){if(!p(e))return;f(e),l(e),n(e,"label"),n(e,"upperLabel"),n(e,"edgeLabel"),e.emphasis&&(n(e.emphasis,"label"),n(e.emphasis,"upperLabel"),n(e.emphasis,"edgeLabel"));var o=e.markPoint;o&&(f(o),t(o));var u=e.markLine;u&&(f(u),t(u));var h=e.markArea;h&&t(h);var g=e.data;if(e.type==="graph"){g=g||e.nodes;var A=e.links||e.edges;if(A&&!y.isTypedArray(A))for(var w=0;w<A.length;w++)t(A[w]);y.each(e.categories,function(T){l(T)})}if(g&&!y.isTypedArray(g))for(var w=0;w<g.length;w++)t(g[w]);var o=e.markPoint;if(o&&o.data)for(var x=o.data,w=0;w<x.length;w++)t(x[w]);var u=e.markLine;if(u&&u.data)for(var C=u.data,w=0;w<C.length;w++)y.isArray(C[w])?(t(C[w][0]),t(C[w][1])):t(C[w]);e.type==="gauge"?(n(e,"axisLabel"),n(e,"title"),n(e,"detail")):e.type==="treemap"?(d(e.breadcrumb,"itemStyle"),y.each(e.levels,function(T){l(T)})):e.type==="tree"&&l(e.leaves)}function s(e){return y.isArray(e)?e:e?[e]:[]}function r(e){return(y.isArray(e)?e[0]:e)||{}}function c(e,o){E(s(e.series),function(h){p(h)&&a(h)});var u=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];o&&u.push("valueAxis","categoryAxis","logAxis","timeAxis"),E(u,function(h){E(s(e[h]),function(g){g&&(n(g,"axisLabel"),n(g.axisPointer,"label"))})}),E(s(e.parallel),function(h){var g=h&&h.parallelAxisDefault;n(g,"axisLabel"),n(g&&g.axisPointer,"label")}),E(s(e.calendar),function(h){d(h,"itemStyle"),n(h,"dayLabel"),n(h,"monthLabel"),n(h,"yearLabel")}),E(s(e.radar),function(h){n(h,"name")}),E(s(e.geo),function(h){p(h)&&(t(h),E(s(h.regions),function(g){t(g)}))}),E(s(e.timeline),function(h){t(h),d(h,"label"),d(h,"itemStyle"),d(h,"controlStyle",!0);var g=h.data;y.isArray(g)&&y.each(g,function(A){y.isObject(A)&&(d(A,"label"),d(A,"itemStyle"))})}),E(s(e.toolbox),function(h){d(h,"iconStyle"),E(h.feature,function(g){d(g,"iconStyle")})}),n(r(e.axisPointer),"label"),n(r(e.tooltip).axisPointer,"label")}U.exports=c},K2GJ:function(U,R,i){var y=i("fW2E"),m=i("gut8"),E=m.ContextCachedBy,p=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],v=function(r){this.extendFrom(r,!1)};function f(s,r,c){var e=r.x==null?0:r.x,o=r.x2==null?1:r.x2,u=r.y==null?0:r.y,h=r.y2==null?0:r.y2;r.global||(e=e*c.width+c.x,o=o*c.width+c.x,u=u*c.height+c.y,h=h*c.height+c.y),e=isNaN(e)?0:e,o=isNaN(o)?1:o,u=isNaN(u)?0:u,h=isNaN(h)?0:h;var g=s.createLinearGradient(e,u,o,h);return g}function d(s,r,c){var e=c.width,o=c.height,u=Math.min(e,o),h=r.x==null?.5:r.x,g=r.y==null?.5:r.y,A=r.r==null?.5:r.r;r.global||(h=h*e+c.x,g=g*o+c.y,A=A*u);var w=s.createRadialGradient(h,g,0,h,g,A);return w}v.prototype={constructor:v,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(r,c,e){var o=this,u=e&&e.style,h=!u||r.__attrCachedBy!==E.STYLE_BIND;r.__attrCachedBy=E.STYLE_BIND;for(var g=0;g<p.length;g++){var A=p[g],w=A[0];(h||o[w]!==u[w])&&(r[w]=y(r,w,o[w]||A[1]))}if((h||o.fill!==u.fill)&&(r.fillStyle=o.fill),(h||o.stroke!==u.stroke)&&(r.strokeStyle=o.stroke),(h||o.opacity!==u.opacity)&&(r.globalAlpha=o.opacity==null?1:o.opacity),(h||o.blend!==u.blend)&&(r.globalCompositeOperation=o.blend||"source-over"),this.hasStroke()){var x=o.lineWidth;r.lineWidth=x/(this.strokeNoScale&&c&&c.getLineScale?c.getLineScale():1)}},hasFill:function(){var r=this.fill;return r!=null&&r!=="none"},hasStroke:function(){var r=this.stroke;return r!=null&&r!=="none"&&this.lineWidth>0},extendFrom:function(r,c){if(r)for(var e in r)r.hasOwnProperty(e)&&(c===!0||(c===!1?!this.hasOwnProperty(e):r[e]!=null))&&(this[e]=r[e])},set:function(r,c){typeof r=="string"?this[r]=c:this.extendFrom(r,!0)},clone:function(){var r=new this.constructor;return r.extendFrom(this,!0),r},getGradient:function(r,c,e){for(var o=c.type==="radial"?d:f,u=o(r,c,e),h=c.colorStops,g=0;g<h.length;g++)u.addColorStop(h[g].offset,h[g].color);return u}};for(var l=v.prototype,n=0;n<p.length;n++){var t=p[n];t[0]in l||(l[t[0]]=t[1])}v.getGradient=l.getGradient;var a=v;U.exports=a},K4ya:function(U,R,i){var y=i("bYtY"),m=i("XxSj"),E=y.each;function p(n){if(n){for(var t in n)if(n.hasOwnProperty(t))return!0}}function v(n,t,a){var s={};return E(t,function(c){var e=s[c]=r();E(n[c],function(o,u){if(!m.isValidType(u))return;var h={type:u,visual:o};a&&a(h,c),e[u]=new m(h),u==="opacity"&&(h=y.clone(h),h.type="colorAlpha",e.__hidden.__alphaForOpacity=new m(h))})}),s;function r(){var c=function(){};c.prototype.__hidden=c.prototype;var e=new c;return e}}function f(n,t,a){var s;y.each(a,function(r){t.hasOwnProperty(r)&&p(t[r])&&(s=!0)}),s&&y.each(a,function(r){t.hasOwnProperty(r)&&p(t[r])?n[r]=y.clone(t[r]):delete n[r]})}function d(n,t,a,s,r,c){var e={};y.each(n,function(A){var w=m.prepareVisualTypes(t[A]);e[A]=w});var o;function u(A){return a.getItemVisual(o,A)}function h(A,w){a.setItemVisual(o,A,w)}c==null?a.each(g):a.each([c],g);function g(A,w){o=c==null?A:w;var x=a.getRawDataItem(o);if(x&&x.visualMap===!1)return;for(var C=s.call(r,A),T=t[C],O=e[C],S=0,_=O.length;S<_;S++){var L=O[S];T[L]&&T[L].applyVisual(A,u,h)}}}function l(n,t,a,s){var r={};y.each(n,function(e){var o=m.prepareVisualTypes(t[e]);r[e]=o});function c(e,o){s!=null&&(s=o.getDimension(s));function u(L){return o.getItemVisual(g,L)}function h(L,D){o.setItemVisual(g,L,D)}for(var g;(g=e.next())!=null;){var A=o.getRawDataItem(g);if(A&&A.visualMap===!1)continue;for(var w=s!=null?o.get(s,g,!0):g,x=a(w),C=t[x],T=r[x],O=0,S=T.length;O<S;O++){var _=T[O];C[_]&&C[_].applyVisual(w,u,h)}}}return{progress:c}}R.createVisualMappings=v,R.replaceVisualOption=f,R.applyVisual=d,R.incrementalApplyVisual=l},KCsZ:function(U,R,i){var y=i("bYtY");function m(E){for(var p=0;p<E.length;p++)E[p][1]||(E[p][1]=E[p][0]);return function(v,f,d){for(var l={},n=0;n<E.length;n++){var t=E[n][1];if(f&&y.indexOf(f,t)>=0||d&&y.indexOf(d,t)<0)continue;var a=v.getShallow(t);a!=null&&(l[E[n][0]]=a)}return l}}U.exports=m},KPFz:function(U,R,i){},KQeH:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},KS52:function(U,R,i){var y=i("OELB"),m=y.parsePercent,E=y.linearMap,p=i("+TT/"),v=i("u3DP"),f=i("bYtY"),d=Math.PI*2,l=Math.PI/180;function n(a,s){return p.getLayoutRect(a.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function t(a,s,r,c){s.eachSeriesByType(a,function(e){var o=e.getData(),u=o.mapDimension("value"),h=n(e,r),g=e.get("center"),A=e.get("radius");f.isArray(A)||(A=[0,A]),f.isArray(g)||(g=[g,g]);var w=m(h.width,r.getWidth()),x=m(h.height,r.getHeight()),C=Math.min(w,x),T=m(g[0],w)+h.x,O=m(g[1],x)+h.y,S=m(A[0],C/2),_=m(A[1],C/2),L=-e.get("startAngle")*l,D=e.get("minAngle")*l,F=0;o.each(u,function(re){!isNaN(re)&&F++});var j=o.getSum(u),k=Math.PI/(j||F)*2,K=e.get("clockwise"),Z=e.get("roseType"),B=e.get("stillShowZeroSum"),V=o.getDataExtent(u);V[0]=0;var z=d,X=0,W=L,q=K?1:-1;if(o.each(u,function(re,ne){var we;if(isNaN(re)){o.setItemLayout(ne,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:K,cx:T,cy:O,r0:S,r:Z?NaN:_,viewRect:h});return}Z!=="area"?we=j===0&&B?k:re*k:we=d/F,we<D?(we=D,z-=D):X+=re;var ie=W+q*we;o.setItemLayout(ne,{angle:we,startAngle:W,endAngle:ie,clockwise:K,cx:T,cy:O,r0:S,r:Z?E(re,V,[S,_]):_,viewRect:h}),W=ie}),z<d&&F)if(z<=.001){var Y=d/F;o.each(u,function(re,ne){if(!isNaN(re)){var we=o.getItemLayout(ne);we.angle=Y,we.startAngle=L+q*ne*Y,we.endAngle=L+q*(ne+1)*Y}})}else k=z/X,W=L,o.each(u,function(re,ne){if(!isNaN(re)){var we=o.getItemLayout(ne),ie=we.angle===D?D:re*k;we.startAngle=W,we.endAngle=W+q*ie,W+=q*ie}});v(e,_,h.width,h.height,h.x,h.y)})}U.exports=t},KUOm:function(U,R){function i(y){var m={};y.eachSeriesByType("graph",function(E){var p=E.getCategoriesData(),v=E.getData(),f={};p.each(function(d){var l=p.getName(d);f["ec-"+l]=d;var n=p.getItemModel(d),t=n.get("itemStyle.color")||E.getColorFromPalette(l,m);p.setItemVisual(d,"color",t);for(var a=["opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++){var r=n.getShallow(a[s],!0);r!=null&&p.setItemVisual(d,a[s],r)}}),p.count()&&v.each(function(d){var l=v.getItemModel(d),n=l.getShallow("category");if(n!=null){typeof n=="string"&&(n=f["ec-"+n]);for(var t=["color","opacity","symbol","symbolSize","symbolKeepAspect"],a=0;a<t.length;a++)v.getItemVisual(d,t[a],!0)==null&&v.setItemVisual(d,t[a],p.getItemVisual(n,t[a]))}})})}U.exports=i},Kagy:function(U,R){var i={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:""}}}};U.exports=i},KamJ:function(U,R,i){var y=i("ProS"),m=i("szbU");i("vF/C"),i("qwVE"),i("BuqR"),i("AE9C"),i("1u/T"),y.registerPreprocessor(m)},KmBX:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("CP8R")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FilterFilled";var l=p.forwardRef(d);R.default=l},"KpQ+":function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("E/ki")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="ClockCircleOutlined";var l=p.forwardRef(d);R.default=l},KrTs:function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("cDf5"),p=i.n(E),v=i("pVnL"),f=i.n(v),d=i("q1tI"),l=i("MFj2"),n=i("TSYQ"),t=i.n(n),a=i("J4zp"),s=i.n(a),r=i("H84U"),c=i("0n0R"),e=function(_,L){var D={};for(var F in _)Object.prototype.hasOwnProperty.call(_,F)&&L.indexOf(F)<0&&(D[F]=_[F]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,F=Object.getOwnPropertySymbols(_);j<F.length;j++)L.indexOf(F[j])<0&&Object.prototype.propertyIsEnumerable.call(_,F[j])&&(D[F[j]]=_[F[j]]);return D};function o(_){return _?_.toString().split("").reverse().map(function(L){var D=Number(L);return isNaN(D)?L:D}):[]}function u(_,L){for(var D=[],F=0;F<30;F++)D.push(d.createElement("p",{key:F.toString(),className:t()(L,{current:_===F})},F%10));return D}var h=function(L){var D=L.prefixCls,F=L.count,j=L.className,k=L.style,K=L.title,Z=L.component,B=Z===void 0?"sup":Z,V=L.displayComponent,z=L.onAnimated,X=z===void 0?function(){}:z,W=e(L,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),q=d.useState(!0),Y=s()(q,2),re=Y[0],ne=Y[1],we=d.useState(F),ie=s()(we,2),me=ie[0],_e=ie[1],Te=d.useState(F),We=s()(Te,2),Ae=We[0],je=We[1],ee=d.useState(F),he=s()(ee,2),Ze=he[0],oe=he[1],Q=d.useContext(r.b),G=Q.getPrefixCls,te=G("scroll-number",D);Ae!==F&&(ne(!0),je(F)),d.useEffect(function(){oe(me);var de;return re&&(de=setTimeout(function(){ne(!1),_e(F),X()})),function(){de&&clearTimeout(de)}},[re,F,X]);var xe=function(ve,Me){var qe=Math.abs(Number(me)),gt=Math.abs(Number(Ze)),ht=Math.abs(o(me)[Me]),Pe=Math.abs(o(gt)[Me]);return re?10+ve:qe>gt?ht>=Pe?10+ve:20+ve:ht<=Pe?10+ve:ve},fe=function(ve,Me){if(typeof ve=="number"){var qe=xe(ve,Me),gt=re||o(Ze)[Me]===void 0;return d.createElement("span",{className:"".concat(te,"-only"),style:{transition:gt?"none":void 0,msTransform:"translateY(".concat(-qe*100,"%)"),WebkitTransform:"translateY(".concat(-qe*100,"%)"),transform:"translateY(".concat(-qe*100,"%)")},key:Me},u(qe,"".concat(te,"-only-unit")))}return d.createElement("span",{key:"symbol",className:"".concat(te,"-symbol")},ve)},Be=function(){return me&&Number(me)%1===0?o(me).map(function(ve,Me){return fe(ve,Me)}).reverse():me},Ne=f()(f()({},W),{style:k,className:t()(te,j),title:K});return k&&k.borderColor&&(Ne.style=f()(f()({},k),{boxShadow:"0 0 0 1px ".concat(k.borderColor," inset")})),V?Object(c.a)(V,{className:t()("".concat(te,"-custom-component"),V.props&&V.props.className)}):d.createElement(B,Ne,Be())},g=h,A=i("09Wf");function w(_){return A.a.indexOf(_)!==-1}var x=function(L){var D,F=L.className,j=L.prefixCls,k=L.style,K=L.color,Z=L.children,B=L.text,V=L.placement,z=V===void 0?"end":V,X=d.useContext(r.b),W=X.getPrefixCls,q=X.direction,Y=W("ribbon",j),re=w(K),ne=t()(Y,F,"".concat(Y,"-placement-").concat(z),(D={},m()(D,"".concat(Y,"-rtl"),q==="rtl"),m()(D,"".concat(Y,"-color-").concat(K),re),D)),we={},ie={};return K&&!re&&(we.background=K,ie.color=K),d.createElement("div",{className:"".concat(Y,"-wrapper")},Z,d.createElement("div",{className:ne,style:f()(f()({},we),k)},B,d.createElement("div",{className:"".concat(Y,"-corner"),style:ie})))},C=x,T=function(_,L){var D={};for(var F in _)Object.prototype.hasOwnProperty.call(_,F)&&L.indexOf(F)<0&&(D[F]=_[F]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,F=Object.getOwnPropertySymbols(_);j<F.length;j++)L.indexOf(F[j])<0&&Object.prototype.propertyIsEnumerable.call(_,F[j])&&(D[F[j]]=_[F[j]]);return D},O=function(L){var D,F,j=L.prefixCls,k=L.scrollNumberPrefixCls,K=L.children,Z=L.status,B=L.text,V=L.color,z=L.count,X=z===void 0?null:z,W=L.overflowCount,q=W===void 0?99:W,Y=L.dot,re=Y===void 0?!1:Y,ne=L.size,we=ne===void 0?"default":ne,ie=L.title,me=L.offset,_e=L.style,Te=L.className,We=L.showZero,Ae=We===void 0?!1:We,je=T(L,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),ee=d.useContext(r.b),he=ee.getPrefixCls,Ze=ee.direction,oe=he("badge",j),Q=function(){var Bt=X>q?"".concat(q,"+"):X;return Bt},G=function(){return!!Z||!!V},te=function(){var Bt=Q();return Bt==="0"||Bt===0},xe=function(){return re&&!te()||G()},fe=function(){return xe()?"":Q()},Be=function(){return ie||(typeof X=="string"||typeof X=="number"?X:void 0)},Ne=function(){return Ze==="rtl"?me?f()({left:parseInt(me[0],10),marginTop:me[1]},_e):_e:me?f()({right:-parseInt(me[0],10),marginTop:me[1]},_e):_e},de=function(){var Bt=fe(),Pt=Bt==null||Bt==="";return(Pt||te()&&!Ae)&&!xe()},ve=function(){var Bt=de();return Bt||!B?null:d.createElement("span",{className:"".concat(oe,"-status-text")},B)},Me=function(){var Bt=X;return!Bt||p()(Bt)!=="object"?void 0:Object(c.a)(Bt,{style:f()(f()({},Ne()),Bt.props&&Bt.props.style)})},qe=function(){var Bt,Pt=he("scroll-number",k),jt=fe(),er=xe(),at=de(),Ce=t()((Bt={},m()(Bt,"".concat(oe,"-dot"),er),m()(Bt,"".concat(oe,"-count"),!er),m()(Bt,"".concat(oe,"-count-sm"),we==="small"),m()(Bt,"".concat(oe,"-multiple-words"),!er&&X&&X.toString&&X.toString().length>1),m()(Bt,"".concat(oe,"-status-").concat(Z),!!Z),m()(Bt,"".concat(oe,"-status-").concat(V),w(V)),Bt)),ue=Ne();return V&&!w(V)&&(ue=ue||{},ue.background=V),at?null:d.createElement(g,{prefixCls:Pt,"data-show":!at,className:Ce,count:jt,displayComponent:Me(),title:Be(),style:ue,key:"scrollNumber"})},gt=t()((D={},m()(D,"".concat(oe,"-status-dot"),G()),m()(D,"".concat(oe,"-status-").concat(Z),!!Z),m()(D,"".concat(oe,"-status-").concat(V),w(V)),D)),ht={};V&&!w(V)&&(ht.background=V);var Pe=t()(Te,oe,(F={},m()(F,"".concat(oe,"-status"),G()),m()(F,"".concat(oe,"-not-a-wrapper"),!K),m()(F,"".concat(oe,"-rtl"),Ze==="rtl"),F));if(!K&&G()){var It=Ne(),nt=It&&It.color;return d.createElement("span",f()({},je,{className:Pe,style:It}),d.createElement("span",{className:gt,style:ht}),d.createElement("span",{style:{color:nt},className:"".concat(oe,"-status-text")},B))}return d.createElement("span",f()({},je,{className:Pe}),K,d.createElement(l.a,{component:"",showProp:"data-show",transitionName:K?"".concat(oe,"-zoom"):"",transitionAppear:!0},qe()),ve())};O.Ribbon=C;var S=R.a=O},Kvyg:function(U,R,i){},KxBF:function(U,R){function i(y,m,E){var p=-1,v=y.length;m<0&&(m=-m>v?0:v+m),E=E>v?v:E,E<0&&(E+=v),v=m>E?0:E-m>>>0,m>>>=0;for(var f=Array(v);++p<v;)f[p]=y[p+m];return f}U.exports=i},KxFI:function(U,R,i){},KxfA:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.isTypedArray,v=E.extend,f=E.assert,d=E.each,l=E.isObject,n=i("4NO4"),t=n.getDataItemValue,a=n.isDataItemOption,s=i("OELB"),r=s.parseDate,c=i("7G+c"),e=i("k9D9"),o=e.SOURCE_FORMAT_TYPED_ARRAY,u=e.SOURCE_FORMAT_ARRAY_ROWS,h=e.SOURCE_FORMAT_ORIGINAL,g=e.SOURCE_FORMAT_OBJECT_ROWS;function A(K,Z){c.isInstance(K)||(K=c.seriesDataToSource(K)),this._source=K;var B=this._data=K.data,V=K.sourceFormat;V===o&&(this._offset=0,this._dimSize=Z,this._data=B);var z=x[V===u?V+"_"+K.seriesLayoutBy:V];v(this,z)}var w=A.prototype;w.pure=!1,w.persistent=!0,w.getSource=function(){return this._source};var x={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(K){return this._data[K+this._source.startIndex]},appendData:O},arrayRows_row:{pure:!0,count:function(){var K=this._data[0];return K?Math.max(0,K.length-this._source.startIndex):0},getItem:function(K){K+=this._source.startIndex;for(var Z=[],B=this._data,V=0;V<B.length;V++){var z=B[V];Z.push(z?z[K]:null)}return Z},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:C,getItem:T,appendData:O},keyedColumns:{pure:!0,count:function(){var K=this._source.dimensionsDefine[0].name,Z=this._data[K];return Z?Z.length:0},getItem:function(K){for(var Z=[],B=this._source.dimensionsDefine,V=0;V<B.length;V++){var z=this._data[B[V].name];Z.push(z?z[K]:null)}return Z},appendData:function(K){var Z=this._data;d(K,function(B,V){for(var z=Z[V]||(Z[V]=[]),X=0;X<(B||[]).length;X++)z.push(B[X])})}},original:{count:C,getItem:T,appendData:O},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(K,Z){K=K-this._offset,Z=Z||[];for(var B=this._dimSize*K,V=0;V<this._dimSize;V++)Z[V]=this._data[B+V];return Z},appendData:function(K){this._data=K},clean:function(){this._offset+=this.count(),this._data=null}}};function C(){return this._data.length}function T(K){return this._data[K]}function O(K){for(var Z=0;Z<K.length;Z++)this._data.push(K[Z])}var S={arrayRows:_,objectRows:function(K,Z,B,V){return B!=null?K[V]:K},keyedColumns:_,original:function(K,Z,B,V){var z=t(K);return B==null||!(z instanceof Array)?z:z[B]},typedArray:_};function _(K,Z,B,V){return B!=null?K[B]:K}var L={arrayRows:D,objectRows:function(K,Z,B,V){return F(K[Z],this._dimensionInfos[Z])},keyedColumns:D,original:function(K,Z,B,V){var z=K&&(K.value==null?K:K.value);return!this._rawData.pure&&a(K)&&(this.hasItemOption=!0),F(z instanceof Array?z[V]:z,this._dimensionInfos[Z])},typedArray:function(K,Z,B,V){return K[V]}};function D(K,Z,B,V){return F(K[V],this._dimensionInfos[Z])}function F(K,Z){var B=Z&&Z.type;if(B==="ordinal"){var V=Z&&Z.ordinalMeta;return V?V.parseAndCollect(K):K}return B==="time"&&typeof K!="number"&&K!=null&&K!=="-"&&(K=+r(K)),K==null||K===""?NaN:+K}function j(K,Z,B){if(!K)return;var V=K.getRawDataItem(Z);if(V==null)return;var z=K.getProvider().getSource().sourceFormat,X,W,q=K.getDimensionInfo(B);return q&&(X=q.name,W=q.index),S[z](V,Z,W,X)}function k(K,Z,B){if(!K)return;var V=K.getProvider().getSource().sourceFormat;if(V!==h&&V!==g)return;var z=K.getRawDataItem(Z);if(V===h&&!l(z)&&(z=null),z)return z[B]}R.DefaultDataProvider=A,R.defaultDimValueGetters=L,R.retrieveRawValue=j,R.retrieveRawAttr=k},L0Ub:function(U,R,i){var y=i("bYtY"),m=y.each,E=y.createHashMap,p=y.assert,v=i("Tghj"),f=v.__DEV__,d=E(["tooltip","label","itemName","itemId","seriesName"]);function l(s){var r={},c=r.encode={},e=E(),o=[],u=[],h=r.userOutput={dimensionNames:s.dimensions.slice(),encode:{}};m(s.dimensions,function(C){var T=s.getDimensionInfo(C),O=T.coordDim;if(O){var S=T.coordDimIndex;n(c,O)[S]=C,T.isExtraCoord||(e.set(O,1),a(T.type)&&(o[0]=C),n(h.encode,O)[S]=T.index),T.defaultTooltip&&u.push(C)}d.each(function(_,L){var D=n(c,L),F=T.otherDims[L];F!=null&&F!==!1&&(D[F]=T.name)})});var g=[],A={};e.each(function(C,T){var O=c[T];A[T]=O[0],g=g.concat(O)}),r.dataDimsOnCoord=g,r.encodeFirstDimNotExtra=A;var w=c.label;w&&w.length&&(o=w.slice());var x=c.tooltip;return x&&x.length?u=x.slice():u.length||(u=o.slice()),c.defaultedLabel=o,c.defaultedTooltip=u,r}function n(s,r){return s.hasOwnProperty(r)||(s[r]=[]),s[r]}function t(s){return s==="category"?"ordinal":s==="time"?"time":"float"}function a(s){return!(s==="ordinal"||s==="time")}R.OTHER_DIMENSIONS=d,R.summarizeDimensions=l,R.getDimensionTypeByAxis=t},L3Oj:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("HjIi");i("HM/N"),i("9eas"),i("eS4l"),i("y4/Y"),i("as94"),y.registerLayout(m.curry(E,"bar")),y.extendComponentView({type:"polar"})},L5E0:function(U,R){var i=["itemStyle","borderColor"];function y(m,E){var p=m.get("color");m.eachRawSeriesByType("boxplot",function(v){var f=p[v.seriesIndex%p.length],d=v.getData();d.setVisual({legendSymbol:"roundRect",color:v.get(i)||f}),m.isSeriesFiltered(v)||d.each(function(l){var n=d.getItemModel(l);d.setItemVisual(l,{color:n.get(i,!0)})})})}U.exports=y},LBfv:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=m.createHashMap,p=m.each;y.registerProcessor({getTargetSeries:function(v){var f=E();return v.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(l,n,t){var a=t.getAxisProxy(l.name,n);p(a.getTargetSeriesModels(),function(s){f.set(s.uid,s)})})}),f},modifyOutputEnd:!0,overallReset:function(v,f){v.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(l,n,t){t.getAxisProxy(l.name,n).reset(t,f)}),d.eachTargetAxis(function(l,n,t){t.getAxisProxy(l.name,n).filterData(t,f)})}),v.eachComponent("dataZoom",function(d){var l=d.findRepresentativeAxisProxy(),n=l.getDataPercentWindow(),t=l.getDataValueWindow();d.setCalculatedRange({start:n[0],end:n[1],startValue:t[0],endValue:t[1]})})}})},LCi9:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function y(A,w){if(!(A instanceof w))throw new TypeError("Cannot call a class as a function")}function m(A,w){for(var x=0;x<w.length;x++){var C=w[x];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(A,C.key,C)}}function E(A,w,x){return w&&m(A.prototype,w),x&&m(A,x),A}var p=0,v=1,f=2,d=4,l=8,n=16,t=32,a=64,s=127,r=50,c=90,e=250,o=1e3,u=1e3,h=50,g=function(){function A(){y(this,A),this._target=null,this._state=s,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return E(A,[{key:"attach",value:function(x){this.detach(),this._target=x,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(x){var C;x.stopPropagation(),x.preventDefault();switch(x.type){case"touchstart":C=this._touchStart;break;case"touchmove":C=this._touchMove;break;case"touchend":case"touchcancel":C=this._touchEnd;break}for(var T=0;T<x.changedTouches.length;T++){var O=x.changedTouches[T];C.call(this,O.identifier,O.clientX,O.clientY)}}},{key:"_touchStart",value:function(x,C,T){if(this._hasDetectedGesture()||this._state===p){this._ignored.push(x);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>e){this._state=p,this._ignored.push(x);return}if(this._waitingRelease){this._state=p,this._ignored.push(x);return}this._tracked.push({id:x,started:Date.now(),active:!0,firstX:C,firstY:T,lastX:C,lastY:T,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(v|l|n),this._stopLongpressTimeout();break;case 3:this._state&=~(f|t|a);break;default:this._state=p}}},{key:"_touchMove",value:function(x,C,T){var O=this._tracked.find(function(j){return j.id===x});if(O===void 0)return;O.lastX=C,O.lastY=T;var S=C-O.firstX,_=T-O.firstY;if((O.firstX!==O.lastX||O.firstY!==O.lastY)&&(O.angle=Math.atan2(_,S)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(S,_)<r)return;if(this._state&=~(v|f|d|n),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~l),this._tracked.length!==2&&(this._state&=~(t|a)),this._tracked.length===2){var L=this._tracked.find(function(j){return j.id!==x}),D=Math.hypot(L.firstX-L.lastX,L.firstY-L.lastY);if(D>r){var F=Math.abs(O.angle-L.angle);F=Math.abs((F+180)%360-180),F>c?this._state&=~t:this._state&=~a,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(x,C,T){if(this._ignored.indexOf(x)!==-1){this._ignored.splice(this._ignored.indexOf(x),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=s,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=p),!this._hasDetectedGesture()&&(this._state&=~(l|t|a),this._state&=~n,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(f|d);break;case 2:this._state&=~(v|d);break}}if(this._waitingRelease){Date.now()-this._releaseStart>e&&(this._state=p),this._tracked.some(function(_){return Date.now()-_.started>o})&&(this._state=p);var O=this._tracked.find(function(_){return _.id===x});if(O.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==p)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=p,this._ignored.indexOf(x)!==-1&&this._ignored.splice(this._ignored.indexOf(x),1),this._ignored.length===0&&(this._state=s,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===p||this._state&this._state-1?!1:!(this._state&(v|f|d)&&this._tracked.some(function(x){return x.active}))}},{key:"_startLongpressTimeout",value:function(){var x=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return x._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=n,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var x=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return x._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 x=this._getAverageMovement(),C=Math.abs(x.x),T=Math.abs(x.y),O=this._getAverageDistance(),S=Math.abs(Math.hypot(O.first.x,O.first.y)-Math.hypot(O.last.x,O.last.y));T<S&&C<S?this._state=a:this._state=t,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(x){var C={type:this._stateToGesture(this._state)},T=this._getPosition(),O=T.last;x==="gesturestart"&&(O=T.first);switch(this._state){case t:case a:O=T.first;break}if(C.clientX=O.x,C.clientY=O.y,this._state===a){var S=this._getAverageDistance();x==="gesturestart"?(C.magnitudeX=S.first.x,C.magnitudeY=S.first.y):(C.magnitudeX=S.last.x,C.magnitudeY=S.last.y)}else if(this._state===t)if(x==="gesturestart")C.magnitudeX=0,C.magnitudeY=0;else{var _=this._getAverageMovement();C.magnitudeX=_.x,C.magnitudeY=_.y}var L=new CustomEvent(x,{detail:C});this._target.dispatchEvent(L)}},{key:"_stateToGesture",value:function(x){switch(x){case v:return"onetap";case f:return"twotap";case d:return"threetap";case l:return"drag";case n:return"longpress";case t:return"twodrag";case a:return"pinch"}throw new Error("Unknown gesture state: "+x)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var x=this._tracked.length,C=0,T=0,O=0,S=0,_=0;_<this._tracked.length;_++)C+=this._tracked[_].firstX,T+=this._tracked[_].firstY,O+=this._tracked[_].lastX,S+=this._tracked[_].lastY;return{first:{x:C/x,y:T/x},last:{x:O/x,y:S/x}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var x,C;x=C=0;for(var T=this._tracked.length,O=0;O<this._tracked.length;O++)x+=this._tracked[O].lastX-this._tracked[O].firstX,C+=this._tracked[O].lastY-this._tracked[O].firstY;return{x:x/T,y:C/T}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var x=this._tracked[0],C=this._tracked[this._tracked.length-1],T=Math.abs(C.firstX-x.firstX),O=Math.abs(C.firstY-x.firstY),S=Math.abs(C.lastX-x.lastX),_=Math.abs(C.lastY-x.lastY);return{first:{x:T,y:O},last:{x:S,y:_}}}}]),A}();R.default=g},LPTA:function(U,R){var i=1;typeof window!="undefined"&&(i=Math.max(window.devicePixelRatio||1,1));var y=0,m=i;R.debugMode=y,R.devicePixelRatio=m},LPzL:function(U,R,i){var y=i("ProS");i("QzjZ"),i("vL6D"),i("xiyX"),i("y4/Y"),i("8Th4"),y.extendComponentView({type:"single"})},LSTS:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y=function(){function s(r,c){for(var e=0;e<c.length;e++){var o=c[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}return function(r,c,e){return c&&s(r.prototype,c),e&&s(r,e),r}}(),m=i("q1tI"),E=f(m),p=i("17x9"),v=f(p);function f(s){return s&&s.__esModule?s:{default:s}}function d(s,r){var c={};for(var e in s){if(r.indexOf(e)>=0)continue;if(!Object.prototype.hasOwnProperty.call(s,e))continue;c[e]=s[e]}return c}function l(s,r){if(!(s instanceof r))throw new TypeError("Cannot call a class as a function")}function n(s,r){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:s}function t(s,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);s.prototype=Object.create(r&&r.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(s,r):s.__proto__=r)}var a=function(s){t(r,s);function r(c){l(this,r);var e=n(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,c));return e.scrollListener=e.scrollListener.bind(e),e.eventListenerOptions=e.eventListenerOptions.bind(e),e.mousewheelListener=e.mousewheelListener.bind(e),e}return y(r,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var e=this.getParentElement(this.scrollComponent);e.scrollTop=e.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var e=!1,o={get passive(){e=!0}};try{document.addEventListener("test",null,o),document.removeEventListener("test",null,o)}catch(u){}return e}},{key:"eventListenerOptions",value:function(){var e=this.props.useCapture;return this.isPassiveSupported()&&(e={useCapture:this.props.useCapture,passive:!0}),e}},{key:"setDefaultLoader",value:function(e){this.defaultLoader=e}},{key:"detachMousewheelListener",value:function(){var e=window;this.props.useWindow===!1&&(e=this.scrollComponent.parentNode),e.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var e=window;this.props.useWindow===!1&&(e=this.getParentElement(this.scrollComponent)),e.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),e.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(e){var o=this.props.getScrollParent&&this.props.getScrollParent();return o!=null?o:e&&e.parentNode}},{key:"filterProps",value:function(e){return e}},{key:"attachScrollListener",value:function(){var e=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!e)return;var o=window;this.props.useWindow===!1&&(o=e),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(e){e.deltaY===1&&!this.isPassiveSupported()&&e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,o=window,u=this.getParentElement(e),h=void 0;if(this.props.useWindow){var g=document.documentElement||document.body.parentNode||document.body,A=o.pageYOffset!==void 0?o.pageYOffset:g.scrollTop;this.props.isReverse?h=A:h=this.calculateOffset(e,A)}else this.props.isReverse?h=u.scrollTop:h=e.scrollHeight-u.scrollTop-u.clientHeight;h<Number(this.props.threshold)&&e&&e.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(e,o){return e?this.calculateTopPosition(e)+(e.offsetHeight-o-window.innerHeight):0}},{key:"calculateTopPosition",value:function(e){return e?e.offsetTop+this.calculateTopPosition(e.offsetParent):0}},{key:"render",value:function(){var e=this,o=this.filterProps(this.props),u=o.children,h=o.element,g=o.hasMore,A=o.initialLoad,w=o.isReverse,x=o.loader,C=o.loadMore,T=o.pageStart,O=o.ref,S=o.threshold,_=o.useCapture,L=o.useWindow,D=o.getScrollParent,F=d(o,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);F.ref=function(k){e.scrollComponent=k,O&&O(k)};var j=[u];return g&&(x?w?j.unshift(x):j.push(x):this.defaultLoader&&(w?j.unshift(this.defaultLoader):j.push(this.defaultLoader))),E.default.createElement(h,F,j)}}]),r}(m.Component);a.propTypes={children:v.default.node.isRequired,element:v.default.node,hasMore:v.default.bool,initialLoad:v.default.bool,isReverse:v.default.bool,loader:v.default.node,loadMore:v.default.func.isRequired,pageStart:v.default.number,ref:v.default.func,getScrollParent:v.default.func,threshold:v.default.number,useCapture:v.default.bool,useWindow:v.default.bool},a.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},R.default=a,U.exports=R.default},Lerx:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("Mds0"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},Llu2:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DeliveredProcedureOutlined";var d=R.a=m.forwardRef(f)},Lo0S:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.initLogging=f,R.getLogging=d,R.Error=R.Warn=R.Info=R.Debug=void 0;var y="warn",m=function(){};R.Debug=m;var E=function(){};R.Info=E;var p=function(){};R.Warn=p;var v=function(){};R.Error=v;function f(l){if(typeof l=="undefined"?l=y:y=l,R.Debug=m=R.Info=E=R.Warn=p=R.Error=v=function(){},typeof window.console!="undefined")switch(l){case"debug":R.Debug=m=console.debug.bind(window.console);case"info":R.Info=E=console.info.bind(window.console);case"warn":R.Warn=p=console.warn.bind(window.console);case"error":R.Error=v=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+l+"'")}}function d(){return y}f()},LtfV:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="InboxOutlined";var d=R.a=m.forwardRef(f)},Lyp1:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="QuestionCircleOutlined";var d=R.a=m.forwardRef(f)},LzGr:function(U,R,i){var y=i("ProS"),m=i("rnVJ");i("EMyp"),i("8x+h"),i("wt3j"),i("uOyE"),i("/stD"),y.registerPreprocessor(m)},MBQ8:function(U,R,i){var y=i("T4UG"),m=i("MwEJ"),E=y.extend({type:"series.__base_bar__",getInitialData:function(p,v){return m(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(p){var v=this.coordinateSystem;if(v){var f=v.dataToPoint(v.clampData(p)),d=this.getData(),l=d.getLayout("offset"),n=d.getLayout("size"),t=v.getBaseAxis().isHorizontal()?0:1;return f[t]+=l+n/2,f}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:{}}});U.exports=E},MEGo:function(U,R,i){var y=i("4fz+"),m=i("Dagg"),E=i("dqUG"),p=i("2fw6"),v=i("x6Kt"),f=i("rmlV"),d=i("yxFR"),l=i("y+Vt"),n=i("h7HQ"),t=i("1Jh7"),a=i("SKnc"),s=i("K2GJ"),r=i("Fofx"),c=i("NC18"),e=c.createFromString,o=i("bYtY"),u=o.isString,h=o.extend,g=o.defaults,A=o.trim,w=o.each,x=/[\s,]+/;function C(q){if(u(q)){var Y=new DOMParser;q=Y.parseFromString(q,"text/xml")}for(q.nodeType===9&&(q=q.firstChild);q.nodeName.toLowerCase()!=="svg"||q.nodeType!==1;)q=q.nextSibling;return q}function T(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}T.prototype.parse=function(q,Y){Y=Y||{};var re=C(q);if(!re)throw new Error("Illegal svg");var ne=new y;this._root=ne;var we=re.getAttribute("viewBox")||"",ie=parseFloat(re.getAttribute("width")||Y.width),me=parseFloat(re.getAttribute("height")||Y.height);isNaN(ie)&&(ie=null),isNaN(me)&&(me=null),j(re,ne,null,!0);for(var _e=re.firstChild;_e;)this._parseNode(_e,ne),_e=_e.nextSibling;var Te,We;if(we){var Ae=A(we).split(x);Ae.length>=4&&(Te={x:parseFloat(Ae[0]||0),y:parseFloat(Ae[1]||0),width:parseFloat(Ae[2]),height:parseFloat(Ae[3])})}if(Te&&ie!=null&&me!=null&&(We=X(Te,ie,me),!Y.ignoreViewBox)){var je=ne;ne=new y,ne.add(je),je.scale=We.scale.slice(),je.position=We.position.slice()}return!Y.ignoreRootClip&&ie!=null&&me!=null&&ne.setClipPath(new v({shape:{x:0,y:0,width:ie,height:me}})),{root:ne,width:ie,height:me,viewBoxRect:Te,viewBoxTransform:We}},T.prototype._parseNode=function(q,Y){var re=q.nodeName.toLowerCase();re==="defs"?this._isDefine=!0:re==="text"&&(this._isText=!0);var ne;if(this._isDefine){var we=S[re];if(we){var ie=we.call(this,q),me=q.getAttribute("id");me&&(this._defs[me]=ie)}}else{var we=O[re];we&&(ne=we.call(this,q,Y),Y.add(ne))}for(var _e=q.firstChild;_e;)_e.nodeType===1&&this._parseNode(_e,ne),_e.nodeType===3&&this._isText&&this._parseText(_e,ne),_e=_e.nextSibling;re==="defs"?this._isDefine=!1:re==="text"&&(this._isText=!1)},T.prototype._parseText=function(q,Y){if(q.nodeType===1){var re=q.getAttribute("dx")||0,ne=q.getAttribute("dy")||0;this._textX+=parseFloat(re),this._textY+=parseFloat(ne)}var we=new E({style:{text:q.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});L(Y,we),j(q,we,this._defs);var ie=we.style.fontSize;ie&&ie<9&&(we.style.fontSize=9,we.scale=we.scale||[1,1],we.scale[0]*=ie/9,we.scale[1]*=ie/9);var me=we.getBoundingRect();return this._textX+=me.width,Y.add(we),we};var O={g:function(Y,re){var ne=new y;return L(re,ne),j(Y,ne,this._defs),ne},rect:function(Y,re){var ne=new v;return L(re,ne),j(Y,ne,this._defs),ne.setShape({x:parseFloat(Y.getAttribute("x")||0),y:parseFloat(Y.getAttribute("y")||0),width:parseFloat(Y.getAttribute("width")||0),height:parseFloat(Y.getAttribute("height")||0)}),ne},circle:function(Y,re){var ne=new p;return L(re,ne),j(Y,ne,this._defs),ne.setShape({cx:parseFloat(Y.getAttribute("cx")||0),cy:parseFloat(Y.getAttribute("cy")||0),r:parseFloat(Y.getAttribute("r")||0)}),ne},line:function(Y,re){var ne=new d;return L(re,ne),j(Y,ne,this._defs),ne.setShape({x1:parseFloat(Y.getAttribute("x1")||0),y1:parseFloat(Y.getAttribute("y1")||0),x2:parseFloat(Y.getAttribute("x2")||0),y2:parseFloat(Y.getAttribute("y2")||0)}),ne},ellipse:function(Y,re){var ne=new f;return L(re,ne),j(Y,ne,this._defs),ne.setShape({cx:parseFloat(Y.getAttribute("cx")||0),cy:parseFloat(Y.getAttribute("cy")||0),rx:parseFloat(Y.getAttribute("rx")||0),ry:parseFloat(Y.getAttribute("ry")||0)}),ne},polygon:function(Y,re){var ne=Y.getAttribute("points");ne&&(ne=D(ne));var we=new n({shape:{points:ne||[]}});return L(re,we),j(Y,we,this._defs),we},polyline:function(Y,re){var ne=new l;L(re,ne),j(Y,ne,this._defs);var we=Y.getAttribute("points");we&&(we=D(we));var ie=new t({shape:{points:we||[]}});return ie},image:function(Y,re){var ne=new m;return L(re,ne),j(Y,ne,this._defs),ne.setStyle({image:Y.getAttribute("xlink:href"),x:Y.getAttribute("x"),y:Y.getAttribute("y"),width:Y.getAttribute("width"),height:Y.getAttribute("height")}),ne},text:function(Y,re){var ne=Y.getAttribute("x")||0,we=Y.getAttribute("y")||0,ie=Y.getAttribute("dx")||0,me=Y.getAttribute("dy")||0;this._textX=parseFloat(ne)+parseFloat(ie),this._textY=parseFloat(we)+parseFloat(me);var _e=new y;return L(re,_e),j(Y,_e,this._defs),_e},tspan:function(Y,re){var ne=Y.getAttribute("x"),we=Y.getAttribute("y");ne!=null&&(this._textX=parseFloat(ne)),we!=null&&(this._textY=parseFloat(we));var ie=Y.getAttribute("dx")||0,me=Y.getAttribute("dy")||0,_e=new y;return L(re,_e),j(Y,_e,this._defs),this._textX+=ie,this._textY+=me,_e},path:function(Y,re){var ne=Y.getAttribute("d")||"",we=e(ne);return L(re,we),j(Y,we,this._defs),we}},S={lineargradient:function(Y){var re=parseInt(Y.getAttribute("x1")||0,10),ne=parseInt(Y.getAttribute("y1")||0,10),we=parseInt(Y.getAttribute("x2")||10,10),ie=parseInt(Y.getAttribute("y2")||0,10),me=new a(re,ne,we,ie);return _(Y,me),me},radialgradient:function(Y){}};function _(q,Y){for(var re=q.firstChild;re;){if(re.nodeType===1){var ne=re.getAttribute("offset");ne.indexOf("%")>0?ne=parseInt(ne,10)/100:ne?ne=parseFloat(ne):ne=0;var we=re.getAttribute("stop-color")||"#000000";Y.addColorStop(ne,we)}re=re.nextSibling}}function L(q,Y){q&&q.__inheritedStyle&&(Y.__inheritedStyle||(Y.__inheritedStyle={}),g(Y.__inheritedStyle,q.__inheritedStyle))}function D(q){for(var Y=A(q).split(x),re=[],ne=0;ne<Y.length;ne+=2){var we=parseFloat(Y[ne]),ie=parseFloat(Y[ne+1]);re.push([we,ie])}return re}var F={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function j(q,Y,re,ne){var we=Y.__inheritedStyle||{},ie=Y.type==="text";if(q.nodeType===1&&(B(q,Y),h(we,z(q)),!ne)){for(var me in F)if(F.hasOwnProperty(me)){var _e=q.getAttribute(me);_e!=null&&(we[F[me]]=_e)}}var Te=ie?"textFill":"fill",We=ie?"textStroke":"stroke";Y.style=Y.style||new s;var Ae=Y.style;we.fill!=null&&Ae.set(Te,K(we.fill,re)),we.stroke!=null&&Ae.set(We,K(we.stroke,re)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(je){var ee=je==="lineWidth"&&ie?"textStrokeWidth":je;we[je]!=null&&Ae.set(ee,parseFloat(we[je]))}),(!we.textBaseline||we.textBaseline==="auto")&&(we.textBaseline="alphabetic"),we.textBaseline==="alphabetic"&&(we.textBaseline="bottom"),we.textAlign==="start"&&(we.textAlign="left"),we.textAlign==="end"&&(we.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(je){we[je]!=null&&Ae.set(je,we[je])}),we.lineDash&&(Y.style.lineDash=A(we.lineDash).split(x)),Ae[We]&&Ae[We]!=="none"&&(Y[We]=!0),Y.__inheritedStyle=we}var k=/url\(\s*#(.*?)\)/;function K(q,Y){var re=Y&&q&&q.match(k);if(re){var ne=A(re[1]),we=Y[ne];return we}return q}var Z=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function B(q,Y){var re=q.getAttribute("transform");if(re){re=re.replace(/,/g," ");var ne=null,we=[];re.replace(Z,function(Te,We,Ae){we.push(We,Ae)});for(var ie=we.length-1;ie>0;ie-=2){var me=we[ie],_e=we[ie-1];ne=ne||r.create();switch(_e){case"translate":me=A(me).split(x),r.translate(ne,ne,[parseFloat(me[0]),parseFloat(me[1]||0)]);break;case"scale":me=A(me).split(x),r.scale(ne,ne,[parseFloat(me[0]),parseFloat(me[1]||me[0])]);break;case"rotate":me=A(me).split(x),r.rotate(ne,ne,parseFloat(me[0]));break;case"skew":me=A(me).split(x),console.warn("Skew transform is not supported yet");break;case"matrix":var me=A(me).split(x);ne[0]=parseFloat(me[0]),ne[1]=parseFloat(me[1]),ne[2]=parseFloat(me[2]),ne[3]=parseFloat(me[3]),ne[4]=parseFloat(me[4]),ne[5]=parseFloat(me[5]);break}}Y.setLocalTransform(ne)}}var V=/([^\s:;]+)\s*:\s*([^:;]+)/g;function z(q){var Y=q.getAttribute("style"),re={};if(!Y)return re;var ne={};V.lastIndex=0;for(var we;(we=V.exec(Y))!=null;)ne[we[1]]=we[2];for(var ie in F)F.hasOwnProperty(ie)&&ne[ie]!=null&&(re[F[ie]]=ne[ie]);return re}function X(q,Y,re){var ne=Y/q.width,we=re/q.height,ie=Math.min(ne,we),me=[ie,ie],_e=[-(q.x+q.width/2)*ie+Y/2,-(q.y+q.height/2)*ie+re/2];return{scale:me,position:_e}}function W(q,Y){var re=new T;return re.parse(q,Y)}R.parseXML=C,R.makeViewBoxTransform=X,R.parseSVG=W},MFOe:function(U,R,i){(function(y){var m=f(),E=d(),p=l(),v=typeof window!="undefined"?window:y;U.exports={assign:m,create:E,trim:p,bind:n,slice:t,each:a,map:s,pluck:r,isList:c,isFunction:e,isObject:o,Global:v};function f(){return Object.assign?Object.assign:function(h,g,A,w){for(var x=1;x<arguments.length;x++)a(Object(arguments[x]),function(C,T){h[T]=C});return h}}function d(){if(Object.create)return function(g,A,w,x){var C=t(arguments,1);return m.apply(this,[Object.create(g)].concat(C))};var u=function(){};return function(g,A,w,x){var C=t(arguments,1);return u.prototype=g,m.apply(this,[new u].concat(C))}}function l(){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 n(u,h){return function(){return h.apply(u,Array.prototype.slice.call(arguments,0))}}function t(u,h){return Array.prototype.slice.call(u,h||0)}function a(u,h){r(u,function(g,A){return h(g,A),!1})}function s(u,h){var g=c(u)?[]:{};return r(u,function(A,w){return g[w]=h(A,w),!1}),g}function r(u,h){if(c(u)){for(var g=0;g<u.length;g++)if(h(u[g],g))return u[g]}else for(var A in u)if(u.hasOwnProperty(A)&&h(u[A],A))return u[A]}function c(u){return u!=null&&typeof u!="function"&&typeof u.length=="number"}function e(u){return u&&{}.toString.call(u)==="[object Function]"}function o(u){return u&&{}.toString.call(u)==="[object Object]"}}).call(this,i("yLpj"))},MH26:function(U,R,i){var y=i("bYtY"),m=i("YXkt"),E=i("OELB"),p=i("kj2x"),v=i("c8qY"),f=i("iPDy"),d=i("7hqr"),l=d.getStackedDimension,n=function(o,u,h,g){var A=o.getData(),w=g.type;if(!y.isArray(g)&&(w==="min"||w==="max"||w==="average"||w==="median"||g.xAxis!=null||g.yAxis!=null)){var x,C;if(g.yAxis!=null||g.xAxis!=null)x=u.getAxis(g.yAxis!=null?"y":"x"),C=y.retrieve(g.yAxis,g.xAxis);else{var T=p.getAxisInfo(g,A,u,o);x=T.valueAxis;var O=l(A,T.valueDataDim);C=p.numCalculate(A,O,w)}var S=x.dim==="x"?0:1,_=1-S,L=y.clone(g),D={};L.type=null,L.coord=[],D.coord=[],L.coord[_]=-Infinity,D.coord[_]=Infinity;var F=h.get("precision");F>=0&&typeof C=="number"&&(C=+C.toFixed(Math.min(F,20))),L.coord[S]=D.coord[S]=C,g=[L,D,{type:w,valueIndex:g.valueIndex,value:C}]}return g=[p.dataTransform(o,g[0]),p.dataTransform(o,g[1]),y.extend({},g[2])],g[2].type=g[2].type||"",y.merge(g[2],g[0]),y.merge(g[2],g[1]),g};function t(o){return!isNaN(o)&&!isFinite(o)}function a(o,u,h,g){var A=1-o,w=g.dimensions[o];return t(u[A])&&t(h[A])&&u[o]===h[o]&&g.getAxis(w).containData(u[o])}function s(o,u){if(o.type==="cartesian2d"){var h=u[0].coord,g=u[1].coord;if(h&&g&&(a(1,h,g,o)||a(0,h,g,o)))return!0}return p.dataFilter(o,u[0])&&p.dataFilter(o,u[1])}function r(o,u,h,g,A){var w=g.coordinateSystem,x=o.getItemModel(u),C,T=E.parsePercent(x.get("x"),A.getWidth()),O=E.parsePercent(x.get("y"),A.getHeight());if(!isNaN(T)&&!isNaN(O))C=[T,O];else{if(g.getMarkerPosition)C=g.getMarkerPosition(o.getValues(o.dimensions,u));else{var S=w.dimensions,_=o.get(S[0],u),L=o.get(S[1],u);C=w.dataToPoint([_,L])}if(w.type==="cartesian2d"){var D=w.getAxis("x"),F=w.getAxis("y"),S=w.dimensions;t(o.get(S[0],u))?C[0]=D.toGlobalCoord(D.getExtent()[h?0:1]):t(o.get(S[1],u))&&(C[1]=F.toGlobalCoord(F.getExtent()[h?0:1]))}isNaN(T)||(C[0]=T),isNaN(O)||(C[1]=O)}o.setItemLayout(u,C)}var c=f.extend({type:"markLine",updateTransform:function(o,u,h){u.eachSeries(function(g){var A=g.markLineModel;if(A){var w=A.getData(),x=A.__from,C=A.__to;x.each(function(T){r(x,T,!0,g,h),r(C,T,!1,g,h)}),w.each(function(T){w.setItemLayout(T,[x.getItemLayout(T),C.getItemLayout(T)])}),this.markerGroupMap.get(g.id).updateLayout()}},this)},renderSeries:function(o,u,h,g){var A=o.coordinateSystem,w=o.id,x=o.getData(),C=this.markerGroupMap,T=C.get(w)||C.set(w,new v);this.group.add(T.group);var O=e(A,o,u),S=O.from,_=O.to,L=O.line;u.__from=S,u.__to=_,u.setData(L);var D=u.get("symbol"),F=u.get("symbolSize");y.isArray(D)||(D=[D,D]),typeof F=="number"&&(F=[F,F]),O.from.each(function(k){j(S,k,!0),j(_,k,!1)}),L.each(function(k){var K=L.getItemModel(k).get("lineStyle.color");L.setItemVisual(k,{color:K||S.getItemVisual(k,"color")}),L.setItemLayout(k,[S.getItemLayout(k),_.getItemLayout(k)]),L.setItemVisual(k,{fromSymbolSize:S.getItemVisual(k,"symbolSize"),fromSymbol:S.getItemVisual(k,"symbol"),toSymbolSize:_.getItemVisual(k,"symbolSize"),toSymbol:_.getItemVisual(k,"symbol")})}),T.updateData(L),O.line.eachItemGraphicEl(function(k,K){k.traverse(function(Z){Z.dataModel=u})});function j(k,K,Z){var B=k.getItemModel(K);r(k,K,Z,o,g),k.setItemVisual(K,{symbolSize:B.get("symbolSize")||F[Z?0:1],symbol:B.get("symbol",!0)||D[Z?0:1],color:B.get("itemStyle.color")||x.getVisual("color")})}T.__keep=!0,T.group.silent=u.get("silent")||o.get("silent")}});function e(o,u,h){var g;o?g=y.map(o&&o.dimensions,function(O){var S=u.getData().getDimensionInfo(u.getData().mapDimension(O))||{};return y.defaults({name:O},S)}):g=[{name:"value",type:"float"}];var A=new m(g,h),w=new m(g,h),x=new m([],h),C=y.map(h.get("data"),y.curry(n,u,o,h));o&&(C=y.filter(C,y.curry(s,o)));var T=o?p.dimValueGetter:function(O){return O.value};return A.initData(y.map(C,function(O){return O[0]}),null,T),w.initData(y.map(C,function(O){return O[1]}),null,T),x.initData(y.map(C,function(O){return O[2]})),x.hasItemOption=!0,{from:A,to:w,line:x}}U.exports=c},MHoB:function(U,R,i){var y=i("bYtY"),m=i("6uqw"),E=i("OELB"),p=[20,140],v=m.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(l,n){v.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){v.superApply(this,"resetItemSize",arguments);var l=this.itemSize;this._orient==="horizontal"&&l.reverse(),(l[0]==null||isNaN(l[0]))&&(l[0]=p[0]),(l[1]==null||isNaN(l[1]))&&(l[1]=p[1])},_resetRange:function(){var l=this.getExtent(),n=this.option.range;!n||n.auto?(l.auto=1,this.option.range=l):y.isArray(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],l[0]),n[1]=Math.min(n[1],l[1]))},completeVisualOption:function(){m.prototype.completeVisualOption.apply(this,arguments),y.each(this.stateList,function(l){var n=this.option.controller[l].symbolSize;n&&n[0]!==n[1]&&(n[0]=0)},this)},setSelected:function(l){this.option.range=l.slice(),this._resetRange()},getSelected:function(){var l=this.getExtent(),n=E.asc((this.get("range")||[]).slice());return n[0]>l[1]&&(n[0]=l[1]),n[1]>l[1]&&(n[1]=l[1]),n[0]<l[0]&&(n[0]=l[0]),n[1]<l[0]&&(n[1]=l[0]),n},getValueState:function(l){var n=this.option.range,t=this.getExtent();return(n[0]<=t[0]||n[0]<=l)&&(n[1]>=t[1]||l<=n[1])?"inRange":"outOfRange"},findTargetDataIndices:function(l){var n=[];return this.eachTargetSeries(function(t){var a=[],s=t.getData();s.each(this.getDataDimension(s),function(r,c){l[0]<=r&&r<=l[1]&&a.push(c)},this),n.push({seriesId:t.id,dataIndex:a})},this),n},getVisualMeta:function(l){var n=f(this,"outOfRange",this.getExtent()),t=f(this,"inRange",this.option.range.slice()),a=[];function s(g,A){a.push({value:g,color:l(g,A)})}for(var r=0,c=0,e=t.length,o=n.length;c<o&&(!t.length||n[c]<=t[0]);c++)n[c]<t[r]&&s(n[c],"outOfRange");for(var u=1;r<e;r++,u=0)u&&a.length&&s(t[r],"outOfRange"),s(t[r],"inRange");for(var u=1;c<o;c++)(!t.length||t[t.length-1]<n[c])&&(u&&(a.length&&s(a[a.length-1].value,"outOfRange"),u=0),s(n[c],"outOfRange"));var h=a.length;return{stops:a,outerColors:[h?a[0].color:"transparent",h?a[h-1].color:"transparent"]}}});function f(l,n,t){if(t[0]===t[1])return t.slice();for(var a=200,s=(t[1]-t[0])/a,r=t[0],c=[],e=0;e<=a&&r<t[1];e++)c.push(r),r+=s;return c.push(t[1]),c}var d=v;U.exports=d},MHtr:function(U,R,i){var y=i("bYtY");function m(p,v){var f=this.getAxis(),d=v instanceof Array?v[0]:v,l=(p instanceof Array?p[0]:p)/2;return f.type==="category"?f.getBandWidth():Math.abs(f.dataToCoord(d-l)-f.dataToCoord(d+l))}function E(p){var v=p.getRect();return{coordSys:{type:"singleAxis",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(f){return p.dataToPoint(f)},size:y.bind(m,p)}}}U.exports=E},MJZm:function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i("fAei"),d=i("TSYQ"),l=i.n(d),n=i("RIqP"),t=i.n(n),a=i("J4zp"),s=i.n(a),r=i("sEfC"),c=i.n(r),e=i("OZM5"),o=i("815F"),u=i("vk+C"),h=i.n(u),g=i("Vy0f"),A=i.n(g),w=i("kGiB"),x=i.n(w),C=i("H84U"),T;(function(W){W[W.None=0]="None",W[W.Start=1]="Start",W[W.End=2]="End"})(T||(T={}));function O(W,q){function Y(re){var ne=re.key,we=re.children;q(ne,re)!==!1&&O(we||[],q)}W.forEach(Y)}function S(W){var q=W.treeData,Y=W.expandedKeys,re=W.startKey,ne=W.endKey,we=[],ie=T.None;if(re&&re===ne)return[re];if(!re||!ne)return[];function me(_e){return _e===re||_e===ne}return O(q,function(_e){if(ie===T.End)return!1;if(me(_e)){if(we.push(_e),ie===T.None)ie=T.Start;else if(ie===T.Start)return ie=T.End,!1}else ie===T.Start&&we.push(_e);return!(Y.indexOf(_e)===-1)}),we}function _(W,q){var Y=t()(q),re=[];return O(W,function(ne,we){var ie=Y.indexOf(ne);return ie!==-1&&(re.push(we),Y.splice(ie,1)),!!Y.length}),re}var L=function(W,q){var Y={};for(var re in W)Object.prototype.hasOwnProperty.call(W,re)&&q.indexOf(re)<0&&(Y[re]=W[re]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,re=Object.getOwnPropertySymbols(W);ne<re.length;ne++)q.indexOf(re[ne])<0&&Object.prototype.propertyIsEnumerable.call(W,re[ne])&&(Y[re[ne]]=W[re[ne]]);return Y};function D(W){var q=W.isLeaf,Y=W.expanded;return q?v.createElement(h.a,null):Y?v.createElement(A.a,null):v.createElement(x.a,null)}function F(W){var q=W.treeData,Y=W.children;return q||Object(o.c)(Y)}var j=function(q,Y){var re=q.defaultExpandAll,ne=q.defaultExpandParent,we=q.defaultExpandedKeys,ie=L(q,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),me=v.useRef(),_e=v.useRef(),Te=v.createRef();v.useImperativeHandle(Y,function(){return Te.current});var We=function(){var Bt=Object(o.a)(F(ie)),Pt=Bt.keyEntities,jt;return re?jt=Object.keys(Pt):ne?jt=Object(e.e)(ie.expandedKeys||we,Pt):jt=ie.expandedKeys||we,jt},Ae=v.useState(ie.selectedKeys||ie.defaultSelectedKeys||[]),je=s()(Ae,2),ee=je[0],he=je[1],Ze=v.useState(We()),oe=s()(Ze,2),Q=oe[0],G=oe[1];v.useEffect(function(){"selectedKeys"in ie&&he(ie.selectedKeys)},[ie.selectedKeys]),v.useEffect(function(){"expandedKeys"in ie&&G(ie.expandedKeys)},[ie.expandedKeys]);var te=function(Bt,Pt){var jt=Pt.isLeaf;if(jt||Bt.shiftKey||Bt.metaKey||Bt.ctrlKey)return;Te.current.onNodeExpand(Bt,Pt)},xe=c()(te,200,{leading:!0}),fe=function(Bt,Pt){return"expandedKeys"in ie||G(Bt),ie.onExpand?ie.onExpand(Bt,Pt):void 0},Be=function(Bt,Pt){var jt=ie.expandAction;jt==="click"&&xe(Bt,Pt),ie.onClick&&ie.onClick(Bt,Pt)},Ne=function(Bt,Pt){var jt=ie.expandAction;jt==="doubleClick"&&xe(Bt,Pt),ie.onDoubleClick&&ie.onDoubleClick(Bt,Pt)},de=function(Bt,Pt){var jt=ie.multiple,er=Pt.node,at=Pt.nativeEvent,Ce=er.key,ue=Ce===void 0?"":Ce,Dt=F(ie),rt=p()(p()({},Pt),{selected:!0}),ye=at.ctrlKey||at.metaKey,Xt=at.shiftKey,pr;jt&&ye?(pr=Bt,me.current=ue,_e.current=pr,rt.selectedNodes=_(Dt,pr)):jt&&Xt?(pr=Array.from(new Set([].concat(t()(_e.current||[]),t()(S({treeData:Dt,expandedKeys:Q,startKey:ue,endKey:me.current}))))),rt.selectedNodes=_(Dt,pr)):(pr=[ue],me.current=ue,_e.current=pr,rt.selectedNodes=_(Dt,pr)),ie.onSelect&&ie.onSelect(pr,rt),"selectedKeys"in ie||he(pr)},ve=v.useContext(C.b),Me=ve.getPrefixCls,qe=ve.direction,gt=ie.prefixCls,ht=ie.className,Pe=L(ie,["prefixCls","className"]),It=Me("tree",gt),nt=l()("".concat(It,"-directory"),ht,m()({},"".concat(It,"-directory-rtl"),qe==="rtl"));return v.createElement(z,p()({icon:D,ref:Te,blockNode:!0},Pe,{prefixCls:It,className:nt,expandedKeys:Q,selectedKeys:ee,onSelect:de,onClick:Be,onDoubleClick:Ne,onExpand:fe}))},k=v.forwardRef(j);k.displayName="DirectoryTree",k.defaultProps={showIcon:!0,expandAction:"click"};var K=k,Z=i("EXcs"),B=i("2jpz"),V=v.forwardRef(function(W,q){var Y,re=v.useContext(C.b),ne=re.getPrefixCls,we=re.direction,ie=re.virtual,me=W.prefixCls,_e=W.className,Te=W.showIcon,We=W.showLine,Ae=W.switcherIcon,je=W.blockNode,ee=W.children,he=W.checkable,Ze=p()(p()({},W),{showLine:Boolean(We)}),oe=ne("tree",me);return v.createElement(f.b,p()({itemHeight:20,ref:q,virtual:ie},Ze,{prefixCls:oe,className:l()(_e,(Y={},m()(Y,"".concat(oe,"-icon-hide"),!Te),m()(Y,"".concat(oe,"-block-node"),je),m()(Y,"".concat(oe,"-rtl"),we==="rtl"),Y)),checkable:he&&v.createElement("span",{className:"".concat(oe,"-checkbox-inner")}),switcherIcon:function(G){return Object(B.a)(oe,Ae,We,G)}}),ee)});V.TreeNode=f.a,V.DirectoryTree=K,V.defaultProps={checkable:!1,showIcon:!1,motion:p()(p()({},Z.a),{motionAppear:!1}),blockNode:!1};var z=V,X=R.a=z},MKOG:function(U,R,i){var y=i("bYtY"),m=i("YH21"),E=m.Dispatcher,p=i("mLcG"),v=i("Bq2U"),f=function(n){n=n||{},this.stage=n.stage||{},this.onframe=n.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,E.call(this)};f.prototype={constructor:f,addClip:function(n){this._clips.push(n)},addAnimator:function(n){n.animation=this;for(var t=n.getClips(),a=0;a<t.length;a++)this.addClip(t[a])},removeClip:function(n){var t=y.indexOf(this._clips,n);t>=0&&this._clips.splice(t,1)},removeAnimator:function(n){for(var t=n.getClips(),a=0;a<t.length;a++)this.removeClip(t[a]);n.animation=null},_update:function(){for(var n=new Date().getTime()-this._pausedTime,t=n-this._time,a=this._clips,s=a.length,r=[],c=[],e=0;e<s;e++){var o=a[e],u=o.step(n,t);u&&(r.push(u),c.push(o))}for(var e=0;e<s;)a[e]._needsRemove?(a[e]=a[s-1],a.pop(),s--):e++;s=r.length;for(var e=0;e<s;e++)c[e].fire(r[e]);this._time=n,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){var n=this;this._running=!0;function t(){n._running&&(p(t),!n._paused&&n._update())}p(t)},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(n,t){t=t||{};var a=new v(n,t.loop,t.getter,t.setter);return this.addAnimator(a),a}},y.mixin(f,E);var d=f;U.exports=d},MRoa:function(U,R,i){var y=i("ProS");i("0Bwj"),i("W2nI"),i("vcCh");var m=i("gawk"),E=i("Dg8C");y.registerLayout(m),y.registerVisual(E)},MT78:function(U,R,i){var y=i("ProS");(function(){for(var E in y){if(y==null||!y.hasOwnProperty(E)||E==="default"||E==="__esModule")return;R[E]=y[E]}})();var m=i("txkQ");(function(){for(var E in m){if(m==null||!m.hasOwnProperty(E)||E==="default"||E==="__esModule")return;R[E]=m[E]}})(),i("A1Ka"),i("75ce"),i("lLGD"),i("wDdD"),i("Fa/5"),i("jett"),i("Z1wy"),i("75ev"),i("2uGb"),i("I+77"),i("B+YJ"),i("pLH3"),i("CBdT"),i("MRoa"),i("+lIL"),i("CF2D"),i("ERHi"),i("p+If"),i("XOKv"),i("qt/9"),i("bBL8"),i("1xaR"),i("4Feb"),i("zRKj"),i("L3Oj"),i("0HBW"),i("LPzL"),i("8waO"),i("k5C7"),i("f1nB"),i("sRwP"),i("AH3D"),i("y4/Y"),i("LzGr"),i("Ynxi"),i("7pVf"),i("2w7y"),i("laiN"),i("fjKi"),i("C0tN"),i("0o9m"),i("Cm0C"),i("f3JH"),i("5NHt"),i("VFCP"),i("dBmv"),i("KamJ"),i("8XDt"),i("juDX")},MXD1:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("Kvyg"),p=i.n(E)},MZdM:function(U,R,i){"use strict";function y(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(e){return typeof e}:y=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(r)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=l(i("Lo0S")),E=f(i("N/zr")),p=i("GdRQ"),v=i("GQ8N");function f(r){return r&&r.__esModule?r:{default:r}}function d(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return d=function(){return r},r}function l(r){if(r&&r.__esModule)return r;if(r===null||y(r)!=="object"&&typeof r!="function")return{default:r};var c=d();if(c&&c.has(r))return c.get(r);var e={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var h=o?Object.getOwnPropertyDescriptor(r,u):null;h&&(h.get||h.set)?Object.defineProperty(e,u,h):e[u]=r[u]}return e.default=r,c&&c.set(r,e),e}function n(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")}function t(r,c){for(var e=0;e<c.length;e++){var o=c[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}function a(r,c,e){return c&&t(r.prototype,c),e&&t(r,e),r}var s=function(){function r(c){if(n(this,r),this._drawCtx=null,this._renderQ=[],this._flushing=!1,this._fbWidth=0,this._fbHeight=0,this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tileX=0,this._tileY=0,m.Debug(">> Display.constructor"),this._target=c,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},m.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),m.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return a(r,[{key:"viewportChangePos",value:function(e,o){var u=this._viewportLoc;e=Math.floor(e),o=Math.floor(o),this._clipViewport||(e=-u.w,o=-u.h);var h=u.x+u.w-1,g=u.y+u.h-1;if(e<0&&u.x+e<0&&(e=-u.x),h+e>=this._fbWidth&&(e-=h+e-this._fbWidth+1),u.y+o<0&&(o=-u.y),g+o>=this._fbHeight&&(o-=g+o-this._fbHeight+1),e===0&&o===0)return;m.Debug("viewportChange deltaX: "+e+", deltaY: "+o),u.x+=e,u.y+=o,this._damage(u.x,u.y,u.w,u.h),this.flip()}},{key:"viewportChangeSize",value:function(e,o){(!this._clipViewport||typeof e=="undefined"||typeof o=="undefined")&&(m.Debug("Setting viewport to full display region"),e=this._fbWidth,o=this._fbHeight),e=Math.floor(e),o=Math.floor(o),e>this._fbWidth&&(e=this._fbWidth),o>this._fbHeight&&(o=this._fbHeight);var u=this._viewportLoc;if(u.w!==e||u.h!==o){u.w=e,u.h=o;var h=this._target;h.width=e,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(e){return this._scale===0?0:(0,v.toSigned32bit)(e/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(e){return this._scale===0?0:(0,v.toSigned32bit)(e/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(e,o){this._prevDrawStyle="",this._fbWidth=e,this._fbHeight=o;var u=this._backbuffer;if(u.width!==e||u.height!==o){var h=null;u.width>0&&u.height>0&&(h=this._drawCtx.getImageData(0,0,u.width,u.height)),u.width!==e&&(u.width=e),u.height!==o&&(u.height=o),h&&this._drawCtx.putImageData(h,0,0)}var g=this._viewportLoc;this.viewportChangeSize(g.w,g.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(e,o,u,h){e<this._damageBounds.left&&(this._damageBounds.left=e),o<this._damageBounds.top&&(this._damageBounds.top=o),e+u>this._damageBounds.right&&(this._damageBounds.right=e+u),o+h>this._damageBounds.bottom&&(this._damageBounds.bottom=o+h)}},{key:"flip",value:function(e){if(this._renderQ.length!==0&&!e)this._renderQPush({type:"flip"});else{var o=this._damageBounds.left,u=this._damageBounds.top,h=this._damageBounds.right-o,g=this._damageBounds.bottom-u,A=o-this._viewportLoc.x,w=u-this._viewportLoc.y;A<0&&(h+=A,o-=A,A=0),w<0&&(g+=w,u-=w,w=0),A+h>this._viewportLoc.w&&(h=this._viewportLoc.w-A),w+g>this._viewportLoc.h&&(g=this._viewportLoc.h-w),h>0&&g>0&&this._targetCtx.drawImage(this._backbuffer,o,u,h,g,A,w,h,g),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(e,o,u,h,g,A){this._renderQ.length!==0&&!A?this._renderQPush({type:"fill",x:e,y:o,width:u,height:h,color:g}):(this._setFillColor(g),this._drawCtx.fillRect(e,o,u,h),this._damage(e,o,u,h))}},{key:"copyImage",value:function(e,o,u,h,g,A,w){this._renderQ.length!==0&&!w?this._renderQPush({type:"copy",oldX:e,oldY:o,x:u,y:h,width:g,height:A}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,e,o,g,A,u,h,g,A),this._damage(u,h,g,A))}},{key:"imageRect",value:function(e,o,u,h,g,A){if(u===0||h===0)return;var w=new Image;w.src="data: "+g+";base64,"+E.default.encode(A),this._renderQPush({type:"img",img:w,x:e,y:o,width:u,height:h})}},{key:"startTile",value:function(e,o,u,h,g){this._tileX=e,this._tileY=o,u===16&&h===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,h);for(var A=g[2],w=g[1],x=g[0],C=this._tile.data,T=0;T<u*h*4;T+=4)C[T]=A,C[T+1]=w,C[T+2]=x,C[T+3]=255}},{key:"subTile",value:function(e,o,u,h,g){for(var A=g[2],w=g[1],x=g[0],C=e+u,T=o+h,O=this._tile.data,S=this._tile.width,_=o;_<T;_++)for(var L=e;L<C;L++){var D=(L+_*S)*4;O[D]=A,O[D+1]=w,O[D+2]=x,O[D+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(e,o,u,h,g,A,w){if(this._renderQ.length!==0&&!w){var x=new Uint8Array(u*h*4);x.set(new Uint8Array(g.buffer,0,x.length)),this._renderQPush({type:"blit",data:x,x:e,y:o,width:u,height:h})}else this._bgrxImageData(e,o,u,h,g,A)}},{key:"blitRgbImage",value:function(e,o,u,h,g,A,w){if(this._renderQ.length!==0&&!w){var x=new Uint8Array(u*h*3);x.set(new Uint8Array(g.buffer,0,x.length)),this._renderQPush({type:"blitRgb",data:x,x:e,y:o,width:u,height:h})}else this._rgbImageData(e,o,u,h,g,A)}},{key:"blitRgbxImage",value:function(e,o,u,h,g,A,w){if(this._renderQ.length!==0&&!w){var x=new Uint8Array(u*h*4);x.set(new Uint8Array(g.buffer,0,x.length)),this._renderQPush({type:"blitRgbx",data:x,x:e,y:o,width:u,height:h})}else this._rgbxImageData(e,o,u,h,g,A)}},{key:"drawImage",value:function(e,o,u){this._drawCtx.drawImage(e,o,u),this._damage(o,u,e.width,e.height)}},{key:"autoscale",value:function(e,o){var u;if(e===0||o===0)u=0;else{var h=this._viewportLoc,g=e/o,A=h.w/h.h;A>=g?u=e/h.w:u=o/h.h}this._rescale(u)}},{key:"_rescale",value:function(e){this._scale=e;var o=this._viewportLoc,u=e*o.w+"px",h=e*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(e){var o="rgb("+e[2]+","+e[1]+","+e[0]+")";o!==this._prevDrawStyle&&(this._drawCtx.fillStyle=o,this._prevDrawStyle=o)}},{key:"_rgbImageData",value:function(e,o,u,h,g,A){for(var w=this._drawCtx.createImageData(u,h),x=w.data,C=0,T=A;C<u*h*4;C+=4,T+=3)x[C]=g[T],x[C+1]=g[T+1],x[C+2]=g[T+2],x[C+3]=255;this._drawCtx.putImageData(w,e,o),this._damage(e,o,w.width,w.height)}},{key:"_bgrxImageData",value:function(e,o,u,h,g,A){for(var w=this._drawCtx.createImageData(u,h),x=w.data,C=0,T=A;C<u*h*4;C+=4,T+=4)x[C]=g[T+2],x[C+1]=g[T+1],x[C+2]=g[T],x[C+3]=255;this._drawCtx.putImageData(w,e,o),this._damage(e,o,w.width,w.height)}},{key:"_rgbxImageData",value:function(e,o,u,h,g,A){var w;p.supportsImageMetadata?w=new ImageData(new Uint8ClampedArray(g.buffer,g.byteOffset,u*h*4),u,h):(w=this._drawCtx.createImageData(u,h),w.data.set(new Uint8ClampedArray(g.buffer,g.byteOffset,u*h*4))),this._drawCtx.putImageData(w,e,o),this._damage(e,o,w.width,w.height)}},{key:"_renderQPush",value:function(e){this._renderQ.push(e),this._renderQ.length===1&&this._scanRenderQ()}},{key:"_resumeRenderQ",value:function(){this.removeEventListener("load",this._noVNCDisplay._resumeRenderQ),this._noVNCDisplay._scanRenderQ()}},{key:"_scanRenderQ",value:function(){for(var e=!0;e&&this._renderQ.length>0;){var 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){m.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),e=!1;break}e&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(e){this._rescale(e)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(e){this._clipViewport=e;var 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}}]),r}();R.default=s},Mdki:function(U,R,i){var y=i("bYtY"),m=y.each,E="\0__link_datas",p="\0__link_mainData";function v(c){var e=c.mainData,o=c.datas;o||(o={main:e},c.datasAttr={main:"data"}),c.datas=c.mainData=null,a(e,o,c),m(o,function(u){m(e.TRANSFERABLE_METHODS,function(h){u.wrapMethod(h,y.curry(f,c))})}),e.wrapMethod("cloneShallow",y.curry(l,c)),m(e.CHANGABLE_METHODS,function(u){e.wrapMethod(u,y.curry(d,c))}),y.assert(o[e.dataType]===e)}function f(c,e){if(t(this)){var o=y.extend({},this[E]);o[this.dataType]=e,a(e,o,c)}else s(e,this.dataType,this[p],c);return e}function d(c,e){return c.struct&&c.struct.update(this),e}function l(c,e){return m(e[E],function(o,u){o!==e&&s(o.cloneShallow(),u,e,c)}),e}function n(c){var e=this[p];return c==null||e==null?e:e[E][c]}function t(c){return c[p]===c}function a(c,e,o){c[E]={},m(e,function(u,h){s(u,h,c,o)})}function s(c,e,o,u){o[E][e]=c,c[p]=o,c.dataType=e,u.struct&&(c[u.structAttr]=u.struct,u.struct[u.datasAttr[e]]=c),c.getLinkedData=n}var r=v;U.exports=r},Mds0:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("8IMR")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="StarFilled";var l=p.forwardRef(d);R.default=l},Mgri:function(U,R,i){for(var y=i("bYtY"),m=i("8nly"),E=[126,25],p=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],v=0;v<p.length;v++)for(var f=0;f<p[v].length;f++)p[v][f][0]/=10.5,p[v][f][1]/=-10.5/.75,p[v][f][0]+=E[0],p[v][f][1]+=E[1];function d(l,n){l==="china"&&n.push(new m("\u5357\u6D77\u8BF8\u5C9B",y.map(p,function(t){return{type:"polygon",exterior:t}}),E))}U.exports=d},Mmt2:function(U,R,i){"use strict";function y(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(r){return typeof r}:y=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},y(a)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=p(i("Lo0S"));function E(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return E=function(){return a},a}function p(a){if(a&&a.__esModule)return a;if(a===null||y(a)!=="object"&&typeof a!="function")return{default:a};var s=E();if(s&&s.has(a))return s.get(a);var r={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in a)if(Object.prototype.hasOwnProperty.call(a,e)){var o=c?Object.getOwnPropertyDescriptor(a,e):null;o&&(o.get||o.set)?Object.defineProperty(r,e,o):r[e]=a[e]}return r.default=a,s&&s.set(a,r),r}function v(a,s){if(!(a instanceof s))throw new TypeError("Cannot call a class as a function")}function f(a,s){for(var r=0;r<s.length;r++){var c=s[r];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}}function d(a,s,r){return s&&f(a.prototype,s),r&&f(a,r),a}var l=!1,n=40*1024*1024,t=function(){function a(){v(this,a),this._websocket=null,this._rQi=0,this._rQlen=0,this._rQbufferSize=1024*1024*4,this._rQ=null,this._sQbufferSize=1024*10,this._sQlen=0,this._sQ=null,this._eventHandlers={message:function(){},open:function(){},close:function(){},error:function(){}}}return d(a,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(r){this._rQi+=r}},{key:"rQshift8",value:function(){return this._rQshift(1)}},{key:"rQshift16",value:function(){return this._rQshift(2)}},{key:"rQshift32",value:function(){return this._rQshift(4)}},{key:"_rQshift",value:function(r){for(var c=0,e=r-1;e>=0;e--)c+=this._rQ[this._rQi++]<<e*8;return c}},{key:"rQshiftStr",value:function(r){typeof r=="undefined"&&(r=this.rQlen);for(var c="",e=0;e<r;e+=4096){var o=this.rQshiftBytes(Math.min(4096,r-e));c+=String.fromCharCode.apply(null,o)}return c}},{key:"rQshiftBytes",value:function(r){return typeof r=="undefined"&&(r=this.rQlen),this._rQi+=r,new Uint8Array(this._rQ.buffer,this._rQi-r,r)}},{key:"rQshiftTo",value:function(r,c){c===void 0&&(c=this.rQlen),r.set(new Uint8Array(this._rQ.buffer,this._rQi,c)),this._rQi+=c}},{key:"rQslice",value:function(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+r,c-r)}},{key:"rQwait",value:function(r,c,e){if(this.rQlen<c){if(e){if(this._rQi<e)throw new Error("rQwait cannot backup "+e+" bytes");this._rQi-=e}return!0}return!1}},{key:"flush",value:function(){this._sQlen>0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(r){this._sQ.set(r,this._sQlen),this._sQlen+=r.length,this.flush()}},{key:"sendString",value:function(r){this.send(r.split("").map(function(c){return c.charCodeAt(0)}))}},{key:"off",value:function(r){this._eventHandlers[r]=function(){}}},{key:"on",value:function(r,c){this._eventHandlers[r]=c}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(r,c){var e=this;this.init(),this._websocket=new WebSocket(r,c),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){m.Debug(">> WebSock.onopen"),e._websocket.protocol&&m.Info("Server choose sub-protocol: "+e._websocket.protocol),e._eventHandlers.open(),m.Debug("<< WebSock.onopen")},this._websocket.onclose=function(o){m.Debug(">> WebSock.onclose"),e._eventHandlers.close(o),m.Debug("<< WebSock.onclose")},this._websocket.onerror=function(o){m.Debug(">> WebSock.onerror: "+o),e._eventHandlers.error(o),m.Debug("<< WebSock.onerror: "+o)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(m.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(r){var c=(this._rQlen-this._rQi+r)*8,e=this._rQbufferSize<c;if(e&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,c)),this._rQbufferSize>n&&(this._rQbufferSize=n,this._rQbufferSize-this.rQlen<r))throw new Error("Receive Queue buffer exceeded "+n+" bytes, and the new message could not fit");if(e){var o=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(o,this._rQi,this._rQlen-this._rQi))}else l?this._rQ.copyWithin(0,this._rQi,this._rQlen):this._rQ.set(new Uint8Array(this._rQ.buffer,this._rQi,this._rQlen-this._rQi));this._rQlen=this._rQlen-this._rQi,this._rQi=0}},{key:"_DecodeMessage",value:function(r){var c=new Uint8Array(r);c.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(c.length),this._rQ.set(c,this._rQlen),this._rQlen+=c.length}},{key:"_recvMessage",value:function(r){this._DecodeMessage(r.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):m.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(r){this._rQi=r}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),a}();R.default=t},MqEG:function(U,R,i){var y=i("bYtY"),m=i("fc+c"),E=i("72pK"),p=i("VXYp"),v=y.bind,f=m.extend({type:"dataZoom.inside",init:function(a,s){this._range},render:function(a,s,r,c){f.superApply(this,"render",arguments),this._range=a.getPercentRange(),y.each(this.getTargetCoordInfo(),function(e,o){var u=y.map(e,function(h){return p.generateCoordId(h.model)});y.each(e,function(h){var g=h.model,A={};y.each(["pan","zoom","scrollMove"],function(w){A[w]=v(d[w],this,h,o)},this),p.register(r,{coordId:p.generateCoordId(g),allCoordIds:u,containsPoint:function(w,x,C){return g.coordinateSystem.containPoint([x,C])},dataZoomId:a.id,dataZoomModel:a,getRange:A})},this)},this)},dispose:function(){p.unregister(this.api,this.dataZoomModel.id),f.superApply(this,"dispose",arguments),this._range=null}}),d={zoom:function(a,s,r,c){var e=this._range,o=e.slice(),u=a.axisModels[0];if(!u)return;var h=n[s](null,[c.originX,c.originY],u,r,a),g=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(o[1]-o[0])+o[0],A=Math.max(1/c.scale,0);o[0]=(o[0]-g)*A+g,o[1]=(o[1]-g)*A+g;var w=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(E(0,o,[0,100],0,w.minSpan,w.maxSpan),this._range=o,e[0]!==o[0]||e[1]!==o[1])return o},pan:l(function(a,s,r,c,e,o){var u=n[c]([o.oldX,o.oldY],[o.newX,o.newY],s,e,r);return u.signal*(a[1]-a[0])*u.pixel/u.pixelLength}),scrollMove:l(function(a,s,r,c,e,o){var u=n[c]([0,0],[o.scrollDelta,o.scrollDelta],s,e,r);return u.signal*(a[1]-a[0])*o.scrollDelta})};function l(a){return function(s,r,c,e){var o=this._range,u=o.slice(),h=s.axisModels[0];if(!h)return;var g=a(u,h,s,r,c,e);if(E(g,u,[0,100],"all"),this._range=u,o[0]!==u[0]||o[1]!==u[1])return u}}var n={grid:function(a,s,r,c,e){var o=r.axis,u={},h=e.model.coordinateSystem.getRect();return a=a||[0,0],o.dim==="x"?(u.pixel=s[0]-a[0],u.pixelLength=h.width,u.pixelStart=h.x,u.signal=o.inverse?1:-1):(u.pixel=s[1]-a[1],u.pixelLength=h.height,u.pixelStart=h.y,u.signal=o.inverse?-1:1),u},polar:function(a,s,r,c,e){var o=r.axis,u={},h=e.model.coordinateSystem,g=h.getRadiusAxis().getExtent(),A=h.getAngleAxis().getExtent();return a=a?h.pointToCoord(a):[0,0],s=h.pointToCoord(s),r.mainType==="radiusAxis"?(u.pixel=s[0]-a[0],u.pixelLength=g[1]-g[0],u.pixelStart=g[0],u.signal=o.inverse?1:-1):(u.pixel=s[1]-a[1],u.pixelLength=A[1]-A[0],u.pixelStart=A[0],u.signal=o.inverse?-1:1),u},singleAxis:function(a,s,r,c,e){var o=r.axis,u=e.model.coordinateSystem.getRect(),h={};return a=a||[0,0],o.orient==="horizontal"?(h.pixel=s[0]-a[0],h.pixelLength=u.width,h.pixelStart=u.x,h.signal=o.inverse?1:-1):(h.pixel=s[1]-a[1],h.pixelLength=u.height,h.pixelStart=u.y,h.signal=o.inverse?-1:1),h}},t=f;U.exports=t},MwEJ:function(U,R,i){var y=i("bYtY"),m=i("YXkt"),E=i("sdST"),p=i("k9D9"),v=p.SOURCE_FORMAT_ORIGINAL,f=i("L0Ub"),d=f.getDimensionTypeByAxis,l=i("4NO4"),n=l.getDataItemValue,t=i("IDmD"),a=i("i38C"),s=a.getCoordSysInfoBySeries,r=i("7G+c"),c=i("7hqr"),e=c.enableDataStack,o=i("D5nY"),u=o.makeSeriesEncodeForAxisCoordSys;function h(x,C,T){T=T||{},r.isInstance(x)||(x=r.seriesDataToSource(x));var O=C.get("coordinateSystem"),S=t.get(O),_=s(C),L;_&&(L=y.map(_.coordSysDims,function(B){var V={name:B},z=_.axisMap.get(B);if(z){var X=z.get("type");V.type=d(X)}return V})),L||(L=S&&(S.getDimensionsInfo?S.getDimensionsInfo():S.dimensions.slice())||["x","y"]);var D=E(x,{coordDimensions:L,generateCoord:T.generateCoord,encodeDefaulter:T.useEncodeDefaulter?y.curry(u,L,C):null}),F,j;_&&y.each(D,function(B,V){var z=B.coordDim,X=_.categoryAxisMap.get(z);X&&(F==null&&(F=V),B.ordinalMeta=X.getOrdinalMeta()),B.otherDims.itemName!=null&&(j=!0)}),!j&&F!=null&&(D[F].otherDims.itemName=0);var k=e(C,D),K=new m(D,C);K.setCalculationInfo(k);var Z=F!=null&&g(x)?function(B,V,z,X){return X===F?z:this.defaultDimValueGetter(B,V,z,X)}:null;return K.hasItemOption=!1,K.initData(x,null,Z),K}function g(x){if(x.sourceFormat===v){var C=A(x.data||[]);return C!=null&&!y.isArray(n(C))}}function A(x){for(var C=0;C<x.length&&x[C]==null;)C++;return x[C]}var w=h;U.exports=w},Mylv:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("oVpE"),v=p.createSymbol,f=i("OELB"),d=f.parsePercent,l=f.isNumeric,n=i("56rv"),t=n.setLabel,a=["itemStyle","borderWidth"],s=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],r=new E.Circle,c=y.extendChartView({type:"pictorialBar",render:function(W,q,Y){var re=this.group,ne=W.getData(),we=this._data,ie=W.coordinateSystem,me=ie.getBaseAxis(),_e=!!me.isHorizontal(),Te=ie.grid.getRect(),We={ecSize:{width:Y.getWidth(),height:Y.getHeight()},seriesModel:W,coordSys:ie,coordSysExtent:[[Te.x,Te.x+Te.width],[Te.y,Te.y+Te.height]],isHorizontal:_e,valueDim:s[+_e],categoryDim:s[1-_e]};return ne.diff(we).add(function(Ae){if(!ne.hasValue(Ae))return;var je=S(ne,Ae),ee=e(ne,Ae,je,We),he=F(ne,We,ee);ne.setItemGraphicEl(Ae,he),re.add(he),V(he,We,ee)}).update(function(Ae,je){var ee=we.getItemGraphicEl(je);if(!ne.hasValue(Ae)){re.remove(ee);return}var he=S(ne,Ae),Ze=e(ne,Ae,he,We),oe=K(ne,Ze);ee&&oe!==ee.__pictorialShapeStr&&(re.remove(ee),ne.setItemGraphicEl(Ae,null),ee=null),ee?j(ee,We,Ze):ee=F(ne,We,Ze,!0),ne.setItemGraphicEl(Ae,ee),ee.__pictorialSymbolMeta=Ze,re.add(ee),V(ee,We,Ze)}).remove(function(Ae){var je=we.getItemGraphicEl(Ae);je&&k(we,Ae,je.__pictorialSymbolMeta.animationModel,je)}).execute(),this._data=ne,this.group},dispose:m.noop,remove:function(W,q){var Y=this.group,re=this._data;W.get("animation")?re&&re.eachItemGraphicEl(function(ne){k(re,ne.dataIndex,W,ne)}):Y.removeAll()}});function e(W,q,Y,re){var ne=W.getItemLayout(q),we=Y.get("symbolRepeat"),ie=Y.get("symbolClip"),me=Y.get("symbolPosition")||"start",_e=Y.get("symbolRotate"),Te=(_e||0)*Math.PI/180||0,We=Y.get("symbolPatternSize")||2,Ae=Y.isAnimationEnabled(),je={dataIndex:q,layout:ne,itemModel:Y,symbolType:W.getItemVisual(q,"symbol")||"circle",color:W.getItemVisual(q,"color"),symbolClip:ie,symbolRepeat:we,symbolRepeatDirection:Y.get("symbolRepeatDirection"),symbolPatternSize:We,rotation:Te,animationModel:Ae?Y:null,hoverAnimation:Ae&&Y.get("hoverAnimation"),z2:Y.getShallow("z",!0)||0};o(Y,we,ne,re,je),h(W,q,ne,we,ie,je.boundingLength,je.pxSign,We,re,je),g(Y,je.symbolScale,Te,re,je);var ee=je.symbolSize,he=Y.get("symbolOffset");return m.isArray(he)&&(he=[d(he[0],ee[0]),d(he[1],ee[1])]),A(Y,ee,ne,we,ie,he,me,je.valueLineWidth,je.boundingLength,je.repeatCutLength,re,je),je}function o(W,q,Y,re,ne){var we=re.valueDim,ie=W.get("symbolBoundingData"),me=re.coordSys.getOtherAxis(re.coordSys.getBaseAxis()),_e=me.toGlobalCoord(me.dataToCoord(0)),Te=1-+(Y[we.wh]<=0),We;if(m.isArray(ie)){var Ae=[u(me,ie[0])-_e,u(me,ie[1])-_e];Ae[1]<Ae[0]&&Ae.reverse(),We=Ae[Te]}else ie!=null?We=u(me,ie)-_e:q?We=re.coordSysExtent[we.index][Te]-_e:We=Y[we.wh];ne.boundingLength=We,q&&(ne.repeatCutLength=Y[we.wh]),ne.pxSign=We>0?1:We<0?-1:0}function u(W,q){return W.toGlobalCoord(W.dataToCoord(W.scale.parse(q)))}function h(W,q,Y,re,ne,we,ie,me,_e,Te){var We=_e.valueDim,Ae=_e.categoryDim,je=Math.abs(Y[Ae.wh]),ee=W.getItemVisual(q,"symbolSize");m.isArray(ee)?ee=ee.slice():(ee==null&&(ee="100%"),ee=[ee,ee]),ee[Ae.index]=d(ee[Ae.index],je),ee[We.index]=d(ee[We.index],re?je:Math.abs(we)),Te.symbolSize=ee;var he=Te.symbolScale=[ee[0]/me,ee[1]/me];he[We.index]*=(_e.isHorizontal?-1:1)*ie}function g(W,q,Y,re,ne){var we=W.get(a)||0;we&&(r.attr({scale:q.slice(),rotation:Y}),r.updateTransform(),we/=r.getLineScale(),we*=q[re.valueDim.index]),ne.valueLineWidth=we}function A(W,q,Y,re,ne,we,ie,me,_e,Te,We,Ae){var je=We.categoryDim,ee=We.valueDim,he=Ae.pxSign,Ze=Math.max(q[ee.index]+me,0),oe=Ze;if(re){var Q=Math.abs(_e),G=m.retrieve(W.get("symbolMargin"),"15%")+"",te=!1;G.lastIndexOf("!")===G.length-1&&(te=!0,G=G.slice(0,G.length-1)),G=d(G,q[ee.index]);var xe=Math.max(Ze+G*2,0),fe=te?0:G*2,Be=l(re),Ne=Be?re:z((Q+fe)/xe),de=Q-Ne*Ze;G=de/2/(te?Ne:Ne-1),xe=Ze+G*2,fe=te?0:G*2,!Be&&re!=="fixed"&&(Ne=Te?z((Math.abs(Te)+fe)/xe):0),oe=Ne*xe-fe,Ae.repeatTimes=Ne,Ae.symbolMargin=G}var ve=he*(oe/2),Me=Ae.pathPosition=[];Me[je.index]=Y[je.wh]/2,Me[ee.index]=ie==="start"?ve:ie==="end"?_e-ve:_e/2,we&&(Me[0]+=we[0],Me[1]+=we[1]);var qe=Ae.bundlePosition=[];qe[je.index]=Y[je.xy],qe[ee.index]=Y[ee.xy];var gt=Ae.barRectShape=m.extend({},Y);gt[ee.wh]=he*Math.max(Math.abs(Y[ee.wh]),Math.abs(Me[ee.index]+ve)),gt[je.wh]=Y[je.wh];var ht=Ae.clipShape={};ht[je.xy]=-Y[je.xy],ht[je.wh]=We.ecSize[je.wh],ht[ee.xy]=0,ht[ee.wh]=Y[ee.wh]}function w(W){var q=W.symbolPatternSize,Y=v(W.symbolType,-q/2,-q/2,q,q,W.color);return Y.attr({culling:!0}),Y.type!=="image"&&Y.setStyle({strokeNoScale:!0}),Y}function x(W,q,Y,re){var ne=W.__pictorialBundle,we=Y.symbolSize,ie=Y.valueLineWidth,me=Y.pathPosition,_e=q.valueDim,Te=Y.repeatTimes||0,We=0,Ae=we[q.valueDim.index]+ie+Y.symbolMargin*2;for(Z(W,function(Q){Q.__pictorialAnimationIndex=We,Q.__pictorialRepeatTimes=Te,We<Te?B(Q,null,he(We),Y,re):B(Q,null,{scale:[0,0]},Y,re,function(){ne.remove(Q)}),D(Q,Y),We++});We<Te;We++){var je=w(Y);je.__pictorialAnimationIndex=We,je.__pictorialRepeatTimes=Te,ne.add(je);var ee=he(We);B(je,{position:ee.position,scale:[0,0]},{scale:ee.scale,rotation:ee.rotation},Y,re),je.on("mouseover",Ze).on("mouseout",oe),D(je,Y)}function he(Q){var G=me.slice(),te=Y.pxSign,xe=Q;return(Y.symbolRepeatDirection==="start"?te>0:te<0)&&(xe=Te-1-Q),G[_e.index]=Ae*(xe-Te/2+.5)+me[_e.index],{position:G,scale:Y.symbolScale.slice(),rotation:Y.rotation}}function Ze(){Z(W,function(Q){Q.trigger("emphasis")})}function oe(){Z(W,function(Q){Q.trigger("normal")})}}function C(W,q,Y,re){var ne=W.__pictorialBundle,we=W.__pictorialMainPath;we?B(we,null,{position:Y.pathPosition.slice(),scale:Y.symbolScale.slice(),rotation:Y.rotation},Y,re):(we=W.__pictorialMainPath=w(Y),ne.add(we),B(we,{position:Y.pathPosition.slice(),scale:[0,0],rotation:Y.rotation},{scale:Y.symbolScale.slice()},Y,re),we.on("mouseover",ie).on("mouseout",me)),D(we,Y);function ie(){this.trigger("emphasis")}function me(){this.trigger("normal")}}function T(W,q,Y){var re=m.extend({},q.barRectShape),ne=W.__pictorialBarRect;ne?B(ne,null,{shape:re},q,Y):(ne=W.__pictorialBarRect=new E.Rect({z2:2,shape:re,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),W.add(ne))}function O(W,q,Y,re){if(Y.symbolClip){var ne=W.__pictorialClipPath,we=m.extend({},Y.clipShape),ie=q.valueDim,me=Y.animationModel,_e=Y.dataIndex;if(ne)E.updateProps(ne,{shape:we},me,_e);else{we[ie.wh]=0,ne=new E.Rect({shape:we}),W.__pictorialBundle.setClipPath(ne),W.__pictorialClipPath=ne;var Te={};Te[ie.wh]=Y.clipShape[ie.wh],E[re?"updateProps":"initProps"](ne,{shape:Te},me,_e)}}}function S(W,q){var Y=W.getItemModel(q);return Y.getAnimationDelayParams=_,Y.isAnimationEnabled=L,Y}function _(W){return{index:W.__pictorialAnimationIndex,count:W.__pictorialRepeatTimes}}function L(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function D(W,q){W.off("emphasis").off("normal");var Y=q.symbolScale.slice();q.hoverAnimation&&W.on("emphasis",function(){this.animateTo({scale:[Y[0]*1.1,Y[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:Y.slice()},400,"elasticOut")})}function F(W,q,Y,re){var ne=new E.Group,we=new E.Group;return ne.add(we),ne.__pictorialBundle=we,we.attr("position",Y.bundlePosition.slice()),Y.symbolRepeat?x(ne,q,Y):C(ne,q,Y),T(ne,Y,re),O(ne,q,Y,re),ne.__pictorialShapeStr=K(W,Y),ne.__pictorialSymbolMeta=Y,ne}function j(W,q,Y){var re=Y.animationModel,ne=Y.dataIndex,we=W.__pictorialBundle;E.updateProps(we,{position:Y.bundlePosition.slice()},re,ne),Y.symbolRepeat?x(W,q,Y,!0):C(W,q,Y,!0),T(W,Y,!0),O(W,q,Y,!0)}function k(W,q,Y,re){var ne=re.__pictorialBarRect;ne&&(ne.style.text=null);var we=[];Z(re,function(ie){we.push(ie)}),re.__pictorialMainPath&&we.push(re.__pictorialMainPath),re.__pictorialClipPath&&(Y=null),m.each(we,function(ie){E.updateProps(ie,{scale:[0,0]},Y,q,function(){re.parent&&re.parent.remove(re)})}),W.setItemGraphicEl(q,null)}function K(W,q){return[W.getItemVisual(q.dataIndex,"symbol")||"none",!!q.symbolRepeat,!!q.symbolClip].join(":")}function Z(W,q,Y){m.each(W.__pictorialBundle.children(),function(re){re!==W.__pictorialBarRect&&q.call(Y,re)})}function B(W,q,Y,re,ne,we){q&&W.attr(q),re.symbolClip&&!ne?Y&&W.attr(Y):Y&&E[ne?"updateProps":"initProps"](W,Y,re.animationModel,re.dataIndex,we)}function V(W,q,Y){var re=Y.color,ne=Y.dataIndex,we=Y.itemModel,ie=we.getModel("itemStyle").getItemStyle(["color"]),me=we.getModel("emphasis.itemStyle").getItemStyle(),_e=we.getShallow("cursor");Z(W,function(je){je.setColor(re),je.setStyle(m.defaults({fill:re,opacity:Y.opacity},ie)),E.setHoverStyle(je,me),_e&&(je.cursor=_e),je.z2=Y.z2});var Te={},We=q.valueDim.posDesc[+(Y.boundingLength>0)],Ae=W.__pictorialBarRect;t(Ae.style,Te,we,re,q.seriesModel,ne,We),E.setHoverStyle(Ae,Te)}function z(W){var q=Math.round(W);return Math.abs(W-q)<1e-4?q:Math.ceil(W)}var X=c;U.exports=X},"N/zr":function(U,R,i){"use strict";function y(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(l){return typeof l}:y=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},y(f)}Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=p(i("Lo0S"));function E(){if(typeof WeakMap!="function")return null;var f=new WeakMap;return E=function(){return f},f}function p(f){if(f&&f.__esModule)return f;if(f===null||y(f)!=="object"&&typeof f!="function")return{default:f};var d=E();if(d&&d.has(f))return d.get(f);var l={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in f)if(Object.prototype.hasOwnProperty.call(f,t)){var a=n?Object.getOwnPropertyDescriptor(f,t):null;a&&(a.get||a.set)?Object.defineProperty(l,t,a):l[t]=f[t]}return l.default=f,d&&d.set(f,l),l}var v={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(d){"use strict";for(var l="",n=d.length,t=n%3,a=0;a<n-2;a+=3)l+=this.toBase64Table[d[a]>>2],l+=this.toBase64Table[((d[a]&3)<<4)+(d[a+1]>>4)],l+=this.toBase64Table[((d[a+1]&15)<<2)+(d[a+2]>>6)],l+=this.toBase64Table[d[a+2]&63];var s=n-t;return t===2?(l+=this.toBase64Table[d[s]>>2],l+=this.toBase64Table[((d[s]&3)<<4)+(d[s+1]>>4)],l+=this.toBase64Table[(d[s+1]&15)<<2],l+=this.toBase64Table[64]):t===1&&(l+=this.toBase64Table[d[s]>>2],l+=this.toBase64Table[(d[s]&3)<<4],l+=this.toBase64Table[64],l+=this.toBase64Table[64]),l},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(d){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=d.indexOf("=")-l;n<0&&(n=d.length-l);for(var t=(n>>2)*3+Math.floor(n%4/1.5),a=new Array(t),s=0,r=0,c=0,e=l;e<d.length;e++){var o=this.toBinaryTable[d.charCodeAt(e)&127],u=d.charAt(e)===this.base64Pad;if(o===-1){m.Error("Illegal character code "+d.charCodeAt(e)+" at position "+e);continue}r=r<<6|o,s+=6,s>=8&&(s-=8,u||(a[c++]=r>>s&255),r&=(1<<s)-1)}if(s){var h=new Error("Corrupted base64 string");throw h.name="Base64-Error",h}return a}};R.default=v},N5BQ:function(U,R,i){var y=i("OlYY"),m=y.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"}}}),E=m;U.exports=E},NA0q:function(U,R,i){var y=i("bYtY"),m=i("6Ic6"),E=i("TkdX"),p=i("gPAo"),v=i("7aKB"),f=v.windowOpen,d="sunburstRootToNode",l=m.extend({type:"sunburst",init:function(){},render:function(t,a,s,r){var c=this;this.seriesModel=t,this.api=s,this.ecModel=a;var e=t.getData(),o=e.tree.root,u=t.getViewRoot(),h=this.group,g=t.get("renderLabelForZeroData"),A=[];u.eachNode(function(L){A.push(L)});var w=this._oldChildren||[];if(T(A,w),_(o,u),r&&r.highlight&&r.highlight.piece){var x=t.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(x)}else if(r&&r.unhighlight){var C=this.virtualPiece;!C&&o.children.length&&(C=o.children[0].piece),C&&C.onNormal()}this._initEvents(),this._oldChildren=A;function T(L,D){if(L.length===0&&D.length===0)return;new p(D,L,F,F).add(j).update(j).remove(y.curry(j,null)).execute();function F(k){return k.getId()}function j(k,K){var Z=k==null?null:L[k],B=K==null?null:D[K];O(Z,B)}}function O(L,D){if(!g&&L&&!L.getValue()&&(L=null),L!==o&&D!==o){if(D&&D.piece)L?(D.piece.updateData(!1,L,"normal",t,a),e.setItemGraphicEl(L.dataIndex,D.piece)):S(D);else if(L){var F=new E(L,t,a);h.add(F),e.setItemGraphicEl(L.dataIndex,F)}}}function S(L){if(!L)return;L.piece&&(h.remove(L.piece),L.piece=null)}function _(L,D){if(D.depth>0){c.virtualPiece?c.virtualPiece.updateData(!1,L,"normal",t,a):(c.virtualPiece=new E(L,t,a),h.add(c.virtualPiece)),D.piece._onclickEvent&&D.piece.off("click",D.piece._onclickEvent);var F=function(j){c._rootToNode(D.parentNode)};D.piece._onclickEvent=F,c.virtualPiece.on("click",F)}else c.virtualPiece&&(h.remove(c.virtualPiece),c.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var t=this,a=function(s){var r=!1,c=t.seriesModel.getViewRoot();c.eachNode(function(e){if(!r&&e.piece&&e.piece.childAt(0)===s.target){var o=e.getModel().get("nodeClick");if(o==="rootToNode")t._rootToNode(e);else if(o==="link"){var u=e.getModel(),h=u.get("link");if(h){var g=u.get("target",!0)||"_blank";f(h,g)}}r=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",a),this.group._onclickEvent=a},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:d,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,a){var s=a.getData(),r=s.getItemLayout(0);if(r){var c=t[0]-r.cx,e=t[1]-r.cy,o=Math.sqrt(c*c+e*e);return o<=r.r&&o>=r.r0}}}),n=l;U.exports=n},NAnI:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("wXyp"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},NBmB:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.encodingName=m,R.encodings=void 0;var y={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};R.encodings=y;function m(E){switch(E){case y.encodingRaw:return"Raw";case y.encodingCopyRect:return"CopyRect";case y.encodingRRE:return"RRE";case y.encodingHextile:return"Hextile";case y.encodingTight:return"Tight";case y.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+E+"]"}}},NC18:function(U,R,i){var y=i("y+Vt"),m=i("IMiH"),E=i("7oTu"),p=Math.sqrt,v=Math.sin,f=Math.cos,d=Math.PI,l=function(A){return Math.sqrt(A[0]*A[0]+A[1]*A[1])},n=function(A,w){return(A[0]*w[0]+A[1]*w[1])/(l(A)*l(w))},t=function(A,w){return(A[0]*w[1]<A[1]*w[0]?-1:1)*Math.acos(n(A,w))};function a(g,A,w,x,C,T,O,S,_,L,D){var F=_*(d/180),j=f(F)*(g-w)/2+v(F)*(A-x)/2,k=-1*v(F)*(g-w)/2+f(F)*(A-x)/2,K=j*j/(O*O)+k*k/(S*S);K>1&&(O*=p(K),S*=p(K));var Z=(C===T?-1:1)*p((O*O*(S*S)-O*O*(k*k)-S*S*(j*j))/(O*O*(k*k)+S*S*(j*j)))||0,B=Z*O*k/S,V=Z*-S*j/O,z=(g+w)/2+f(F)*B-v(F)*V,X=(A+x)/2+v(F)*B+f(F)*V,W=t([1,0],[(j-B)/O,(k-V)/S]),q=[(j-B)/O,(k-V)/S],Y=[(-1*j-B)/O,(-1*k-V)/S],re=t(q,Y);n(q,Y)<=-1&&(re=d),n(q,Y)>=1&&(re=0),T===0&&re>0&&(re=re-2*d),T===1&&re<0&&(re=re+2*d),D.addData(L,z,X,O,S,W,re,F,T)}var s=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,r=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function c(g){if(!g)return new m;for(var A=0,w=0,x=A,C=w,T,O=new m,S=m.CMD,_=g.match(s),L=0;L<_.length;L++){for(var D=_[L],F=D.charAt(0),j,k=D.match(r)||[],K=k.length,Z=0;Z<K;Z++)k[Z]=parseFloat(k[Z]);for(var B=0;B<K;){var V,z,X,W,q,Y,re,ne=A,we=w;switch(F){case"l":A+=k[B++],w+=k[B++],j=S.L,O.addData(j,A,w);break;case"L":A=k[B++],w=k[B++],j=S.L,O.addData(j,A,w);break;case"m":A+=k[B++],w+=k[B++],j=S.M,O.addData(j,A,w),x=A,C=w,F="l";break;case"M":A=k[B++],w=k[B++],j=S.M,O.addData(j,A,w),x=A,C=w,F="L";break;case"h":A+=k[B++],j=S.L,O.addData(j,A,w);break;case"H":A=k[B++],j=S.L,O.addData(j,A,w);break;case"v":w+=k[B++],j=S.L,O.addData(j,A,w);break;case"V":w=k[B++],j=S.L,O.addData(j,A,w);break;case"C":j=S.C,O.addData(j,k[B++],k[B++],k[B++],k[B++],k[B++],k[B++]),A=k[B-2],w=k[B-1];break;case"c":j=S.C,O.addData(j,k[B++]+A,k[B++]+w,k[B++]+A,k[B++]+w,k[B++]+A,k[B++]+w),A+=k[B-2],w+=k[B-1];break;case"S":V=A,z=w;var ie=O.len(),me=O.data;T===S.C&&(V+=A-me[ie-4],z+=w-me[ie-3]),j=S.C,ne=k[B++],we=k[B++],A=k[B++],w=k[B++],O.addData(j,V,z,ne,we,A,w);break;case"s":V=A,z=w;var ie=O.len(),me=O.data;T===S.C&&(V+=A-me[ie-4],z+=w-me[ie-3]),j=S.C,ne=A+k[B++],we=w+k[B++],A+=k[B++],w+=k[B++],O.addData(j,V,z,ne,we,A,w);break;case"Q":ne=k[B++],we=k[B++],A=k[B++],w=k[B++],j=S.Q,O.addData(j,ne,we,A,w);break;case"q":ne=k[B++]+A,we=k[B++]+w,A+=k[B++],w+=k[B++],j=S.Q,O.addData(j,ne,we,A,w);break;case"T":V=A,z=w;var ie=O.len(),me=O.data;T===S.Q&&(V+=A-me[ie-4],z+=w-me[ie-3]),A=k[B++],w=k[B++],j=S.Q,O.addData(j,V,z,A,w);break;case"t":V=A,z=w;var ie=O.len(),me=O.data;T===S.Q&&(V+=A-me[ie-4],z+=w-me[ie-3]),A+=k[B++],w+=k[B++],j=S.Q,O.addData(j,V,z,A,w);break;case"A":X=k[B++],W=k[B++],q=k[B++],Y=k[B++],re=k[B++],ne=A,we=w,A=k[B++],w=k[B++],j=S.A,a(ne,we,A,w,Y,re,X,W,q,j,O);break;case"a":X=k[B++],W=k[B++],q=k[B++],Y=k[B++],re=k[B++],ne=A,we=w,A+=k[B++],w+=k[B++],j=S.A,a(ne,we,A,w,Y,re,X,W,q,j,O);break}}(F==="z"||F==="Z")&&(j=S.Z,O.addData(j),A=x,w=C),T=j}return O.toStatic(),O}function e(g,A){var w=c(g);return A=A||{},A.buildPath=function(x){if(x.setData){x.setData(w.data);var C=x.getContext();C&&x.rebuildPath(C)}else{var C=x;w.rebuildPath(C)}},A.applyTransform=function(x){E(w,x),this.dirty(!0)},A}function o(g,A){return new y(e(g,A))}function u(g,A){return y.extend(e(g,A))}function h(g,A){for(var w=[],x=g.length,C=0;C<x;C++){var T=g[C];T.path||T.createPathProxy(),T.__dirtyPath&&T.buildPath(T.path,T.shape,!0),w.push(T.path)}var O=new y(A);return O.createPathProxy(),O.buildPath=function(S){S.appendPath(w);var _=S.getContext();_&&S.rebuildPath(_)},O}R.createFromString=o,R.extendFromString=u,R.mergePath=h},NH9N:function(U,R,i){var y=i("bYtY"),m=i("mFDi"),E=i("Fofx"),p=i("IwbS"),v=i("+TT/"),f=i("kzvK"),d=i("CMP+"),l=i("oVpE"),n=l.createSymbol,t=i("aX7z"),a=i("OELB"),s=i("7aKB"),r=s.encodeHTML,c=y.bind,e=y.each,o=Math.PI,u=f.extend({type:"timeline.slider",init:function(x,C){this.api=C,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(x,C,T,O){if(this.model=x,this.api=T,this.ecModel=C,this.group.removeAll(),x.get("show",!0)){var S=this._layout(x,T),_=this._createGroup("mainGroup"),L=this._createGroup("labelGroup"),D=this._axis=this._createAxis(S,x);x.formatTooltip=function(F){return r(D.scale.getLabel(F))},e(["AxisLine","AxisTick","Control","CurrentPointer"],function(F){this["_render"+F](S,_,D,x)},this),this._renderAxisLabel(S,L,D,x),this._position(S,x)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(x,C){var T=x.get("label.position"),O=x.get("orient"),S=h(x,C);T==null||T==="auto"?T=O==="horizontal"?S.y+S.height/2<C.getHeight()/2?"-":"+":S.x+S.width/2<C.getWidth()/2?"+":"-":isNaN(T)&&(T={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[O][T]);var _={horizontal:"center",vertical:T>=0||T==="+"?"left":"right"},L={horizontal:T>=0||T==="+"?"top":"bottom",vertical:"middle"},D={horizontal:0,vertical:o/2},F=O==="vertical"?S.height:S.width,j=x.getModel("controlStyle"),k=j.get("show",!0),K=k?j.get("itemSize"):0,Z=k?j.get("itemGap"):0,B=K+Z,V=x.get("label.rotate")||0;V=V*o/180;var z,X,W,q,Y=j.get("position",!0),re=k&&j.get("showPlayBtn",!0),ne=k&&j.get("showPrevBtn",!0),we=k&&j.get("showNextBtn",!0),ie=0,me=F;return Y==="left"||Y==="bottom"?(re&&(z=[0,0],ie+=B),ne&&(X=[ie,0],ie+=B),we&&(W=[me-K,0],me-=B)):(re&&(z=[me-K,0],me-=B),ne&&(X=[0,0],ie+=B),we&&(W=[me-K,0],me-=B)),q=[ie,me],x.get("inverse")&&q.reverse(),{viewRect:S,mainLength:F,orient:O,rotation:D[O],labelRotation:V,labelPosOpt:T,labelAlign:x.get("label.align")||_[O],labelBaseline:x.get("label.verticalAlign")||x.get("label.baseline")||L[O],playPosition:z,prevBtnPosition:X,nextBtnPosition:W,axisExtent:q,controlSize:K,controlGap:Z}},_position:function(x,C){var T=this._mainGroup,O=this._labelGroup,S=x.viewRect;if(x.orient==="vertical"){var _=E.create(),L=S.x,D=S.y+S.height;E.translate(_,_,[-L,-D]),E.rotate(_,_,-o/2),E.translate(_,_,[L,D]),S=S.clone(),S.applyTransform(_)}var F=X(S),j=X(T.getBoundingRect()),k=X(O.getBoundingRect()),K=T.position,Z=O.position;Z[0]=K[0]=F[0][0];var B=x.labelPosOpt;if(isNaN(B)){var V=B==="+"?0:1;W(K,j,F,1,V),W(Z,k,F,1,1-V)}else{var V=B>=0?0:1;W(K,j,F,1,V),Z[1]=K[1]+B}T.attr("position",K),O.attr("position",Z),T.rotation=O.rotation=x.rotation,z(T),z(O);function z(q){var Y=q.position;q.origin=[F[0][0]-Y[0],F[1][0]-Y[1]]}function X(q){return[[q.x,q.x+q.width],[q.y,q.y+q.height]]}function W(q,Y,re,ne,we){q[ne]+=re[ne][we]-Y[ne][we]}},_createAxis:function(x,C){var T=C.getData(),O=C.get("axisType"),S=t.createScaleByModel(C,O);S.getTicks=function(){return T.mapArray(["value"],function(D){return D})};var _=T.getDataExtent("value");S.setExtent(_[0],_[1]),S.niceTicks();var L=new d("value",S,x.axisExtent,O);return L.model=C,L},_createGroup:function(x){var C=this["_"+x]=new p.Group;return this.group.add(C),C},_renderAxisLine:function(x,C,T,O){var S=T.getExtent();if(!O.get("lineStyle.show"))return;C.add(new p.Line({shape:{x1:S[0],y1:0,x2:S[1],y2:0},style:y.extend({lineCap:"round"},O.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(x,C,T,O){var S=O.getData(),_=T.scale.getTicks();e(_,function(L){var D=T.dataToCoord(L),F=S.getItemModel(L),j=F.getModel("itemStyle"),k=F.getModel("emphasis.itemStyle"),K={position:[D,0],onclick:c(this._changeTimeline,this,L)},Z=A(F,j,C,K);p.setHoverStyle(Z,k.getItemStyle()),F.get("tooltip")?(Z.dataIndex=L,Z.dataModel=O):Z.dataIndex=Z.dataModel=null},this)},_renderAxisLabel:function(x,C,T,O){var S=T.getLabelModel();if(!S.get("show"))return;var _=O.getData(),L=T.getViewLabels();e(L,function(D){var F=D.tickValue,j=_.getItemModel(F),k=j.getModel("label"),K=j.getModel("emphasis.label"),Z=T.dataToCoord(D.tickValue),B=new p.Text({position:[Z,0],rotation:x.labelRotation-x.rotation,onclick:c(this._changeTimeline,this,F),silent:!1});p.setTextStyle(B.style,k,{text:D.formattedLabel,textAlign:x.labelAlign,textVerticalAlign:x.labelBaseline}),C.add(B),p.setHoverStyle(B,p.setTextStyle({},K))},this)},_renderControl:function(x,C,T,O){var S=x.controlSize,_=x.rotation,L=O.getModel("controlStyle").getItemStyle(),D=O.getModel("emphasis.controlStyle").getItemStyle(),F=[0,-S/2,S,S],j=O.getPlayState(),k=O.get("inverse",!0);K(x.nextBtnPosition,"controlStyle.nextIcon",c(this._changeTimeline,this,k?"-":"+")),K(x.prevBtnPosition,"controlStyle.prevIcon",c(this._changeTimeline,this,k?"+":"-")),K(x.playPosition,"controlStyle."+(j?"stopIcon":"playIcon"),c(this._handlePlayClick,this,!j),!0);function K(Z,B,V,z){if(!Z)return;var X={position:Z,origin:[S/2,0],rotation:z?-_:0,rectHover:!0,style:L,onclick:V},W=g(O,B,F,X);C.add(W),p.setHoverStyle(W,D)}},_renderCurrentPointer:function(x,C,T,O){var S=O.getData(),_=O.getCurrentIndex(),L=S.getItemModel(_).getModel("checkpointStyle"),D=this,F={onCreate:function(j){j.draggable=!0,j.drift=c(D._handlePointerDrag,D),j.ondragend=c(D._handlePointerDragend,D),w(j,_,T,O,!0)},onUpdate:function(j){w(j,_,T,O)}};this._currentPointer=A(L,L,this._mainGroup,{},this._currentPointer,F)},_handlePlayClick:function(x){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:x,from:this.uid})},_handlePointerDrag:function(x,C,T){this._clearTimer(),this._pointerChangeTimeline([T.offsetX,T.offsetY])},_handlePointerDragend:function(x){this._pointerChangeTimeline([x.offsetX,x.offsetY],!0)},_pointerChangeTimeline:function(x,C){var T=this._toAxisCoord(x)[0],O=this._axis,S=a.asc(O.getExtent().slice());T>S[1]&&(T=S[1]),T<S[0]&&(T=S[0]),this._currentPointer.position[0]=T,this._currentPointer.dirty();var _=this._findNearestTick(T),L=this.model;(C||_!==L.getCurrentIndex()&&L.get("realtime"))&&this._changeTimeline(_)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(c(x,this),this.model.get("playInterval")));function x(){var C=this.model;this._changeTimeline(C.getCurrentIndex()+(C.get("rewind",!0)?-1:1))}},_toAxisCoord:function(x){var C=this._mainGroup.getLocalTransform();return p.applyTransform(x,C,!0)},_findNearestTick:function(x){var C=this.model.getData(),T=Infinity,O,S=this._axis;return C.each(["value"],function(_,L){var D=S.dataToCoord(_),F=Math.abs(D-x);F<T&&(T=F,O=L)}),O},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(x){var C=this.model.getCurrentIndex();x==="+"?x=C+1:x==="-"&&(x=C-1),this.api.dispatchAction({type:"timelineChange",currentIndex:x,from:this.uid})}});function h(x,C){return v.getLayoutRect(x.getBoxLayoutParams(),{width:C.getWidth(),height:C.getHeight()},x.get("padding"))}function g(x,C,T,O){var S=p.makePath(x.get(C).replace(/^path:\/\//,""),y.clone(O||{}),new m(T[0],T[1],T[2],T[3]),"center");return S}function A(x,C,T,O,S,_){var L=C.get("color");if(S)S.setColor(L),T.add(S),_&&_.onUpdate(S);else{var D=x.get("symbol");S=n(D,-1,-1,2,2,L),S.setStyle("strokeNoScale",!0),T.add(S),_&&_.onCreate(S)}var F=C.getItemStyle(["color","symbol","symbolSize"]);S.setStyle(F),O=y.merge({rectHover:!0,z2:100},O,!0);var j=x.get("symbolSize");j=j instanceof Array?j.slice():[+j,+j],j[0]/=2,j[1]/=2,O.scale=j;var k=x.get("symbolOffset");if(k){var K=O.position=O.position||[0,0];K[0]+=a.parsePercent(k[0],j[0]),K[1]+=a.parsePercent(k[1],j[1])}var Z=x.get("symbolRotate");return O.rotation=(Z||0)*Math.PI/180||0,S.attr(O),S.updateTransform(),S}function w(x,C,T,O,S){if(x.dragging)return;var _=O.getModel("checkpointStyle"),L=T.dataToCoord(O.getData().get(["value"],C));S||!_.get("animation",!0)?x.attr({position:[L,0]}):(x.stopAnimation(!0),x.animateTo({position:[L,0]},_.get("animationDuration",!0),_.get("animationEasing",!0)))}U.exports=u},NJEC:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("J4zp"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("sKbD"),t=i.n(n),a=i("4IlW"),s=i("3S7+"),r=i("2/Rp"),c=i("zvFY"),e=i("YMnH"),o=i("ZvpZ"),u=i("H84U"),h=i("bogI"),g=i("0n0R"),A=void 0,w=function(C,T){var O={};for(var S in C)Object.prototype.hasOwnProperty.call(C,S)&&T.indexOf(S)<0&&(O[S]=C[S]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,S=Object.getOwnPropertySymbols(C);_<S.length;_++)T.indexOf(S[_])<0&&Object.prototype.propertyIsEnumerable.call(C,S[_])&&(O[S[_]]=C[S[_]]);return O},x=v.forwardRef(function(C,T){var O=v.useState(C.visible),S=p()(O,2),_=S[0],L=S[1];v.useEffect(function(){"visible"in C&&L(C.visible)},[C.visible]),v.useEffect(function(){"defaultVisible"in C&&L(C.defaultVisible)},[C.defaultVisible]);var D=function(_e,Te){"visible"in C||L(_e),C.onVisibleChange&&C.onVisibleChange(_e,Te)},F=function(_e){D(!1,_e),C.onConfirm&&C.onConfirm.call(A,_e)},j=function(_e){D(!1,_e),C.onCancel&&C.onCancel.call(A,_e)},k=function(_e){_e.keyCode===a.a.ESC&&_&&D(!1,_e)},K=function(_e){var Te=C.disabled;if(Te)return;D(_e)},Z=function(_e,Te){var We=C.okButtonProps,Ae=C.cancelButtonProps,je=C.title,ee=C.cancelText,he=C.okText,Ze=C.okType,oe=C.icon;return v.createElement("div",{className:"".concat(_e,"-inner-content")},v.createElement("div",{className:"".concat(_e,"-message")},oe,v.createElement("div",{className:"".concat(_e,"-message-title")},Object(h.a)(je))),v.createElement("div",{className:"".concat(_e,"-buttons")},v.createElement(r.a,m()({onClick:j,size:"small"},Ae),ee||Te.cancelText),v.createElement(r.a,m()({onClick:F},Object(c.a)(Ze),{size:"small"},We),he||Te.okText)))},B=v.useContext(u.b),V=B.getPrefixCls,z=C.prefixCls,X=C.placement,W=C.children,q=C.overlayClassName,Y=w(C,["prefixCls","placement","children","overlayClassName"]),re=V("popover",z),ne=V("popconfirm",z),we=l()(ne,q),ie=v.createElement(e.a,{componentName:"Popconfirm",defaultLocale:o.a.Popconfirm},function(me){return Z(re,me)});return v.createElement(s.a,m()({},Y,{prefixCls:re,placement:X,onVisibleChange:K,visible:_,overlay:ie,overlayClassName:we,ref:T}),Object(g.a)(W,{onKeyDown:function(_e){var Te,We;(We=W==null?void 0:(Te=W.props).onKeyDown)===null||We===void 0||We.call(Te,_e),k(_e)}}))});x.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:v.createElement(t.a,null),disabled:!1},R.a=x},NUBc:function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("wx14"),l=i("rePB"),n=i("VTBJ"),t=i("1OyB"),a=i("vuIU"),s=i("Ji7U"),r=i("LK+K"),c=i("TSYQ"),e=i.n(c),o=function(Te){var We,Ae="".concat(Te.rootPrefixCls,"-item"),je=e()(Ae,"".concat(Ae,"-").concat(Te.page),(We={},Object(l.a)(We,"".concat(Ae,"-active"),Te.active),Object(l.a)(We,Te.className,!!Te.className),Object(l.a)(We,"".concat(Ae,"-disabled"),!Te.page),We)),ee=function(){Te.onClick(Te.page)},he=function(oe){Te.onKeyPress(oe,Te.onClick,Te.page)};return f.a.createElement("li",{title:Te.showTitle?Te.page:null,className:je,onClick:ee,onKeyPress:he,tabIndex:"0"},Te.itemRender(Te.page,"page",f.a.createElement("a",{rel:"nofollow"},Te.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},g=function(_e){Object(s.a)(We,_e);var Te=Object(r.a)(We);function We(){var Ae;Object(t.a)(this,We);for(var je=arguments.length,ee=new Array(je),he=0;he<je;he++)ee[he]=arguments[he];return Ae=Te.call.apply(Te,[this].concat(ee)),Ae.state={goInputText:""},Ae.buildOptionText=function(Ze){return"".concat(Ze," ").concat(Ae.props.locale.items_per_page)},Ae.changeSize=function(Ze){Ae.props.changeSize(Number(Ze))},Ae.handleChange=function(Ze){Ae.setState({goInputText:Ze.target.value})},Ae.handleBlur=function(Ze){var oe=Ae.props,Q=oe.goButton,G=oe.quickGo,te=oe.rootPrefixCls,xe=Ae.state.goInputText;if(Q||xe==="")return;if(Ze.relatedTarget&&(Ze.relatedTarget.className.indexOf("".concat(te,"-prev"))>=0||Ze.relatedTarget.className.indexOf("".concat(te,"-next"))>=0))return;Ae.setState({goInputText:""}),G(Ae.getValidValue())},Ae.go=function(Ze){var oe=Ae.state.goInputText;if(oe==="")return;(Ze.keyCode===h.ENTER||Ze.type==="click")&&(Ae.setState({goInputText:""}),Ae.props.quickGo(Ae.getValidValue()))},Ae}return Object(a.a)(We,[{key:"getValidValue",value:function(){var je=this.state,ee=je.goInputText,he=je.current;return!ee||isNaN(ee)?he:Number(ee)}},{key:"getPageSizeOptions",value:function(){var je=this.props,ee=je.pageSize,he=je.pageSizeOptions;return he.some(function(Ze){return Ze.toString()===ee.toString()})?he:he.concat([ee.toString()]).sort(function(Ze,oe){var Q=isNaN(Number(Ze))?0:Number(Ze),G=isNaN(Number(oe))?0:Number(oe);return Q-G})}},{key:"render",value:function(){var je=this,ee=this.props,he=ee.pageSize,Ze=ee.locale,oe=ee.rootPrefixCls,Q=ee.changeSize,G=ee.quickGo,te=ee.goButton,xe=ee.selectComponentClass,fe=ee.buildOptionText,Be=ee.selectPrefixCls,Ne=ee.disabled,de=this.state.goInputText,ve="".concat(oe,"-options"),Me=xe,qe=null,gt=null,ht=null;if(!Q&&!G)return null;var Pe=this.getPageSizeOptions();if(Q&&Me){var It=Pe.map(function(nt,Nt){return f.a.createElement(Me.Option,{key:Nt,value:nt.toString()},(fe||je.buildOptionText)(nt))});qe=f.a.createElement(Me,{disabled:Ne,prefixCls:Be,showSearch:!1,className:"".concat(ve,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(he||Pe[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Nt){return Nt.parentNode}},It)}return G&&(te&&(ht=typeof te=="boolean"?f.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ne,className:"".concat(ve,"-quick-jumper-button")},Ze.jump_to_confirm):f.a.createElement("span",{onClick:this.go,onKeyUp:this.go},te)),gt=f.a.createElement("div",{className:"".concat(ve,"-quick-jumper")},Ze.jump_to,f.a.createElement("input",{disabled:Ne,type:"text",value:de,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ze.page,ht)),f.a.createElement("li",{className:"".concat(ve)},qe,gt)}}]),We}(f.a.Component);g.defaultProps={pageSizeOptions:["10","20","50","100"]};var A=g,w=i("N2Kk");function x(){}function C(_e){return typeof _e=="number"&&isFinite(_e)&&Math.floor(_e)===_e}function T(_e,Te,We){return We}function O(_e,Te,We){var Ae=typeof _e=="undefined"?Te.pageSize:_e;return Math.floor((We.total-1)/Ae)+1}var S=function(_e){Object(s.a)(We,_e);var Te=Object(r.a)(We);function We(Ae){var je;Object(t.a)(this,We),je=Te.call(this,Ae),je.getJumpPrevPage=function(){return Math.max(1,je.state.current-(je.props.showLessItems?3:5))},je.getJumpNextPage=function(){return Math.min(O(void 0,je.state,je.props),je.state.current+(je.props.showLessItems?3:5))},je.getItemIcon=function(Q,G){var te=je.props.prefixCls,xe=Q||f.a.createElement("button",{type:"button","aria-label":G,className:"".concat(te,"-item-link")});return typeof Q=="function"&&(xe=f.a.createElement(Q,Object(n.a)({},je.props))),xe},je.savePaginationNode=function(Q){je.paginationNode=Q},je.isValid=function(Q){return C(Q)&&Q!==je.state.current},je.shouldDisplayQuickJumper=function(){var Q=je.props,G=Q.showQuickJumper,te=Q.pageSize,xe=Q.total;return xe<=te?!1:G},je.handleKeyDown=function(Q){(Q.keyCode===h.ARROW_UP||Q.keyCode===h.ARROW_DOWN)&&Q.preventDefault()},je.handleKeyUp=function(Q){var G=je.getValidValue(Q),te=je.state.currentInputValue;G!==te&&je.setState({currentInputValue:G}),Q.keyCode===h.ENTER?je.handleChange(G):Q.keyCode===h.ARROW_UP?je.handleChange(G-1):Q.keyCode===h.ARROW_DOWN&&je.handleChange(G+1)},je.changePageSize=function(Q){var G=je.state.current,te=O(Q,je.state,je.props);G=G>te?te:G,te===0&&(G=je.state.current),typeof Q=="number"&&("pageSize"in je.props||je.setState({pageSize:Q}),"current"in je.props||je.setState({current:G,currentInputValue:G})),je.props.onShowSizeChange(G,Q),"onChange"in je.props&&je.props.onChange&&je.props.onChange(G,Q)},je.handleChange=function(Q){var G=je.props.disabled,te=Q;if(je.isValid(te)&&!G){var xe=O(void 0,je.state,je.props);te>xe?te=xe:te<1&&(te=1),"current"in je.props||je.setState({current:te,currentInputValue:te});var fe=je.state.pageSize;return je.props.onChange(te,fe),te}return je.state.current},je.prev=function(){je.hasPrev()&&je.handleChange(je.state.current-1)},je.next=function(){je.hasNext()&&je.handleChange(je.state.current+1)},je.jumpPrev=function(){je.handleChange(je.getJumpPrevPage())},je.jumpNext=function(){je.handleChange(je.getJumpNextPage())},je.hasPrev=function(){return je.state.current>1},je.hasNext=function(){return je.state.current<O(void 0,je.state,je.props)},je.runIfEnter=function(Q,G){if(Q.key==="Enter"||Q.charCode===13){for(var te=arguments.length,xe=new Array(te>2?te-2:0),fe=2;fe<te;fe++)xe[fe-2]=arguments[fe];G.apply(void 0,xe)}},je.runIfEnterPrev=function(Q){je.runIfEnter(Q,je.prev)},je.runIfEnterNext=function(Q){je.runIfEnter(Q,je.next)},je.runIfEnterJumpPrev=function(Q){je.runIfEnter(Q,je.jumpPrev)},je.runIfEnterJumpNext=function(Q){je.runIfEnter(Q,je.jumpNext)},je.handleGoTO=function(Q){(Q.keyCode===h.ENTER||Q.type==="click")&&je.handleChange(je.state.currentInputValue)};var ee=Ae.onChange!==x,he="current"in Ae;he&&!ee&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ze=Ae.defaultCurrent;"current"in Ae&&(Ze=Ae.current);var oe=Ae.defaultPageSize;return"pageSize"in Ae&&(oe=Ae.pageSize),Ze=Math.min(Ze,O(oe,void 0,Ae)),je.state={current:Ze,currentInputValue:Ze,pageSize:oe},je}return Object(a.a)(We,[{key:"componentDidUpdate",value:function(je,ee){var he=this.props.prefixCls;if(ee.current!==this.state.current&&this.paginationNode){var Ze=this.paginationNode.querySelector(".".concat(he,"-item-").concat(ee.current));Ze&&document.activeElement===Ze&&Ze.blur()}}},{key:"getValidValue",value:function(je){var ee=je.target.value,he=O(void 0,this.state,this.props),Ze=this.state.currentInputValue,oe;return ee===""?oe=ee:isNaN(Number(ee))?oe=Ze:ee>=he?oe=he:oe=Number(ee),oe}},{key:"getShowSizeChanger",value:function(){var je=this.props,ee=je.showSizeChanger,he=je.total,Ze=je.totalBoundaryShowSizeChanger;return typeof ee!="undefined"?ee:he>Ze}},{key:"renderPrev",value:function(je){var ee=this.props,he=ee.prevIcon,Ze=ee.itemRender,oe=Ze(je,"prev",this.getItemIcon(he,"prev page")),Q=!this.hasPrev();return Object(v.isValidElement)(oe)?Object(v.cloneElement)(oe,{disabled:Q}):oe}},{key:"renderNext",value:function(je){var ee=this.props,he=ee.nextIcon,Ze=ee.itemRender,oe=Ze(je,"next",this.getItemIcon(he,"next page")),Q=!this.hasNext();return Object(v.isValidElement)(oe)?Object(v.cloneElement)(oe,{disabled:Q}):oe}},{key:"render",value:function(){var je=this,ee=this.props,he=ee.prefixCls,Ze=ee.className,oe=ee.style,Q=ee.disabled,G=ee.hideOnSinglePage,te=ee.total,xe=ee.locale,fe=ee.showQuickJumper,Be=ee.showLessItems,Ne=ee.showTitle,de=ee.showTotal,ve=ee.simple,Me=ee.itemRender,qe=ee.showPrevNextJumpers,gt=ee.jumpPrevIcon,ht=ee.jumpNextIcon,Pe=ee.selectComponentClass,It=ee.selectPrefixCls,nt=ee.pageSizeOptions,Nt=this.state,Bt=Nt.current,Pt=Nt.pageSize,jt=Nt.currentInputValue;if(G===!0&&te<=Pt)return null;var er=O(void 0,this.state,this.props),at=[],Ce=null,ue=null,Dt=null,rt=null,ye=null,Xt=fe&&fe.goButton,pr=Be?1:2,mt=Bt-1>0?Bt-1:0,nr=Bt+1<er?Bt+1:er,yr=Object.keys(this.props).reduce(function(di,lt){return(lt.substr(0,5)==="data-"||lt.substr(0,5)==="aria-"||lt==="role")&&(di[lt]=je.props[lt]),di},{});if(ve)return Xt&&(typeof Xt=="boolean"?ye=f.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},xe.jump_to_confirm):ye=f.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Xt),ye=f.a.createElement("li",{title:Ne?"".concat(xe.jump_to).concat(Bt,"/").concat(er):null,className:"".concat(he,"-simple-pager")},ye)),f.a.createElement("ul",Object(d.a)({className:e()(he,"".concat(he,"-simple"),Object(l.a)({},"".concat(he,"-disabled"),Q),Ze),style:oe,ref:this.savePaginationNode},yr),f.a.createElement("li",{title:Ne?xe.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:e()("".concat(he,"-prev"),Object(l.a)({},"".concat(he,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(mt)),f.a.createElement("li",{title:Ne?"".concat(Bt,"/").concat(er):null,className:"".concat(he,"-simple-pager")},f.a.createElement("input",{type:"text",value:jt,disabled:Q,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),f.a.createElement("span",{className:"".concat(he,"-slash")},"/"),er),f.a.createElement("li",{title:Ne?xe.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:e()("".concat(he,"-next"),Object(l.a)({},"".concat(he,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(nr)),ye);if(er<=3+pr*2){var gn={locale:xe,rootPrefixCls:he,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ne,itemRender:Me};er||at.push(f.a.createElement(u,Object(d.a)({},gn,{key:"noPager",page:er,className:"".concat(he,"-disabled")})));for(var _r=1;_r<=er;_r+=1){var ur=Bt===_r;at.push(f.a.createElement(u,Object(d.a)({},gn,{key:_r,page:_r,active:ur})))}}else{var zt=Be?xe.prev_3:xe.prev_5,bt=Be?xe.next_3:xe.next_5;qe&&(Ce=f.a.createElement("li",{title:Ne?zt:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:e()("".concat(he,"-jump-prev"),Object(l.a)({},"".concat(he,"-jump-prev-custom-icon"),!!gt))},Me(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(gt,"prev page"))),ue=f.a.createElement("li",{title:Ne?bt:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:e()("".concat(he,"-jump-next"),Object(l.a)({},"".concat(he,"-jump-next-custom-icon"),!!ht))},Me(this.getJumpNextPage(),"jump-next",this.getItemIcon(ht,"next page")))),rt=f.a.createElement(u,{locale:xe,last:!0,rootPrefixCls:he,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:er,page:er,active:!1,showTitle:Ne,itemRender:Me}),Dt=f.a.createElement(u,{locale:xe,rootPrefixCls:he,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ne,itemRender:Me});var ot=Math.max(1,Bt-pr),lr=Math.min(Bt+pr,er);Bt-1<=pr&&(lr=1+pr*2),er-Bt<=pr&&(ot=er-pr*2);for(var jr=ot;jr<=lr;jr+=1){var Rr=Bt===jr;at.push(f.a.createElement(u,{locale:xe,rootPrefixCls:he,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:jr,page:jr,active:Rr,showTitle:Ne,itemRender:Me}))}Bt-1>=pr*2&&Bt!==1+2&&(at[0]=Object(v.cloneElement)(at[0],{className:"".concat(he,"-item-after-jump-prev")}),at.unshift(Ce)),er-Bt>=pr*2&&Bt!==er-2&&(at[at.length-1]=Object(v.cloneElement)(at[at.length-1],{className:"".concat(he,"-item-before-jump-next")}),at.push(ue)),ot!==1&&at.unshift(Dt),lr!==er&&at.push(rt)}var xr=null;de&&(xr=f.a.createElement("li",{className:"".concat(he,"-total-text")},de(te,[te===0?0:(Bt-1)*Pt+1,Bt*Pt>te?te:Bt*Pt])));var Vn=!this.hasPrev()||!er,bn=!this.hasNext()||!er;return f.a.createElement("ul",Object(d.a)({className:e()(he,Ze,Object(l.a)({},"".concat(he,"-disabled"),Q)),style:oe,unselectable:"unselectable",ref:this.savePaginationNode},yr),xr,f.a.createElement("li",{title:Ne?xe.prev_page:null,onClick:this.prev,tabIndex:Vn?null:0,onKeyPress:this.runIfEnterPrev,className:e()("".concat(he,"-prev"),Object(l.a)({},"".concat(he,"-disabled"),Vn)),"aria-disabled":Vn},this.renderPrev(mt)),at,f.a.createElement("li",{title:Ne?xe.next_page:null,onClick:this.next,tabIndex:bn?null:0,onKeyPress:this.runIfEnterNext,className:e()("".concat(he,"-next"),Object(l.a)({},"".concat(he,"-disabled"),bn)),"aria-disabled":bn},this.renderNext(nr)),f.a.createElement(A,{disabled:Q,locale:xe,rootPrefixCls:he,selectComponentClass:Pe,selectPrefixCls:It,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Bt,pageSize:Pt,pageSizeOptions:nt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Xt}))}}],[{key:"getDerivedStateFromProps",value:function(je,ee){var he={};if("current"in je&&(he.current=je.current,je.current!==ee.current&&(he.currentInputValue=he.current)),"pageSize"in je&&je.pageSize!==ee.pageSize){var Ze=ee.current,oe=O(je.pageSize,ee,je);Ze=Ze>oe?oe:Ze,"current"in je||(he.current=Ze,he.currentInputValue=Ze),he.pageSize=je.pageSize}return he}}]),We}(f.a.Component);S.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:x,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:x,locale:w.a,style:{},itemRender:T,totalBoundaryShowSizeChanger:50};var _=S,L=i("H4fg"),D=i("DFhj"),F=i.n(D),j=i("fEPi"),k=i.n(j),K=i("u9fO"),Z=i.n(K),B=i("mO/d"),V=i.n(B),z=i("2fM7"),X=function(Te){return v.createElement(z.a,p()({size:"small"},Te))};X.Option=z.a.Option;var W=X,q=i("YMnH"),Y=i("H84U"),re=i("5OYt"),ne=function(_e,Te){var We={};for(var Ae in _e)Object.prototype.hasOwnProperty.call(_e,Ae)&&Te.indexOf(Ae)<0&&(We[Ae]=_e[Ae]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ae=Object.getOwnPropertySymbols(_e);je<Ae.length;je++)Te.indexOf(Ae[je])<0&&Object.prototype.propertyIsEnumerable.call(_e,Ae[je])&&(We[Ae[je]]=_e[Ae[je]]);return We},we=function(Te){var We=Te.prefixCls,Ae=Te.selectPrefixCls,je=Te.className,ee=Te.size,he=Te.locale,Ze=ne(Te,["prefixCls","selectPrefixCls","className","size","locale"]),oe=Object(re.a)(),Q=oe.xs,G=v.useContext(Y.b),te=G.getPrefixCls,xe=G.direction,fe=te("pagination",We),Be=function(){var ve=v.createElement("span",{className:"".concat(fe,"-item-ellipsis")},"\u2022\u2022\u2022"),Me=v.createElement("button",{className:"".concat(fe,"-item-link"),type:"button",tabIndex:-1},v.createElement(F.a,null)),qe=v.createElement("button",{className:"".concat(fe,"-item-link"),type:"button",tabIndex:-1},v.createElement(k.a,null)),gt=v.createElement("a",{className:"".concat(fe,"-item-link")},v.createElement("div",{className:"".concat(fe,"-item-container")},v.createElement(Z.a,{className:"".concat(fe,"-item-link-icon")}),ve)),ht=v.createElement("a",{className:"".concat(fe,"-item-link")},v.createElement("div",{className:"".concat(fe,"-item-container")},v.createElement(V.a,{className:"".concat(fe,"-item-link-icon")}),ve));if(xe==="rtl"){var Pe=[qe,Me];Me=Pe[0],qe=Pe[1];var It=[ht,gt];gt=It[0],ht=It[1]}return{prevIcon:Me,nextIcon:qe,jumpPrevIcon:gt,jumpNextIcon:ht}},Ne=function(ve){var Me=p()(p()({},ve),he),qe=ee==="small"||!!(Q&&!ee&&Ze.responsive),gt=te("select",Ae),ht=e()(je,m()({mini:qe},"".concat(fe,"-rtl"),xe==="rtl"));return v.createElement(_,p()({},Ze,{prefixCls:fe,selectPrefixCls:gt},Be(),{className:ht,selectComponentClass:qe?W:z.a,locale:Me}))};return v.createElement(q.a,{componentName:"Pagination",defaultLocale:L.a},Ne)},ie=we,me=R.a=ie},NohK:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=function(E){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,v=null;return function(){for(var f=this,d=arguments.length,l=new Array(d),n=0;n<d;n++)l[n]=arguments[n];clearTimeout(v),v=setTimeout(function(){E.apply(f,l)},p)}};R.default=y},Nu4q:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={icon:function(E,p){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:E}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:p}},{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:p}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:p}},{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:E}}]}},name:"picture",theme:"twotone"};R.default=y},NvD2:function(U,R,i){"use strict";i.d(R,"a",function(){return f});var y=i("Kwbf");function m(d,l){var n=new Set;return d.forEach(function(t){l.has(t)||n.add(t)}),n}function E(d){var l=d||{},n=l.disabled,t=l.disableCheckbox,a=l.checkable;return!!(n||t)||a===!1}function p(d,l,n,t){for(var a=new Set(d),s=new Set,r=0;r<=n;r+=1){var c=l.get(r)||new Set;c.forEach(function(h){var g=h.key,A=h.node,w=h.children,x=w===void 0?[]:w;a.has(g)&&!t(A)&&x.filter(function(C){return!t(C.node)}).forEach(function(C){a.add(C.key)})})}for(var e=new Set,o=n;o>=0;o-=1){var u=l.get(o)||new Set;u.forEach(function(h){var g=h.parent,A=h.node;if(t(A)||!h.parent||e.has(h.parent.key))return;if(t(h.parent.node)){e.add(g.key);return}var w=!0,x=!1;(g.children||[]).filter(function(C){return!t(C.node)}).forEach(function(C){var T=C.key,O=a.has(T);w&&!O&&(w=!1),!x&&(O||s.has(T))&&(x=!0)}),w&&a.add(g.key),x&&s.add(g.key),e.add(g.key)})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(m(s,a))}}function v(d,l,n,t,a){for(var s=new Set(d),r=new Set(l),c=0;c<=t;c+=1){var e=n.get(c)||new Set;e.forEach(function(g){var A=g.key,w=g.node,x=g.children,C=x===void 0?[]:x;!s.has(A)&&!r.has(A)&&!a(w)&&C.filter(function(T){return!a(T.node)}).forEach(function(T){s.delete(T.key)})})}r=new Set;for(var o=new Set,u=t;u>=0;u-=1){var h=n.get(u)||new Set;h.forEach(function(g){var A=g.parent,w=g.node;if(a(w)||!g.parent||o.has(g.parent.key))return;if(a(g.parent.node)){o.add(A.key);return}var x=!0,C=!1;(A.children||[]).filter(function(T){return!a(T.node)}).forEach(function(T){var O=T.key,S=s.has(O);x&&!S&&(x=!1),!C&&(S||r.has(O))&&(C=!0)}),x||s.delete(A.key),C&&r.add(A.key),o.add(A.key)})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(m(r,s))}}function f(d,l,n,t){var a=[],s;t?s=t:s=E;var r=new Set(d.filter(function(u){var h=!!n[u];return h||a.push(u),h})),c=new Map,e=0;Object.keys(n).forEach(function(u){var h=n[u],g=h.level,A=c.get(g);A||(A=new Set,c.set(g,A)),A.add(h),e=Math.max(e,g)}),Object(y.a)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var o;return l===!0?o=p(r,c,e,s):o=v(r,l.halfCheckedKeys,c,e,s),o}},"O/iA":function(U,R,i){},O3gP:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("O/iA"),p=i.n(E),v=i("OaEy")},OELB:function(U,R,i){var y=i("bYtY"),m=1e-4;function E(C){return C.replace(/^\s+|\s+$/g,"")}function p(C,T,O,S){var _=T[1]-T[0],L=O[1]-O[0];if(_===0)return L===0?O[0]:(O[0]+O[1])/2;if(S)if(_>0){if(C<=T[0])return O[0];if(C>=T[1])return O[1]}else{if(C>=T[0])return O[0];if(C<=T[1])return O[1]}else{if(C===T[0])return O[0];if(C===T[1])return O[1]}return(C-T[0])/_*L+O[0]}function v(C,T){switch(C){case"center":case"middle":C="50%";break;case"left":case"top":C="0%";break;case"right":case"bottom":C="100%";break}return typeof C=="string"?E(C).match(/%$/)?parseFloat(C)/100*T:parseFloat(C):C==null?NaN:+C}function f(C,T,O){return T==null&&(T=10),T=Math.min(Math.max(0,T),20),C=(+C).toFixed(T),O?C:+C}function d(C){return C.sort(function(T,O){return T-O}),C}function l(C){if(C=+C,isNaN(C))return 0;for(var T=1,O=0;Math.round(C*T)/T!==C;)T*=10,O++;return O}function n(C){var T=C.toString(),O=T.indexOf("e");if(O>0){var S=+T.slice(O+1);return S<0?-S:0}else{var _=T.indexOf(".");return _<0?0:T.length-1-_}}function t(C,T){var O=Math.log,S=Math.LN10,_=Math.floor(O(C[1]-C[0])/S),L=Math.round(O(Math.abs(T[1]-T[0]))/S),D=Math.min(Math.max(-_+L,0),20);return isFinite(D)?D:20}function a(C,T,O){if(!C[T])return 0;var S=y.reduce(C,function(z,X){return z+(isNaN(X)?0:X)},0);if(S===0)return 0;for(var _=Math.pow(10,O),L=y.map(C,function(z){return(isNaN(z)?0:z)/S*_*100}),D=_*100,F=y.map(L,function(z){return Math.floor(z)}),j=y.reduce(F,function(z,X){return z+X},0),k=y.map(L,function(z,X){return z-F[X]});j<D;){for(var K=Number.NEGATIVE_INFINITY,Z=null,B=0,V=k.length;B<V;++B)k[B]>K&&(K=k[B],Z=B);++F[Z],k[Z]=0,++j}return F[T]/_}var s=9007199254740991;function r(C){var T=Math.PI*2;return(C%T+T)%T}function c(C){return C>-m&&C<m}var e=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function o(C){if(C instanceof Date)return C;if(typeof C=="string"){var T=e.exec(C);if(!T)return new Date(NaN);if(T[8]){var O=+T[4]||0;return T[8].toUpperCase()!=="Z"&&(O-=T[8].slice(0,3)),new Date(Date.UTC(+T[1],+(T[2]||1)-1,+T[3]||1,O,+(T[5]||0),+T[6]||0,+T[7]||0))}else return new Date(+T[1],+(T[2]||1)-1,+T[3]||1,+T[4]||0,+(T[5]||0),+T[6]||0,+T[7]||0)}else if(C==null)return new Date(NaN);return new Date(Math.round(C))}function u(C){return Math.pow(10,h(C))}function h(C){if(C===0)return 0;var T=Math.floor(Math.log(C)/Math.LN10);return C/Math.pow(10,T)>=10&&T++,T}function g(C,T){var O=h(C),S=Math.pow(10,O),_=C/S,L;return T?_<1.5?L=1:_<2.5?L=2:_<4?L=3:_<7?L=5:L=10:_<1?L=1:_<2?L=2:_<3?L=3:_<5?L=5:L=10,C=L*S,O>=-20?+C.toFixed(O<0?-O:0):C}function A(C,T){var O=(C.length-1)*T+1,S=Math.floor(O),_=+C[S-1],L=O-S;return L?_+L*(C[S]-_):_}function w(C){C.sort(function(j,k){return F(j,k,0)?-1:1});for(var T=-Infinity,O=1,S=0;S<C.length;){for(var _=C[S].interval,L=C[S].close,D=0;D<2;D++)_[D]<=T&&(_[D]=T,L[D]=D?1:1-O),T=_[D],O=L[D];_[0]===_[1]&&L[0]*L[1]!==1?C.splice(S,1):S++}return C;function F(j,k,K){return j.interval[K]<k.interval[K]||j.interval[K]===k.interval[K]&&(j.close[K]-k.close[K]===(K?-1:1)||!K&&F(j,k,1))}}function x(C){return C-parseFloat(C)>=0}R.linearMap=p,R.parsePercent=v,R.round=f,R.asc=d,R.getPrecision=l,R.getPrecisionSafe=n,R.getPixelPrecision=t,R.getPercentWithPrecision=a,R.MAX_SAFE_INTEGER=s,R.remRadian=r,R.isRadianAroundZero=c,R.parseDate=o,R.quantity=u,R.quantityExponent=h,R.nice=g,R.quantile=A,R.reformIntervals=w,R.isNumeric=x},OKJ2:function(U,R,i){var y=i("KxfA"),m=y.retrieveRawValue,E=i("7aKB"),p=E.getTooltipMarker,v=E.formatTpl,f=i("4NO4"),d=f.getTooltipRenderMode,l=/\{@(.+?)\}/g,n={getDataParams:function(t,a){var s=this.getData(a),r=this.getRawValue(t,a),c=s.getRawIndex(t),e=s.getName(t),o=s.getRawDataItem(t),u=s.getItemVisual(t,"color"),h=s.getItemVisual(t,"borderColor"),g=this.ecModel.getComponent("tooltip"),A=g&&g.get("renderMode"),w=d(A),x=this.mainType,C=x==="series",T=s.userOutput;return{componentType:x,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:C?this.subType:null,seriesIndex:this.seriesIndex,seriesId:C?this.id:null,seriesName:C?this.name:null,name:e,dataIndex:c,data:o,dataType:a,value:r,color:u,borderColor:h,dimensionNames:T?T.dimensionNames:null,encode:T?T.encode:null,marker:p({color:u,renderMode:w}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,a,s,r,c){a=a||"normal";var e=this.getData(s),o=e.getItemModel(t),u=this.getDataParams(t,s);r!=null&&u.value instanceof Array&&(u.value=u.value[r]);var h=o.get(a==="normal"?[c||"label","formatter"]:[a,c||"label","formatter"]);if(typeof h=="function")return u.status=a,u.dimensionIndex=r,h(u);if(typeof h=="string"){var g=v(h,u);return g.replace(l,function(A,w){var x=w.length;return w.charAt(0)==="["&&w.charAt(x-1)==="]"&&(w=+w.slice(1,x-1)),m(e,t,w)})}},getRawValue:function(t,a){return m(this.getData(a),t)},formatTooltip:function(){}};U.exports=n},OPEp:function(U,R,i){},OQFs:function(U,R,i){var y=i("KCsZ"),m=y([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),E={getLineStyle:function(p){var v=m(this,p);return v.lineDash=this.getLineDash(v.lineWidth),v},getLineDash:function(p){p==null&&(p=1);var v=this.get("type"),f=Math.max(p,2),d=p*4;return v==="solid"||v==null?!1:v==="dashed"?[d,d]:[f,f]}};U.exports=E},OS9S:function(U,R,i){var y=i("bYtY"),m=y.inherits,E=i("Gev7"),p=i("mFDi");function v(l){E.call(this,l),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}v.prototype.incremental=!0,v.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},v.prototype.addDisplayable=function(l,n){n?this._temporaryDisplayables.push(l):this._displayables.push(l),this.dirty()},v.prototype.addDisplayables=function(l,n){n=n||!1;for(var t=0;t<l.length;t++)this.addDisplayable(l[t],n)},v.prototype.eachPendingDisplayable=function(l){for(var n=this._cursor;n<this._displayables.length;n++)l&&l(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)l&&l(this._temporaryDisplayables[n])},v.prototype.update=function(){this.updateTransform();for(var l=this._cursor;l<this._displayables.length;l++){var n=this._displayables[l];n.parent=this,n.update(),n.parent=null}for(var l=0;l<this._temporaryDisplayables.length;l++){var n=this._temporaryDisplayables[l];n.parent=this,n.update(),n.parent=null}},v.prototype.brush=function(l,n){for(var t=this._cursor;t<this._displayables.length;t++){var a=this._displayables[t];a.beforeBrush&&a.beforeBrush(l),a.brush(l,t===this._cursor?null:this._displayables[t-1]),a.afterBrush&&a.afterBrush(l)}this._cursor=t;for(var t=0;t<this._temporaryDisplayables.length;t++){var a=this._temporaryDisplayables[t];a.beforeBrush&&a.beforeBrush(l),a.brush(l,t===0?null:this._temporaryDisplayables[t-1]),a.afterBrush&&a.afterBrush(l)}this._temporaryDisplayables=[],this.notClear=!0};var f=[];v.prototype.getBoundingRect=function(){if(!this._rect){for(var l=new p(Infinity,Infinity,-Infinity,-Infinity),n=0;n<this._displayables.length;n++){var t=this._displayables[n],a=t.getBoundingRect().clone();t.needLocalTransform()&&a.applyTransform(t.getLocalTransform(f)),l.union(a)}this._rect=l}return this._rect},v.prototype.contain=function(l,n){var t=this.transformCoordToLocal(l,n),a=this.getBoundingRect();if(a.contain(t[0],t[1]))for(var s=0;s<this._displayables.length;s++){var r=this._displayables[s];if(r.contain(l,n))return!0}return!1},m(v,E);var d=v;U.exports=d},OUJF:function(U,R,i){var y=i("ProS"),m=i("bYtY");y.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(E,p){var v=p.getComponent("timeline");return v&&E.currentIndex!=null&&(v.setCurrentIndex(E.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),p.resetOption("timeline"),m.defaults({currentIndex:v.option.currentIndex},E)}),y.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(E,p){var v=p.getComponent("timeline");v&&E.playState!=null&&v.setPlayState(E.playState)})},OXB0:function(U,R,i){var y=i("T4UG"),m=i("MwEJ"),E=i("IDmD"),p=y.extend({type:"series.heatmap",getInitialData:function(v,f){return m(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=E.get(this.get("coordinateSystem"));if(v&&v.dimensions)return v.dimensions[0]==="lng"&&v.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});U.exports=p},OZM5:function(U,R,i){"use strict";i.d(R,"b",function(){return t}),i.d(R,"a",function(){return a}),i.d(R,"k",function(){return s}),i.d(R,"h",function(){return r}),i.d(R,"i",function(){return c}),i.d(R,"g",function(){return e}),i.d(R,"c",function(){return o}),i.d(R,"d",function(){return u}),i.d(R,"j",function(){return A}),i.d(R,"e",function(){return w}),i.d(R,"f",function(){return x});var y=i("KQm4"),m=i("U8pU"),E=i("Ff2n"),p=i("q1tI"),v=i.n(p),f=i("Kwbf"),d=i("WaYH"),l=.25,n=2;function t(C,T){var O=C.slice(),S=O.indexOf(T);return S>=0&&O.splice(S,1),O}function a(C,T){var O=C.slice();return O.indexOf(T)===-1&&O.push(T),O}function s(C){return C.split("-")}function r(C,T){return"".concat(C,"-").concat(T)}function c(C){return C&&C.type&&C.type.isTreeNode}function e(C,T){var O=[C],S=T[C];function _(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];L.forEach(function(D){var F=D.key,j=D.children;O.push(F),_(j)})}return _(S.children),O}function o(C,T){var O=C.clientY,S=T.selectHandle.getBoundingClientRect(),_=S.top,L=S.bottom,D=S.height,F=Math.max(D*l,n);return O<=_+F?-1:O>=L-F?1:0}function u(C,T){if(!C)return;var O=T.multiple;return O?C.slice():C.length?[C[0]]:C}var h=function(T){return T};function g(C,T){if(!C)return[];var O=T||{},S=O.processProps,_=S===void 0?h:S,L=Array.isArray(C)?C:[C];return L.map(function(D){var F=D.children,j=Object(E.a)(D,["children"]),k=g(F,T);return v.a.createElement(d.a,Object.assign({},_(j)),k)})}function A(C){if(!C)return null;var T;if(Array.isArray(C))T={checkedKeys:C,halfCheckedKeys:void 0};else if(Object(m.a)(C)==="object")T={checkedKeys:C.checked||void 0,halfCheckedKeys:C.halfChecked||void 0};else return Object(f.a)(!1,"`checkedKeys` is not an array or an object"),null;return T}function w(C,T){var O=new Set;function S(_){if(O.has(_))return;var L=T[_];if(!L)return;O.add(_);var D=L.parent,F=L.node;if(F.disabled)return;D&&S(D.key)}return(C||[]).forEach(function(_){S(_)}),Object(y.a)(O)}function x(C){var T={};return Object.keys(C).forEach(function(O){(O.startsWith("data-")||O.startsWith("aria-"))&&(T[O]=C[O])}),T}},OaEy:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("bKJz"),p=i.n(E),v=i("R9oj")},Ol7k:function(U,R,i){"use strict";var y=i("PKem"),m=i("ZX9x");y.b.Sider=m.b,R.a=y.b},OlYY:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("ItGF"),f=i("4NO4"),d=i("UOVi"),l=i("zDms"),n=p.each,t=d.eachAxisDim,a=E.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,o,u){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var h=s(e);this.settledOption=h,this.mergeDefaultAndTheme(e,u),this.doInit(h)},mergeOption:function(e){var o=s(e);p.merge(this.option,e,!0),p.merge(this.settledOption,o,!0),this.doInit(o)},doInit:function(e){var o=this.option;v.canvasSupported||(o.realtime=!1),this._setDefaultThrottle(e),r(this,e);var u=this.settledOption;n([["start","startValue"],["end","endValue"]],function(h,g){this._rangePropMode[g]==="value"&&(o[h[0]]=u[h[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis(function(o,u,h,g){var A=this.dependentModels[o.axis][u],w=A.__dzAxisProxy||(A.__dzAxisProxy=new l(o.name,u,this,g));e[o.name+"_"+u]=w},this)},_resetTarget:function(){var e=this.option,o=this._judgeAutoMode();t(function(u){var h=u.axisIndex;e[h]=f.normalizeToArray(e[h])},this),o==="axisIndex"?this._autoSetAxisIndex():o==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,o=!1;t(function(h){e[h.axisIndex]!=null&&(o=!0)},this);var u=e.orient;if(u==null&&o)return"orient";if(!o)return u==null&&(e.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var e=!0,o=this.get("orient",!0),u=this.option,h=this.dependentModels;if(e){var g=o==="vertical"?"y":"x";h[g+"Axis"].length?(u[g+"AxisIndex"]=[0],e=!1):n(h.singleAxis,function(A){e&&A.get("orient",!0)===o&&(u.singleAxisIndex=[A.componentIndex],e=!1)})}e&&t(function(A){if(!e)return;var w=[],x=this.dependentModels[A.axis];if(x.length&&!w.length)for(var C=0,T=x.length;C<T;C++)x[C].get("type")==="category"&&w.push(C);u[A.axisIndex]=w,w.length&&(e=!1)},this),e&&this.ecModel.eachSeries(function(A){this._isSeriesHasAllAxesTypeOf(A,"value")&&t(function(w){var x=u[w.axisIndex],C=A.get(w.axisIndex),T=A.get(w.axisId),O=A.ecModel.queryComponents({mainType:w.axis,index:C,id:T})[0];C=O.componentIndex,p.indexOf(x,C)<0&&x.push(C)})},this)},_autoSetOrient:function(){var e;this.eachTargetAxis(function(o){!e&&(e=o.name)},this),this.option.orient=e==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,o){var u=!0;return t(function(h){var g=e.get(h.axisIndex),A=this.dependentModels[h.axis][g];(!A||A.get("type")!==o)&&(u=!1)},this),u},_setDefaultThrottle:function(e){if(e.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 e;return t(function(o){if(e==null){var u=this.get(o.axisIndex);u.length&&(e=this.dependentModels[o.axis][u[0]])}},this),e},eachTargetAxis:function(e,o){var u=this.ecModel;t(function(h){n(this.get(h.axisIndex),function(g){e.call(o,h,g,this,u)},this)},this)},getAxisProxy:function(e,o){return this._axisProxies[e+"_"+o]},getAxisModel:function(e,o){var u=this.getAxisProxy(e,o);return u&&u.getAxisModel()},setRawRange:function(e){var o=this.option,u=this.settledOption;n([["start","startValue"],["end","endValue"]],function(h){(e[h[0]]!=null||e[h[1]]!=null)&&(o[h[0]]=u[h[0]]=e[h[0]],o[h[1]]=u[h[1]]=e[h[1]])},this),r(this,e)},setCalculatedRange:function(e){var o=this.option;n(["start","startValue","end","endValue"],function(u){o[u]=e[u]})},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,o){if(e==null&&o==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(e,o).getDataValueWindow()},findRepresentativeAxisProxy:function(e){if(e)return e.__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 s(e){var o={};return n(["start","end","startValue","endValue","throttle"],function(u){e.hasOwnProperty(u)&&(o[u]=e[u])}),o}function r(e,o){var u=e._rangePropMode,h=e.get("rangeMode");n([["start","startValue"],["end","endValue"]],function(g,A){var w=o[g[0]]!=null,x=o[g[1]]!=null;w&&!x?u[A]="percent":!w&&x?u[A]="value":h?u[A]=h[A]:w&&(u[A]="percent")})}var c=a;U.exports=c},OnYD:function(U,R,i){},"Oy/b":function(U,R,i){(function(m,E){U.exports=E()})(typeof self!="undefined"?self:this,function(){return function(y){var m={};function E(p){if(m[p])return m[p].exports;var v=m[p]={i:p,l:!1,exports:{}};return y[p].call(v.exports,v,v.exports,E),v.l=!0,v.exports}return E.m=y,E.c=m,E.d=function(p,v,f){E.o(p,v)||Object.defineProperty(p,v,{enumerable:!0,get:f})},E.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},E.t=function(p,v){if(v&1&&(p=E(p)),v&8)return p;if(v&4&&typeof p=="object"&&p&&p.__esModule)return p;var f=Object.create(null);if(E.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:p}),v&2&&typeof p!="string")for(var d in p)E.d(f,d,function(l){return p[l]}.bind(null,d));return f},E.n=function(p){var v=p&&p.__esModule?function(){return p.default}:function(){return p};return E.d(v,"a",v),v},E.o=function(p,v){return Object.prototype.hasOwnProperty.call(p,v)},E.p="",E(E.s=1)}([function(y,m,E){},function(y,m,E){"use strict";E.r(m);var p=E(0),v=function(){function Et(ce,Se,Oe){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=ce,this.start=Se,this.end=Oe}return Et.range=function(Se,Oe){return Oe?!Se||!Se.loc||!Oe.loc||Se.loc.lexer!==Oe.loc.lexer?null:new Et(Se.loc.lexer,Se.loc.start,Oe.loc.end):Se&&Se.loc},Et}(),f=function(){function Et(Se,Oe){this.text=void 0,this.loc=void 0,this.text=Se,this.loc=Oe}var ce=Et.prototype;return ce.range=function(Oe,Xe){return new Et(Xe,v.range(this,Oe))},Et}(),d=function Et(ce,Se){this.position=void 0;var Oe="KaTeX parse error: "+ce,Xe,wt=Se&&Se.loc;if(wt&&wt.start<=wt.end){var Ht=wt.lexer.input;Xe=wt.start;var Pr=wt.end;Xe===Ht.length?Oe+=" at end of input: ":Oe+=" at position "+(Xe+1)+": ";var Xr=Ht.slice(Xe,Pr).replace(/[^]/g,"$&\u0332"),yn;Xe>15?yn="\u2026"+Ht.slice(Xe-15,Xe):yn=Ht.slice(0,Xe);var Jn;Pr+15<Ht.length?Jn=Ht.slice(Pr,Pr+15)+"\u2026":Jn=Ht.slice(Pr),Oe+=yn+Xr+Jn}var Ei=new Error(Oe);return Ei.name="ParseError",Ei.__proto__=Et.prototype,Ei.position=Xe,Ei};d.prototype.__proto__=Error.prototype;var l=d,n=function(ce,Se){return ce.indexOf(Se)!==-1},t=function(ce,Se){return ce===void 0?Se:ce},a=/([A-Z])/g,s=function(ce){return ce.replace(a,"-$1").toLowerCase()},r={"&":"&",">":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;function e(Et){return String(Et).replace(c,function(ce){return r[ce]})}var o=function Et(ce){return ce.type==="ordgroup"||ce.type==="color"?ce.body.length===1?Et(ce.body[0]):ce:ce.type==="font"?Et(ce.body):ce},u=function(ce){var Se=o(ce);return Se.type==="mathord"||Se.type==="textord"||Se.type==="atom"},h=function(ce){if(!ce)throw new Error("Expected non-null, but got "+String(ce));return ce},g=function(ce){var Se=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(ce);return Se!=null?Se[1]:"_relative"},A={contains:n,deflt:t,escape:e,hyphenate:s,getBaseElem:o,isCharacterBox:u,protocolFromUrl:g},w=function(){function Et(Se){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,Se=Se||{},this.displayMode=A.deflt(Se.displayMode,!1),this.output=A.deflt(Se.output,"htmlAndMathml"),this.leqno=A.deflt(Se.leqno,!1),this.fleqn=A.deflt(Se.fleqn,!1),this.throwOnError=A.deflt(Se.throwOnError,!0),this.errorColor=A.deflt(Se.errorColor,"#cc0000"),this.macros=Se.macros||{},this.minRuleThickness=Math.max(0,A.deflt(Se.minRuleThickness,0)),this.colorIsTextColor=A.deflt(Se.colorIsTextColor,!1),this.strict=A.deflt(Se.strict,"warn"),this.trust=A.deflt(Se.trust,!1),this.maxSize=Math.max(0,A.deflt(Se.maxSize,Infinity)),this.maxExpand=Math.max(0,A.deflt(Se.maxExpand,1e3))}var ce=Et.prototype;return ce.reportNonstrict=function(Oe,Xe,wt){var Ht=this.strict;if(typeof Ht=="function"&&(Ht=Ht(Oe,Xe,wt)),!Ht||Ht==="ignore")return;if(Ht===!0||Ht==="error")throw new l("LaTeX-incompatible input and strict mode is set to 'error': "+(Xe+" ["+Oe+"]"),wt);Ht==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Xe+" ["+Oe+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ht+"': "+Xe+" ["+Oe+"]"))},ce.useStrictBehavior=function(Oe,Xe,wt){var Ht=this.strict;if(typeof Ht=="function")try{Ht=Ht(Oe,Xe,wt)}catch(Pr){Ht="error"}return!Ht||Ht==="ignore"?!1:Ht===!0||Ht==="error"?!0:Ht==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Xe+" ["+Oe+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ht+"': "+Xe+" ["+Oe+"]")),!1)},ce.isTrusted=function(Oe){Oe.url&&!Oe.protocol&&(Oe.protocol=A.protocolFromUrl(Oe.url));var Xe=typeof this.trust=="function"?this.trust(Oe):this.trust;return Boolean(Xe)},Et}(),x=function(){function Et(Se,Oe,Xe){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Se,this.size=Oe,this.cramped=Xe}var ce=Et.prototype;return ce.sup=function(){return j[k[this.id]]},ce.sub=function(){return j[K[this.id]]},ce.fracNum=function(){return j[Z[this.id]]},ce.fracDen=function(){return j[B[this.id]]},ce.cramp=function(){return j[V[this.id]]},ce.text=function(){return j[z[this.id]]},ce.isTight=function(){return this.size>=2},Et}(),C=0,T=1,O=2,S=3,_=4,L=5,D=6,F=7,j=[new x(C,0,!1),new x(T,0,!0),new x(O,1,!1),new x(S,1,!0),new x(_,2,!1),new x(L,2,!0),new x(D,3,!1),new x(F,3,!0)],k=[_,L,_,L,D,F,D,F],K=[L,L,L,L,F,F,F,F],Z=[O,S,_,L,D,F,D,F],B=[S,S,L,L,F,F,F,F],V=[T,T,S,S,L,L,F,F],z=[C,T,O,S,O,S,O,S],X={DISPLAY:j[C],TEXT:j[O],SCRIPT:j[_],SCRIPTSCRIPT:j[D]},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 q(Et){for(var ce=0;ce<W.length;ce++)for(var Se=W[ce],Oe=0;Oe<Se.blocks.length;Oe++){var Xe=Se.blocks[Oe];if(Et>=Xe[0]&&Et<=Xe[1])return Se.name}return null}var Y=[];W.forEach(function(Et){return Et.blocks.forEach(function(ce){return Y.push.apply(Y,ce)})});function re(Et){for(var ce=0;ce<Y.length;ce+=2)if(Et>=Y[ce]&&Et<=Y[ce+1])return!0;return!1}var ne=80,we=function(ce,Se){return"M95,"+(622+ce+Se)+`
|
|
|
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`+ce/2.075+" -"+ce+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+ce)+`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+ce)+" "+Se+"h400000v"+(40+ce)+"h-400000z"},ie=function(ce,Se){return"M263,"+(601+ce+Se)+`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`+ce/2.084+" -"+ce+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+ce)+`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+ce)+" "+Se+"h400000v"+(40+ce)+"h-400000z"},me=function(ce,Se){return"M983 "+(10+ce+Se)+`
|
|
|
l`+ce/3.13+" -"+ce+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+ce)+`
|
|
|
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+ce)+" "+Se+"h400000v"+(40+ce)+"h-400000z"},_e=function(ce,Se){return"M424,"+(2398+ce+Se)+`
|
|
|
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`+ce/4.223+" -"+ce+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+ce)+`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+ce)+" "+Se+`
|
|
|
h400000v`+(40+ce)+"h-400000z"},Te=function(ce,Se){return"M473,"+(2713+ce+Se)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+ce/5.298+" -"+ce+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+ce)+`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+ce)+" "+Se+"h400000v"+(40+ce)+"H1017.7z"},We=function(ce,Se,Oe){var Xe=Oe-54-Se-ce;return"M702 "+(ce+Se)+"H400000"+(40+ce)+`
|
|
|
H742v`+Xe+`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 `+Se+"H400000v"+(40+ce)+"H742z"},Ae=function(ce,Se,Oe){Se=1e3*Se;var Xe="";switch(ce){case"sqrtMain":Xe=we(Se,ne);break;case"sqrtSize1":Xe=ie(Se,ne);break;case"sqrtSize2":Xe=me(Se,ne);break;case"sqrtSize3":Xe=_e(Se,ne);break;case"sqrtSize4":Xe=Te(Se,ne);break;case"sqrtTall":Xe=We(Se,ne,Oe)}return Xe},je={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ee=function(){function Et(Se){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=Se,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var ce=Et.prototype;return ce.hasClass=function(Oe){return A.contains(this.classes,Oe)},ce.toNode=function(){for(var Oe=document.createDocumentFragment(),Xe=0;Xe<this.children.length;Xe++)Oe.appendChild(this.children[Xe].toNode());return Oe},ce.toMarkup=function(){for(var Oe="",Xe=0;Xe<this.children.length;Xe++)Oe+=this.children[Xe].toMarkup();return Oe},ce.toText=function(){var Oe=function(wt){return wt.toText()};return this.children.map(Oe).join("")},Et}(),he=function(ce){return ce.filter(function(Se){return Se}).join(" ")},Ze=function(ce,Se,Oe){if(this.classes=ce||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Oe||{},Se){Se.style.isTight()&&this.classes.push("mtight");var Xe=Se.getColor();Xe&&(this.style.color=Xe)}},oe=function(ce){var Se=document.createElement(ce);Se.className=he(this.classes);for(var Oe in this.style)this.style.hasOwnProperty(Oe)&&(Se.style[Oe]=this.style[Oe]);for(var Xe in this.attributes)this.attributes.hasOwnProperty(Xe)&&Se.setAttribute(Xe,this.attributes[Xe]);for(var wt=0;wt<this.children.length;wt++)Se.appendChild(this.children[wt].toNode());return Se},Q=function(ce){var Se="<"+ce;this.classes.length&&(Se+=' class="'+A.escape(he(this.classes))+'"');var Oe="";for(var Xe in this.style)this.style.hasOwnProperty(Xe)&&(Oe+=A.hyphenate(Xe)+":"+this.style[Xe]+";");Oe&&(Se+=' style="'+A.escape(Oe)+'"');for(var wt in this.attributes)this.attributes.hasOwnProperty(wt)&&(Se+=" "+wt+'="'+A.escape(this.attributes[wt])+'"');Se+=">";for(var Ht=0;Ht<this.children.length;Ht++)Se+=this.children[Ht].toMarkup();return Se+="</"+ce+">",Se},G=function(){function Et(Se,Oe,Xe,wt){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ze.call(this,Se,Xe,wt),this.children=Oe||[]}var ce=Et.prototype;return ce.setAttribute=function(Oe,Xe){this.attributes[Oe]=Xe},ce.hasClass=function(Oe){return A.contains(this.classes,Oe)},ce.toNode=function(){return oe.call(this,"span")},ce.toMarkup=function(){return Q.call(this,"span")},Et}(),te=function(){function Et(Se,Oe,Xe,wt){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ze.call(this,Oe,wt),this.children=Xe||[],this.setAttribute("href",Se)}var ce=Et.prototype;return ce.setAttribute=function(Oe,Xe){this.attributes[Oe]=Xe},ce.hasClass=function(Oe){return A.contains(this.classes,Oe)},ce.toNode=function(){return oe.call(this,"a")},ce.toMarkup=function(){return Q.call(this,"a")},Et}(),xe=function(){function Et(Se,Oe,Xe){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=Oe,this.src=Se,this.classes=["mord"],this.style=Xe}var ce=Et.prototype;return ce.hasClass=function(Oe){return A.contains(this.classes,Oe)},ce.toNode=function(){var Oe=document.createElement("img");Oe.src=this.src,Oe.alt=this.alt,Oe.className="mord";for(var Xe in this.style)this.style.hasOwnProperty(Xe)&&(Oe.style[Xe]=this.style[Xe]);return Oe},ce.toMarkup=function(){var Oe="<img src='"+this.src+" 'alt='"+this.alt+"' ",Xe="";for(var wt in this.style)this.style.hasOwnProperty(wt)&&(Xe+=A.hyphenate(wt)+":"+this.style[wt]+";");return Xe&&(Oe+=' style="'+A.escape(Xe)+'"'),Oe+="'/>",Oe},Et}(),fe={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Be=function(){function Et(Se,Oe,Xe,wt,Ht,Pr,Xr,yn){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=Se,this.height=Oe||0,this.depth=Xe||0,this.italic=wt||0,this.skew=Ht||0,this.width=Pr||0,this.classes=Xr||[],this.style=yn||{},this.maxFontSize=0;var Jn=q(this.text.charCodeAt(0));Jn&&this.classes.push(Jn+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=fe[this.text])}var ce=Et.prototype;return ce.hasClass=function(Oe){return A.contains(this.classes,Oe)},ce.toNode=function(){var Oe=document.createTextNode(this.text),Xe=null;this.italic>0&&(Xe=document.createElement("span"),Xe.style.marginRight=this.italic+"em"),this.classes.length>0&&(Xe=Xe||document.createElement("span"),Xe.className=he(this.classes));for(var wt in this.style)this.style.hasOwnProperty(wt)&&(Xe=Xe||document.createElement("span"),Xe.style[wt]=this.style[wt]);return Xe?(Xe.appendChild(Oe),Xe):Oe},ce.toMarkup=function(){var Oe=!1,Xe="<span";this.classes.length&&(Oe=!0,Xe+=' class="',Xe+=A.escape(he(this.classes)),Xe+='"');var wt="";this.italic>0&&(wt+="margin-right:"+this.italic+"em;");for(var Ht in this.style)this.style.hasOwnProperty(Ht)&&(wt+=A.hyphenate(Ht)+":"+this.style[Ht]+";");wt&&(Oe=!0,Xe+=' style="'+A.escape(wt)+'"');var Pr=A.escape(this.text);return Oe?(Xe+=">",Xe+=Pr,Xe+="</span>",Xe):Pr},Et}(),Ne=function(){function Et(Se,Oe){this.children=void 0,this.attributes=void 0,this.children=Se||[],this.attributes=Oe||{}}var ce=Et.prototype;return ce.toNode=function(){var Oe="http://www.w3.org/2000/svg",Xe=document.createElementNS(Oe,"svg");for(var wt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,wt)&&Xe.setAttribute(wt,this.attributes[wt]);for(var Ht=0;Ht<this.children.length;Ht++)Xe.appendChild(this.children[Ht].toNode());return Xe},ce.toMarkup=function(){var Oe="<svg";for(var Xe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Xe)&&(Oe+=" "+Xe+"='"+this.attributes[Xe]+"'");Oe+=">";for(var wt=0;wt<this.children.length;wt++)Oe+=this.children[wt].toMarkup();return Oe+="</svg>",Oe},Et}(),de=function(){function Et(Se,Oe){this.pathName=void 0,this.alternate=void 0,this.pathName=Se,this.alternate=Oe}var ce=Et.prototype;return ce.toNode=function(){var Oe="http://www.w3.org/2000/svg",Xe=document.createElementNS(Oe,"path");return this.alternate?Xe.setAttribute("d",this.alternate):Xe.setAttribute("d",je[this.pathName]),Xe},ce.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+je[this.pathName]+"'/>"},Et}(),ve=function(){function Et(Se){this.attributes=void 0,this.attributes=Se||{}}var ce=Et.prototype;return ce.toNode=function(){var Oe="http://www.w3.org/2000/svg",Xe=document.createElementNS(Oe,"line");for(var wt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,wt)&&Xe.setAttribute(wt,this.attributes[wt]);return Xe},ce.toMarkup=function(){var Oe="<line";for(var Xe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Xe)&&(Oe+=" "+Xe+"='"+this.attributes[Xe]+"'");return Oe+="/>",Oe},Et}();function Me(Et){if(Et instanceof Be)return Et;throw new Error("Expected symbolNode but got "+String(Et)+".")}function qe(Et){if(Et instanceof G)return Et;throw new Error("Expected span<HtmlDomNode> but got "+String(Et)+".")}var gt={"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]}},ht={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]},Pe={\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 It(Et,ce){gt[Et]=ce}function nt(Et,ce,Se){if(!gt[ce])throw new Error("Font metrics not found for font: "+ce+".");var Oe=Et.charCodeAt(0),Xe=gt[ce][Oe];if(!Xe&&Et[0]in Pe&&(Oe=Pe[Et[0]].charCodeAt(0),Xe=gt[ce][Oe]),!Xe&&Se==="text"&&(re(Oe)&&(Xe=gt[ce][77])),Xe)return{depth:Xe[0],height:Xe[1],italic:Xe[2],skew:Xe[3],width:Xe[4]}}var Nt={};function Bt(Et){var ce;if(Et>=5?ce=0:Et>=3?ce=1:ce=2,!Nt[ce]){var Se=Nt[ce]={cssEmPerMu:ht.quad[ce]/18};for(var Oe in ht)ht.hasOwnProperty(Oe)&&(Se[Oe]=ht[Oe][ce])}return Nt[ce]}var Pt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},jt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},er={math:{},text:{}},at=er;function Ce(Et,ce,Se,Oe,Xe,wt){er[Et][Xe]={font:ce,group:Se,replace:Oe},wt&&Oe&&(er[Et][Oe]=er[Et][Xe])}var ue="math",Dt="text",rt="main",ye="ams",Xt="accent-token",pr="bin",mt="close",nr="inner",yr="mathord",gn="op-token",_r="open",ur="punct",zt="rel",bt="spacing",ot="textord";Ce(ue,rt,zt,"\u2261","\\equiv",!0),Ce(ue,rt,zt,"\u227A","\\prec",!0),Ce(ue,rt,zt,"\u227B","\\succ",!0),Ce(ue,rt,zt,"\u223C","\\sim",!0),Ce(ue,rt,zt,"\u22A5","\\perp"),Ce(ue,rt,zt,"\u2AAF","\\preceq",!0),Ce(ue,rt,zt,"\u2AB0","\\succeq",!0),Ce(ue,rt,zt,"\u2243","\\simeq",!0),Ce(ue,rt,zt,"\u2223","\\mid",!0),Ce(ue,rt,zt,"\u226A","\\ll",!0),Ce(ue,rt,zt,"\u226B","\\gg",!0),Ce(ue,rt,zt,"\u224D","\\asymp",!0),Ce(ue,rt,zt,"\u2225","\\parallel"),Ce(ue,rt,zt,"\u22C8","\\bowtie",!0),Ce(ue,rt,zt,"\u2323","\\smile",!0),Ce(ue,rt,zt,"\u2291","\\sqsubseteq",!0),Ce(ue,rt,zt,"\u2292","\\sqsupseteq",!0),Ce(ue,rt,zt,"\u2250","\\doteq",!0),Ce(ue,rt,zt,"\u2322","\\frown",!0),Ce(ue,rt,zt,"\u220B","\\ni",!0),Ce(ue,rt,zt,"\u221D","\\propto",!0),Ce(ue,rt,zt,"\u22A2","\\vdash",!0),Ce(ue,rt,zt,"\u22A3","\\dashv",!0),Ce(ue,rt,zt,"\u220B","\\owns"),Ce(ue,rt,ur,".","\\ldotp"),Ce(ue,rt,ur,"\u22C5","\\cdotp"),Ce(ue,rt,ot,"#","\\#"),Ce(Dt,rt,ot,"#","\\#"),Ce(ue,rt,ot,"&","\\&"),Ce(Dt,rt,ot,"&","\\&"),Ce(ue,rt,ot,"\u2135","\\aleph",!0),Ce(ue,rt,ot,"\u2200","\\forall",!0),Ce(ue,rt,ot,"\u210F","\\hbar",!0),Ce(ue,rt,ot,"\u2203","\\exists",!0),Ce(ue,rt,ot,"\u2207","\\nabla",!0),Ce(ue,rt,ot,"\u266D","\\flat",!0),Ce(ue,rt,ot,"\u2113","\\ell",!0),Ce(ue,rt,ot,"\u266E","\\natural",!0),Ce(ue,rt,ot,"\u2663","\\clubsuit",!0),Ce(ue,rt,ot,"\u2118","\\wp",!0),Ce(ue,rt,ot,"\u266F","\\sharp",!0),Ce(ue,rt,ot,"\u2662","\\diamondsuit",!0),Ce(ue,rt,ot,"\u211C","\\Re",!0),Ce(ue,rt,ot,"\u2661","\\heartsuit",!0),Ce(ue,rt,ot,"\u2111","\\Im",!0),Ce(ue,rt,ot,"\u2660","\\spadesuit",!0),Ce(Dt,rt,ot,"\xA7","\\S",!0),Ce(Dt,rt,ot,"\xB6","\\P",!0),Ce(ue,rt,ot,"\u2020","\\dag"),Ce(Dt,rt,ot,"\u2020","\\dag"),Ce(Dt,rt,ot,"\u2020","\\textdagger"),Ce(ue,rt,ot,"\u2021","\\ddag"),Ce(Dt,rt,ot,"\u2021","\\ddag"),Ce(Dt,rt,ot,"\u2021","\\textdaggerdbl"),Ce(ue,rt,mt,"\u23B1","\\rmoustache",!0),Ce(ue,rt,_r,"\u23B0","\\lmoustache",!0),Ce(ue,rt,mt,"\u27EF","\\rgroup",!0),Ce(ue,rt,_r,"\u27EE","\\lgroup",!0),Ce(ue,rt,pr,"\u2213","\\mp",!0),Ce(ue,rt,pr,"\u2296","\\ominus",!0),Ce(ue,rt,pr,"\u228E","\\uplus",!0),Ce(ue,rt,pr,"\u2293","\\sqcap",!0),Ce(ue,rt,pr,"\u2217","\\ast"),Ce(ue,rt,pr,"\u2294","\\sqcup",!0),Ce(ue,rt,pr,"\u25EF","\\bigcirc"),Ce(ue,rt,pr,"\u2219","\\bullet"),Ce(ue,rt,pr,"\u2021","\\ddagger"),Ce(ue,rt,pr,"\u2240","\\wr",!0),Ce(ue,rt,pr,"\u2A3F","\\amalg"),Ce(ue,rt,pr,"&","\\And"),Ce(ue,rt,zt,"\u27F5","\\longleftarrow",!0),Ce(ue,rt,zt,"\u21D0","\\Leftarrow",!0),Ce(ue,rt,zt,"\u27F8","\\Longleftarrow",!0),Ce(ue,rt,zt,"\u27F6","\\longrightarrow",!0),Ce(ue,rt,zt,"\u21D2","\\Rightarrow",!0),Ce(ue,rt,zt,"\u27F9","\\Longrightarrow",!0),Ce(ue,rt,zt,"\u2194","\\leftrightarrow",!0),Ce(ue,rt,zt,"\u27F7","\\longleftrightarrow",!0),Ce(ue,rt,zt,"\u21D4","\\Leftrightarrow",!0),Ce(ue,rt,zt,"\u27FA","\\Longleftrightarrow",!0),Ce(ue,rt,zt,"\u21A6","\\mapsto",!0),Ce(ue,rt,zt,"\u27FC","\\longmapsto",!0),Ce(ue,rt,zt,"\u2197","\\nearrow",!0),Ce(ue,rt,zt,"\u21A9","\\hookleftarrow",!0),Ce(ue,rt,zt,"\u21AA","\\hookrightarrow",!0),Ce(ue,rt,zt,"\u2198","\\searrow",!0),Ce(ue,rt,zt,"\u21BC","\\leftharpoonup",!0),Ce(ue,rt,zt,"\u21C0","\\rightharpoonup",!0),Ce(ue,rt,zt,"\u2199","\\swarrow",!0),Ce(ue,rt,zt,"\u21BD","\\leftharpoondown",!0),Ce(ue,rt,zt,"\u21C1","\\rightharpoondown",!0),Ce(ue,rt,zt,"\u2196","\\nwarrow",!0),Ce(ue,rt,zt,"\u21CC","\\rightleftharpoons",!0),Ce(ue,ye,zt,"\u226E","\\nless",!0),Ce(ue,ye,zt,"\uE010","\\@nleqslant"),Ce(ue,ye,zt,"\uE011","\\@nleqq"),Ce(ue,ye,zt,"\u2A87","\\lneq",!0),Ce(ue,ye,zt,"\u2268","\\lneqq",!0),Ce(ue,ye,zt,"\uE00C","\\@lvertneqq"),Ce(ue,ye,zt,"\u22E6","\\lnsim",!0),Ce(ue,ye,zt,"\u2A89","\\lnapprox",!0),Ce(ue,ye,zt,"\u2280","\\nprec",!0),Ce(ue,ye,zt,"\u22E0","\\npreceq",!0),Ce(ue,ye,zt,"\u22E8","\\precnsim",!0),Ce(ue,ye,zt,"\u2AB9","\\precnapprox",!0),Ce(ue,ye,zt,"\u2241","\\nsim",!0),Ce(ue,ye,zt,"\uE006","\\@nshortmid"),Ce(ue,ye,zt,"\u2224","\\nmid",!0),Ce(ue,ye,zt,"\u22AC","\\nvdash",!0),Ce(ue,ye,zt,"\u22AD","\\nvDash",!0),Ce(ue,ye,zt,"\u22EA","\\ntriangleleft"),Ce(ue,ye,zt,"\u22EC","\\ntrianglelefteq",!0),Ce(ue,ye,zt,"\u228A","\\subsetneq",!0),Ce(ue,ye,zt,"\uE01A","\\@varsubsetneq"),Ce(ue,ye,zt,"\u2ACB","\\subsetneqq",!0),Ce(ue,ye,zt,"\uE017","\\@varsubsetneqq"),Ce(ue,ye,zt,"\u226F","\\ngtr",!0),Ce(ue,ye,zt,"\uE00F","\\@ngeqslant"),Ce(ue,ye,zt,"\uE00E","\\@ngeqq"),Ce(ue,ye,zt,"\u2A88","\\gneq",!0),Ce(ue,ye,zt,"\u2269","\\gneqq",!0),Ce(ue,ye,zt,"\uE00D","\\@gvertneqq"),Ce(ue,ye,zt,"\u22E7","\\gnsim",!0),Ce(ue,ye,zt,"\u2A8A","\\gnapprox",!0),Ce(ue,ye,zt,"\u2281","\\nsucc",!0),Ce(ue,ye,zt,"\u22E1","\\nsucceq",!0),Ce(ue,ye,zt,"\u22E9","\\succnsim",!0),Ce(ue,ye,zt,"\u2ABA","\\succnapprox",!0),Ce(ue,ye,zt,"\u2246","\\ncong",!0),Ce(ue,ye,zt,"\uE007","\\@nshortparallel"),Ce(ue,ye,zt,"\u2226","\\nparallel",!0),Ce(ue,ye,zt,"\u22AF","\\nVDash",!0),Ce(ue,ye,zt,"\u22EB","\\ntriangleright"),Ce(ue,ye,zt,"\u22ED","\\ntrianglerighteq",!0),Ce(ue,ye,zt,"\uE018","\\@nsupseteqq"),Ce(ue,ye,zt,"\u228B","\\supsetneq",!0),Ce(ue,ye,zt,"\uE01B","\\@varsupsetneq"),Ce(ue,ye,zt,"\u2ACC","\\supsetneqq",!0),Ce(ue,ye,zt,"\uE019","\\@varsupsetneqq"),Ce(ue,ye,zt,"\u22AE","\\nVdash",!0),Ce(ue,ye,zt,"\u2AB5","\\precneqq",!0),Ce(ue,ye,zt,"\u2AB6","\\succneqq",!0),Ce(ue,ye,zt,"\uE016","\\@nsubseteqq"),Ce(ue,ye,pr,"\u22B4","\\unlhd"),Ce(ue,ye,pr,"\u22B5","\\unrhd"),Ce(ue,ye,zt,"\u219A","\\nleftarrow",!0),Ce(ue,ye,zt,"\u219B","\\nrightarrow",!0),Ce(ue,ye,zt,"\u21CD","\\nLeftarrow",!0),Ce(ue,ye,zt,"\u21CF","\\nRightarrow",!0),Ce(ue,ye,zt,"\u21AE","\\nleftrightarrow",!0),Ce(ue,ye,zt,"\u21CE","\\nLeftrightarrow",!0),Ce(ue,ye,zt,"\u25B3","\\vartriangle"),Ce(ue,ye,ot,"\u210F","\\hslash"),Ce(ue,ye,ot,"\u25BD","\\triangledown"),Ce(ue,ye,ot,"\u25CA","\\lozenge"),Ce(ue,ye,ot,"\u24C8","\\circledS"),Ce(ue,ye,ot,"\xAE","\\circledR"),Ce(Dt,ye,ot,"\xAE","\\circledR"),Ce(ue,ye,ot,"\u2221","\\measuredangle",!0),Ce(ue,ye,ot,"\u2204","\\nexists"),Ce(ue,ye,ot,"\u2127","\\mho"),Ce(ue,ye,ot,"\u2132","\\Finv",!0),Ce(ue,ye,ot,"\u2141","\\Game",!0),Ce(ue,ye,ot,"\u2035","\\backprime"),Ce(ue,ye,ot,"\u25B2","\\blacktriangle"),Ce(ue,ye,ot,"\u25BC","\\blacktriangledown"),Ce(ue,ye,ot,"\u25A0","\\blacksquare"),Ce(ue,ye,ot,"\u29EB","\\blacklozenge"),Ce(ue,ye,ot,"\u2605","\\bigstar"),Ce(ue,ye,ot,"\u2222","\\sphericalangle",!0),Ce(ue,ye,ot,"\u2201","\\complement",!0),Ce(ue,ye,ot,"\xF0","\\eth",!0),Ce(ue,ye,ot,"\u2571","\\diagup"),Ce(ue,ye,ot,"\u2572","\\diagdown"),Ce(ue,ye,ot,"\u25A1","\\square"),Ce(ue,ye,ot,"\u25A1","\\Box"),Ce(ue,ye,ot,"\u25CA","\\Diamond"),Ce(ue,ye,ot,"\xA5","\\yen",!0),Ce(Dt,ye,ot,"\xA5","\\yen",!0),Ce(ue,ye,ot,"\u2713","\\checkmark",!0),Ce(Dt,ye,ot,"\u2713","\\checkmark"),Ce(ue,ye,ot,"\u2136","\\beth",!0),Ce(ue,ye,ot,"\u2138","\\daleth",!0),Ce(ue,ye,ot,"\u2137","\\gimel",!0),Ce(ue,ye,ot,"\u03DD","\\digamma",!0),Ce(ue,ye,ot,"\u03F0","\\varkappa"),Ce(ue,ye,_r,"\u250C","\\ulcorner",!0),Ce(ue,ye,mt,"\u2510","\\urcorner",!0),Ce(ue,ye,_r,"\u2514","\\llcorner",!0),Ce(ue,ye,mt,"\u2518","\\lrcorner",!0),Ce(ue,ye,zt,"\u2266","\\leqq",!0),Ce(ue,ye,zt,"\u2A7D","\\leqslant",!0),Ce(ue,ye,zt,"\u2A95","\\eqslantless",!0),Ce(ue,ye,zt,"\u2272","\\lesssim",!0),Ce(ue,ye,zt,"\u2A85","\\lessapprox",!0),Ce(ue,ye,zt,"\u224A","\\approxeq",!0),Ce(ue,ye,pr,"\u22D6","\\lessdot"),Ce(ue,ye,zt,"\u22D8","\\lll",!0),Ce(ue,ye,zt,"\u2276","\\lessgtr",!0),Ce(ue,ye,zt,"\u22DA","\\lesseqgtr",!0),Ce(ue,ye,zt,"\u2A8B","\\lesseqqgtr",!0),Ce(ue,ye,zt,"\u2251","\\doteqdot"),Ce(ue,ye,zt,"\u2253","\\risingdotseq",!0),Ce(ue,ye,zt,"\u2252","\\fallingdotseq",!0),Ce(ue,ye,zt,"\u223D","\\backsim",!0),Ce(ue,ye,zt,"\u22CD","\\backsimeq",!0),Ce(ue,ye,zt,"\u2AC5","\\subseteqq",!0),Ce(ue,ye,zt,"\u22D0","\\Subset",!0),Ce(ue,ye,zt,"\u228F","\\sqsubset",!0),Ce(ue,ye,zt,"\u227C","\\preccurlyeq",!0),Ce(ue,ye,zt,"\u22DE","\\curlyeqprec",!0),Ce(ue,ye,zt,"\u227E","\\precsim",!0),Ce(ue,ye,zt,"\u2AB7","\\precapprox",!0),Ce(ue,ye,zt,"\u22B2","\\vartriangleleft"),Ce(ue,ye,zt,"\u22B4","\\trianglelefteq"),Ce(ue,ye,zt,"\u22A8","\\vDash",!0),Ce(ue,ye,zt,"\u22AA","\\Vvdash",!0),Ce(ue,ye,zt,"\u2323","\\smallsmile"),Ce(ue,ye,zt,"\u2322","\\smallfrown"),Ce(ue,ye,zt,"\u224F","\\bumpeq",!0),Ce(ue,ye,zt,"\u224E","\\Bumpeq",!0),Ce(ue,ye,zt,"\u2267","\\geqq",!0),Ce(ue,ye,zt,"\u2A7E","\\geqslant",!0),Ce(ue,ye,zt,"\u2A96","\\eqslantgtr",!0),Ce(ue,ye,zt,"\u2273","\\gtrsim",!0),Ce(ue,ye,zt,"\u2A86","\\gtrapprox",!0),Ce(ue,ye,pr,"\u22D7","\\gtrdot"),Ce(ue,ye,zt,"\u22D9","\\ggg",!0),Ce(ue,ye,zt,"\u2277","\\gtrless",!0),Ce(ue,ye,zt,"\u22DB","\\gtreqless",!0),Ce(ue,ye,zt,"\u2A8C","\\gtreqqless",!0),Ce(ue,ye,zt,"\u2256","\\eqcirc",!0),Ce(ue,ye,zt,"\u2257","\\circeq",!0),Ce(ue,ye,zt,"\u225C","\\triangleq",!0),Ce(ue,ye,zt,"\u223C","\\thicksim"),Ce(ue,ye,zt,"\u2248","\\thickapprox"),Ce(ue,ye,zt,"\u2AC6","\\supseteqq",!0),Ce(ue,ye,zt,"\u22D1","\\Supset",!0),Ce(ue,ye,zt,"\u2290","\\sqsupset",!0),Ce(ue,ye,zt,"\u227D","\\succcurlyeq",!0),Ce(ue,ye,zt,"\u22DF","\\curlyeqsucc",!0),Ce(ue,ye,zt,"\u227F","\\succsim",!0),Ce(ue,ye,zt,"\u2AB8","\\succapprox",!0),Ce(ue,ye,zt,"\u22B3","\\vartriangleright"),Ce(ue,ye,zt,"\u22B5","\\trianglerighteq"),Ce(ue,ye,zt,"\u22A9","\\Vdash",!0),Ce(ue,ye,zt,"\u2223","\\shortmid"),Ce(ue,ye,zt,"\u2225","\\shortparallel"),Ce(ue,ye,zt,"\u226C","\\between",!0),Ce(ue,ye,zt,"\u22D4","\\pitchfork",!0),Ce(ue,ye,zt,"\u221D","\\varpropto"),Ce(ue,ye,zt,"\u25C0","\\blacktriangleleft"),Ce(ue,ye,zt,"\u2234","\\therefore",!0),Ce(ue,ye,zt,"\u220D","\\backepsilon"),Ce(ue,ye,zt,"\u25B6","\\blacktriangleright"),Ce(ue,ye,zt,"\u2235","\\because",!0),Ce(ue,ye,zt,"\u22D8","\\llless"),Ce(ue,ye,zt,"\u22D9","\\gggtr"),Ce(ue,ye,pr,"\u22B2","\\lhd"),Ce(ue,ye,pr,"\u22B3","\\rhd"),Ce(ue,ye,zt,"\u2242","\\eqsim",!0),Ce(ue,rt,zt,"\u22C8","\\Join"),Ce(ue,ye,zt,"\u2251","\\Doteq",!0),Ce(ue,ye,pr,"\u2214","\\dotplus",!0),Ce(ue,ye,pr,"\u2216","\\smallsetminus"),Ce(ue,ye,pr,"\u22D2","\\Cap",!0),Ce(ue,ye,pr,"\u22D3","\\Cup",!0),Ce(ue,ye,pr,"\u2A5E","\\doublebarwedge",!0),Ce(ue,ye,pr,"\u229F","\\boxminus",!0),Ce(ue,ye,pr,"\u229E","\\boxplus",!0),Ce(ue,ye,pr,"\u22C7","\\divideontimes",!0),Ce(ue,ye,pr,"\u22C9","\\ltimes",!0),Ce(ue,ye,pr,"\u22CA","\\rtimes",!0),Ce(ue,ye,pr,"\u22CB","\\leftthreetimes",!0),Ce(ue,ye,pr,"\u22CC","\\rightthreetimes",!0),Ce(ue,ye,pr,"\u22CF","\\curlywedge",!0),Ce(ue,ye,pr,"\u22CE","\\curlyvee",!0),Ce(ue,ye,pr,"\u229D","\\circleddash",!0),Ce(ue,ye,pr,"\u229B","\\circledast",!0),Ce(ue,ye,pr,"\u22C5","\\centerdot"),Ce(ue,ye,pr,"\u22BA","\\intercal",!0),Ce(ue,ye,pr,"\u22D2","\\doublecap"),Ce(ue,ye,pr,"\u22D3","\\doublecup"),Ce(ue,ye,pr,"\u22A0","\\boxtimes",!0),Ce(ue,ye,zt,"\u21E2","\\dashrightarrow",!0),Ce(ue,ye,zt,"\u21E0","\\dashleftarrow",!0),Ce(ue,ye,zt,"\u21C7","\\leftleftarrows",!0),Ce(ue,ye,zt,"\u21C6","\\leftrightarrows",!0),Ce(ue,ye,zt,"\u21DA","\\Lleftarrow",!0),Ce(ue,ye,zt,"\u219E","\\twoheadleftarrow",!0),Ce(ue,ye,zt,"\u21A2","\\leftarrowtail",!0),Ce(ue,ye,zt,"\u21AB","\\looparrowleft",!0),Ce(ue,ye,zt,"\u21CB","\\leftrightharpoons",!0),Ce(ue,ye,zt,"\u21B6","\\curvearrowleft",!0),Ce(ue,ye,zt,"\u21BA","\\circlearrowleft",!0),Ce(ue,ye,zt,"\u21B0","\\Lsh",!0),Ce(ue,ye,zt,"\u21C8","\\upuparrows",!0),Ce(ue,ye,zt,"\u21BF","\\upharpoonleft",!0),Ce(ue,ye,zt,"\u21C3","\\downharpoonleft",!0),Ce(ue,ye,zt,"\u22B8","\\multimap",!0),Ce(ue,ye,zt,"\u21AD","\\leftrightsquigarrow",!0),Ce(ue,ye,zt,"\u21C9","\\rightrightarrows",!0),Ce(ue,ye,zt,"\u21C4","\\rightleftarrows",!0),Ce(ue,ye,zt,"\u21A0","\\twoheadrightarrow",!0),Ce(ue,ye,zt,"\u21A3","\\rightarrowtail",!0),Ce(ue,ye,zt,"\u21AC","\\looparrowright",!0),Ce(ue,ye,zt,"\u21B7","\\curvearrowright",!0),Ce(ue,ye,zt,"\u21BB","\\circlearrowright",!0),Ce(ue,ye,zt,"\u21B1","\\Rsh",!0),Ce(ue,ye,zt,"\u21CA","\\downdownarrows",!0),Ce(ue,ye,zt,"\u21BE","\\upharpoonright",!0),Ce(ue,ye,zt,"\u21C2","\\downharpoonright",!0),Ce(ue,ye,zt,"\u21DD","\\rightsquigarrow",!0),Ce(ue,ye,zt,"\u21DD","\\leadsto"),Ce(ue,ye,zt,"\u21DB","\\Rrightarrow",!0),Ce(ue,ye,zt,"\u21BE","\\restriction"),Ce(ue,rt,ot,"\u2018","`"),Ce(ue,rt,ot,"$","\\$"),Ce(Dt,rt,ot,"$","\\$"),Ce(Dt,rt,ot,"$","\\textdollar"),Ce(ue,rt,ot,"%","\\%"),Ce(Dt,rt,ot,"%","\\%"),Ce(ue,rt,ot,"_","\\_"),Ce(Dt,rt,ot,"_","\\_"),Ce(Dt,rt,ot,"_","\\textunderscore"),Ce(ue,rt,ot,"\u2220","\\angle",!0),Ce(ue,rt,ot,"\u221E","\\infty",!0),Ce(ue,rt,ot,"\u2032","\\prime"),Ce(ue,rt,ot,"\u25B3","\\triangle"),Ce(ue,rt,ot,"\u0393","\\Gamma",!0),Ce(ue,rt,ot,"\u0394","\\Delta",!0),Ce(ue,rt,ot,"\u0398","\\Theta",!0),Ce(ue,rt,ot,"\u039B","\\Lambda",!0),Ce(ue,rt,ot,"\u039E","\\Xi",!0),Ce(ue,rt,ot,"\u03A0","\\Pi",!0),Ce(ue,rt,ot,"\u03A3","\\Sigma",!0),Ce(ue,rt,ot,"\u03A5","\\Upsilon",!0),Ce(ue,rt,ot,"\u03A6","\\Phi",!0),Ce(ue,rt,ot,"\u03A8","\\Psi",!0),Ce(ue,rt,ot,"\u03A9","\\Omega",!0),Ce(ue,rt,ot,"A","\u0391"),Ce(ue,rt,ot,"B","\u0392"),Ce(ue,rt,ot,"E","\u0395"),Ce(ue,rt,ot,"Z","\u0396"),Ce(ue,rt,ot,"H","\u0397"),Ce(ue,rt,ot,"I","\u0399"),Ce(ue,rt,ot,"K","\u039A"),Ce(ue,rt,ot,"M","\u039C"),Ce(ue,rt,ot,"N","\u039D"),Ce(ue,rt,ot,"O","\u039F"),Ce(ue,rt,ot,"P","\u03A1"),Ce(ue,rt,ot,"T","\u03A4"),Ce(ue,rt,ot,"X","\u03A7"),Ce(ue,rt,ot,"\xAC","\\neg",!0),Ce(ue,rt,ot,"\xAC","\\lnot"),Ce(ue,rt,ot,"\u22A4","\\top"),Ce(ue,rt,ot,"\u22A5","\\bot"),Ce(ue,rt,ot,"\u2205","\\emptyset"),Ce(ue,ye,ot,"\u2205","\\varnothing"),Ce(ue,rt,yr,"\u03B1","\\alpha",!0),Ce(ue,rt,yr,"\u03B2","\\beta",!0),Ce(ue,rt,yr,"\u03B3","\\gamma",!0),Ce(ue,rt,yr,"\u03B4","\\delta",!0),Ce(ue,rt,yr,"\u03F5","\\epsilon",!0),Ce(ue,rt,yr,"\u03B6","\\zeta",!0),Ce(ue,rt,yr,"\u03B7","\\eta",!0),Ce(ue,rt,yr,"\u03B8","\\theta",!0),Ce(ue,rt,yr,"\u03B9","\\iota",!0),Ce(ue,rt,yr,"\u03BA","\\kappa",!0),Ce(ue,rt,yr,"\u03BB","\\lambda",!0),Ce(ue,rt,yr,"\u03BC","\\mu",!0),Ce(ue,rt,yr,"\u03BD","\\nu",!0),Ce(ue,rt,yr,"\u03BE","\\xi",!0),Ce(ue,rt,yr,"\u03BF","\\omicron",!0),Ce(ue,rt,yr,"\u03C0","\\pi",!0),Ce(ue,rt,yr,"\u03C1","\\rho",!0),Ce(ue,rt,yr,"\u03C3","\\sigma",!0),Ce(ue,rt,yr,"\u03C4","\\tau",!0),Ce(ue,rt,yr,"\u03C5","\\upsilon",!0),Ce(ue,rt,yr,"\u03D5","\\phi",!0),Ce(ue,rt,yr,"\u03C7","\\chi",!0),Ce(ue,rt,yr,"\u03C8","\\psi",!0),Ce(ue,rt,yr,"\u03C9","\\omega",!0),Ce(ue,rt,yr,"\u03B5","\\varepsilon",!0),Ce(ue,rt,yr,"\u03D1","\\vartheta",!0),Ce(ue,rt,yr,"\u03D6","\\varpi",!0),Ce(ue,rt,yr,"\u03F1","\\varrho",!0),Ce(ue,rt,yr,"\u03C2","\\varsigma",!0),Ce(ue,rt,yr,"\u03C6","\\varphi",!0),Ce(ue,rt,pr,"\u2217","*"),Ce(ue,rt,pr,"+","+"),Ce(ue,rt,pr,"\u2212","-"),Ce(ue,rt,pr,"\u22C5","\\cdot",!0),Ce(ue,rt,pr,"\u2218","\\circ"),Ce(ue,rt,pr,"\xF7","\\div",!0),Ce(ue,rt,pr,"\xB1","\\pm",!0),Ce(ue,rt,pr,"\xD7","\\times",!0),Ce(ue,rt,pr,"\u2229","\\cap",!0),Ce(ue,rt,pr,"\u222A","\\cup",!0),Ce(ue,rt,pr,"\u2216","\\setminus"),Ce(ue,rt,pr,"\u2227","\\land"),Ce(ue,rt,pr,"\u2228","\\lor"),Ce(ue,rt,pr,"\u2227","\\wedge",!0),Ce(ue,rt,pr,"\u2228","\\vee",!0),Ce(ue,rt,ot,"\u221A","\\surd"),Ce(ue,rt,_r,"(","("),Ce(ue,rt,_r,"[","["),Ce(ue,rt,_r,"\u27E8","\\langle",!0),Ce(ue,rt,_r,"\u2223","\\lvert"),Ce(ue,rt,_r,"\u2225","\\lVert"),Ce(ue,rt,mt,")",")"),Ce(ue,rt,mt,"]","]"),Ce(ue,rt,mt,"?","?"),Ce(ue,rt,mt,"!","!"),Ce(ue,rt,mt,"\u27E9","\\rangle",!0),Ce(ue,rt,mt,"\u2223","\\rvert"),Ce(ue,rt,mt,"\u2225","\\rVert"),Ce(ue,rt,zt,"=","="),Ce(ue,rt,zt,"<","<"),Ce(ue,rt,zt,">",">"),Ce(ue,rt,zt,":",":"),Ce(ue,rt,zt,"\u2248","\\approx",!0),Ce(ue,rt,zt,"\u2245","\\cong",!0),Ce(ue,rt,zt,"\u2265","\\ge"),Ce(ue,rt,zt,"\u2265","\\geq",!0),Ce(ue,rt,zt,"\u2190","\\gets"),Ce(ue,rt,zt,">","\\gt"),Ce(ue,rt,zt,"\u2208","\\in",!0),Ce(ue,rt,zt,"\uE020","\\@not"),Ce(ue,rt,zt,"\u2282","\\subset",!0),Ce(ue,rt,zt,"\u2283","\\supset",!0),Ce(ue,rt,zt,"\u2286","\\subseteq",!0),Ce(ue,rt,zt,"\u2287","\\supseteq",!0),Ce(ue,ye,zt,"\u2288","\\nsubseteq",!0),Ce(ue,ye,zt,"\u2289","\\nsupseteq",!0),Ce(ue,rt,zt,"\u22A8","\\models"),Ce(ue,rt,zt,"\u2190","\\leftarrow",!0),Ce(ue,rt,zt,"\u2264","\\le"),Ce(ue,rt,zt,"\u2264","\\leq",!0),Ce(ue,rt,zt,"<","\\lt"),Ce(ue,rt,zt,"\u2192","\\rightarrow",!0),Ce(ue,rt,zt,"\u2192","\\to"),Ce(ue,ye,zt,"\u2271","\\ngeq",!0),Ce(ue,ye,zt,"\u2270","\\nleq",!0),Ce(ue,rt,bt,"\xA0","\\ "),Ce(ue,rt,bt,"\xA0","~"),Ce(ue,rt,bt,"\xA0","\\space"),Ce(ue,rt,bt,"\xA0","\\nobreakspace"),Ce(Dt,rt,bt,"\xA0","\\ "),Ce(Dt,rt,bt,"\xA0","~"),Ce(Dt,rt,bt,"\xA0","\\space"),Ce(Dt,rt,bt,"\xA0","\\nobreakspace"),Ce(ue,rt,bt,null,"\\nobreak"),Ce(ue,rt,bt,null,"\\allowbreak"),Ce(ue,rt,ur,",",","),Ce(ue,rt,ur,";",";"),Ce(ue,ye,pr,"\u22BC","\\barwedge",!0),Ce(ue,ye,pr,"\u22BB","\\veebar",!0),Ce(ue,rt,pr,"\u2299","\\odot",!0),Ce(ue,rt,pr,"\u2295","\\oplus",!0),Ce(ue,rt,pr,"\u2297","\\otimes",!0),Ce(ue,rt,ot,"\u2202","\\partial",!0),Ce(ue,rt,pr,"\u2298","\\oslash",!0),Ce(ue,ye,pr,"\u229A","\\circledcirc",!0),Ce(ue,ye,pr,"\u22A1","\\boxdot",!0),Ce(ue,rt,pr,"\u25B3","\\bigtriangleup"),Ce(ue,rt,pr,"\u25BD","\\bigtriangledown"),Ce(ue,rt,pr,"\u2020","\\dagger"),Ce(ue,rt,pr,"\u22C4","\\diamond"),Ce(ue,rt,pr,"\u22C6","\\star"),Ce(ue,rt,pr,"\u25C3","\\triangleleft"),Ce(ue,rt,pr,"\u25B9","\\triangleright"),Ce(ue,rt,_r,"{","\\{"),Ce(Dt,rt,ot,"{","\\{"),Ce(Dt,rt,ot,"{","\\textbraceleft"),Ce(ue,rt,mt,"}","\\}"),Ce(Dt,rt,ot,"}","\\}"),Ce(Dt,rt,ot,"}","\\textbraceright"),Ce(ue,rt,_r,"{","\\lbrace"),Ce(ue,rt,mt,"}","\\rbrace"),Ce(ue,rt,_r,"[","\\lbrack"),Ce(Dt,rt,ot,"[","\\lbrack"),Ce(ue,rt,mt,"]","\\rbrack"),Ce(Dt,rt,ot,"]","\\rbrack"),Ce(ue,rt,_r,"(","\\lparen"),Ce(ue,rt,mt,")","\\rparen"),Ce(Dt,rt,ot,"<","\\textless"),Ce(Dt,rt,ot,">","\\textgreater"),Ce(ue,rt,_r,"\u230A","\\lfloor",!0),Ce(ue,rt,mt,"\u230B","\\rfloor",!0),Ce(ue,rt,_r,"\u2308","\\lceil",!0),Ce(ue,rt,mt,"\u2309","\\rceil",!0),Ce(ue,rt,ot,"\\","\\backslash"),Ce(ue,rt,ot,"\u2223","|"),Ce(ue,rt,ot,"\u2223","\\vert"),Ce(Dt,rt,ot,"|","\\textbar"),Ce(ue,rt,ot,"\u2225","\\|"),Ce(ue,rt,ot,"\u2225","\\Vert"),Ce(Dt,rt,ot,"\u2225","\\textbardbl"),Ce(Dt,rt,ot,"~","\\textasciitilde"),Ce(Dt,rt,ot,"\\","\\textbackslash"),Ce(Dt,rt,ot,"^","\\textasciicircum"),Ce(ue,rt,zt,"\u2191","\\uparrow",!0),Ce(ue,rt,zt,"\u21D1","\\Uparrow",!0),Ce(ue,rt,zt,"\u2193","\\downarrow",!0),Ce(ue,rt,zt,"\u21D3","\\Downarrow",!0),Ce(ue,rt,zt,"\u2195","\\updownarrow",!0),Ce(ue,rt,zt,"\u21D5","\\Updownarrow",!0),Ce(ue,rt,gn,"\u2210","\\coprod"),Ce(ue,rt,gn,"\u22C1","\\bigvee"),Ce(ue,rt,gn,"\u22C0","\\bigwedge"),Ce(ue,rt,gn,"\u2A04","\\biguplus"),Ce(ue,rt,gn,"\u22C2","\\bigcap"),Ce(ue,rt,gn,"\u22C3","\\bigcup"),Ce(ue,rt,gn,"\u222B","\\int"),Ce(ue,rt,gn,"\u222B","\\intop"),Ce(ue,rt,gn,"\u222C","\\iint"),Ce(ue,rt,gn,"\u222D","\\iiint"),Ce(ue,rt,gn,"\u220F","\\prod"),Ce(ue,rt,gn,"\u2211","\\sum"),Ce(ue,rt,gn,"\u2A02","\\bigotimes"),Ce(ue,rt,gn,"\u2A01","\\bigoplus"),Ce(ue,rt,gn,"\u2A00","\\bigodot"),Ce(ue,rt,gn,"\u222E","\\oint"),Ce(ue,rt,gn,"\u222F","\\oiint"),Ce(ue,rt,gn,"\u2230","\\oiiint"),Ce(ue,rt,gn,"\u2A06","\\bigsqcup"),Ce(ue,rt,gn,"\u222B","\\smallint"),Ce(Dt,rt,nr,"\u2026","\\textellipsis"),Ce(ue,rt,nr,"\u2026","\\mathellipsis"),Ce(Dt,rt,nr,"\u2026","\\ldots",!0),Ce(ue,rt,nr,"\u2026","\\ldots",!0),Ce(ue,rt,nr,"\u22EF","\\@cdots",!0),Ce(ue,rt,nr,"\u22F1","\\ddots",!0),Ce(ue,rt,ot,"\u22EE","\\varvdots"),Ce(ue,rt,Xt,"\u02CA","\\acute"),Ce(ue,rt,Xt,"\u02CB","\\grave"),Ce(ue,rt,Xt,"\xA8","\\ddot"),Ce(ue,rt,Xt,"~","\\tilde"),Ce(ue,rt,Xt,"\u02C9","\\bar"),Ce(ue,rt,Xt,"\u02D8","\\breve"),Ce(ue,rt,Xt,"\u02C7","\\check"),Ce(ue,rt,Xt,"^","\\hat"),Ce(ue,rt,Xt,"\u20D7","\\vec"),Ce(ue,rt,Xt,"\u02D9","\\dot"),Ce(ue,rt,Xt,"\u02DA","\\mathring"),Ce(ue,rt,yr,"\u0131","\\imath",!0),Ce(ue,rt,yr,"\u0237","\\jmath",!0),Ce(Dt,rt,ot,"\u0131","\\i",!0),Ce(Dt,rt,ot,"\u0237","\\j",!0),Ce(Dt,rt,ot,"\xDF","\\ss",!0),Ce(Dt,rt,ot,"\xE6","\\ae",!0),Ce(Dt,rt,ot,"\xE6","\\ae",!0),Ce(Dt,rt,ot,"\u0153","\\oe",!0),Ce(Dt,rt,ot,"\xF8","\\o",!0),Ce(Dt,rt,ot,"\xC6","\\AE",!0),Ce(Dt,rt,ot,"\u0152","\\OE",!0),Ce(Dt,rt,ot,"\xD8","\\O",!0),Ce(Dt,rt,Xt,"\u02CA","\\'"),Ce(Dt,rt,Xt,"\u02CB","\\`"),Ce(Dt,rt,Xt,"\u02C6","\\^"),Ce(Dt,rt,Xt,"\u02DC","\\~"),Ce(Dt,rt,Xt,"\u02C9","\\="),Ce(Dt,rt,Xt,"\u02D8","\\u"),Ce(Dt,rt,Xt,"\u02D9","\\."),Ce(Dt,rt,Xt,"\u02DA","\\r"),Ce(Dt,rt,Xt,"\u02C7","\\v"),Ce(Dt,rt,Xt,"\xA8",'\\"'),Ce(Dt,rt,Xt,"\u02DD","\\H"),Ce(Dt,rt,Xt,"\u25EF","\\textcircled");var lr={"--":!0,"---":!0,"``":!0,"''":!0};Ce(Dt,rt,ot,"\u2013","--"),Ce(Dt,rt,ot,"\u2013","\\textendash"),Ce(Dt,rt,ot,"\u2014","---"),Ce(Dt,rt,ot,"\u2014","\\textemdash"),Ce(Dt,rt,ot,"\u2018","`"),Ce(Dt,rt,ot,"\u2018","\\textquoteleft"),Ce(Dt,rt,ot,"\u2019","'"),Ce(Dt,rt,ot,"\u2019","\\textquoteright"),Ce(Dt,rt,ot,"\u201C","``"),Ce(Dt,rt,ot,"\u201C","\\textquotedblleft"),Ce(Dt,rt,ot,"\u201D","''"),Ce(Dt,rt,ot,"\u201D","\\textquotedblright"),Ce(ue,rt,ot,"\xB0","\\degree",!0),Ce(Dt,rt,ot,"\xB0","\\degree"),Ce(Dt,rt,ot,"\xB0","\\textdegree",!0),Ce(ue,rt,yr,"\xA3","\\pounds"),Ce(ue,rt,yr,"\xA3","\\mathsterling",!0),Ce(Dt,rt,yr,"\xA3","\\pounds"),Ce(Dt,rt,yr,"\xA3","\\textsterling",!0),Ce(ue,ye,ot,"\u2720","\\maltese"),Ce(Dt,ye,ot,"\u2720","\\maltese"),Ce(Dt,rt,bt,"\xA0","\\ "),Ce(Dt,rt,bt,"\xA0"," "),Ce(Dt,rt,bt,"\xA0","~");for(var jr='0123456789/@."',Rr=0;Rr<jr.length;Rr++){var xr=jr.charAt(Rr);Ce(ue,rt,ot,xr,xr)}for(var Vn='0123456789!@*()-=+[]<>|";:?/.,',bn=0;bn<Vn.length;bn++){var di=Vn.charAt(bn);Ce(Dt,rt,ot,di,di)}for(var lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ct=0;ct<lt.length;ct++){var Le=lt.charAt(ct);Ce(ue,rt,yr,Le,Le),Ce(Dt,rt,ot,Le,Le)}Ce(ue,ye,ot,"C","\u2102"),Ce(Dt,ye,ot,"C","\u2102"),Ce(ue,ye,ot,"H","\u210D"),Ce(Dt,ye,ot,"H","\u210D"),Ce(ue,ye,ot,"N","\u2115"),Ce(Dt,ye,ot,"N","\u2115"),Ce(ue,ye,ot,"P","\u2119"),Ce(Dt,ye,ot,"P","\u2119"),Ce(ue,ye,ot,"Q","\u211A"),Ce(Dt,ye,ot,"Q","\u211A"),Ce(ue,ye,ot,"R","\u211D"),Ce(Dt,ye,ot,"R","\u211D"),Ce(ue,ye,ot,"Z","\u2124"),Ce(Dt,ye,ot,"Z","\u2124"),Ce(ue,rt,yr,"h","\u210E"),Ce(Dt,rt,yr,"h","\u210E");for(var Ue="",Ye=0;Ye<lt.length;Ye++){var ft=lt.charAt(Ye);Ue=String.fromCharCode(55349,56320+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue),Ue=String.fromCharCode(55349,56372+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue),Ue=String.fromCharCode(55349,56424+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue),Ue=String.fromCharCode(55349,56580+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue),Ue=String.fromCharCode(55349,56736+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue),Ue=String.fromCharCode(55349,56788+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue),Ue=String.fromCharCode(55349,56840+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue),Ue=String.fromCharCode(55349,56944+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue),Ye<26&&(Ue=String.fromCharCode(55349,56632+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue),Ue=String.fromCharCode(55349,56476+Ye),Ce(ue,rt,yr,ft,Ue),Ce(Dt,rt,ot,ft,Ue))}Ue=String.fromCharCode(55349,56668),Ce(ue,rt,yr,"k",Ue),Ce(Dt,rt,ot,"k",Ue);for(var ir=0;ir<10;ir++){var Yt=ir.toString();Ue=String.fromCharCode(55349,57294+ir),Ce(ue,rt,yr,Yt,Ue),Ce(Dt,rt,ot,Yt,Ue),Ue=String.fromCharCode(55349,57314+ir),Ce(ue,rt,yr,Yt,Ue),Ce(Dt,rt,ot,Yt,Ue),Ue=String.fromCharCode(55349,57324+ir),Ce(ue,rt,yr,Yt,Ue),Ce(Dt,rt,ot,Yt,Ue),Ue=String.fromCharCode(55349,57334+ir),Ce(ue,rt,yr,Yt,Ue),Ce(Dt,rt,ot,Yt,Ue)}for(var rr="\xC7\xD0\xDE\xE7\xFE",Zr=0;Zr<rr.length;Zr++){var nn=rr.charAt(Zr);Ce(ue,rt,yr,nn,nn),Ce(Dt,rt,ot,nn,nn)}Ce(Dt,rt,ot,"\xF0","\xF0"),Ce(Dt,rt,ot,"\u2013","\u2013"),Ce(Dt,rt,ot,"\u2014","\u2014"),Ce(Dt,rt,ot,"\u2018","\u2018"),Ce(Dt,rt,ot,"\u2019","\u2019"),Ce(Dt,rt,ot,"\u201C","\u201C"),Ce(Dt,rt,ot,"\u201D","\u201D");var Pn=[["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"]],qt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],St=function(ce,Se){var Oe=ce.charCodeAt(0),Xe=ce.charCodeAt(1),wt=(Oe-55296)*1024+(Xe-56320)+65536,Ht=Se==="math"?0:1;if(119808<=wt&&wt<120484){var Pr=Math.floor((wt-119808)/26);return[Pn[Pr][2],Pn[Pr][Ht]]}else if(120782<=wt&&wt<=120831){var Xr=Math.floor((wt-120782)/10);return[qt[Xr][2],qt[Xr][Ht]]}else{if(wt===120485||wt===120486)return[Pn[0][2],Pn[0][Ht]];if(120486<wt&&wt<120782)return["",""];throw new l("Unsupported character: "+ce)}},At=[[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]],cr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],or=function(ce,Se){return Se.size<2?ce:At[ce-1][Se.size-1]},Tt=function(){function Et(Se){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=Se.style,this.color=Se.color,this.size=Se.size||Et.BASESIZE,this.textSize=Se.textSize||this.size,this.phantom=!!Se.phantom,this.font=Se.font||"",this.fontFamily=Se.fontFamily||"",this.fontWeight=Se.fontWeight||"",this.fontShape=Se.fontShape||"",this.sizeMultiplier=cr[this.size-1],this.maxSize=Se.maxSize,this.minRuleThickness=Se.minRuleThickness,this._fontMetrics=void 0}var ce=Et.prototype;return ce.extend=function(Oe){var Xe={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 wt in Oe)Oe.hasOwnProperty(wt)&&(Xe[wt]=Oe[wt]);return new Et(Xe)},ce.havingStyle=function(Oe){return this.style===Oe?this:this.extend({style:Oe,size:or(this.textSize,Oe)})},ce.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},ce.havingSize=function(Oe){return this.size===Oe&&this.textSize===Oe?this:this.extend({style:this.style.text(),size:Oe,textSize:Oe,sizeMultiplier:cr[Oe-1]})},ce.havingBaseStyle=function(Oe){Oe=Oe||this.style.text();var Xe=or(Et.BASESIZE,Oe);return this.size===Xe&&this.textSize===Et.BASESIZE&&this.style===Oe?this:this.extend({style:Oe,size:Xe})},ce.havingBaseSizing=function(){var Oe;switch(this.style.id){case 4:case 5:Oe=3;break;case 6:case 7:Oe=1;break;default:Oe=6}return this.extend({style:this.style.text(),size:Oe})},ce.withColor=function(Oe){return this.extend({color:Oe})},ce.withPhantom=function(){return this.extend({phantom:!0})},ce.withFont=function(Oe){return this.extend({font:Oe})},ce.withTextFontFamily=function(Oe){return this.extend({fontFamily:Oe,font:""})},ce.withTextFontWeight=function(Oe){return this.extend({fontWeight:Oe,font:""})},ce.withTextFontShape=function(Oe){return this.extend({fontShape:Oe,font:""})},ce.sizingClasses=function(Oe){return Oe.size!==this.size?["sizing","reset-size"+Oe.size,"size"+this.size]:[]},ce.baseSizingClasses=function(){return this.size!==Et.BASESIZE?["sizing","reset-size"+this.size,"size"+Et.BASESIZE]:[]},ce.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Bt(this.size)),this._fontMetrics},ce.getColor=function(){return this.phantom?"transparent":this.color},Et}();Tt.BASESIZE=6;var Rt=Tt,_t={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},Zt={ex:!0,em:!0,mu:!0},Nr=function(ce){return typeof ce!="string"&&(ce=ce.unit),ce in _t||ce in Zt||ce==="ex"},Sr=function(ce,Se){var Oe;if(ce.unit in _t)Oe=_t[ce.unit]/Se.fontMetrics().ptPerEm/Se.sizeMultiplier;else if(ce.unit==="mu")Oe=Se.fontMetrics().cssEmPerMu;else{var Xe;if(Se.style.isTight()?Xe=Se.havingStyle(Se.style.text()):Xe=Se,ce.unit==="ex")Oe=Xe.fontMetrics().xHeight;else if(ce.unit==="em")Oe=Xe.fontMetrics().quad;else throw new l("Invalid unit: '"+ce.unit+"'");Xe!==Se&&(Oe*=Xe.sizeMultiplier/Se.sizeMultiplier)}return Math.min(ce.number*Oe,Se.maxSize)},br=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],hn=function(ce,Se,Oe){return at[Oe][ce]&&at[Oe][ce].replace&&(ce=at[Oe][ce].replace),{value:ce,metrics:nt(ce,Se,Oe)}},fn=function(ce,Se,Oe,Xe,wt){var Ht=hn(ce,Se,Oe),Pr=Ht.metrics;ce=Ht.value;var Xr;if(Pr){var yn=Pr.italic;(Oe==="text"||Xe&&Xe.font==="mathit")&&(yn=0),Xr=new Be(ce,Pr.height,Pr.depth,yn,Pr.skew,Pr.width,wt)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+ce+"' in style '"+Se+"' and mode '"+Oe+"'")),Xr=new Be(ce,0,0,0,0,0,wt);if(Xe){Xr.maxFontSize=Xe.sizeMultiplier,Xe.style.isTight()&&Xr.classes.push("mtight");var Jn=Xe.getColor();Jn&&(Xr.style.color=Jn)}return Xr},ni=function(ce,Se,Oe,Xe){return Xe===void 0&&(Xe=[]),Oe.font==="boldsymbol"&&hn(ce,"Main-Bold",Se).metrics?fn(ce,"Main-Bold",Se,Oe,Xe.concat(["mathbf"])):ce==="\\"||at[Se][ce].font==="main"?fn(ce,"Main-Regular",Se,Oe,Xe):fn(ce,"AMS-Regular",Se,Oe,Xe.concat(["amsrm"]))},mi=function(ce,Se,Oe,Xe){return/[0-9]/.test(ce.charAt(0))||A.contains(br,ce)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},_i=function(ce,Se,Oe,Xe){return A.contains(br,ce)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(ce.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Hi=function(ce,Se,Oe,Xe){return hn(ce,"Math-BoldItalic",Se).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},aa=function(ce,Se,Oe){var Xe=ce.mode,wt=ce.text,Ht=["mord"],Pr=Xe==="math"||Xe==="text"&&Se.font,Xr=Pr?Se.font:Se.fontFamily;if(wt.charCodeAt(0)===55349){var yn=St(wt,Xe),Jn=yn[0],Ei=yn[1];return fn(wt,Jn,Xe,Se,Ht.concat(Ei))}else if(Xr){var Ji,wa;if(Xr==="boldsymbol"||Xr==="mathnormal"){var Ya=Xr==="boldsymbol"?Hi(wt,Xe,Se,Ht):_i(wt,Xe,Se,Ht);Ji=Ya.fontName,wa=[Ya.fontClass]}else A.contains(br,wt)?(Ji="Main-Italic",wa=["mathit"]):Pr?(Ji=Gr[Xr].fontName,wa=[Xr]):(Ji=Lr(Xr,Se.fontWeight,Se.fontShape),wa=[Xr,Se.fontWeight,Se.fontShape]);if(hn(wt,Ji,Xe).metrics)return fn(wt,Ji,Xe,Se,Ht.concat(wa));if(lr.hasOwnProperty(wt)&&Ji.substr(0,10)==="Typewriter"){for(var mo=[],Mo=0;Mo<wt.length;Mo++)mo.push(fn(wt[Mo],Ji,Xe,Se,Ht.concat(wa)));return st(mo)}}if(Oe==="mathord"){var us=mi(wt,Xe,Se,Ht);return fn(wt,us.fontName,Xe,Se,Ht.concat([us.fontClass]))}else if(Oe==="textord"){var ws=at[Xe][wt]&&at[Xe][wt].font;if(ws==="ams"){var Os=Lr("amsrm",Se.fontWeight,Se.fontShape);return fn(wt,Os,Xe,Se,Ht.concat("amsrm",Se.fontWeight,Se.fontShape))}else if(ws==="main"||!ws){var il=Lr("textrm",Se.fontWeight,Se.fontShape);return fn(wt,il,Xe,Se,Ht.concat(Se.fontWeight,Se.fontShape))}else{var Ys=Lr(ws,Se.fontWeight,Se.fontShape);return fn(wt,Ys,Xe,Se,Ht.concat(Ys,Se.fontWeight,Se.fontShape))}}else throw new Error("unexpected type: "+Oe+" in makeOrd")},Ra=function(ce,Se){if(he(ce.classes)!==he(Se.classes)||ce.skew!==Se.skew||ce.maxFontSize!==Se.maxFontSize)return!1;for(var Oe in ce.style)if(ce.style.hasOwnProperty(Oe)&&ce.style[Oe]!==Se.style[Oe])return!1;for(var Xe in Se.style)if(Se.style.hasOwnProperty(Xe)&&ce.style[Xe]!==Se.style[Xe])return!1;return!0},it=function(ce){for(var Se=0;Se<ce.length-1;Se++){var Oe=ce[Se],Xe=ce[Se+1];Oe instanceof Be&&Xe instanceof Be&&Ra(Oe,Xe)&&(Oe.text+=Xe.text,Oe.height=Math.max(Oe.height,Xe.height),Oe.depth=Math.max(Oe.depth,Xe.depth),Oe.italic=Xe.italic,ce.splice(Se+1,1),Se--)}return ce},Re=function(ce){for(var Se=0,Oe=0,Xe=0,wt=0;wt<ce.children.length;wt++){var Ht=ce.children[wt];Ht.height>Se&&(Se=Ht.height),Ht.depth>Oe&&(Oe=Ht.depth),Ht.maxFontSize>Xe&&(Xe=Ht.maxFontSize)}ce.height=Se,ce.depth=Oe,ce.maxFontSize=Xe},Ke=function(ce,Se,Oe,Xe){var wt=new G(ce,Se,Oe,Xe);return Re(wt),wt},Ge=function(ce,Se,Oe,Xe){return new G(ce,Se,Oe,Xe)},et=function(ce,Se,Oe){var Xe=Ke([ce],[],Se);return Xe.height=Math.max(Oe||Se.fontMetrics().defaultRuleThickness,Se.minRuleThickness),Xe.style.borderBottomWidth=Xe.height+"em",Xe.maxFontSize=1,Xe},$e=function(ce,Se,Oe,Xe){var wt=new te(ce,Se,Oe,Xe);return Re(wt),wt},st=function(ce){var Se=new ee(ce);return Re(Se),Se},Lt=function(ce,Se){return ce instanceof ee?Ke([],[ce],Se):ce},vt=function(ce){if(ce.positionType==="individualShift"){for(var Se=ce.children,Oe=[Se[0]],Xe=-Se[0].shift-Se[0].elem.depth,wt=Xe,Ht=1;Ht<Se.length;Ht++){var Pr=-Se[Ht].shift-wt-Se[Ht].elem.depth,Xr=Pr-(Se[Ht-1].elem.height+Se[Ht-1].elem.depth);wt=wt+Pr,Oe.push({type:"kern",size:Xr}),Oe.push(Se[Ht])}return{children:Oe,depth:Xe}}var yn;if(ce.positionType==="top"){for(var Jn=ce.positionData,Ei=0;Ei<ce.children.length;Ei++){var Ji=ce.children[Ei];Jn-=Ji.type==="kern"?Ji.size:Ji.elem.height+Ji.elem.depth}yn=Jn}else if(ce.positionType==="bottom")yn=-ce.positionData;else{var wa=ce.children[0];if(wa.type!=="elem")throw new Error('First child must have type "elem".');if(ce.positionType==="shift")yn=-wa.elem.depth-ce.positionData;else if(ce.positionType==="firstBaseline")yn=-wa.elem.depth;else throw new Error("Invalid positionType "+ce.positionType+".")}return{children:ce.children,depth:yn}},Qt=function(ce,Se){for(var Oe=vt(ce),Xe=Oe.children,wt=Oe.depth,Ht=0,Pr=0;Pr<Xe.length;Pr++){var Xr=Xe[Pr];if(Xr.type==="elem"){var yn=Xr.elem;Ht=Math.max(Ht,yn.maxFontSize,yn.height)}}Ht+=2;var Jn=Ke(["pstrut"],[]);Jn.style.height=Ht+"em";for(var Ei=[],Ji=wt,wa=wt,Ya=wt,mo=0;mo<Xe.length;mo++){var Mo=Xe[mo];if(Mo.type==="kern")Ya+=Mo.size;else{var us=Mo.elem,ws=Mo.wrapperClasses||[],Os=Mo.wrapperStyle||{},il=Ke(ws,[Jn,us],void 0,Os);il.style.top=-Ht-Ya-us.depth+"em",Mo.marginLeft&&(il.style.marginLeft=Mo.marginLeft),Mo.marginRight&&(il.style.marginRight=Mo.marginRight),Ei.push(il),Ya+=us.height+us.depth}Ji=Math.min(Ji,Ya),wa=Math.max(wa,Ya)}var Ys=Ke(["vlist"],Ei);Ys.style.height=wa+"em";var ro;if(Ji<0){var Ws=Ke([],[]),bs=Ke(["vlist"],[Ws]);bs.style.height=-Ji+"em";var Rl=Ke(["vlist-s"],[new Be("\u200B")]);ro=[Ke(["vlist-r"],[Ys,Rl]),Ke(["vlist-r"],[bs])]}else ro=[Ke(["vlist-r"],[Ys])];var sl=Ke(["vlist-t"],ro);return ro.length===2&&sl.classes.push("vlist-t2"),sl.height=wa,sl.depth=-Ji,sl},Fr=function(ce,Se){var Oe=Ke(["mspace"],[],Se),Xe=Sr(ce,Se);return Oe.style.marginRight=Xe+"em",Oe},Lr=function(ce,Se,Oe){var Xe="";switch(ce){case"amsrm":Xe="AMS";break;case"textrm":Xe="Main";break;case"textsf":Xe="SansSerif";break;case"texttt":Xe="Typewriter";break;default:Xe=ce}var wt;return Se==="textbf"&&Oe==="textit"?wt="BoldItalic":Se==="textbf"?wt="Bold":Se==="textit"?wt="Italic":wt="Regular",Xe+"-"+wt},Gr={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"}},$t={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Rn=function(ce,Se){var Oe=$t[ce],Xe=Oe[0],wt=Oe[1],Ht=Oe[2],Pr=new de(Xe),Xr=new Ne([Pr],{width:wt+"em",height:Ht+"em",style:"width:"+wt+"em",viewBox:"0 0 "+1e3*wt+" "+1e3*Ht,preserveAspectRatio:"xMinYMin"}),yn=Ge(["overlay"],[Xr],Se);return yn.height=Ht,yn.style.height=Ht+"em",yn.style.width=wt+"em",yn},wr={fontMap:Gr,makeSymbol:fn,mathsym:ni,makeSpan:Ke,makeSvgSpan:Ge,makeLineSpan:et,makeAnchor:$e,makeFragment:st,wrapFragment:Lt,makeVList:Qt,makeOrd:aa,makeGlue:Fr,staticSvg:Rn,svgData:$t,tryCombineChars:it};function pn(Et,ce){var Se=rn(Et,ce);if(!Se)throw new Error("Expected node of type "+ce+", but got "+(Et?"node of type "+Et.type:String(Et)));return Se}function rn(Et,ce){return Et&&Et.type===ce?Et:null}function Br(Et,ce){var Se=Yn(Et,ce);if(!Se)throw new Error('Expected node of type "atom" and family "'+ce+'", but got '+(Et?Et.type==="atom"?"atom of family "+Et.family:"node of type "+Et.type:String(Et)));return Se}function Yn(Et,ce){return Et&&Et.type==="atom"&&Et.family===ce?Et:null}function xi(Et){var ce=Li(Et);if(!ce)throw new Error("Expected node of symbol group type, but got "+(Et?"node of type "+Et.type:String(Et)));return ce}function Li(Et){return Et&&(Et.type==="atom"||jt.hasOwnProperty(Et.type))?Et:null}var Vi={number:3,unit:"mu"},Wi={number:4,unit:"mu"},qi={number:5,unit:"mu"},bi={mord:{mop:Vi,mbin:Wi,mrel:qi,minner:Vi},mop:{mord:Vi,mop:Vi,mrel:qi,minner:Vi},mbin:{mord:Wi,mop:Wi,mopen:Wi,minner:Wi},mrel:{mord:qi,mop:qi,mopen:qi,minner:qi},mopen:{},mclose:{mop:Vi,mbin:Wi,mrel:qi,minner:Vi},mpunct:{mord:Vi,mop:Vi,mrel:qi,mopen:Vi,mclose:Vi,mpunct:Vi,minner:Vi},minner:{mord:Vi,mop:Vi,mbin:Wi,mrel:qi,mopen:Vi,mpunct:Vi,minner:Vi}},ba={mord:{mop:Vi},mop:{mord:Vi,mop:Vi},mbin:{},mrel:{},mopen:{},mclose:{mop:Vi},mpunct:{},minner:{mop:Vi}},Kn={},un={},ri={};function Cn(Et){for(var ce=Et.type,Se=Et.names,Oe=Et.props,Xe=Et.handler,wt=Et.htmlBuilder,Ht=Et.mathmlBuilder,Pr={type:ce,numArgs:Oe.numArgs,argTypes:Oe.argTypes,greediness:Oe.greediness===void 0?1:Oe.greediness,allowedInText:!!Oe.allowedInText,allowedInMath:Oe.allowedInMath===void 0?!0:Oe.allowedInMath,numOptionalArgs:Oe.numOptionalArgs||0,infix:!!Oe.infix,handler:Xe},Xr=0;Xr<Se.length;++Xr)Kn[Se[Xr]]=Pr;ce&&(wt&&(un[ce]=wt),Ht&&(ri[ce]=Ht))}function ki(Et){var ce=Et.type,Se=Et.htmlBuilder,Oe=Et.mathmlBuilder;Cn({type:ce,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Se,mathmlBuilder:Oe})}var Tn=function(ce){var Se=rn(ce,"ordgroup");return Se?Se.body:[ce]},oa=wr.makeSpan,Ti=["leftmost","mbin","mopen","mrel","mop","mpunct"],li=["rightmost","mrel","mclose","mpunct"],Ri={display:X.DISPLAY,text:X.TEXT,script:X.SCRIPT,scriptscript:X.SCRIPTSCRIPT},Da={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Un=function(ce,Se,Oe,Xe){Xe===void 0&&(Xe=[null,null]);for(var wt=[],Ht=0;Ht<ce.length;Ht++){var Pr=ea(ce[Ht],Se);if(Pr instanceof ee){var Xr=Pr.children;wt.push.apply(wt,Xr)}else wt.push(Pr)}if(!Oe)return wt;var yn=Se;if(ce.length===1){var Jn=rn(ce[0],"sizing")||rn(ce[0],"styling");Jn&&(Jn.type==="sizing"?yn=Se.havingSize(Jn.size):Jn.type==="styling"&&(yn=Se.havingStyle(Ri[Jn.style])))}var Ei=oa([Xe[0]||"leftmost"],[],Se),Ji=oa([Xe[1]||"rightmost"],[],Se);return on(wt,function(wa,Ya){var mo=Ya.classes[0],Mo=wa.classes[0];mo==="mbin"&&A.contains(li,Mo)?Ya.classes[0]="mord":Mo==="mbin"&&A.contains(Ti,mo)&&(wa.classes[0]="mord")},{node:Ei},Ji),on(wt,function(wa,Ya){var mo=Ni(Ya),Mo=Ni(wa),us=mo&&Mo?wa.hasClass("mtight")?ba[mo][Mo]:bi[mo][Mo]:null;if(us)return wr.makeGlue(us,yn)},{node:Ei},Ji),wt},on=function Et(ce,Se,Oe,Xe){Xe&&ce.push(Xe);for(var wt=0;wt<ce.length;wt++){var Ht=ce[wt],Pr=Zn(Ht);if(Pr){Et(Pr.children,Se,Oe);continue}if(Ht.classes[0]==="mspace")continue;var Xr=Se(Ht,Oe.node);Xr&&(Oe.insertAfter?Oe.insertAfter(Xr):(ce.unshift(Xr),wt++)),Oe.node=Ht,Oe.insertAfter=function(yn){return function(Jn){ce.splice(yn+1,0,Jn),wt++}}(wt)}Xe&&ce.pop()},Zn=function(ce){return ce instanceof ee||ce instanceof te?ce:null},hi=function Et(ce,Se){var Oe=Zn(ce);if(Oe){var Xe=Oe.children;if(Xe.length){if(Se==="right")return Et(Xe[Xe.length-1],"right");if(Se==="left")return Et(Xe[0],"left")}}return ce},Ni=function(ce,Se){return ce?(Se&&(ce=hi(ce,Se)),Da[ce.classes[0]]||null):null},zi=function(ce,Se){var Oe=["nulldelimiter"].concat(ce.baseSizingClasses());return oa(Se.concat(Oe))},ea=function(ce,Se,Oe){if(!ce)return oa();if(un[ce.type]){var Xe=un[ce.type](ce,Se);if(Oe&&Se.size!==Oe.size){Xe=oa(Se.sizingClasses(Oe),[Xe],Se);var wt=Se.sizeMultiplier/Oe.sizeMultiplier;Xe.height*=wt,Xe.depth*=wt}return Xe}else throw new l("Got group of unknown type: '"+ce.type+"'")};function Fi(Et,ce){var Se=oa(["base"],Et,ce),Oe=oa(["strut"]);return Oe.style.height=Se.height+Se.depth+"em",Oe.style.verticalAlign=-Se.depth+"em",Se.children.unshift(Oe),Se}function ia(Et,ce){var Se=null;Et.length===1&&Et[0].type==="tag"&&(Se=Et[0].tag,Et=Et[0].body);for(var Oe=Un(Et,ce,!0),Xe=[],wt=[],Ht=0;Ht<Oe.length;Ht++)if(wt.push(Oe[Ht]),Oe[Ht].hasClass("mbin")||Oe[Ht].hasClass("mrel")||Oe[Ht].hasClass("allowbreak")){for(var Pr=!1;Ht<Oe.length-1&&Oe[Ht+1].hasClass("mspace")&&!Oe[Ht+1].hasClass("newline");)Ht++,wt.push(Oe[Ht]),Oe[Ht].hasClass("nobreak")&&(Pr=!0);Pr||(Xe.push(Fi(wt,ce)),wt=[])}else Oe[Ht].hasClass("newline")&&(wt.pop(),wt.length>0&&(Xe.push(Fi(wt,ce)),wt=[]),Xe.push(Oe[Ht]));wt.length>0&&Xe.push(Fi(wt,ce));var Xr;Se&&(Xr=Fi(Un(Se,ce,!0)),Xr.classes=["tag"],Xe.push(Xr));var yn=oa(["katex-html"],Xe);if(yn.setAttribute("aria-hidden","true"),Xr){var Jn=Xr.children[0];Jn.style.height=yn.height+yn.depth+"em",Jn.style.verticalAlign=-yn.depth+"em"}return yn}function Va(Et){return new ee(Et)}var fo=function(){function Et(Se,Oe){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Se,this.attributes={},this.children=Oe||[]}var ce=Et.prototype;return ce.setAttribute=function(Oe,Xe){this.attributes[Oe]=Xe},ce.getAttribute=function(Oe){return this.attributes[Oe]},ce.toNode=function(){var Oe=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Xe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Xe)&&Oe.setAttribute(Xe,this.attributes[Xe]);for(var wt=0;wt<this.children.length;wt++)Oe.appendChild(this.children[wt].toNode());return Oe},ce.toMarkup=function(){var Oe="<"+this.type;for(var Xe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Xe)&&(Oe+=" "+Xe+'="',Oe+=A.escape(this.attributes[Xe]),Oe+='"');Oe+=">";for(var wt=0;wt<this.children.length;wt++)Oe+=this.children[wt].toMarkup();return Oe+="</"+this.type+">",Oe},ce.toText=function(){return this.children.map(function(Oe){return Oe.toText()}).join("")},Et}(),ja=function(){function Et(Se){this.text=void 0,this.text=Se}var ce=Et.prototype;return ce.toNode=function(){return document.createTextNode(this.text)},ce.toMarkup=function(){return A.escape(this.toText())},ce.toText=function(){return this.text},Et}(),Ka=function(){function Et(Se){this.width=void 0,this.character=void 0,this.width=Se,Se>=.05555&&Se<=.05556?this.character="\u200A":Se>=.1666&&Se<=.1667?this.character="\u2009":Se>=.2222&&Se<=.2223?this.character="\u2005":Se>=.2777&&Se<=.2778?this.character="\u2005\u200A":Se>=-.05556&&Se<=-.05555?this.character="\u200A\u2063":Se>=-.1667&&Se<=-.1666?this.character="\u2009\u2063":Se>=-.2223&&Se<=-.2222?this.character="\u205F\u2063":Se>=-.2778&&Se<=-.2777?this.character="\u2005\u2063":this.character=null}var ce=Et.prototype;return ce.toNode=function(){if(this.character)return document.createTextNode(this.character);var Oe=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Oe.setAttribute("width",this.width+"em"),Oe},ce.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},ce.toText=function(){return this.character?this.character:" "},Et}(),Gi={MathNode:fo,TextNode:ja,SpaceNode:Ka,newDocumentFragment:Va},mn=function(ce,Se,Oe){return at[Se][ce]&&at[Se][ce].replace&&ce.charCodeAt(0)!==55349&&!(lr.hasOwnProperty(ce)&&Oe&&(Oe.fontFamily&&Oe.fontFamily.substr(4,2)==="tt"||Oe.font&&Oe.font.substr(4,2)==="tt"))&&(ce=at[Se][ce].replace),new Gi.TextNode(ce)},$i=function(ce){return ce.length===1?ce[0]:new Gi.MathNode("mrow",ce)},io=function(ce,Se){if(Se.fontFamily==="texttt")return"monospace";if(Se.fontFamily==="textsf")return Se.fontShape==="textit"&&Se.fontWeight==="textbf"?"sans-serif-bold-italic":Se.fontShape==="textit"?"sans-serif-italic":Se.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Se.fontShape==="textit"&&Se.fontWeight==="textbf")return"bold-italic";if(Se.fontShape==="textit")return"italic";if(Se.fontWeight==="textbf")return"bold";var Oe=Se.font;if(!Oe||Oe==="mathnormal")return null;var Xe=ce.mode;if(Oe==="mathit")return"italic";if(Oe==="boldsymbol")return"bold-italic";if(Oe==="mathbf")return"bold";if(Oe==="mathbb")return"double-struck";if(Oe==="mathfrak")return"fraktur";if(Oe==="mathscr"||Oe==="mathcal")return"script";if(Oe==="mathsf")return"sans-serif";if(Oe==="mathtt")return"monospace";var wt=ce.text;if(A.contains(["\\imath","\\jmath"],wt))return null;at[Xe][wt]&&at[Xe][wt].replace&&(wt=at[Xe][wt].replace);var Ht=wr.fontMap[Oe].fontName;return nt(wt,Ht,Xe)?wr.fontMap[Oe].variant:null},La=function(ce,Se,Oe){if(ce.length===1){var Xe=tr(ce[0],Se);return Oe&&Xe instanceof fo&&Xe.type==="mo"&&(Xe.setAttribute("lspace","0em"),Xe.setAttribute("rspace","0em")),[Xe]}for(var wt=[],Ht,Pr=0;Pr<ce.length;Pr++){var Xr=tr(ce[Pr],Se);if(Xr instanceof fo&&Ht instanceof fo){if(Xr.type==="mtext"&&Ht.type==="mtext"&&Xr.getAttribute("mathvariant")===Ht.getAttribute("mathvariant")){var yn;(yn=Ht.children).push.apply(yn,Xr.children);continue}else if(Xr.type==="mn"&&Ht.type==="mn"){var Jn;(Jn=Ht.children).push.apply(Jn,Xr.children);continue}else if(Xr.type==="mi"&&Xr.children.length===1&&Ht.type==="mn"){var Ei=Xr.children[0];if(Ei instanceof ja&&Ei.text==="."){var Ji;(Ji=Ht.children).push.apply(Ji,Xr.children);continue}}else if(Ht.type==="mi"&&Ht.children.length===1){var wa=Ht.children[0];if(wa instanceof ja&&wa.text==="\u0338"&&(Xr.type==="mo"||Xr.type==="mi"||Xr.type==="mn")){var Ya=Xr.children[0];Ya instanceof ja&&Ya.text.length>0&&(Ya.text=Ya.text.slice(0,1)+"\u0338"+Ya.text.slice(1),wt.pop())}}}wt.push(Xr),Ht=Xr}return wt},ao=function(ce,Se,Oe){return $i(La(ce,Se,Oe))},tr=function(ce,Se){if(!ce)return new Gi.MathNode("mrow");if(ri[ce.type]){var Oe=ri[ce.type](ce,Se);return Oe}else throw new l("Got group of unknown type: '"+ce.type+"'")};function An(Et,ce,Se,Oe){var Xe=La(Et,Se),wt;Xe.length===1&&Xe[0]instanceof fo&&A.contains(["mrow","mtable"],Xe[0].type)?wt=Xe[0]:wt=new Gi.MathNode("mrow",Xe);var Ht=new Gi.MathNode("annotation",[new Gi.TextNode(ce)]);Ht.setAttribute("encoding","application/x-tex");var Pr=new Gi.MathNode("semantics",[wt,Ht]),Xr=new Gi.MathNode("math",[Pr]);Xr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var yn=Oe?"katex":"katex-mathml";return wr.makeSpan([yn],[Xr])}var _n=function(ce){return new Rt({style:ce.displayMode?X.DISPLAY:X.TEXT,maxSize:ce.maxSize,minRuleThickness:ce.minRuleThickness})},Bn=function(ce,Se){if(Se.displayMode){var Oe=["katex-display"];Se.leqno&&Oe.push("leqno"),Se.fleqn&&Oe.push("fleqn"),ce=wr.makeSpan(Oe,[ce])}return ce},tt=function(ce,Se,Oe){var Xe=_n(Oe),wt;if(Oe.output==="mathml")return An(ce,Se,Xe,!0);if(Oe.output==="html"){var Ht=ia(ce,Xe);wt=wr.makeSpan(["katex"],[Ht])}else{var Pr=An(ce,Se,Xe,!1),Xr=ia(ce,Xe);wt=wr.makeSpan(["katex"],[Pr,Xr])}return Bn(wt,Oe)},Ft=function(ce,Se,Oe){var Xe=_n(Oe),wt=ia(ce,Xe),Ht=wr.makeSpan(["katex"],[wt]);return Bn(Ht,Oe)},Cr=tt,gr={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"},Yr=function(ce){var Se=new Gi.MathNode("mo",[new Gi.TextNode(gr[ce.substr(1)])]);return Se.setAttribute("stretchy","true"),Se},en={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]},cn=function(ce){return ce.type==="ordgroup"?ce.body.length:1},In=function(ce,Se){function Oe(){var Xr=4e5,yn=ce.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],yn)){var Jn=ce,Ei=cn(Jn.base),Ji,wa,Ya;if(Ei>5)yn==="widehat"||yn==="widecheck"?(Ji=420,Xr=2364,Ya=.42,wa=yn+"4"):(Ji=312,Xr=2340,Ya=.34,wa="tilde4");else{var mo=[1,1,2,2,3,3][Ei];yn==="widehat"||yn==="widecheck"?(Xr=[0,1062,2364,2364,2364][mo],Ji=[0,239,300,360,420][mo],Ya=[0,.24,.3,.3,.36,.42][mo],wa=yn+mo):(Xr=[0,600,1033,2339,2340][mo],Ji=[0,260,286,306,312][mo],Ya=[0,.26,.286,.3,.306,.34][mo],wa="tilde"+mo)}var Mo=new de(wa),us=new Ne([Mo],{width:"100%",height:Ya+"em",viewBox:"0 0 "+Xr+" "+Ji,preserveAspectRatio:"none"});return{span:wr.makeSvgSpan([],[us],Se),minWidth:0,height:Ya}}else{var ws=[],Os=en[yn],il=Os[0],Ys=Os[1],ro=Os[2],Ws=ro/1e3,bs=il.length,Rl,sl;if(bs===1){var el=Os[3];Rl=["hide-tail"],sl=[el]}else if(bs===2)Rl=["halfarrow-left","halfarrow-right"],sl=["xMinYMin","xMaxYMin"];else if(bs===3)Rl=["brace-left","brace-center","brace-right"],sl=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+bs+" children.");for(var dl=0;dl<bs;dl++){var $l=new de(il[dl]),zl=new Ne([$l],{width:"400em",height:Ws+"em",viewBox:"0 0 "+Xr+" "+ro,preserveAspectRatio:sl[dl]+" slice"}),Kl=wr.makeSvgSpan([Rl[dl]],[zl],Se);if(bs===1)return{span:Kl,minWidth:Ys,height:Ws};Kl.style.height=Ws+"em",ws.push(Kl)}return{span:wr.makeSpan(["stretchy"],ws,Se),minWidth:Ys,height:Ws}}}var Xe=Oe(),wt=Xe.span,Ht=Xe.minWidth,Pr=Xe.height;return wt.height=Pr,wt.style.height=Pr+"em",Ht>0&&(wt.style.minWidth=Ht+"em"),wt},Xn=function(ce,Se,Oe,Xe){var wt,Ht=ce.height+ce.depth+2*Oe;if(/fbox|color/.test(Se)){if(wt=wr.makeSpan(["stretchy",Se],[],Xe),Se==="fbox"){var Pr=Xe.color&&Xe.getColor();Pr&&(wt.style.borderColor=Pr)}}else{var Xr=[];/^[bx]cancel$/.test(Se)&&Xr.push(new ve({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Se)&&Xr.push(new ve({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var yn=new Ne(Xr,{width:"100%",height:Ht+"em"});wt=wr.makeSvgSpan([],[yn],Xe)}return wt.height=Ht,wt.style.height=Ht+"em",wt},ii={encloseSpan:Xn,mathMLnode:Yr,svgSpan:In},fi=function(ce,Se){var Oe,Xe,wt=rn(ce,"supsub"),Ht;wt?(Xe=pn(wt.base,"accent"),Oe=Xe.base,wt.base=Oe,Ht=qe(ea(wt,Se)),wt.base=Xe):(Xe=pn(ce,"accent"),Oe=Xe.base);var Pr=ea(Oe,Se.havingCrampedStyle()),Xr=Xe.isShifty&&A.isCharacterBox(Oe),yn=0;if(Xr){var Jn=A.getBaseElem(Oe),Ei=ea(Jn,Se.havingCrampedStyle());yn=Me(Ei).skew}var Ji=Math.min(Pr.height,Se.fontMetrics().xHeight),wa;if(Xe.isStretchy)wa=ii.svgSpan(Xe,Se),wa=wr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"elem",elem:wa,wrapperClasses:["svg-align"],wrapperStyle:yn>0?{width:"calc(100% - "+2*yn+"em)",marginLeft:2*yn+"em"}:void 0}]},Se);else{var Ya,mo;Xe.label==="\\vec"?(Ya=wr.staticSvg("vec",Se),mo=wr.svgData.vec[1]):(Ya=wr.makeOrd({mode:Xe.mode,text:Xe.label},Se,"textord"),Ya=Me(Ya),Ya.italic=0,mo=Ya.width),wa=wr.makeSpan(["accent-body"],[Ya]);var Mo=Xe.label==="\\textcircled";Mo&&(wa.classes.push("accent-full"),Ji=Pr.height);var us=yn;Mo||(us-=mo/2),wa.style.left=us+"em",Xe.label==="\\textcircled"&&(wa.style.top=".2em"),wa=wr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"kern",size:-Ji},{type:"elem",elem:wa}]},Se)}var ws=wr.makeSpan(["mord","accent"],[wa],Se);return Ht?(Ht.children[0]=ws,Ht.height=Math.max(ws.height,Ht.height),Ht.classes[0]="mord",Ht):ws},ui=function(ce,Se){var Oe=ce.isStretchy?ii.mathMLnode(ce.label):new Gi.MathNode("mo",[mn(ce.label,ce.mode)]),Xe=new Gi.MathNode("mover",[tr(ce.base,Se),Oe]);return Xe.setAttribute("accent","true"),Xe},qn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Et){return"\\"+Et}).join("|"));Cn({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(ce,Se){var Oe=Se[0],Xe=!qn.test(ce.funcName),wt=!Xe||ce.funcName==="\\widehat"||ce.funcName==="\\widetilde"||ce.funcName==="\\widecheck";return{type:"accent",mode:ce.parser.mode,label:ce.funcName,isStretchy:Xe,isShifty:wt,base:Oe}},htmlBuilder:fi,mathmlBuilder:ui}),Cn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(ce,Se){var Oe=Se[0];return{type:"accent",mode:ce.parser.mode,label:ce.funcName,isStretchy:!1,isShifty:!0,base:Oe}},htmlBuilder:fi,mathmlBuilder:ui}),Cn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[0];return{type:"accentUnder",mode:Oe.mode,label:Xe,base:wt}},htmlBuilder:function(ce,Se){var Oe=ea(ce.base,Se),Xe=ii.svgSpan(ce,Se),wt=ce.label==="\\utilde"?.12:0,Ht=wr.makeVList({positionType:"bottom",positionData:Xe.height+wt,children:[{type:"elem",elem:Xe,wrapperClasses:["svg-align"]},{type:"kern",size:wt},{type:"elem",elem:Oe}]},Se);return wr.makeSpan(["mord","accentunder"],[Ht],Se)},mathmlBuilder:function(ce,Se){var Oe=ii.mathMLnode(ce.label),Xe=new Gi.MathNode("munder",[tr(ce.base,Se),Oe]);return Xe.setAttribute("accentunder","true"),Xe}});var ti=function(ce){var Se=new Gi.MathNode("mpadded",ce?[ce]:[]);return Se.setAttribute("width","+0.6em"),Se.setAttribute("lspace","0.3em"),Se};Cn({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(ce,Se,Oe){var Xe=ce.parser,wt=ce.funcName;return{type:"xArrow",mode:Xe.mode,label:wt,body:Se[0],below:Oe[0]}},htmlBuilder:function(ce,Se){var Oe=Se.style,Xe=Se.havingStyle(Oe.sup()),wt=wr.wrapFragment(ea(ce.body,Xe,Se),Se);wt.classes.push("x-arrow-pad");var Ht;ce.below&&(Xe=Se.havingStyle(Oe.sub()),Ht=wr.wrapFragment(ea(ce.below,Xe,Se),Se),Ht.classes.push("x-arrow-pad"));var Pr=ii.svgSpan(ce,Se),Xr=-Se.fontMetrics().axisHeight+.5*Pr.height,yn=-Se.fontMetrics().axisHeight-.5*Pr.height-.111;(wt.depth>.25||ce.label==="\\xleftequilibrium")&&(yn-=wt.depth);var Jn;if(Ht){var Ei=-Se.fontMetrics().axisHeight+Ht.height+.5*Pr.height+.111;Jn=wr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:wt,shift:yn},{type:"elem",elem:Pr,shift:Xr},{type:"elem",elem:Ht,shift:Ei}]},Se)}else Jn=wr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:wt,shift:yn},{type:"elem",elem:Pr,shift:Xr}]},Se);return Jn.children[0].children[0].children[1].classes.push("svg-align"),wr.makeSpan(["mrel","x-arrow"],[Jn],Se)},mathmlBuilder:function(ce,Se){var Oe=ii.mathMLnode(ce.label),Xe;if(ce.body){var wt=ti(tr(ce.body,Se));if(ce.below){var Ht=ti(tr(ce.below,Se));Xe=new Gi.MathNode("munderover",[Oe,Ht,wt])}else Xe=new Gi.MathNode("mover",[Oe,wt])}else if(ce.below){var Pr=ti(tr(ce.below,Se));Xe=new Gi.MathNode("munder",[Oe,Pr])}else Xe=ti(),Xe=new Gi.MathNode("mover",[Oe,Xe]);return Xe}}),Cn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(ce,Se){for(var Oe=ce.parser,Xe=pn(Se[0],"ordgroup"),wt=Xe.body,Ht="",Pr=0;Pr<wt.length;Pr++){var Xr=pn(wt[Pr],"textord");Ht+=Xr.text}var yn=parseInt(Ht);if(isNaN(yn))throw new l("\\@char has non-numeric argument "+Ht);return{type:"textord",mode:Oe.mode,text:String.fromCharCode(yn)}}});var oi=function(ce,Se){var Oe=Un(ce.body,Se.withColor(ce.color),!1);return wr.makeFragment(Oe)},Ci=function(ce,Se){var Oe=La(ce.body,Se.withColor(ce.color)),Xe=new Gi.MathNode("mstyle",Oe);return Xe.setAttribute("mathcolor",ce.color),Xe};Cn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(ce,Se){var Oe=ce.parser,Xe=pn(Se[0],"color-token").color,wt=Se[1];return{type:"color",mode:Oe.mode,color:Xe,body:Tn(wt)}},htmlBuilder:oi,mathmlBuilder:Ci}),Cn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.breakOnTokenText,wt=pn(Se[0],"color-token").color;Oe.gullet.macros.set("\\current@color",wt);var Ht=Oe.parseExpression(!0,Xe);return{type:"color",mode:Oe.mode,color:wt,body:Ht}},htmlBuilder:oi,mathmlBuilder:Ci}),Cn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ce,Se,Oe){var Xe=ce.parser,wt=ce.funcName,Ht=Oe[0],Pr=wt==="\\cr",Xr=!1;return Pr||(Xe.settings.displayMode&&Xe.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Xr=!1:Xr=!0),{type:"cr",mode:Xe.mode,newLine:Xr,newRow:Pr,size:Ht&&pn(Ht,"size").value}},htmlBuilder:function(ce,Se){if(ce.newRow)throw new l("\\cr valid only within a tabular/array environment");var Oe=wr.makeSpan(["mspace"],[],Se);return ce.newLine&&(Oe.classes.push("newline"),ce.size&&(Oe.style.marginTop=Sr(ce.size,Se)+"em")),Oe},mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mspace");return ce.newLine&&(Oe.setAttribute("linebreak","newline"),ce.size&&Oe.setAttribute("height",Sr(ce.size,Se)+"em")),Oe}});var Mi=function(ce,Se,Oe){var Xe=at.math[ce]&&at.math[ce].replace,wt=nt(Xe||ce,Se,Oe);if(!wt)throw new Error("Unsupported symbol "+ce+" and font size "+Se+".");return wt},Pi=function(ce,Se,Oe,Xe){var wt=Oe.havingBaseStyle(Se),Ht=wr.makeSpan(Xe.concat(wt.sizingClasses(Oe)),[ce],Oe),Pr=wt.sizeMultiplier/Oe.sizeMultiplier;return Ht.height*=Pr,Ht.depth*=Pr,Ht.maxFontSize=wt.sizeMultiplier,Ht},ca=function(ce,Se,Oe){var Xe=Se.havingBaseStyle(Oe),wt=(1-Se.sizeMultiplier/Xe.sizeMultiplier)*Se.fontMetrics().axisHeight;ce.classes.push("delimcenter"),ce.style.top=wt+"em",ce.height-=wt,ce.depth+=wt},sa=function(ce,Se,Oe,Xe,wt,Ht){var Pr=wr.makeSymbol(ce,"Main-Regular",wt,Xe),Xr=Pi(Pr,Se,Xe,Ht);return Oe&&ca(Xr,Xe,Se),Xr},Na=function(ce,Se,Oe,Xe){return wr.makeSymbol(ce,"Size"+Se+"-Regular",Oe,Xe)},Pa=function(ce,Se,Oe,Xe,wt,Ht){var Pr=Na(ce,Se,wt,Xe),Xr=Pi(wr.makeSpan(["delimsizing","size"+Se],[Pr],Xe),X.TEXT,Xe,Ht);return Oe&&ca(Xr,Xe,X.TEXT),Xr},ya=function(ce,Se,Oe){var Xe;Se==="Size1-Regular"?Xe="delim-size1":Xe="delim-size4";var wt=wr.makeSpan(["delimsizinginner",Xe],[wr.makeSpan([],[wr.makeSymbol(ce,Se,Oe)])]);return{type:"elem",elem:wt}},va={type:"kern",size:-.005},Ca=function(ce,Se,Oe,Xe,wt,Ht){var Pr,Xr,yn,Jn;Pr=yn=Jn=ce,Xr=null;var Ei="Size1-Regular";ce==="\\uparrow"?yn=Jn="\u23D0":ce==="\\Uparrow"?yn=Jn="\u2016":ce==="\\downarrow"?Pr=yn="\u23D0":ce==="\\Downarrow"?Pr=yn="\u2016":ce==="\\updownarrow"?(Pr="\\uparrow",yn="\u23D0",Jn="\\downarrow"):ce==="\\Updownarrow"?(Pr="\\Uparrow",yn="\u2016",Jn="\\Downarrow"):ce==="["||ce==="\\lbrack"?(Pr="\u23A1",yn="\u23A2",Jn="\u23A3",Ei="Size4-Regular"):ce==="]"||ce==="\\rbrack"?(Pr="\u23A4",yn="\u23A5",Jn="\u23A6",Ei="Size4-Regular"):ce==="\\lfloor"||ce==="\u230A"?(yn=Pr="\u23A2",Jn="\u23A3",Ei="Size4-Regular"):ce==="\\lceil"||ce==="\u2308"?(Pr="\u23A1",yn=Jn="\u23A2",Ei="Size4-Regular"):ce==="\\rfloor"||ce==="\u230B"?(yn=Pr="\u23A5",Jn="\u23A6",Ei="Size4-Regular"):ce==="\\rceil"||ce==="\u2309"?(Pr="\u23A4",yn=Jn="\u23A5",Ei="Size4-Regular"):ce==="("||ce==="\\lparen"?(Pr="\u239B",yn="\u239C",Jn="\u239D",Ei="Size4-Regular"):ce===")"||ce==="\\rparen"?(Pr="\u239E",yn="\u239F",Jn="\u23A0",Ei="Size4-Regular"):ce==="\\{"||ce==="\\lbrace"?(Pr="\u23A7",Xr="\u23A8",Jn="\u23A9",yn="\u23AA",Ei="Size4-Regular"):ce==="\\}"||ce==="\\rbrace"?(Pr="\u23AB",Xr="\u23AC",Jn="\u23AD",yn="\u23AA",Ei="Size4-Regular"):ce==="\\lgroup"||ce==="\u27EE"?(Pr="\u23A7",Jn="\u23A9",yn="\u23AA",Ei="Size4-Regular"):ce==="\\rgroup"||ce==="\u27EF"?(Pr="\u23AB",Jn="\u23AD",yn="\u23AA",Ei="Size4-Regular"):ce==="\\lmoustache"||ce==="\u23B0"?(Pr="\u23A7",Jn="\u23AD",yn="\u23AA",Ei="Size4-Regular"):(ce==="\\rmoustache"||ce==="\u23B1")&&(Pr="\u23AB",Jn="\u23A9",yn="\u23AA",Ei="Size4-Regular");var Ji=Mi(Pr,Ei,wt),wa=Ji.height+Ji.depth,Ya=Mi(yn,Ei,wt),mo=Ya.height+Ya.depth,Mo=Mi(Jn,Ei,wt),us=Mo.height+Mo.depth,ws=0,Os=1;if(Xr!==null){var il=Mi(Xr,Ei,wt);ws=il.height+il.depth,Os=2}var Ys=wa+us+ws,ro=Math.max(0,Math.ceil((Se-Ys)/(Os*mo))),Ws=Ys+ro*Os*mo,bs=Xe.fontMetrics().axisHeight;Oe&&(bs*=Xe.sizeMultiplier);var Rl=Ws/2-bs,sl=(ro+1)*.005-mo,el=[];if(el.push(ya(Jn,Ei,wt)),Xr===null)for(var dl=0;dl<ro;dl++)el.push(va),el.push(ya(yn,Ei,wt));else{for(var $l=0;$l<ro;$l++)el.push(va),el.push(ya(yn,Ei,wt));el.push({type:"kern",size:sl}),el.push(ya(yn,Ei,wt)),el.push(va),el.push(ya(Xr,Ei,wt));for(var zl=0;zl<ro;zl++)el.push(va),el.push(ya(yn,Ei,wt))}el.push({type:"kern",size:sl}),el.push(ya(yn,Ei,wt)),el.push(va),el.push(ya(Pr,Ei,wt));var Kl=Xe.havingBaseStyle(X.TEXT),ql=wr.makeVList({positionType:"bottom",positionData:Rl,children:el},Kl);return Pi(wr.makeSpan(["delimsizing","mult"],[ql],Kl),X.TEXT,Xe,Ht)},Ai=80,Aa=.08,za=function(ce,Se,Oe,Xe,wt){var Ht=Ae(ce,Xe,Oe),Pr=new de(ce,Ht),Xr=new Ne([Pr],{width:"400em",height:Se+"em",viewBox:"0 0 400000 "+Oe,preserveAspectRatio:"xMinYMin slice"});return wr.makeSvgSpan(["hide-tail"],[Xr],wt)},Or=function(ce,Se){var Oe=Se.havingBaseSizing(),Xe=Ln("\\surd",ce*Oe.sizeMultiplier,sn,Oe),wt=Oe.sizeMultiplier,Ht=Math.max(0,Se.minRuleThickness-Se.fontMetrics().sqrtRuleThickness),Pr,Xr=0,yn=0,Jn=0,Ei;return Xe.type==="small"?(Jn=1e3+1e3*Ht+Ai,ce<1?wt=1:ce<1.4&&(wt=.7),Xr=(1+Ht+Aa)/wt,yn=(1+Ht)/wt,Pr=za("sqrtMain",Xr,Jn,Ht,Se),Pr.style.minWidth="0.853em",Ei=.833/wt):Xe.type==="large"?(Jn=(1e3+Ai)*ar[Xe.size],yn=(ar[Xe.size]+Ht)/wt,Xr=(ar[Xe.size]+Ht+Aa)/wt,Pr=za("sqrtSize"+Xe.size,Xr,Jn,Ht,Se),Pr.style.minWidth="1.02em",Ei=1/wt):(Xr=ce+Ht+Aa,yn=ce+Ht,Jn=Math.floor(1e3*ce+Ht)+Ai,Pr=za("sqrtTall",Xr,Jn,Ht,Se),Pr.style.minWidth="0.742em",Ei=1.056),Pr.height=yn,Pr.style.height=Xr+"em",{span:Pr,advanceWidth:Ei,ruleWidth:(Se.fontMetrics().sqrtRuleThickness+Ht)*wt}},$r=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],vn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Jr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ar=[0,1.2,1.8,2.4,3],Hr=function(ce,Se,Oe,Xe,wt){if(ce==="<"||ce==="\\lt"||ce==="\u27E8"?ce="\\langle":(ce===">"||ce==="\\gt"||ce==="\u27E9")&&(ce="\\rangle"),A.contains($r,ce)||A.contains(Jr,ce))return Pa(ce,Se,!1,Oe,Xe,wt);if(A.contains(vn,ce))return Ca(ce,ar[Se],!1,Oe,Xe,wt);throw new l("Illegal delimiter: '"+ce+"'")},mr=[{type:"small",style:X.SCRIPTSCRIPT},{type:"small",style:X.SCRIPT},{type:"small",style:X.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],tn=[{type:"small",style:X.SCRIPTSCRIPT},{type:"small",style:X.SCRIPT},{type:"small",style:X.TEXT},{type:"stack"}],sn=[{type:"small",style:X.SCRIPTSCRIPT},{type:"small",style:X.SCRIPT},{type:"small",style:X.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Hn=function(ce){if(ce.type==="small")return"Main-Regular";if(ce.type==="large")return"Size"+ce.size+"-Regular";if(ce.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+ce.type+"' here.")},Ln=function(ce,Se,Oe,Xe){for(var wt=Math.min(2,3-Xe.style.size),Ht=wt;Ht<Oe.length&&!(Oe[Ht].type==="stack");Ht++){var Pr=Mi(ce,Hn(Oe[Ht]),"math"),Xr=Pr.height+Pr.depth;if(Oe[Ht].type==="small"){var yn=Xe.havingBaseStyle(Oe[Ht].style);Xr*=yn.sizeMultiplier}if(Xr>Se)return Oe[Ht]}return Oe[Oe.length-1]},Qn=function(ce,Se,Oe,Xe,wt,Ht){ce==="<"||ce==="\\lt"||ce==="\u27E8"?ce="\\langle":(ce===">"||ce==="\\gt"||ce==="\u27E9")&&(ce="\\rangle");var Pr;A.contains(Jr,ce)?Pr=mr:A.contains($r,ce)?Pr=sn:Pr=tn;var Xr=Ln(ce,Se,Pr,Xe);return Xr.type==="small"?sa(ce,Xr.style,Oe,Xe,wt,Ht):Xr.type==="large"?Pa(ce,Xr.size,Oe,Xe,wt,Ht):Ca(ce,Se,Oe,Xe,wt,Ht)},yi=function(ce,Se,Oe,Xe,wt,Ht){var Pr=Xe.fontMetrics().axisHeight*Xe.sizeMultiplier,Xr=901,yn=5/Xe.fontMetrics().ptPerEm,Jn=Math.max(Se-Pr,Oe+Pr),Ei=Math.max(Jn/500*Xr,2*Jn-yn);return Qn(ce,Ei,!0,Xe,wt,Ht)},Di={sqrtImage:Or,sizedDelim:Hr,customSizedDelim:Qn,leftRightDelim:yi},Ui={"\\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}},ua=["(","\\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 Xa(Et,ce){var Se=Li(Et);if(Se&&A.contains(ua,Se.text))return Se;throw new l("Invalid delimiter: '"+(Se?Se.text:JSON.stringify(Et))+"' after '"+ce.funcName+"'",Et)}Cn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(ce,Se){var Oe=Xa(Se[0],ce);return{type:"delimsizing",mode:ce.parser.mode,size:Ui[ce.funcName].size,mclass:Ui[ce.funcName].mclass,delim:Oe.text}},htmlBuilder:function(ce,Se){return ce.delim==="."?wr.makeSpan([ce.mclass]):Di.sizedDelim(ce.delim,ce.size,Se,ce.mode,[ce.mclass])},mathmlBuilder:function(ce){var Se=[];ce.delim!=="."&&Se.push(mn(ce.delim,ce.mode));var Oe=new Gi.MathNode("mo",Se);return ce.mclass==="mopen"||ce.mclass==="mclose"?Oe.setAttribute("fence","true"):Oe.setAttribute("fence","false"),Oe}});function vo(Et){if(!Et.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Cn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(ce,Se){var Oe=ce.parser.gullet.macros.get("\\current@color");if(Oe&&typeof Oe!="string")throw new l("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:ce.parser.mode,delim:Xa(Se[0],ce).text,color:Oe}}}),Cn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(ce,Se){var Oe=Xa(Se[0],ce),Xe=ce.parser;++Xe.leftrightDepth;var wt=Xe.parseExpression(!1);--Xe.leftrightDepth,Xe.expect("\\right",!1);var Ht=pn(Xe.parseFunction(),"leftright-right");return{type:"leftright",mode:Xe.mode,body:wt,left:Oe.text,right:Ht.delim,rightColor:Ht.color}},htmlBuilder:function(ce,Se){vo(ce);for(var Oe=Un(ce.body,Se,!0,["mopen","mclose"]),Xe=0,wt=0,Ht=!1,Pr=0;Pr<Oe.length;Pr++)Oe[Pr].isMiddle?Ht=!0:(Xe=Math.max(Oe[Pr].height,Xe),wt=Math.max(Oe[Pr].depth,wt));Xe*=Se.sizeMultiplier,wt*=Se.sizeMultiplier;var Xr;if(ce.left==="."?Xr=zi(Se,["mopen"]):Xr=Di.leftRightDelim(ce.left,Xe,wt,Se,ce.mode,["mopen"]),Oe.unshift(Xr),Ht)for(var yn=1;yn<Oe.length;yn++){var Jn=Oe[yn],Ei=Jn.isMiddle;Ei&&(Oe[yn]=Di.leftRightDelim(Ei.delim,Xe,wt,Ei.options,ce.mode,[]))}var Ji;if(ce.right===".")Ji=zi(Se,["mclose"]);else{var wa=ce.rightColor?Se.withColor(ce.rightColor):Se;Ji=Di.leftRightDelim(ce.right,Xe,wt,wa,ce.mode,["mclose"])}return Oe.push(Ji),wr.makeSpan(["minner"],Oe,Se)},mathmlBuilder:function(ce,Se){vo(ce);var Oe=La(ce.body,Se);if(ce.left!=="."){var Xe=new Gi.MathNode("mo",[mn(ce.left,ce.mode)]);Xe.setAttribute("fence","true"),Oe.unshift(Xe)}if(ce.right!=="."){var wt=new Gi.MathNode("mo",[mn(ce.right,ce.mode)]);wt.setAttribute("fence","true"),ce.rightColor&&wt.setAttribute("mathcolor",ce.rightColor),Oe.push(wt)}return $i(Oe)}}),Cn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(ce,Se){var Oe=Xa(Se[0],ce);if(!ce.parser.leftrightDepth)throw new l("\\middle without preceding \\left",Oe);return{type:"middle",mode:ce.parser.mode,delim:Oe.text}},htmlBuilder:function(ce,Se){var Oe;if(ce.delim===".")Oe=zi(Se,[]);else{Oe=Di.sizedDelim(ce.delim,1,Se,ce.mode,[]);var Xe={delim:ce.delim,options:Se};Oe.isMiddle=Xe}return Oe},mathmlBuilder:function(ce,Se){var Oe=ce.delim==="\\vert"||ce.delim==="|"?mn("|","text"):mn(ce.delim,ce.mode),Xe=new Gi.MathNode("mo",[Oe]);return Xe.setAttribute("fence","true"),Xe.setAttribute("lspace","0.05em"),Xe.setAttribute("rspace","0.05em"),Xe}});var wo=function(ce,Se){var Oe=wr.wrapFragment(ea(ce.body,Se),Se),Xe=ce.label.substr(1),wt=Se.sizeMultiplier,Ht,Pr=0,Xr=A.isCharacterBox(ce.body);if(Xe==="sout")Ht=wr.makeSpan(["stretchy","sout"]),Ht.height=Se.fontMetrics().defaultRuleThickness/wt,Pr=-.5*Se.fontMetrics().xHeight;else{/cancel/.test(Xe)?Xr||Oe.classes.push("cancel-pad"):Oe.classes.push("boxpad");var yn=0,Jn=0;/box/.test(Xe)?(Jn=Math.max(Se.fontMetrics().fboxrule,Se.minRuleThickness),yn=Se.fontMetrics().fboxsep+(Xe==="colorbox"?0:Jn)):yn=Xr?.2:0,Ht=ii.encloseSpan(Oe,Xe,yn,Se),/fbox|boxed|fcolorbox/.test(Xe)&&(Ht.style.borderStyle="solid",Ht.style.borderWidth=Jn+"em"),Pr=Oe.depth+yn,ce.backgroundColor&&(Ht.style.backgroundColor=ce.backgroundColor,ce.borderColor&&(Ht.style.borderColor=ce.borderColor))}var Ei;return ce.backgroundColor?Ei=wr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ht,shift:Pr},{type:"elem",elem:Oe,shift:0}]},Se):Ei=wr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Oe,shift:0},{type:"elem",elem:Ht,shift:Pr,wrapperClasses:/cancel/.test(Xe)?["svg-align"]:[]}]},Se),/cancel/.test(Xe)&&(Ei.height=Oe.height,Ei.depth=Oe.depth),/cancel/.test(Xe)&&!Xr?wr.makeSpan(["mord","cancel-lap"],[Ei],Se):wr.makeSpan(["mord"],[Ei],Se)},ho=function(ce,Se){var Oe=0,Xe=new Gi.MathNode(ce.label.indexOf("colorbox")>-1?"mpadded":"menclose",[tr(ce.body,Se)]);switch(ce.label){case"\\cancel":Xe.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Xe.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Xe.setAttribute("notation","horizontalstrike");break;case"\\fbox":Xe.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Oe=Se.fontMetrics().fboxsep*Se.fontMetrics().ptPerEm,Xe.setAttribute("width","+"+2*Oe+"pt"),Xe.setAttribute("height","+"+2*Oe+"pt"),Xe.setAttribute("lspace",Oe+"pt"),Xe.setAttribute("voffset",Oe+"pt"),ce.label==="\\fcolorbox"){var wt=Math.max(Se.fontMetrics().fboxrule,Se.minRuleThickness);Xe.setAttribute("style","border: "+wt+"em solid "+String(ce.borderColor))}break;case"\\xcancel":Xe.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return ce.backgroundColor&&Xe.setAttribute("mathbackground",ce.backgroundColor),Xe};Cn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(ce,Se,Oe){var Xe=ce.parser,wt=ce.funcName,Ht=pn(Se[0],"color-token").color,Pr=Se[1];return{type:"enclose",mode:Xe.mode,label:wt,backgroundColor:Ht,body:Pr}},htmlBuilder:wo,mathmlBuilder:ho}),Cn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(ce,Se,Oe){var Xe=ce.parser,wt=ce.funcName,Ht=pn(Se[0],"color-token").color,Pr=pn(Se[1],"color-token").color,Xr=Se[2];return{type:"enclose",mode:Xe.mode,label:wt,backgroundColor:Pr,borderColor:Ht,body:Xr}},htmlBuilder:wo,mathmlBuilder:ho}),Cn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser;return{type:"enclose",mode:Oe.mode,label:"\\fbox",body:Se[0]}}}),Cn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(ce,Se,Oe){var Xe=ce.parser,wt=ce.funcName,Ht=Se[0];return{type:"enclose",mode:Xe.mode,label:wt,body:Ht}},htmlBuilder:wo,mathmlBuilder:ho});var yo={};function Ga(Et){for(var ce=Et.type,Se=Et.names,Oe=Et.props,Xe=Et.handler,wt=Et.htmlBuilder,Ht=Et.mathmlBuilder,Pr={type:ce,numArgs:Oe.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Xe},Xr=0;Xr<Se.length;++Xr)yo[Se[Xr]]=Pr;wt&&(un[ce]=wt),Ht&&(ri[ce]=Ht)}function Ma(Et){var ce=[];Et.consumeSpaces();for(var Se=Et.fetch().text;Se==="\\hline"||Se==="\\hdashline";)Et.consume(),ce.push(Se==="\\hdashline"),Et.consumeSpaces(),Se=Et.fetch().text;return ce}function uo(Et,ce,Se){var Oe=ce.hskipBeforeAndAfter,Xe=ce.addJot,wt=ce.cols,Ht=ce.arraystretch,Pr=ce.colSeparationType;if(Et.gullet.beginGroup(),Et.gullet.macros.set("\\\\","\\cr"),!Ht){var Xr=Et.gullet.expandMacroAsText("\\arraystretch");if(Xr==null)Ht=1;else if(Ht=parseFloat(Xr),!Ht||Ht<0)throw new l("Invalid \\arraystretch: "+Xr)}Et.gullet.beginGroup();var yn=[],Jn=[yn],Ei=[],Ji=[];for(Ji.push(Ma(Et));;){var wa=Et.parseExpression(!1,"\\cr");Et.gullet.endGroup(),Et.gullet.beginGroup(),wa={type:"ordgroup",mode:Et.mode,body:wa},Se&&(wa={type:"styling",mode:Et.mode,style:Se,body:[wa]}),yn.push(wa);var Ya=Et.fetch().text;if(Ya==="&")Et.consume();else if(Ya==="\\end"){yn.length===1&&wa.type==="styling"&&wa.body[0].body.length===0&&Jn.pop(),Ji.length<Jn.length+1&&Ji.push([]);break}else if(Ya==="\\cr"){var mo=pn(Et.parseFunction(),"cr");Ei.push(mo.size),Ji.push(Ma(Et)),yn=[],Jn.push(yn)}else throw new l("Expected & or \\\\ or \\cr or \\end",Et.nextToken)}return Et.gullet.endGroup(),Et.gullet.endGroup(),{type:"array",mode:Et.mode,addJot:Xe,arraystretch:Ht,body:Jn,cols:wt,rowGaps:Ei,hskipBeforeAndAfter:Oe,hLinesBeforeRow:Ji,colSeparationType:Pr}}function so(Et){return Et.substr(0,1)==="d"?"display":"text"}var To=function(ce,Se){var Oe,Xe,wt=ce.body.length,Ht=ce.hLinesBeforeRow,Pr=0,Xr=new Array(wt),yn=[],Jn=Math.max(Se.fontMetrics().arrayRuleWidth,Se.minRuleThickness),Ei=1/Se.fontMetrics().ptPerEm,Ji=5*Ei;if(ce.colSeparationType&&ce.colSeparationType==="small"){var wa=Se.havingStyle(X.SCRIPT).sizeMultiplier;Ji=.2778*(wa/Se.sizeMultiplier)}var Ya=12*Ei,mo=3*Ei,Mo=ce.arraystretch*Ya,us=.7*Mo,ws=.3*Mo,Os=0;function il(wc){for(var ps=0;ps<wc.length;++ps)ps>0&&(Os+=.25),yn.push({pos:Os,isDashed:wc[ps]})}for(il(Ht[0]),Oe=0;Oe<ce.body.length;++Oe){var Ys=ce.body[Oe],ro=us,Ws=ws;Pr<Ys.length&&(Pr=Ys.length);var bs=new Array(Ys.length);for(Xe=0;Xe<Ys.length;++Xe){var Rl=ea(Ys[Xe],Se);Ws<Rl.depth&&(Ws=Rl.depth),ro<Rl.height&&(ro=Rl.height),bs[Xe]=Rl}var sl=ce.rowGaps[Oe],el=0;sl&&(el=Sr(sl,Se),el>0&&(el+=ws,Ws<el&&(Ws=el),el=0)),ce.addJot&&(Ws+=mo),bs.height=ro,bs.depth=Ws,Os+=ro,bs.pos=Os,Os+=Ws+el,Xr[Oe]=bs,il(Ht[Oe+1])}var dl=Os/2+Se.fontMetrics().axisHeight,$l=ce.cols||[],zl=[],Kl,ql;for(Xe=0,ql=0;Xe<Pr||ql<$l.length;++Xe,++ql){for(var Vl=$l[ql]||{},Nc=!0;Vl.type==="separator";){if(Nc||(Kl=wr.makeSpan(["arraycolsep"],[]),Kl.style.width=Se.fontMetrics().doubleRuleSep+"em",zl.push(Kl)),Vl.separator==="|"||Vl.separator===":"){var Zc=Vl.separator==="|"?"solid":"dashed",Zl=wr.makeSpan(["vertical-separator"],[],Se);Zl.style.height=Os+"em",Zl.style.borderRightWidth=Jn+"em",Zl.style.borderRightStyle=Zc,Zl.style.margin="0 -"+Jn/2+"em",Zl.style.verticalAlign=-(Os-dl)+"em",zl.push(Zl)}else throw new l("Invalid separator type: "+Vl.separator);ql++,Vl=$l[ql]||{},Nc=!1}if(Xe>=Pr)continue;var ll=void 0;(Xe>0||ce.hskipBeforeAndAfter)&&(ll=A.deflt(Vl.pregap,Ji),ll!==0&&(Kl=wr.makeSpan(["arraycolsep"],[]),Kl.style.width=ll+"em",zl.push(Kl)));var Fl=[];for(Oe=0;Oe<wt;++Oe){var Mc=Xr[Oe],fc=Mc[Xe];if(!fc)continue;var Cc=Mc.pos-dl;fc.depth=Mc.depth,fc.height=Mc.height,Fl.push({type:"elem",elem:fc,shift:Cc})}Fl=wr.makeVList({positionType:"individualShift",children:Fl},Se),Fl=wr.makeSpan(["col-align-"+(Vl.align||"c")],[Fl]),zl.push(Fl),(Xe<Pr-1||ce.hskipBeforeAndAfter)&&(ll=A.deflt(Vl.postgap,Ji),ll!==0&&(Kl=wr.makeSpan(["arraycolsep"],[]),Kl.style.width=ll+"em",zl.push(Kl)))}if(Xr=wr.makeSpan(["mtable"],zl),yn.length>0){for(var Oc=wr.makeLineSpan("hline",Se,Jn),Ac=wr.makeLineSpan("hdashline",Se,Jn),Wc=[{type:"elem",elem:Xr,shift:0}];yn.length>0;){var Dc=yn.pop(),jc=Dc.pos-dl;Dc.isDashed?Wc.push({type:"elem",elem:Ac,shift:jc}):Wc.push({type:"elem",elem:Oc,shift:jc})}Xr=wr.makeVList({positionType:"individualShift",children:Wc},Se)}return wr.makeSpan(["mord"],[Xr],Se)},No={c:"center ",l:"left ",r:"right "},oo=function(ce,Se){var Oe=new Gi.MathNode("mtable",ce.body.map(function(Os){return new Gi.MathNode("mtr",Os.map(function(il){return new Gi.MathNode("mtd",[tr(il,Se)])}))})),Xe=ce.arraystretch===.5?.1:.16+ce.arraystretch-1+(ce.addJot?.09:0);Oe.setAttribute("rowspacing",Xe+"em");var wt="",Ht="";if(ce.cols){var Pr=ce.cols,Xr="",yn=!1,Jn=0,Ei=Pr.length;Pr[0].type==="separator"&&(wt+="top ",Jn=1),Pr[Pr.length-1].type==="separator"&&(wt+="bottom ",Ei-=1);for(var Ji=Jn;Ji<Ei;Ji++)Pr[Ji].type==="align"?(Ht+=No[Pr[Ji].align],yn&&(Xr+="none "),yn=!0):Pr[Ji].type==="separator"&&(yn&&(Xr+=Pr[Ji].separator==="|"?"solid ":"dashed ",yn=!1));Oe.setAttribute("columnalign",Ht.trim()),/[sd]/.test(Xr)&&Oe.setAttribute("columnlines",Xr.trim())}if(ce.colSeparationType==="align"){for(var wa=ce.cols||[],Ya="",mo=1;mo<wa.length;mo++)Ya+=mo%2?"0em ":"1em ";Oe.setAttribute("columnspacing",Ya.trim())}else ce.colSeparationType==="alignat"?Oe.setAttribute("columnspacing","0em"):ce.colSeparationType==="small"?Oe.setAttribute("columnspacing","0.2778em"):Oe.setAttribute("columnspacing","1em");var Mo="",us=ce.hLinesBeforeRow;wt+=us[0].length>0?"left ":"",wt+=us[us.length-1].length>0?"right ":"";for(var ws=1;ws<us.length-1;ws++)Mo+=us[ws].length===0?"none ":us[ws][0]?"dashed ":"solid ";return/[sd]/.test(Mo)&&Oe.setAttribute("rowlines",Mo.trim()),wt!==""&&(Oe=new Gi.MathNode("menclose",[Oe]),Oe.setAttribute("notation",wt.trim())),ce.arraystretch&&ce.arraystretch<1&&(Oe=new Gi.MathNode("mstyle",[Oe]),Oe.setAttribute("scriptlevel","1")),Oe},Ja=function(ce,Se){var Oe=[],Xe=uo(ce.parser,{cols:Oe,addJot:!0},"display"),wt,Ht=0,Pr={type:"ordgroup",mode:ce.mode,body:[]},Xr=rn(Se[0],"ordgroup");if(Xr){for(var yn="",Jn=0;Jn<Xr.body.length;Jn++){var Ei=pn(Xr.body[Jn],"textord");yn+=Ei.text}wt=Number(yn),Ht=wt*2}var Ji=!Ht;Xe.body.forEach(function(Mo){for(var us=1;us<Mo.length;us+=2){var ws=pn(Mo[us],"styling"),Os=pn(ws.body[0],"ordgroup");Os.body.unshift(Pr)}if(Ji)Ht<Mo.length&&(Ht=Mo.length);else{var il=Mo.length/2;if(wt<il)throw new l("Too many math in a row: "+("expected "+wt+", but got "+il),Mo[0])}});for(var wa=0;wa<Ht;++wa){var Ya="r",mo=0;wa%2===1?Ya="l":wa>0&&Ji&&(mo=1),Oe[wa]={type:"align",align:Ya,pregap:mo,postgap:0}}return Xe.colSeparationType=Ji?"align":"alignat",Xe};Ga({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(ce,Se){var Oe=Li(Se[0]),Xe=Oe?[Se[0]]:pn(Se[0],"ordgroup").body,wt=Xe.map(function(Pr){var Xr=xi(Pr),yn=Xr.text;if("lcr".indexOf(yn)!==-1)return{type:"align",align:yn};if(yn==="|")return{type:"separator",separator:"|"};if(yn===":")return{type:"separator",separator:":"};throw new l("Unknown column alignment: "+yn,Pr)}),Ht={cols:wt,hskipBeforeAndAfter:!0};return uo(ce.parser,Ht,so(ce.envName))},htmlBuilder:To,mathmlBuilder:oo}),Ga({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(ce){var Se={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[ce.envName],Oe={hskipBeforeAndAfter:!1},Xe=uo(ce.parser,Oe,so(ce.envName));return Se?{type:"leftright",mode:ce.mode,body:[Xe],left:Se[0],right:Se[1],rightColor:void 0}:Xe},htmlBuilder:To,mathmlBuilder:oo}),Ga({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(ce){var Se={arraystretch:.5},Oe=uo(ce.parser,Se,"script");return Oe.colSeparationType="small",Oe},htmlBuilder:To,mathmlBuilder:oo}),Ga({type:"array",names:["subarray"],props:{numArgs:1},handler:function(ce,Se){var Oe=Li(Se[0]),Xe=Oe?[Se[0]]:pn(Se[0],"ordgroup").body,wt=Xe.map(function(Pr){var Xr=xi(Pr),yn=Xr.text;if("lc".indexOf(yn)!==-1)return{type:"align",align:yn};throw new l("Unknown column alignment: "+yn,Pr)});if(wt.length>1)throw new l("{subarray} can contain only one column");var Ht={cols:wt,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ht=uo(ce.parser,Ht,"script"),Ht.body[0].length>1)throw new l("{subarray} can contain only one column");return Ht},htmlBuilder:To,mathmlBuilder:oo}),Ga({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(ce){var Se={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Oe=uo(ce.parser,Se,so(ce.envName));return{type:"leftright",mode:ce.mode,body:[Oe],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:To,mathmlBuilder:oo}),Ga({type:"array",names:["aligned"],props:{numArgs:0},handler:Ja,htmlBuilder:To,mathmlBuilder:oo}),Ga({type:"array",names:["gathered"],props:{numArgs:0},handler:function(ce){var Se={cols:[{type:"align",align:"c"}],addJot:!0};return uo(ce.parser,Se,"display")},htmlBuilder:To,mathmlBuilder:oo}),Ga({type:"array",names:["alignedat"],props:{numArgs:1},handler:Ja,htmlBuilder:To,mathmlBuilder:oo}),Cn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(ce,Se){throw new l(ce.funcName+" valid only within array environment")}});var zo=yo,Eo=zo;Cn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[0];if(wt.type!=="ordgroup")throw new l("Invalid environment name",wt);for(var Ht="",Pr=0;Pr<wt.body.length;++Pr)Ht+=pn(wt.body[Pr],"textord").text;if(Xe==="\\begin"){if(!Eo.hasOwnProperty(Ht))throw new l("No such environment: "+Ht,wt);var Xr=Eo[Ht],yn=Oe.parseArguments("\\begin{"+Ht+"}",Xr),Jn=yn.args,Ei=yn.optArgs,Ji={mode:Oe.mode,envName:Ht,parser:Oe},wa=Xr.handler(Ji,Jn,Ei);Oe.expect("\\end",!1);var Ya=Oe.nextToken,mo=pn(Oe.parseFunction(),"environment");if(mo.name!==Ht)throw new l("Mismatch: \\begin{"+Ht+"} matched by \\end{"+mo.name+"}",Ya);return wa}return{type:"environment",mode:Oe.mode,name:Ht,nameGroup:wt}}});var Ea=wr.makeSpan;function jo(Et,ce){var Se=Un(Et.body,ce,!0);return Ea([Et.mclass],Se,ce)}function Zo(Et,ce){var Se,Oe=La(Et.body,ce);return Et.mclass==="minner"?Gi.newDocumentFragment(Oe):(Et.mclass==="mord"?Et.isCharacterBox?(Se=Oe[0],Se.type="mi"):Se=new Gi.MathNode("mi",Oe):(Et.isCharacterBox?(Se=Oe[0],Se.type="mo"):Se=new Gi.MathNode("mo",Oe),Et.mclass==="mbin"?(Se.attributes.lspace="0.22em",Se.attributes.rspace="0.22em"):Et.mclass==="mpunct"?(Se.attributes.lspace="0em",Se.attributes.rspace="0.17em"):(Et.mclass==="mopen"||Et.mclass==="mclose")&&(Se.attributes.lspace="0em",Se.attributes.rspace="0em")),Se)}Cn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[0];return{type:"mclass",mode:Oe.mode,mclass:"m"+Xe.substr(5),body:Tn(wt),isCharacterBox:A.isCharacterBox(wt)}},htmlBuilder:jo,mathmlBuilder:Zo});var Za=function(ce){var Se=ce.type==="ordgroup"&&ce.body.length?ce.body[0]:ce;return Se.type==="atom"&&(Se.family==="bin"||Se.family==="rel")?"m"+Se.family:"mord"};Cn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(ce,Se){var Oe=ce.parser;return{type:"mclass",mode:Oe.mode,mclass:Za(Se[0]),body:[Se[1]],isCharacterBox:A.isCharacterBox(Se[1])}}}),Cn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[1],Ht=Se[0],Pr;Xe!=="\\stackrel"?Pr=Za(wt):Pr="mrel";var Xr={type:"op",mode:wt.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Xe!=="\\stackrel",body:Tn(wt)},yn={type:"supsub",mode:Ht.mode,base:Xr,sup:Xe==="\\underset"?null:Ht,sub:Xe==="\\underset"?Ht:null};return{type:"mclass",mode:Oe.mode,mclass:Pr,body:[yn],isCharacterBox:A.isCharacterBox(yn)}},htmlBuilder:jo,mathmlBuilder:Zo});var Xo=function(ce,Se){var Oe=ce.font,Xe=Se.withFont(Oe);return ea(ce.body,Xe)},qo=function(ce,Se){var Oe=ce.font,Xe=Se.withFont(Oe);return tr(ce.body,Xe)},cs={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Cn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[0],Ht=Xe;return Ht in cs&&(Ht=cs[Ht]),{type:"font",mode:Oe.mode,font:Ht.slice(1),body:wt}},htmlBuilder:Xo,mathmlBuilder:qo}),Cn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(ce,Se){var Oe=ce.parser,Xe=Se[0],wt=A.isCharacterBox(Xe);return{type:"mclass",mode:Oe.mode,mclass:Za(Xe),body:[{type:"font",mode:Oe.mode,font:"boldsymbol",body:Xe}],isCharacterBox:wt}}}),Cn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=ce.breakOnTokenText,Ht=Oe.mode,Pr=Oe.parseExpression(!0,wt),Xr="math"+Xe.slice(1);return{type:"font",mode:Ht,font:Xr,body:{type:"ordgroup",mode:Oe.mode,body:Pr}}},htmlBuilder:Xo,mathmlBuilder:qo});var Oo=function(ce,Se){var Oe=Se;return ce==="display"?Oe=Oe.id>=X.SCRIPT.id?Oe.text():X.DISPLAY:ce==="text"&&Oe.size===X.DISPLAY.size?Oe=X.TEXT:ce==="script"?Oe=X.SCRIPT:ce==="scriptscript"&&(Oe=X.SCRIPTSCRIPT),Oe},ss=function(ce,Se){var Oe=Oo(ce.size,Se.style),Xe=Oe.fracNum(),wt=Oe.fracDen(),Ht;Ht=Se.havingStyle(Xe);var Pr=ea(ce.numer,Ht,Se);if(ce.continued){var Xr=8.5/Se.fontMetrics().ptPerEm,yn=3.5/Se.fontMetrics().ptPerEm;Pr.height=Pr.height<Xr?Xr:Pr.height,Pr.depth=Pr.depth<yn?yn:Pr.depth}Ht=Se.havingStyle(wt);var Jn=ea(ce.denom,Ht,Se),Ei,Ji,wa;ce.hasBarLine?(ce.barSize?(Ji=Sr(ce.barSize,Se),Ei=wr.makeLineSpan("frac-line",Se,Ji)):Ei=wr.makeLineSpan("frac-line",Se),Ji=Ei.height,wa=Ei.height):(Ei=null,Ji=0,wa=Se.fontMetrics().defaultRuleThickness);var Ya,mo,Mo;Oe.size===X.DISPLAY.size||ce.size==="display"?(Ya=Se.fontMetrics().num1,Ji>0?mo=3*wa:mo=7*wa,Mo=Se.fontMetrics().denom1):(Ji>0?(Ya=Se.fontMetrics().num2,mo=wa):(Ya=Se.fontMetrics().num3,mo=3*wa),Mo=Se.fontMetrics().denom2);var us;if(Ei){var Os=Se.fontMetrics().axisHeight;Ya-Pr.depth-(Os+.5*Ji)<mo&&(Ya+=mo-(Ya-Pr.depth-(Os+.5*Ji))),Os-.5*Ji-(Jn.height-Mo)<mo&&(Mo+=mo-(Os-.5*Ji-(Jn.height-Mo)));var il=-(Os-.5*Ji);us=wr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Jn,shift:Mo},{type:"elem",elem:Ei,shift:il},{type:"elem",elem:Pr,shift:-Ya}]},Se)}else{var ws=Ya-Pr.depth-(Jn.height-Mo);ws<mo&&(Ya+=.5*(mo-ws),Mo+=.5*(mo-ws)),us=wr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Jn,shift:Mo},{type:"elem",elem:Pr,shift:-Ya}]},Se)}Ht=Se.havingStyle(Oe),us.height*=Ht.sizeMultiplier/Se.sizeMultiplier,us.depth*=Ht.sizeMultiplier/Se.sizeMultiplier;var Ys;Oe.size===X.DISPLAY.size?Ys=Se.fontMetrics().delim1:Ys=Se.fontMetrics().delim2;var ro,Ws;return ce.leftDelim==null?ro=zi(Se,["mopen"]):ro=Di.customSizedDelim(ce.leftDelim,Ys,!0,Se.havingStyle(Oe),ce.mode,["mopen"]),ce.continued?Ws=wr.makeSpan([]):ce.rightDelim==null?Ws=zi(Se,["mclose"]):Ws=Di.customSizedDelim(ce.rightDelim,Ys,!0,Se.havingStyle(Oe),ce.mode,["mclose"]),wr.makeSpan(["mord"].concat(Ht.sizingClasses(Se)),[ro,wr.makeSpan(["mfrac"],[us]),Ws],Se)},Io=function(ce,Se){var Oe=new Gi.MathNode("mfrac",[tr(ce.numer,Se),tr(ce.denom,Se)]);if(!ce.hasBarLine)Oe.setAttribute("linethickness","0px");else if(ce.barSize){var Xe=Sr(ce.barSize,Se);Oe.setAttribute("linethickness",Xe+"em")}var wt=Oo(ce.size,Se.style);if(wt.size!==Se.style.size){Oe=new Gi.MathNode("mstyle",[Oe]);var Ht=wt.size===X.DISPLAY.size?"true":"false";Oe.setAttribute("displaystyle",Ht),Oe.setAttribute("scriptlevel","0")}if(ce.leftDelim!=null||ce.rightDelim!=null){var Pr=[];if(ce.leftDelim!=null){var Xr=new Gi.MathNode("mo",[new Gi.TextNode(ce.leftDelim.replace("\\",""))]);Xr.setAttribute("fence","true"),Pr.push(Xr)}if(Pr.push(Oe),ce.rightDelim!=null){var yn=new Gi.MathNode("mo",[new Gi.TextNode(ce.rightDelim.replace("\\",""))]);yn.setAttribute("fence","true"),Pr.push(yn)}return $i(Pr)}return Oe};Cn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[0],Ht=Se[1],Pr,Xr=null,yn=null,Jn="auto";switch(Xe){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Pr=!0;break;case"\\\\atopfrac":Pr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Pr=!1,Xr="(",yn=")";break;case"\\\\bracefrac":Pr=!1,Xr="\\{",yn="\\}";break;case"\\\\brackfrac":Pr=!1,Xr="[",yn="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Xe){case"\\cfrac":case"\\dfrac":case"\\dbinom":Jn="display";break;case"\\tfrac":case"\\tbinom":Jn="text";break}return{type:"genfrac",mode:Oe.mode,continued:Xe==="\\cfrac",numer:wt,denom:Ht,hasBarLine:Pr,leftDelim:Xr,rightDelim:yn,size:Jn,barSize:null}},htmlBuilder:ss,mathmlBuilder:Io}),Cn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(ce){var Se=ce.parser,Oe=ce.funcName,Xe=ce.token,wt;switch(Oe){case"\\over":wt="\\frac";break;case"\\choose":wt="\\binom";break;case"\\atop":wt="\\\\atopfrac";break;case"\\brace":wt="\\\\bracefrac";break;case"\\brack":wt="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Se.mode,replaceWith:wt,token:Xe}}});var lo=["display","text","script","scriptscript"],ks=function(ce){var Se=null;return ce.length>0&&(Se=ce,Se=Se==="."?null:Se),Se};Cn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(ce,Se){var Oe=ce.parser,Xe=Se[4],wt=Se[5],Ht=rn(Se[0],"atom");Ht&&(Ht=Br(Se[0],"open"));var Pr=Ht?ks(Ht.text):null,Xr=rn(Se[1],"atom");Xr&&(Xr=Br(Se[1],"close"));var yn=Xr?ks(Xr.text):null,Jn=pn(Se[2],"size"),Ei,Ji=null;Jn.isBlank?Ei=!0:(Ji=Jn.value,Ei=Ji.number>0);var wa="auto",Ya=rn(Se[3],"ordgroup");if(Ya){if(Ya.body.length>0){var mo=pn(Ya.body[0],"textord");wa=lo[Number(mo.text)]}}else Ya=pn(Se[3],"textord"),wa=lo[Number(Ya.text)];return{type:"genfrac",mode:Oe.mode,numer:Xe,denom:wt,continued:!1,hasBarLine:Ei,barSize:Ji,leftDelim:Pr,rightDelim:yn,size:wa}},htmlBuilder:ss,mathmlBuilder:Io}),Cn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=ce.token;return{type:"infix",mode:Oe.mode,replaceWith:"\\\\abovefrac",size:pn(Se[0],"size").value,token:wt}}}),Cn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[0],Ht=h(pn(Se[1],"infix").size),Pr=Se[2],Xr=Ht.number>0;return{type:"genfrac",mode:Oe.mode,numer:wt,denom:Pr,continued:!1,hasBarLine:Xr,barSize:Ht,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ss,mathmlBuilder:Io});var As=function(ce,Se){var Oe=Se.style,Xe,wt,Ht=rn(ce,"supsub");Ht?(Xe=Ht.sup?ea(Ht.sup,Se.havingStyle(Oe.sup()),Se):ea(Ht.sub,Se.havingStyle(Oe.sub()),Se),wt=pn(Ht.base,"horizBrace")):wt=pn(ce,"horizBrace");var Pr=ea(wt.base,Se.havingBaseStyle(X.DISPLAY)),Xr=ii.svgSpan(wt,Se),yn;if(wt.isOver?(yn=wr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"kern",size:.1},{type:"elem",elem:Xr}]},Se),yn.children[0].children[0].children[1].classes.push("svg-align")):(yn=wr.makeVList({positionType:"bottom",positionData:Pr.depth+.1+Xr.height,children:[{type:"elem",elem:Xr},{type:"kern",size:.1},{type:"elem",elem:Pr}]},Se),yn.children[0].children[0].children[0].classes.push("svg-align")),Xe){var Jn=wr.makeSpan(["mord",wt.isOver?"mover":"munder"],[yn],Se);wt.isOver?yn=wr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Jn},{type:"kern",size:.2},{type:"elem",elem:Xe}]},Se):yn=wr.makeVList({positionType:"bottom",positionData:Jn.depth+.2+Xe.height+Xe.depth,children:[{type:"elem",elem:Xe},{type:"kern",size:.2},{type:"elem",elem:Jn}]},Se)}return wr.makeSpan(["mord",wt.isOver?"mover":"munder"],[yn],Se)},ko=function(ce,Se){var Oe=ii.mathMLnode(ce.label);return new Gi.MathNode(ce.isOver?"mover":"munder",[tr(ce.base,Se),Oe])};Cn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName;return{type:"horizBrace",mode:Oe.mode,label:Xe,isOver:/^\\over/.test(Xe),base:Se[0]}},htmlBuilder:As,mathmlBuilder:ko}),Cn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=Se[1],wt=pn(Se[0],"url").url;return Oe.settings.isTrusted({command:"\\href",url:wt})?{type:"href",mode:Oe.mode,href:wt,body:Tn(Xe)}:Oe.formatUnsupportedCmd("\\href")},htmlBuilder:function(ce,Se){var Oe=Un(ce.body,Se,!1);return wr.makeAnchor(ce.href,[],Oe,Se)},mathmlBuilder:function(ce,Se){var Oe=ao(ce.body,Se);return Oe instanceof fo||(Oe=new fo("mrow",[Oe])),Oe.setAttribute("href",ce.href),Oe}}),Cn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=pn(Se[0],"url").url;if(!Oe.settings.isTrusted({command:"\\url",url:Xe}))return Oe.formatUnsupportedCmd("\\url");for(var wt=[],Ht=0;Ht<Xe.length;Ht++){var Pr=Xe[Ht];Pr==="~"&&(Pr="\\textasciitilde"),wt.push({type:"textord",mode:"text",text:Pr})}var Xr={type:"text",mode:Oe.mode,font:"\\texttt",body:wt};return{type:"href",mode:Oe.mode,href:Xe,body:Tn(Xr)}}}),Cn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser;return{type:"htmlmathml",mode:Oe.mode,html:Tn(Se[0]),mathml:Tn(Se[1])}},htmlBuilder:function(ce,Se){var Oe=Un(ce.html,Se,!1);return wr.makeFragment(Oe)},mathmlBuilder:function(ce,Se){return ao(ce.mathml,Se)}});var ys=function(ce){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(ce))return{number:+ce,unit:"bp"};var Se=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(ce);if(!Se)throw new l("Invalid size: '"+ce+"' in \\includegraphics");var Oe={number:+(Se[1]+Se[2]),unit:Se[3]};if(!Nr(Oe))throw new l("Invalid unit: '"+Oe.unit+"' in \\includegraphics.");return Oe};Cn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(ce,Se,Oe){var Xe=ce.parser,wt={number:0,unit:"em"},Ht={number:.9,unit:"em"},Pr={number:0,unit:"em"},Xr="";if(Oe[0])for(var yn=pn(Oe[0],"raw").string,Jn=yn.split(","),Ei=0;Ei<Jn.length;Ei++){var Ji=Jn[Ei].split("=");if(Ji.length===2){var wa=Ji[1].trim();switch(Ji[0].trim()){case"alt":Xr=wa;break;case"width":wt=ys(wa);break;case"height":Ht=ys(wa);break;case"totalheight":Pr=ys(wa);break;default:throw new l("Invalid key: '"+Ji[0]+"' in \\includegraphics.")}}}var Ya=pn(Se[0],"url").url;return Xr===""&&(Xr=Ya,Xr=Xr.replace(/^.*[\\/]/,""),Xr=Xr.substring(0,Xr.lastIndexOf("."))),Xe.settings.isTrusted({command:"\\includegraphics",url:Ya})?{type:"includegraphics",mode:Xe.mode,alt:Xr,width:wt,height:Ht,totalheight:Pr,src:Ya}:Xe.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(ce,Se){var Oe=Sr(ce.height,Se),Xe=0;ce.totalheight.number>0&&(Xe=Sr(ce.totalheight,Se)-Oe,Xe=Number(Xe.toFixed(2)));var wt=0;ce.width.number>0&&(wt=Sr(ce.width,Se));var Ht={height:Oe+Xe+"em"};wt>0&&(Ht.width=wt+"em"),Xe>0&&(Ht.verticalAlign=-Xe+"em");var Pr=new xe(ce.src,ce.alt,Ht);return Pr.height=Oe,Pr.depth=Xe,Pr},mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mglyph",[]);Oe.setAttribute("alt",ce.alt);var Xe=Sr(ce.height,Se),wt=0;if(ce.totalheight.number>0&&(wt=Sr(ce.totalheight,Se)-Xe,wt=wt.toFixed(2),Oe.setAttribute("valign","-"+wt+"em")),Oe.setAttribute("height",Xe+wt+"em"),ce.width.number>0){var Ht=Sr(ce.width,Se);Oe.setAttribute("width",Ht+"em")}return Oe.setAttribute("src",ce.src),Oe}}),Cn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=pn(Se[0],"size");if(Oe.settings.strict){var Ht=Xe[1]==="m",Pr=wt.value.unit==="mu";Ht?(Pr||Oe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Xe+" supports only mu units, "+("not "+wt.value.unit+" units")),Oe.mode!=="math"&&Oe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Xe+" works only in math mode")):Pr&&Oe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Xe+" doesn't support mu units")}return{type:"kern",mode:Oe.mode,dimension:wt.value}},htmlBuilder:function(ce,Se){return wr.makeGlue(ce.dimension,Se)},mathmlBuilder:function(ce,Se){var Oe=Sr(ce.dimension,Se);return new Gi.SpaceNode(Oe)}}),Cn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[0];return{type:"lap",mode:Oe.mode,alignment:Xe.slice(5),body:wt}},htmlBuilder:function(ce,Se){var Oe;ce.alignment==="clap"?(Oe=wr.makeSpan([],[ea(ce.body,Se)]),Oe=wr.makeSpan(["inner"],[Oe],Se)):Oe=wr.makeSpan(["inner"],[ea(ce.body,Se)]);var Xe=wr.makeSpan(["fix"],[]),wt=wr.makeSpan([ce.alignment],[Oe,Xe],Se),Ht=wr.makeSpan(["strut"]);return Ht.style.height=wt.height+wt.depth+"em",Ht.style.verticalAlign=-wt.depth+"em",wt.children.unshift(Ht),wt=wr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:wt}]},Se),wr.makeSpan(["mord"],[wt],Se)},mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mpadded",[tr(ce.body,Se)]);if(ce.alignment!=="rlap"){var Xe=ce.alignment==="llap"?"-1":"-0.5";Oe.setAttribute("lspace",Xe+"width")}return Oe.setAttribute("width","0px"),Oe}}),Cn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ce,Se){var Oe=ce.funcName,Xe=ce.parser,wt=Xe.mode;Xe.switchMode("math");var Ht=Oe==="\\("?"\\)":"$",Pr=Xe.parseExpression(!1,Ht);return Xe.expect(Ht),Xe.switchMode(wt),{type:"styling",mode:Xe.mode,style:"text",body:Pr}}}),Cn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ce,Se){throw new l("Mismatched "+ce.funcName)}});var es=function(ce,Se){switch(Se.style.size){case X.DISPLAY.size:return ce.display;case X.TEXT.size:return ce.text;case X.SCRIPT.size:return ce.script;case X.SCRIPTSCRIPT.size:return ce.scriptscript;default:return ce.text}};Cn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(ce,Se){var Oe=ce.parser;return{type:"mathchoice",mode:Oe.mode,display:Tn(Se[0]),text:Tn(Se[1]),script:Tn(Se[2]),scriptscript:Tn(Se[3])}},htmlBuilder:function(ce,Se){var Oe=es(ce,Se),Xe=Un(Oe,Se,!1);return wr.makeFragment(Xe)},mathmlBuilder:function(ce,Se){var Oe=es(ce,Se);return ao(Oe,Se)}});var ts=function(ce,Se,Oe,Xe,wt,Ht,Pr){ce=wr.makeSpan([],[ce]);var Xr,yn;if(Se){var Jn=ea(Se,Xe.havingStyle(wt.sup()),Xe);yn={elem:Jn,kern:Math.max(Xe.fontMetrics().bigOpSpacing1,Xe.fontMetrics().bigOpSpacing3-Jn.depth)}}if(Oe){var Ei=ea(Oe,Xe.havingStyle(wt.sub()),Xe);Xr={elem:Ei,kern:Math.max(Xe.fontMetrics().bigOpSpacing2,Xe.fontMetrics().bigOpSpacing4-Ei.height)}}var Ji;if(yn&&Xr){var wa=Xe.fontMetrics().bigOpSpacing5+Xr.elem.height+Xr.elem.depth+Xr.kern+ce.depth+Pr;Ji=wr.makeVList({positionType:"bottom",positionData:wa,children:[{type:"kern",size:Xe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Xr.elem,marginLeft:-Ht+"em"},{type:"kern",size:Xr.kern},{type:"elem",elem:ce},{type:"kern",size:yn.kern},{type:"elem",elem:yn.elem,marginLeft:Ht+"em"},{type:"kern",size:Xe.fontMetrics().bigOpSpacing5}]},Xe)}else if(Xr){var Ya=ce.height-Pr;Ji=wr.makeVList({positionType:"top",positionData:Ya,children:[{type:"kern",size:Xe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Xr.elem,marginLeft:-Ht+"em"},{type:"kern",size:Xr.kern},{type:"elem",elem:ce}]},Xe)}else if(yn){var mo=ce.depth+Pr;Ji=wr.makeVList({positionType:"bottom",positionData:mo,children:[{type:"elem",elem:ce},{type:"kern",size:yn.kern},{type:"elem",elem:yn.elem,marginLeft:Ht+"em"},{type:"kern",size:Xe.fontMetrics().bigOpSpacing5}]},Xe)}else return ce;return wr.makeSpan(["mop","op-limits"],[Ji],Xe)},_s=["\\smallint"],Ts=function(ce,Se){var Oe,Xe,wt=!1,Ht,Pr=rn(ce,"supsub");Pr?(Oe=Pr.sup,Xe=Pr.sub,Ht=pn(Pr.base,"op"),wt=!0):Ht=pn(ce,"op");var Xr=Se.style,yn=!1;Xr.size===X.DISPLAY.size&&Ht.symbol&&!A.contains(_s,Ht.name)&&(yn=!0);var Jn;if(Ht.symbol){var Ei=yn?"Size2-Regular":"Size1-Regular",Ji="";if((Ht.name==="\\oiint"||Ht.name==="\\oiiint")&&(Ji=Ht.name.substr(1),Ht.name=Ji==="oiint"?"\\iint":"\\iiint"),Jn=wr.makeSymbol(Ht.name,Ei,"math",Se,["mop","op-symbol",yn?"large-op":"small-op"]),Ji.length>0){var wa=Jn.italic,Ya=wr.staticSvg(Ji+"Size"+(yn?"2":"1"),Se);Jn=wr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Jn,shift:0},{type:"elem",elem:Ya,shift:yn?.08:0}]},Se),Ht.name="\\"+Ji,Jn.classes.unshift("mop"),Jn.italic=wa}}else if(Ht.body){var mo=Un(Ht.body,Se,!0);mo.length===1&&mo[0]instanceof Be?(Jn=mo[0],Jn.classes[0]="mop"):Jn=wr.makeSpan(["mop"],wr.tryCombineChars(mo),Se)}else{for(var Mo=[],us=1;us<Ht.name.length;us++)Mo.push(wr.mathsym(Ht.name[us],Ht.mode,Se));Jn=wr.makeSpan(["mop"],Mo,Se)}var ws=0,Os=0;return(Jn instanceof Be||Ht.name==="\\oiint"||Ht.name==="\\oiiint")&&!Ht.suppressBaseShift&&(ws=(Jn.height-Jn.depth)/2-Se.fontMetrics().axisHeight,Os=Jn.italic),wt?ts(Jn,Oe,Xe,Se,Xr,Os,ws):(ws&&(Jn.style.position="relative",Jn.style.top=ws+"em"),Jn)},$s=function(ce,Se){var Oe;if(ce.symbol)Oe=new fo("mo",[mn(ce.name,ce.mode)]),A.contains(_s,ce.name)&&Oe.setAttribute("largeop","false");else if(ce.body)Oe=new fo("mo",La(ce.body,Se));else{Oe=new fo("mi",[new ja(ce.name.slice(1))]);var Xe=new fo("mo",[mn("\u2061","text")]);ce.parentIsSupSub?Oe=new fo("mo",[Oe,Xe]):Oe=Va([Oe,Xe])}return Oe},Ms={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Cn({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(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Xe;return wt.length===1&&(wt=Ms[wt]),{type:"op",mode:Oe.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:wt}},htmlBuilder:Ts,mathmlBuilder:$s}),Cn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(ce,Se){var Oe=ce.parser,Xe=Se[0];return{type:"op",mode:Oe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Tn(Xe)}},htmlBuilder:Ts,mathmlBuilder:$s});var Fs={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Cn({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(ce){var Se=ce.parser,Oe=ce.funcName;return{type:"op",mode:Se.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Oe}},htmlBuilder:Ts,mathmlBuilder:$s}),Cn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(ce){var Se=ce.parser,Oe=ce.funcName;return{type:"op",mode:Se.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Oe}},htmlBuilder:Ts,mathmlBuilder:$s}),Cn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(ce){var Se=ce.parser,Oe=ce.funcName,Xe=Oe;return Xe.length===1&&(Xe=Fs[Xe]),{type:"op",mode:Se.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Xe}},htmlBuilder:Ts,mathmlBuilder:$s});var as=function(ce,Se){var Oe,Xe,wt=!1,Ht,Pr=rn(ce,"supsub");Pr?(Oe=Pr.sup,Xe=Pr.sub,Ht=pn(Pr.base,"operatorname"),wt=!0):Ht=pn(ce,"operatorname");var Xr;if(Ht.body.length>0){for(var yn=Ht.body.map(function(wa){var Ya=wa.text;return typeof Ya=="string"?{type:"textord",mode:wa.mode,text:Ya}:wa}),Jn=Un(yn,Se.withFont("mathrm"),!0),Ei=0;Ei<Jn.length;Ei++){var Ji=Jn[Ei];Ji instanceof Be&&(Ji.text=Ji.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Xr=wr.makeSpan(["mop"],Jn,Se)}else Xr=wr.makeSpan(["mop"],[],Se);return wt?ts(Xr,Oe,Xe,Se,Se.style,0,0):Xr},vs=function(ce,Se){for(var Oe=La(ce.body,Se.withFont("mathrm")),Xe=!0,wt=0;wt<Oe.length;wt++){var Ht=Oe[wt];if(!(Ht instanceof Gi.SpaceNode))if(Ht instanceof Gi.MathNode)switch(Ht.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Pr=Ht.children[0];Ht.children.length===1&&Pr instanceof Gi.TextNode?Pr.text=Pr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Xe=!1;break}default:Xe=!1}else Xe=!1}if(Xe){var Xr=Oe.map(function(Ei){return Ei.toText()}).join("");Oe=[new Gi.TextNode(Xr)]}var yn=new Gi.MathNode("mi",Oe);yn.setAttribute("mathvariant","normal");var Jn=new Gi.MathNode("mo",[mn("\u2061","text")]);return ce.parentIsSupSub?new Gi.MathNode("mo",[yn,Jn]):Gi.newDocumentFragment([yn,Jn])};Cn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[0];return{type:"operatorname",mode:Oe.mode,body:Tn(wt),alwaysHandleSupSub:Xe==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:as,mathmlBuilder:vs}),ki({type:"ordgroup",htmlBuilder:function(ce,Se){return ce.semisimple?wr.makeFragment(Un(ce.body,Se,!1)):wr.makeSpan(["mord"],Un(ce.body,Se,!0),Se)},mathmlBuilder:function(ce,Se){return ao(ce.body,Se,!0)}}),Cn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(ce,Se){var Oe=ce.parser,Xe=Se[0];return{type:"overline",mode:Oe.mode,body:Xe}},htmlBuilder:function(ce,Se){var Oe=ea(ce.body,Se.havingCrampedStyle()),Xe=wr.makeLineSpan("overline-line",Se),wt=Se.fontMetrics().defaultRuleThickness,Ht=wr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Oe},{type:"kern",size:3*wt},{type:"elem",elem:Xe},{type:"kern",size:wt}]},Se);return wr.makeSpan(["mord","overline"],[Ht],Se)},mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mo",[new Gi.TextNode("\u203E")]);Oe.setAttribute("stretchy","true");var Xe=new Gi.MathNode("mover",[tr(ce.body,Se),Oe]);return Xe.setAttribute("accent","true"),Xe}}),Cn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=Se[0];return{type:"phantom",mode:Oe.mode,body:Tn(Xe)}},htmlBuilder:function(ce,Se){var Oe=Un(ce.body,Se.withPhantom(),!1);return wr.makeFragment(Oe)},mathmlBuilder:function(ce,Se){var Oe=La(ce.body,Se);return new Gi.MathNode("mphantom",Oe)}}),Cn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=Se[0];return{type:"hphantom",mode:Oe.mode,body:Xe}},htmlBuilder:function(ce,Se){var Oe=wr.makeSpan([],[ea(ce.body,Se.withPhantom())]);if(Oe.height=0,Oe.depth=0,Oe.children)for(var Xe=0;Xe<Oe.children.length;Xe++)Oe.children[Xe].height=0,Oe.children[Xe].depth=0;return Oe=wr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Oe}]},Se),wr.makeSpan(["mord"],[Oe],Se)},mathmlBuilder:function(ce,Se){var Oe=La(Tn(ce.body),Se),Xe=new Gi.MathNode("mphantom",Oe),wt=new Gi.MathNode("mpadded",[Xe]);return wt.setAttribute("height","0px"),wt.setAttribute("depth","0px"),wt}}),Cn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=Se[0];return{type:"vphantom",mode:Oe.mode,body:Xe}},htmlBuilder:function(ce,Se){var Oe=wr.makeSpan(["inner"],[ea(ce.body,Se.withPhantom())]),Xe=wr.makeSpan(["fix"],[]);return wr.makeSpan(["mord","rlap"],[Oe,Xe],Se)},mathmlBuilder:function(ce,Se){var Oe=La(Tn(ce.body),Se),Xe=new Gi.MathNode("mphantom",Oe),wt=new Gi.MathNode("mpadded",[Xe]);return wt.setAttribute("width","0px"),wt}}),Cn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=pn(Se[0],"size").value,wt=Se[1];return{type:"raisebox",mode:Oe.mode,dy:Xe,body:wt}},htmlBuilder:function(ce,Se){var Oe=ea(ce.body,Se),Xe=Sr(ce.dy,Se);return wr.makeVList({positionType:"shift",positionData:-Xe,children:[{type:"elem",elem:Oe}]},Se)},mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mpadded",[tr(ce.body,Se)]),Xe=ce.dy.number+ce.dy.unit;return Oe.setAttribute("voffset",Xe),Oe}}),Cn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(ce,Se,Oe){var Xe=ce.parser,wt=Oe[0],Ht=pn(Se[0],"size"),Pr=pn(Se[1],"size");return{type:"rule",mode:Xe.mode,shift:wt&&pn(wt,"size").value,width:Ht.value,height:Pr.value}},htmlBuilder:function(ce,Se){var Oe=wr.makeSpan(["mord","rule"],[],Se),Xe=Sr(ce.width,Se),wt=Sr(ce.height,Se),Ht=ce.shift?Sr(ce.shift,Se):0;return Oe.style.borderRightWidth=Xe+"em",Oe.style.borderTopWidth=wt+"em",Oe.style.bottom=Ht+"em",Oe.width=Xe,Oe.height=wt+Ht,Oe.depth=-Ht,Oe.maxFontSize=wt*1.125*Se.sizeMultiplier,Oe},mathmlBuilder:function(ce,Se){var Oe=Sr(ce.width,Se),Xe=Sr(ce.height,Se),wt=ce.shift?Sr(ce.shift,Se):0,Ht=Se.color&&Se.getColor()||"black",Pr=new Gi.MathNode("mspace");Pr.setAttribute("mathbackground",Ht),Pr.setAttribute("width",Oe+"em"),Pr.setAttribute("height",Xe+"em");var Xr=new Gi.MathNode("mpadded",[Pr]);return wt>=0?Xr.setAttribute("height","+"+wt+"em"):(Xr.setAttribute("height",wt+"em"),Xr.setAttribute("depth","+"+-wt+"em")),Xr.setAttribute("voffset",wt+"em"),Xr}});function Ho(Et,ce,Se){for(var Oe=Un(Et,ce,!1),Xe=ce.sizeMultiplier/Se.sizeMultiplier,wt=0;wt<Oe.length;wt++){var Ht=Oe[wt].classes.indexOf("sizing");Ht<0?Array.prototype.push.apply(Oe[wt].classes,ce.sizingClasses(Se)):Oe[wt].classes[Ht+1]==="reset-size"+ce.size&&(Oe[wt].classes[Ht+1]="reset-size"+Se.size),Oe[wt].height*=Xe,Oe[wt].depth*=Xe}return wr.makeFragment(Oe)}var Ns=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Us=function(ce,Se){var Oe=Se.havingSize(ce.size);return Ho(ce.body,Oe,Se)};Cn({type:"sizing",names:Ns,props:{numArgs:0,allowedInText:!0},handler:function(ce,Se){var Oe=ce.breakOnTokenText,Xe=ce.funcName,wt=ce.parser,Ht=wt.parseExpression(!1,Oe);return{type:"sizing",mode:wt.mode,size:Ns.indexOf(Xe)+1,body:Ht}},htmlBuilder:Us,mathmlBuilder:function(ce,Se){var Oe=Se.havingSize(ce.size),Xe=La(ce.body,Oe),wt=new Gi.MathNode("mstyle",Xe);return wt.setAttribute("mathsize",Oe.sizeMultiplier+"em"),wt}}),Cn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(ce,Se,Oe){var Xe=ce.parser,wt=!1,Ht=!1,Pr=Oe[0]&&pn(Oe[0],"ordgroup");if(Pr)for(var Xr="",yn=0;yn<Pr.body.length;++yn){var Jn=Pr.body[yn];if(Xr=Jn.text,Xr==="t")wt=!0;else if(Xr==="b")Ht=!0;else{wt=!1,Ht=!1;break}}else wt=!0,Ht=!0;var Ei=Se[0];return{type:"smash",mode:Xe.mode,body:Ei,smashHeight:wt,smashDepth:Ht}},htmlBuilder:function(ce,Se){var Oe=wr.makeSpan([],[ea(ce.body,Se)]);if(!ce.smashHeight&&!ce.smashDepth)return Oe;if(ce.smashHeight&&(Oe.height=0,Oe.children))for(var Xe=0;Xe<Oe.children.length;Xe++)Oe.children[Xe].height=0;if(ce.smashDepth&&(Oe.depth=0,Oe.children))for(var wt=0;wt<Oe.children.length;wt++)Oe.children[wt].depth=0;var Ht=wr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Oe}]},Se);return wr.makeSpan(["mord"],[Ht],Se)},mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mpadded",[tr(ce.body,Se)]);return ce.smashHeight&&Oe.setAttribute("height","0px"),ce.smashDepth&&Oe.setAttribute("depth","0px"),Oe}}),Cn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(ce,Se,Oe){var Xe=ce.parser,wt=Oe[0],Ht=Se[0];return{type:"sqrt",mode:Xe.mode,body:Ht,index:wt}},htmlBuilder:function(ce,Se){var Oe=ea(ce.body,Se.havingCrampedStyle());Oe.height===0&&(Oe.height=Se.fontMetrics().xHeight),Oe=wr.wrapFragment(Oe,Se);var Xe=Se.fontMetrics(),wt=Xe.defaultRuleThickness,Ht=wt;Se.style.id<X.TEXT.id&&(Ht=Se.fontMetrics().xHeight);var Pr=wt+Ht/4,Xr=Oe.height+Oe.depth+Pr+wt,yn=Di.sqrtImage(Xr,Se),Jn=yn.span,Ei=yn.ruleWidth,Ji=yn.advanceWidth,wa=Jn.height-Ei;wa>Oe.height+Oe.depth+Pr&&(Pr=(Pr+wa-Oe.height-Oe.depth)/2);var Ya=Jn.height-Oe.height-Pr-Ei;Oe.style.paddingLeft=Ji+"em";var mo=wr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Oe,wrapperClasses:["svg-align"]},{type:"kern",size:-(Oe.height+Ya)},{type:"elem",elem:Jn},{type:"kern",size:Ei}]},Se);if(ce.index){var Mo=Se.havingStyle(X.SCRIPTSCRIPT),us=ea(ce.index,Mo,Se),ws=.6*(mo.height-mo.depth),Os=wr.makeVList({positionType:"shift",positionData:-ws,children:[{type:"elem",elem:us}]},Se),il=wr.makeSpan(["root"],[Os]);return wr.makeSpan(["mord","sqrt"],[il,mo],Se)}else return wr.makeSpan(["mord","sqrt"],[mo],Se)},mathmlBuilder:function(ce,Se){var Oe=ce.body,Xe=ce.index;return Xe?new Gi.MathNode("mroot",[tr(Oe,Se),tr(Xe,Se)]):new Gi.MathNode("msqrt",[tr(Oe,Se)])}});var ka={display:X.DISPLAY,text:X.TEXT,script:X.SCRIPT,scriptscript:X.SCRIPTSCRIPT};Cn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(ce,Se){var Oe=ce.breakOnTokenText,Xe=ce.funcName,wt=ce.parser,Ht=wt.parseExpression(!0,Oe),Pr=Xe.slice(1,Xe.length-5);return{type:"styling",mode:wt.mode,style:Pr,body:Ht}},htmlBuilder:function(ce,Se){var Oe=ka[ce.style],Xe=Se.havingStyle(Oe).withFont("");return Ho(ce.body,Xe,Se)},mathmlBuilder:function(ce,Se){var Oe=ka[ce.style],Xe=Se.havingStyle(Oe),wt=La(ce.body,Xe),Ht=new Gi.MathNode("mstyle",wt),Pr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Xr=Pr[ce.style];return Ht.setAttribute("scriptlevel",Xr[0]),Ht.setAttribute("displaystyle",Xr[1]),Ht}});var Go=function(ce,Se){var Oe=ce.base;if(Oe)if(Oe.type==="op"){var Xe=Oe.limits&&(Se.style.size===X.DISPLAY.size||Oe.alwaysHandleSupSub);return Xe?Ts:null}else if(Oe.type==="operatorname"){var wt=Oe.alwaysHandleSupSub&&(Se.style.size===X.DISPLAY.size||Oe.limits);return wt?as:null}else{if(Oe.type==="accent")return A.isCharacterBox(Oe.base)?fi:null;if(Oe.type==="horizBrace"){var Ht=!ce.sub;return Ht===Oe.isOver?As:null}else return null}else return null};ki({type:"supsub",htmlBuilder:function(ce,Se){var Oe=Go(ce,Se);if(Oe)return Oe(ce,Se);var Xe=ce.base,wt=ce.sup,Ht=ce.sub,Pr=ea(Xe,Se),Xr,yn,Jn=Se.fontMetrics(),Ei=0,Ji=0,wa=Xe&&A.isCharacterBox(Xe);if(wt){var Ya=Se.havingStyle(Se.style.sup());Xr=ea(wt,Ya,Se),wa||(Ei=Pr.height-Ya.fontMetrics().supDrop*Ya.sizeMultiplier/Se.sizeMultiplier)}if(Ht){var mo=Se.havingStyle(Se.style.sub());yn=ea(Ht,mo,Se),wa||(Ji=Pr.depth+mo.fontMetrics().subDrop*mo.sizeMultiplier/Se.sizeMultiplier)}var Mo;Se.style===X.DISPLAY?Mo=Jn.sup1:Se.style.cramped?Mo=Jn.sup3:Mo=Jn.sup2;var us=Se.sizeMultiplier,ws=.5/Jn.ptPerEm/us+"em",Os=null;if(yn){var il=ce.base&&ce.base.type==="op"&&ce.base.name&&(ce.base.name==="\\oiint"||ce.base.name==="\\oiiint");(Pr instanceof Be||il)&&(Os=-Pr.italic+"em")}var Ys;if(Xr&&yn){Ei=Math.max(Ei,Mo,Xr.depth+.25*Jn.xHeight),Ji=Math.max(Ji,Jn.sub2);var ro=Jn.defaultRuleThickness,Ws=4*ro;if(Ei-Xr.depth-(yn.height-Ji)<Ws){Ji=Ws-(Ei-Xr.depth)+yn.height;var bs=.8*Jn.xHeight-(Ei-Xr.depth);bs>0&&(Ei+=bs,Ji-=bs)}var Rl=[{type:"elem",elem:yn,shift:Ji,marginRight:ws,marginLeft:Os},{type:"elem",elem:Xr,shift:-Ei,marginRight:ws}];Ys=wr.makeVList({positionType:"individualShift",children:Rl},Se)}else if(yn){Ji=Math.max(Ji,Jn.sub1,yn.height-.8*Jn.xHeight);var sl=[{type:"elem",elem:yn,marginLeft:Os,marginRight:ws}];Ys=wr.makeVList({positionType:"shift",positionData:Ji,children:sl},Se)}else if(Xr)Ei=Math.max(Ei,Mo,Xr.depth+.25*Jn.xHeight),Ys=wr.makeVList({positionType:"shift",positionData:-Ei,children:[{type:"elem",elem:Xr,marginRight:ws}]},Se);else throw new Error("supsub must have either sup or sub.");var el=Ni(Pr,"right")||"mord";return wr.makeSpan([el],[Pr,wr.makeSpan(["msupsub"],[Ys])],Se)},mathmlBuilder:function(ce,Se){var Oe=!1,Xe,wt,Ht=rn(ce.base,"horizBrace");Ht&&(wt=!!ce.sup,wt===Ht.isOver&&(Oe=!0,Xe=Ht.isOver)),ce.base&&(ce.base.type==="op"||ce.base.type==="operatorname")&&(ce.base.parentIsSupSub=!0);var Pr=[tr(ce.base,Se)];ce.sub&&Pr.push(tr(ce.sub,Se)),ce.sup&&Pr.push(tr(ce.sup,Se));var Xr;if(Oe)Xr=Xe?"mover":"munder";else if(ce.sub)if(ce.sup){var Ei=ce.base;Ei&&Ei.type==="op"&&Ei.limits&&Se.style===X.DISPLAY||Ei&&Ei.type==="operatorname"&&Ei.alwaysHandleSupSub&&(Se.style===X.DISPLAY||Ei.limits)?Xr="munderover":Xr="msubsup"}else{var Jn=ce.base;Jn&&Jn.type==="op"&&Jn.limits&&(Se.style===X.DISPLAY||Jn.alwaysHandleSupSub)||Jn&&Jn.type==="operatorname"&&Jn.alwaysHandleSupSub&&(Jn.limits||Se.style===X.DISPLAY)?Xr="munder":Xr="msub"}else{var yn=ce.base;yn&&yn.type==="op"&&yn.limits&&(Se.style===X.DISPLAY||yn.alwaysHandleSupSub)||yn&&yn.type==="operatorname"&&yn.alwaysHandleSupSub&&(yn.limits||Se.style===X.DISPLAY)?Xr="mover":Xr="msup"}var Ji=new Gi.MathNode(Xr,Pr);return Ji}}),ki({type:"atom",htmlBuilder:function(ce,Se){return wr.mathsym(ce.text,ce.mode,Se,["m"+ce.family])},mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mo",[mn(ce.text,ce.mode)]);if(ce.family==="bin"){var Xe=io(ce,Se);Xe==="bold-italic"&&Oe.setAttribute("mathvariant",Xe)}else ce.family==="punct"?Oe.setAttribute("separator","true"):(ce.family==="open"||ce.family==="close")&&Oe.setAttribute("stretchy","false");return Oe}});var xl={mi:"italic",mn:"normal",mtext:"normal"};ki({type:"mathord",htmlBuilder:function(ce,Se){return wr.makeOrd(ce,Se,"mathord")},mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mi",[mn(ce.text,ce.mode,Se)]),Xe=io(ce,Se)||"italic";return Xe!==xl[Oe.type]&&Oe.setAttribute("mathvariant",Xe),Oe}}),ki({type:"textord",htmlBuilder:function(ce,Se){return wr.makeOrd(ce,Se,"textord")},mathmlBuilder:function(ce,Se){var Oe=mn(ce.text,ce.mode,Se),Xe=io(ce,Se)||"normal",wt;return ce.mode==="text"?wt=new Gi.MathNode("mtext",[Oe]):/[0-9]/.test(ce.text)?wt=new Gi.MathNode("mn",[Oe]):ce.text==="\\prime"?wt=new Gi.MathNode("mo",[Oe]):wt=new Gi.MathNode("mi",[Oe]),Xe!==xl[wt.type]&&wt.setAttribute("mathvariant",Xe),wt}});var ul={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},gl={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ki({type:"spacing",htmlBuilder:function(ce,Se){if(gl.hasOwnProperty(ce.text)){var Oe=gl[ce.text].className||"";if(ce.mode==="text"){var Xe=wr.makeOrd(ce,Se,"textord");return Xe.classes.push(Oe),Xe}else return wr.makeSpan(["mspace",Oe],[wr.mathsym(ce.text,ce.mode,Se)],Se)}else{if(ul.hasOwnProperty(ce.text))return wr.makeSpan(["mspace",ul[ce.text]],[],Se);throw new l('Unknown type of space "'+ce.text+'"')}},mathmlBuilder:function(ce,Se){var Oe;if(gl.hasOwnProperty(ce.text))Oe=new Gi.MathNode("mtext",[new Gi.TextNode("\xA0")]);else{if(ul.hasOwnProperty(ce.text))return new Gi.MathNode("mspace");throw new l('Unknown type of space "'+ce.text+'"')}return Oe}});var _l=function(){var ce=new Gi.MathNode("mtd",[]);return ce.setAttribute("width","50%"),ce};ki({type:"tag",mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mtable",[new Gi.MathNode("mtr",[_l(),new Gi.MathNode("mtd",[ao(ce.body,Se)]),_l(),new Gi.MathNode("mtd",[ao(ce.tag,Se)])])]);return Oe.setAttribute("width","100%"),Oe}});var Xs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Yo={"\\textbf":"textbf","\\textmd":"textmd"},al={"\\textit":"textit","\\textup":"textup"},Wl=function(ce,Se){var Oe=ce.font;return Oe?Xs[Oe]?Se.withTextFontFamily(Xs[Oe]):Yo[Oe]?Se.withTextFontWeight(Yo[Oe]):Se.withTextFontShape(al[Oe]):Se};Cn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser,Xe=ce.funcName,wt=Se[0];return{type:"text",mode:Oe.mode,body:Tn(wt),font:Xe}},htmlBuilder:function(ce,Se){var Oe=Wl(ce,Se),Xe=Un(ce.body,Oe,!0);return wr.makeSpan(["mord","text"],wr.tryCombineChars(Xe),Oe)},mathmlBuilder:function(ce,Se){var Oe=Wl(ce,Se);return ao(ce.body,Oe)}}),Cn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(ce,Se){var Oe=ce.parser;return{type:"underline",mode:Oe.mode,body:Se[0]}},htmlBuilder:function(ce,Se){var Oe=ea(ce.body,Se),Xe=wr.makeLineSpan("underline-line",Se),wt=Se.fontMetrics().defaultRuleThickness,Ht=wr.makeVList({positionType:"top",positionData:Oe.height,children:[{type:"kern",size:wt},{type:"elem",elem:Xe},{type:"kern",size:3*wt},{type:"elem",elem:Oe}]},Se);return wr.makeSpan(["mord","underline"],[Ht],Se)},mathmlBuilder:function(ce,Se){var Oe=new Gi.MathNode("mo",[new Gi.TextNode("\u203E")]);Oe.setAttribute("stretchy","true");var Xe=new Gi.MathNode("munder",[tr(ce.body,Se),Oe]);return Xe.setAttribute("accentunder","true"),Xe}}),Cn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(ce,Se,Oe){throw new l("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(ce,Se){for(var Oe=Ps(ce),Xe=[],wt=Se.havingStyle(Se.style.text()),Ht=0;Ht<Oe.length;Ht++){var Pr=Oe[Ht];Pr==="~"&&(Pr="\\textasciitilde"),Xe.push(wr.makeSymbol(Pr,"Typewriter-Regular",ce.mode,wt,["mord","texttt"]))}return wr.makeSpan(["mord","text"].concat(wt.sizingClasses(Se)),wr.tryCombineChars(Xe),wt)},mathmlBuilder:function(ce,Se){var Oe=new Gi.TextNode(Ps(ce)),Xe=new Gi.MathNode("mtext",[Oe]);return Xe.setAttribute("mathvariant","monospace"),Xe}});var Ps=function(ce){return ce.body.replace(/ /g,ce.star?"\u2423":"\xA0")},nl=Kn,$o=nl,Sl=`[ \r
|
|
|
]`,Pc="\\\\[a-zA-Z@]+",nc="\\\\[^\uD800-\uDFFF]",hc=""+Pc+Sl+"*",ic=new RegExp("^("+Pc+")"+Sl+"*$"),Jl="[\u0300-\u036F]",Yl=new RegExp(Jl+"+$"),Al="("+Sl+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Jl+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Jl+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+hc)+("|"+nc+")"),zs=function(){function Et(Se,Oe){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Se,this.settings=Oe,this.tokenRegex=new RegExp(Al,"g"),this.catcodes={"%":14}}var ce=Et.prototype;return ce.setCatcode=function(Oe,Xe){this.catcodes[Oe]=Xe},ce.lex=function(){var Oe=this.input,Xe=this.tokenRegex.lastIndex;if(Xe===Oe.length)return new f("EOF",new v(this,Xe,Xe));var wt=this.tokenRegex.exec(Oe);if(wt===null||wt.index!==Xe)throw new l("Unexpected character: '"+Oe[Xe]+"'",new f(Oe[Xe],new v(this,Xe,Xe+1)));var Ht=wt[2]||" ";if(this.catcodes[Ht]===14){var Pr=Oe.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Pr===-1?(this.tokenRegex.lastIndex=Oe.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=Pr+1,this.lex()}var Xr=Ht.match(ic);return Xr&&(Ht=Xr[1]),new f(Ht,new v(this,Xe,this.tokenRegex.lastIndex))},Et}(),Tl=function(){function Et(Se,Oe){Se===void 0&&(Se={}),Oe===void 0&&(Oe={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Oe,this.builtins=Se,this.undefStack=[]}var ce=Et.prototype;return ce.beginGroup=function(){this.undefStack.push({})},ce.endGroup=function(){if(this.undefStack.length===0)throw new l("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Oe=this.undefStack.pop();for(var Xe in Oe)Oe.hasOwnProperty(Xe)&&(Oe[Xe]===void 0?delete this.current[Xe]:this.current[Xe]=Oe[Xe])},ce.has=function(Oe){return this.current.hasOwnProperty(Oe)||this.builtins.hasOwnProperty(Oe)},ce.get=function(Oe){return this.current.hasOwnProperty(Oe)?this.current[Oe]:this.builtins[Oe]},ce.set=function(Oe,Xe,wt){if(wt===void 0&&(wt=!1),wt){for(var Ht=0;Ht<this.undefStack.length;Ht++)delete this.undefStack[Ht][Oe];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Oe]=Xe)}else{var Pr=this.undefStack[this.undefStack.length-1];Pr&&!Pr.hasOwnProperty(Oe)&&(Pr[Oe]=this.current[Oe])}this.current[Oe]=Xe},Et}(),vl={},Cl=vl;function dn(Et,ce){vl[Et]=ce}dn("\\@firstoftwo",function(Et){var ce=Et.consumeArgs(2);return{tokens:ce[0],numArgs:0}}),dn("\\@secondoftwo",function(Et){var ce=Et.consumeArgs(2);return{tokens:ce[1],numArgs:0}}),dn("\\@ifnextchar",function(Et){var ce=Et.consumeArgs(3),Se=Et.future();return ce[0].length===1&&ce[0][0].text===Se.text?{tokens:ce[1],numArgs:0}:{tokens:ce[2],numArgs:0}}),dn("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),dn("\\TextOrMath",function(Et){var ce=Et.consumeArgs(2);return Et.mode==="text"?{tokens:ce[0],numArgs:0}:{tokens:ce[1],numArgs:0}});var bl={"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};dn("\\char",function(Et){var ce=Et.popToken(),Se,Oe="";if(ce.text==="'")Se=8,ce=Et.popToken();else if(ce.text==='"')Se=16,ce=Et.popToken();else if(ce.text==="`")if(ce=Et.popToken(),ce.text[0]==="\\")Oe=ce.text.charCodeAt(1);else{if(ce.text==="EOF")throw new l("\\char` missing argument");Oe=ce.text.charCodeAt(0)}else Se=10;if(Se){if(Oe=bl[ce.text],Oe==null||Oe>=Se)throw new l("Invalid base-"+Se+" digit "+ce.text);for(var Xe;(Xe=bl[Et.future().text])!=null&&Xe<Se;)Oe*=Se,Oe+=Xe,Et.popToken()}return"\\@char{"+Oe+"}"});var Lc=function(ce,Se){var Oe=ce.consumeArgs(1)[0];if(Oe.length!==1)throw new l("\\gdef's first argument must be a macro name");var Xe=Oe[0].text,wt=0;for(Oe=ce.consumeArgs(1)[0];Oe.length===1&&Oe[0].text==="#";){if(Oe=ce.consumeArgs(1)[0],Oe.length!==1)throw new l('Invalid argument number length "'+Oe.length+'"');if(!/^[1-9]$/.test(Oe[0].text))throw new l('Invalid argument number "'+Oe[0].text+'"');if(wt++,parseInt(Oe[0].text)!==wt)throw new l('Argument number "'+Oe[0].text+'" out of order');Oe=ce.consumeArgs(1)[0]}return ce.macros.set(Xe,{tokens:Oe,numArgs:wt},Se),""};dn("\\gdef",function(Et){return Lc(Et,!0)}),dn("\\def",function(Et){return Lc(Et,!1)}),dn("\\global",function(Et){var ce=Et.consumeArgs(1)[0];if(ce.length!==1)throw new l("Invalid command after \\global");var Se=ce[0].text;if(Se==="\\def")return Lc(Et,!0);throw new l("Invalid command '"+Se+"' after \\global")});var bc=function(ce,Se,Oe){var Xe=ce.consumeArgs(1)[0];if(Xe.length!==1)throw new l("\\newcommand's first argument must be a macro name");var wt=Xe[0].text,Ht=ce.isDefined(wt);if(Ht&&!Se)throw new l("\\newcommand{"+wt+"} attempting to redefine "+(wt+"; use \\renewcommand"));if(!Ht&&!Oe)throw new l("\\renewcommand{"+wt+"} when command "+wt+" does not yet exist; use \\newcommand");var Pr=0;if(Xe=ce.consumeArgs(1)[0],Xe.length===1&&Xe[0].text==="["){for(var Xr="",yn=ce.expandNextToken();yn.text!=="]"&&yn.text!=="EOF";)Xr+=yn.text,yn=ce.expandNextToken();if(!Xr.match(/^\s*[0-9]+\s*$/))throw new l("Invalid number of arguments: "+Xr);Pr=parseInt(Xr),Xe=ce.consumeArgs(1)[0]}return ce.macros.set(wt,{tokens:Xe,numArgs:Pr}),""};dn("\\newcommand",function(Et){return bc(Et,!1,!0)}),dn("\\renewcommand",function(Et){return bc(Et,!0,!1)}),dn("\\providecommand",function(Et){return bc(Et,!0,!0)}),dn("\\bgroup","{"),dn("\\egroup","}"),dn("\\lq","`"),dn("\\rq","'"),dn("\\aa","\\r a"),dn("\\AA","\\r A"),dn("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),dn("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),dn("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),dn("\u212C","\\mathscr{B}"),dn("\u2130","\\mathscr{E}"),dn("\u2131","\\mathscr{F}"),dn("\u210B","\\mathscr{H}"),dn("\u2110","\\mathscr{I}"),dn("\u2112","\\mathscr{L}"),dn("\u2133","\\mathscr{M}"),dn("\u211B","\\mathscr{R}"),dn("\u212D","\\mathfrak{C}"),dn("\u210C","\\mathfrak{H}"),dn("\u2128","\\mathfrak{Z}"),dn("\\Bbbk","\\Bbb{k}"),dn("\xB7","\\cdotp"),dn("\\llap","\\mathllap{\\textrm{#1}}"),dn("\\rlap","\\mathrlap{\\textrm{#1}}"),dn("\\clap","\\mathclap{\\textrm{#1}}"),dn("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),dn("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),dn("\\ne","\\neq"),dn("\u2260","\\neq"),dn("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),dn("\u2209","\\notin"),dn("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),dn("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),dn("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),dn("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),dn("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),dn("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),dn("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),dn("\u27C2","\\perp"),dn("\u203C","\\mathclose{!\\mkern-0.8mu!}"),dn("\u220C","\\notni"),dn("\u231C","\\ulcorner"),dn("\u231D","\\urcorner"),dn("\u231E","\\llcorner"),dn("\u231F","\\lrcorner"),dn("\xA9","\\copyright"),dn("\xAE","\\textregistered"),dn("\uFE0F","\\textregistered"),dn("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),dn("\u22EE","\\vdots"),dn("\\varGamma","\\mathit{\\Gamma}"),dn("\\varDelta","\\mathit{\\Delta}"),dn("\\varTheta","\\mathit{\\Theta}"),dn("\\varLambda","\\mathit{\\Lambda}"),dn("\\varXi","\\mathit{\\Xi}"),dn("\\varPi","\\mathit{\\Pi}"),dn("\\varSigma","\\mathit{\\Sigma}"),dn("\\varUpsilon","\\mathit{\\Upsilon}"),dn("\\varPhi","\\mathit{\\Phi}"),dn("\\varPsi","\\mathit{\\Psi}"),dn("\\varOmega","\\mathit{\\Omega}"),dn("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),dn("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),dn("\\boxed","\\fbox{$\\displaystyle{#1}$}"),dn("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),dn("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),dn("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var pc={",":"\\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"};dn("\\dots",function(Et){var ce="\\dotso",Se=Et.expandAfterFuture().text;return Se in pc?ce=pc[Se]:Se.substr(0,4)==="\\not"?ce="\\dotsb":Se in at.math&&(A.contains(["bin","rel"],at.math[Se].group)&&(ce="\\dotsb")),ce});var fs={")":!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};dn("\\dotso",function(Et){var ce=Et.future().text;return ce in fs?"\\ldots\\,":"\\ldots"}),dn("\\dotsc",function(Et){var ce=Et.future().text;return ce in fs&&ce!==","?"\\ldots\\,":"\\ldots"}),dn("\\cdots",function(Et){var ce=Et.future().text;return ce in fs?"\\@cdots\\,":"\\@cdots"}),dn("\\dotsb","\\cdots"),dn("\\dotsm","\\cdots"),dn("\\dotsi","\\!\\cdots"),dn("\\dotsx","\\ldots\\,"),dn("\\DOTSI","\\relax"),dn("\\DOTSB","\\relax"),dn("\\DOTSX","\\relax"),dn("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),dn("\\,","\\tmspace+{3mu}{.1667em}"),dn("\\thinspace","\\,"),dn("\\>","\\mskip{4mu}"),dn("\\:","\\tmspace+{4mu}{.2222em}"),dn("\\medspace","\\:"),dn("\\;","\\tmspace+{5mu}{.2777em}"),dn("\\thickspace","\\;"),dn("\\!","\\tmspace-{3mu}{.1667em}"),dn("\\negthinspace","\\!"),dn("\\negmedspace","\\tmspace-{4mu}{.2222em}"),dn("\\negthickspace","\\tmspace-{5mu}{.277em}"),dn("\\enspace","\\kern.5em "),dn("\\enskip","\\hskip.5em\\relax"),dn("\\quad","\\hskip1em\\relax"),dn("\\qquad","\\hskip2em\\relax"),dn("\\tag","\\@ifstar\\tag@literal\\tag@paren"),dn("\\tag@paren","\\tag@literal{({#1})}"),dn("\\tag@literal",function(Et){if(Et.macros.get("\\df@tag"))throw new l("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),dn("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),dn("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),dn("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),dn("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),dn("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),dn("\\\\","\\newline"),dn("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ks=gt["Main-Regular"]["T".charCodeAt(0)][1]-.7*gt["Main-Regular"]["A".charCodeAt(0)][1]+"em";dn("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ks+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),dn("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ks+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),dn("\\hspace","\\@ifstar\\@hspacer\\@hspace"),dn("\\@hspace","\\hskip #1\\relax"),dn("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),dn("\\ordinarycolon",":"),dn("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),dn("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),dn("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),dn("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),dn("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),dn("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),dn("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),dn("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),dn("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),dn("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),dn("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),dn("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),dn("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),dn("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),dn("\u2237","\\dblcolon"),dn("\u2239","\\eqcolon"),dn("\u2254","\\coloneqq"),dn("\u2255","\\eqqcolon"),dn("\u2A74","\\Coloneqq"),dn("\\ratio","\\vcentcolon"),dn("\\coloncolon","\\dblcolon"),dn("\\colonequals","\\coloneqq"),dn("\\coloncolonequals","\\Coloneqq"),dn("\\equalscolon","\\eqqcolon"),dn("\\equalscoloncolon","\\Eqqcolon"),dn("\\colonminus","\\coloneq"),dn("\\coloncolonminus","\\Coloneq"),dn("\\minuscolon","\\eqcolon"),dn("\\minuscoloncolon","\\Eqcolon"),dn("\\coloncolonapprox","\\Colonapprox"),dn("\\coloncolonsim","\\Colonsim"),dn("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),dn("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),dn("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),dn("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),dn("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),dn("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),dn("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),dn("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),dn("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),dn("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),dn("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),dn("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),dn("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),dn("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),dn("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),dn("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),dn("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),dn("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),dn("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),dn("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),dn("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),dn("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),dn("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),dn("\u27E6","\\llbracket"),dn("\u27E7","\\rrbracket"),dn("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),dn("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),dn("\u2983","\\lBrace"),dn("\u2984","\\rBrace"),dn("\\darr","\\downarrow"),dn("\\dArr","\\Downarrow"),dn("\\Darr","\\Downarrow"),dn("\\lang","\\langle"),dn("\\rang","\\rangle"),dn("\\uarr","\\uparrow"),dn("\\uArr","\\Uparrow"),dn("\\Uarr","\\Uparrow"),dn("\\N","\\mathbb{N}"),dn("\\R","\\mathbb{R}"),dn("\\Z","\\mathbb{Z}"),dn("\\alef","\\aleph"),dn("\\alefsym","\\aleph"),dn("\\Alpha","\\mathrm{A}"),dn("\\Beta","\\mathrm{B}"),dn("\\bull","\\bullet"),dn("\\Chi","\\mathrm{X}"),dn("\\clubs","\\clubsuit"),dn("\\cnums","\\mathbb{C}"),dn("\\Complex","\\mathbb{C}"),dn("\\Dagger","\\ddagger"),dn("\\diamonds","\\diamondsuit"),dn("\\empty","\\emptyset"),dn("\\Epsilon","\\mathrm{E}"),dn("\\Eta","\\mathrm{H}"),dn("\\exist","\\exists"),dn("\\harr","\\leftrightarrow"),dn("\\hArr","\\Leftrightarrow"),dn("\\Harr","\\Leftrightarrow"),dn("\\hearts","\\heartsuit"),dn("\\image","\\Im"),dn("\\infin","\\infty"),dn("\\Iota","\\mathrm{I}"),dn("\\isin","\\in"),dn("\\Kappa","\\mathrm{K}"),dn("\\larr","\\leftarrow"),dn("\\lArr","\\Leftarrow"),dn("\\Larr","\\Leftarrow"),dn("\\lrarr","\\leftrightarrow"),dn("\\lrArr","\\Leftrightarrow"),dn("\\Lrarr","\\Leftrightarrow"),dn("\\Mu","\\mathrm{M}"),dn("\\natnums","\\mathbb{N}"),dn("\\Nu","\\mathrm{N}"),dn("\\Omicron","\\mathrm{O}"),dn("\\plusmn","\\pm"),dn("\\rarr","\\rightarrow"),dn("\\rArr","\\Rightarrow"),dn("\\Rarr","\\Rightarrow"),dn("\\real","\\Re"),dn("\\reals","\\mathbb{R}"),dn("\\Reals","\\mathbb{R}"),dn("\\Rho","\\mathrm{P}"),dn("\\sdot","\\cdot"),dn("\\sect","\\S"),dn("\\spades","\\spadesuit"),dn("\\sub","\\subset"),dn("\\sube","\\subseteq"),dn("\\supe","\\supseteq"),dn("\\Tau","\\mathrm{T}"),dn("\\thetasym","\\vartheta"),dn("\\weierp","\\wp"),dn("\\Zeta","\\mathrm{Z}"),dn("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),dn("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),dn("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),dn("\\blue","\\textcolor{##6495ed}{#1}"),dn("\\orange","\\textcolor{##ffa500}{#1}"),dn("\\pink","\\textcolor{##ff00af}{#1}"),dn("\\red","\\textcolor{##df0030}{#1}"),dn("\\green","\\textcolor{##28ae7b}{#1}"),dn("\\gray","\\textcolor{gray}{#1}"),dn("\\purple","\\textcolor{##9d38bd}{#1}"),dn("\\blueA","\\textcolor{##ccfaff}{#1}"),dn("\\blueB","\\textcolor{##80f6ff}{#1}"),dn("\\blueC","\\textcolor{##63d9ea}{#1}"),dn("\\blueD","\\textcolor{##11accd}{#1}"),dn("\\blueE","\\textcolor{##0c7f99}{#1}"),dn("\\tealA","\\textcolor{##94fff5}{#1}"),dn("\\tealB","\\textcolor{##26edd5}{#1}"),dn("\\tealC","\\textcolor{##01d1c1}{#1}"),dn("\\tealD","\\textcolor{##01a995}{#1}"),dn("\\tealE","\\textcolor{##208170}{#1}"),dn("\\greenA","\\textcolor{##b6ffb0}{#1}"),dn("\\greenB","\\textcolor{##8af281}{#1}"),dn("\\greenC","\\textcolor{##74cf70}{#1}"),dn("\\greenD","\\textcolor{##1fab54}{#1}"),dn("\\greenE","\\textcolor{##0d923f}{#1}"),dn("\\goldA","\\textcolor{##ffd0a9}{#1}"),dn("\\goldB","\\textcolor{##ffbb71}{#1}"),dn("\\goldC","\\textcolor{##ff9c39}{#1}"),dn("\\goldD","\\textcolor{##e07d10}{#1}"),dn("\\goldE","\\textcolor{##a75a05}{#1}"),dn("\\redA","\\textcolor{##fca9a9}{#1}"),dn("\\redB","\\textcolor{##ff8482}{#1}"),dn("\\redC","\\textcolor{##f9685d}{#1}"),dn("\\redD","\\textcolor{##e84d39}{#1}"),dn("\\redE","\\textcolor{##bc2612}{#1}"),dn("\\maroonA","\\textcolor{##ffbde0}{#1}"),dn("\\maroonB","\\textcolor{##ff92c6}{#1}"),dn("\\maroonC","\\textcolor{##ed5fa6}{#1}"),dn("\\maroonD","\\textcolor{##ca337c}{#1}"),dn("\\maroonE","\\textcolor{##9e034e}{#1}"),dn("\\purpleA","\\textcolor{##ddd7ff}{#1}"),dn("\\purpleB","\\textcolor{##c6b9fc}{#1}"),dn("\\purpleC","\\textcolor{##aa87ff}{#1}"),dn("\\purpleD","\\textcolor{##7854ab}{#1}"),dn("\\purpleE","\\textcolor{##543b78}{#1}"),dn("\\mintA","\\textcolor{##f5f9e8}{#1}"),dn("\\mintB","\\textcolor{##edf2df}{#1}"),dn("\\mintC","\\textcolor{##e0e5cc}{#1}"),dn("\\grayA","\\textcolor{##f6f7f7}{#1}"),dn("\\grayB","\\textcolor{##f0f1f2}{#1}"),dn("\\grayC","\\textcolor{##e3e5e6}{#1}"),dn("\\grayD","\\textcolor{##d6d8da}{#1}"),dn("\\grayE","\\textcolor{##babec2}{#1}"),dn("\\grayF","\\textcolor{##888d93}{#1}"),dn("\\grayG","\\textcolor{##626569}{#1}"),dn("\\grayH","\\textcolor{##3b3e40}{#1}"),dn("\\grayI","\\textcolor{##21242c}{#1}"),dn("\\kaBlue","\\textcolor{##314453}{#1}"),dn("\\kaGreen","\\textcolor{##71B307}{#1}");var Ol={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Hs=function(){function Et(Se,Oe,Xe){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=Oe,this.expansionCount=0,this.feed(Se),this.macros=new Tl(Cl,Oe.macros),this.mode=Xe,this.stack=[]}var ce=Et.prototype;return ce.feed=function(Oe){this.lexer=new zs(Oe,this.settings)},ce.switchMode=function(Oe){this.mode=Oe},ce.beginGroup=function(){this.macros.beginGroup()},ce.endGroup=function(){this.macros.endGroup()},ce.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},ce.popToken=function(){return this.future(),this.stack.pop()},ce.pushToken=function(Oe){this.stack.push(Oe)},ce.pushTokens=function(Oe){var Xe;(Xe=this.stack).push.apply(Xe,Oe)},ce.consumeSpaces=function(){for(;;){var Oe=this.future();if(Oe.text===" ")this.stack.pop();else break}},ce.consumeArgs=function(Oe){for(var Xe=[],wt=0;wt<Oe;++wt){this.consumeSpaces();var Ht=this.popToken();if(Ht.text==="{"){for(var Pr=[],Xr=1;Xr!==0;){var yn=this.popToken();if(Pr.push(yn),yn.text==="{")++Xr;else if(yn.text==="}")--Xr;else if(yn.text==="EOF")throw new l("End of input in macro argument",Ht)}Pr.pop(),Pr.reverse(),Xe[wt]=Pr}else{if(Ht.text==="EOF")throw new l("End of input expecting macro argument");Xe[wt]=[Ht]}}return Xe},ce.expandOnce=function(){var Oe=this.popToken(),Xe=Oe.text,wt=this._getExpansion(Xe);if(wt==null)return this.pushToken(Oe),Oe;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new l("Too many expansions: infinite loop or need to increase maxExpand setting");var Ht=wt.tokens;if(wt.numArgs){var Pr=this.consumeArgs(wt.numArgs);Ht=Ht.slice();for(var Xr=Ht.length-1;Xr>=0;--Xr){var yn=Ht[Xr];if(yn.text==="#"){if(Xr===0)throw new l("Incomplete placeholder at end of macro body",yn);if(yn=Ht[--Xr],yn.text==="#")Ht.splice(Xr+1,1);else if(/^[1-9]$/.test(yn.text)){var Jn;(Jn=Ht).splice.apply(Jn,[Xr,2].concat(Pr[+yn.text-1]))}else throw new l("Not a valid argument number",yn)}}}return this.pushTokens(Ht),Ht},ce.expandAfterFuture=function(){return this.expandOnce(),this.future()},ce.expandNextToken=function(){for(;;){var Oe=this.expandOnce();if(Oe instanceof f)if(Oe.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},ce.expandMacro=function(Oe){if(!this.macros.get(Oe))return;var Xe=[],wt=this.stack.length;for(this.pushToken(new f(Oe));this.stack.length>wt;){var Ht=this.expandOnce();Ht instanceof f&&Xe.push(this.stack.pop())}return Xe},ce.expandMacroAsText=function(Oe){var Xe=this.expandMacro(Oe);return Xe&&Xe.map(function(wt){return wt.text}).join("")},ce._getExpansion=function(Oe){var Xe=this.macros.get(Oe);if(Xe==null)return Xe;var wt=typeof Xe=="function"?Xe(this):Xe;if(typeof wt=="string"){var Ht=0;if(wt.indexOf("#")!==-1)for(var Pr=wt.replace(/##/g,"");Pr.indexOf("#"+(Ht+1))!==-1;)++Ht;for(var Xr=new zs(wt,this.settings),yn=[],Jn=Xr.lex();Jn.text!=="EOF";)yn.push(Jn),Jn=Xr.lex();yn.reverse();var Ei={tokens:yn,numArgs:Ht};return Ei}return wt},ce.isDefined=function(Oe){return this.macros.has(Oe)||$o.hasOwnProperty(Oe)||at.math.hasOwnProperty(Oe)||at.text.hasOwnProperty(Oe)||Ol.hasOwnProperty(Oe)},Et}(),ol={"\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"}},Gs={\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"},Il=function(){function Et(Se,Oe){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 Hs(Se,Oe,this.mode),this.settings=Oe,this.leftrightDepth=0}var ce=Et.prototype;return ce.expect=function(Oe,Xe){if(Xe===void 0&&(Xe=!0),this.fetch().text!==Oe)throw new l("Expected '"+Oe+"', got '"+this.fetch().text+"'",this.fetch());Xe&&this.consume()},ce.consume=function(){this.nextToken=null},ce.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},ce.switchMode=function(Oe){this.mode=Oe,this.gullet.switchMode(Oe)},ce.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Oe=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Oe},ce.parseExpression=function(Oe,Xe){for(var wt=[];;){this.mode==="math"&&this.consumeSpaces();var Ht=this.fetch();if(Et.endOfExpression.indexOf(Ht.text)!==-1)break;if(Xe&&Ht.text===Xe)break;if(Oe&&$o[Ht.text]&&$o[Ht.text].infix)break;var Pr=this.parseAtom(Xe);if(!Pr)break;wt.push(Pr)}return this.mode==="text"&&this.formLigatures(wt),this.handleInfixNodes(wt)},ce.handleInfixNodes=function(Oe){for(var Xe=-1,wt,Ht=0;Ht<Oe.length;Ht++){var Pr=rn(Oe[Ht],"infix");if(Pr){if(Xe!==-1)throw new l("only one infix operator per group",Pr.token);Xe=Ht,wt=Pr.replaceWith}}if(Xe!==-1&&wt){var Xr,yn,Jn=Oe.slice(0,Xe),Ei=Oe.slice(Xe+1);Jn.length===1&&Jn[0].type==="ordgroup"?Xr=Jn[0]:Xr={type:"ordgroup",mode:this.mode,body:Jn},Ei.length===1&&Ei[0].type==="ordgroup"?yn=Ei[0]:yn={type:"ordgroup",mode:this.mode,body:Ei};var Ji;return wt==="\\\\abovefrac"?Ji=this.callFunction(wt,[Xr,Oe[Xe],yn],[]):Ji=this.callFunction(wt,[Xr,yn],[]),[Ji]}else return Oe},ce.handleSupSubscript=function(Oe){var Xe=this.fetch(),wt=Xe.text;this.consume();var Ht=this.parseGroup(Oe,!1,Et.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ht)throw new l("Expected group after '"+wt+"'",Xe);return Ht},ce.formatUnsupportedCmd=function(Oe){for(var Xe=[],wt=0;wt<Oe.length;wt++)Xe.push({type:"textord",mode:"text",text:Oe[wt]});var Ht={type:"text",mode:this.mode,body:Xe},Pr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ht]};return Pr},ce.parseAtom=function(Oe){var Xe=this.parseGroup("atom",!1,null,Oe);if(this.mode==="text")return Xe;for(var wt,Ht;;){this.consumeSpaces();var Pr=this.fetch();if(Pr.text==="\\limits"||Pr.text==="\\nolimits"){var Xr=rn(Xe,"op");if(Xr){var yn=Pr.text==="\\limits";Xr.limits=yn,Xr.alwaysHandleSupSub=!0}else if(Xr=rn(Xe,"operatorname"),Xr&&Xr.alwaysHandleSupSub){var Jn=Pr.text==="\\limits";Xr.limits=Jn}else throw new l("Limit controls must follow a math operator",Pr);this.consume()}else if(Pr.text==="^"){if(wt)throw new l("Double superscript",Pr);wt=this.handleSupSubscript("superscript")}else if(Pr.text==="_"){if(Ht)throw new l("Double subscript",Pr);Ht=this.handleSupSubscript("subscript")}else if(Pr.text==="'"){if(wt)throw new l("Double superscript",Pr);var Ei={type:"textord",mode:this.mode,text:"\\prime"},Ji=[Ei];for(this.consume();this.fetch().text==="'";)Ji.push(Ei),this.consume();this.fetch().text==="^"&&Ji.push(this.handleSupSubscript("superscript")),wt={type:"ordgroup",mode:this.mode,body:Ji}}else break}return wt||Ht?{type:"supsub",mode:this.mode,base:Xe,sup:wt,sub:Ht}:Xe},ce.parseFunction=function(Oe,Xe,wt){var Ht=this.fetch(),Pr=Ht.text,Xr=$o[Pr];if(!Xr)return null;if(this.consume(),wt!=null&&Xr.greediness<=wt)throw new l("Got function '"+Pr+"' with no arguments"+(Xe?" as "+Xe:""),Ht);if(this.mode==="text"&&!Xr.allowedInText)throw new l("Can't use function '"+Pr+"' in text mode",Ht);if(this.mode==="math"&&Xr.allowedInMath===!1)throw new l("Can't use function '"+Pr+"' in math mode",Ht);var yn=this.parseArguments(Pr,Xr),Jn=yn.args,Ei=yn.optArgs;return this.callFunction(Pr,Jn,Ei,Ht,Oe)},ce.callFunction=function(Oe,Xe,wt,Ht,Pr){var Xr={funcName:Oe,parser:this,token:Ht,breakOnTokenText:Pr},yn=$o[Oe];if(yn&&yn.handler)return yn.handler(Xr,Xe,wt);throw new l("No function handler for "+Oe)},ce.parseArguments=function(Oe,Xe){var wt=Xe.numArgs+Xe.numOptionalArgs;if(wt===0)return{args:[],optArgs:[]};for(var Ht=Xe.greediness,Pr=[],Xr=[],yn=0;yn<wt;yn++){var Jn=Xe.argTypes&&Xe.argTypes[yn],Ei=yn<Xe.numOptionalArgs,Ji=yn>0&&!Ei||yn===0&&!Ei&&this.mode==="math",wa=this.parseGroupOfType("argument to '"+Oe+"'",Jn,Ei,Ht,Ji);if(!wa){if(Ei){Xr.push(null);continue}throw new l("Expected group after '"+Oe+"'",this.fetch())}(Ei?Xr:Pr).push(wa)}return{args:Pr,optArgs:Xr}},ce.parseGroupOfType=function(Oe,Xe,wt,Ht,Pr){switch(Xe){case"color":return Pr&&this.consumeSpaces(),this.parseColorGroup(wt);case"size":return Pr&&this.consumeSpaces(),this.parseSizeGroup(wt);case"url":return this.parseUrlGroup(wt,Pr);case"math":case"text":return this.parseGroup(Oe,wt,Ht,void 0,Xe,Pr);case"hbox":{var Xr=this.parseGroup(Oe,wt,Ht,void 0,"text",Pr);if(!Xr)return Xr;var yn={type:"styling",mode:Xr.mode,body:[Xr],style:"text"};return yn}case"raw":{if(Pr&&this.consumeSpaces(),wt&&this.fetch().text==="{")return null;var Jn=this.parseStringGroup("raw",wt,!0);if(Jn)return{type:"raw",mode:"text",string:Jn.text};throw new l("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Oe,wt,Ht,void 0,void 0,Pr);default:throw new l("Unknown group type as "+Oe,this.fetch())}},ce.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},ce.parseStringGroup=function(Oe,Xe,wt){var Ht=Xe?"[":"{",Pr=Xe?"]":"}",Xr=this.fetch();if(Xr.text!==Ht){if(Xe)return null;if(wt&&Xr.text!=="EOF"&&/[^{}[\]]/.test(Xr.text))return this.consume(),Xr}var yn=this.mode;this.mode="text",this.expect(Ht);for(var Jn="",Ei=this.fetch(),Ji=0,wa=Ei,Ya;(Ya=this.fetch()).text!==Pr||wt&&Ji>0;){switch(Ya.text){case"EOF":throw new l("Unexpected end of input in "+Oe,Ei.range(wa,Jn));case Ht:Ji++;break;case Pr:Ji--;break}wa=Ya,Jn+=wa.text,this.consume()}return this.expect(Pr),this.mode=yn,Ei.range(wa,Jn)},ce.parseRegexGroup=function(Oe,Xe){var wt=this.mode;this.mode="text";for(var Ht=this.fetch(),Pr=Ht,Xr="",yn;(yn=this.fetch()).text!=="EOF"&&Oe.test(Xr+yn.text);)Pr=yn,Xr+=Pr.text,this.consume();if(Xr==="")throw new l("Invalid "+Xe+": '"+Ht.text+"'",Ht);return this.mode=wt,Ht.range(Pr,Xr)},ce.parseColorGroup=function(Oe){var Xe=this.parseStringGroup("color",Oe);if(!Xe)return null;var wt=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Xe.text);if(!wt)throw new l("Invalid color: '"+Xe.text+"'",Xe);var Ht=wt[0];return/^[0-9a-f]{6}$/i.test(Ht)&&(Ht="#"+Ht),{type:"color-token",mode:this.mode,color:Ht}},ce.parseSizeGroup=function(Oe){var Xe,wt=!1;if(!Oe&&this.fetch().text!=="{"?Xe=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Xe=this.parseStringGroup("size",Oe),!Xe)return null;!Oe&&Xe.text.length===0&&(Xe.text="0pt",wt=!0);var Ht=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Xe.text);if(!Ht)throw new l("Invalid size: '"+Xe.text+"'",Xe);var Pr={number:+(Ht[1]+Ht[2]),unit:Ht[3]};if(!Nr(Pr))throw new l("Invalid unit: '"+Pr.unit+"'",Xe);return{type:"size",mode:this.mode,value:Pr,isBlank:wt}},ce.parseUrlGroup=function(Oe,Xe){this.gullet.lexer.setCatcode("%",13);var wt=this.parseStringGroup("url",Oe,!0);if(this.gullet.lexer.setCatcode("%",14),!wt)return null;var Ht=wt.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ht}},ce.parseGroup=function(Oe,Xe,wt,Ht,Pr,Xr){var yn=this.mode;Pr&&this.switchMode(Pr),Xr&&this.consumeSpaces();var Jn=this.fetch(),Ei=Jn.text,Ji;if(Xe?Ei==="[":Ei==="{"||Ei==="\\begingroup"){this.consume();var wa=Et.endOfGroup[Ei];this.gullet.beginGroup();var Ya=this.parseExpression(!1,wa),mo=this.fetch();this.expect(wa),this.gullet.endGroup(),Ji={type:"ordgroup",mode:this.mode,loc:v.range(Jn,mo),body:Ya,semisimple:Ei==="\\begingroup"||void 0}}else if(Xe)Ji=null;else if(Ji=this.parseFunction(Ht,Oe,wt)||this.parseSymbol(),Ji==null&&Ei[0]==="\\"&&!Ol.hasOwnProperty(Ei)){if(this.settings.throwOnError)throw new l("Undefined control sequence: "+Ei,Jn);Ji=this.formatUnsupportedCmd(Ei),this.consume()}return Pr&&this.switchMode(yn),Ji},ce.formLigatures=function(Oe){for(var Xe=Oe.length-1,wt=0;wt<Xe;++wt){var Ht=Oe[wt],Pr=Ht.text;Pr==="-"&&Oe[wt+1].text==="-"&&(wt+1<Xe&&Oe[wt+2].text==="-"?(Oe.splice(wt,3,{type:"textord",mode:"text",loc:v.range(Ht,Oe[wt+2]),text:"---"}),Xe-=2):(Oe.splice(wt,2,{type:"textord",mode:"text",loc:v.range(Ht,Oe[wt+1]),text:"--"}),Xe-=1)),(Pr==="'"||Pr==="`")&&Oe[wt+1].text===Pr&&(Oe.splice(wt,2,{type:"textord",mode:"text",loc:v.range(Ht,Oe[wt+1]),text:Pr+Pr}),Xe-=1)}},ce.parseSymbol=function(){var Oe=this.fetch(),Xe=Oe.text;if(/^\\verb[^a-zA-Z]/.test(Xe)){this.consume();var wt=Xe.slice(5),Ht=wt.charAt(0)==="*";if(Ht&&(wt=wt.slice(1)),wt.length<2||wt.charAt(0)!==wt.slice(-1))throw new l(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return wt=wt.slice(1,-1),{type:"verb",mode:"text",body:wt,star:Ht}}Gs.hasOwnProperty(Xe[0])&&!at[this.mode][Xe[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Xe[0]+'" used in math mode',Oe),Xe=Gs[Xe[0]]+Xe.substr(1));var Pr=Yl.exec(Xe);Pr&&(Xe=Xe.substring(0,Pr.index),Xe==="i"?Xe="\u0131":Xe==="j"&&(Xe="\u0237"));var Xr;if(at[this.mode][Xe]){this.settings.strict&&this.mode==="math"&&rr.indexOf(Xe)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Xe[0]+'" used in math mode',Oe);var yn=at[this.mode][Xe].group,Jn=v.range(Oe),Ei;if(Pt.hasOwnProperty(yn)){var Ji=yn;Ei={type:"atom",mode:this.mode,family:Ji,loc:Jn,text:Xe}}else Ei={type:yn,mode:this.mode,loc:Jn,text:Xe};Xr=Ei}else if(Xe.charCodeAt(0)>=128)this.settings.strict&&(re(Xe.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Xe[0]+'" used in math mode',Oe):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Xe[0]+'"'+(" ("+Xe.charCodeAt(0)+")"),Oe)),Xr={type:"textord",mode:"text",loc:v.range(Oe),text:Xe};else return null;if(this.consume(),Pr)for(var wa=0;wa<Pr[0].length;wa++){var Ya=Pr[0][wa];if(!ol[Ya])throw new l("Unknown accent ' "+Ya+"'",Oe);var mo=ol[Ya][this.mode];if(!mo)throw new l("Accent "+Ya+" unsupported in "+this.mode+" mode",Oe);Xr={type:"accent",mode:this.mode,loc:v.range(Oe),label:mo,isStretchy:!1,isShifty:!0,base:Xr}}return Xr},Et}();Il.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Il.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Il.SUPSUB_GREEDINESS=1;var Uc=function(ce,Se){if(!(typeof ce=="string"||ce instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Oe=new Il(ce,Se);delete Oe.gullet.macros.current["\\df@tag"];var Xe=Oe.parse();if(Oe.gullet.macros.get("\\df@tag")){if(!Se.displayMode)throw new l("\\tag works only in display equations");Oe.gullet.feed("\\df@tag"),Xe=[{type:"tag",mode:"text",body:Xe,tag:Oe.parse()}]}return Xe},mc=Uc,yc=function(ce,Se,Oe){Se.textContent="";var Xe=Mt(ce,Oe).toNode();Se.appendChild(Xe)};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."),yc=function(){throw new l("KaTeX doesn't work in quirks mode.")}));var ac=function(ce,Se){var Oe=Mt(ce,Se).toMarkup();return Oe},Ql=function(ce,Se){var Oe=new w(Se);return mc(ce,Oe)},gc=function(ce,Se,Oe){if(Oe.throwOnError||!(ce instanceof l))throw ce;var Xe=wr.makeSpan(["katex-error"],[new Be(Se)]);return Xe.setAttribute("title",ce.toString()),Xe.setAttribute("style","color:"+Oe.errorColor),Xe},Mt=function(ce,Se){var Oe=new w(Se);try{var Xe=mc(ce,Oe);return tt(Xe,ce,Oe)}catch(wt){return gc(wt,ce,Oe)}},Vt=function(ce,Se){var Oe=new w(Se);try{var Xe=mc(ce,Oe);return Ft(Xe,ce,Oe)}catch(wt){return gc(wt,ce,Oe)}},wn={version:"0.11.1",render:yc,renderToString:ac,ParseError:l,__parse:Ql,__renderToDomTree:Mt,__renderToHTMLTree:Vt,__setFontMetrics:It,__defineSymbol:Ce,__defineMacro:dn,__domTree:{Span:G,Anchor:te,SymbolNode:Be,SvgNode:Ne,PathNode:de,LineNode:ve}},ci=m.default=wn}]).default})},P2fV:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("Q9mQ"),p=i("+L6B"),v=i("sE09"),f=i.n(v)},P2ho:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y={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};R.default=y},P47w:function(U,R,i){var y=i("hydK"),m=y.createElement,E=i("IMiH"),p=i("mFDi"),v=i("Fofx"),f=i("6GrX"),d=i("pzxd"),l=i("dqUG"),n=E.CMD,t=Array.prototype.join,a="none",s=Math.round,r=Math.sin,c=Math.cos,e=Math.PI,o=Math.PI*2,u=180/e,h=1e-4;function g(q){return s(q*1e4)/1e4}function A(q){return q<h&&q>-h}function w(q,Y){var re=Y?q.textFill:q.fill;return re!=null&&re!==a}function x(q,Y){var re=Y?q.textStroke:q.stroke;return re!=null&&re!==a}function C(q,Y){Y&&T(q,"transform","matrix("+t.call(Y,",")+")")}function T(q,Y,re){(!re||re.type!=="linear"&&re.type!=="radial")&&q.setAttribute(Y,re)}function O(q,Y,re){q.setAttributeNS("http://www.w3.org/1999/xlink",Y,re)}function S(q,Y,re,ne){if(w(Y,re)){var we=re?Y.textFill:Y.fill;we=we==="transparent"?a:we,T(q,"fill",we),T(q,"fill-opacity",Y.fillOpacity!=null?Y.fillOpacity*Y.opacity:Y.opacity)}else T(q,"fill",a);if(x(Y,re)){var ie=re?Y.textStroke:Y.stroke;ie=ie==="transparent"?a:ie,T(q,"stroke",ie);var me=re?Y.textStrokeWidth:Y.lineWidth,_e=!re&&Y.strokeNoScale?ne.getLineScale():1;T(q,"stroke-width",me/_e),T(q,"paint-order",re?"stroke":"fill"),T(q,"stroke-opacity",Y.strokeOpacity!=null?Y.strokeOpacity:Y.opacity);var Te=Y.lineDash;Te?(T(q,"stroke-dasharray",Y.lineDash.join(",")),T(q,"stroke-dashoffset",s(Y.lineDashOffset||0))):T(q,"stroke-dasharray",""),Y.lineCap&&T(q,"stroke-linecap",Y.lineCap),Y.lineJoin&&T(q,"stroke-linejoin",Y.lineJoin),Y.miterLimit&&T(q,"stroke-miterlimit",Y.miterLimit)}else T(q,"stroke",a)}function _(q){for(var Y=[],re=q.data,ne=q.len(),we=0;we<ne;){var ie=re[we++],me="",_e=0;switch(ie){case n.M:me="M",_e=2;break;case n.L:me="L",_e=2;break;case n.Q:me="Q",_e=4;break;case n.C:me="C",_e=6;break;case n.A:var Te=re[we++],We=re[we++],Ae=re[we++],je=re[we++],ee=re[we++],he=re[we++],Ze=re[we++],oe=re[we++],Q=Math.abs(he),G=A(Q-o)||(oe?he>=o:-he>=o),te=he>0?he%o:he%o+o,xe=!1;G?xe=!0:A(Q)?xe=!1:xe=te>=e===!!oe;var fe=g(Te+Ae*c(ee)),Be=g(We+je*r(ee));G&&(oe?he=o-1e-4:he=-o+1e-4,xe=!0,we===9&&Y.push("M",fe,Be));var Ne=g(Te+Ae*c(ee+he)),de=g(We+je*r(ee+he));Y.push("A",g(Ae),g(je),s(Ze*u),+xe,+oe,Ne,de);break;case n.Z:me="Z";break;case n.R:var Ne=g(re[we++]),de=g(re[we++]),ve=g(re[we++]),Me=g(re[we++]);Y.push("M",Ne,de,"L",Ne+ve,de,"L",Ne+ve,de+Me,"L",Ne,de+Me,"L",Ne,de);break}me&&Y.push(me);for(var qe=0;qe<_e;qe++)Y.push(g(re[we++]))}return Y.join(" ")}var L={};L.brush=function(q){var Y=q.style,re=q.__svgEl;re||(re=m("path"),q.__svgEl=re),q.path||q.createPathProxy();var ne=q.path;if(q.__dirtyPath){ne.beginPath(),ne.subPixelOptimize=!1,q.buildPath(ne,q.shape),q.__dirtyPath=!1;var we=_(ne);we.indexOf("NaN")<0&&T(re,"d",we)}S(re,Y,!1,q),C(re,q.transform),Y.text!=null?B(q,q.getBoundingRect()):W(q)};var D={};D.brush=function(q){var Y=q.style,re=Y.image;if(re instanceof HTMLImageElement){var ne=re.src;re=ne}if(!re)return;var we=Y.x||0,ie=Y.y||0,me=Y.width,_e=Y.height,Te=q.__svgEl;Te||(Te=m("image"),q.__svgEl=Te),re!==q.__imageSrc&&(O(Te,"href",re),q.__imageSrc=re),T(Te,"width",me),T(Te,"height",_e),T(Te,"x",we),T(Te,"y",ie),C(Te,q.transform),Y.text!=null?B(q,q.getBoundingRect()):W(q)};var F={},j=new p,k={},K=[],Z={left:"start",right:"end",center:"middle",middle:"middle"},B=function(Y,re){var ne=Y.style,we=Y.transform,ie=Y instanceof l||ne.transformText;Y.__dirty&&d.normalizeTextStyle(ne,!0);var me=ne.text;if(me!=null&&(me+=""),!d.needDrawText(me,ne))return;me==null&&(me=""),!ie&&we&&(j.copy(re),j.applyTransform(we),re=j);var _e=Y.__textSvgEl;_e||(_e=m("text"),Y.__textSvgEl=_e);var Te=_e.style,We=ne.font||f.DEFAULT_FONT,Ae=_e.__computedFont;We!==_e.__styleFont&&(Te.font=_e.__styleFont=We,Ae=_e.__computedFont=Te.font);var je=ne.textPadding,ee=ne.textLineHeight,he=Y.__textCotentBlock;(!he||Y.__dirtyText)&&(he=Y.__textCotentBlock=f.parsePlainText(me,Ae,je,ee,ne.truncate));var Ze=he.outerHeight,oe=he.lineHeight;d.getBoxPosition(k,Y,ne,re);var Q=k.baseX,G=k.baseY,te=k.textAlign||"left",xe=k.textVerticalAlign;V(_e,ie,we,ne,re,Q,G);var fe=f.adjustTextY(G,Ze,xe),Be=Q,Ne=fe;je&&(Be=z(Q,te,je),Ne+=je[0]),Ne+=oe/2,S(_e,ne,!0,Y);var de=he.canCacheByTextString,ve=Y.__tspanList||(Y.__tspanList=[]),Me=ve.length;if(de&&Y.__canCacheByTextString&&Y.__text===me){if(Y.__dirtyText&&Me)for(var qe=0;qe<Me;++qe)X(ve[qe],te,Be,Ne+qe*oe)}else{Y.__text=me,Y.__canCacheByTextString=de;for(var gt=he.lines,ht=gt.length,qe=0;qe<ht;qe++){var Pe=ve[qe],It=gt[qe];Pe?Pe.__zrText!==It&&(Pe.innerHTML="",Pe.appendChild(document.createTextNode(It))):(Pe=ve[qe]=m("tspan"),_e.appendChild(Pe),Pe.appendChild(document.createTextNode(It))),X(Pe,te,Be,Ne+qe*oe)}if(Me>ht){for(;qe<Me;qe++)_e.removeChild(ve[qe]);ve.length=ht}}};function V(q,Y,re,ne,we,ie,me){v.identity(K),Y&&re&&v.copy(K,re);var _e=ne.textRotation;if(we&&_e){var Te=ne.textOrigin;Te==="center"?(ie=we.width/2+we.x,me=we.height/2+we.y):Te&&(ie=Te[0]+we.x,me=Te[1]+we.y),K[4]-=ie,K[5]-=me,v.rotate(K,K,_e),K[4]+=ie,K[5]+=me}C(q,K)}function z(q,Y,re){return Y==="right"?q-re[1]:Y==="center"?q+re[3]/2-re[1]/2:q+re[3]}function X(q,Y,re,ne){T(q,"dominant-baseline","middle"),T(q,"text-anchor",Z[Y]),T(q,"x",re),T(q,"y",ne)}function W(q){q&&q.__textSvgEl&&(q.__textSvgEl.parentNode&&q.__textSvgEl.parentNode.removeChild(q.__textSvgEl),q.__textSvgEl=null,q.__tspanList=[],q.__text=null)}F.drawRectText=B,F.brush=function(q){var Y=q.style;Y.text!=null?B(q,!1):W(q)},R.path=L,R.image=D,R.text=F},P4Qj:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.removeSensor=R.getSensor=void 0;var y=p(i("chpo")),m=i("FxDU"),E=i("24YM");function p(l){return l&&l.__esModule?l:{default:l}}var v={},f=function(n){var t=n.getAttribute(E.SizeSensorId);if(t&&v[t])return v[t];var a=(0,y.default)();n.setAttribute(E.SizeSensorId,a);var s=(0,m.createSensor)(n);return v[a]=s,s};R.getSensor=f;var d=function(n){var t=n.element.getAttribute(E.SizeSensorId);n.element.removeAttribute(E.SizeSensorId),n.destroy(),t&&v[t]&&delete v[t]};R.removeSensor=d},P5Jw:function(U,R,i){"use strict";var y=i("rHrb"),m=y.CopyToClipboard;m.CopyToClipboard=m,U.exports=m},PArb:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("H84U"),t=function(s,r){var c={};for(var e in s)Object.prototype.hasOwnProperty.call(s,e)&&r.indexOf(e)<0&&(c[e]=s[e]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,e=Object.getOwnPropertySymbols(s);o<e.length;o++)r.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(s,e[o])&&(c[e[o]]=s[e[o]]);return c},a=function(r){return v.createElement(n.a,null,function(c){var e,o=c.getPrefixCls,u=c.direction,h=r.prefixCls,g=r.type,A=g===void 0?"horizontal":g,w=r.orientation,x=w===void 0?"center":w,C=r.className,T=r.children,O=r.dashed,S=r.plain,_=t(r,["prefixCls","type","orientation","className","children","dashed","plain"]),L=o("divider",h),D=x.length>0?"-".concat(x):x,F=!!T,j=l()(C,L,"".concat(L,"-").concat(A),(e={},p()(e,"".concat(L,"-with-text"),F),p()(e,"".concat(L,"-with-text").concat(D),F),p()(e,"".concat(L,"-dashed"),!!O),p()(e,"".concat(L,"-plain"),!!S),p()(e,"".concat(L,"-rtl"),u==="rtl"),e));return v.createElement("div",m()({className:j},_,{role:"separator"}),T&&v.createElement("span",{className:"".concat(L,"-inner-text")},T))})};R.a=a},PD8m:function(U,R){U.exports={name:"memoryStorage",read:y,write:m,each:E,remove:p,clearAll:v};var i={};function y(f){return i[f]}function m(f,d){i[f]=d}function E(f){for(var d in i)i.hasOwnProperty(d)&&f(i[d],d)}function p(f){delete i[f]}function v(f){i={}}},PEeC:function(U,R,i){"use strict";i.d(R,"a",function(){return v}),i.d(R,"b",function(){return f});var y=i("RIqP"),m=i.n(y),E=i("xEkU"),p=i.n(E);function v(d){var l,n=function(s){return function(){l=null,d.apply(void 0,m()(s))}},t=function(){if(l==null){for(var s=arguments.length,r=new Array(s),c=0;c<s;c++)r[c]=arguments[c];l=p()(n(r))}};return t.cancel=function(){return p.a.cancel(l)},t}function f(){return function(d,l,n){var t=n.value,a=!1;return{configurable:!0,get:function(){if(a||this===d.prototype||this.hasOwnProperty(l))return t;var r=v(t.bind(this));return a=!0,Object.defineProperty(this,l,{value:r,configurable:!0,writable:!0}),a=!1,r}}}}},PKem:function(U,R,i){"use strict";i.d(R,"a",function(){return w});var y=i("RIqP"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("pVnL"),f=i.n(v),d=i("lwsE"),l=i.n(d),n=i("W8MJ"),t=i.n(n),a=i("7W2i"),s=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),o=i.n(e),u=i("TSYQ"),h=i.n(u),g=i("H84U"),A=function(D,F){var j={};for(var k in D)Object.prototype.hasOwnProperty.call(D,k)&&F.indexOf(k)<0&&(j[k]=D[k]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,k=Object.getOwnPropertySymbols(D);K<k.length;K++)F.indexOf(k[K])<0&&Object.prototype.propertyIsEnumerable.call(D,k[K])&&(j[k[K]]=D[k[K]]);return j},w=e.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function x(D){var F=D.suffixCls,j=D.tagName,k=D.displayName;return function(K){var Z;return Z=function(B){s()(z,B);var V=c()(z);function z(){var X;return l()(this,z),X=V.apply(this,arguments),X.renderComponent=function(W){var q=W.getPrefixCls,Y=X.props.prefixCls,re=q(F,Y);return e.createElement(K,f()({prefixCls:re,tagName:j},X.props))},X}return t()(z,[{key:"render",value:function(){return e.createElement(g.a,null,this.renderComponent)}}]),z}(e.Component),Z.displayName=k,Z}}var C=function(F){var j=F.prefixCls,k=F.className,K=F.children,Z=F.tagName,B=A(F,["prefixCls","className","children","tagName"]),V=h()(j,k);return e.createElement(Z,f()({className:V},B),K)},T=function(D){s()(j,D);var F=c()(j);function j(){var k;return l()(this,j),k=F.apply(this,arguments),k.state={siders:[]},k.renderComponent=function(K){var Z,B=K.direction,V=k.props,z=V.prefixCls,X=V.className,W=V.children,q=V.hasSider,Y=V.tagName,re=A(V,["prefixCls","className","children","hasSider","tagName"]),ne=h()(z,(Z={},p()(Z,"".concat(z,"-has-sider"),typeof q=="boolean"?q:k.state.siders.length>0),p()(Z,"".concat(z,"-rtl"),B==="rtl"),Z),X);return e.createElement(w.Provider,{value:{siderHook:k.getSiderHook()}},e.createElement(Y,f()({className:ne},re),W))},k}return t()(j,[{key:"getSiderHook",value:function(){var K=this;return{addSider:function(B){K.setState(function(V){return{siders:[].concat(m()(V.siders),[B])}})},removeSider:function(B){K.setState(function(V){return{siders:V.siders.filter(function(z){return z!==B})}})}}}},{key:"render",value:function(){return e.createElement(g.a,null,this.renderComponent)}}]),j}(e.Component),O=x({suffixCls:"layout",tagName:"section",displayName:"Layout"})(T),S=x({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(C),_=x({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(C),L=x({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(C);O.Header=S,O.Footer=_,O.Content=L,R.b=O},PNag:function(U,R,i){var y=i("bYtY"),m=i("SKnc"),E=i("YH21"),p=i("crZl"),v=i("IwbS"),f=i("OELB"),d=i("72pK"),l=i("y7Aq"),n=i("4NO4"),t=f.linearMap,a=y.each,s=Math.min,r=Math.max,c=12,e=6,o=p.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(T,O,S,_){(!_||_.type!=="selectDataRange"||_.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var T=this.visualMapModel,O=this.group;this._orient=T.get("orient"),this._useHandle=T.get("calculable"),this._resetInterval(),this._renderBar(O);var S=T.get("text");this._renderEndsText(O,S,0),this._renderEndsText(O,S,1),this._updateView(!0),this.renderBackground(O),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(O)},_renderEndsText:function(T,O,S){if(!O)return;var _=O[1-S];_=_!=null?_+"":"";var L=this.visualMapModel,D=L.get("textGap"),F=L.itemSize,j=this._shapes.barGroup,k=this._applyTransform([F[0]/2,S===0?-D:F[1]+D],j),K=this._applyTransform(S===0?"bottom":"top",j),Z=this._orient,B=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:k[0],y:k[1],textVerticalAlign:Z==="horizontal"?"middle":K,textAlign:Z==="horizontal"?K:"center",text:_,textFont:B.getFont(),textFill:B.getTextColor()}}))},_renderBar:function(T){var O=this.visualMapModel,S=this._shapes,_=O.itemSize,L=this._orient,D=this._useHandle,F=l.getItemAlign(O,this.api,_),j=S.barGroup=this._createBarGroup(F);j.add(S.outOfRange=u()),j.add(S.inRange=u(null,D?x(this._orient):null,y.bind(this._dragHandle,this,"all",!1),y.bind(this._dragHandle,this,"all",!0)));var k=O.textStyleModel.getTextRect("\u56FD"),K=r(k.width,k.height);D&&(S.handleThumbs=[],S.handleLabels=[],S.handleLabelPoints=[],this._createHandle(j,0,_,K,L,F),this._createHandle(j,1,_,K,L,F)),this._createIndicator(j,_,K,L),T.add(j)},_createHandle:function(T,O,S,_,L){var D=y.bind(this._dragHandle,this,O,!1),F=y.bind(this._dragHandle,this,O,!0),j=u(h(O,_),x(this._orient),D,F);j.position[0]=S[0],T.add(j);var k=this.visualMapModel.textStyleModel,K=new v.Text({draggable:!0,drift:D,onmousemove:function(V){E.stop(V.event)},ondragend:F,style:{x:0,y:0,text:"",textFont:k.getFont(),textFill:k.getTextColor()}});this.group.add(K);var Z=[L==="horizontal"?_/2:_*1.5,L==="horizontal"?O===0?-(_*1.5):_*1.5:O===0?-_/2:_/2],B=this._shapes;B.handleThumbs[O]=j,B.handleLabelPoints[O]=Z,B.handleLabels[O]=K},_createIndicator:function(T,O,S,_){var L=u([[0,0]],"move");L.position[0]=O[0],L.attr({invisible:!0,silent:!0}),T.add(L);var D=this.visualMapModel.textStyleModel,F=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:D.getFont(),textFill:D.getTextColor()}});this.group.add(F);var j=[_==="horizontal"?S/2:e+3,0],k=this._shapes;k.indicator=L,k.indicatorLabel=F,k.indicatorLabelPoint=j},_dragHandle:function(T,O,S,_){if(!this._useHandle)return;if(this._dragging=!O,!O){var L=this._applyTransform([S,_],this._shapes.barGroup,!0);this._updateInterval(T,L[1]),this._updateView()}O===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),O?!this._hovering&&this._clearHoverLinkToSeries():w(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[T],!1)},_resetInterval:function(){var T=this.visualMapModel,O=this._dataInterval=T.getSelected(),S=T.getExtent(),_=[0,T.itemSize[1]];this._handleEnds=[t(O[0],S,_,!0),t(O[1],S,_,!0)]},_updateInterval:function(T,O){O=O||0;var S=this.visualMapModel,_=this._handleEnds,L=[0,S.itemSize[1]];d(O,_,L,T,0);var D=S.getExtent();this._dataInterval=[t(_[0],L,D,!0),t(_[1],L,D,!0)]},_updateView:function(T){var O=this.visualMapModel,S=O.getExtent(),_=this._shapes,L=[0,O.itemSize[1]],D=T?L:this._handleEnds,F=this._createBarVisual(this._dataInterval,S,D,"inRange"),j=this._createBarVisual(S,S,L,"outOfRange");_.inRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),_.outOfRange.setStyle({fill:j.barColor,opacity:j.opacity}).setShape("points",j.barPoints),this._updateHandle(D,F)},_createBarVisual:function(T,O,S,_){var L={forceState:_,convertOpacityToAlpha:!0},D=this._makeColorGradient(T,L),F=[this.getControllerVisual(T[0],"symbolSize",L),this.getControllerVisual(T[1],"symbolSize",L)],j=this._createBarPoints(S,F);return{barColor:new m(0,0,0,1,D),barPoints:j,handlesColor:[D[0].color,D[D.length-1].color]}},_makeColorGradient:function(T,O){var S=100,_=[],L=(T[1]-T[0])/S;_.push({color:this.getControllerVisual(T[0],"color",O),offset:0});for(var D=1;D<S;D++){var F=T[0]+L*D;if(F>T[1])break;_.push({color:this.getControllerVisual(F,"color",O),offset:D/S})}return _.push({color:this.getControllerVisual(T[1],"color",O),offset:1}),_},_createBarPoints:function(T,O){var S=this.visualMapModel.itemSize;return[[S[0]-O[0],T[0]],[S[0],T[0]],[S[0],T[1]],[S[0]-O[1],T[1]]]},_createBarGroup:function(T){var O=this._orient,S=this.visualMapModel.get("inverse");return new v.Group(O==="horizontal"&&!S?{scale:T==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:O==="horizontal"&&S?{scale:T==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:O==="vertical"&&!S?{scale:T==="left"?[1,-1]:[-1,-1]}:{scale:T==="left"?[1,1]:[-1,1]})},_updateHandle:function(T,O){if(!this._useHandle)return;var S=this._shapes,_=this.visualMapModel,L=S.handleThumbs,D=S.handleLabels;a([0,1],function(F){var j=L[F];j.setStyle("fill",O.handlesColor[F]),j.position[1]=T[F];var k=v.applyTransform(S.handleLabelPoints[F],v.getTransform(j,this.group));D[F].setStyle({x:k[0],y:k[1],text:_.formatValueText(this._dataInterval[F]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?F===0?"bottom":"top":"left",S.barGroup)})},this)},_showIndicator:function(T,O,S,_){var L=this.visualMapModel,D=L.getExtent(),F=L.itemSize,j=[0,F[1]],k=t(T,D,j,!0),K=this._shapes,Z=K.indicator;if(!Z)return;Z.position[1]=k,Z.attr("invisible",!1),Z.setShape("points",g(!!S,_,k,F[1]));var B={convertOpacityToAlpha:!0},V=this.getControllerVisual(T,"color",B);Z.setStyle("fill",V);var z=v.applyTransform(K.indicatorLabelPoint,v.getTransform(Z,this.group)),X=K.indicatorLabel;X.attr("invisible",!1);var W=this._applyTransform("left",K.barGroup),q=this._orient;X.setStyle({text:(S||"")+L.formatValueText(O),textVerticalAlign:q==="horizontal"?W:"middle",textAlign:q==="horizontal"?"center":W,x:z[0],y:z[1]})},_enableHoverLinkToSeries:function(){var T=this;this._shapes.barGroup.on("mousemove",function(O){if(T._hovering=!0,!T._dragging){var S=T.visualMapModel.itemSize,_=T._applyTransform([O.offsetX,O.offsetY],T._shapes.barGroup,!0,!0);_[1]=s(r(0,_[1]),S[1]),T._doHoverLinkToSeries(_[1],0<=_[0]&&_[0]<=S[0])}}).on("mouseout",function(){T._hovering=!1,!T._dragging&&T._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var T=this.api.getZr();this.visualMapModel.option.hoverLink?(T.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),T.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(T,O){var S=this.visualMapModel,_=S.itemSize;if(!S.option.hoverLink)return;var L=[0,_[1]],D=S.getExtent();T=s(r(L[0],T),L[1]);var F=A(S,D,L),j=[T-F,T+F],k=t(T,L,D,!0),K=[t(j[0],L,D,!0),t(j[1],L,D,!0)];j[0]<L[0]&&(K[0]=-Infinity),j[1]>L[1]&&(K[1]=Infinity),O&&(K[0]===-Infinity?this._showIndicator(k,K[1],"< ",F):K[1]===Infinity?this._showIndicator(k,K[0],"> ",F):this._showIndicator(k,k,"\u2248 ",F));var Z=this._hoverLinkDataIndices,B=[];(O||w(S))&&(B=this._hoverLinkDataIndices=S.findTargetDataIndices(K));var V=n.compressBatches(Z,B);this._dispatchHighDown("downplay",l.makeHighDownBatch(V[0],S)),this._dispatchHighDown("highlight",l.makeHighDownBatch(V[1],S))},_hoverLinkFromSeriesMouseOver:function(T){var O=T.target,S=this.visualMapModel;if(!O||O.dataIndex==null)return;var _=this.ecModel.getSeriesByIndex(O.seriesIndex);if(!S.isTargetSeries(_))return;var L=_.getData(O.dataType),D=L.get(S.getDataDimension(L),O.dataIndex,!0);isNaN(D)||this._showIndicator(D,D)},_hideIndicator:function(){var T=this._shapes;T.indicator&&T.indicator.attr("invisible",!0),T.indicatorLabel&&T.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var T=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",l.makeHighDownBatch(T,this.visualMapModel)),T.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var T=this.api.getZr();T.off("mouseover",this._hoverLinkFromSeriesMouseOver),T.off("mouseout",this._hideIndicator)},_applyTransform:function(T,O,S,_){var L=v.getTransform(O,_?null:this.group);return v[y.isArray(T)?"applyTransform":"transformDirection"](T,L,S)},_dispatchHighDown:function(T,O){O&&O.length&&this.api.dispatchAction({type:T,batch:O})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function u(T,O,S,_){return new v.Polygon({shape:{points:T},draggable:!!S,cursor:O,drift:S,onmousemove:function(L){E.stop(L.event)},ondragend:_})}function h(T,O){return T===0?[[0,0],[O,0],[O,-O]]:[[0,0],[O,0],[O,O]]}function g(T,O,S,_){return T?[[0,-s(O,r(S,0))],[e,0],[0,s(O,r(_-S,0))]]:[[0,0],[5,-5],[5,5]]}function A(T,O,S){var _=c/2,L=T.get("hoverLinkDataSize");return L&&(_=t(L,O,S,!0)/2),_}function w(T){var O=T.get("hoverLinkOnHandle");return!!(O==null?T.get("realtime"):O)}function x(T){return T==="vertical"?"ns-resize":"ew-resize"}var C=o;U.exports=C},PQMj:function(U,R,i){},PSzr:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},ProS:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("aX58"),p=i("bYtY"),v=i("Qe9p"),f=i("ItGF"),d=i("BPZU"),l=i("H6uX"),n=i("fmMI"),t=i("hD7B"),a=i("IDmD"),s=i("ypgQ"),r=i("+wW9"),c=i("0V0F"),e=i("bLfw"),o=i("T4UG"),u=i("sS/r"),h=i("6Ic6"),g=i("IwbS"),A=i("4NO4"),w=i("iLNv"),x=w.throttle,C=i("/WM3"),T=i("uAnK"),O=i("mYwL"),S=i("af/B"),_=i("xTNl"),L=i("8hn6");i("A1Ka");var D=i("7DRL"),F=p.assert,j=p.each,k=p.isFunction,K=p.isObject,Z=e.parseClassType,B="4.8.0",V={zrender:"4.3.1"},z=1,X=1e3,W=800,q=900,Y=5e3,re=1e3,ne=1100,we=2e3,ie=3e3,me=3500,_e=4e3,Te=5e3,We={PROCESSOR:{FILTER:X,SERIES_FILTER:W,STATISTIC:Y},VISUAL:{LAYOUT:re,PROGRESSIVE_LAYOUT:ne,GLOBAL:we,CHART:ie,POST_CHART_LAYOUT:me,COMPONENT:_e,BRUSH:Te}},Ae="__flagInMainProcess",je="__optionUpdated",ee=/^[a-zA-Z0-9_]+$/;function he(_t,Zt){return function(Nr,Sr,br){if(!Zt&&this._disposed){Bt(this.id);return}Nr=Nr&&Nr.toLowerCase(),l.prototype[_t].call(this,Nr,Sr,br)}}function Ze(){l.call(this)}Ze.prototype.on=he("on",!0),Ze.prototype.off=he("off",!0),Ze.prototype.one=he("one",!0),p.mixin(Ze,l);function oe(_t,Zt,Nr){Nr=Nr||{},typeof Zt=="string"&&(Zt=mt[Zt]),this.id,this.group,this._dom=_t;var Sr="canvas",br=this._zr=E.init(_t,{renderer:Nr.renderer||Sr,devicePixelRatio:Nr.devicePixelRatio,width:Nr.width,height:Nr.height});this._throttledZrFlush=x(p.bind(br.flush,br),17);var Zt=p.clone(Zt);Zt&&r(Zt,!0),this._theme=Zt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new a;var hn=this._api=at(this);function fn(ni,mi){return ni.__prio-mi.__prio}d(pr,fn),d(rt,fn),this._scheduler=new S(this,hn,rt,pr),l.call(this,this._ecEventProcessor=new Ce),this._messageCenter=new Ze,this._initEvents(),this.resize=p.bind(this.resize,this),this._pendingActions=[],br.animation.on("frame",this._onframe,this),Me(br,this),p.setAsPrimitive(this)}var Q=oe.prototype;Q._onframe=function(){if(this._disposed)return;var _t=this._scheduler;if(this[je]){var Zt=this[je].silent;this[Ae]=!0,xe(this),te.update.call(this),this[Ae]=!1,this[je]=!1,de.call(this,Zt),ve.call(this,Zt)}else if(_t.unfinished){var Nr=z,Sr=this._model,br=this._api;_t.unfinished=!1;do{var hn=+new Date;_t.performSeriesTasks(Sr),_t.performDataProcessorTasks(Sr),Be(this,Sr),_t.performVisualTasks(Sr),It(this,this._model,br,"remain"),Nr-=+new Date-hn}while(Nr>0&&_t.unfinished);_t.unfinished||this._zr.flush()}},Q.getDom=function(){return this._dom},Q.getZr=function(){return this._zr},Q.setOption=function(_t,Zt,Nr){if(this._disposed){Bt(this.id);return}var Sr;if(K(Zt)&&(Nr=Zt.lazyUpdate,Sr=Zt.silent,Zt=Zt.notMerge),this[Ae]=!0,!this._model||Zt){var br=new s(this._api),hn=this._theme,fn=this._model=new n;fn.scheduler=this._scheduler,fn.init(null,null,hn,br)}this._model.setOption(_t,ye),Nr?(this[je]={silent:Sr},this[Ae]=!1):(xe(this),te.update.call(this),this._zr.flush(),this[je]=!1,this[Ae]=!1,de.call(this,Sr),ve.call(this,Sr))},Q.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Q.getModel=function(){return this._model},Q.getOption=function(){return this._model&&this._model.getOption()},Q.getWidth=function(){return this._zr.getWidth()},Q.getHeight=function(){return this._zr.getHeight()},Q.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Q.getRenderedCanvas=function(_t){if(!f.canvasSupported)return;_t=_t||{},_t.pixelRatio=_t.pixelRatio||1,_t.backgroundColor=_t.backgroundColor||this._model.get("backgroundColor");var Zt=this._zr;return Zt.painter.getRenderedCanvas(_t)},Q.getSvgDataURL=function(){if(!f.svgSupported)return;var _t=this._zr,Zt=_t.storage.getDisplayList();return p.each(Zt,function(Nr){Nr.stopAnimation(!0)}),_t.painter.toDataURL()},Q.getDataURL=function(_t){if(this._disposed){Bt(this.id);return}_t=_t||{};var Zt=_t.excludeComponents,Nr=this._model,Sr=[],br=this;j(Zt,function(fn){Nr.eachComponent({mainType:fn},function(ni){var mi=br._componentsMap[ni.__viewId];mi.group.ignore||(Sr.push(mi),mi.group.ignore=!0)})});var hn=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(_t).toDataURL("image/"+(_t&&_t.type||"png"));return j(Sr,function(fn){fn.group.ignore=!1}),hn},Q.getConnectedDataURL=function(_t){if(this._disposed){Bt(this.id);return}if(!f.canvasSupported)return;var Zt=_t.type==="svg",Nr=this.group,Sr=Math.min,br=Math.max,hn=Infinity;if(gn[Nr]){var fn=hn,ni=hn,mi=-hn,_i=-hn,Hi=[],aa=_t&&_t.pixelRatio||1;p.each(yr,function(et,$e){if(et.group===Nr){var st=Zt?et.getZr().painter.getSvgDom().innerHTML:et.getRenderedCanvas(p.clone(_t)),Lt=et.getDom().getBoundingClientRect();fn=Sr(Lt.left,fn),ni=Sr(Lt.top,ni),mi=br(Lt.right,mi),_i=br(Lt.bottom,_i),Hi.push({dom:st,left:Lt.left,top:Lt.top})}}),fn*=aa,ni*=aa,mi*=aa,_i*=aa;var Ra=mi-fn,it=_i-ni,Re=p.createCanvas(),Ke=E.init(Re,{renderer:Zt?"svg":"canvas"});if(Ke.resize({width:Ra,height:it}),Zt){var Ge="";return j(Hi,function(et){var $e=et.left-fn,st=et.top-ni;Ge+='<g transform="translate('+$e+","+st+')">'+et.dom+"</g>"}),Ke.painter.getSvgRoot().innerHTML=Ge,_t.connectedBackgroundColor&&Ke.painter.setBackgroundColor(_t.connectedBackgroundColor),Ke.refreshImmediately(),Ke.painter.toDataURL()}else return _t.connectedBackgroundColor&&Ke.add(new g.Rect({shape:{x:0,y:0,width:Ra,height:it},style:{fill:_t.connectedBackgroundColor}})),j(Hi,function(et){var $e=new g.Image({style:{x:et.left*aa-fn,y:et.top*aa-ni,image:et.dom}});Ke.add($e)}),Ke.refreshImmediately(),Re.toDataURL("image/"+(_t&&_t.type||"png"))}else return this.getDataURL(_t)},Q.convertToPixel=p.curry(G,"convertToPixel"),Q.convertFromPixel=p.curry(G,"convertFromPixel");function G(_t,Zt,Nr){if(this._disposed){Bt(this.id);return}var Sr=this._model,br=this._coordSysMgr.getCoordinateSystems(),hn;Zt=A.parseFinder(Sr,Zt);for(var fn=0;fn<br.length;fn++){var ni=br[fn];if(ni[_t]&&(hn=ni[_t](Sr,Zt,Nr))!=null)return hn}}Q.containPixel=function(_t,Zt){if(this._disposed){Bt(this.id);return}var Nr=this._model,Sr;return _t=A.parseFinder(Nr,_t),p.each(_t,function(br,hn){hn.indexOf("Models")>=0&&p.each(br,function(fn){var ni=fn.coordinateSystem;if(ni&&ni.containPoint)Sr|=!!ni.containPoint(Zt);else if(hn==="seriesModels"){var mi=this._chartsMap[fn.__viewId];mi&&mi.containPoint&&(Sr|=mi.containPoint(Zt,fn))}},this)},this),!!Sr},Q.getVisual=function(_t,Zt){var Nr=this._model;_t=A.parseFinder(Nr,_t,{defaultMainType:"series"});var Sr=_t.seriesModel,br=Sr.getData(),hn=_t.hasOwnProperty("dataIndexInside")?_t.dataIndexInside:_t.hasOwnProperty("dataIndex")?br.indexOfRawIndex(_t.dataIndex):null;return hn!=null?br.getItemVisual(hn,Zt):br.getVisual(Zt)},Q.getViewOfComponentModel=function(_t){return this._componentsMap[_t.__viewId]},Q.getViewOfSeriesModel=function(_t){return this._chartsMap[_t.__viewId]};var te={prepareAndUpdate:function(_t){xe(this),te.update.call(this,_t)},update:function(_t){var Zt=this._model,Nr=this._api,Sr=this._zr,br=this._coordSysMgr,hn=this._scheduler;if(!Zt)return;hn.restoreData(Zt,_t),hn.performSeriesTasks(Zt),br.create(Zt,Nr),hn.performDataProcessorTasks(Zt,_t),Be(this,Zt),br.update(Zt,Nr),gt(Zt),hn.performVisualTasks(Zt,_t),ht(this,Zt,Nr,_t);var fn=Zt.get("backgroundColor")||"transparent";if(f.canvasSupported)Sr.setBackgroundColor(fn);else{var ni=v.parse(fn);fn=v.stringify(ni,"rgb"),ni[3]===0&&(fn="transparent")}nt(Zt,Nr)},updateTransform:function(_t){var Zt=this._model,Nr=this,Sr=this._api;if(!Zt)return;var br=[];Zt.eachComponent(function(fn,ni){var mi=Nr.getViewOfComponentModel(ni);if(mi&&mi.__alive)if(mi.updateTransform){var _i=mi.updateTransform(ni,Zt,Sr,_t);_i&&_i.update&&br.push(mi)}else br.push(mi)});var hn=p.createHashMap();Zt.eachSeries(function(fn){var ni=Nr._chartsMap[fn.__viewId];if(ni.updateTransform){var mi=ni.updateTransform(fn,Zt,Sr,_t);mi&&mi.update&&hn.set(fn.uid,1)}else hn.set(fn.uid,1)}),gt(Zt),this._scheduler.performVisualTasks(Zt,_t,{setDirty:!0,dirtyMap:hn}),It(Nr,Zt,Sr,_t,hn),nt(Zt,this._api)},updateView:function(_t){var Zt=this._model;if(!Zt)return;h.markUpdateMethod(_t,"updateView"),gt(Zt),this._scheduler.performVisualTasks(Zt,_t,{setDirty:!0}),ht(this,this._model,this._api,_t),nt(Zt,this._api)},updateVisual:function(_t){te.update.call(this,_t)},updateLayout:function(_t){te.update.call(this,_t)}};function xe(_t){var Zt=_t._model,Nr=_t._scheduler;Nr.restorePipelines(Zt),Nr.prepareStageTasks(),qe(_t,"component",Zt,Nr),qe(_t,"chart",Zt,Nr),Nr.plan()}function fe(_t,Zt,Nr,Sr,br){var hn=_t._model;if(!Sr){j(_t._componentsViews.concat(_t._chartsViews),_i);return}var fn={};fn[Sr+"Id"]=Nr[Sr+"Id"],fn[Sr+"Index"]=Nr[Sr+"Index"],fn[Sr+"Name"]=Nr[Sr+"Name"];var ni={mainType:Sr,query:fn};br&&(ni.subType=br);var mi=Nr.excludeSeriesId;mi!=null&&(mi=p.createHashMap(A.normalizeToArray(mi))),hn&&hn.eachComponent(ni,function(Hi){(!mi||mi.get(Hi.id)==null)&&_i(_t[Sr==="series"?"_chartsMap":"_componentsMap"][Hi.__viewId])},_t);function _i(Hi){Hi&&Hi.__alive&&Hi[Zt]&&Hi[Zt](Hi.__model,hn,_t._api,Nr)}}Q.resize=function(_t){if(this._disposed){Bt(this.id);return}this._zr.resize(_t);var Zt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Zt)return;var Nr=Zt.resetOption("media"),Sr=_t&&_t.silent;this[Ae]=!0,Nr&&xe(this),te.update.call(this),this[Ae]=!1,de.call(this,Sr),ve.call(this,Sr)};function Be(_t,Zt){var Nr=_t._chartsMap,Sr=_t._scheduler;Zt.eachSeries(function(br){Sr.updateStreamModes(br,Nr[br.__viewId])})}Q.showLoading=function(_t,Zt){if(this._disposed){Bt(this.id);return}if(K(_t)&&(Zt=_t,_t=""),_t=_t||"default",this.hideLoading(),!nr[_t])return;var Nr=nr[_t](this._api,Zt),Sr=this._zr;this._loadingFX=Nr,Sr.add(Nr)},Q.hideLoading=function(){if(this._disposed){Bt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Q.makeActionFromEvent=function(_t){var Zt=p.extend({},_t);return Zt.type=Dt[_t.type],Zt},Q.dispatchAction=function(_t,Zt){if(this._disposed){Bt(this.id);return}if(K(Zt)||(Zt={silent:!!Zt}),!ue[_t.type])return;if(!this._model)return;if(this[Ae]){this._pendingActions.push(_t);return}Ne.call(this,_t,Zt.silent),Zt.flush?this._zr.flush(!0):Zt.flush!==!1&&f.browser.weChat&&this._throttledZrFlush(),de.call(this,Zt.silent),ve.call(this,Zt.silent)};function Ne(_t,Zt){var Nr=_t.type,Sr=_t.escapeConnect,br=ue[Nr],hn=br.actionInfo,fn=(hn.update||"update").split(":"),ni=fn.pop();fn=fn[0]!=null&&Z(fn[0]),this[Ae]=!0;var mi=[_t],_i=!1;_t.batch&&(_i=!0,mi=p.map(_t.batch,function(it){return it=p.defaults(p.extend({},it),_t),it.batch=null,it}));var Hi=[],aa,Ra=Nr==="highlight"||Nr==="downplay";j(mi,function(it){aa=br.action(it,this._model,this._api),aa=aa||p.extend({},it),aa.type=hn.event||aa.type,Hi.push(aa),Ra?fe(this,ni,it,"series"):fn&&fe(this,ni,it,fn.main,fn.sub)},this),ni!=="none"&&!Ra&&!fn&&(this[je]?(xe(this),te.update.call(this,_t),this[je]=!1):te[ni].call(this,_t)),_i?aa={type:hn.event||Nr,escapeConnect:Sr,batch:Hi}:aa=Hi[0],this[Ae]=!1,!Zt&&this._messageCenter.trigger(aa.type,aa)}function de(_t){for(var Zt=this._pendingActions;Zt.length;){var Nr=Zt.shift();Ne.call(this,Nr,_t)}}function ve(_t){!_t&&this.trigger("updated")}function Me(_t,Zt){_t.on("rendered",function(){Zt.trigger("rendered"),_t.animation.isFinished()&&!Zt[je]&&!Zt._scheduler.unfinished&&!Zt._pendingActions.length&&Zt.trigger("finished")})}Q.appendData=function(_t){if(this._disposed){Bt(this.id);return}var Zt=_t.seriesIndex,Nr=this.getModel(),Sr=Nr.getSeriesByIndex(Zt);Sr.appendData(_t),this._scheduler.unfinished=!0},Q.on=he("on",!1),Q.off=he("off",!1),Q.one=he("one",!1);function qe(_t,Zt,Nr,Sr){for(var br=Zt==="component",hn=br?_t._componentsViews:_t._chartsViews,fn=br?_t._componentsMap:_t._chartsMap,ni=_t._zr,mi=_t._api,_i=0;_i<hn.length;_i++)hn[_i].__alive=!1;br?Nr.eachComponent(function(Ra,it){Ra!=="series"&&Hi(it)}):Nr.eachSeries(Hi);function Hi(Ra){var it="_ec_"+Ra.id+"_"+Ra.type,Re=fn[it];if(!Re){var Ke=Z(Ra.type),Ge=br?u.getClass(Ke.main,Ke.sub):h.getClass(Ke.sub);Re=new Ge,Re.init(Nr,mi),fn[it]=Re,hn.push(Re),ni.add(Re.group)}Ra.__viewId=Re.__id=it,Re.__alive=!0,Re.__model=Ra,Re.group.__ecComponentInfo={mainType:Ra.mainType,index:Ra.componentIndex},!br&&Sr.prepareView(Re,Ra,Nr,mi)}for(var _i=0;_i<hn.length;){var aa=hn[_i];aa.__alive?_i++:(!br&&aa.renderTask.dispose(),ni.remove(aa.group),aa.dispose(Nr,mi),hn.splice(_i,1),delete fn[aa.__id],aa.__id=aa.group.__ecComponentInfo=null)}}function gt(_t){_t.clearColorPalette(),_t.eachSeries(function(Zt){Zt.clearColorPalette()})}function ht(_t,Zt,Nr,Sr){Pe(_t,Zt,Nr,Sr),j(_t._chartsViews,function(br){br.__alive=!1}),It(_t,Zt,Nr,Sr),j(_t._chartsViews,function(br){br.__alive||br.remove(Zt,Nr)})}function Pe(_t,Zt,Nr,Sr,br){j(br||_t._componentsViews,function(hn){var fn=hn.__model;hn.render(fn,Zt,Nr,Sr),er(fn,hn)})}function It(_t,Zt,Nr,Sr,br){var hn=_t._scheduler,fn;Zt.eachSeries(function(ni){var mi=_t._chartsMap[ni.__viewId];mi.__alive=!0;var _i=mi.renderTask;hn.updatePayload(_i,Sr),br&&br.get(ni.uid)&&_i.dirty(),fn|=_i.perform(hn.getPerformArgs(_i)),mi.group.silent=!!ni.get("silent"),er(ni,mi),jt(ni,mi)}),hn.unfinished|=fn,Pt(_t,Zt),T(_t._zr.dom,Zt)}function nt(_t,Zt){j(Xt,function(Nr){Nr(_t,Zt)})}var Nt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];Q._initEvents=function(){j(Nt,function(_t){var Zt=function(Nr){var Sr=this.getModel(),br=Nr.target,hn,fn=_t==="globalout";if(fn)hn={};else if(br&&br.dataIndex!=null){var ni=br.dataModel||Sr.getSeriesByIndex(br.seriesIndex);hn=ni&&ni.getDataParams(br.dataIndex,br.dataType,br)||{}}else br&&br.eventData&&(hn=p.extend({},br.eventData));if(hn){var mi=hn.componentType,_i=hn.componentIndex;(mi==="markLine"||mi==="markPoint"||mi==="markArea")&&(mi="series",_i=hn.seriesIndex);var Hi=mi&&_i!=null&&Sr.getComponent(mi,_i),aa=Hi&&this[Hi.mainType==="series"?"_chartsMap":"_componentsMap"][Hi.__viewId];hn.event=Nr,hn.type=_t,this._ecEventProcessor.eventInfo={targetEl:br,packedEvent:hn,model:Hi,view:aa},this.trigger(_t,hn)}};Zt.zrEventfulCallAtLast=!0,this._zr.on(_t,Zt,this)},this),j(Dt,function(_t,Zt){this._messageCenter.on(Zt,function(Nr){this.trigger(Zt,Nr)},this)},this)},Q.isDisposed=function(){return this._disposed},Q.clear=function(){if(this._disposed){Bt(this.id);return}this.setOption({series:[]},!0)},Q.dispose=function(){if(this._disposed){Bt(this.id);return}this._disposed=!0,A.setAttribute(this.getDom(),zt,"");var _t=this._api,Zt=this._model;j(this._componentsViews,function(Nr){Nr.dispose(Zt,_t)}),j(this._chartsViews,function(Nr){Nr.dispose(Zt,_t)}),this._zr.dispose(),delete yr[this.id]},p.mixin(oe,l);function Bt(_t){}function Pt(_t,Zt){var Nr=_t._zr,Sr=Nr.storage,br=0;Sr.traverse(function(hn){br++}),br>Zt.get("hoverLayerThreshold")&&!f.node&&Zt.eachSeries(function(hn){if(hn.preventUsingHoverLayer)return;var fn=_t._chartsMap[hn.__viewId];fn.__alive&&fn.group.traverse(function(ni){ni.useHoverLayer=!0})})}function jt(_t,Zt){var Nr=_t.get("blendMode")||null;Zt.group.traverse(function(Sr){Sr.isGroup||Sr.style.blend!==Nr&&Sr.setStyle("blend",Nr),Sr.eachPendingDisplayable&&Sr.eachPendingDisplayable(function(br){br.setStyle("blend",Nr)})})}function er(_t,Zt){var Nr=_t.get("z"),Sr=_t.get("zlevel");Zt.group.traverse(function(br){br.type!=="group"&&(Nr!=null&&(br.z=Nr),Sr!=null&&(br.zlevel=Sr))})}function at(_t){var Zt=_t._coordSysMgr;return p.extend(new t(_t),{getCoordinateSystems:p.bind(Zt.getCoordinateSystems,Zt),getComponentByElement:function(Nr){for(;Nr;){var Sr=Nr.__ecComponentInfo;if(Sr!=null)return _t._model.getComponent(Sr.mainType,Sr.index);Nr=Nr.parent}}})}function Ce(){this.eventInfo}Ce.prototype={constructor:Ce,normalizeQuery:function(_t){var Zt={},Nr={},Sr={};if(p.isString(_t)){var br=Z(_t);Zt.mainType=br.main||null,Zt.subType=br.sub||null}else{var hn=["Index","Name","Id"],fn={name:1,dataIndex:1,dataType:1};p.each(_t,function(ni,mi){for(var _i=!1,Hi=0;Hi<hn.length;Hi++){var aa=hn[Hi],Ra=mi.lastIndexOf(aa);if(Ra>0&&Ra===mi.length-aa.length){var it=mi.slice(0,Ra);it!=="data"&&(Zt.mainType=it,Zt[aa.toLowerCase()]=ni,_i=!0)}}fn.hasOwnProperty(mi)&&(Nr[mi]=ni,_i=!0),_i||(Sr[mi]=ni)})}return{cptQuery:Zt,dataQuery:Nr,otherQuery:Sr}},filter:function(_t,Zt,Nr){var Sr=this.eventInfo;if(!Sr)return!0;var br=Sr.targetEl,hn=Sr.packedEvent,fn=Sr.model,ni=Sr.view;if(!fn||!ni)return!0;var mi=Zt.cptQuery,_i=Zt.dataQuery;return Hi(mi,fn,"mainType")&&Hi(mi,fn,"subType")&&Hi(mi,fn,"index","componentIndex")&&Hi(mi,fn,"name")&&Hi(mi,fn,"id")&&Hi(_i,hn,"name")&&Hi(_i,hn,"dataIndex")&&Hi(_i,hn,"dataType")&&(!ni.filterForExposedEvent||ni.filterForExposedEvent(_t,Zt.otherQuery,br,hn));function Hi(aa,Ra,it,Re){return aa[it]==null||Ra[Re||it]===aa[it]}},afterTrigger:function(){this.eventInfo=null}};var ue={},Dt={},rt=[],ye=[],Xt=[],pr=[],mt={},nr={},yr={},gn={},_r=new Date-0,ur=new Date-0,zt="_echarts_instance_";function bt(_t){var Zt=0,Nr=1,Sr=2,br="__connectUpdateStatus";function hn(fn,ni){for(var mi=0;mi<fn.length;mi++){var _i=fn[mi];_i[br]=ni}}j(Dt,function(fn,ni){_t._messageCenter.on(ni,function(mi){if(gn[_t.group]&&_t[br]!==Zt){if(mi&&mi.escapeConnect)return;var _i=_t.makeActionFromEvent(mi),Hi=[];j(yr,function(aa){aa!==_t&&aa.group===_t.group&&Hi.push(aa)}),hn(Hi,Zt),j(Hi,function(aa){aa[br]!==Nr&&aa.dispatchAction(_i)}),hn(Hi,Sr)}})})}function ot(_t,Zt,Nr){var Sr=Vn(_t);if(Sr)return Sr;var br=new oe(_t,Zt,Nr);return br.id="ec_"+_r++,yr[br.id]=br,A.setAttribute(_t,zt,br.id),bt(br),br}function lr(_t){if(p.isArray(_t)){var Zt=_t;_t=null,j(Zt,function(Nr){Nr.group!=null&&(_t=Nr.group)}),_t=_t||"g_"+ur++,j(Zt,function(Nr){Nr.group=_t})}return gn[_t]=!0,_t}function jr(_t){gn[_t]=!1}var Rr=jr;function xr(_t){typeof _t=="string"?_t=yr[_t]:_t instanceof oe||(_t=Vn(_t)),_t instanceof oe&&!_t.isDisposed()&&_t.dispose()}function Vn(_t){return yr[A.getAttribute(_t,zt)]}function bn(_t){return yr[_t]}function di(_t,Zt){mt[_t]=Zt}function lt(_t){ye.push(_t)}function ct(_t,Zt){rr(rt,_t,Zt,X)}function Le(_t){Xt.push(_t)}function Ue(_t,Zt,Nr){typeof Zt=="function"&&(Nr=Zt,Zt="");var Sr=K(_t)?_t.type:[_t,_t={event:Zt}][0];_t.event=(_t.event||Sr).toLowerCase(),Zt=_t.event,F(ee.test(Sr)&&ee.test(Zt)),ue[Sr]||(ue[Sr]={action:Nr,actionInfo:_t}),Dt[Zt]=Sr}function Ye(_t,Zt){a.register(_t,Zt)}function ft(_t){var Zt=a.get(_t);if(Zt)return Zt.getDimensionsInfo?Zt.getDimensionsInfo():Zt.dimensions.slice()}function ir(_t,Zt){rr(pr,_t,Zt,re,"layout")}function Yt(_t,Zt){rr(pr,_t,Zt,ie,"visual")}function rr(_t,Zt,Nr,Sr,br){(k(Zt)||K(Zt))&&(Nr=Zt,Zt=Sr);var hn=S.wrapStageHandler(Nr,br);return hn.__prio=Zt,hn.__raw=Nr,_t.push(hn),hn}function Zr(_t,Zt){nr[_t]=Zt}function nn(_t){return e.extend(_t)}function Pn(_t){return u.extend(_t)}function qt(_t){return o.extend(_t)}function St(_t){return h.extend(_t)}function At(_t){p.$override("createCanvas",_t)}function cr(_t,Zt,Nr){D.registerMap(_t,Zt,Nr)}function or(_t){var Zt=D.retrieveMap(_t);return Zt&&Zt[0]&&{geoJson:Zt[0].geoJSON,specialAreas:Zt[0].specialAreas}}Yt(we,C),lt(r),ct(q,c),Zr("default",O),Ue({type:"highlight",event:"highlight",update:"highlight"},p.noop),Ue({type:"downplay",event:"downplay",update:"downplay"},p.noop),di("light",_),di("dark",L);var Tt={};R.version=B,R.dependencies=V,R.PRIORITY=We,R.init=ot,R.connect=lr,R.disConnect=jr,R.disconnect=Rr,R.dispose=xr,R.getInstanceByDom=Vn,R.getInstanceById=bn,R.registerTheme=di,R.registerPreprocessor=lt,R.registerProcessor=ct,R.registerPostUpdate=Le,R.registerAction=Ue,R.registerCoordinateSystem=Ye,R.getCoordinateSystemDimensions=ft,R.registerLayout=ir,R.registerVisual=Yt,R.registerLoading=Zr,R.extendComponentModel=nn,R.extendComponentView=Pn,R.extendSeriesModel=qt,R.extendChartView=St,R.setCanvasCreator=At,R.registerMap=cr,R.getMap=or,R.dataTool=Tt;var Rt=i("txkQ");(function(){for(var _t in Rt)Rt.hasOwnProperty(_t)&&(R[_t]=Rt[_t])})()},Pw59:function(U,R,i){"use strict";var y=i("q1tI"),m=i.n(y),E=Object(y.createContext)({});R.a=E},Q7if:function(U,R,i){var y=i("JEkh"),m=y.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"}}}});U.exports=m},Q9mQ:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("UADf"),p=i.n(E)},"QB+1":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("Ywus"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},QBsz:function(U,R){var i=typeof Float32Array=="undefined"?Array:Float32Array;function y(S,_){var L=new i(2);return S==null&&(S=0),_==null&&(_=0),L[0]=S,L[1]=_,L}function m(S,_){return S[0]=_[0],S[1]=_[1],S}function E(S){var _=new i(2);return _[0]=S[0],_[1]=S[1],_}function p(S,_,L){return S[0]=_,S[1]=L,S}function v(S,_,L){return S[0]=_[0]+L[0],S[1]=_[1]+L[1],S}function f(S,_,L,D){return S[0]=_[0]+L[0]*D,S[1]=_[1]+L[1]*D,S}function d(S,_,L){return S[0]=_[0]-L[0],S[1]=_[1]-L[1],S}function l(S){return Math.sqrt(t(S))}var n=l;function t(S){return S[0]*S[0]+S[1]*S[1]}var a=t;function s(S,_,L){return S[0]=_[0]*L[0],S[1]=_[1]*L[1],S}function r(S,_,L){return S[0]=_[0]/L[0],S[1]=_[1]/L[1],S}function c(S,_){return S[0]*_[0]+S[1]*_[1]}function e(S,_,L){return S[0]=_[0]*L,S[1]=_[1]*L,S}function o(S,_){var L=l(_);return L===0?(S[0]=0,S[1]=0):(S[0]=_[0]/L,S[1]=_[1]/L),S}function u(S,_){return Math.sqrt((S[0]-_[0])*(S[0]-_[0])+(S[1]-_[1])*(S[1]-_[1]))}var h=u;function g(S,_){return(S[0]-_[0])*(S[0]-_[0])+(S[1]-_[1])*(S[1]-_[1])}var A=g;function w(S,_){return S[0]=-_[0],S[1]=-_[1],S}function x(S,_,L,D){return S[0]=_[0]+D*(L[0]-_[0]),S[1]=_[1]+D*(L[1]-_[1]),S}function C(S,_,L){var D=_[0],F=_[1];return S[0]=L[0]*D+L[2]*F+L[4],S[1]=L[1]*D+L[3]*F+L[5],S}function T(S,_,L){return S[0]=Math.min(_[0],L[0]),S[1]=Math.min(_[1],L[1]),S}function O(S,_,L){return S[0]=Math.max(_[0],L[0]),S[1]=Math.max(_[1],L[1]),S}R.create=y,R.copy=m,R.clone=E,R.set=p,R.add=v,R.scaleAndAdd=f,R.sub=d,R.len=l,R.length=n,R.lenSquare=t,R.lengthSquare=a,R.mul=s,R.div=r,R.dot=c,R.scale=e,R.normalize=o,R.distance=u,R.dist=h,R.distanceSquare=g,R.distSquare=A,R.negate=w,R.lerp=x,R.applyTransform=C,R.min=T,R.max=O},"QO+J":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.createSensor=void 0;var y=E(i("NohK")),m=i("24YM");function E(v){return v&&v.__esModule?v:{default:v}}var p=function(f){var d=void 0,l=[],n=function(){getComputedStyle(f).position==="static"&&(f.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",t),t()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",m.SensorClassName),e.setAttribute("tabindex",m.SensorTabIndex),e.type="text/html",f.appendChild(e),e.data="about:blank",e},t=(0,y.default)(function(){l.forEach(function(c){c(f)})}),a=function(e){d||(d=n()),l.indexOf(e)===-1&&l.push(e)},s=function(){d&&d.parentNode&&(d.contentDocument&&d.contentDocument.defaultView.removeEventListener("resize",t),d.parentNode.removeChild(d),d=void 0,l=[])},r=function(e){var o=l.indexOf(e);o!==-1&&l.splice(o,1),l.length===0&&d&&s()};return{element:f,bind:a,destroy:s,unbind:r}};R.createSensor=p},"QQZ/":function(U,R,i){var y=i("Sq3C"),m=i("Z1HP"),E=i("Sxd8"),p=i("dt0z");function v(f,d,l){f=p(f),d=E(d);var n=d?m(f):0;return d&&n<d?y(d-n,l)+f:f}U.exports=v},QUw5:function(U,R,i){var y=i("OlYY"),m=y.extend({type:"dataZoom.select"});U.exports=m},QV2g:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=y;function y(){for(var p,v=[],f=0;f<256;f++){p=f;for(var d=0;d<8;d++)p=p&1?3988292384^p>>>1:p>>>1;v[f]=p}return v}var m=y();function E(p,v,f,d){var l=m,n=d+f;p^=-1;for(var t=d;t<n;t++)p=p>>>8^l[(p^v[t])&255];return p^-1}},QbM5:function(U,R,i){},Qe9p:function(U,R,i){var y=i("1RvN"),m={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 E(_){return _=Math.round(_),_<0?0:_>255?255:_}function p(_){return _=Math.round(_),_<0?0:_>360?360:_}function v(_){return _<0?0:_>1?1:_}function f(_){return _.length&&_.charAt(_.length-1)==="%"?E(parseFloat(_)/100*255):E(parseInt(_,10))}function d(_){return _.length&&_.charAt(_.length-1)==="%"?v(parseFloat(_)/100):v(parseFloat(_))}function l(_,L,D){return D<0?D+=1:D>1&&(D-=1),D*6<1?_+(L-_)*D*6:D*2<1?L:D*3<2?_+(L-_)*(2/3-D)*6:_}function n(_,L,D){return _+(L-_)*D}function t(_,L,D,F,j){return _[0]=L,_[1]=D,_[2]=F,_[3]=j,_}function a(_,L){return _[0]=L[0],_[1]=L[1],_[2]=L[2],_[3]=L[3],_}var s=new y(20),r=null;function c(_,L){r&&a(r,L),r=s.put(_,r||L.slice())}function e(_,L){if(!_)return;L=L||[];var D=s.get(_);if(D)return a(L,D);_=_+"";var F=_.replace(/ /g,"").toLowerCase();if(F in m)return a(L,m[F]),c(_,L),L;if(F.charAt(0)==="#"){if(F.length===4){var j=parseInt(F.substr(1),16);if(!(j>=0&&j<=4095)){t(L,0,0,0,1);return}return t(L,(j&3840)>>4|(j&3840)>>8,j&240|(j&240)>>4,j&15|(j&15)<<4,1),c(_,L),L}else if(F.length===7){var j=parseInt(F.substr(1),16);if(!(j>=0&&j<=16777215)){t(L,0,0,0,1);return}return t(L,(j&16711680)>>16,(j&65280)>>8,j&255,1),c(_,L),L}return}var k=F.indexOf("("),K=F.indexOf(")");if(k!==-1&&K+1===F.length){var Z=F.substr(0,k),B=F.substr(k+1,K-(k+1)).split(","),V=1;switch(Z){case"rgba":if(B.length!==4){t(L,0,0,0,1);return}V=d(B.pop());case"rgb":if(B.length!==3){t(L,0,0,0,1);return}return t(L,f(B[0]),f(B[1]),f(B[2]),V),c(_,L),L;case"hsla":if(B.length!==4){t(L,0,0,0,1);return}return B[3]=d(B[3]),o(B,L),c(_,L),L;case"hsl":if(B.length!==3){t(L,0,0,0,1);return}return o(B,L),c(_,L),L;default:return}}t(L,0,0,0,1);return}function o(_,L){var D=(parseFloat(_[0])%360+360)%360/360,F=d(_[1]),j=d(_[2]),k=j<=.5?j*(F+1):j+F-j*F,K=j*2-k;return L=L||[],t(L,E(l(K,k,D+1/3)*255),E(l(K,k,D)*255),E(l(K,k,D-1/3)*255),1),_.length===4&&(L[3]=_[3]),L}function u(_){if(!_)return;var L=_[0]/255,D=_[1]/255,F=_[2]/255,j=Math.min(L,D,F),k=Math.max(L,D,F),K=k-j,Z=(k+j)/2,B,V;if(K===0)B=0,V=0;else{Z<.5?V=K/(k+j):V=K/(2-k-j);var z=((k-L)/6+K/2)/K,X=((k-D)/6+K/2)/K,W=((k-F)/6+K/2)/K;L===k?B=W-X:D===k?B=1/3+z-W:F===k&&(B=2/3+X-z),B<0&&(B+=1),B>1&&(B-=1)}var q=[B*360,V,Z];return _[3]!=null&&q.push(_[3]),q}function h(_,L){var D=e(_);if(D){for(var F=0;F<3;F++)L<0?D[F]=D[F]*(1-L)|0:D[F]=(255-D[F])*L+D[F]|0,D[F]>255?D[F]=255:_[F]<0&&(D[F]=0);return S(D,D.length===4?"rgba":"rgb")}}function g(_){var L=e(_);if(L)return((1<<24)+(L[0]<<16)+(L[1]<<8)+ +L[2]).toString(16).slice(1)}function A(_,L,D){if(!(L&&L.length)||!(_>=0&&_<=1))return;D=D||[];var F=_*(L.length-1),j=Math.floor(F),k=Math.ceil(F),K=L[j],Z=L[k],B=F-j;return D[0]=E(n(K[0],Z[0],B)),D[1]=E(n(K[1],Z[1],B)),D[2]=E(n(K[2],Z[2],B)),D[3]=v(n(K[3],Z[3],B)),D}var w=A;function x(_,L,D){if(!(L&&L.length)||!(_>=0&&_<=1))return;var F=_*(L.length-1),j=Math.floor(F),k=Math.ceil(F),K=e(L[j]),Z=e(L[k]),B=F-j,V=S([E(n(K[0],Z[0],B)),E(n(K[1],Z[1],B)),E(n(K[2],Z[2],B)),v(n(K[3],Z[3],B))],"rgba");return D?{color:V,leftIndex:j,rightIndex:k,value:F}:V}var C=x;function T(_,L,D,F){if(_=e(_),_)return _=u(_),L!=null&&(_[0]=p(L)),D!=null&&(_[1]=d(D)),F!=null&&(_[2]=d(F)),S(o(_),"rgba")}function O(_,L){if(_=e(_),_&&L!=null)return _[3]=v(L),S(_,"rgba")}function S(_,L){if(!_||!_.length)return;var D=_[0]+","+_[1]+","+_[2];return(L==="rgba"||L==="hsva"||L==="hsla")&&(D+=","+_[3]),L+"("+D+")"}R.parse=e,R.lift=h,R.toHex=g,R.fastLerp=A,R.fastMapToColor=w,R.lerp=x,R.mapToColor=C,R.modifyHSL=T,R.modifyAlpha=O,R.stringify=S},Qi1f:function(U,R,i){"use strict";i.d(R,"g",function(){return c}),i.d(R,"c",function(){return e}),i.d(R,"a",function(){return u}),i.d(R,"b",function(){return h}),i.d(R,"d",function(){return g}),i.d(R,"e",function(){return A}),i.d(R,"f",function(){return x});var y=i("VTBJ"),m=i("U8pU"),E=i("u3cA"),p=i("q1tI"),v=i.n(p),f=i("Kwbf"),d=i("MNnm"),l="rc-util-key";function n(C){if(C.attachTo)return C.attachTo;var T=document.querySelector("head");return T||document.body}function t(C){var T,O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(d.a)())return null;var S=document.createElement("style");if((T=O.csp)===null||T===void 0?void 0:T.nonce){var _;S.nonce=(_=O.csp)===null||_===void 0?void 0:_.nonce}S.innerHTML=C;var L=n(O),D=L.firstChild;return O.prepend&&L.prepend?L.prepend(S):O.prepend&&D?L.insertBefore(S,D):L.appendChild(S),S}var a=new Map;function s(C,T){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=n(O);if(!a.has(S)){var _=t("",O),L=_.parentNode;a.set(S,L),L.removeChild(_)}var D=Array.from(a.get(S).children).find(function(Z){return Z.tagName==="STYLE"&&Z[l]===T});if(D){var F,j;if(((F=O.csp)===null||F===void 0?void 0:F.nonce)&&D.nonce!==((j=O.csp)===null||j===void 0?void 0:j.nonce)){var k;D.nonce=(k=O.csp)===null||k===void 0?void 0:k.nonce}return D.innerHTML!==C&&(D.innerHTML=C),D}var K=t(C,O);return K[l]=T,K}var r=i("Pw59");function c(C,T){Object(f.a)(C,"[@ant-design/icons] ".concat(T))}function e(C){return Object(m.a)(C)==="object"&&typeof C.name=="string"&&typeof C.theme=="string"&&(Object(m.a)(C.icon)==="object"||typeof C.icon=="function")}function o(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(C).reduce(function(T,O){var S=C[O];switch(O){case"class":T.className=S,delete T.class;break;default:T[O]=S}return T},{})}function u(C,T,O){return O?v.a.createElement(C.tag,Object(y.a)(Object(y.a)({key:T},o(C.attrs)),O),(C.children||[]).map(function(S,_){return u(S,"".concat(T,"-").concat(C.tag,"-").concat(_))})):v.a.createElement(C.tag,Object(y.a)({key:T},o(C.attrs)),(C.children||[]).map(function(S,_){return u(S,"".concat(T,"-").concat(C.tag,"-").concat(_))}))}function h(C){return Object(E.generate)(C)[0]}function g(C){return C?Array.isArray(C)?C:[C]:[]}var A={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},w=`
|
|
|
.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);
|
|
|
}
|
|
|
}
|
|
|
`,x=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w,O=Object(p.useContext)(r.a),S=O.csp;Object(p.useEffect)(function(){s(T,"@ant-design-icons",{prepend:!0,csp:S})},[])}},Qs3X:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("X+im"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},Qs9O:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},QuXc:function(U,R){var i=function(E){this.colorStops=E||[]};i.prototype={constructor:i,addColorStop:function(E,p){this.colorStops.push({offset:E,color:p})}};var y=i;U.exports=y},Qvb6:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("ItGF"),p=i("B9fm"),v=i("gvm7"),f=i("7aKB"),d=i("OELB"),l=i("IwbS"),n=i("Ez2D"),t=i("+TT/"),a=i("Qxkt"),s=i("F9bG"),r=i("aX7z"),c=i("/y7N"),e=i("4NO4"),o=e.getTooltipRenderMode,u=m.bind,h=m.each,g=d.parsePercent,A=new l.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=y.extendComponentView({type:"tooltip",init:function(L,D){if(E.node)return;var F=L.getComponent("tooltip"),j=F.get("renderMode");this._renderMode=o(j);var k;this._renderMode==="html"?(k=new p(D.getDom(),D,{appendToBody:F.get("appendToBody",!0)}),this._newLine="<br/>"):(k=new v(D),this._newLine=`
|
|
|
`),this._tooltipContent=k},render:function(L,D,F){if(E.node)return;this.group.removeAll(),this._tooltipModel=L,this._ecModel=D,this._api=F,this._lastDataByCoordSys=null,this._alwaysShowContent=L.get("alwaysShowContent");var j=this._tooltipContent;j.update(),j.setEnterable(L.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var L=this._tooltipModel,D=L.get("triggerOn");s.register("itemTooltip",this._api,u(function(F,j,k){D!=="none"&&(D.indexOf(F)>=0?this._tryShow(j,k):F==="leave"&&this._hide(k))},this))},_keepShow:function(){var L=this._tooltipModel,D=this._ecModel,F=this._api;if(this._lastX!=null&&this._lastY!=null&&L.get("triggerOn")!=="none"){var j=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!F.isDisposed()&&j.manuallyShowTip(L,D,F,{x:j._lastX,y:j._lastY})})}},manuallyShowTip:function(L,D,F,j){if(j.from===this.uid||E.node)return;var k=C(j,F);this._ticket="";var K=j.dataByCoordSys;if(j.tooltip&&j.x!=null&&j.y!=null){var Z=A;Z.position=[j.x,j.y],Z.update(),Z.tooltip=j.tooltip,this._tryShow({offsetX:j.x,offsetY:j.y,target:Z},k)}else if(K)this._tryShow({offsetX:j.x,offsetY:j.y,position:j.position,dataByCoordSys:j.dataByCoordSys,tooltipOption:j.tooltipOption},k);else if(j.seriesIndex!=null){if(this._manuallyAxisShowTip(L,D,F,j))return;var B=n(j,D),V=B.point[0],z=B.point[1];V!=null&&z!=null&&this._tryShow({offsetX:V,offsetY:z,position:j.position,target:B.el},k)}else j.x!=null&&j.y!=null&&(F.dispatchAction({type:"updateAxisPointer",x:j.x,y:j.y}),this._tryShow({offsetX:j.x,offsetY:j.y,position:j.position,target:F.getZr().findHover(j.x,j.y).target},k))},manuallyHideTip:function(L,D,F,j){var k=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&k.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,j.from!==this.uid&&this._hide(C(j,F))},_manuallyAxisShowTip:function(L,D,F,j){var k=j.seriesIndex,K=j.dataIndex,Z=D.getComponent("axisPointer").coordSysAxesInfo;if(k==null||K==null||Z==null)return;var B=D.getSeriesByIndex(k);if(!B)return;var V=B.getData(),L=x([V.getItemModel(K),B,(B.coordinateSystem||{}).model,L]);return L.get("trigger")!=="axis"?void 0:(F.dispatchAction({type:"updateAxisPointer",seriesIndex:k,dataIndex:K,position:j.position}),!0)},_tryShow:function(L,D){var F=L.target,j=this._tooltipModel;if(!j)return;this._lastX=L.offsetX,this._lastY=L.offsetY;var k=L.dataByCoordSys;k&&k.length?this._showAxisTooltip(k,L):F&&F.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(L,F,D)):F&&F.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(L,F,D)):(this._lastDataByCoordSys=null,this._hide(D))},_showOrMove:function(L,D){var F=L.get("showDelay");D=m.bind(D,this),clearTimeout(this._showTimout),F>0?this._showTimout=setTimeout(D,F):D()},_showAxisTooltip:function(L,D){var F=this._ecModel,j=this._tooltipModel,k=[D.offsetX,D.offsetY],K=[],Z=[],B=x([D.tooltipOption,j]),V=this._renderMode,z=this._newLine,X={};h(L,function(q){h(q.dataByAxis,function(Y){var re=F.getComponent(Y.axisDim+"Axis",Y.axisIndex),ne=Y.value,we=[];if(!re||ne==null)return;var ie=c.getValueLabel(ne,re.axis,F,Y.seriesDataIndices,Y.valueLabelOpt);m.each(Y.seriesDataIndices,function(_e){var Te=F.getSeriesByIndex(_e.seriesIndex),We=_e.dataIndexInside,Ae=Te&&Te.getDataParams(We);if(Ae.axisDim=Y.axisDim,Ae.axisIndex=Y.axisIndex,Ae.axisType=Y.axisType,Ae.axisId=Y.axisId,Ae.axisValue=r.getAxisRawValue(re.axis,ne),Ae.axisValueLabel=ie,Ae){Z.push(Ae);var je=Te.formatTooltip(We,!0,null,V),ee;if(m.isObject(je)){ee=je.html;var he=je.markers;m.merge(X,he)}else ee=je;we.push(ee)}});var me=ie;V!=="html"?K.push(we.join(z)):K.push((me?f.encodeHTML(me)+z:"")+we.join(z))})},this),K.reverse(),K=K.join(this._newLine+this._newLine);var W=D.position;this._showOrMove(B,function(){this._updateContentNotChangedOnAxis(L)?this._updatePosition(B,W,k[0],k[1],this._tooltipContent,Z):this._showTooltipContent(B,K,Z,Math.random(),k[0],k[1],W,void 0,X)})},_showSeriesItemTooltip:function(L,D,F){var j=this._ecModel,k=D.seriesIndex,K=j.getSeriesByIndex(k),Z=D.dataModel||K,B=D.dataIndex,V=D.dataType,z=Z.getData(V),X=x([z.getItemModel(B),Z,K&&(K.coordinateSystem||{}).model,this._tooltipModel]),W=X.get("trigger");if(W!=null&&W!=="item")return;var q=Z.getDataParams(B,V),Y=Z.formatTooltip(B,!1,V,this._renderMode),re,ne;m.isObject(Y)?(re=Y.html,ne=Y.markers):(re=Y,ne=null);var we="item_"+Z.name+"_"+B;this._showOrMove(X,function(){this._showTooltipContent(X,re,q,we,L.offsetX,L.offsetY,L.position,L.target,ne)}),F({type:"showTip",dataIndexInside:B,dataIndex:z.getRawIndex(B),seriesIndex:k,from:this.uid})},_showComponentItemTooltip:function(L,D,F){var j=D.tooltip;if(typeof j=="string"){var k=j;j={content:k,formatter:k}}var K=new a(j,this._tooltipModel,this._ecModel),Z=K.get("content"),B=Math.random();this._showOrMove(K,function(){this._showTooltipContent(K,Z,K.get("formatterParams")||{},B,L.offsetX,L.offsetY,L.position,D)}),F({type:"showTip",from:this.uid})},_showTooltipContent:function(L,D,F,j,k,K,Z,B,V){if(this._ticket="",!L.get("showContent")||!L.get("show"))return;var z=this._tooltipContent,X=L.get("formatter");Z=Z||L.get("position");var W=D;if(X&&typeof X=="string")W=f.formatTpl(X,F,!0);else if(typeof X=="function"){var q=u(function(Y,re){Y===this._ticket&&(z.setContent(re,V,L),this._updatePosition(L,Z,k,K,z,F,B))},this);this._ticket=j,W=X(F,j,q)}z.setContent(W,V,L),z.show(L),this._updatePosition(L,Z,k,K,z,F,B)},_updatePosition:function(L,D,F,j,k,K,Z){var B=this._api.getWidth(),V=this._api.getHeight();D=D||L.get("position");var z=k.getSize(),X=L.get("align"),W=L.get("verticalAlign"),q=Z&&Z.getBoundingRect().clone();if(Z&&q.applyTransform(Z.transform),typeof D=="function"&&(D=D([F,j],K,k.el,q,{viewSize:[B,V],contentSize:z.slice()})),m.isArray(D))F=g(D[0],B),j=g(D[1],V);else if(m.isObject(D)){D.width=z[0],D.height=z[1];var Y=t.getLayoutRect(D,{width:B,height:V});F=Y.x,j=Y.y,X=null,W=null}else if(typeof D=="string"&&Z){var re=S(D,q,z);F=re[0],j=re[1]}else{var re=T(F,j,k,B,V,X?null:20,W?null:20);F=re[0],j=re[1]}if(X&&(F-=_(X)?z[0]/2:X==="right"?z[0]:0),W&&(j-=_(W)?z[1]/2:W==="bottom"?z[1]:0),L.get("confine")){var re=O(F,j,k,B,V);F=re[0],j=re[1]}k.moveTo(F,j)},_updateContentNotChangedOnAxis:function(L){var D=this._lastDataByCoordSys,F=!!D&&D.length===L.length;return F&&h(D,function(j,k){var K=j.dataByAxis||{},Z=L[k]||{},B=Z.dataByAxis||[];F&=K.length===B.length,F&&h(K,function(V,z){var X=B[z]||{},W=V.seriesDataIndices||[],q=X.seriesDataIndices||[];F&=V.value===X.value&&V.axisType===X.axisType&&V.axisId===X.axisId&&W.length===q.length,F&&h(W,function(Y,re){var ne=q[re];F&=Y.seriesIndex===ne.seriesIndex&&Y.dataIndex===ne.dataIndex})})}),this._lastDataByCoordSys=L,!!F},_hide:function(L){this._lastDataByCoordSys=null,L({type:"hideTip",from:this.uid})},dispose:function(L,D){if(E.node)return;this._tooltipContent.dispose(),s.unregister("itemTooltip",D)}});function x(L){for(var D=L.pop();L.length;){var F=L.pop();F&&(a.isInstance(F)&&(F=F.get("tooltip",!0)),typeof F=="string"&&(F={formatter:F}),D=new a(F,D,D.ecModel))}return D}function C(L,D){return L.dispatchAction||m.bind(D.dispatchAction,D)}function T(L,D,F,j,k,K,Z){var B=F.getOuterSize(),V=B.width,z=B.height;return K!=null&&(L+V+K>j?L-=V+K:L+=K),Z!=null&&(D+z+Z>k?D-=z+Z:D+=Z),[L,D]}function O(L,D,F,j,k){var K=F.getOuterSize(),Z=K.width,B=K.height;return L=Math.min(L+Z,j)-Z,D=Math.min(D+B,k)-B,L=Math.max(L,0),D=Math.max(D,0),[L,D]}function S(L,D,F){var j=F[0],k=F[1],K=5,Z=0,B=0,V=D.width,z=D.height;switch(L){case"inside":Z=D.x+V/2-j/2,B=D.y+z/2-k/2;break;case"top":Z=D.x+V/2-j/2,B=D.y-k-K;break;case"bottom":Z=D.x+V/2-j/2,B=D.y+z+K;break;case"left":Z=D.x-j-K,B=D.y+z/2-k/2;break;case"right":Z=D.x+V+K,B=D.y+z/2-k/2}return[Z,B]}function _(L){return L==="center"||L==="middle"}U.exports=w},Qxkt:function(U,R,i){var y=i("bYtY"),m=i("ItGF"),E=i("4NO4"),p=E.makeInner,v=i("Yl7c"),f=v.enableClassExtend,d=v.enableClassCheck,l=i("OQFs"),n=i("m9t5"),t=i("/iHx"),a=i("VR9l"),s=y.mixin,r=p();function c(h,g,A){this.parentModel=g,this.ecModel=A,this.option=h}c.prototype={constructor:c,init:null,mergeOption:function(h){y.merge(this.option,h,!0)},get:function(h,g){return h==null?this.option:e(this.option,this.parsePath(h),!g&&o(this,h))},getShallow:function(h,g){var A=this.option,w=A==null?A:A[h],x=!g&&o(this,h);return w==null&&x&&(w=x.getShallow(h)),w},getModel:function(h,g){var A=h==null?this.option:e(this.option,h=this.parsePath(h)),w;return g=g||(w=o(this,h))&&w.getModel(h),new c(A,g,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var h=this.constructor;return new h(y.clone(this.option))},setReadOnly:function(h){},parsePath:function(h){return typeof h=="string"&&(h=h.split(".")),h},customizeGetParent:function(h){r(this).getParent=h},isAnimationEnabled:function(){if(!m.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function e(h,g,A){for(var w=0;w<g.length;w++){if(!g[w])continue;if(h=h&&typeof h=="object"?h[g[w]]:null,h==null)break}return h==null&&A&&(h=A.get(g)),h}function o(h,g){var A=r(h).getParent;return A?A.call(h,g):h.parentModel}f(c),d(c),s(c,l),s(c,n),s(c,t),s(c,a);var u=c;U.exports=u},QyFq:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},QzjZ:function(U,R,i){var y=i("S/Yl"),m=i("IDmD");function E(p,v){var f=[];return p.eachComponent("singleAxis",function(d,l){var n=new y(d,p,v);n.name="single_"+l,n.resize(d,v),d.coordinateSystem=n,f.push(n)}),p.eachSeries(function(d){if(d.get("coordinateSystem")==="singleAxis"){var l=p.queryComponents({mainType:"singleAxis",index:d.get("singleAxisIndex"),id:d.get("singleAxisId")})[0];d.coordinateSystem=l&&l.coordinateSystem}}),f}m.register("single",{create:E,dimensions:y.prototype.dimensions})},R4Th:function(U,R,i){var y=i("ProS"),m=i("9wZj"),E=i("yO87"),p=i("Fofx"),v=i("h8O9"),f=y.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new m(E)},render:function(d,l,n){var t=d.getData(),a=this._symbolDraw;a.updateData(t),this.group.add(a.group)},updateTransform:function(d,l,n){var t=d.getData();this.group.dirty();var a=v().reset(d);a.progress&&a.progress({start:0,end:t.count()},t),this._symbolDraw.updateLayout(t)},_updateGroupTransform:function(d){var l=d.coordinateSystem;l&&l.getRoamTransform&&(this.group.transform=p.clone(l.getRoamTransform()),this.group.decomposeTransform())},remove:function(d,l){this._symbolDraw&&this._symbolDraw.remove(l)},dispose:function(){}});U.exports=f},R9oj:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("pwpV"),p=i.n(E)},RBEP:function(U,R,i){for(var y=i("ProS"),m=i("VaxA"),E=function(){},p=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<p.length;v++)y.registerAction({type:p[v],update:"updateView"},E);y.registerAction({type:"treemapRootToNode",update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"treemap",query:f},l);function l(n,t){var a=["treemapZoomToNode","treemapRootToNode"],s=m.retrieveTargetInfo(f,a,n);if(s){var r=n.getViewRoot();r&&(f.direction=m.aboveViewRoot(r,s.node)?"rollUp":"drillDown"),n.resetViewRoot(s.node)}}})},RCxd:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="ExclamationCircleOutlined";var d=R.a=m.forwardRef(f)},RDYZ:function(U,R,i){var y=i("dMvE");function m(p){this._target=p.target,this._life=p.life||1e3,this._delay=p.delay||0,this._initialized=!1,this.loop=p.loop==null?!1:p.loop,this.gap=p.gap||0,this.easing=p.easing||"Linear",this.onframe=p.onframe,this.ondestroy=p.ondestroy,this.onrestart=p.onrestart,this._pausedTime=0,this._paused=!1}m.prototype={constructor:m,step:function(v,f){if(this._initialized||(this._startTime=v+this._delay,this._initialized=!0),this._paused){this._pausedTime+=f;return}var d=(v-this._startTime-this._pausedTime)/this._life;if(d<0)return;d=Math.min(d,1);var l=this.easing,n=typeof l=="string"?y[l]:l,t=typeof n=="function"?n(d):d;return this.fire("frame",t),d===1?this.loop?(this.restart(v),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(v){var f=(v-this._startTime-this._pausedTime)%this._life;this._startTime=v-f+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(v,f){v="on"+v,this[v]&&this[v](this._target,f)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var E=m;U.exports=E},RELg:function(U,R,i){var y=i("MFOe"),m=y.Global;U.exports={name:"oldIE-userDataStorage",write:d,read:l,each:n,remove:t,clearAll:a};var E="storejs",p=m.document,v=c(),f=(m.navigator?m.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function d(e,o){if(f)return;var u=r(e);v(function(h){h.setAttribute(u,o),h.save(E)})}function l(e){if(f)return;var o=r(e),u=null;return v(function(h){u=h.getAttribute(o)}),u}function n(e){v(function(o){for(var u=o.XMLDocument.documentElement.attributes,h=u.length-1;h>=0;h--){var g=u[h];e(o.getAttribute(g.name),g.name)}})}function t(e){var o=r(e);v(function(u){u.removeAttribute(o),u.save(E)})}function a(){v(function(e){var o=e.XMLDocument.documentElement.attributes;e.load(E);for(var u=o.length-1;u>=0;u--)e.removeAttribute(o[u].name);e.save(E)})}var s=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function r(e){return e.replace(/^\d/,"___$&").replace(s,"___")}function c(){if(!p||!p.documentElement||!p.documentElement.addBehavior)return null;var e="script",o,u,h;try{u=new ActiveXObject("htmlfile"),u.open(),u.write("<"+e+">document.w=window</"+e+'><iframe src="/favicon.ico"></iframe>'),u.close(),o=u.w.frames[0].document,h=o.createElement("div")}catch(g){h=p.createElement("div"),o=p.body}return function(g){var A=[].slice.call(arguments,0);A.unshift(h),o.appendChild(h),h.addBehavior("#default#userData"),h.load(E),g.apply(this,A),o.removeChild(h);return}}},RPvy:function(U,R,i){var y=i("ProS"),m=i("VaxA"),E="sunburstRootToNode";y.registerAction({type:E,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},l);function l(n,t){var a=m.retrieveTargetInfo(f,[E],n);if(a){var s=n.getViewRoot();s&&(f.direction=m.aboveViewRoot(s,a.node)?"rollUp":"drillDown"),n.resetViewRoot(a.node)}}});var p="sunburstHighlight";y.registerAction({type:p,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},l);function l(n,t){var a=m.retrieveTargetInfo(f,[p],n);a&&(f.highlight=a.node)}});var v="sunburstUnhighlight";y.registerAction({type:v,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},l);function l(n,t){f.unhighlight=!0}})},RSch:function(U,R,i){var y=i("IwbS"),m=i("bYtY");function E(f,d,l){y.Group.call(this),this._createPolyline(f,d,l)}var p=E.prototype;p._createPolyline=function(f,d,l){var n=f.getItemLayout(d),t=new y.Polyline({shape:{points:n}});this.add(t),this._updateCommonStl(f,d,l)},p.updateData=function(f,d,l){var n=f.hostModel,t=this.childAt(0),a={shape:{points:f.getItemLayout(d)}};y.updateProps(t,a,n,d),this._updateCommonStl(f,d,l)},p._updateCommonStl=function(f,d,l){var n=this.childAt(0),t=f.getItemModel(d),a=f.getItemVisual(d,"color"),s=l&&l.lineStyle,r=l&&l.hoverLineStyle;(!l||f.hasItemOption)&&(s=t.getModel("lineStyle").getLineStyle(),r=t.getModel("emphasis.lineStyle").getLineStyle()),n.useStyle(m.defaults({strokeNoScale:!0,fill:"none",stroke:a},s)),n.hoverStyle=r,y.setHoverStyle(this)},p.updateLayout=function(f,d){var l=this.childAt(0);l.setShape("points",f.getItemLayout(d))},m.inherits(E,y.Group);var v=E;U.exports=v},RXMa:function(U,R,i){var y=i("y+Vt"),m=y.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(p,v){var f=v.cx,d=v.cy,l=Math.PI*2;p.moveTo(f+v.r,d),p.arc(f,d,v.r,0,l,!1),p.moveTo(f+v.r0,d),p.arc(f,d,v.r0,0,l,!0)}});U.exports=m},RZPm:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("JgUQ")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FileOutlined";var l=p.forwardRef(d);R.default=l},RlCK:function(U,R,i){var y=i("ProS"),m=i("bYtY");function E(p,v,f){var d={},l=p==="toggleSelected",n;return f.eachComponent("legend",function(t){l&&n!=null?t[n?"select":"unSelect"](v.name):p==="allSelect"||p==="inverseSelect"?t[p]():(t[p](v.name),n=t.isSelected(v.name));var a=t.getData();m.each(a,function(s){var r=s.get("name");if(r===`
|
|
|
`||r==="")return;var c=t.isSelected(r);d.hasOwnProperty(r)?d[r]=d[r]&&c:d[r]=c})}),p==="allSelect"||p==="inverseSelect"?{selected:d}:{name:v.name,selected:d}}y.registerAction("legendToggleSelect","legendselectchanged",m.curry(E,"toggleSelected")),y.registerAction("legendAllSelect","legendselectall",m.curry(E,"allSelect")),y.registerAction("legendInverseSelect","legendinverseselect",m.curry(E,"inverseSelect")),y.registerAction("legendSelect","legendselected",m.curry(E,"select")),y.registerAction("legendUnSelect","legendunselected",m.curry(E,"unSelect"))},RotF:function(U,R,i){U.exports=i("LSTS")},Rx6q:function(U,R){function i(y){var m=y.getRect(),E=y.getRangeInfo();return{coordSys:{type:"calendar",x:m.x,y:m.y,width:m.width,height:m.height,cellWidth:y.getCellWidth(),cellHeight:y.getCellHeight(),rangeInfo:{start:E.start,end:E.end,weeks:E.weeks,dayCount:E.allDay}},api:{coord:function(p,v){return y.dataToPoint(p,v)}}}}U.exports=i},"S/Yl":function(U,R,i){var y=i("Zvw2"),m=i("aX7z"),E=i("+TT/"),p=E.getLayoutRect,v=i("bYtY"),f=v.each;function d(n,t,a){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(n,t,a),this.model=n}d.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:d,_init:function(n,t,a){var s=this.dimension,r=new y(s,m.createScaleByModel(n),[0,0],n.get("type"),n.get("position")),c=r.type==="category";r.onBand=c&&n.get("boundaryGap"),r.inverse=n.get("inverse"),r.orient=n.get("orient"),n.axis=r,r.model=n,r.coordinateSystem=this,this._axis=r},update:function(n,t){n.eachSeries(function(a){if(a.coordinateSystem===this){var s=a.getData();f(s.mapDimension(this.dimension,!0),function(r){this._axis.scale.unionExtentFromData(s,r)},this),m.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(n,t){this._rect=p({left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var n=this._rect,t=this._axis,a=t.isHorizontal(),s=a?[0,n.width]:[0,n.height],r=t.reverse?1:0;t.setExtent(s[r],s[1-r]),this._updateAxisTransform(t,a?n.x:n.y)},_updateAxisTransform:function(n,t){var a=n.getExtent(),s=a[0]+a[1],r=n.isHorizontal();n.toGlobalCoord=r?function(c){return c+t}:function(c){return s-c+t},n.toLocalCoord=r?function(c){return c-t}:function(c){return s-c+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(n){var t=this.getRect(),a=this.getAxis(),s=a.orient;return s==="horizontal"?a.contain(a.toLocalCoord(n[0]))&&n[1]>=t.y&&n[1]<=t.y+t.height:a.contain(a.toLocalCoord(n[1]))&&n[0]>=t.y&&n[0]<=t.y+t.height},pointToData:function(n){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(n[t.orient==="horizontal"?0:1]))]},dataToPoint:function(n){var t=this.getAxis(),a=this.getRect(),s=[],r=t.orient==="horizontal"?0:1;return n instanceof Array&&(n=n[0]),s[r]=t.toGlobalCoord(t.dataToCoord(+n)),s[1-r]=r===0?a.y+a.height/2:a.x+a.width/2,s}};var l=d;U.exports=l},"SA+Z":function(U,R,i){var y=i("wTVA"),m=i("EbDI"),E=i("ZhPi"),p=i("wkBT");function v(f){return y(f)||m(f)||E(f)||p()}U.exports=v,U.exports.__esModule=!0,U.exports.default=U.exports},"SA4+":function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("IwbS"),v=i("zYTA"),f=i("bYtY");function d(a,s,r){var c=a[1]-a[0];s=f.map(s,function(u){return{interval:[(u.interval[0]-a[0])/c,(u.interval[1]-a[0])/c]}});var e=s.length,o=0;return function(u){for(var h=o;h<e;h++){var g=s[h].interval;if(g[0]<=u&&u<=g[1]){o=h;break}}if(h===e)for(var h=o-1;h>=0;h--){var g=s[h].interval;if(g[0]<=u&&u<=g[1]){o=h;break}}return h>=0&&h<e&&r[h]}}function l(a,s){var r=a[1]-a[0];return s=[(s[0]-a[0])/r,(s[1]-a[0])/r],function(c){return c>=s[0]&&c<=s[1]}}function n(a){var s=a.dimensions;return s[0]==="lng"&&s[1]==="lat"}var t=E.extendChartView({type:"heatmap",render:function(a,s,r){var c;s.eachComponent("visualMap",function(o){o.eachTargetSeries(function(u){u===a&&(c=o)})}),this.group.removeAll(),this._incrementalDisplayable=null;var e=a.coordinateSystem;e.type==="cartesian2d"||e.type==="calendar"?this._renderOnCartesianAndCalendar(a,r,0,a.getData().count()):n(e)&&this._renderOnGeo(e,a,c,r)},incrementalPrepareRender:function(a,s,r){this.group.removeAll()},incrementalRender:function(a,s,r,c){var e=s.coordinateSystem;e&&this._renderOnCartesianAndCalendar(s,c,a.start,a.end,!0)},_renderOnCartesianAndCalendar:function(a,s,r,c,e){var o=a.coordinateSystem,u,h;if(o.type==="cartesian2d"){var g=o.getAxis("x"),A=o.getAxis("y");u=g.getBandWidth(),h=A.getBandWidth()}for(var w=this.group,x=a.getData(),C="itemStyle",T="emphasis.itemStyle",O="label",S="emphasis.label",_=a.getModel(C).getItemStyle(["color"]),L=a.getModel(T).getItemStyle(),D=a.getModel(O),F=a.getModel(S),j=o.type,k=j==="cartesian2d"?[x.mapDimension("x"),x.mapDimension("y"),x.mapDimension("value")]:[x.mapDimension("time"),x.mapDimension("value")],K=r;K<c;K++){var Z;if(j==="cartesian2d"){if(isNaN(x.get(k[2],K)))continue;var B=o.dataToPoint([x.get(k[0],K),x.get(k[1],K)]);Z=new p.Rect({shape:{x:Math.floor(Math.round(B[0])-u/2),y:Math.floor(Math.round(B[1])-h/2),width:Math.ceil(u),height:Math.ceil(h)},style:{fill:x.getItemVisual(K,"color"),opacity:x.getItemVisual(K,"opacity")}})}else{if(isNaN(x.get(k[1],K)))continue;Z=new p.Rect({z2:1,shape:o.dataToRect([x.get(k[0],K)]).contentShape,style:{fill:x.getItemVisual(K,"color"),opacity:x.getItemVisual(K,"opacity")}})}var V=x.getItemModel(K);x.hasItemOption&&(_=V.getModel(C).getItemStyle(["color"]),L=V.getModel(T).getItemStyle(),D=V.getModel(O),F=V.getModel(S));var z=a.getRawValue(K),X="-";z&&z[2]!=null&&(X=z[2]),p.setLabelStyle(_,L,D,F,{labelFetcher:a,labelDataIndex:K,defaultText:X,isRectText:!0}),Z.setStyle(_),p.setHoverStyle(Z,x.hasItemOption?L:f.extend({},L)),Z.incremental=e,e&&(Z.useHoverLayer=!0),w.add(Z),x.setItemGraphicEl(K,Z)}},_renderOnGeo:function(a,s,r,c){var e=r.targetVisuals.inRange,o=r.targetVisuals.outOfRange,u=s.getData(),h=this._hmLayer||this._hmLayer||new v;h.blurSize=s.get("blurSize"),h.pointSize=s.get("pointSize"),h.minOpacity=s.get("minOpacity"),h.maxOpacity=s.get("maxOpacity");var g=a.getViewRect().clone(),A=a.getRoamTransform();g.applyTransform(A);var w=Math.max(g.x,0),x=Math.max(g.y,0),C=Math.min(g.width+g.x,c.getWidth()),T=Math.min(g.height+g.y,c.getHeight()),O=C-w,S=T-x,_=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],L=u.mapArray(_,function(k,K,Z){var B=a.dataToPoint([k,K]);return B[0]-=w,B[1]-=x,B.push(Z),B}),D=r.getExtent(),F=r.type==="visualMap.continuous"?l(D,r.option.range):d(D,r.getPieceList(),r.option.selected);h.update(L,O,S,e.color.getNormalizer(),{inRange:e.color.getColorMapper(),outOfRange:o.color.getColorMapper()},F);var j=new p.Image({style:{width:O,height:S,x:w,y:x,image:h.canvas},silent:!0});this.group.add(j)},dispose:function(){}});U.exports=t},SA8n:function(U,R,i){var y=i("Sj9i"),m=i("QBsz"),E=i("U/Mo"),p=E.getSymbolSize,v=[],f=[],d=[],l=y.quadraticAt,n=m.distSquare,t=Math.abs;function a(r,c,e){for(var o=r[0],u=r[1],h=r[2],g=Infinity,A,w=e*e,x=.1,C=.1;C<=.9;C+=.1){v[0]=l(o[0],u[0],h[0],C),v[1]=l(o[1],u[1],h[1],C);var T=t(n(v,c)-w);T<g&&(g=T,A=C)}for(var O=0;O<32;O++){var S=A+x;f[0]=l(o[0],u[0],h[0],A),f[1]=l(o[1],u[1],h[1],A),d[0]=l(o[0],u[0],h[0],S),d[1]=l(o[1],u[1],h[1],S);var T=n(f,c)-w;if(t(T)<.01)break;var _=n(d,c)-w;x/=2,T<0?_>=0?A=A+x:A=A-x:_>=0?A=A-x:A=A+x}return A}function s(r,c){var e=[],o=y.quadraticSubdivide,u=[[],[],[]],h=[[],[]],g=[];c/=2,r.eachEdge(function(A,w){var x=A.getLayout(),C=A.getVisual("fromSymbol"),T=A.getVisual("toSymbol");x.__original||(x.__original=[m.clone(x[0]),m.clone(x[1])],x[2]&&x.__original.push(m.clone(x[2])));var O=x.__original;if(x[2]!=null){if(m.copy(u[0],O[0]),m.copy(u[1],O[2]),m.copy(u[2],O[1]),C&&C!=="none"){var S=p(A.node1),_=a(u,O[0],S*c);o(u[0][0],u[1][0],u[2][0],_,e),u[0][0]=e[3],u[1][0]=e[4],o(u[0][1],u[1][1],u[2][1],_,e),u[0][1]=e[3],u[1][1]=e[4]}if(T&&T!=="none"){var S=p(A.node2),_=a(u,O[1],S*c);o(u[0][0],u[1][0],u[2][0],_,e),u[1][0]=e[1],u[2][0]=e[2],o(u[0][1],u[1][1],u[2][1],_,e),u[1][1]=e[1],u[2][1]=e[2]}m.copy(x[0],u[0]),m.copy(x[1],u[2]),m.copy(x[2],u[1])}else{if(m.copy(h[0],O[0]),m.copy(h[1],O[1]),m.sub(g,h[1],h[0]),m.normalize(g,g),C&&C!=="none"){var S=p(A.node1);m.scaleAndAdd(h[0],h[0],g,S*c)}if(T&&T!=="none"){var S=p(A.node2);m.scaleAndAdd(h[1],h[1],g,-S*c)}m.copy(x[0],h[0]),m.copy(x[1],h[1])}})}U.exports=s},SJMd:function(U,R){/**
|
|
|
* @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 i,y,m,E=!1,p,v;window.PR_SHOULD_USE_CONTINUATION=!0;var f,d;(function(){var l=window,n=["break,continue,do,else,for,if,return,while"],t=[n,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[t,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],s=[a,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],r=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],c=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],e="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",o=[a,"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=[n,"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"],g=[n,"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"],A=[n,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],w=[s,c,r,o,u,h,g,A],x=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,C="str",T="kwd",O="com",S="typ",_="lit",L="pun",D="pln",F="tag",j="dec",k="src",K="atn",Z="atv",B="nocode",V="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function z(oe){for(var Q=0,G=!1,te=!1,xe=0,fe=oe.length;xe<fe;++xe){var Be=oe[xe];if(Be.ignoreCase)te=!0;else if(/[a-z]/i.test(Be.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){G=!0,te=!1;break}}var Ne={b:8,t:9,n:10,v:11,f:12,r:13};function de(ht){var Pe=ht.charCodeAt(0);if(Pe!==92)return Pe;var It=ht.charAt(1);return Pe=Ne[It],Pe||("0"<=It&&It<="7"?parseInt(ht.substring(1),8):It==="u"||It==="x"?parseInt(ht.substring(2),16):ht.charCodeAt(1))}function ve(ht){if(ht<32)return(ht<16?"\\x0":"\\x")+ht.toString(16);var Pe=String.fromCharCode(ht);return Pe==="\\"||Pe==="-"||Pe==="]"||Pe==="^"?"\\"+Pe:Pe}function Me(ht){var Pe=ht.substring(1,ht.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")),It=[],nt=Pe[0]==="^",Nt=["["];nt&&Nt.push("^");for(var Bt=nt?1:0,Pt=Pe.length;Bt<Pt;++Bt){var jt=Pe[Bt];if(/\\[bdsw]/i.test(jt))Nt.push(jt);else{var er=de(jt),at;Bt+2<Pt&&Pe[Bt+1]==="-"?(at=de(Pe[Bt+2]),Bt+=2):at=er,It.push([er,at]),at<65||er>122||(at<65||er>90||It.push([Math.max(65,er)|32,Math.min(at,90)|32]),at<97||er>122||It.push([Math.max(97,er)&~32,Math.min(at,122)&~32]))}}It.sort(function(rt,ye){return rt[0]-ye[0]||ye[1]-rt[1]});for(var Ce=[],ue=[],Bt=0;Bt<It.length;++Bt){var Dt=It[Bt];Dt[0]<=ue[1]+1?ue[1]=Math.max(ue[1],Dt[1]):Ce.push(ue=Dt)}for(var Bt=0;Bt<Ce.length;++Bt){var Dt=Ce[Bt];Nt.push(ve(Dt[0])),Dt[1]>Dt[0]&&(Dt[1]+1>Dt[0]&&Nt.push("-"),Nt.push(ve(Dt[1])))}return Nt.push("]"),Nt.join("")}function qe(ht){for(var Pe=ht.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")),It=Pe.length,nt=[],Nt=0,Bt=0;Nt<It;++Nt){var Pt=Pe[Nt];if(Pt==="(")++Bt;else if(Pt.charAt(0)==="\\"){var jt=+Pt.substring(1);jt&&(jt<=Bt?nt[jt]=-1:Pe[Nt]=ve(jt))}}for(var Nt=1;Nt<nt.length;++Nt)nt[Nt]===-1&&(nt[Nt]=++Q);for(var Nt=0,Bt=0;Nt<It;++Nt){var Pt=Pe[Nt];if(Pt==="(")++Bt,nt[Bt]||(Pe[Nt]="(?:");else if(Pt.charAt(0)==="\\"){var jt=+Pt.substring(1);jt&&jt<=Bt&&(Pe[Nt]="\\"+nt[jt])}}for(var Nt=0;Nt<It;++Nt)Pe[Nt]==="^"&&Pe[Nt+1]!=="^"&&(Pe[Nt]="");if(ht.ignoreCase&&G)for(var Nt=0;Nt<It;++Nt){var Pt=Pe[Nt],er=Pt.charAt(0);Pt.length>=2&&er==="["?Pe[Nt]=Me(Pt):er!=="\\"&&(Pe[Nt]=Pt.replace(/[a-zA-Z]/g,function(ue){var Dt=ue.charCodeAt(0);return"["+String.fromCharCode(Dt&~32,Dt|32)+"]"}))}return Pe.join("")}for(var gt=[],xe=0,fe=oe.length;xe<fe;++xe){var Be=oe[xe];if(Be.global||Be.multiline)throw new Error(""+Be);gt.push("(?:"+qe(Be)+")")}return new RegExp(gt.join("|"),te?"gi":"g")}function X(oe,Q){var G=/(?:^|\s)nocode(?:\s|$)/,te=[],xe=0,fe=[],Be=0;function Ne(de){var ve=de.nodeType;if(ve==1){if(G.test(de.className))return;for(var Me=de.firstChild;Me;Me=Me.nextSibling)Ne(Me);var qe=de.nodeName.toLowerCase();(qe==="br"||qe==="li")&&(te[Be]=`
|
|
|
`,fe[Be<<1]=xe++,fe[Be++<<1|1]=de)}else if(ve==3||ve==4){var gt=de.nodeValue;gt.length&&(Q?gt=gt.replace(/\r\n?/g,`
|
|
|
`):gt=gt.replace(/[ \t\r\n]+/g," "),te[Be]=gt,fe[Be<<1]=xe,xe+=gt.length,fe[Be++<<1|1]=de)}}return Ne(oe),{sourceCode:te.join("").replace(/\n$/,""),spans:fe}}function W(oe,Q,G,te,xe){if(!G)return;var fe={sourceNode:oe,pre:1,langExtension:null,numberLines:null,sourceCode:G,spans:null,basePos:Q,decorations:null};te(fe),xe.push.apply(xe,fe.decorations)}var q=/\S/;function Y(oe){for(var Q=void 0,G=oe.firstChild;G;G=G.nextSibling){var te=G.nodeType;Q=te===1?Q?oe:G:te===3&&q.test(G.nodeValue)?oe:Q}return Q===oe?void 0:Q}function re(oe,Q){var G={},te;(function(){for(var Be=oe.concat(Q),Ne=[],de={},ve=0,Me=Be.length;ve<Me;++ve){var qe=Be[ve],gt=qe[3];if(gt)for(var ht=gt.length;--ht>=0;)G[gt.charAt(ht)]=qe;var Pe=qe[1],It=""+Pe;de.hasOwnProperty(It)||(Ne.push(Pe),de[It]=null)}Ne.push(/[\0-\uffff]/),te=z(Ne)})();var xe=Q.length,fe=function Be(Ne){for(var de=Ne.sourceCode,ve=Ne.basePos,Me=Ne.sourceNode,qe=[ve,D],gt=0,ht=de.match(te)||[],Pe={},It=0,nt=ht.length;It<nt;++It){var Nt=ht[It],Bt=Pe[Nt],Pt=void 0,jt;if(typeof Bt=="string")jt=!1;else{var er=G[Nt.charAt(0)];if(er)Pt=Nt.match(er[1]),Bt=er[0];else{for(var at=0;at<xe;++at)if(er=Q[at],Pt=Nt.match(er[1]),Pt){Bt=er[0];break}Pt||(Bt=D)}jt=Bt.length>=5&&Bt.substring(0,5)==="lang-",jt&&!(Pt&&typeof Pt[1]=="string")&&(jt=!1,Bt=k),jt||(Pe[Nt]=Bt)}var Ce=gt;if(gt+=Nt.length,!jt)qe.push(ve+Ce,Bt);else{var ue=Pt[1],Dt=Nt.indexOf(ue),rt=Dt+ue.length;Pt[2]&&(rt=Nt.length-Pt[2].length,Dt=rt-ue.length);var ye=Bt.substring(5);W(Me,ve+Ce,Nt.substring(0,Dt),Be,qe),W(Me,ve+Ce+Dt,ue,We(ye,ue),qe),W(Me,ve+Ce+rt,Nt.substring(rt),Be,qe)}}Ne.decorations=qe};return fe}function ne(oe){var Q=[],G=[];oe.tripleQuotedStrings?Q.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):oe.multiLineStrings?Q.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Q.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),oe.verbatimStrings&&G.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var te=oe.hashComments;te&&(oe.cStyleComments?(te>1?Q.push([O,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Q.push([O,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),G.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Q.push([O,/^#[^\r\n]*/,null,"#"])),oe.cStyleComments&&(G.push([O,/^\/\/[^\r\n]*/,null]),G.push([O,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var xe=oe.regexLiterals;if(xe){var fe=xe>1?"":`
|
|
|
\r`,Be=fe?".":"[\\S\\s]",Ne="/(?=[^/*"+fe+"])(?:[^/\\x5B\\x5C"+fe+"]|\\x5C"+Be+"|\\x5B(?:[^\\x5C\\x5D"+fe+"]|\\x5C"+Be+")*(?:\\x5D|$))+/";G.push(["lang-regex",RegExp("^"+V+"("+Ne+")")])}var de=oe.types;de&&G.push([S,de]);var ve=(""+oe.keywords).replace(/^ | $/g,"");ve.length&&G.push([T,new RegExp("^(?:"+ve.replace(/[\s,]+/g,"|")+")\\b"),null]),Q.push([D,/^\s+/,null,` \r
|
|
|
\xA0`]);var Me="^.[^\\s\\w.$@'\"`/\\\\]*";return oe.regexLiterals&&(Me+="(?!s*/)"),G.push([_,/^@[a-z_$][a-z_$@0-9]*/i,null],[S,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[D,/^[a-z_$][a-z_$@0-9]*/i,null],[_,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[D,/^\\[\s\S]?/,null],[L,new RegExp(Me),null]),re(Q,G)}var we=ne({keywords:w,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function ie(oe,Q,G){for(var te=/(?:^|\s)nocode(?:\s|$)/,xe=/\r\n?|\n/,fe=oe.ownerDocument,Be=fe.createElement("li");oe.firstChild;)Be.appendChild(oe.firstChild);var Ne=[Be];function de(Pe){var It=Pe.nodeType;if(It==1&&!te.test(Pe.className))if(Pe.nodeName==="br")ve(Pe),Pe.parentNode&&Pe.parentNode.removeChild(Pe);else for(var nt=Pe.firstChild;nt;nt=nt.nextSibling)de(nt);else if((It==3||It==4)&&G){var Nt=Pe.nodeValue,Bt=Nt.match(xe);if(Bt){var Pt=Nt.substring(0,Bt.index);Pe.nodeValue=Pt;var jt=Nt.substring(Bt.index+Bt[0].length);if(jt){var er=Pe.parentNode;er.insertBefore(fe.createTextNode(jt),Pe.nextSibling)}ve(Pe),Pt||Pe.parentNode.removeChild(Pe)}}}function ve(Pe){for(;!Pe.nextSibling;)if(Pe=Pe.parentNode,!Pe)return;function It(Bt,Pt){var jt=Pt?Bt.cloneNode(!1):Bt,er=Bt.parentNode;if(er){var at=It(er,1),Ce=Bt.nextSibling;at.appendChild(jt);for(var ue=Ce;ue;ue=Ce)Ce=ue.nextSibling,at.appendChild(ue)}return jt}for(var nt=It(Pe.nextSibling,0),Nt;(Nt=nt.parentNode)&&Nt.nodeType===1;)nt=Nt;Ne.push(nt)}for(var Me=0;Me<Ne.length;++Me)de(Ne[Me]);Q===(Q|0)&&Ne[0].setAttribute("value",Q);var qe=fe.createElement("ol");qe.className="linenums";for(var gt=Math.max(0,Q-1|0)||0,Me=0,ht=Ne.length;Me<ht;++Me)Be=Ne[Me],Be.className="L"+(Me+gt)%10,Be.firstChild||Be.appendChild(fe.createTextNode("\xA0")),qe.appendChild(Be);oe.appendChild(qe)}function me(oe){var Q=/\bMSIE\s(\d+)/.exec(navigator.userAgent);Q=Q&&+Q[1]<=8;var G=/\n/g,te=oe.sourceCode,xe=te.length,fe=0,Be=oe.spans,Ne=Be.length,de=0,ve=oe.decorations,Me=ve.length,qe=0;ve[Me]=xe;var gt,ht;for(ht=gt=0;ht<Me;)ve[ht]!==ve[ht+2]?(ve[gt++]=ve[ht++],ve[gt++]=ve[ht++]):ht+=2;for(Me=gt,ht=gt=0;ht<Me;){for(var Pe=ve[ht],It=ve[ht+1],nt=ht+2;nt+2<=Me&&ve[nt+1]===It;)nt+=2;ve[gt++]=Pe,ve[gt++]=It,ht=nt}Me=ve.length=gt;var Nt=oe.sourceNode,Bt="";Nt&&(Bt=Nt.style.display,Nt.style.display="none");try{for(var Pt=null;de<Ne;){var jt=Be[de],er=Be[de+2]||xe,at=ve[qe+2]||xe,nt=Math.min(er,at),Ce=Be[de+1],ue;if(Ce.nodeType!==1&&(ue=te.substring(fe,nt))){Q&&(ue=ue.replace(G,"\r")),Ce.nodeValue=ue;var Dt=Ce.ownerDocument,rt=Dt.createElement("span");rt.className=ve[qe+1];var ye=Ce.parentNode;ye.replaceChild(rt,Ce),rt.appendChild(Ce),fe<er&&(Be[de+1]=Ce=Dt.createTextNode(te.substring(nt,er)),ye.insertBefore(Ce,rt.nextSibling))}fe=nt,fe>=er&&(de+=2),fe>=at&&(qe+=2)}}finally{Nt&&(Nt.style.display=Bt)}}var _e={};function Te(oe,Q){for(var G=Q.length;--G>=0;){var te=Q[G];_e.hasOwnProperty(te)?l.console&&console.warn("cannot override language handler %s",te):_e[te]=oe}}function We(oe,Q){return oe&&_e.hasOwnProperty(oe)||(oe=/^\s*</.test(Q)?"default-markup":"default-code"),_e[oe]}Te(we,["default-code"]),Te(re([],[[D,/^[^<?]+/],[j,/^<!\w[^>]*(?:>|$)/],[O,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["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"]),Te(re([[D,/^[\s]+/,null,` \r
|
|
|
`],[Z,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[F,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[K,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[L,/^[=<>\/]+/],["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"]),Te(re([],[[Z,/^[\s\S]+/]]),["uq.val"]),Te(ne({keywords:s,hashComments:!0,cStyleComments:!0,types:x}),["c","cc","cpp","cxx","cyc","m"]),Te(ne({keywords:"null,true,false"}),["json"]),Te(ne({keywords:c,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:x}),["cs"]),Te(ne({keywords:r,cStyleComments:!0}),["java"]),Te(ne({keywords:A,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Te(ne({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Te(ne({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Te(ne({keywords:g,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Te(ne({keywords:o,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Te(ne({keywords:e,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Te(re([],[[C,/^[\s\S]+/]]),["regex"]);function Ae(oe){var Q=oe.langExtension;try{var G=X(oe.sourceNode,oe.pre),te=G.sourceCode;oe.sourceCode=te,oe.spans=G.spans,oe.basePos=0,We(Q,te)(oe),me(oe)}catch(xe){l.console&&console.log(xe&&xe.stack||xe)}}function je(oe,Q,G){var te=G||!1,xe=Q||null,fe=document.createElement("div");fe.innerHTML="<pre>"+oe+"</pre>",fe=fe.firstChild,te&&ie(fe,te,!0);var Be={langExtension:xe,numberLines:te,sourceNode:fe,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Ae(Be),fe.innerHTML}function ee(oe,Q){var G=Q||document.body,te=G.ownerDocument||document;function xe(jt){return G.getElementsByTagName(jt)}for(var fe=[xe("pre"),xe("code"),xe("xmp")],Be=[],Ne=0;Ne<fe.length;++Ne)for(var de=0,ve=fe[Ne].length;de<ve;++de)Be.push(fe[Ne][de]);fe=null;var Me=Date;Me.now||(Me={now:function(){return+new Date}});var qe=0,gt=/\blang(?:uage)?-([\w.]+)(?!\S)/,ht=/\bprettyprint\b/,Pe=/\bprettyprinted\b/,It=/pre|xmp/i,nt=/^code$/i,Nt=/^(?:pre|code|xmp)$/i,Bt={};function Pt(){for(var jt=l.PR_SHOULD_USE_CONTINUATION?Me.now()+250:Infinity;qe<Be.length&&Me.now()<jt;qe++){for(var er=Be[qe],at=Bt,Ce=er;Ce=Ce.previousSibling;){var ue=Ce.nodeType,Dt=(ue===7||ue===8)&&Ce.nodeValue;if(Dt?!/^\??prettify\b/.test(Dt):ue!==3||/\S/.test(Ce.nodeValue))break;if(Dt){at={},Dt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(ot,lr,jr){at[lr]=jr});break}}var rt=er.className;if((at!==Bt||ht.test(rt))&&!Pe.test(rt)){for(var ye=!1,Xt=er.parentNode;Xt;Xt=Xt.parentNode){var pr=Xt.tagName;if(Nt.test(pr)&&Xt.className&&ht.test(Xt.className)){ye=!0;break}}if(!ye){er.className+=" prettyprinted";var mt=at.lang;if(!mt){mt=rt.match(gt);var nr;!mt&&(nr=Y(er))&&nt.test(nr.tagName)&&(mt=nr.className.match(gt)),mt&&(mt=mt[1])}var yr;if(It.test(er.tagName))yr=1;else{var gn=er.currentStyle,_r=te.defaultView,ur=gn?gn.whiteSpace:_r&&_r.getComputedStyle?_r.getComputedStyle(er,null).getPropertyValue("white-space"):0;yr=ur&&ur.substring(0,3)==="pre"}var zt=at.linenums;(zt=zt==="true"||+zt)||(zt=rt.match(/\blinenums\b(?::(\d+))?/),zt=zt?zt[1]&&zt[1].length?+zt[1]:!0:!1),zt&&ie(er,zt,yr);var bt={langExtension:mt,sourceNode:er,numberLines:zt,pre:yr,sourceCode:null,basePos:null,spans:null,decorations:null};Ae(bt)}}}qe<Be.length?l.setTimeout(Pt,250):typeof oe=="function"&&oe()}Pt()}var he=l.PR={createSimpleLexer:re,registerLangHandler:Te,sourceDecorator:ne,PR_ATTRIB_NAME:K,PR_ATTRIB_VALUE:Z,PR_COMMENT:O,PR_DECLARATION:j,PR_KEYWORD:T,PR_LITERAL:_,PR_NOCODE:B,PR_PLAIN:D,PR_PUNCTUATION:L,PR_SOURCE:k,PR_STRING:C,PR_TAG:F,PR_TYPE:S,prettyPrintOne:E?l.prettyPrintOne=je:f=je,prettyPrint:d=E?l.prettyPrint=ee:d=ee},Ze=l.define;typeof Ze=="function"&&Ze.amd&&Ze("google-code-prettify",[],function(){return he})})()},SKnc:function(U,R,i){var y=i("bYtY"),m=i("QuXc"),E=function(f,d,l,n,t,a){this.x=f==null?0:f,this.y=d==null?0:d,this.x2=l==null?1:l,this.y2=n==null?0:n,this.type="linear",this.global=a||!1,m.call(this,t)};E.prototype={constructor:E},y.inherits(E,m);var p=E;U.exports=p},"SKx+":function(U,R,i){var y=i("ProS"),m=y.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}}}),E=m;U.exports=E},SMc4:function(U,R,i){var y=i("bYtY"),m=i("bLfw"),E=i("nkfE"),p=i("ICMv"),v=m.extend({type:"cartesian2dAxis",axis:null,init:function(){v.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){v.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){v.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function f(n,t){return t.type||(t.data?"category":"value")}y.merge(v.prototype,p);var d={offset:0};E("x",v,f,d),E("y",v,f,d);var l=v;U.exports=l},SRve:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},SUKs:function(U,R,i){var y=i("LPTA"),m=y.debugMode,E=function(){};m===1&&(E=console.error);var p=E;U.exports=p},SZEN:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.clientToElement=y;function y(m,E,p){var v=p.getBoundingClientRect(),f={x:0,y:0};return m<v.left?f.x=0:m>=v.right?f.x=v.width-1:f.x=m-v.left,E<v.top?f.y=0:E>=v.bottom?f.y=v.height-1:f.y=E-v.top,f}},Sdc0:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i("rePB"),d=i("ODXe"),l=i("Ff2n"),n=i("TSYQ"),t=i.n(n),a=i("6cGi"),s=i("4IlW"),r=v.forwardRef(function(T,O){var S,_=T.prefixCls,L=_===void 0?"rc-switch":_,D=T.className,F=T.checked,j=T.defaultChecked,k=T.disabled,K=T.loadingIcon,Z=T.checkedChildren,B=T.unCheckedChildren,V=T.onClick,z=T.onChange,X=T.onKeyDown,W=Object(l.a)(T,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),q=Object(a.a)(!1,{value:F,defaultValue:j}),Y=Object(d.a)(q,2),re=Y[0],ne=Y[1];function we(Te,We){var Ae=re;return k||(Ae=Te,ne(Ae),z==null||z(Ae,We)),Ae}function ie(Te){Te.which===s.a.LEFT?we(!1,Te):Te.which===s.a.RIGHT&&we(!0,Te),X==null||X(Te)}function me(Te){var We=we(!re,Te);V==null||V(We,Te)}var _e=t()(L,D,(S={},Object(f.a)(S,"".concat(L,"-checked"),re),Object(f.a)(S,"".concat(L,"-disabled"),k),S));return v.createElement("button",Object.assign({},W,{type:"button",role:"switch","aria-checked":re,disabled:k,className:_e,ref:O,onKeyDown:ie,onClick:me}),K,v.createElement("span",{className:"".concat(L,"-inner")},re?Z:B))});r.displayName="Switch";var c=r,e=i("gZBC"),o=i.n(e),u=i("g0mS"),h=i("H84U"),g=i("3Nzz"),A=i("uaoM"),w=function(T,O){var S={};for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&O.indexOf(_)<0&&(S[_]=T[_]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,_=Object.getOwnPropertySymbols(T);L<_.length;L++)O.indexOf(_[L])<0&&Object.prototype.propertyIsEnumerable.call(T,_[L])&&(S[_[L]]=T[_[L]]);return S},x=v.forwardRef(function(T,O){var S,_=T.prefixCls,L=T.size,D=T.loading,F=T.className,j=F===void 0?"":F,k=T.disabled,K=w(T,["prefixCls","size","loading","className","disabled"]);Object(A.a)("checked"in K||!("value"in K),"Switch","`value` is not a valid prop, do you mean `checked`?");var Z=v.useContext(h.b),B=Z.getPrefixCls,V=Z.direction,z=v.useContext(g.b),X=B("switch",_),W=v.createElement("div",{className:"".concat(X,"-handle")},D&&v.createElement(o.a,{className:"".concat(X,"-loading-icon")})),q=t()(j,(S={},p()(S,"".concat(X,"-small"),(L||z)==="small"),p()(S,"".concat(X,"-loading"),D),p()(S,"".concat(X,"-rtl"),V==="rtl"),S));return v.createElement(u.a,{insertExtraNode:!0},v.createElement(c,m()({},K,{prefixCls:X,className:q,disabled:k||D,ref:O,loadingIcon:W})))});x.__ANT_SWITCH=!0,x.displayName="Switch";var C=R.a=x},SehX:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("2B6p"),p=E.updateCenterAndZoom;y.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(v,f){var d=v.componentType||"series";f.eachComponent({mainType:d,query:v},function(l){var n=l.coordinateSystem;if(n.type!=="geo")return;var t=p(n,v,l.get("scaleLimit"));l.setCenter&&l.setCenter(t.center),l.setZoom&&l.setZoom(t.zoom),d==="series"&&m.each(l.seriesGroup,function(a){a.setCenter(t.center),a.setZoom(t.zoom)})})})},SgGq:function(U,R,i){var y=i("bYtY"),m=i("H6uX"),E=i("YH21"),p=i("pP6R");function v(e){this.pointerChecker,this._zr=e,this._opt={};var o=y.bind,u=o(f,this),h=o(d,this),g=o(l,this),A=o(n,this),w=o(t,this);m.call(this),this.setPointerChecker=function(x){this.pointerChecker=x},this.enable=function(x,C){this.disable(),this._opt=y.defaults(y.clone(C)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),x==null&&(x=!0),(x===!0||x==="move"||x==="pan")&&(e.on("mousedown",u),e.on("mousemove",h),e.on("mouseup",g)),(x===!0||x==="scale"||x==="zoom")&&(e.on("mousewheel",A),e.on("pinch",w))},this.disable=function(){e.off("mousedown",u),e.off("mousemove",h),e.off("mouseup",g),e.off("mousewheel",A),e.off("pinch",w)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}y.mixin(v,m);function f(e){if(E.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)return;var o=e.offsetX,u=e.offsetY;this.pointerChecker&&this.pointerChecker(e,o,u)&&(this._x=o,this._y=u,this._dragging=!0)}function d(e){if(!this._dragging||!r("moveOnMouseMove",e,this._opt)||e.gestureEvent==="pinch"||p.isTaken(this._zr,"globalPan"))return;var o=e.offsetX,u=e.offsetY,h=this._x,g=this._y,A=o-h,w=u-g;this._x=o,this._y=u,this._opt.preventDefaultMouseMove&&E.stop(e.event),s(this,"pan","moveOnMouseMove",e,{dx:A,dy:w,oldX:h,oldY:g,newX:o,newY:u})}function l(e){E.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function n(e){var o=r("zoomOnMouseWheel",e,this._opt),u=r("moveOnMouseWheel",e,this._opt),h=e.wheelDelta,g=Math.abs(h),A=e.offsetX,w=e.offsetY;if(h===0||!o&&!u)return;if(o){var x=g>3?1.4:g>1?1.2:1.1,C=h>0?x:1/x;a(this,"zoom","zoomOnMouseWheel",e,{scale:C,originX:A,originY:w})}if(u){var T=Math.abs(h),O=(h>0?1:-1)*(T>3?.4:T>1?.15:.05);a(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:O,originX:A,originY:w})}}function t(e){if(p.isTaken(this._zr,"globalPan"))return;var o=e.pinchScale>1?1.1:1/1.1;a(this,"zoom",null,e,{scale:o,originX:e.pinchX,originY:e.pinchY})}function a(e,o,u,h,g){e.pointerChecker&&e.pointerChecker(h,g.originX,g.originY)&&(E.stop(h.event),s(e,o,u,h,g))}function s(e,o,u,h,g){g.isAvailableBehavior=y.bind(r,null,u,h),e.trigger(o,g)}function r(e,o,u){var h=u[e];return!e||h&&(!y.isString(h)||o.event[h+"Key"])}var c=v;U.exports=c},SgaC:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function m(v,f){for(var d=0;d<f.length;d++){var l=f[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(v,l.key,l)}}function E(v,f,d){return f&&m(v.prototype,f),d&&m(v,d),v}var p=function(){function v(){y(this,v),this._subrects=0}return E(v,[{key:"decodeRect",value:function(d,l,n,t,a,s,r){if(this._subrects===0){if(a.rQwait("RRE",4+4))return!1;this._subrects=a.rQshift32();var c=a.rQshiftBytes(4);s.fillRect(d,l,n,t,c)}for(;this._subrects>0;){if(a.rQwait("RRE",4+8))return!1;var e=a.rQshiftBytes(4),o=a.rQshift16(),u=a.rQshift16(),h=a.rQshift16(),g=a.rQshift16();s.fillRect(d+o,l+u,h,g,e),this._subrects--}return!0}}]),v}();R.default=p},Sj0X:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("XuBP")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DownOutlined";var l=p.forwardRef(d);R.default=l},Sj9i:function(U,R,i){var y=i("QBsz"),m=y.create,E=y.distSquare,p=Math.pow,v=Math.sqrt,f=1e-8,d=1e-4,l=v(3),n=1/3,t=m(),a=m(),s=m();function r(_){return _>-f&&_<f}function c(_){return _>f||_<-f}function e(_,L,D,F,j){var k=1-j;return k*k*(k*_+3*j*L)+j*j*(j*F+3*k*D)}function o(_,L,D,F,j){var k=1-j;return 3*(((L-_)*k+2*(D-L)*j)*k+(F-D)*j*j)}function u(_,L,D,F,j,k){var K=F+3*(L-D)-_,Z=3*(D-L*2+_),B=3*(L-_),V=_-j,z=Z*Z-3*K*B,X=Z*B-9*K*V,W=B*B-3*Z*V,q=0;if(r(z)&&r(X))if(r(Z))k[0]=0;else{var Y=-B/Z;Y>=0&&Y<=1&&(k[q++]=Y)}else{var re=X*X-4*z*W;if(r(re)){var ne=X/z,Y=-Z/K+ne,we=-ne/2;Y>=0&&Y<=1&&(k[q++]=Y),we>=0&&we<=1&&(k[q++]=we)}else if(re>0){var ie=v(re),me=z*Z+1.5*K*(-X+ie),_e=z*Z+1.5*K*(-X-ie);me<0?me=-p(-me,n):me=p(me,n),_e<0?_e=-p(-_e,n):_e=p(_e,n);var Y=(-Z-(me+_e))/(3*K);Y>=0&&Y<=1&&(k[q++]=Y)}else{var Te=(2*z*Z-3*K*X)/(2*v(z*z*z)),We=Math.acos(Te)/3,Ae=v(z),je=Math.cos(We),Y=(-Z-2*Ae*je)/(3*K),we=(-Z+Ae*(je+l*Math.sin(We)))/(3*K),ee=(-Z+Ae*(je-l*Math.sin(We)))/(3*K);Y>=0&&Y<=1&&(k[q++]=Y),we>=0&&we<=1&&(k[q++]=we),ee>=0&&ee<=1&&(k[q++]=ee)}}return q}function h(_,L,D,F,j){var k=6*D-12*L+6*_,K=9*L+3*F-3*_-9*D,Z=3*L-3*_,B=0;if(r(K)){if(c(k)){var V=-Z/k;V>=0&&V<=1&&(j[B++]=V)}}else{var z=k*k-4*K*Z;if(r(z))j[0]=-k/(2*K);else if(z>0){var X=v(z),V=(-k+X)/(2*K),W=(-k-X)/(2*K);V>=0&&V<=1&&(j[B++]=V),W>=0&&W<=1&&(j[B++]=W)}}return B}function g(_,L,D,F,j,k){var K=(L-_)*j+_,Z=(D-L)*j+L,B=(F-D)*j+D,V=(Z-K)*j+K,z=(B-Z)*j+Z,X=(z-V)*j+V;k[0]=_,k[1]=K,k[2]=V,k[3]=X,k[4]=X,k[5]=z,k[6]=B,k[7]=F}function A(_,L,D,F,j,k,K,Z,B,V,z){var X,W=.005,q=Infinity,Y,re,ne,we;t[0]=B,t[1]=V;for(var ie=0;ie<1;ie+=.05)a[0]=e(_,D,j,K,ie),a[1]=e(L,F,k,Z,ie),ne=E(t,a),ne<q&&(X=ie,q=ne);q=Infinity;for(var me=0;me<32&&!(W<d);me++)Y=X-W,re=X+W,a[0]=e(_,D,j,K,Y),a[1]=e(L,F,k,Z,Y),ne=E(a,t),Y>=0&&ne<q?(X=Y,q=ne):(s[0]=e(_,D,j,K,re),s[1]=e(L,F,k,Z,re),we=E(s,t),re<=1&&we<q?(X=re,q=we):W*=.5);return z&&(z[0]=e(_,D,j,K,X),z[1]=e(L,F,k,Z,X)),v(q)}function w(_,L,D,F){var j=1-F;return j*(j*_+2*F*L)+F*F*D}function x(_,L,D,F){return 2*((1-F)*(L-_)+F*(D-L))}function C(_,L,D,F,j){var k=_-2*L+D,K=2*(L-_),Z=_-F,B=0;if(r(k)){if(c(K)){var V=-Z/K;V>=0&&V<=1&&(j[B++]=V)}}else{var z=K*K-4*k*Z;if(r(z)){var V=-K/(2*k);V>=0&&V<=1&&(j[B++]=V)}else if(z>0){var X=v(z),V=(-K+X)/(2*k),W=(-K-X)/(2*k);V>=0&&V<=1&&(j[B++]=V),W>=0&&W<=1&&(j[B++]=W)}}return B}function T(_,L,D){var F=_+D-2*L;return F===0?.5:(_-L)/F}function O(_,L,D,F,j){var k=(L-_)*F+_,K=(D-L)*F+L,Z=(K-k)*F+k;j[0]=_,j[1]=k,j[2]=Z,j[3]=Z,j[4]=K,j[5]=D}function S(_,L,D,F,j,k,K,Z,B){var V,z=.005,X=Infinity;t[0]=K,t[1]=Z;for(var W=0;W<1;W+=.05){a[0]=w(_,D,j,W),a[1]=w(L,F,k,W);var q=E(t,a);q<X&&(V=W,X=q)}X=Infinity;for(var Y=0;Y<32&&!(z<d);Y++){var re=V-z,ne=V+z;a[0]=w(_,D,j,re),a[1]=w(L,F,k,re);var q=E(a,t);if(re>=0&&q<X)V=re,X=q;else{s[0]=w(_,D,j,ne),s[1]=w(L,F,k,ne);var we=E(s,t);ne<=1&&we<X?(V=ne,X=we):z*=.5}}return B&&(B[0]=w(_,D,j,V),B[1]=w(L,F,k,V)),v(X)}R.cubicAt=e,R.cubicDerivativeAt=o,R.cubicRootAt=u,R.cubicExtrema=h,R.cubicSubdivide=g,R.cubicProjectPoint=A,R.quadraticAt=w,R.quadraticDerivativeAt=x,R.quadraticRootAt=C,R.quadraticExtremum=T,R.quadraticSubdivide=O,R.quadraticProjectPoint=S},Sp2Z:function(U,R,i){var y=i("3LNs"),m=i("/y7N"),E=i("AVZG"),p=i("Znkb"),v=y.extend({makeElOption:function(t,a,s,r,c){var e=s.axis,o=e.grid,u=r.get("type"),h=f(o,e).getOtherAxis(e).getGlobalExtent(),g=e.toGlobalCoord(e.dataToCoord(a,!0));if(u&&u!=="none"){var A=m.buildElStyle(r),w=d[u](e,g,h);w.style=A,t.graphicKey=w.type,t.pointer=w}var x=E.layout(o.model,s);m.buildCartesianSingleLabelElOption(a,t,x,s,r,c)},getHandleTransform:function(t,a,s){var r=E.layout(a.axis.grid.model,a,{labelInside:!1});return r.labelMargin=s.get("handle.margin"),{position:m.getTransformedPosition(a.axis,t,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,a,s,r){var c=s.axis,e=c.grid,o=c.getGlobalExtent(!0),u=f(e,c).getOtherAxis(c).getGlobalExtent(),h=c.dim==="x"?0:1,g=t.position;g[h]+=a[h],g[h]=Math.min(o[1],g[h]),g[h]=Math.max(o[0],g[h]);var A=(u[1]+u[0])/2,w=[A,A];w[h]=g[h];var x=[{verticalAlign:"middle"},{align:"center"}];return{position:g,rotation:t.rotation,cursorPoint:w,tooltipOption:x[h]}}});function f(t,a){var s={};return s[a.dim+"AxisIndex"]=a.index,t.getCartesian(s)}var d={line:function(t,a,s){var r=m.makeLineShape([a,s[0]],[a,s[1]],l(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,a,s){var r=Math.max(1,t.getBandWidth()),c=s[1]-s[0];return{type:"Rect",shape:m.makeRectShape([a-r/2,s[0]],[r,c],l(t))}}};function l(t){return t.dim==="x"?0:1}p.registerAxisPointerClass("CartesianAxisPointer",v);var n=v;U.exports=n},Sq3C:function(U,R,i){var y=i("sKgW"),m=i("zoYe"),E=i("wy8a"),p=i("quyA"),v=i("Z1HP"),f=i("Em2t"),d=Math.ceil;function l(n,t){t=t===void 0?" ":m(t);var a=t.length;if(a<2)return a?y(t,n):t;var s=y(t,d(n/v(t)));return p(t)?E(f(s),0,n).join(""):s.slice(0,n)}U.exports=l},SqI9:function(U,R,i){var y=i("y+Vt"),m=i("iXp4"),E=y.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:m(y.prototype.brush),buildPath:function(v,f){var d=f.cx,l=f.cy,n=Math.max(f.r0||0,0),t=Math.max(f.r,0),a=f.startAngle,s=f.endAngle,r=f.clockwise,c=Math.cos(a),e=Math.sin(a);v.moveTo(c*n+d,e*n+l),v.lineTo(c*t+d,e*t+l),v.arc(d,l,t,a,s,!r),v.lineTo(Math.cos(s)*n+d,Math.sin(s)*n+l),n!==0&&v.arc(d,l,n,s,a,r),v.closePath()}});U.exports=E},SrGk:function(U,R,i){var y=i("hydK"),m=y.createElement,E=i("bYtY"),p=i("y+Vt"),v=i("Dagg"),f=i("dqUG"),d=i("P47w"),l=d.path,n=d.image,t=d.text,a="0",s="1";function r(e,o,u,h,g){this._zrId=e,this._svgRoot=o,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=h,this._domName=g||"_dom",this.nextId=0}r.prototype.createElement=m,r.prototype.getDefs=function(e){var o=this._svgRoot,u=this._svgRoot.getElementsByTagName("defs");return u.length===0?e?(u=o.insertBefore(this.createElement("defs"),o.firstChild),u.contains||(u.contains=function(h){var g=u.children;if(!g)return!1;for(var A=g.length-1;A>=0;--A)if(g[A]===h)return!0;return!1}),u):null:u[0]},r.prototype.update=function(e,o){if(!e)return;var u=this.getDefs(!1);if(e[this._domName]&&u.contains(e[this._domName]))typeof o=="function"&&o(e);else{var h=this.add(e);h&&(e[this._domName]=h)}},r.prototype.addDom=function(e){var o=this.getDefs(!0);o.appendChild(e)},r.prototype.removeDom=function(e){var o=this.getDefs(!1);o&&e[this._domName]&&(o.removeChild(e[this._domName]),e[this._domName]=null)},r.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var o=[];return E.each(this._tagNames,function(u){var h=e.getElementsByTagName(u);o=o.concat([].slice.call(h))}),o},r.prototype.markAllUnused=function(){var e=this.getDoms(),o=this;E.each(e,function(u){u[o._markLabel]=a})},r.prototype.markUsed=function(e){e&&(e[this._markLabel]=s)},r.prototype.removeUnused=function(){var e=this.getDefs(!1);if(!e)return;var o=this.getDoms(),u=this;E.each(o,function(h){h[u._markLabel]!==s&&e.removeChild(h)})},r.prototype.getSvgProxy=function(e){return e instanceof p?l:e instanceof v?n:e instanceof f?t:l},r.prototype.getTextSvgElement=function(e){return e.__textSvgEl},r.prototype.getSvgElement=function(e){return e.__svgEl};var c=r;U.exports=c},Swgg:function(U,R,i){var y=i("fc+c"),m=y.extend({type:"dataZoom.select"});U.exports=m},Sxd8:function(U,R,i){var y=i("ZCgT");function m(E){var p=y(E),v=p%1;return p===p?v?p-v:p:0}U.exports=m},T1rO:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("zdCA"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},T4UG:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("ItGF"),v=i("7aKB"),f=v.formatTime,d=v.encodeHTML,l=v.addCommas,n=v.getTooltipMarker,t=i("4NO4"),a=i("bLfw"),s=i("5Hur"),r=i("OKJ2"),c=i("+TT/"),e=c.getLayoutParams,o=c.mergeLayoutParam,u=i("9H2F"),h=u.createTask,g=i("D5nY"),A=g.prepareSource,w=g.getSource,x=i("KxfA"),C=x.retrieveRawValue,T=t.makeInner(),O=a.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(B,V,z,X){this.seriesIndex=this.componentIndex,this.dataTask=h({count:L,reset:D}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(B,z),A(this);var W=this.getInitialData(B,z);j(W,this),this.dataTask.context.data=W,T(this).dataBeforeProcessed=W,S(this)},mergeDefaultAndTheme:function(B,V){var z=this.layoutMode,X=z?e(B):{},W=this.subType;a.hasClass(W)&&(W+="Series"),E.merge(B,V.getTheme().get(this.subType)),E.merge(B,this.getDefaultOption()),t.defaultEmphasis(B,"label",["show"]),this.fillDataTextStyle(B.data),z&&o(B,X,z)},mergeOption:function(B,V){B=E.merge(this.option,B,!0),this.fillDataTextStyle(B.data);var z=this.layoutMode;z&&o(this.option,B,z),A(this);var X=this.getInitialData(B,V);j(X,this),this.dataTask.dirty(),this.dataTask.context.data=X,T(this).dataBeforeProcessed=X,S(this)},fillDataTextStyle:function(B){if(B&&!E.isTypedArray(B))for(var V=["show"],z=0;z<B.length;z++)B[z]&&B[z].label&&t.defaultEmphasis(B[z],"label",V)},getInitialData:function(){},appendData:function(B){var V=this.getRawData();V.appendData(B.data)},getData:function(B){var V=K(this);if(V){var z=V.context.data;return B==null?z:z.getLinkedData(B)}else return T(this).data},setData:function(B){var V=K(this);if(V){var z=V.context;z.data!==B&&V.modifyOutputEnd&&V.setOutputEnd(B.count()),z.outputData=B,V!==this.dataTask&&(z.data=B)}T(this).data=B},getSource:function(){return w(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var B=this.coordinateSystem;return B&&B.getBaseAxis&&B.getBaseAxis()},formatTooltip:function(B,V,z,X){var W=this;X=X||"html";var q=X==="html"?"<br/>":`
|
|
|
`,Y=X==="richText",re={},ne=0;function we(fe){var Be=E.reduce(fe,function(qe,gt,ht){var Pe=me.getDimensionInfo(ht);return qe|=Pe&&Pe.tooltip!==!1&&Pe.displayName!=null},0),Ne=[];_e.length?E.each(_e,function(qe){de(C(me,B,qe),qe)}):E.each(fe,de);function de(qe,gt){var ht=me.getDimensionInfo(gt);if(!ht||ht.otherDims.tooltip===!1)return;var Pe=ht.type,It="sub"+W.seriesIndex+"at"+ne,nt=n({color:je,type:"subItem",renderMode:X,markerId:It}),Nt=typeof nt=="string"?nt:nt.content,Bt=(Be?Nt+d(ht.displayName||"-")+": ":"")+d(Pe==="ordinal"?qe+"":Pe==="time"?V?"":f("yyyy/MM/dd hh:mm:ss",qe):l(qe));Bt&&Ne.push(Bt),Y&&(re[It]=je,++ne)}var ve=Be?Y?`
|
|
|
`:"<br/>":"",Me=ve+Ne.join(ve||", ");return{renderMode:X,content:Me,style:re}}function ie(fe){return{renderMode:X,content:d(l(fe)),style:re}}var me=this.getData(),_e=me.mapDimension("defaultedTooltip",!0),Te=_e.length,We=this.getRawValue(B),Ae=E.isArray(We),je=me.getItemVisual(B,"color");E.isObject(je)&&je.colorStops&&(je=(je.colorStops[0]||{}).color),je=je||"transparent";var ee=Te>1||Ae&&!Te?we(We):ie(Te?C(me,B,_e[0]):Ae?We[0]:We),he=ee.content,Ze=W.seriesIndex+"at"+ne,oe=n({color:je,type:"item",renderMode:X,markerId:Ze});re[Ze]=je,++ne;var Q=me.getName(B),G=this.name;t.isNameSpecified(this)||(G=""),G=G?d(G)+(V?": ":q):"";var te=typeof oe=="string"?oe:oe.content,xe=V?te+G+he:G+te+(Q?d(Q)+": "+he:he);return{html:xe,markers:re}},isAnimationEnabled:function(){if(p.node)return!1;var B=this.getShallow("animation");return B&&(this.getData().count()>this.getShallow("animationThreshold")&&(B=!1)),B},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(B,V,z){var X=this.ecModel,W=s.getColorFromPalette.call(this,B,V,z);return W||(W=X.getColorFromPalette(B,V,z)),W},coordDimToDataDim:function(B){return this.getRawData().mapDimension(B,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});E.mixin(O,r),E.mixin(O,s);function S(B){var V=B.name;t.isNameSpecified(B)||(B.name=_(B)||V)}function _(B){var V=B.getRawData(),z=V.mapDimension("seriesName",!0),X=[];return E.each(z,function(W){var q=V.getDimensionInfo(W);q.displayName&&X.push(q.displayName)}),X.join(" ")}function L(B){return B.model.getRawData().count()}function D(B){var V=B.model;return V.setData(V.getRawData().cloneShallow()),F}function F(B,V){V.outputData&&B.end>V.outputData.count()&&V.model.getRawData().cloneShallow(V.outputData)}function j(B,V){E.each(B.CHANGABLE_METHODS,function(z){B.wrapMethod(z,E.curry(k,V))})}function k(B){var V=K(B);V&&V.setOutputEnd(this.count())}function K(B){var V=(B.ecModel||{}).scheduler,z=V&&V.getPipeline(B.uid);if(z){var X=z.currentTask;if(X){var W=X.agentStubMap;W&&(X=W.get(B.uid))}return X}}var Z=O;U.exports=Z},T6xi:function(U,R,i){var y=i("YgsL"),m=i("nCxF");function E(p,v,f){var d=v.points,l=v.smooth;if(d&&d.length>=2){if(l&&l!=="spline"){var n=m(d,l,f,v.smoothConstraint);p.moveTo(d[0][0],d[0][1]);for(var t=d.length,a=0;a<(f?t:t-1);a++){var s=n[a*2],r=n[a*2+1],c=d[(a+1)%t];p.bezierCurveTo(s[0],s[1],r[0],r[1],c[0],c[1])}}else{l==="spline"&&(d=y(d,f)),p.moveTo(d[0][0],d[0][1]);for(var a=1,e=d.length;a<e;a++)p.lineTo(d[a][0],d[a][1])}f&&p.closePath()}}R.buildPath=E},TIY9:function(U,R,i){var y=i("bYtY"),m=y.each,E=i("vafp"),p=i("4NO4"),v=p.makeInner,f=i("Mgri"),d=i("F5Ls"),l=i("a9QJ"),n=i("p/La"),t=v(),a={load:function(r,c,e){var o=t(c).parsed;if(o)return o;var u=c.specialAreas||{},h=c.geoJSON,g;try{g=h?E(h,e):[]}catch(A){throw new Error(`Invalid geoJson format
|
|
|
`+A.message)}return f(r,g),m(g,function(A){var w=A.name;d(r,A),l(r,A),n(r,A);var x=u[w];x&&A.transformTo(x.left,x.top,x.width,x.height)}),t(c).parsed={regions:g,boundingRect:s(g)}}};function s(r){for(var c,e=0;e<r.length;e++){var o=r[e].getBoundingRect();c=c||o.clone(),c.union(o)}return c}U.exports=a},TJmX:function(U,R,i){var y=i("zM3Q"),m=["itemStyle","borderColor"],E=["itemStyle","borderColor0"],p=["itemStyle","color"],v=["itemStyle","color0"],f={seriesType:"candlestick",plan:y(),performRawSeries:!0,reset:function(d,l){var n=d.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:s(1,d),colorN:s(-1,d),borderColorP:r(1,d),borderColorN:r(-1,d)}),l.isSeriesFiltered(d))return;var t=d.pipelineContext.large;return!t&&{progress:a};function a(c,e){for(var o;(o=c.next())!=null;){var u=e.getItemModel(o),h=e.getItemLayout(o).sign;e.setItemVisual(o,{color:s(h,u),borderColor:r(h,u)})}}function s(c,e){return e.get(c>0?p:v)}function r(c,e){return e.get(c>0?m:E)}}};U.exports=f},TWL2:function(U,R,i){var y=i("IwbS"),m=i("bYtY"),E=i("6Ic6");function p(n,t){y.Group.call(this);var a=new y.Polygon,s=new y.Polyline,r=new y.Text;this.add(a),this.add(s),this.add(r),this.highDownOnUpdate=function(c,e){e==="emphasis"?(s.ignore=s.hoverIgnore,r.ignore=r.hoverIgnore):(s.ignore=s.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(n,t,!0)}var v=p.prototype,f=["itemStyle","opacity"];v.updateData=function(n,t,a){var s=this.childAt(0),r=n.hostModel,c=n.getItemModel(t),e=n.getItemLayout(t),o=n.getItemModel(t).get(f);o=o==null?1:o,s.useStyle({}),a?(s.setShape({points:e.points}),s.setStyle({opacity:0}),y.initProps(s,{style:{opacity:o}},r,t)):y.updateProps(s,{style:{opacity:o},shape:{points:e.points}},r,t);var u=c.getModel("itemStyle"),h=n.getItemVisual(t,"color");s.setStyle(m.defaults({lineJoin:"round",fill:h},u.getItemStyle(["opacity"]))),s.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(n,t),y.setHoverStyle(this)},v._updateLabel=function(n,t){var a=this.childAt(1),s=this.childAt(2),r=n.hostModel,c=n.getItemModel(t),e=n.getItemLayout(t),o=e.label,u=n.getItemVisual(t,"color");y.updateProps(a,{shape:{points:o.linePoints||o.linePoints}},r,t),y.updateProps(s,{style:{x:o.x,y:o.y}},r,t),s.attr({rotation:o.rotation,origin:[o.x,o.y],z2:10});var h=c.getModel("label"),g=c.getModel("emphasis.label"),A=c.getModel("labelLine"),w=c.getModel("emphasis.labelLine"),u=n.getItemVisual(t,"color");y.setLabelStyle(s.style,s.hoverStyle={},h,g,{labelFetcher:n.hostModel,labelDataIndex:t,defaultText:n.getName(t),autoColor:u,useInsideStyle:!!o.inside},{textAlign:o.textAlign,textVerticalAlign:o.verticalAlign}),s.ignore=s.normalIgnore=!h.get("show"),s.hoverIgnore=!g.get("show"),a.ignore=a.normalIgnore=!A.get("show"),a.hoverIgnore=!w.get("show"),a.setStyle({stroke:u}),a.setStyle(A.getModel("lineStyle").getLineStyle()),a.hoverStyle=w.getModel("lineStyle").getLineStyle()},m.inherits(p,y.Group);var d=E.extend({type:"funnel",render:function(n,t,a){var s=n.getData(),r=this._data,c=this.group;s.diff(r).add(function(e){var o=new p(s,e);s.setItemGraphicEl(e,o),c.add(o)}).update(function(e,o){var u=r.getItemGraphicEl(o);u.updateData(s,e),c.add(u),s.setItemGraphicEl(e,u)}).remove(function(e){var o=r.getItemGraphicEl(e);c.remove(o)}).execute(),this._data=s},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),l=d;U.exports=l},TYVI:function(U,R,i){var y=i("5GtS"),m=i("T4UG"),E=m.extend({type:"series.gauge",getInitialData:function(v,f){return y(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}}}),p=E;U.exports=p},Tghj:function(U,R,i){(function(y){var m;typeof window!="undefined"?m=window.__DEV__:typeof y!="undefined"&&(m=y.__DEV__),typeof m=="undefined"&&(m=!0);var E=m;R.__DEV__=E}).call(this,i("yLpj"))},ThAp:function(U,R,i){var y=i("bYtY"),m=i("5GtS"),E=i("T4UG"),p=i("7aKB"),v=p.encodeHTML,f=p.addCommas,d=i("cCMj"),l=i("KxfA"),n=l.retrieveRawAttr,t=i("W4dC"),a=i("D5nY"),s=a.makeSeriesEncodeForNameBased,r=E.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var o=m(this,{coordDimensions:["value"],encodeDefaulter:y.curry(s,this)}),u=o.mapDimension("value"),h=y.createHashMap(),g=[],A=[],w=0,x=o.count();w<x;w++){var C=o.getName(w);h.set(C,!0),g.push({name:C,value:o.get(u,w),selected:n(o,w,"selected")})}var T=t.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return y.each(T.regions,function(O){var S=O.name;h.get(S)||(g.push({name:S}),A.push(S))}),this.updateSelectedMap(g),o.appendValues([],A),o},getHostGeoModel:function(){var e=this.option.geoIndex;return e!=null?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(e){var o=this.getData();return o.get(o.mapDimension("value"),e)},getRegionModel:function(e){var o=this.getData();return o.getItemModel(o.indexOfName(e))},formatTooltip:function(e){for(var o=this.getData(),u=f(this.getRawValue(e)),h=o.getName(e),g=this.seriesGroup,A=[],w=0;w<g.length;w++){var x=g[w].originalData.indexOfName(h),C=o.mapDimension("value");isNaN(g[w].originalData.get(C,x))||A.push(v(g[w].name))}return A.join(", ")+"<br />"+v(h+" : "+u)},getTooltipPosition:function(e){if(e!=null){var o=this.getData().getName(e),u=this.coordinateSystem,h=u.getRegion(o);return h&&u.dataToPoint(h.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});y.mixin(r,d);var c=r;U.exports=c},TkdX:function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},p=2,v=4;function f(r,c,e){m.Group.call(this);var o=new m.Sector({z2:p});o.seriesIndex=c.seriesIndex;var u=new m.Text({z2:v,silent:r.getModel("label").get("silent")});this.add(o),this.add(u),this.updateData(!0,r,"normal",c,e);function h(){u.ignore=u.hoverIgnore}function g(){u.ignore=u.normalIgnore}this.on("emphasis",h).on("normal",g).on("mouseover",h).on("mouseout",g)}var d=f.prototype;d.updateData=function(r,c,e,o,u){this.node=c,c.piece=this,o=o||this._seriesModel,u=u||this._ecModel;var h=this.childAt(0);h.dataIndex=c.dataIndex;var g=c.getModel(),A=c.getLayout(),w=y.extend({},A);w.label=null;var x=n(c,o,u);s(c,o,x);var C=g.getModel("itemStyle").getItemStyle(),T;if(e==="normal")T=C;else{var O=g.getModel(e+".itemStyle").getItemStyle();T=y.merge(O,C)}T=y.defaults({lineJoin:"bevel",fill:T.fill||x},T),r?(h.setShape(w),h.shape.r=A.r0,m.updateProps(h,{shape:{r:A.r}},o,c.dataIndex),h.useStyle(T)):typeof T.fill=="object"&&T.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(m.updateProps(h,{shape:w},o),h.useStyle(T)):m.updateProps(h,{shape:w,style:T},o),this._updateLabel(o,x,e);var S=g.getShallow("cursor");if(S&&h.attr("cursor",S),r){var _=o.getShallow("highlightPolicy");this._initEvents(h,c,o,_)}this._seriesModel=o||this._seriesModel,this._ecModel=u||this._ecModel,m.setHoverStyle(this)},d.onEmphasis=function(r){var c=this;this.node.hostTree.root.eachNode(function(e){e.piece&&(c.node===e?e.piece.updateData(!1,e,"emphasis"):a(e,c.node,r)?e.piece.childAt(0).trigger("highlight"):r!==E.NONE&&e.piece.childAt(0).trigger("downplay"))})},d.onNormal=function(){this.node.hostTree.root.eachNode(function(r){r.piece&&r.piece.updateData(!1,r,"normal")})},d.onHighlight=function(){this.updateData(!1,this.node,"highlight")},d.onDownplay=function(){this.updateData(!1,this.node,"downplay")},d._updateLabel=function(r,c,e){var o=this.node.getModel(),u=o.getModel("label"),h=e==="normal"||e==="emphasis"?u:o.getModel(e+".label"),g=o.getModel("emphasis.label"),A=y.retrieve(r.getFormattedLabel(this.node.dataIndex,e,null,null,"label"),this.node.name);V("show")===!1&&(A="");var w=this.node.getLayout(),x=h.get("minAngle");x==null&&(x=u.get("minAngle")),x=x/180*Math.PI;var C=w.endAngle-w.startAngle;x!=null&&Math.abs(C)<x&&(A="");var T=this.childAt(1);m.setLabelStyle(T.style,T.hoverStyle||{},u,g,{defaultText:h.getShallow("show")?A:null,autoColor:c,useInsideStyle:!0});var O=(w.startAngle+w.endAngle)/2,S=Math.cos(O),_=Math.sin(O),L,D=V("position"),F=V("distance")||0,j=V("align");D==="outside"?(L=w.r+F,j=O>Math.PI/2?"right":"left"):!j||j==="center"?(L=(w.r+w.r0)/2,j="center"):j==="left"?(L=w.r0+F,O>Math.PI/2&&(j="right")):j==="right"&&(L=w.r-F,O>Math.PI/2&&(j="left")),T.attr("style",{text:A,textAlign:j,textVerticalAlign:V("verticalAlign")||"middle",opacity:V("opacity")});var k=L*S+w.cx,K=L*_+w.cy;T.attr("position",[k,K]);var Z=V("rotate"),B=0;Z==="radial"?(B=-O,B<-Math.PI/2&&(B+=Math.PI)):Z==="tangential"?(B=Math.PI/2-O,B>Math.PI/2?B-=Math.PI:B<-Math.PI/2&&(B+=Math.PI)):typeof Z=="number"&&(B=Z*Math.PI/180),T.attr("rotation",B);function V(z){var X=h.get(z);return X==null?u.get(z):X}},d._initEvents=function(r,c,e,o){r.off("mouseover").off("mouseout").off("emphasis").off("normal");var u=this,h=function(){u.onEmphasis(o)},g=function(){u.onNormal()},A=function(){u.onDownplay()},w=function(){u.onHighlight()};e.isAnimationEnabled()&&r.on("mouseover",h).on("mouseout",g).on("emphasis",h).on("normal",g).on("downplay",A).on("highlight",w)},y.inherits(f,m.Group);var l=f;function n(r,c,e){var o=r.getVisual("color"),u=r.getVisual("visualMeta");(!u||u.length===0)&&(o=null);var h=r.getModel("itemStyle").get("color");if(h)return h;if(o)return o;if(r.depth===0)return e.option.color[0];var g=e.option.color.length;return h=e.option.color[t(r)%g],h}function t(r){for(var c=r;c.depth>1;)c=c.parentNode;var e=r.getAncestors()[0];return y.indexOf(e.children,c)}function a(r,c,e){return e===E.NONE?!1:e===E.SELF?r===c:e===E.ANCESTOR?r===c||r.isAncestorOf(c):r===c||r.isDescendantOf(c)}function s(r,c,e){var o=c.getData();o.setItemVisual(r.dataIndex,"color",e)}U.exports=l},Tp9H:function(U,R,i){var y=i("ItGF"),m=i("Kagy"),E=i("IUWy"),p=m.toolbox.saveAsImage;function v(l){this.model=l}v.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:p.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:p.lang.slice()},v.prototype.unusable=!y.canvasSupported;var f=v.prototype;f.onclick=function(l,n){var t=this.model,a=t.get("name")||l.get("title.0.text")||"echarts",s=n.getZr().painter.getType()==="svg",r=s?"svg":t.get("type",!0)||"png",c=n.getConnectedDataURL({type:r,backgroundColor:t.get("backgroundColor",!0)||l.get("backgroundColor")||"#fff",connectedBackgroundColor:t.get("connectedBackgroundColor"),excludeComponents:t.get("excludeComponents"),pixelRatio:t.get("pixelRatio")});if(typeof MouseEvent=="function"&&!y.browser.ie&&!y.browser.edge){var e=document.createElement("a");e.download=a+"."+r,e.target="_blank",e.href=c;var o=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});e.dispatchEvent(o)}else if(window.navigator.msSaveOrOpenBlob){for(var u=atob(c.split(",")[1]),h=u.length,g=new Uint8Array(h);h--;)g[h]=u.charCodeAt(h);var A=new Blob([g]);window.navigator.msSaveOrOpenBlob(A,a+"."+r)}else{var w=t.get("lang"),x='<body style="margin:0;"><img src="'+c+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',C=window.open();C.document.write(x)}},E.register("saveAsImage",v);var d=v;U.exports=d},"U/Mo":function(U,R){function i(m){var E=m.coordinateSystem;if(E.type!=="view")return 1;var p=m.option.nodeScaleRatio,v=E.scale,f=v&&v[0]||1,d=E.getZoom(),l=(d-1)*p+1;return l/f}function y(m){var E=m.getVisual("symbolSize");return E instanceof Array&&(E=(E[0]+E[1])/2),+E}R.getNodeGlobalScale=i,R.getSymbolSize=y},UADf:function(U,R,i){},UESt:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="RightOutlined";var d=R.a=m.forwardRef(f)},UOVi:function(U,R,i){var y=i("bYtY"),m=i("7aKB"),E=["x","y","z","radius","angle","single"],p=["cartesian2d","polar","singleAxis"];function v(n){return y.indexOf(p,n)>=0}function f(n,t){n=n.slice();var a=y.map(n,m.capitalFirst);t=(t||[]).slice();var s=y.map(t,m.capitalFirst);return function(r,c){y.each(n,function(e,o){for(var u={name:e,capital:a[o]},h=0;h<t.length;h++)u[t[h]]=e+s[h];r.call(c,u)})}}var d=f(E,["axisIndex","axis","index","id"]);function l(n,t,a){return function(e){var o={nodes:[],records:{}};if(t(function(g){o.records[g.name]={}}),!e)return o;c(e,o);var u;do u=!1,n(h);while(u);function h(g){!s(g,o)&&r(g,o)&&(c(g,o),u=!0)}return o};function s(e,o){return y.indexOf(o.nodes,e)>=0}function r(e,o){var u=!1;return t(function(h){y.each(a(e,h)||[],function(g){o.records[h.name][g]&&(u=!0)})}),u}function c(e,o){o.nodes.push(e),t(function(u){y.each(a(e,u)||[],function(h){o.records[u.name][h]=!0})})}}R.isCoordSupported=v,R.createNameEach=f,R.eachAxisDim=d,R.createLinkedNodesFinder=l},Uc92:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},UnoB:function(U,R,i){var y=i("bYtY"),m=i("OELB");function E(f,d){f.eachSeriesByType("themeRiver",function(l){var n=l.getData(),t=l.coordinateSystem,a={},s=t.getRect();a.rect=s;var r=l.get("boundaryGap"),c=t.getAxis();if(a.boundaryGap=r,c.orient==="horizontal"){r[0]=m.parsePercent(r[0],s.height),r[1]=m.parsePercent(r[1],s.height);var e=s.height-r[0]-r[1];p(n,l,e)}else{r[0]=m.parsePercent(r[0],s.width),r[1]=m.parsePercent(r[1],s.width);var o=s.width-r[0]-r[1];p(n,l,o)}n.setLayout("layoutInfo",a)})}function p(f,d,l){if(!f.count())return;for(var n=d.coordinateSystem,t=d.getLayerSeries(),a=f.mapDimension("single"),s=f.mapDimension("value"),r=y.map(t,function(x){return y.map(x.indices,function(C){var T=n.dataToPoint(f.get(a,C));return T[1]=f.get(s,C),T})}),c=v(r),e=c.y0,o=l/c.max,u=t.length,h=t[0].indices.length,g,A=0;A<h;++A){g=e[A]*o,f.setItemLayout(t[0].indices[A],{layerIndex:0,x:r[0][A][0],y0:g,y:r[0][A][1]*o});for(var w=1;w<u;++w)g+=r[w-1][A][1]*o,f.setItemLayout(t[w].indices[A],{layerIndex:w,x:r[w][A][0],y0:g,y:r[w][A][1]*o})}}function v(f){for(var d=f.length,l=f[0].length,n=[],t=[],a=0,s,r={},c=0;c<l;++c){for(var e=0,s=0;e<d;++e)s+=f[e][c][1];s>a&&(a=s),n.push(s)}for(var o=0;o<l;++o)t[o]=(a-n[o])/2;a=0;for(var u=0;u<l;++u){var h=n[u]+t[u];h>a&&(a=h)}return r.y0=t,r.max=a,r}U.exports=E},Urep:function(U,R,i){},V7ic:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("digP")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FileTwoTone";var l=p.forwardRef(d);R.default=l},VFCP:function(U,R,i){i("dBmv"),i("KamJ")},VPsl:function(U,R){function i(y){y.eachSeriesByType("map",function(m){var E=m.get("color"),p=m.getModel("itemStyle"),v=p.get("areaColor"),f=p.get("color")||E[m.seriesIndex%E.length];m.getData().setVisual({areaColor:v,color:f})})}U.exports=i},VR9l:function(U,R,i){var y=i("KCsZ"),m=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),E={getItemStyle:function(p,v){var f=m(this,p,v),d=this.getBorderLineDash();return d&&(f.lineDash=d),f},getBorderLineDash:function(){var p=this.get("borderType");return p==="solid"||p==null?null:p==="dashed"?[5,5]:[1,1]}};U.exports=E},VSLf:function(U,R,i){i("I+Bx"),i("F0hE"),i("bBKM")},VSMT:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.decodeUTF8=y,R.encodeUTF8=m;function y(E){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(E))}catch(v){if(v instanceof URIError&&p)return E;throw v}}function m(E){return unescape(encodeURIComponent(E))}},VXYp:function(U,R,i){var y=i("bYtY"),m=i("SgGq"),E=i("iLNv"),p="\0_ec_dataZoom_roams";function v(r,c){var e=l(r),o=c.dataZoomId,u=c.coordId;y.each(e,function(A,w){var x=A.dataZoomInfos;x[o]&&y.indexOf(c.allCoordIds,u)<0&&(delete x[o],A.count--)}),t(e);var h=e[u];h||(h=e[u]={coordId:u,dataZoomInfos:{},count:0},h.controller=n(r,h),h.dispatchAction=y.curry(a,r)),!h.dataZoomInfos[o]&&h.count++,h.dataZoomInfos[o]=c;var g=s(h.dataZoomInfos);h.controller.enable(g.controlType,g.opt),h.controller.setPointerChecker(c.containsPoint),E.createOrUpdate(h,"dispatchAction",c.dataZoomModel.get("throttle",!0),"fixRate")}function f(r,c){var e=l(r);y.each(e,function(o){o.controller.dispose();var u=o.dataZoomInfos;u[c]&&(delete u[c],o.count--)}),t(e)}function d(r){return r.type+"\0_"+r.id}function l(r){var c=r.getZr();return c[p]||(c[p]={})}function n(r,c){var e=new m(r.getZr());return y.each(["pan","zoom","scrollMove"],function(o){e.on(o,function(u){var h=[];y.each(c.dataZoomInfos,function(g){if(!u.isAvailableBehavior(g.dataZoomModel.option))return;var A=(g.getRange||{})[o],w=A&&A(c.controller,u);!g.dataZoomModel.get("disabled",!0)&&w&&h.push({dataZoomId:g.dataZoomId,start:w[0],end:w[1]})}),h.length&&c.dispatchAction(h)})}),e}function t(r){y.each(r,function(c,e){c.count||(c.controller.dispose(),delete r[e])})}function a(r,c){r.dispatchAction({type:"dataZoom",batch:c})}function s(r){var c,e="type_",o={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0;return y.each(r,function(h){var g=h.dataZoomModel,A=g.get("disabled",!0)?!1:g.get("zoomLock",!0)?"move":!0;o[e+A]>o[e+c]&&(c=A),u&=g.get("preventDefaultMouseMove",!0)}),{controlType:c,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}R.register=v,R.unregister=f,R.generateCoordId=d},VaxA:function(U,R,i){var y=i("bYtY");function m(f,d,l){if(f&&y.indexOf(d,f.type)>=0){var n=l.getData().tree.root,t=f.targetNode;if(typeof t=="string"&&(t=n.getNodeById(t)),t&&n.contains(t))return{node:t};var a=f.targetNodeId;if(a!=null&&(t=n.getNodeById(a)))return{node:t}}}function E(f){for(var d=[];f;)f=f.parentNode,f&&d.push(f);return d.reverse()}function p(f,d){var l=E(f);return y.indexOf(l,d)>=0}function v(f,d){for(var l=[];f;){var n=f.dataIndex;l.push({name:f.name,dataIndex:n,value:d.getRawValue(n)}),f=f.parentNode}return l.reverse(),l}R.retrieveTargetInfo=m,R.getPathToRoot=E,R.aboveViewRoot=p,R.wrapTreePathInfo=v},Vi4m:function(U,R,i){var y=i("bYtY");function m(p){p!=null&&y.extend(this,p),this.otherDims={}}var E=m;U.exports=E},Vl3Y:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("J4zp"),p=i.n(E),v=i("lSNA"),f=i.n(v),d=i("q1tI"),l=i("TSYQ"),n=i.n(l),t=i("85Yc"),a=i("H84U"),s=i("BGR+"),r=d.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),c=d.createContext({updateItemErrors:function(){}}),e=function(Xt){var pr=Object(s.default)(Xt,["prefixCls"]);return d.createElement(t.FormProvider,pr)};function o(ye){return typeof ye=="object"&&ye!=null&&ye.nodeType===1}function u(ye,Xt){return(!Xt||ye!=="hidden")&&ye!=="visible"&&ye!=="clip"}function h(ye,Xt){if(ye.clientHeight<ye.scrollHeight||ye.clientWidth<ye.scrollWidth){var pr=getComputedStyle(ye,null);return u(pr.overflowY,Xt)||u(pr.overflowX,Xt)||function(mt){var nr=function(yr){if(!yr.ownerDocument||!yr.ownerDocument.defaultView)return null;try{return yr.ownerDocument.defaultView.frameElement}catch(gn){return null}}(mt);return!!nr&&(nr.clientHeight<mt.scrollHeight||nr.clientWidth<mt.scrollWidth)}(ye)}return!1}function g(ye,Xt,pr,mt,nr,yr,gn,_r){return yr<ye&&gn>Xt||yr>ye&&gn<Xt?0:yr<=ye&&_r<=pr||gn>=Xt&&_r>=pr?yr-ye-mt:gn>Xt&&_r<pr||yr<ye&&_r>pr?gn-Xt+nr:0}var A=function(ye,Xt){var pr=window,mt=Xt.scrollMode,nr=Xt.block,yr=Xt.inline,gn=Xt.boundary,_r=Xt.skipOverflowHiddenElements,ur=typeof gn=="function"?gn:function(mi){return mi!==gn};if(!o(ye))throw new TypeError("Invalid target");for(var zt=document.scrollingElement||document.documentElement,bt=[],ot=ye;o(ot)&&ur(ot);){if((ot=ot.parentElement)===zt){bt.push(ot);break}ot!=null&&ot===document.body&&h(ot)&&!h(document.documentElement)||ot!=null&&h(ot,_r)&&bt.push(ot)}for(var lr=pr.visualViewport?pr.visualViewport.width:innerWidth,jr=pr.visualViewport?pr.visualViewport.height:innerHeight,Rr=window.scrollX||pageXOffset,xr=window.scrollY||pageYOffset,Vn=ye.getBoundingClientRect(),bn=Vn.height,di=Vn.width,lt=Vn.top,ct=Vn.right,Le=Vn.bottom,Ue=Vn.left,Ye=nr==="start"||nr==="nearest"?lt:nr==="end"?Le:lt+bn/2,ft=yr==="center"?Ue+di/2:yr==="end"?ct:Ue,ir=[],Yt=0;Yt<bt.length;Yt++){var rr=bt[Yt],Zr=rr.getBoundingClientRect(),nn=Zr.height,Pn=Zr.width,qt=Zr.top,St=Zr.right,At=Zr.bottom,cr=Zr.left;if(mt==="if-needed"&<>=0&&Ue>=0&&Le<=jr&&ct<=lr&<>=qt&&Le<=At&&Ue>=cr&&ct<=St)return ir;var or=getComputedStyle(rr),Tt=parseInt(or.borderLeftWidth,10),Rt=parseInt(or.borderTopWidth,10),_t=parseInt(or.borderRightWidth,10),Zt=parseInt(or.borderBottomWidth,10),Nr=0,Sr=0,br="offsetWidth"in rr?rr.offsetWidth-rr.clientWidth-Tt-_t:0,hn="offsetHeight"in rr?rr.offsetHeight-rr.clientHeight-Rt-Zt:0;if(zt===rr)Nr=nr==="start"?Ye:nr==="end"?Ye-jr:nr==="nearest"?g(xr,xr+jr,jr,Rt,Zt,xr+Ye,xr+Ye+bn,bn):Ye-jr/2,Sr=yr==="start"?ft:yr==="center"?ft-lr/2:yr==="end"?ft-lr:g(Rr,Rr+lr,lr,Tt,_t,Rr+ft,Rr+ft+di,di),Nr=Math.max(0,Nr+xr),Sr=Math.max(0,Sr+Rr);else{Nr=nr==="start"?Ye-qt-Rt:nr==="end"?Ye-At+Zt+hn:nr==="nearest"?g(qt,At,nn,Rt,Zt+hn,Ye,Ye+bn,bn):Ye-(qt+nn/2)+hn/2,Sr=yr==="start"?ft-cr-Tt:yr==="center"?ft-(cr+Pn/2)+br/2:yr==="end"?ft-St+_t+br:g(cr,St,Pn,Tt,_t+br,ft,ft+di,di);var fn=rr.scrollLeft,ni=rr.scrollTop;Ye+=ni-(Nr=Math.max(0,Math.min(ni+Nr,rr.scrollHeight-nn+hn))),ft+=fn-(Sr=Math.max(0,Math.min(fn+Sr,rr.scrollWidth-Pn+br)))}ir.push({el:rr,top:Nr,left:Sr})}return ir};function w(ye){return ye===Object(ye)&&Object.keys(ye).length!==0}function x(ye,Xt){Xt===void 0&&(Xt="auto");var pr="scrollBehavior"in document.body.style;ye.forEach(function(mt){var nr=mt.el,yr=mt.top,gn=mt.left;nr.scroll&&pr?nr.scroll({top:yr,left:gn,behavior:Xt}):(nr.scrollTop=yr,nr.scrollLeft=gn)})}function C(ye){return ye===!1?{block:"end",inline:"nearest"}:w(ye)?ye:{block:"start",inline:"nearest"}}function T(ye,Xt){var pr=!ye.ownerDocument.documentElement.contains(ye);if(w(Xt)&&typeof Xt.behavior=="function")return Xt.behavior(pr?[]:A(ye,Xt));if(pr)return;var mt=C(Xt);return x(A(ye,mt),mt.behavior)}var O=T;function S(ye){return ye===void 0||ye===!1?[]:Array.isArray(ye)?ye:[ye]}function _(ye,Xt){if(!ye.length)return;var pr=ye.join("_");return Xt?"".concat(Xt,"_").concat(pr):pr}function L(ye){var Xt=S(ye);return Xt.join("_")}function D(ye){var Xt=Object(t.useForm)(),pr=p()(Xt,1),mt=pr[0],nr=Object(d.useRef)({}),yr=Object(d.useMemo)(function(){return ye||m()(m()({},mt),{__INTERNAL__:{itemRef:function(_r){return function(ur){var zt=L(_r);ur?nr.current[zt]=ur:delete nr.current[zt]}}},scrollToField:function(_r){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zt=S(_r),bt=_(zt,yr.__INTERNAL__.name),ot=bt?document.getElementById(bt):null;ot&&O(ot,m()({scrollMode:"if-needed",block:"nearest"},ur))},getFieldInstance:function(_r){var ur=L(_r);return nr.current[ur]}})},[ye,mt]);return[yr]}var F=i("3Nzz"),j=function(ye,Xt){var pr={};for(var mt in ye)Object.prototype.hasOwnProperty.call(ye,mt)&&Xt.indexOf(mt)<0&&(pr[mt]=ye[mt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nr=0,mt=Object.getOwnPropertySymbols(ye);nr<mt.length;nr++)Xt.indexOf(mt[nr])<0&&Object.prototype.propertyIsEnumerable.call(ye,mt[nr])&&(pr[mt[nr]]=ye[mt[nr]]);return pr},k=function(Xt,pr){var mt,nr=d.useContext(F.b),yr=d.useContext(a.b),gn=yr.getPrefixCls,_r=yr.direction,ur=Xt.name,zt=Xt.prefixCls,bt=Xt.className,ot=bt===void 0?"":bt,lr=Xt.size,jr=lr===void 0?nr:lr,Rr=Xt.form,xr=Xt.colon,Vn=Xt.labelAlign,bn=Xt.labelCol,di=Xt.wrapperCol,lt=Xt.hideRequiredMark,ct=Xt.layout,Le=ct===void 0?"horizontal":ct,Ue=Xt.scrollToFirstError,Ye=Xt.requiredMark,ft=Xt.onFinishFailed,ir=j(Xt,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),Yt=Object(d.useMemo)(function(){return Ye!==void 0?Ye:!lt},[lt,Ye]),rr=gn("form",zt),Zr=n()(rr,(mt={},f()(mt,"".concat(rr,"-").concat(Le),!0),f()(mt,"".concat(rr,"-hide-required-mark"),Yt===!1),f()(mt,"".concat(rr,"-rtl"),_r==="rtl"),f()(mt,"".concat(rr,"-").concat(jr),jr),mt),ot),nn=D(Rr),Pn=p()(nn,1),qt=Pn[0],St=qt.__INTERNAL__;St.name=ur;var At=Object(d.useMemo)(function(){return{name:ur,labelAlign:Vn,labelCol:bn,wrapperCol:di,vertical:Le==="vertical",colon:xr,requiredMark:Yt,itemRef:St.itemRef}},[ur,Vn,bn,di,Le,xr,Yt]);d.useImperativeHandle(pr,function(){return qt});var cr=function(Tt){ft&&ft(Tt),Ue&&Tt.errorFields.length&&qt.scrollToField(Tt.errorFields[0].name)};return d.createElement(F.a,{size:jr},d.createElement(r.Provider,{value:At},d.createElement(t.default,m()({id:ur},ir,{onFinishFailed:cr,form:qt,className:Zr}))))},K=d.forwardRef(k),Z=K,B=i("cDf5"),V=i.n(B),z=i("RIqP"),X=i.n(z),W=i("Y+p1"),q=i.n(W),Y=i("KW7l"),re=i("c+Xe"),ne=i("qrJ5"),we=i("CWQg"),ie=i("uaoM"),me=i("/kpp"),_e=i("YMnH"),Te=i("ZvpZ"),We=function(Xt){var pr=Xt.prefixCls,mt=Xt.label,nr=Xt.htmlFor,yr=Xt.labelCol,gn=Xt.labelAlign,_r=Xt.colon,ur=Xt.required,zt=Xt.requiredMark,bt=Object(_e.b)("Form"),ot=p()(bt,1),lr=ot[0];return mt?d.createElement(r.Consumer,{key:"label"},function(jr){var Rr,xr=jr.vertical,Vn=jr.labelAlign,bn=jr.labelCol,di=jr.colon,lt,ct=yr||bn||{},Le=gn||Vn,Ue="".concat(pr,"-item-label"),Ye=n()(Ue,Le==="left"&&"".concat(Ue,"-left"),ct.className),ft=mt,ir=_r===!0||di!==!1&&_r!==!1,Yt=ir&&!xr;Yt&&typeof mt=="string"&&mt.trim()!==""&&(ft=mt.replace(/[:|:]\s*$/,"")),zt==="optional"&&!ur&&(ft=d.createElement(d.Fragment,null,ft,d.createElement("span",{className:"".concat(pr,"-item-optional")},(lr==null?void 0:lr.optional)||((lt=Te.a.Form)===null||lt===void 0?void 0:lt.optional))));var rr=n()((Rr={},f()(Rr,"".concat(pr,"-item-required"),ur),f()(Rr,"".concat(pr,"-item-required-mark-optional"),zt==="optional"),f()(Rr,"".concat(pr,"-item-no-colon"),!ir),Rr));return d.createElement(me.a,m()({},ct,{className:Ye}),d.createElement("label",{htmlFor:nr,className:rr,title:typeof mt=="string"?mt:""},ft))}):null},Ae=We,je=i("gZBC"),ee=i.n(je),he=i("kbBi"),Ze=i.n(he),oe=i("J84W"),Q=i.n(oe),G=i("sKbD"),te=i.n(G),xe=i("YrtM"),fe=i("8XRh"),Be=i("hkKa");function Ne(ye,Xt,pr){var mt=d.useRef({errors:ye,visible:!!ye.length}),nr=Object(Be.a)(),yr=function(){var _r=mt.current.visible,ur=!!ye.length,zt=mt.current.errors;mt.current.errors=ye,mt.current.visible=ur,_r!==ur?Xt(ur):(zt.length!==ye.length||zt.some(function(bt,ot){return bt!==ye[ot]}))&&nr()};return d.useEffect(function(){if(!pr){var gn=setTimeout(yr,10);return function(){return clearTimeout(gn)}}},[ye]),pr&&yr(),[mt.current.visible,mt.current.errors]}var de={success:Q.a,warning:te.a,error:Ze.a,validating:ee.a},ve=function(Xt){var pr=Xt.prefixCls,mt=Xt.wrapperCol,nr=Xt.children,yr=Xt.help,gn=Xt.errors,_r=Xt.onDomErrorVisibleChange,ur=Xt.hasFeedback,zt=Xt.validateStatus,bt=Xt.extra,ot=Object(Be.a)(),lr="".concat(pr,"-item"),jr=d.useContext(r),Rr=mt||jr.wrapperCol||{},xr=n()("".concat(lr,"-control"),Rr.className),Vn=Ne(gn,function(ft){ft&&Promise.resolve().then(function(){_r(!0)}),ot()},!!yr),bn=p()(Vn,2),di=bn[0],lt=bn[1];d.useEffect(function(){return function(){_r(!1)}},[]);var ct=Object(xe.a)(function(){return lt},di,function(ft,ir){return ir}),Le=zt&&de[zt],Ue=ur&&Le?d.createElement("span",{className:"".concat(lr,"-children-icon")},d.createElement(Le,null)):null,Ye=m()({},jr);return delete Ye.labelCol,delete Ye.wrapperCol,d.createElement(r.Provider,{value:Ye},d.createElement(me.a,m()({},Rr,{className:xr}),d.createElement("div",{className:"".concat(lr,"-control-input")},d.createElement("div",{className:"".concat(lr,"-control-input-content")},nr),Ue),d.createElement(fe.default,{motionDeadline:500,visible:di,motionName:"show-help",onLeaveEnd:function(){_r(!1)},motionAppear:!0,removeOnLeave:!0},function(ft){var ir=ft.className;return d.createElement("div",{className:n()("".concat(lr,"-explain"),ir),key:"help"},ct.map(function(Yt,rr){return d.createElement("div",{key:rr,role:"alert"},Yt)}))}),bt&&d.createElement("div",{className:"".concat(lr,"-extra")},bt)))},Me=ve,qe=i("0n0R"),gt=i("xEkU"),ht=i.n(gt);function Pe(ye){var Xt=d.useState(ye),pr=p()(Xt,2),mt=pr[0],nr=pr[1],yr=Object(d.useRef)(null),gn=Object(d.useRef)([]),_r=Object(d.useRef)(!1);d.useEffect(function(){return function(){_r.current=!0,ht.a.cancel(yr.current)}},[]);function ur(zt){if(_r.current)return;yr.current===null&&(gn.current=[],yr.current=ht()(function(){yr.current=null,nr(function(bt){var ot=bt;return gn.current.forEach(function(lr){ot=lr(ot)}),ot})})),gn.current.push(zt)}return[mt,ur]}function It(){var ye=d.useContext(r),Xt=ye.itemRef,pr=d.useRef({});function mt(nr,yr){var gn=yr&&V()(yr)==="object"&&yr.ref,_r=nr.join("_");return(pr.current.name!==_r||pr.current.originRef!==gn)&&(pr.current.name=_r,pr.current.originRef=gn,pr.current.ref=Object(re.a)(Xt(nr),gn)),pr.current.ref}return mt}var nt=function(ye,Xt){var pr={};for(var mt in ye)Object.prototype.hasOwnProperty.call(ye,mt)&&Xt.indexOf(mt)<0&&(pr[mt]=ye[mt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nr=0,mt=Object.getOwnPropertySymbols(ye);nr<mt.length;nr++)Xt.indexOf(mt[nr])<0&&Object.prototype.propertyIsEnumerable.call(ye,mt[nr])&&(pr[mt[nr]]=ye[mt[nr]]);return pr},Nt=Object(we.a)("success","warning","error","validating",""),Bt=d.memo(function(ye){var Xt=ye.children;return Xt},function(ye,Xt){return ye.value===Xt.value&&ye.update===Xt.update});function Pt(ye){return ye===null&&Object(ie.a)(!1,"Form.Item","`null` is passed as `name` property"),!(ye==null)}function jt(ye){var Xt=ye.name,pr=ye.fieldKey,mt=ye.noStyle,nr=ye.dependencies,yr=ye.prefixCls,gn=ye.style,_r=ye.className,ur=ye.shouldUpdate,zt=ye.hasFeedback,bt=ye.help,ot=ye.rules,lr=ye.validateStatus,jr=ye.children,Rr=ye.required,xr=ye.label,Vn=ye.trigger,bn=Vn===void 0?"onChange":Vn,di=ye.validateTrigger,lt=ye.hidden,ct=nt(ye,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),Le=d.useRef(!1),Ue=d.useContext(a.b),Ye=Ue.getPrefixCls,ft=d.useContext(r),ir=ft.name,Yt=ft.requiredMark,rr=d.useContext(c),Zr=rr.updateItemErrors,nn=d.useState(!!bt),Pn=p()(nn,2),qt=Pn[0],St=Pn[1],At=d.useRef(lr),cr=Pe({}),or=p()(cr,2),Tt=or[0],Rt=or[1],_t=d.useContext(Y.b),Zt=_t.validateTrigger,Nr=di!==void 0?di:Zt;function Sr(it){Le.current||St(it)}var br=Pt(Xt),hn=d.useRef([]);d.useEffect(function(){return function(){Le.current=!0,Zr(hn.current.join("__SPLIT__"),[])}},[]);var fn=Ye("form",yr),ni=mt?Zr:function(it,Re){Rt(function(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return q()(Ke[it],Re)?Ke:m()(m()({},Ke),f()({},it,Re))})},mi=It();function _i(it,Re,Ke,Ge){var et,$e;if(mt&&!lt)return it;var st=[];Object.keys(Tt).forEach(function(Fr){st=[].concat(X()(st),X()(Tt[Fr]||[]))});var Lt;bt!=null?Lt=S(bt):(Lt=Ke?Ke.errors:[],Lt=[].concat(X()(Lt),X()(st)));var vt="";lr!==void 0?vt=lr:(Ke==null?void 0:Ke.validating)?vt="validating":(($e=Ke==null?void 0:Ke.errors)===null||$e===void 0?void 0:$e.length)||st.length?vt="error":(Ke==null?void 0:Ke.touched)&&(vt="success"),qt&&bt&&(At.current=vt);var Qt=(et={},f()(et,"".concat(fn,"-item"),!0),f()(et,"".concat(fn,"-item-with-help"),qt||bt),f()(et,"".concat(_r),!!_r),f()(et,"".concat(fn,"-item-has-feedback"),vt&&zt),f()(et,"".concat(fn,"-item-has-success"),vt==="success"),f()(et,"".concat(fn,"-item-has-warning"),vt==="warning"),f()(et,"".concat(fn,"-item-has-error"),vt==="error"),f()(et,"".concat(fn,"-item-has-error-leave"),!bt&&qt&&At.current==="error"),f()(et,"".concat(fn,"-item-is-validating"),vt==="validating"),f()(et,"".concat(fn,"-item-hidden"),lt),et);return d.createElement(ne.a,m()({className:n()(Qt),style:gn,key:"row"},Object(s.default)(ct,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),d.createElement(Ae,m()({htmlFor:Re,required:Ge,requiredMark:Yt},ye,{prefixCls:fn})),d.createElement(Me,m()({},ye,Ke,{errors:Lt,prefixCls:fn,onDomErrorVisibleChange:Sr,validateStatus:vt}),d.createElement(c.Provider,{value:{updateItemErrors:ni}},it)))}var Hi=typeof jr=="function",aa=d.useRef(0);if(aa.current+=1,!br&&!Hi&&!nr)return _i(jr);var Ra={};return typeof xr=="string"&&(Ra.label=xr),d.createElement(t.Field,m()({},ye,{messageVariables:Ra,trigger:bn,validateTrigger:Nr,onReset:function(){Sr(!1)}}),function(it,Re,Ke){var Ge=Re.errors,et=S(Xt).length&&Re?Re.name:[],$e=_(et,ir);if(mt){if(hn.current=X()(et),pr){var st=Array.isArray(pr)?pr:[pr];hn.current=[].concat(X()(et.slice(0,-1)),X()(st))}Zr(hn.current.join("__SPLIT__"),Ge)}var Lt=Rr!==void 0?Rr:!!(ot&&ot.some(function(Gr){if(Gr&&V()(Gr)==="object"&&Gr.required)return!0;if(typeof Gr=="function"){var $t=Gr(Ke);return $t&&$t.required}return!1})),vt=m()({},it),Qt=null;if(Object(ie.a)(!(ur&&nr),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(jr)&&br)Object(ie.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Qt=jr;else if(Hi&&(!(ur||nr)||br))Object(ie.a)(!!(ur||nr),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(ie.a)(!br,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(nr&&!Hi&&!br)Object(ie.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(qe.b)(jr)){Object(ie.a)(jr.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Fr=m()(m()({},jr.props),vt);Fr.id||(Fr.id=$e),Object(re.c)(jr)&&(Fr.ref=mi(et,jr));var Lr=new Set([].concat(X()(S(bn)),X()(S(Nr))));Lr.forEach(function(Gr){Fr[Gr]=function(){for(var $t,Rn,wr,pn,rn,Br=arguments.length,Yn=new Array(Br),xi=0;xi<Br;xi++)Yn[xi]=arguments[xi];(wr=vt[Gr])===null||wr===void 0||($t=wr).call.apply($t,[vt].concat(Yn)),(rn=(pn=jr.props)[Gr])===null||rn===void 0||(Rn=rn).call.apply(Rn,[pn].concat(Yn))}}),Qt=d.createElement(Bt,{value:vt[ye.valuePropName||"value"],update:aa.current},Object(qe.a)(jr,Fr))}else Hi&&(ur||nr)&&!br?Qt=jr(Ke):(Object(ie.a)(!et.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),Qt=jr);return _i(Qt,$e,Re,Lt)})}var er=jt,at=function(ye,Xt){var pr={};for(var mt in ye)Object.prototype.hasOwnProperty.call(ye,mt)&&Xt.indexOf(mt)<0&&(pr[mt]=ye[mt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nr=0,mt=Object.getOwnPropertySymbols(ye);nr<mt.length;nr++)Xt.indexOf(mt[nr])<0&&Object.prototype.propertyIsEnumerable.call(ye,mt[nr])&&(pr[mt[nr]]=ye[mt[nr]]);return pr},Ce=function(Xt){var pr=Xt.children,mt=at(Xt,["children"]);return Object(ie.a)(!!mt.name,"Form.List","Miss `name` prop."),d.createElement(t.List,mt,function(nr,yr){return pr(nr.map(function(gn){return m()(m()({},gn),{fieldKey:gn.key})}),yr)})},ue=Ce,Dt=Z;Dt.Item=er,Dt.List=ue,Dt.useForm=D,Dt.Provider=e,Dt.create=function(){Object(ie.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var rt=R.a=Dt},VpOo:function(U,R){function i(y,m){var E=m.x,p=m.y,v=m.width,f=m.height,d=m.r,l,n,t,a;v<0&&(E=E+v,v=-v),f<0&&(p=p+f,f=-f),typeof d=="number"?l=n=t=a=d:d instanceof Array?d.length===1?l=n=t=a=d[0]:d.length===2?(l=t=d[0],n=a=d[1]):d.length===3?(l=d[0],n=a=d[1],t=d[2]):(l=d[0],n=d[1],t=d[2],a=d[3]):l=n=t=a=0;var s;l+n>v&&(s=l+n,l*=v/s,n*=v/s),t+a>v&&(s=t+a,t*=v/s,a*=v/s),n+t>f&&(s=n+t,n*=f/s,t*=f/s),l+a>f&&(s=l+a,l*=f/s,a*=f/s),y.moveTo(E+l,p),y.lineTo(E+v-n,p),n!==0&&y.arc(E+v-n,p+n,n,-Math.PI/2,0),y.lineTo(E+v,p+f-t),t!==0&&y.arc(E+v-t,p+f-t,t,0,Math.PI/2),y.lineTo(E+a,p+f),a!==0&&y.arc(E+a,p+f-a,a,Math.PI/2,Math.PI),y.lineTo(E,p+l),l!==0&&y.arc(E+l,p+l,l,Math.PI,Math.PI*1.5)}R.buildPath=i},"VrN/":function(U,R,i){(function(y,m){U.exports=m()})(this,function(){"use strict";var y=navigator.userAgent,m=navigator.platform,E=/gecko\/\d/i.test(y),p=/MSIE \d/.test(y),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(y),f=/Edge\/(\d+)/.exec(y),d=p||v||f,l=d&&(p?document.documentMode||6:+(f||v)[1]),n=!f&&/WebKit\//.test(y),t=n&&/Qt\/\d+\.\d+/.test(y),a=!f&&/Chrome\//.test(y),s=/Opera\//.test(y),r=/Apple Computer/.test(navigator.vendor),c=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(y),e=/PhantomJS/.test(y),o=!f&&/AppleWebKit/.test(y)&&/Mobile\/\w+/.test(y),u=/Android/.test(y),h=o||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(y),g=o||/Mac/.test(m),A=/\bCrOS\b/.test(y),w=/win/i.test(m),x=s&&y.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(s=!1,n=!0);var C=g&&(t||s&&(x==null||x<12.11)),T=E||d&&l>=9;function O(M){return new RegExp("(^|\\s)"+M+"(?:$|\\s)\\s*")}var S=function(P,ae){var le=P.className,pe=O(ae).exec(le);if(pe){var Ve=le.slice(pe.index+pe[0].length);P.className=le.slice(0,pe.index)+(Ve?pe[1]+Ve:"")}};function _(M){for(var P=M.childNodes.length;P>0;--P)M.removeChild(M.firstChild);return M}function L(M,P){return _(M).appendChild(P)}function D(M,P,ae,le){var pe=document.createElement(M);if(ae&&(pe.className=ae),le&&(pe.style.cssText=le),typeof P=="string")pe.appendChild(document.createTextNode(P));else if(P)for(var Ve=0;Ve<P.length;++Ve)pe.appendChild(P[Ve]);return pe}function F(M,P,ae,le){var pe=D(M,P,ae,le);return pe.setAttribute("role","presentation"),pe}var j;document.createRange?j=function(P,ae,le,pe){var Ve=document.createRange();return Ve.setEnd(pe||P,le),Ve.setStart(P,ae),Ve}:j=function(P,ae,le){var pe=document.body.createTextRange();try{pe.moveToElementText(P.parentNode)}catch(Ve){return pe}return pe.collapse(!0),pe.moveEnd("character",le),pe.moveStart("character",ae),pe};function k(M,P){if(P.nodeType==3&&(P=P.parentNode),M.contains)return M.contains(P);do if(P.nodeType==11&&(P=P.host),P==M)return!0;while(P=P.parentNode)}function K(){var M;try{M=document.activeElement}catch(P){M=document.body||null}for(;M&&M.shadowRoot&&M.shadowRoot.activeElement;)M=M.shadowRoot.activeElement;return M}function Z(M,P){var ae=M.className;O(P).test(ae)||(M.className+=(ae?" ":"")+P)}function B(M,P){for(var ae=M.split(" "),le=0;le<ae.length;le++)ae[le]&&!O(ae[le]).test(P)&&(P+=" "+ae[le]);return P}var V=function(P){P.select()};o?V=function(P){P.selectionStart=0,P.selectionEnd=P.value.length}:d&&(V=function(P){try{P.select()}catch(ae){}});function z(M){var P=Array.prototype.slice.call(arguments,1);return function(){return M.apply(null,P)}}function X(M,P,ae){P||(P={});for(var le in M)M.hasOwnProperty(le)&&(ae!==!1||!P.hasOwnProperty(le))&&(P[le]=M[le]);return P}function W(M,P,ae,le,pe){P==null&&(P=M.search(/[^\s\u00a0]/),P==-1&&(P=M.length));for(var Ve=le||0,yt=pe||0;;){var Ut=M.indexOf(" ",Ve);if(Ut<0||Ut>=P)return yt+(P-Ve);yt+=Ut-Ve,yt+=ae-yt%ae,Ve=Ut+1}}var q=function(){this.id=null,this.f=null,this.time=0,this.handler=z(this.onTimeout,this)};q.prototype.onTimeout=function(M){M.id=0,M.time<=+new Date?M.f():setTimeout(M.handler,M.time-+new Date)},q.prototype.set=function(M,P){this.f=P;var ae=+new Date+M;(!this.id||ae<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,M),this.time=ae)};function Y(M,P){for(var ae=0;ae<M.length;++ae)if(M[ae]==P)return ae;return-1}var re=50,ne={toString:function(){return"CodeMirror.Pass"}},we={scroll:!1},ie={origin:"*mouse"},me={origin:"+move"};function _e(M,P,ae){for(var le=0,pe=0;;){var Ve=M.indexOf(" ",le);Ve==-1&&(Ve=M.length);var yt=Ve-le;if(Ve==M.length||pe+yt>=P)return le+Math.min(yt,P-pe);if(pe+=Ve-le,pe+=ae-pe%ae,le=Ve+1,pe>=P)return le}}var Te=[""];function We(M){for(;Te.length<=M;)Te.push(Ae(Te)+" ");return Te[M]}function Ae(M){return M[M.length-1]}function je(M,P){for(var ae=[],le=0;le<M.length;le++)ae[le]=P(M[le],le);return ae}function ee(M,P,ae){for(var le=0,pe=ae(P);le<M.length&&ae(M[le])<=pe;)le++;M.splice(le,0,P)}function he(){}function Ze(M,P){var ae;return Object.create?ae=Object.create(M):(he.prototype=M,ae=new he),P&&X(P,ae),ae}var oe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Q(M){return/\w/.test(M)||M>"\x80"&&(M.toUpperCase()!=M.toLowerCase()||oe.test(M))}function G(M,P){return P?P.source.indexOf("\\w")>-1&&Q(M)?!0:P.test(M):Q(M)}function te(M){for(var P in M)if(M.hasOwnProperty(P)&&M[P])return!1;return!0}var xe=/[\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 fe(M){return M.charCodeAt(0)>=768&&xe.test(M)}function Be(M,P,ae){for(;(ae<0?P>0:P<M.length)&&fe(M.charAt(P));)P+=ae;return P}function Ne(M,P,ae){for(var le=P>ae?-1:1;;){if(P==ae)return P;var pe=(P+ae)/2,Ve=le<0?Math.ceil(pe):Math.floor(pe);if(Ve==P)return M(Ve)?P:ae;M(Ve)?ae=Ve:P=Ve+le}}function de(M,P,ae,le){if(!M)return le(P,ae,"ltr",0);for(var pe=!1,Ve=0;Ve<M.length;++Ve){var yt=M[Ve];(yt.from<ae&&yt.to>P||P==ae&&yt.to==P)&&(le(Math.max(yt.from,P),Math.min(yt.to,ae),yt.level==1?"rtl":"ltr",Ve),pe=!0)}pe||le(P,ae,"ltr")}var ve=null;function Me(M,P,ae){var le;ve=null;for(var pe=0;pe<M.length;++pe){var Ve=M[pe];if(Ve.from<P&&Ve.to>P)return pe;Ve.to==P&&(Ve.from!=Ve.to&&ae=="before"?le=pe:ve=pe),Ve.from==P&&(Ve.from!=Ve.to&&ae!="before"?le=pe:ve=pe)}return le!=null?le:ve}var qe=function(){var M="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",P="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ae(fr){return fr<=247?M.charAt(fr):1424<=fr&&fr<=1524?"R":1536<=fr&&fr<=1785?P.charAt(fr-1536):1774<=fr&&fr<=2220?"r":8192<=fr&&fr<=8203?"w":fr==8204?"b":"L"}var le=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,pe=/[stwN]/,Ve=/[LRr]/,yt=/[Lb1n]/,Ut=/[1n]/;function sr(fr,xn,jn){this.level=fr,this.from=xn,this.to=jn}return function(fr,xn){var jn=xn=="ltr"?"L":"R";if(fr.length==0||xn=="ltr"&&!le.test(fr))return!1;for(var gi=fr.length,Si=[],la=0;la<gi;++la)Si.push(ae(fr.charCodeAt(la)));for(var Ua=0,eo=jn;Ua<gi;++Ua){var no=Si[Ua];no=="m"?Si[Ua]=eo:eo=no}for(var to=0,So=jn;to<gi;++to){var Do=Si[to];Do=="1"&&So=="r"?Si[to]="n":Ve.test(Do)&&(So=Do,Do=="r"&&(Si[to]="R"))}for(var xs=1,os=Si[0];xs<gi-1;++xs){var js=Si[xs];js=="+"&&os=="1"&&Si[xs+1]=="1"?Si[xs]="1":js==","&&os==Si[xs+1]&&(os=="1"||os=="n")&&(Si[xs]=os),os=js}for(var cl=0;cl<gi;++cl){var co=Si[cl];if(co==",")Si[cl]="N";else if(co=="%"){var yl=void 0;for(yl=cl+1;yl<gi&&Si[yl]=="%";++yl);for(var oc=cl&&Si[cl-1]=="!"||yl<gi&&Si[yl]=="1"?"1":"N",jl=cl;jl<yl;++jl)Si[jl]=oc;cl=yl-1}}for(var sc=0,Zs=jn;sc<gi;++sc){var rl=Si[sc];Zs=="L"&&rl=="1"?Si[sc]="L":Ve.test(rl)&&(Zs=rl)}for(var tc=0;tc<gi;++tc)if(pe.test(Si[tc])){var lc=void 0;for(lc=tc+1;lc<gi&&pe.test(Si[lc]);++lc);for(var Ml=(tc?Si[tc-1]:jn)=="L",zc=(lc<gi?Si[lc]:jn)=="L",Au=Ml==zc?Ml?"L":"R":jn,vu=tc;vu<lc;++vu)Si[vu]=Au;tc=lc-1}for(var rc=[],Kc,_c=0;_c<gi;)if(yt.test(Si[_c])){var Kd=_c;for(++_c;_c<gi&&yt.test(Si[_c]);++_c);rc.push(new sr(0,Kd,_c))}else{var bu=_c,uu=rc.length,Mu=xn=="rtl"?1:0;for(++_c;_c<gi&&Si[_c]!="L";++_c);for(var kc=bu;kc<_c;)if(Ut.test(Si[kc])){bu<kc&&(rc.splice(uu,0,new sr(1,bu,kc)),uu+=Mu);var yu=kc;for(++kc;kc<_c&&Ut.test(Si[kc]);++kc);rc.splice(uu,0,new sr(2,yu,kc)),uu+=Mu,bu=kc}else++kc;bu<_c&&rc.splice(uu,0,new sr(1,bu,_c))}return xn=="ltr"&&(rc[0].level==1&&(Kc=fr.match(/^\s+/))&&(rc[0].from=Kc[0].length,rc.unshift(new sr(0,0,Kc[0].length))),Ae(rc).level==1&&(Kc=fr.match(/\s+$/))&&(Ae(rc).to-=Kc[0].length,rc.push(new sr(0,gi-Kc[0].length,gi)))),xn=="rtl"?rc.reverse():rc}}();function gt(M,P){var ae=M.order;return ae==null&&(ae=M.order=qe(M.text,P)),ae}var ht=[],Pe=function(P,ae,le){if(P.addEventListener)P.addEventListener(ae,le,!1);else if(P.attachEvent)P.attachEvent("on"+ae,le);else{var pe=P._handlers||(P._handlers={});pe[ae]=(pe[ae]||ht).concat(le)}};function It(M,P){return M._handlers&&M._handlers[P]||ht}function nt(M,P,ae){if(M.removeEventListener)M.removeEventListener(P,ae,!1);else if(M.detachEvent)M.detachEvent("on"+P,ae);else{var le=M._handlers,pe=le&&le[P];if(pe){var Ve=Y(pe,ae);Ve>-1&&(le[P]=pe.slice(0,Ve).concat(pe.slice(Ve+1)))}}}function Nt(M,P){var ae=It(M,P);if(!ae.length)return;for(var le=Array.prototype.slice.call(arguments,2),pe=0;pe<ae.length;++pe)ae[pe].apply(null,le)}function Bt(M,P,ae){return typeof P=="string"&&(P={type:P,preventDefault:function(){this.defaultPrevented=!0}}),Nt(M,ae||P.type,M,P),ue(P)||P.codemirrorIgnore}function Pt(M){var P=M._handlers&&M._handlers.cursorActivity;if(!P)return;for(var ae=M.curOp.cursorActivityHandlers||(M.curOp.cursorActivityHandlers=[]),le=0;le<P.length;++le)Y(ae,P[le])==-1&&ae.push(P[le])}function jt(M,P){return It(M,P).length>0}function er(M){M.prototype.on=function(P,ae){Pe(this,P,ae)},M.prototype.off=function(P,ae){nt(this,P,ae)}}function at(M){M.preventDefault?M.preventDefault():M.returnValue=!1}function Ce(M){M.stopPropagation?M.stopPropagation():M.cancelBubble=!0}function ue(M){return M.defaultPrevented!=null?M.defaultPrevented:M.returnValue==!1}function Dt(M){at(M),Ce(M)}function rt(M){return M.target||M.srcElement}function ye(M){var P=M.which;return P==null&&(M.button&1?P=1:M.button&2?P=3:M.button&4&&(P=2)),g&&M.ctrlKey&&P==1&&(P=3),P}var Xt=function(){if(d&&l<9)return!1;var M=D("div");return"draggable"in M||"dragDrop"in M}(),pr;function mt(M){if(pr==null){var P=D("span","\u200B");L(M,D("span",[P,document.createTextNode("x")])),M.firstChild.offsetHeight!=0&&(pr=P.offsetWidth<=1&&P.offsetHeight>2&&!(d&&l<8))}var ae=pr?D("span","\u200B"):D("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ae.setAttribute("cm-text",""),ae}var nr;function yr(M){if(nr!=null)return nr;var P=L(M,document.createTextNode("A\u062EA")),ae=j(P,0,1).getBoundingClientRect(),le=j(P,1,2).getBoundingClientRect();return _(M),!ae||ae.left==ae.right?!1:nr=le.right-ae.right<3}var gn=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(M){for(var P=0,ae=[],le=M.length;P<=le;){var pe=M.indexOf(`
|
|
|
`,P);pe==-1&&(pe=M.length);var Ve=M.slice(P,M.charAt(pe-1)=="\r"?pe-1:pe),yt=Ve.indexOf("\r");yt!=-1?(ae.push(Ve.slice(0,yt)),P+=yt+1):(ae.push(Ve),P=pe+1)}return ae}:function(M){return M.split(/\r\n?|\n/)},_r=window.getSelection?function(M){try{return M.selectionStart!=M.selectionEnd}catch(P){return!1}}:function(M){var P;try{P=M.ownerDocument.selection.createRange()}catch(ae){}return!P||P.parentElement()!=M?!1:P.compareEndPoints("StartToEnd",P)!=0},ur=function(){var M=D("div");return"oncopy"in M?!0:(M.setAttribute("oncopy","return;"),typeof M.oncopy=="function")}(),zt=null;function bt(M){if(zt!=null)return zt;var P=L(M,D("span","x")),ae=P.getBoundingClientRect(),le=j(P,0,1).getBoundingClientRect();return zt=Math.abs(ae.left-le.left)>1}var ot={},lr={};function jr(M,P){arguments.length>2&&(P.dependencies=Array.prototype.slice.call(arguments,2)),ot[M]=P}function Rr(M,P){lr[M]=P}function xr(M){if(typeof M=="string"&&lr.hasOwnProperty(M))M=lr[M];else if(M&&typeof M.name=="string"&&lr.hasOwnProperty(M.name)){var P=lr[M.name];typeof P=="string"&&(P={name:P}),M=Ze(P,M),M.name=P.name}else{if(typeof M=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(M))return xr("application/xml");if(typeof M=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(M))return xr("application/json")}return typeof M=="string"?{name:M}:M||{name:"null"}}function Vn(M,P){P=xr(P);var ae=ot[P.name];if(!ae)return Vn(M,"text/plain");var le=ae(M,P);if(bn.hasOwnProperty(P.name)){var pe=bn[P.name];for(var Ve in pe){if(!pe.hasOwnProperty(Ve))continue;le.hasOwnProperty(Ve)&&(le["_"+Ve]=le[Ve]),le[Ve]=pe[Ve]}}if(le.name=P.name,P.helperType&&(le.helperType=P.helperType),P.modeProps)for(var yt in P.modeProps)le[yt]=P.modeProps[yt];return le}var bn={};function di(M,P){var ae=bn.hasOwnProperty(M)?bn[M]:bn[M]={};X(P,ae)}function lt(M,P){if(P===!0)return P;if(M.copyState)return M.copyState(P);var ae={};for(var le in P){var pe=P[le];pe instanceof Array&&(pe=pe.concat([])),ae[le]=pe}return ae}function ct(M,P){for(var ae;M.innerMode&&!(ae=M.innerMode(P),!ae||ae.mode==M);)P=ae.state,M=ae.mode;return ae||{mode:M,state:P}}function Le(M,P,ae){return M.startState?M.startState(P,ae):!0}var Ue=function(P,ae,le){this.pos=this.start=0,this.string=P,this.tabSize=ae||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=le};Ue.prototype.eol=function(){return this.pos>=this.string.length},Ue.prototype.sol=function(){return this.pos==this.lineStart},Ue.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ue.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ue.prototype.eat=function(M){var P=this.string.charAt(this.pos),ae;if(typeof M=="string"?ae=P==M:ae=P&&(M.test?M.test(P):M(P)),ae)return++this.pos,P},Ue.prototype.eatWhile=function(M){for(var P=this.pos;this.eat(M););return this.pos>P},Ue.prototype.eatSpace=function(){for(var M=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>M},Ue.prototype.skipToEnd=function(){this.pos=this.string.length},Ue.prototype.skipTo=function(M){var P=this.string.indexOf(M,this.pos);if(P>-1)return this.pos=P,!0},Ue.prototype.backUp=function(M){this.pos-=M},Ue.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)},Ue.prototype.indentation=function(){return W(this.string,null,this.tabSize)-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},Ue.prototype.match=function(M,P,ae){if(typeof M=="string"){var le=function(Ut){return ae?Ut.toLowerCase():Ut},pe=this.string.substr(this.pos,M.length);if(le(pe)==le(M))return P!==!1&&(this.pos+=M.length),!0}else{var Ve=this.string.slice(this.pos).match(M);return Ve&&Ve.index>0?null:(Ve&&P!==!1&&(this.pos+=Ve[0].length),Ve)}},Ue.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ue.prototype.hideFirstChars=function(M,P){this.lineStart+=M;try{return P()}finally{this.lineStart-=M}},Ue.prototype.lookAhead=function(M){var P=this.lineOracle;return P&&P.lookAhead(M)},Ue.prototype.baseToken=function(){var M=this.lineOracle;return M&&M.baseToken(this.pos)};function Ye(M,P){if(P-=M.first,P<0||P>=M.size)throw new Error("There is no line "+(P+M.first)+" in the document.");for(var ae=M;!ae.lines;)for(var le=0;;++le){var pe=ae.children[le],Ve=pe.chunkSize();if(P<Ve){ae=pe;break}P-=Ve}return ae.lines[P]}function ft(M,P,ae){var le=[],pe=P.line;return M.iter(P.line,ae.line+1,function(Ve){var yt=Ve.text;pe==ae.line&&(yt=yt.slice(0,ae.ch)),pe==P.line&&(yt=yt.slice(P.ch)),le.push(yt),++pe}),le}function ir(M,P,ae){var le=[];return M.iter(P,ae,function(pe){le.push(pe.text)}),le}function Yt(M,P){var ae=P-M.height;if(ae)for(var le=M;le;le=le.parent)le.height+=ae}function rr(M){if(M.parent==null)return null;for(var P=M.parent,ae=Y(P.lines,M),le=P.parent;le;P=le,le=le.parent)for(var pe=0;!(le.children[pe]==P);++pe)ae+=le.children[pe].chunkSize();return ae+P.first}function Zr(M,P){var ae=M.first;e:do{for(var le=0;le<M.children.length;++le){var pe=M.children[le],Ve=pe.height;if(P<Ve){M=pe;continue e}P-=Ve,ae+=pe.chunkSize()}return ae}while(!M.lines);for(var yt=0;yt<M.lines.length;++yt){var Ut=M.lines[yt],sr=Ut.height;if(P<sr)break;P-=sr}return ae+yt}function nn(M,P){return P>=M.first&&P<M.first+M.size}function Pn(M,P){return String(M.lineNumberFormatter(P+M.firstLineNumber))}function qt(M,P,ae){if(ae===void 0&&(ae=null),!(this instanceof qt))return new qt(M,P,ae);this.line=M,this.ch=P,this.sticky=ae}function St(M,P){return M.line-P.line||M.ch-P.ch}function At(M,P){return M.sticky==P.sticky&&St(M,P)==0}function cr(M){return qt(M.line,M.ch)}function or(M,P){return St(M,P)<0?P:M}function Tt(M,P){return St(M,P)<0?M:P}function Rt(M,P){return Math.max(M.first,Math.min(P,M.first+M.size-1))}function _t(M,P){if(P.line<M.first)return qt(M.first,0);var ae=M.first+M.size-1;return P.line>ae?qt(ae,Ye(M,ae).text.length):Zt(P,Ye(M,P.line).text.length)}function Zt(M,P){var ae=M.ch;return ae==null||ae>P?qt(M.line,P):ae<0?qt(M.line,0):M}function Nr(M,P){for(var ae=[],le=0;le<P.length;le++)ae[le]=_t(M,P[le]);return ae}var Sr=function(P,ae){this.state=P,this.lookAhead=ae},br=function(P,ae,le,pe){this.state=ae,this.doc=P,this.line=le,this.maxLookAhead=pe||0,this.baseTokens=null,this.baseTokenPos=1};br.prototype.lookAhead=function(M){var P=this.doc.getLine(this.line+M);return P!=null&&M>this.maxLookAhead&&(this.maxLookAhead=M),P},br.prototype.baseToken=function(M){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=M;)this.baseTokenPos+=2;var P=this.baseTokens[this.baseTokenPos+1];return{type:P&&P.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-M}},br.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},br.fromSaved=function(M,P,ae){return P instanceof Sr?new br(M,lt(M.mode,P.state),ae,P.lookAhead):new br(M,lt(M.mode,P),ae)},br.prototype.save=function(M){var P=M!==!1?lt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Sr(P,this.maxLookAhead):P};function hn(M,P,ae,le){var pe=[M.state.modeGen],Ve={};Re(M,P.text,M.doc.mode,ae,function(fr,xn){return pe.push(fr,xn)},Ve,le);for(var yt=ae.state,Ut=function(xn){ae.baseTokens=pe;var jn=M.state.overlays[xn],gi=1,Si=0;ae.state=!0,Re(M,P.text,jn.mode,ae,function(la,Ua){for(var eo=gi;Si<la;){var no=pe[gi];no>la&&pe.splice(gi,1,la,pe[gi+1],no),gi+=2,Si=Math.min(la,no)}if(!Ua)return;if(jn.opaque)pe.splice(eo,gi-eo,la,"overlay "+Ua),gi=eo+2;else for(;eo<gi;eo+=2){var to=pe[eo+1];pe[eo+1]=(to?to+" ":"")+"overlay "+Ua}},Ve),ae.state=yt,ae.baseTokens=null,ae.baseTokenPos=1},sr=0;sr<M.state.overlays.length;++sr)Ut(sr);return{styles:pe,classes:Ve.bgClass||Ve.textClass?Ve:null}}function fn(M,P,ae){if(!P.styles||P.styles[0]!=M.state.modeGen){var le=ni(M,rr(P)),pe=P.text.length>M.options.maxHighlightLength&<(M.doc.mode,le.state),Ve=hn(M,P,le);pe&&(le.state=pe),P.stateAfter=le.save(!pe),P.styles=Ve.styles,Ve.classes?P.styleClasses=Ve.classes:P.styleClasses&&(P.styleClasses=null),ae===M.doc.highlightFrontier&&(M.doc.modeFrontier=Math.max(M.doc.modeFrontier,++M.doc.highlightFrontier))}return P.styles}function ni(M,P,ae){var le=M.doc,pe=M.display;if(!le.mode.startState)return new br(le,!0,P);var Ve=Ke(M,P,ae),yt=Ve>le.first&&Ye(le,Ve-1).stateAfter,Ut=yt?br.fromSaved(le,yt,Ve):new br(le,Le(le.mode),Ve);return le.iter(Ve,P,function(sr){mi(M,sr.text,Ut);var fr=Ut.line;sr.stateAfter=fr==P-1||fr%5==0||fr>=pe.viewFrom&&fr<pe.viewTo?Ut.save():null,Ut.nextLine()}),ae&&(le.modeFrontier=Ut.line),Ut}function mi(M,P,ae,le){var pe=M.doc.mode,Ve=new Ue(P,M.options.tabSize,ae);for(Ve.start=Ve.pos=le||0,P==""&&_i(pe,ae.state);!Ve.eol();)Hi(pe,Ve,ae.state),Ve.start=Ve.pos}function _i(M,P){if(M.blankLine)return M.blankLine(P);if(!M.innerMode)return;var ae=ct(M,P);if(ae.mode.blankLine)return ae.mode.blankLine(ae.state)}function Hi(M,P,ae,le){for(var pe=0;pe<10;pe++){le&&(le[0]=ct(M,ae).mode);var Ve=M.token(P,ae);if(P.pos>P.start)return Ve}throw new Error("Mode "+M.name+" failed to advance stream.")}var aa=function(P,ae,le){this.start=P.start,this.end=P.pos,this.string=P.current(),this.type=ae||null,this.state=le};function Ra(M,P,ae,le){var pe=M.doc,Ve=pe.mode,yt;P=_t(pe,P);var Ut=Ye(pe,P.line),sr=ni(M,P.line,ae),fr=new Ue(Ut.text,M.options.tabSize,sr),xn;for(le&&(xn=[]);(le||fr.pos<P.ch)&&!fr.eol();)fr.start=fr.pos,yt=Hi(Ve,fr,sr.state),le&&xn.push(new aa(fr,yt,lt(pe.mode,sr.state)));return le?xn:new aa(fr,yt,sr.state)}function it(M,P){if(M)for(;;){var ae=M.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ae)break;M=M.slice(0,ae.index)+M.slice(ae.index+ae[0].length);var le=ae[1]?"bgClass":"textClass";P[le]==null?P[le]=ae[2]:new RegExp("(?:^|\\s)"+ae[2]+"(?:$|\\s)").test(P[le])||(P[le]+=" "+ae[2])}return M}function Re(M,P,ae,le,pe,Ve,yt){var Ut=ae.flattenSpans;Ut==null&&(Ut=M.options.flattenSpans);var sr=0,fr=null,xn=new Ue(P,M.options.tabSize,le),jn,gi=M.options.addModeClass&&[null];for(P==""&&it(_i(ae,le.state),Ve);!xn.eol();){if(xn.pos>M.options.maxHighlightLength?(Ut=!1,yt&&mi(M,P,le,xn.pos),xn.pos=P.length,jn=null):jn=it(Hi(ae,xn,le.state,gi),Ve),gi){var Si=gi[0].name;Si&&(jn="m-"+(jn?Si+" "+jn:Si))}if(!Ut||fr!=jn){for(;sr<xn.start;)sr=Math.min(xn.start,sr+5e3),pe(sr,fr);fr=jn}xn.start=xn.pos}for(;sr<xn.pos;){var la=Math.min(xn.pos,sr+5e3);pe(la,fr),sr=la}}function Ke(M,P,ae){for(var le,pe,Ve=M.doc,yt=ae?-1:P-(M.doc.mode.innerMode?1e3:100),Ut=P;Ut>yt;--Ut){if(Ut<=Ve.first)return Ve.first;var sr=Ye(Ve,Ut-1),fr=sr.stateAfter;if(fr&&(!ae||Ut+(fr instanceof Sr?fr.lookAhead:0)<=Ve.modeFrontier))return Ut;var xn=W(sr.text,null,M.options.tabSize);(pe==null||le>xn)&&(pe=Ut-1,le=xn)}return pe}function Ge(M,P){if(M.modeFrontier=Math.min(M.modeFrontier,P),M.highlightFrontier<P-10)return;for(var ae=M.first,le=P-1;le>ae;le--){var pe=Ye(M,le).stateAfter;if(pe&&(!(pe instanceof Sr)||le+pe.lookAhead<P)){ae=le+1;break}}M.highlightFrontier=Math.min(M.highlightFrontier,ae)}var et=!1,$e=!1;function st(){et=!0}function Lt(){$e=!0}function vt(M,P,ae){this.marker=M,this.from=P,this.to=ae}function Qt(M,P){if(M)for(var ae=0;ae<M.length;++ae){var le=M[ae];if(le.marker==P)return le}}function Fr(M,P){for(var ae,le=0;le<M.length;++le)M[le]!=P&&(ae||(ae=[])).push(M[le]);return ae}function Lr(M,P){M.markedSpans=M.markedSpans?M.markedSpans.concat([P]):[P],P.marker.attachLine(M)}function Gr(M,P,ae){var le;if(M)for(var pe=0;pe<M.length;++pe){var Ve=M[pe],yt=Ve.marker,Ut=Ve.from==null||(yt.inclusiveLeft?Ve.from<=P:Ve.from<P);if(Ut||Ve.from==P&&yt.type=="bookmark"&&(!ae||!Ve.marker.insertLeft)){var sr=Ve.to==null||(yt.inclusiveRight?Ve.to>=P:Ve.to>P);(le||(le=[])).push(new vt(yt,Ve.from,sr?null:Ve.to))}}return le}function $t(M,P,ae){var le;if(M)for(var pe=0;pe<M.length;++pe){var Ve=M[pe],yt=Ve.marker,Ut=Ve.to==null||(yt.inclusiveRight?Ve.to>=P:Ve.to>P);if(Ut||Ve.from==P&&yt.type=="bookmark"&&(!ae||Ve.marker.insertLeft)){var sr=Ve.from==null||(yt.inclusiveLeft?Ve.from<=P:Ve.from<P);(le||(le=[])).push(new vt(yt,sr?null:Ve.from-P,Ve.to==null?null:Ve.to-P))}}return le}function Rn(M,P){if(P.full)return null;var ae=nn(M,P.from.line)&&Ye(M,P.from.line).markedSpans,le=nn(M,P.to.line)&&Ye(M,P.to.line).markedSpans;if(!ae&&!le)return null;var pe=P.from.ch,Ve=P.to.ch,yt=St(P.from,P.to)==0,Ut=Gr(ae,pe,yt),sr=$t(le,Ve,yt),fr=P.text.length==1,xn=Ae(P.text).length+(fr?pe:0);if(Ut)for(var jn=0;jn<Ut.length;++jn){var gi=Ut[jn];if(gi.to==null){var Si=Qt(sr,gi.marker);Si?fr&&(gi.to=Si.to==null?null:Si.to+xn):gi.to=pe}}if(sr)for(var la=0;la<sr.length;++la){var Ua=sr[la];if(Ua.to!=null&&(Ua.to+=xn),Ua.from==null){var eo=Qt(Ut,Ua.marker);eo||(Ua.from=xn,fr&&(Ut||(Ut=[])).push(Ua))}else Ua.from+=xn,fr&&(Ut||(Ut=[])).push(Ua)}Ut&&(Ut=wr(Ut)),sr&&sr!=Ut&&(sr=wr(sr));var no=[Ut];if(!fr){var to=P.text.length-2,So;if(to>0&&Ut)for(var Do=0;Do<Ut.length;++Do)Ut[Do].to==null&&(So||(So=[])).push(new vt(Ut[Do].marker,null,null));for(var xs=0;xs<to;++xs)no.push(So);no.push(sr)}return no}function wr(M){for(var P=0;P<M.length;++P){var ae=M[P];ae.from!=null&&ae.from==ae.to&&ae.marker.clearWhenEmpty!==!1&&M.splice(P--,1)}return M.length?M:null}function pn(M,P,ae){var le=null;if(M.iter(P.line,ae.line+1,function(Si){if(Si.markedSpans)for(var la=0;la<Si.markedSpans.length;++la){var Ua=Si.markedSpans[la].marker;Ua.readOnly&&(!le||Y(le,Ua)==-1)&&(le||(le=[])).push(Ua)}}),!le)return null;for(var pe=[{from:P,to:ae}],Ve=0;Ve<le.length;++Ve)for(var yt=le[Ve],Ut=yt.find(0),sr=0;sr<pe.length;++sr){var fr=pe[sr];if(St(fr.to,Ut.from)<0||St(fr.from,Ut.to)>0)continue;var xn=[sr,1],jn=St(fr.from,Ut.from),gi=St(fr.to,Ut.to);(jn<0||!yt.inclusiveLeft&&!jn)&&xn.push({from:fr.from,to:Ut.from}),(gi>0||!yt.inclusiveRight&&!gi)&&xn.push({from:Ut.to,to:fr.to}),pe.splice.apply(pe,xn),sr+=xn.length-3}return pe}function rn(M){var P=M.markedSpans;if(!P)return;for(var ae=0;ae<P.length;++ae)P[ae].marker.detachLine(M);M.markedSpans=null}function Br(M,P){if(!P)return;for(var ae=0;ae<P.length;++ae)P[ae].marker.attachLine(M);M.markedSpans=P}function Yn(M){return M.inclusiveLeft?-1:0}function xi(M){return M.inclusiveRight?1:0}function Li(M,P){var ae=M.lines.length-P.lines.length;if(ae!=0)return ae;var le=M.find(),pe=P.find(),Ve=St(le.from,pe.from)||Yn(M)-Yn(P);if(Ve)return-Ve;var yt=St(le.to,pe.to)||xi(M)-xi(P);return yt||P.id-M.id}function Vi(M,P){var ae=$e&&M.markedSpans,le;if(ae)for(var pe=void 0,Ve=0;Ve<ae.length;++Ve)pe=ae[Ve],pe.marker.collapsed&&(P?pe.from:pe.to)==null&&(!le||Li(le,pe.marker)<0)&&(le=pe.marker);return le}function Wi(M){return Vi(M,!0)}function qi(M){return Vi(M,!1)}function bi(M,P){var ae=$e&&M.markedSpans,le;if(ae)for(var pe=0;pe<ae.length;++pe){var Ve=ae[pe];Ve.marker.collapsed&&(Ve.from==null||Ve.from<P)&&(Ve.to==null||Ve.to>P)&&(!le||Li(le,Ve.marker)<0)&&(le=Ve.marker)}return le}function ba(M,P,ae,le,pe){var Ve=Ye(M,P),yt=$e&&Ve.markedSpans;if(yt)for(var Ut=0;Ut<yt.length;++Ut){var sr=yt[Ut];if(!sr.marker.collapsed)continue;var fr=sr.marker.find(0),xn=St(fr.from,ae)||Yn(sr.marker)-Yn(pe),jn=St(fr.to,le)||xi(sr.marker)-xi(pe);if(xn>=0&&jn<=0||xn<=0&&jn>=0)continue;if(xn<=0&&(sr.marker.inclusiveRight&&pe.inclusiveLeft?St(fr.to,ae)>=0:St(fr.to,ae)>0)||xn>=0&&(sr.marker.inclusiveRight&&pe.inclusiveLeft?St(fr.from,le)<=0:St(fr.from,le)<0))return!0}}function Kn(M){for(var P;P=Wi(M);)M=P.find(-1,!0).line;return M}function un(M){for(var P;P=qi(M);)M=P.find(1,!0).line;return M}function ri(M){for(var P,ae;P=qi(M);)M=P.find(1,!0).line,(ae||(ae=[])).push(M);return ae}function Cn(M,P){var ae=Ye(M,P),le=Kn(ae);return ae==le?P:rr(le)}function ki(M,P){if(P>M.lastLine())return P;var ae=Ye(M,P),le;if(!Tn(M,ae))return P;for(;le=qi(ae);)ae=le.find(1,!0).line;return rr(ae)+1}function Tn(M,P){var ae=$e&&P.markedSpans;if(ae)for(var le=void 0,pe=0;pe<ae.length;++pe){if(le=ae[pe],!le.marker.collapsed)continue;if(le.from==null)return!0;if(le.marker.widgetNode)continue;if(le.from==0&&le.marker.inclusiveLeft&&oa(M,P,le))return!0}}function oa(M,P,ae){if(ae.to==null){var le=ae.marker.find(1,!0);return oa(M,le.line,Qt(le.line.markedSpans,ae.marker))}if(ae.marker.inclusiveRight&&ae.to==P.text.length)return!0;for(var pe=void 0,Ve=0;Ve<P.markedSpans.length;++Ve)if(pe=P.markedSpans[Ve],pe.marker.collapsed&&!pe.marker.widgetNode&&pe.from==ae.to&&(pe.to==null||pe.to!=ae.from)&&(pe.marker.inclusiveLeft||ae.marker.inclusiveRight)&&oa(M,P,pe))return!0}function Ti(M){M=Kn(M);for(var P=0,ae=M.parent,le=0;le<ae.lines.length;++le){var pe=ae.lines[le];if(pe==M)break;P+=pe.height}for(var Ve=ae.parent;Ve;ae=Ve,Ve=ae.parent)for(var yt=0;yt<Ve.children.length;++yt){var Ut=Ve.children[yt];if(Ut==ae)break;P+=Ut.height}return P}function li(M){if(M.height==0)return 0;for(var P=M.text.length,ae,le=M;ae=Wi(le);){var pe=ae.find(0,!0);le=pe.from.line,P+=pe.from.ch-pe.to.ch}for(le=M;ae=qi(le);){var Ve=ae.find(0,!0);P-=le.text.length-Ve.from.ch,le=Ve.to.line,P+=le.text.length-Ve.to.ch}return P}function Ri(M){var P=M.display,ae=M.doc;P.maxLine=Ye(ae,ae.first),P.maxLineLength=li(P.maxLine),P.maxLineChanged=!0,ae.iter(function(le){var pe=li(le);pe>P.maxLineLength&&(P.maxLineLength=pe,P.maxLine=le)})}var Da=function(P,ae,le){this.text=P,Br(this,ae),this.height=le?le(this):1};Da.prototype.lineNo=function(){return rr(this)},er(Da);function Un(M,P,ae,le){M.text=P,M.stateAfter&&(M.stateAfter=null),M.styles&&(M.styles=null),M.order!=null&&(M.order=null),rn(M),Br(M,ae);var pe=le?le(M):1;pe!=M.height&&Yt(M,pe)}function on(M){M.parent=null,rn(M)}var Zn={},hi={};function Ni(M,P){if(!M||/^\s*$/.test(M))return null;var ae=P.addModeClass?hi:Zn;return ae[M]||(ae[M]=M.replace(/\S+/g,"cm-$&"))}function zi(M,P){var ae=F("span",null,null,n?"padding-right: .1px":null),le={pre:F("pre",[ae],"CodeMirror-line"),content:ae,col:0,pos:0,cm:M,trailingSpace:!1,splitSpaces:M.getOption("lineWrapping")};P.measure={};for(var pe=0;pe<=(P.rest?P.rest.length:0);pe++){var Ve=pe?P.rest[pe-1]:P.line,yt=void 0;le.pos=0,le.addToken=Fi,yr(M.display.measure)&&(yt=gt(Ve,M.doc.direction))&&(le.addToken=Va(le.addToken,yt)),le.map=[];var Ut=P!=M.display.externalMeasured&&rr(Ve);ja(Ve,le,fn(M,Ve,Ut)),Ve.styleClasses&&(Ve.styleClasses.bgClass&&(le.bgClass=B(Ve.styleClasses.bgClass,le.bgClass||"")),Ve.styleClasses.textClass&&(le.textClass=B(Ve.styleClasses.textClass,le.textClass||""))),le.map.length==0&&le.map.push(0,0,le.content.appendChild(mt(M.display.measure))),pe==0?(P.measure.map=le.map,P.measure.cache={}):((P.measure.maps||(P.measure.maps=[])).push(le.map),(P.measure.caches||(P.measure.caches=[])).push({}))}if(n){var sr=le.content.lastChild;(/\bcm-tab\b/.test(sr.className)||sr.querySelector&&sr.querySelector(".cm-tab"))&&(le.content.className="cm-tab-wrap-hack")}return Nt(M,"renderLine",M,P.line,le.pre),le.pre.className&&(le.textClass=B(le.pre.className,le.textClass||"")),le}function ea(M){var P=D("span","\u2022","cm-invalidchar");return P.title="\\u"+M.charCodeAt(0).toString(16),P.setAttribute("aria-label",P.title),P}function Fi(M,P,ae,le,pe,Ve,yt){if(!P)return;var Ut=M.splitSpaces?ia(P,M.trailingSpace):P,sr=M.cm.state.specialChars,fr=!1,xn;if(!sr.test(P))M.col+=P.length,xn=document.createTextNode(Ut),M.map.push(M.pos,M.pos+P.length,xn),d&&l<9&&(fr=!0),M.pos+=P.length;else{xn=document.createDocumentFragment();for(var jn=0;;){sr.lastIndex=jn;var gi=sr.exec(P),Si=gi?gi.index-jn:P.length-jn;if(Si){var la=document.createTextNode(Ut.slice(jn,jn+Si));d&&l<9?xn.appendChild(D("span",[la])):xn.appendChild(la),M.map.push(M.pos,M.pos+Si,la),M.col+=Si,M.pos+=Si}if(!gi)break;jn+=Si+1;var Ua=void 0;if(gi[0]==" "){var eo=M.cm.options.tabSize,no=eo-M.col%eo;Ua=xn.appendChild(D("span",We(no),"cm-tab")),Ua.setAttribute("role","presentation"),Ua.setAttribute("cm-text"," "),M.col+=no}else gi[0]=="\r"||gi[0]==`
|
|
|
`?(Ua=xn.appendChild(D("span",gi[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ua.setAttribute("cm-text",gi[0]),M.col+=1):(Ua=M.cm.options.specialCharPlaceholder(gi[0]),Ua.setAttribute("cm-text",gi[0]),d&&l<9?xn.appendChild(D("span",[Ua])):xn.appendChild(Ua),M.col+=1);M.map.push(M.pos,M.pos+1,Ua),M.pos++}}if(M.trailingSpace=Ut.charCodeAt(P.length-1)==32,ae||le||pe||fr||Ve||yt){var to=ae||"";le&&(to+=le),pe&&(to+=pe);var So=D("span",[xn],to,Ve);if(yt)for(var Do in yt)yt.hasOwnProperty(Do)&&Do!="style"&&Do!="class"&&So.setAttribute(Do,yt[Do]);return M.content.appendChild(So)}M.content.appendChild(xn)}function ia(M,P){if(M.length>1&&!/ /.test(M))return M;for(var ae=P,le="",pe=0;pe<M.length;pe++){var Ve=M.charAt(pe);Ve==" "&&ae&&(pe==M.length-1||M.charCodeAt(pe+1)==32)&&(Ve="\xA0"),le+=Ve,ae=Ve==" "}return le}function Va(M,P){return function(ae,le,pe,Ve,yt,Ut,sr){pe=pe?pe+" cm-force-border":"cm-force-border";for(var fr=ae.pos,xn=fr+le.length;;){for(var jn=void 0,gi=0;gi<P.length&&!(jn=P[gi],jn.to>fr&&jn.from<=fr);gi++);if(jn.to>=xn)return M(ae,le,pe,Ve,yt,Ut,sr);M(ae,le.slice(0,jn.to-fr),pe,Ve,null,Ut,sr),Ve=null,le=le.slice(jn.to-fr),fr=jn.to}}}function fo(M,P,ae,le){var pe=!le&&ae.widgetNode;pe&&M.map.push(M.pos,M.pos+P,pe),!le&&M.cm.display.input.needsContentAttribute&&(pe||(pe=M.content.appendChild(document.createElement("span"))),pe.setAttribute("cm-marker",ae.id)),pe&&(M.cm.display.input.setUneditable(pe),M.content.appendChild(pe)),M.pos+=P,M.trailingSpace=!1}function ja(M,P,ae){var le=M.markedSpans,pe=M.text,Ve=0;if(!le){for(var yt=1;yt<ae.length;yt+=2)P.addToken(P,pe.slice(Ve,Ve=ae[yt]),Ni(ae[yt+1],P.cm.options));return}for(var Ut=pe.length,sr=0,fr=1,xn="",jn,gi,Si=0,la,Ua,eo,no,to;;){if(Si==sr){la=Ua=eo=gi="",to=null,no=null,Si=Infinity;for(var So=[],Do=void 0,xs=0;xs<le.length;++xs){var os=le[xs],js=os.marker;if(js.type=="bookmark"&&os.from==sr&&js.widgetNode)So.push(js);else if(os.from<=sr&&(os.to==null||os.to>sr||js.collapsed&&os.to==sr&&os.from==sr)){if(os.to!=null&&os.to!=sr&&Si>os.to&&(Si=os.to,Ua=""),js.className&&(la+=" "+js.className),js.css&&(gi=(gi?gi+";":"")+js.css),js.startStyle&&os.from==sr&&(eo+=" "+js.startStyle),js.endStyle&&os.to==Si&&(Do||(Do=[])).push(js.endStyle,os.to),js.title&&((to||(to={})).title=js.title),js.attributes)for(var cl in js.attributes)(to||(to={}))[cl]=js.attributes[cl];js.collapsed&&(!no||Li(no.marker,js)<0)&&(no=os)}else os.from>sr&&Si>os.from&&(Si=os.from)}if(Do)for(var co=0;co<Do.length;co+=2)Do[co+1]==Si&&(Ua+=" "+Do[co]);if(!no||no.from==sr)for(var yl=0;yl<So.length;++yl)fo(P,0,So[yl]);if(no&&(no.from||0)==sr){if(fo(P,(no.to==null?Ut+1:no.to)-sr,no.marker,no.from==null),no.to==null)return;no.to==sr&&(no=!1)}}if(sr>=Ut)break;for(var oc=Math.min(Ut,Si);;){if(xn){var jl=sr+xn.length;if(!no){var sc=jl>oc?xn.slice(0,oc-sr):xn;P.addToken(P,sc,jn?jn+la:la,eo,sr+sc.length==Si?Ua:"",gi,to)}if(jl>=oc){xn=xn.slice(oc-sr),sr=oc;break}sr=jl,eo=""}xn=pe.slice(Ve,Ve=ae[fr++]),jn=Ni(ae[fr++],P.cm.options)}}}function Ka(M,P,ae){this.line=P,this.rest=ri(P),this.size=this.rest?rr(Ae(this.rest))-ae+1:1,this.node=this.text=null,this.hidden=Tn(M,P)}function Gi(M,P,ae){for(var le=[],pe,Ve=P;Ve<ae;Ve=pe){var yt=new Ka(M.doc,Ye(M.doc,Ve),Ve);pe=Ve+yt.size,le.push(yt)}return le}var mn=null;function $i(M){mn?mn.ops.push(M):M.ownsGroup=mn={ops:[M],delayedCallbacks:[]}}function io(M){var P=M.delayedCallbacks,ae=0;do{for(;ae<P.length;ae++)P[ae].call(null);for(var le=0;le<M.ops.length;le++){var pe=M.ops[le];if(pe.cursorActivityHandlers)for(;pe.cursorActivityCalled<pe.cursorActivityHandlers.length;)pe.cursorActivityHandlers[pe.cursorActivityCalled++].call(null,pe.cm)}}while(ae<P.length)}function La(M,P){var ae=M.ownsGroup;if(!ae)return;try{io(ae)}finally{mn=null,P(ae)}}var ao=null;function tr(M,P){var ae=It(M,P);if(!ae.length)return;var le=Array.prototype.slice.call(arguments,2),pe;mn?pe=mn.delayedCallbacks:ao?pe=ao:(pe=ao=[],setTimeout(An,0));for(var Ve=function(sr){pe.push(function(){return ae[sr].apply(null,le)})},yt=0;yt<ae.length;++yt)Ve(yt)}function An(){var M=ao;ao=null;for(var P=0;P<M.length;++P)M[P]()}function _n(M,P,ae,le){for(var pe=0;pe<P.changes.length;pe++){var Ve=P.changes[pe];Ve=="text"?Cr(M,P):Ve=="gutter"?Yr(M,P,ae,le):Ve=="class"?gr(M,P):Ve=="widget"&&en(M,P,le)}P.changes=null}function Bn(M){return M.node==M.text&&(M.node=D("div",null,null,"position: relative"),M.text.parentNode&&M.text.parentNode.replaceChild(M.node,M.text),M.node.appendChild(M.text),d&&l<8&&(M.node.style.zIndex=2)),M.node}function tt(M,P){var ae=P.bgClass?P.bgClass+" "+(P.line.bgClass||""):P.line.bgClass;if(ae&&(ae+=" CodeMirror-linebackground"),P.background)ae?P.background.className=ae:(P.background.parentNode.removeChild(P.background),P.background=null);else if(ae){var le=Bn(P);P.background=le.insertBefore(D("div",null,ae),le.firstChild),M.display.input.setUneditable(P.background)}}function Ft(M,P){var ae=M.display.externalMeasured;return ae&&ae.line==P.line?(M.display.externalMeasured=null,P.measure=ae.measure,ae.built):zi(M,P)}function Cr(M,P){var ae=P.text.className,le=Ft(M,P);P.text==P.node&&(P.node=le.pre),P.text.parentNode.replaceChild(le.pre,P.text),P.text=le.pre,le.bgClass!=P.bgClass||le.textClass!=P.textClass?(P.bgClass=le.bgClass,P.textClass=le.textClass,gr(M,P)):ae&&(P.text.className=ae)}function gr(M,P){tt(M,P),P.line.wrapClass?Bn(P).className=P.line.wrapClass:P.node!=P.text&&(P.node.className="");var ae=P.textClass?P.textClass+" "+(P.line.textClass||""):P.line.textClass;P.text.className=ae||""}function Yr(M,P,ae,le){if(P.gutter&&(P.node.removeChild(P.gutter),P.gutter=null),P.gutterBackground&&(P.node.removeChild(P.gutterBackground),P.gutterBackground=null),P.line.gutterClass){var pe=Bn(P);P.gutterBackground=D("div",null,"CodeMirror-gutter-background "+P.line.gutterClass,"left: "+(M.options.fixedGutter?le.fixedPos:-le.gutterTotalWidth)+"px; width: "+le.gutterTotalWidth+"px"),M.display.input.setUneditable(P.gutterBackground),pe.insertBefore(P.gutterBackground,P.text)}var Ve=P.line.gutterMarkers;if(M.options.lineNumbers||Ve){var yt=Bn(P),Ut=P.gutter=D("div",null,"CodeMirror-gutter-wrapper","left: "+(M.options.fixedGutter?le.fixedPos:-le.gutterTotalWidth)+"px");if(M.display.input.setUneditable(Ut),yt.insertBefore(Ut,P.text),P.line.gutterClass&&(Ut.className+=" "+P.line.gutterClass),M.options.lineNumbers&&(!Ve||!Ve["CodeMirror-linenumbers"])&&(P.lineNumber=Ut.appendChild(D("div",Pn(M.options,ae),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+le.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+M.display.lineNumInnerWidth+"px"))),Ve)for(var sr=0;sr<M.display.gutterSpecs.length;++sr){var fr=M.display.gutterSpecs[sr].className,xn=Ve.hasOwnProperty(fr)&&Ve[fr];xn&&Ut.appendChild(D("div",[xn],"CodeMirror-gutter-elt","left: "+le.gutterLeft[fr]+"px; width: "+le.gutterWidth[fr]+"px"))}}}function en(M,P,ae){P.alignable&&(P.alignable=null);for(var le=O("CodeMirror-linewidget"),pe=P.node.firstChild,Ve=void 0;pe;pe=Ve)Ve=pe.nextSibling,le.test(pe.className)&&P.node.removeChild(pe);In(M,P,ae)}function cn(M,P,ae,le){var pe=Ft(M,P);return P.text=P.node=pe.pre,pe.bgClass&&(P.bgClass=pe.bgClass),pe.textClass&&(P.textClass=pe.textClass),gr(M,P),Yr(M,P,ae,le),In(M,P,le),P.node}function In(M,P,ae){if(Xn(M,P.line,P,ae,!0),P.rest)for(var le=0;le<P.rest.length;le++)Xn(M,P.rest[le],P,ae,!1)}function Xn(M,P,ae,le,pe){if(!P.widgets)return;for(var Ve=Bn(ae),yt=0,Ut=P.widgets;yt<Ut.length;++yt){var sr=Ut[yt],fr=D("div",[sr.node],"CodeMirror-linewidget"+(sr.className?" "+sr.className:""));sr.handleMouseEvents||fr.setAttribute("cm-ignore-events","true"),ii(sr,fr,ae,le),M.display.input.setUneditable(fr),pe&&sr.above?Ve.insertBefore(fr,ae.gutter||ae.text):Ve.appendChild(fr),tr(sr,"redraw")}}function ii(M,P,ae,le){if(M.noHScroll){(ae.alignable||(ae.alignable=[])).push(P);var pe=le.wrapperWidth;P.style.left=le.fixedPos+"px",M.coverGutter||(pe-=le.gutterTotalWidth,P.style.paddingLeft=le.gutterTotalWidth+"px"),P.style.width=pe+"px"}M.coverGutter&&(P.style.zIndex=5,P.style.position="relative",M.noHScroll||(P.style.marginLeft=-le.gutterTotalWidth+"px"))}function fi(M){if(M.height!=null)return M.height;var P=M.doc.cm;if(!P)return 0;if(!k(document.body,M.node)){var ae="position: relative;";M.coverGutter&&(ae+="margin-left: -"+P.display.gutters.offsetWidth+"px;"),M.noHScroll&&(ae+="width: "+P.display.wrapper.clientWidth+"px;"),L(P.display.measure,D("div",[M.node],null,ae))}return M.height=M.node.parentNode.offsetHeight}function ui(M,P){for(var ae=rt(P);ae!=M.wrapper;ae=ae.parentNode)if(!ae||ae.nodeType==1&&ae.getAttribute("cm-ignore-events")=="true"||ae.parentNode==M.sizer&&ae!=M.mover)return!0}function qn(M){return M.lineSpace.offsetTop}function ti(M){return M.mover.offsetHeight-M.lineSpace.offsetHeight}function oi(M){if(M.cachedPaddingH)return M.cachedPaddingH;var P=L(M.measure,D("pre","x","CodeMirror-line-like")),ae=window.getComputedStyle?window.getComputedStyle(P):P.currentStyle,le={left:parseInt(ae.paddingLeft),right:parseInt(ae.paddingRight)};return!isNaN(le.left)&&!isNaN(le.right)&&(M.cachedPaddingH=le),le}function Ci(M){return re-M.display.nativeBarWidth}function Mi(M){return M.display.scroller.clientWidth-Ci(M)-M.display.barWidth}function Pi(M){return M.display.scroller.clientHeight-Ci(M)-M.display.barHeight}function ca(M,P,ae){var le=M.options.lineWrapping,pe=le&&Mi(M);if(!P.measure.heights||le&&P.measure.width!=pe){var Ve=P.measure.heights=[];if(le){P.measure.width=pe;for(var yt=P.text.firstChild.getClientRects(),Ut=0;Ut<yt.length-1;Ut++){var sr=yt[Ut],fr=yt[Ut+1];Math.abs(sr.bottom-fr.bottom)>2&&Ve.push((sr.bottom+fr.top)/2-ae.top)}}Ve.push(ae.bottom-ae.top)}}function sa(M,P,ae){if(M.line==P)return{map:M.measure.map,cache:M.measure.cache};for(var le=0;le<M.rest.length;le++)if(M.rest[le]==P)return{map:M.measure.maps[le],cache:M.measure.caches[le]};for(var pe=0;pe<M.rest.length;pe++)if(rr(M.rest[pe])>ae)return{map:M.measure.maps[pe],cache:M.measure.caches[pe],before:!0}}function Na(M,P){P=Kn(P);var ae=rr(P),le=M.display.externalMeasured=new Ka(M.doc,P,ae);le.lineN=ae;var pe=le.built=zi(M,le);return le.text=pe.pre,L(M.display.lineMeasure,pe.pre),le}function Pa(M,P,ae,le){return Ca(M,va(M,P),ae,le)}function ya(M,P){if(P>=M.display.viewFrom&&P<M.display.viewTo)return M.display.view[zo(M,P)];var ae=M.display.externalMeasured;if(ae&&P>=ae.lineN&&P<ae.lineN+ae.size)return ae}function va(M,P){var ae=rr(P),le=ya(M,ae);le&&!le.text?le=null:le&&le.changes&&(_n(M,le,ae,so(M)),M.curOp.forceUpdate=!0),le||(le=Na(M,P));var pe=sa(le,P,ae);return{line:P,view:le,rect:null,map:pe.map,cache:pe.cache,before:pe.before,hasHeights:!1}}function Ca(M,P,ae,le,pe){P.before&&(ae=-1);var Ve=ae+(le||""),yt;return P.cache.hasOwnProperty(Ve)?yt=P.cache[Ve]:(P.rect||(P.rect=P.view.text.getBoundingClientRect()),P.hasHeights||(ca(M,P.view,P.rect),P.hasHeights=!0),yt=Or(M,P,ae,le),yt.bogus||(P.cache[Ve]=yt)),{left:yt.left,right:yt.right,top:pe?yt.rtop:yt.top,bottom:pe?yt.rbottom:yt.bottom}}var Ai={left:0,right:0,top:0,bottom:0};function Aa(M,P,ae){for(var le,pe,Ve,yt,Ut,sr,fr=0;fr<M.length;fr+=3)if(Ut=M[fr],sr=M[fr+1],P<Ut?(pe=0,Ve=1,yt="left"):P<sr?(pe=P-Ut,Ve=pe+1):(fr==M.length-3||P==sr&&M[fr+3]>P)&&(Ve=sr-Ut,pe=Ve-1,P>=sr&&(yt="right")),pe!=null){if(le=M[fr+2],Ut==sr&&ae==(le.insertLeft?"left":"right")&&(yt=ae),ae=="left"&&pe==0)for(;fr&&M[fr-2]==M[fr-3]&&M[fr-1].insertLeft;)le=M[(fr-=3)+2],yt="left";if(ae=="right"&&pe==sr-Ut)for(;fr<M.length-3&&M[fr+3]==M[fr+4]&&!M[fr+5].insertLeft;)le=M[(fr+=3)+2],yt="right";break}return{node:le,start:pe,end:Ve,collapse:yt,coverStart:Ut,coverEnd:sr}}function za(M,P){var ae=Ai;if(P=="left")for(var le=0;le<M.length&&!((ae=M[le]).left!=ae.right);le++);else for(var pe=M.length-1;pe>=0&&!((ae=M[pe]).left!=ae.right);pe--);return ae}function Or(M,P,ae,le){var pe=Aa(P.map,ae,le),Ve=pe.node,yt=pe.start,Ut=pe.end,sr=pe.collapse,fr;if(Ve.nodeType==3){for(var xn=0;xn<4;xn++){for(;yt&&fe(P.line.text.charAt(pe.coverStart+yt));)--yt;for(;pe.coverStart+Ut<pe.coverEnd&&fe(P.line.text.charAt(pe.coverStart+Ut));)++Ut;if(d&&l<9&&yt==0&&Ut==pe.coverEnd-pe.coverStart?fr=Ve.parentNode.getBoundingClientRect():fr=za(j(Ve,yt,Ut).getClientRects(),le),fr.left||fr.right||yt==0)break;Ut=yt,yt=yt-1,sr="right"}d&&l<11&&(fr=$r(M.display.measure,fr))}else{yt>0&&(sr=le="right");var jn;M.options.lineWrapping&&(jn=Ve.getClientRects()).length>1?fr=jn[le=="right"?jn.length-1:0]:fr=Ve.getBoundingClientRect()}if(d&&l<9&&!yt&&(!fr||!fr.left&&!fr.right)){var gi=Ve.parentNode.getClientRects()[0];gi?fr={left:gi.left,right:gi.left+uo(M.display),top:gi.top,bottom:gi.bottom}:fr=Ai}for(var Si=fr.top-P.rect.top,la=fr.bottom-P.rect.top,Ua=(Si+la)/2,eo=P.view.measure.heights,no=0;no<eo.length-1&&!(Ua<eo[no]);no++);var to=no?eo[no-1]:0,So=eo[no],Do={left:(sr=="right"?fr.right:fr.left)-P.rect.left,right:(sr=="left"?fr.left:fr.right)-P.rect.left,top:to,bottom:So};return!fr.left&&!fr.right&&(Do.bogus=!0),M.options.singleCursorHeightPerLine||(Do.rtop=Si,Do.rbottom=la),Do}function $r(M,P){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!bt(M))return P;var ae=screen.logicalXDPI/screen.deviceXDPI,le=screen.logicalYDPI/screen.deviceYDPI;return{left:P.left*ae,right:P.right*ae,top:P.top*le,bottom:P.bottom*le}}function vn(M){if(M.measure&&(M.measure.cache={},M.measure.heights=null,M.rest))for(var P=0;P<M.rest.length;P++)M.measure.caches[P]={}}function Jr(M){M.display.externalMeasure=null,_(M.display.lineMeasure);for(var P=0;P<M.display.view.length;P++)vn(M.display.view[P])}function ar(M){Jr(M),M.display.cachedCharWidth=M.display.cachedTextHeight=M.display.cachedPaddingH=null,M.options.lineWrapping||(M.display.maxLineChanged=!0),M.display.lineNumChars=null}function Hr(){return a&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function mr(){return a&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function tn(M){var P=0;if(M.widgets)for(var ae=0;ae<M.widgets.length;++ae)M.widgets[ae].above&&(P+=fi(M.widgets[ae]));return P}function sn(M,P,ae,le,pe){if(!pe){var Ve=tn(P);ae.top+=Ve,ae.bottom+=Ve}if(le=="line")return ae;le||(le="local");var yt=Ti(P);if(le=="local"?yt+=qn(M.display):yt-=M.display.viewOffset,le=="page"||le=="window"){var Ut=M.display.lineSpace.getBoundingClientRect();yt+=Ut.top+(le=="window"?0:mr());var sr=Ut.left+(le=="window"?0:Hr());ae.left+=sr,ae.right+=sr}return ae.top+=yt,ae.bottom+=yt,ae}function Hn(M,P,ae){if(ae=="div")return P;var le=P.left,pe=P.top;if(ae=="page")le-=Hr(),pe-=mr();else if(ae=="local"||!ae){var Ve=M.display.sizer.getBoundingClientRect();le+=Ve.left,pe+=Ve.top}var yt=M.display.lineSpace.getBoundingClientRect();return{left:le-yt.left,top:pe-yt.top}}function Ln(M,P,ae,le,pe){return le||(le=Ye(M.doc,P.line)),sn(M,le,Pa(M,le,P.ch,pe),ae)}function Qn(M,P,ae,le,pe,Ve){le=le||Ye(M.doc,P.line),pe||(pe=va(M,le));function yt(la,Ua){var eo=Ca(M,pe,la,Ua?"right":"left",Ve);return Ua?eo.left=eo.right:eo.right=eo.left,sn(M,le,eo,ae)}var Ut=gt(le,M.doc.direction),sr=P.ch,fr=P.sticky;if(sr>=le.text.length?(sr=le.text.length,fr="before"):sr<=0&&(sr=0,fr="after"),!Ut)return yt(fr=="before"?sr-1:sr,fr=="before");function xn(la,Ua,eo){var no=Ut[Ua],to=no.level==1;return yt(eo?la-1:la,to!=eo)}var jn=Me(Ut,sr,fr),gi=ve,Si=xn(sr,jn,fr=="before");return gi!=null&&(Si.other=xn(sr,gi,fr!="before")),Si}function yi(M,P){var ae=0;P=_t(M.doc,P),M.options.lineWrapping||(ae=uo(M.display)*P.ch);var le=Ye(M.doc,P.line),pe=Ti(le)+qn(M.display);return{left:ae,right:ae,top:pe,bottom:pe+le.height}}function Di(M,P,ae,le,pe){var Ve=qt(M,P,ae);return Ve.xRel=pe,le&&(Ve.outside=le),Ve}function Ui(M,P,ae){var le=M.doc;if(ae+=M.display.viewOffset,ae<0)return Di(le.first,0,null,-1,-1);var pe=Zr(le,ae),Ve=le.first+le.size-1;if(pe>Ve)return Di(le.first+le.size-1,Ye(le,Ve).text.length,null,1,1);P<0&&(P=0);for(var yt=Ye(le,pe);;){var Ut=wo(M,yt,pe,P,ae),sr=bi(yt,Ut.ch+(Ut.xRel>0||Ut.outside>0?1:0));if(!sr)return Ut;var fr=sr.find(1);if(fr.line==pe)return fr;yt=Ye(le,pe=fr.line)}}function ua(M,P,ae,le){le-=tn(P);var pe=P.text.length,Ve=Ne(function(yt){return Ca(M,ae,yt-1).bottom<=le},pe,0);return pe=Ne(function(yt){return Ca(M,ae,yt).top>le},Ve,pe),{begin:Ve,end:pe}}function Xa(M,P,ae,le){ae||(ae=va(M,P));var pe=sn(M,P,Ca(M,ae,le),"line").top;return ua(M,P,ae,pe)}function vo(M,P,ae,le){return M.bottom<=ae?!1:M.top>ae?!0:(le?M.left:M.right)>P}function wo(M,P,ae,le,pe){pe-=Ti(P);var Ve=va(M,P),yt=tn(P),Ut=0,sr=P.text.length,fr=!0,xn=gt(P,M.doc.direction);if(xn){var jn=(M.options.lineWrapping?yo:ho)(M,P,ae,Ve,xn,le,pe);fr=jn.level!=1,Ut=fr?jn.from:jn.to-1,sr=fr?jn.to:jn.from-1}var gi=null,Si=null,la=Ne(function(xs){var os=Ca(M,Ve,xs);return os.top+=yt,os.bottom+=yt,vo(os,le,pe,!1)?(os.top<=pe&&os.left<=le&&(gi=xs,Si=os),!0):!1},Ut,sr),Ua,eo,no=!1;if(Si){var to=le-Si.left<Si.right-le,So=to==fr;la=gi+(So?0:1),eo=So?"after":"before",Ua=to?Si.left:Si.right}else{!fr&&(la==sr||la==Ut)&&la++,eo=la==0?"after":la==P.text.length?"before":Ca(M,Ve,la-(fr?1:0)).bottom+yt<=pe==fr?"after":"before";var Do=Qn(M,qt(ae,la,eo),"line",P,Ve);Ua=Do.left,no=pe<Do.top?-1:pe>=Do.bottom?1:0}return la=Be(P.text,la,1),Di(ae,la,eo,no,le-Ua)}function ho(M,P,ae,le,pe,Ve,yt){var Ut=Ne(function(jn){var gi=pe[jn],Si=gi.level!=1;return vo(Qn(M,qt(ae,Si?gi.to:gi.from,Si?"before":"after"),"line",P,le),Ve,yt,!0)},0,pe.length-1),sr=pe[Ut];if(Ut>0){var fr=sr.level!=1,xn=Qn(M,qt(ae,fr?sr.from:sr.to,fr?"after":"before"),"line",P,le);vo(xn,Ve,yt,!0)&&xn.top>yt&&(sr=pe[Ut-1])}return sr}function yo(M,P,ae,le,pe,Ve,yt){var Ut=ua(M,P,le,yt),sr=Ut.begin,fr=Ut.end;/\s/.test(P.text.charAt(fr-1))&&fr--;for(var xn=null,jn=null,gi=0;gi<pe.length;gi++){var Si=pe[gi];if(Si.from>=fr||Si.to<=sr)continue;var la=Si.level!=1,Ua=Ca(M,le,la?Math.min(fr,Si.to)-1:Math.max(sr,Si.from)).right,eo=Ua<Ve?Ve-Ua+1e9:Ua-Ve;(!xn||jn>eo)&&(xn=Si,jn=eo)}return xn||(xn=pe[pe.length-1]),xn.from<sr&&(xn={from:sr,to:xn.to,level:xn.level}),xn.to>fr&&(xn={from:xn.from,to:fr,level:xn.level}),xn}var Ga;function Ma(M){if(M.cachedTextHeight!=null)return M.cachedTextHeight;if(Ga==null){Ga=D("pre",null,"CodeMirror-line-like");for(var P=0;P<49;++P)Ga.appendChild(document.createTextNode("x")),Ga.appendChild(D("br"));Ga.appendChild(document.createTextNode("x"))}L(M.measure,Ga);var ae=Ga.offsetHeight/50;return ae>3&&(M.cachedTextHeight=ae),_(M.measure),ae||1}function uo(M){if(M.cachedCharWidth!=null)return M.cachedCharWidth;var P=D("span","xxxxxxxxxx"),ae=D("pre",[P],"CodeMirror-line-like");L(M.measure,ae);var le=P.getBoundingClientRect(),pe=(le.right-le.left)/10;return pe>2&&(M.cachedCharWidth=pe),pe||10}function so(M){for(var P=M.display,ae={},le={},pe=P.gutters.clientLeft,Ve=P.gutters.firstChild,yt=0;Ve;Ve=Ve.nextSibling,++yt){var Ut=M.display.gutterSpecs[yt].className;ae[Ut]=Ve.offsetLeft+Ve.clientLeft+pe,le[Ut]=Ve.clientWidth}return{fixedPos:To(P),gutterTotalWidth:P.gutters.offsetWidth,gutterLeft:ae,gutterWidth:le,wrapperWidth:P.wrapper.clientWidth}}function To(M){return M.scroller.getBoundingClientRect().left-M.sizer.getBoundingClientRect().left}function No(M){var P=Ma(M.display),ae=M.options.lineWrapping,le=ae&&Math.max(5,M.display.scroller.clientWidth/uo(M.display)-3);return function(pe){if(Tn(M.doc,pe))return 0;var Ve=0;if(pe.widgets)for(var yt=0;yt<pe.widgets.length;yt++)pe.widgets[yt].height&&(Ve+=pe.widgets[yt].height);return ae?Ve+(Math.ceil(pe.text.length/le)||1)*P:Ve+P}}function oo(M){var P=M.doc,ae=No(M);P.iter(function(le){var pe=ae(le);pe!=le.height&&Yt(le,pe)})}function Ja(M,P,ae,le){var pe=M.display;if(!ae&&rt(P).getAttribute("cm-not-content")=="true")return null;var Ve,yt,Ut=pe.lineSpace.getBoundingClientRect();try{Ve=P.clientX-Ut.left,yt=P.clientY-Ut.top}catch(jn){return null}var sr=Ui(M,Ve,yt),fr;if(le&&sr.xRel>0&&(fr=Ye(M.doc,sr.line).text).length==sr.ch){var xn=W(fr,fr.length,M.options.tabSize)-fr.length;sr=qt(sr.line,Math.max(0,Math.round((Ve-oi(M.display).left)/uo(M.display))-xn))}return sr}function zo(M,P){if(P>=M.display.viewTo)return null;if(P-=M.display.viewFrom,P<0)return null;for(var ae=M.display.view,le=0;le<ae.length;le++)if(P-=ae[le].size,P<0)return le}function Eo(M,P,ae,le){P==null&&(P=M.doc.first),ae==null&&(ae=M.doc.first+M.doc.size),le||(le=0);var pe=M.display;if(le&&ae<pe.viewTo&&(pe.updateLineNumbers==null||pe.updateLineNumbers>P)&&(pe.updateLineNumbers=P),M.curOp.viewChanged=!0,P>=pe.viewTo)$e&&Cn(M.doc,P)<pe.viewTo&&jo(M);else if(ae<=pe.viewFrom)$e&&ki(M.doc,ae+le)>pe.viewFrom?jo(M):(pe.viewFrom+=le,pe.viewTo+=le);else if(P<=pe.viewFrom&&ae>=pe.viewTo)jo(M);else if(P<=pe.viewFrom){var Ve=Zo(M,ae,ae+le,1);Ve?(pe.view=pe.view.slice(Ve.index),pe.viewFrom=Ve.lineN,pe.viewTo+=le):jo(M)}else if(ae>=pe.viewTo){var yt=Zo(M,P,P,-1);yt?(pe.view=pe.view.slice(0,yt.index),pe.viewTo=yt.lineN):jo(M)}else{var Ut=Zo(M,P,P,-1),sr=Zo(M,ae,ae+le,1);Ut&&sr?(pe.view=pe.view.slice(0,Ut.index).concat(Gi(M,Ut.lineN,sr.lineN)).concat(pe.view.slice(sr.index)),pe.viewTo+=le):jo(M)}var fr=pe.externalMeasured;fr&&(ae<fr.lineN?fr.lineN+=le:P<fr.lineN+fr.size&&(pe.externalMeasured=null))}function Ea(M,P,ae){M.curOp.viewChanged=!0;var le=M.display,pe=M.display.externalMeasured;if(pe&&P>=pe.lineN&&P<pe.lineN+pe.size&&(le.externalMeasured=null),P<le.viewFrom||P>=le.viewTo)return;var Ve=le.view[zo(M,P)];if(Ve.node==null)return;var yt=Ve.changes||(Ve.changes=[]);Y(yt,ae)==-1&&yt.push(ae)}function jo(M){M.display.viewFrom=M.display.viewTo=M.doc.first,M.display.view=[],M.display.viewOffset=0}function Zo(M,P,ae,le){var pe=zo(M,P),Ve,yt=M.display.view;if(!$e||ae==M.doc.first+M.doc.size)return{index:pe,lineN:ae};for(var Ut=M.display.viewFrom,sr=0;sr<pe;sr++)Ut+=yt[sr].size;if(Ut!=P){if(le>0){if(pe==yt.length-1)return null;Ve=Ut+yt[pe].size-P,pe++}else Ve=Ut-P;P+=Ve,ae+=Ve}for(;Cn(M.doc,ae)!=ae;){if(pe==(le<0?0:yt.length-1))return null;ae+=le*yt[pe-(le<0?1:0)].size,pe+=le}return{index:pe,lineN:ae}}function Za(M,P,ae){var le=M.display,pe=le.view;pe.length==0||P>=le.viewTo||ae<=le.viewFrom?(le.view=Gi(M,P,ae),le.viewFrom=P):(le.viewFrom>P?le.view=Gi(M,P,le.viewFrom).concat(le.view):le.viewFrom<P&&(le.view=le.view.slice(zo(M,P))),le.viewFrom=P,le.viewTo<ae?le.view=le.view.concat(Gi(M,le.viewTo,ae)):le.viewTo>ae&&(le.view=le.view.slice(0,zo(M,ae)))),le.viewTo=ae}function Xo(M){for(var P=M.display.view,ae=0,le=0;le<P.length;le++){var pe=P[le];!pe.hidden&&(!pe.node||pe.changes)&&++ae}return ae}function qo(M){M.display.input.showSelection(M.display.input.prepareSelection())}function cs(M,P){P===void 0&&(P=!0);for(var ae=M.doc,le={},pe=le.cursors=document.createDocumentFragment(),Ve=le.selection=document.createDocumentFragment(),yt=0;yt<ae.sel.ranges.length;yt++){if(!P&&yt==ae.sel.primIndex)continue;var Ut=ae.sel.ranges[yt];if(Ut.from().line>=M.display.viewTo||Ut.to().line<M.display.viewFrom)continue;var sr=Ut.empty();(sr||M.options.showCursorWhenSelecting)&&Oo(M,Ut.head,pe),sr||Io(M,Ut,Ve)}return le}function Oo(M,P,ae){var le=Qn(M,P,"div",null,null,!M.options.singleCursorHeightPerLine),pe=ae.appendChild(D("div","\xA0","CodeMirror-cursor"));if(pe.style.left=le.left+"px",pe.style.top=le.top+"px",pe.style.height=Math.max(0,le.bottom-le.top)*M.options.cursorHeight+"px",le.other){var Ve=ae.appendChild(D("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Ve.style.display="",Ve.style.left=le.other.left+"px",Ve.style.top=le.other.top+"px",Ve.style.height=(le.other.bottom-le.other.top)*.85+"px"}}function ss(M,P){return M.top-P.top||M.left-P.left}function Io(M,P,ae){var le=M.display,pe=M.doc,Ve=document.createDocumentFragment(),yt=oi(M.display),Ut=yt.left,sr=Math.max(le.sizerWidth,Mi(M)-le.sizer.offsetLeft)-yt.right,fr=pe.direction=="ltr";function xn(So,Do,xs,os){Do<0&&(Do=0),Do=Math.round(Do),os=Math.round(os),Ve.appendChild(D("div",null,"CodeMirror-selected","position: absolute; left: "+So+`px;
|
|
|
top: `+Do+"px; width: "+(xs==null?sr-So:xs)+`px;
|
|
|
height: `+(os-Do)+"px"))}function jn(So,Do,xs){var os=Ye(pe,So),js=os.text.length,cl,co;function yl(sc,Zs){return Ln(M,qt(So,sc),"div",os,Zs)}function oc(sc,Zs,rl){var tc=Xa(M,os,null,sc),lc=Zs=="ltr"==(rl=="after")?"left":"right",Ml=rl=="after"?tc.begin:tc.end-(/\s/.test(os.text.charAt(tc.end-1))?2:1);return yl(Ml,lc)[lc]}var jl=gt(os,pe.direction);return de(jl,Do||0,xs==null?js:xs,function(sc,Zs,rl,tc){var lc=rl=="ltr",Ml=yl(sc,lc?"left":"right"),zc=yl(Zs-1,lc?"right":"left"),Au=Do==null&&sc==0,vu=xs==null&&Zs==js,rc=tc==0,Kc=!jl||tc==jl.length-1;if(zc.top-Ml.top<=3){var _c=(fr?Au:vu)&&rc,Kd=(fr?vu:Au)&&Kc,bu=_c?Ut:(lc?Ml:zc).left,uu=Kd?sr:(lc?zc:Ml).right;xn(bu,Ml.top,uu-bu,Ml.bottom)}else{var Mu,kc,yu,Bd;lc?(Mu=fr&&Au&&rc?Ut:Ml.left,kc=fr?sr:oc(sc,rl,"before"),yu=fr?Ut:oc(Zs,rl,"after"),Bd=fr&&vu&&Kc?sr:zc.right):(Mu=fr?oc(sc,rl,"before"):Ut,kc=!fr&&Au&&rc?sr:Ml.right,yu=!fr&&vu&&Kc?Ut:zc.left,Bd=fr?oc(Zs,rl,"after"):sr),xn(Mu,Ml.top,kc-Mu,Ml.bottom),Ml.bottom<zc.top&&xn(Ut,Ml.bottom,null,zc.top),xn(yu,zc.top,Bd-yu,zc.bottom)}(!cl||ss(Ml,cl)<0)&&(cl=Ml),ss(zc,cl)<0&&(cl=zc),(!co||ss(Ml,co)<0)&&(co=Ml),ss(zc,co)<0&&(co=zc)}),{start:cl,end:co}}var gi=P.from(),Si=P.to();if(gi.line==Si.line)jn(gi.line,gi.ch,Si.ch);else{var la=Ye(pe,gi.line),Ua=Ye(pe,Si.line),eo=Kn(la)==Kn(Ua),no=jn(gi.line,gi.ch,eo?la.text.length+1:null).end,to=jn(Si.line,eo?0:null,Si.ch).start;eo&&(no.top<to.top-2?(xn(no.right,no.top,null,no.bottom),xn(Ut,to.top,to.left,to.bottom)):xn(no.right,no.top,to.left-no.right,no.bottom)),no.bottom<to.top&&xn(Ut,no.bottom,null,to.top)}ae.appendChild(Ve)}function lo(M){if(!M.state.focused)return;var P=M.display;clearInterval(P.blinker);var ae=!0;P.cursorDiv.style.visibility="",M.options.cursorBlinkRate>0?P.blinker=setInterval(function(){M.hasFocus()||ys(M),P.cursorDiv.style.visibility=(ae=!ae)?"":"hidden"},M.options.cursorBlinkRate):M.options.cursorBlinkRate<0&&(P.cursorDiv.style.visibility="hidden")}function ks(M){M.state.focused||(M.display.input.focus(),ko(M))}function As(M){M.state.delayingBlurEvent=!0,setTimeout(function(){M.state.delayingBlurEvent&&(M.state.delayingBlurEvent=!1,ys(M))},100)}function ko(M,P){if(M.state.delayingBlurEvent&&(M.state.delayingBlurEvent=!1),M.options.readOnly=="nocursor")return;M.state.focused||(Nt(M,"focus",M,P),M.state.focused=!0,Z(M.display.wrapper,"CodeMirror-focused"),!M.curOp&&M.display.selForContextMenu!=M.doc.sel&&(M.display.input.reset(),n&&setTimeout(function(){return M.display.input.reset(!0)},20)),M.display.input.receivedFocus()),lo(M)}function ys(M,P){if(M.state.delayingBlurEvent)return;M.state.focused&&(Nt(M,"blur",M,P),M.state.focused=!1,S(M.display.wrapper,"CodeMirror-focused")),clearInterval(M.display.blinker),setTimeout(function(){M.state.focused||(M.display.shift=!1)},150)}function es(M){for(var P=M.display,ae=P.lineDiv.offsetTop,le=0;le<P.view.length;le++){var pe=P.view[le],Ve=M.options.lineWrapping,yt=void 0,Ut=0;if(pe.hidden)continue;if(d&&l<8){var sr=pe.node.offsetTop+pe.node.offsetHeight;yt=sr-ae,ae=sr}else{var fr=pe.node.getBoundingClientRect();yt=fr.bottom-fr.top,!Ve&&pe.text.firstChild&&(Ut=pe.text.firstChild.getBoundingClientRect().right-fr.left-1)}var xn=pe.line.height-yt;if((xn>.005||xn<-.005)&&(Yt(pe.line,yt),ts(pe.line),pe.rest))for(var jn=0;jn<pe.rest.length;jn++)ts(pe.rest[jn]);if(Ut>M.display.sizerWidth){var gi=Math.ceil(Ut/uo(M.display));gi>M.display.maxLineLength&&(M.display.maxLineLength=gi,M.display.maxLine=pe.line,M.display.maxLineChanged=!0)}}}function ts(M){if(M.widgets)for(var P=0;P<M.widgets.length;++P){var ae=M.widgets[P],le=ae.node.parentNode;le&&(ae.height=le.offsetHeight)}}function _s(M,P,ae){var le=ae&&ae.top!=null?Math.max(0,ae.top):M.scroller.scrollTop;le=Math.floor(le-qn(M));var pe=ae&&ae.bottom!=null?ae.bottom:le+M.wrapper.clientHeight,Ve=Zr(P,le),yt=Zr(P,pe);if(ae&&ae.ensure){var Ut=ae.ensure.from.line,sr=ae.ensure.to.line;Ut<Ve?(Ve=Ut,yt=Zr(P,Ti(Ye(P,Ut))+M.wrapper.clientHeight)):Math.min(sr,P.lastLine())>=yt&&(Ve=Zr(P,Ti(Ye(P,sr))-M.wrapper.clientHeight),yt=sr)}return{from:Ve,to:Math.max(yt,Ve+1)}}function Ts(M,P){if(Bt(M,"scrollCursorIntoView"))return;var ae=M.display,le=ae.sizer.getBoundingClientRect(),pe=null;if(P.top+le.top<0?pe=!0:P.bottom+le.top>(window.innerHeight||document.documentElement.clientHeight)&&(pe=!1),pe!=null&&!e){var Ve=D("div","\u200B",null,`position: absolute;
|
|
|
top: `+(P.top-ae.viewOffset-qn(M.display))+`px;
|
|
|
height: `+(P.bottom-P.top+Ci(M)+ae.barHeight)+`px;
|
|
|
left: `+P.left+"px; width: "+Math.max(2,P.right-P.left)+"px;");M.display.lineSpace.appendChild(Ve),Ve.scrollIntoView(pe),M.display.lineSpace.removeChild(Ve)}}function $s(M,P,ae,le){le==null&&(le=0);var pe;!M.options.lineWrapping&&P==ae&&(P=P.ch?qt(P.line,P.sticky=="before"?P.ch-1:P.ch,"after"):P,ae=P.sticky=="before"?qt(P.line,P.ch+1,"before"):P);for(var Ve=0;Ve<5;Ve++){var yt=!1,Ut=Qn(M,P),sr=!ae||ae==P?Ut:Qn(M,ae);pe={left:Math.min(Ut.left,sr.left),top:Math.min(Ut.top,sr.top)-le,right:Math.max(Ut.left,sr.left),bottom:Math.max(Ut.bottom,sr.bottom)+le};var fr=Fs(M,pe),xn=M.doc.scrollTop,jn=M.doc.scrollLeft;if(fr.scrollTop!=null&&(Go(M,fr.scrollTop),Math.abs(M.doc.scrollTop-xn)>1&&(yt=!0)),fr.scrollLeft!=null&&(ul(M,fr.scrollLeft),Math.abs(M.doc.scrollLeft-jn)>1&&(yt=!0)),!yt)break}return pe}function Ms(M,P){var ae=Fs(M,P);ae.scrollTop!=null&&Go(M,ae.scrollTop),ae.scrollLeft!=null&&ul(M,ae.scrollLeft)}function Fs(M,P){var ae=M.display,le=Ma(M.display);P.top<0&&(P.top=0);var pe=M.curOp&&M.curOp.scrollTop!=null?M.curOp.scrollTop:ae.scroller.scrollTop,Ve=Pi(M),yt={};P.bottom-P.top>Ve&&(P.bottom=P.top+Ve);var Ut=M.doc.height+ti(ae),sr=P.top<le,fr=P.bottom>Ut-le;if(P.top<pe)yt.scrollTop=sr?0:P.top;else if(P.bottom>pe+Ve){var xn=Math.min(P.top,(fr?Ut:P.bottom)-Ve);xn!=pe&&(yt.scrollTop=xn)}var jn=M.options.fixedGutter?0:ae.gutters.offsetWidth,gi=M.curOp&&M.curOp.scrollLeft!=null?M.curOp.scrollLeft:ae.scroller.scrollLeft-jn,Si=Mi(M)-ae.gutters.offsetWidth,la=P.right-P.left>Si;return la&&(P.right=P.left+Si),P.left<10?yt.scrollLeft=0:P.left<gi?yt.scrollLeft=Math.max(0,P.left+jn-(la?0:10)):P.right>Si+gi-3&&(yt.scrollLeft=P.right+(la?0:10)-Si),yt}function as(M,P){if(P==null)return;Us(M),M.curOp.scrollTop=(M.curOp.scrollTop==null?M.doc.scrollTop:M.curOp.scrollTop)+P}function vs(M){Us(M);var P=M.getCursor();M.curOp.scrollToPos={from:P,to:P,margin:M.options.cursorScrollMargin}}function Ho(M,P,ae){(P!=null||ae!=null)&&Us(M),P!=null&&(M.curOp.scrollLeft=P),ae!=null&&(M.curOp.scrollTop=ae)}function Ns(M,P){Us(M),M.curOp.scrollToPos=P}function Us(M){var P=M.curOp.scrollToPos;if(P){M.curOp.scrollToPos=null;var ae=yi(M,P.from),le=yi(M,P.to);ka(M,ae,le,P.margin)}}function ka(M,P,ae,le){var pe=Fs(M,{left:Math.min(P.left,ae.left),top:Math.min(P.top,ae.top)-le,right:Math.max(P.right,ae.right),bottom:Math.max(P.bottom,ae.bottom)+le});Ho(M,pe.scrollLeft,pe.scrollTop)}function Go(M,P){if(Math.abs(M.doc.scrollTop-P)<2)return;E||Ol(M,{top:P}),xl(M,P,!0),E&&Ol(M),Cl(M,100)}function xl(M,P,ae){if(P=Math.max(0,Math.min(M.display.scroller.scrollHeight-M.display.scroller.clientHeight,P)),M.display.scroller.scrollTop==P&&!ae)return;M.doc.scrollTop=P,M.display.scrollbars.setScrollTop(P),M.display.scroller.scrollTop!=P&&(M.display.scroller.scrollTop=P)}function ul(M,P,ae,le){if(P=Math.max(0,Math.min(P,M.display.scroller.scrollWidth-M.display.scroller.clientWidth)),(ae?P==M.doc.scrollLeft:Math.abs(M.doc.scrollLeft-P)<2)&&!le)return;M.doc.scrollLeft=P,Il(M),M.display.scroller.scrollLeft!=P&&(M.display.scroller.scrollLeft=P),M.display.scrollbars.setScrollLeft(P)}function gl(M){var P=M.display,ae=P.gutters.offsetWidth,le=Math.round(M.doc.height+ti(M.display));return{clientHeight:P.scroller.clientHeight,viewHeight:P.wrapper.clientHeight,scrollWidth:P.scroller.scrollWidth,clientWidth:P.scroller.clientWidth,viewWidth:P.wrapper.clientWidth,barLeft:M.options.fixedGutter?ae:0,docHeight:le,scrollHeight:le+Ci(M)+P.barHeight,nativeBarWidth:P.nativeBarWidth,gutterWidth:ae}}var _l=function(P,ae,le){this.cm=le;var pe=this.vert=D("div",[D("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Ve=this.horiz=D("div",[D("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");pe.tabIndex=Ve.tabIndex=-1,P(pe),P(Ve),Pe(pe,"scroll",function(){pe.clientHeight&&ae(pe.scrollTop,"vertical")}),Pe(Ve,"scroll",function(){Ve.clientWidth&&ae(Ve.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,d&&l<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};_l.prototype.update=function(M){var P=M.scrollWidth>M.clientWidth+1,ae=M.scrollHeight>M.clientHeight+1,le=M.nativeBarWidth;if(ae){this.vert.style.display="block",this.vert.style.bottom=P?le+"px":"0";var pe=M.viewHeight-(P?le:0);this.vert.firstChild.style.height=Math.max(0,M.scrollHeight-M.clientHeight+pe)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(P){this.horiz.style.display="block",this.horiz.style.right=ae?le+"px":"0",this.horiz.style.left=M.barLeft+"px";var Ve=M.viewWidth-M.barLeft-(ae?le:0);this.horiz.firstChild.style.width=Math.max(0,M.scrollWidth-M.clientWidth+Ve)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&M.clientHeight>0&&(le==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ae?le:0,bottom:P?le:0}},_l.prototype.setScrollLeft=function(M){this.horiz.scrollLeft!=M&&(this.horiz.scrollLeft=M),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},_l.prototype.setScrollTop=function(M){this.vert.scrollTop!=M&&(this.vert.scrollTop=M),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},_l.prototype.zeroWidthHack=function(){var M=g&&!c?"12px":"18px";this.horiz.style.height=this.vert.style.width=M,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new q,this.disableVert=new q},_l.prototype.enableZeroWidthBar=function(M,P,ae){M.style.pointerEvents="auto";function le(){var pe=M.getBoundingClientRect(),Ve=ae=="vert"?document.elementFromPoint(pe.right-1,(pe.top+pe.bottom)/2):document.elementFromPoint((pe.right+pe.left)/2,pe.bottom-1);Ve!=M?M.style.pointerEvents="none":P.set(1e3,le)}P.set(1e3,le)},_l.prototype.clear=function(){var M=this.horiz.parentNode;M.removeChild(this.horiz),M.removeChild(this.vert)};var Xs=function(){};Xs.prototype.update=function(){return{bottom:0,right:0}},Xs.prototype.setScrollLeft=function(){},Xs.prototype.setScrollTop=function(){},Xs.prototype.clear=function(){};function Yo(M,P){P||(P=gl(M));var ae=M.display.barWidth,le=M.display.barHeight;al(M,P);for(var pe=0;pe<4&&ae!=M.display.barWidth||le!=M.display.barHeight;pe++)ae!=M.display.barWidth&&M.options.lineWrapping&&es(M),al(M,gl(M)),ae=M.display.barWidth,le=M.display.barHeight}function al(M,P){var ae=M.display,le=ae.scrollbars.update(P);ae.sizer.style.paddingRight=(ae.barWidth=le.right)+"px",ae.sizer.style.paddingBottom=(ae.barHeight=le.bottom)+"px",ae.heightForcer.style.borderBottom=le.bottom+"px solid transparent",le.right&&le.bottom?(ae.scrollbarFiller.style.display="block",ae.scrollbarFiller.style.height=le.bottom+"px",ae.scrollbarFiller.style.width=le.right+"px"):ae.scrollbarFiller.style.display="",le.bottom&&M.options.coverGutterNextToScrollbar&&M.options.fixedGutter?(ae.gutterFiller.style.display="block",ae.gutterFiller.style.height=le.bottom+"px",ae.gutterFiller.style.width=P.gutterWidth+"px"):ae.gutterFiller.style.display=""}var Wl={native:_l,null:Xs};function Ps(M){M.display.scrollbars&&(M.display.scrollbars.clear(),M.display.scrollbars.addClass&&S(M.display.wrapper,M.display.scrollbars.addClass)),M.display.scrollbars=new Wl[M.options.scrollbarStyle](function(P){M.display.wrapper.insertBefore(P,M.display.scrollbarFiller),Pe(P,"mousedown",function(){M.state.focused&&setTimeout(function(){return M.display.input.focus()},0)}),P.setAttribute("cm-not-content","true")},function(P,ae){ae=="horizontal"?ul(M,P):Go(M,P)},M),M.display.scrollbars.addClass&&Z(M.display.wrapper,M.display.scrollbars.addClass)}var nl=0;function $o(M){M.curOp={cm:M,viewChanged:!1,startHeight:M.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:++nl},$i(M.curOp)}function Sl(M){var P=M.curOp;P&&La(P,function(ae){for(var le=0;le<ae.ops.length;le++)ae.ops[le].cm.curOp=null;Pc(ae)})}function Pc(M){for(var P=M.ops,ae=0;ae<P.length;ae++)nc(P[ae]);for(var le=0;le<P.length;le++)hc(P[le]);for(var pe=0;pe<P.length;pe++)ic(P[pe]);for(var Ve=0;Ve<P.length;Ve++)Jl(P[Ve]);for(var yt=0;yt<P.length;yt++)Yl(P[yt])}function nc(M){var P=M.cm,ae=P.display;Lc(P),M.updateMaxLine&&Ri(P),M.mustUpdate=M.viewChanged||M.forceUpdate||M.scrollTop!=null||M.scrollToPos&&(M.scrollToPos.from.line<ae.viewFrom||M.scrollToPos.to.line>=ae.viewTo)||ae.maxLineChanged&&P.options.lineWrapping,M.update=M.mustUpdate&&new bl(P,M.mustUpdate&&{top:M.scrollTop,ensure:M.scrollToPos},M.forceUpdate)}function hc(M){M.updatedDisplay=M.mustUpdate&&fs(M.cm,M.update)}function ic(M){var P=M.cm,ae=P.display;M.updatedDisplay&&es(P),M.barMeasure=gl(P),ae.maxLineChanged&&!P.options.lineWrapping&&(M.adjustWidthTo=Pa(P,ae.maxLine,ae.maxLine.text.length).left+3,P.display.sizerWidth=M.adjustWidthTo,M.barMeasure.scrollWidth=Math.max(ae.scroller.clientWidth,ae.sizer.offsetLeft+M.adjustWidthTo+Ci(P)+P.display.barWidth),M.maxScrollLeft=Math.max(0,ae.sizer.offsetLeft+M.adjustWidthTo-Mi(P))),(M.updatedDisplay||M.selectionChanged)&&(M.preparedSelection=ae.input.prepareSelection())}function Jl(M){var P=M.cm;M.adjustWidthTo!=null&&(P.display.sizer.style.minWidth=M.adjustWidthTo+"px",M.maxScrollLeft<P.doc.scrollLeft&&ul(P,Math.min(P.display.scroller.scrollLeft,M.maxScrollLeft),!0),P.display.maxLineChanged=!1);var ae=M.focus&&M.focus==K();M.preparedSelection&&P.display.input.showSelection(M.preparedSelection,ae),(M.updatedDisplay||M.startHeight!=P.doc.height)&&Yo(P,M.barMeasure),M.updatedDisplay&&Gs(P,M.barMeasure),M.selectionChanged&&lo(P),P.state.focused&&M.updateInput&&P.display.input.reset(M.typing),ae&&ks(M.cm)}function Yl(M){var P=M.cm,ae=P.display,le=P.doc;if(M.updatedDisplay&&Ks(P,M.update),ae.wheelStartX!=null&&(M.scrollTop!=null||M.scrollLeft!=null||M.scrollToPos)&&(ae.wheelStartX=ae.wheelStartY=null),M.scrollTop!=null&&xl(P,M.scrollTop,M.forceScroll),M.scrollLeft!=null&&ul(P,M.scrollLeft,!0,!0),M.scrollToPos){var pe=$s(P,_t(le,M.scrollToPos.from),_t(le,M.scrollToPos.to),M.scrollToPos.margin);Ts(P,pe)}var Ve=M.maybeHiddenMarkers,yt=M.maybeUnhiddenMarkers;if(Ve)for(var Ut=0;Ut<Ve.length;++Ut)Ve[Ut].lines.length||Nt(Ve[Ut],"hide");if(yt)for(var sr=0;sr<yt.length;++sr)yt[sr].lines.length&&Nt(yt[sr],"unhide");ae.wrapper.offsetHeight&&(le.scrollTop=P.display.scroller.scrollTop),M.changeObjs&&Nt(P,"changes",P,M.changeObjs),M.update&&M.update.finish()}function Al(M,P){if(M.curOp)return P();$o(M);try{return P()}finally{Sl(M)}}function zs(M,P){return function(){if(M.curOp)return P.apply(M,arguments);$o(M);try{return P.apply(M,arguments)}finally{Sl(M)}}}function Tl(M){return function(){if(this.curOp)return M.apply(this,arguments);$o(this);try{return M.apply(this,arguments)}finally{Sl(this)}}}function vl(M){return function(){var P=this.cm;if(!P||P.curOp)return M.apply(this,arguments);$o(P);try{return M.apply(this,arguments)}finally{Sl(P)}}}function Cl(M,P){M.doc.highlightFrontier<M.display.viewTo&&M.state.highlight.set(P,z(dn,M))}function dn(M){var P=M.doc;if(P.highlightFrontier>=M.display.viewTo)return;var ae=+new Date+M.options.workTime,le=ni(M,P.highlightFrontier),pe=[];P.iter(le.line,Math.min(P.first+P.size,M.display.viewTo+500),function(Ve){if(le.line>=M.display.viewFrom){var yt=Ve.styles,Ut=Ve.text.length>M.options.maxHighlightLength?lt(P.mode,le.state):null,sr=hn(M,Ve,le,!0);Ut&&(le.state=Ut),Ve.styles=sr.styles;var fr=Ve.styleClasses,xn=sr.classes;xn?Ve.styleClasses=xn:fr&&(Ve.styleClasses=null);for(var jn=!yt||yt.length!=Ve.styles.length||fr!=xn&&(!fr||!xn||fr.bgClass!=xn.bgClass||fr.textClass!=xn.textClass),gi=0;!jn&&gi<yt.length;++gi)jn=yt[gi]!=Ve.styles[gi];jn&&pe.push(le.line),Ve.stateAfter=le.save(),le.nextLine()}else Ve.text.length<=M.options.maxHighlightLength&&mi(M,Ve.text,le),Ve.stateAfter=le.line%5==0?le.save():null,le.nextLine();if(+new Date>ae)return Cl(M,M.options.workDelay),!0}),P.highlightFrontier=le.line,P.modeFrontier=Math.max(P.modeFrontier,le.line),pe.length&&Al(M,function(){for(var Ve=0;Ve<pe.length;Ve++)Ea(M,pe[Ve],"text")})}var bl=function(P,ae,le){var pe=P.display;this.viewport=ae,this.visible=_s(pe,P.doc,ae),this.editorIsHidden=!pe.wrapper.offsetWidth,this.wrapperHeight=pe.wrapper.clientHeight,this.wrapperWidth=pe.wrapper.clientWidth,this.oldDisplayWidth=Mi(P),this.force=le,this.dims=so(P),this.events=[]};bl.prototype.signal=function(M,P){jt(M,P)&&this.events.push(arguments)},bl.prototype.finish=function(){for(var M=0;M<this.events.length;M++)Nt.apply(null,this.events[M])};function Lc(M){var P=M.display;!P.scrollbarsClipped&&P.scroller.offsetWidth&&(P.nativeBarWidth=P.scroller.offsetWidth-P.scroller.clientWidth,P.heightForcer.style.height=Ci(M)+"px",P.sizer.style.marginBottom=-P.nativeBarWidth+"px",P.sizer.style.borderRightWidth=Ci(M)+"px",P.scrollbarsClipped=!0)}function bc(M){if(M.hasFocus())return null;var P=K();if(!P||!k(M.display.lineDiv,P))return null;var ae={activeElt:P};if(window.getSelection){var le=window.getSelection();le.anchorNode&&le.extend&&k(M.display.lineDiv,le.anchorNode)&&(ae.anchorNode=le.anchorNode,ae.anchorOffset=le.anchorOffset,ae.focusNode=le.focusNode,ae.focusOffset=le.focusOffset)}return ae}function pc(M){if(!M||!M.activeElt||M.activeElt==K())return;if(M.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(M.activeElt.nodeName)&&M.anchorNode&&k(document.body,M.anchorNode)&&k(document.body,M.focusNode)){var P=window.getSelection(),ae=document.createRange();ae.setEnd(M.anchorNode,M.anchorOffset),ae.collapse(!1),P.removeAllRanges(),P.addRange(ae),P.extend(M.focusNode,M.focusOffset)}}function fs(M,P){var ae=M.display,le=M.doc;if(P.editorIsHidden)return jo(M),!1;if(!P.force&&P.visible.from>=ae.viewFrom&&P.visible.to<=ae.viewTo&&(ae.updateLineNumbers==null||ae.updateLineNumbers>=ae.viewTo)&&ae.renderedView==ae.view&&Xo(M)==0)return!1;Uc(M)&&(jo(M),P.dims=so(M));var pe=le.first+le.size,Ve=Math.max(P.visible.from-M.options.viewportMargin,le.first),yt=Math.min(pe,P.visible.to+M.options.viewportMargin);ae.viewFrom<Ve&&Ve-ae.viewFrom<20&&(Ve=Math.max(le.first,ae.viewFrom)),ae.viewTo>yt&&ae.viewTo-yt<20&&(yt=Math.min(pe,ae.viewTo)),$e&&(Ve=Cn(M.doc,Ve),yt=ki(M.doc,yt));var Ut=Ve!=ae.viewFrom||yt!=ae.viewTo||ae.lastWrapHeight!=P.wrapperHeight||ae.lastWrapWidth!=P.wrapperWidth;Za(M,Ve,yt),ae.viewOffset=Ti(Ye(M.doc,ae.viewFrom)),M.display.mover.style.top=ae.viewOffset+"px";var sr=Xo(M);if(!Ut&&sr==0&&!P.force&&ae.renderedView==ae.view&&(ae.updateLineNumbers==null||ae.updateLineNumbers>=ae.viewTo))return!1;var fr=bc(M);return sr>4&&(ae.lineDiv.style.display="none"),Hs(M,ae.updateLineNumbers,P.dims),sr>4&&(ae.lineDiv.style.display=""),ae.renderedView=ae.view,pc(fr),_(ae.cursorDiv),_(ae.selectionDiv),ae.gutters.style.height=ae.sizer.style.minHeight=0,Ut&&(ae.lastWrapHeight=P.wrapperHeight,ae.lastWrapWidth=P.wrapperWidth,Cl(M,400)),ae.updateLineNumbers=null,!0}function Ks(M,P){for(var ae=P.viewport,le=!0;;le=!1){if(!le||!M.options.lineWrapping||P.oldDisplayWidth==Mi(M)){if(ae&&ae.top!=null&&(ae={top:Math.min(M.doc.height+ti(M.display)-Pi(M),ae.top)}),P.visible=_s(M.display,M.doc,ae),P.visible.from>=M.display.viewFrom&&P.visible.to<=M.display.viewTo)break}else le&&(P.visible=_s(M.display,M.doc,ae));if(!fs(M,P))break;es(M);var pe=gl(M);qo(M),Yo(M,pe),Gs(M,pe),P.force=!1}P.signal(M,"update",M),(M.display.viewFrom!=M.display.reportedViewFrom||M.display.viewTo!=M.display.reportedViewTo)&&(P.signal(M,"viewportChange",M,M.display.viewFrom,M.display.viewTo),M.display.reportedViewFrom=M.display.viewFrom,M.display.reportedViewTo=M.display.viewTo)}function Ol(M,P){var ae=new bl(M,P);if(fs(M,ae)){es(M),Ks(M,ae);var le=gl(M);qo(M),Yo(M,le),Gs(M,le),ae.finish()}}function Hs(M,P,ae){var le=M.display,pe=M.options.lineNumbers,Ve=le.lineDiv,yt=Ve.firstChild;function Ut(la){var Ua=la.nextSibling;return n&&g&&M.display.currentWheelTarget==la?la.style.display="none":la.parentNode.removeChild(la),Ua}for(var sr=le.view,fr=le.viewFrom,xn=0;xn<sr.length;xn++){var jn=sr[xn];if(!jn.hidden)if(!jn.node||jn.node.parentNode!=Ve){var gi=cn(M,jn,fr,ae);Ve.insertBefore(gi,yt)}else{for(;yt!=jn.node;)yt=Ut(yt);var Si=pe&&P!=null&&P<=fr&&jn.lineNumber;jn.changes&&(Y(jn.changes,"gutter")>-1&&(Si=!1),_n(M,jn,fr,ae)),Si&&(_(jn.lineNumber),jn.lineNumber.appendChild(document.createTextNode(Pn(M.options,fr)))),yt=jn.node.nextSibling}fr+=jn.size}for(;yt;)yt=Ut(yt)}function ol(M){var P=M.gutters.offsetWidth;M.sizer.style.marginLeft=P+"px"}function Gs(M,P){M.display.sizer.style.minHeight=P.docHeight+"px",M.display.heightForcer.style.top=P.docHeight+"px",M.display.gutters.style.height=P.docHeight+M.display.barHeight+Ci(M)+"px"}function Il(M){var P=M.display,ae=P.view;if(!P.alignWidgets&&(!P.gutters.firstChild||!M.options.fixedGutter))return;for(var le=To(P)-P.scroller.scrollLeft+M.doc.scrollLeft,pe=P.gutters.offsetWidth,Ve=le+"px",yt=0;yt<ae.length;yt++)if(!ae[yt].hidden){M.options.fixedGutter&&(ae[yt].gutter&&(ae[yt].gutter.style.left=Ve),ae[yt].gutterBackground&&(ae[yt].gutterBackground.style.left=Ve));var Ut=ae[yt].alignable;if(Ut)for(var sr=0;sr<Ut.length;sr++)Ut[sr].style.left=Ve}M.options.fixedGutter&&(P.gutters.style.left=le+pe+"px")}function Uc(M){if(!M.options.lineNumbers)return!1;var P=M.doc,ae=Pn(M.options,P.first+P.size-1),le=M.display;if(ae.length!=le.lineNumChars){var pe=le.measure.appendChild(D("div",[D("div",ae)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Ve=pe.firstChild.offsetWidth,yt=pe.offsetWidth-Ve;return le.lineGutter.style.width="",le.lineNumInnerWidth=Math.max(Ve,le.lineGutter.offsetWidth-yt)+1,le.lineNumWidth=le.lineNumInnerWidth+yt,le.lineNumChars=le.lineNumInnerWidth?ae.length:-1,le.lineGutter.style.width=le.lineNumWidth+"px",ol(M.display),!0}return!1}function mc(M,P){for(var ae=[],le=!1,pe=0;pe<M.length;pe++){var Ve=M[pe],yt=null;if(typeof Ve!="string"&&(yt=Ve.style,Ve=Ve.className),Ve=="CodeMirror-linenumbers")if(P)le=!0;else continue;ae.push({className:Ve,style:yt})}return P&&!le&&ae.push({className:"CodeMirror-linenumbers",style:null}),ae}function yc(M){var P=M.gutters,ae=M.gutterSpecs;_(P),M.lineGutter=null;for(var le=0;le<ae.length;++le){var pe=ae[le],Ve=pe.className,yt=pe.style,Ut=P.appendChild(D("div",null,"CodeMirror-gutter "+Ve));yt&&(Ut.style.cssText=yt),Ve=="CodeMirror-linenumbers"&&(M.lineGutter=Ut,Ut.style.width=(M.lineNumWidth||1)+"px")}P.style.display=ae.length?"":"none",ol(M)}function ac(M){yc(M.display),Eo(M),Il(M)}function Ql(M,P,ae,le){var pe=this;this.input=ae,pe.scrollbarFiller=D("div",null,"CodeMirror-scrollbar-filler"),pe.scrollbarFiller.setAttribute("cm-not-content","true"),pe.gutterFiller=D("div",null,"CodeMirror-gutter-filler"),pe.gutterFiller.setAttribute("cm-not-content","true"),pe.lineDiv=F("div",null,"CodeMirror-code"),pe.selectionDiv=D("div",null,null,"position: relative; z-index: 1"),pe.cursorDiv=D("div",null,"CodeMirror-cursors"),pe.measure=D("div",null,"CodeMirror-measure"),pe.lineMeasure=D("div",null,"CodeMirror-measure"),pe.lineSpace=F("div",[pe.measure,pe.lineMeasure,pe.selectionDiv,pe.cursorDiv,pe.lineDiv],null,"position: relative; outline: none");var Ve=F("div",[pe.lineSpace],"CodeMirror-lines");pe.mover=D("div",[Ve],null,"position: relative"),pe.sizer=D("div",[pe.mover],"CodeMirror-sizer"),pe.sizerWidth=null,pe.heightForcer=D("div",null,null,"position: absolute; height: "+re+"px; width: 1px;"),pe.gutters=D("div",null,"CodeMirror-gutters"),pe.lineGutter=null,pe.scroller=D("div",[pe.sizer,pe.heightForcer,pe.gutters],"CodeMirror-scroll"),pe.scroller.setAttribute("tabIndex","-1"),pe.wrapper=D("div",[pe.scrollbarFiller,pe.gutterFiller,pe.scroller],"CodeMirror"),d&&l<8&&(pe.gutters.style.zIndex=-1,pe.scroller.style.paddingRight=0),!n&&!(E&&h)&&(pe.scroller.draggable=!0),M&&(M.appendChild?M.appendChild(pe.wrapper):M(pe.wrapper)),pe.viewFrom=pe.viewTo=P.first,pe.reportedViewFrom=pe.reportedViewTo=P.first,pe.view=[],pe.renderedView=null,pe.externalMeasured=null,pe.viewOffset=0,pe.lastWrapHeight=pe.lastWrapWidth=0,pe.updateLineNumbers=null,pe.nativeBarWidth=pe.barHeight=pe.barWidth=0,pe.scrollbarsClipped=!1,pe.lineNumWidth=pe.lineNumInnerWidth=pe.lineNumChars=null,pe.alignWidgets=!1,pe.cachedCharWidth=pe.cachedTextHeight=pe.cachedPaddingH=null,pe.maxLine=null,pe.maxLineLength=0,pe.maxLineChanged=!1,pe.wheelDX=pe.wheelDY=pe.wheelStartX=pe.wheelStartY=null,pe.shift=!1,pe.selForContextMenu=null,pe.activeTouch=null,pe.gutterSpecs=mc(le.gutters,le.lineNumbers),yc(pe),ae.init(pe)}var gc=0,Mt=null;d?Mt=-.53:E?Mt=15:a?Mt=-.7:r&&(Mt=-1/3);function Vt(M){var P=M.wheelDeltaX,ae=M.wheelDeltaY;return P==null&&M.detail&&M.axis==M.HORIZONTAL_AXIS&&(P=M.detail),ae==null&&M.detail&&M.axis==M.VERTICAL_AXIS?ae=M.detail:ae==null&&(ae=M.wheelDelta),{x:P,y:ae}}function wn(M){var P=Vt(M);return P.x*=Mt,P.y*=Mt,P}function ci(M,P){var ae=Vt(P),le=ae.x,pe=ae.y,Ve=M.display,yt=Ve.scroller,Ut=yt.scrollWidth>yt.clientWidth,sr=yt.scrollHeight>yt.clientHeight;if(!(le&&Ut||pe&&sr))return;if(pe&&g&&n){e:for(var fr=P.target,xn=Ve.view;fr!=yt;fr=fr.parentNode)for(var jn=0;jn<xn.length;jn++)if(xn[jn].node==fr){M.display.currentWheelTarget=fr;break e}}if(le&&!E&&!s&&Mt!=null){pe&&sr&&Go(M,Math.max(0,yt.scrollTop+pe*Mt)),ul(M,Math.max(0,yt.scrollLeft+le*Mt)),(!pe||pe&&sr)&&at(P),Ve.wheelStartX=null;return}if(pe&&Mt!=null){var gi=pe*Mt,Si=M.doc.scrollTop,la=Si+Ve.wrapper.clientHeight;gi<0?Si=Math.max(0,Si+gi-50):la=Math.min(M.doc.height,la+gi+50),Ol(M,{top:Si,bottom:la})}gc<20&&(Ve.wheelStartX==null?(Ve.wheelStartX=yt.scrollLeft,Ve.wheelStartY=yt.scrollTop,Ve.wheelDX=le,Ve.wheelDY=pe,setTimeout(function(){if(Ve.wheelStartX==null)return;var Ua=yt.scrollLeft-Ve.wheelStartX,eo=yt.scrollTop-Ve.wheelStartY,no=eo&&Ve.wheelDY&&eo/Ve.wheelDY||Ua&&Ve.wheelDX&&Ua/Ve.wheelDX;if(Ve.wheelStartX=Ve.wheelStartY=null,!no)return;Mt=(Mt*gc+no)/(gc+1),++gc},200)):(Ve.wheelDX+=le,Ve.wheelDY+=pe))}var Et=function(P,ae){this.ranges=P,this.primIndex=ae};Et.prototype.primary=function(){return this.ranges[this.primIndex]},Et.prototype.equals=function(M){if(M==this)return!0;if(M.primIndex!=this.primIndex||M.ranges.length!=this.ranges.length)return!1;for(var P=0;P<this.ranges.length;P++){var ae=this.ranges[P],le=M.ranges[P];if(!At(ae.anchor,le.anchor)||!At(ae.head,le.head))return!1}return!0},Et.prototype.deepCopy=function(){for(var M=[],P=0;P<this.ranges.length;P++)M[P]=new ce(cr(this.ranges[P].anchor),cr(this.ranges[P].head));return new Et(M,this.primIndex)},Et.prototype.somethingSelected=function(){for(var M=0;M<this.ranges.length;M++)if(!this.ranges[M].empty())return!0;return!1},Et.prototype.contains=function(M,P){P||(P=M);for(var ae=0;ae<this.ranges.length;ae++){var le=this.ranges[ae];if(St(P,le.from())>=0&&St(M,le.to())<=0)return ae}return-1};var ce=function(P,ae){this.anchor=P,this.head=ae};ce.prototype.from=function(){return Tt(this.anchor,this.head)},ce.prototype.to=function(){return or(this.anchor,this.head)},ce.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Se(M,P,ae){var le=M&&M.options.selectionsMayTouch,pe=P[ae];P.sort(function(gi,Si){return St(gi.from(),Si.from())}),ae=Y(P,pe);for(var Ve=1;Ve<P.length;Ve++){var yt=P[Ve],Ut=P[Ve-1],sr=St(Ut.to(),yt.from());if(le&&!yt.empty()?sr>0:sr>=0){var fr=Tt(Ut.from(),yt.from()),xn=or(Ut.to(),yt.to()),jn=Ut.empty()?yt.from()==yt.head:Ut.from()==Ut.head;Ve<=ae&&--ae,P.splice(--Ve,2,new ce(jn?xn:fr,jn?fr:xn))}}return new Et(P,ae)}function Oe(M,P){return new Et([new ce(M,P||M)],0)}function Xe(M){return M.text?qt(M.from.line+M.text.length-1,Ae(M.text).length+(M.text.length==1?M.from.ch:0)):M.to}function wt(M,P){if(St(M,P.from)<0)return M;if(St(M,P.to)<=0)return Xe(P);var ae=M.line+P.text.length-(P.to.line-P.from.line)-1,le=M.ch;return M.line==P.to.line&&(le+=Xe(P).ch-P.to.ch),qt(ae,le)}function Ht(M,P){for(var ae=[],le=0;le<M.sel.ranges.length;le++){var pe=M.sel.ranges[le];ae.push(new ce(wt(pe.anchor,P),wt(pe.head,P)))}return Se(M.cm,ae,M.sel.primIndex)}function Pr(M,P,ae){return M.line==P.line?qt(ae.line,M.ch-P.ch+ae.ch):qt(ae.line+(M.line-P.line),M.ch)}function Xr(M,P,ae){for(var le=[],pe=qt(M.first,0),Ve=pe,yt=0;yt<P.length;yt++){var Ut=P[yt],sr=Pr(Ut.from,pe,Ve),fr=Pr(Xe(Ut),pe,Ve);if(pe=Ut.to,Ve=fr,ae=="around"){var xn=M.sel.ranges[yt],jn=St(xn.head,xn.anchor)<0;le[yt]=new ce(jn?fr:sr,jn?sr:fr)}else le[yt]=new ce(sr,sr)}return new Et(le,M.sel.primIndex)}function yn(M){M.doc.mode=Vn(M.options,M.doc.modeOption),Jn(M)}function Jn(M){M.doc.iter(function(P){P.stateAfter&&(P.stateAfter=null),P.styles&&(P.styles=null)}),M.doc.modeFrontier=M.doc.highlightFrontier=M.doc.first,Cl(M,100),M.state.modeGen++,M.curOp&&Eo(M)}function Ei(M,P){return P.from.ch==0&&P.to.ch==0&&Ae(P.text)==""&&(!M.cm||M.cm.options.wholeLineUpdateBefore)}function Ji(M,P,ae,le){function pe(to){return ae?ae[to]:null}function Ve(to,So,Do){Un(to,So,Do,le),tr(to,"change",to,P)}function yt(to,So){for(var Do=[],xs=to;xs<So;++xs)Do.push(new Da(fr[xs],pe(xs),le));return Do}var Ut=P.from,sr=P.to,fr=P.text,xn=Ye(M,Ut.line),jn=Ye(M,sr.line),gi=Ae(fr),Si=pe(fr.length-1),la=sr.line-Ut.line;if(P.full)M.insert(0,yt(0,fr.length)),M.remove(fr.length,M.size-fr.length);else if(Ei(M,P)){var Ua=yt(0,fr.length-1);Ve(jn,jn.text,Si),la&&M.remove(Ut.line,la),Ua.length&&M.insert(Ut.line,Ua)}else if(xn==jn)if(fr.length==1)Ve(xn,xn.text.slice(0,Ut.ch)+gi+xn.text.slice(sr.ch),Si);else{var eo=yt(1,fr.length-1);eo.push(new Da(gi+xn.text.slice(sr.ch),Si,le)),Ve(xn,xn.text.slice(0,Ut.ch)+fr[0],pe(0)),M.insert(Ut.line+1,eo)}else if(fr.length==1)Ve(xn,xn.text.slice(0,Ut.ch)+fr[0]+jn.text.slice(sr.ch),pe(0)),M.remove(Ut.line+1,la);else{Ve(xn,xn.text.slice(0,Ut.ch)+fr[0],pe(0)),Ve(jn,gi+jn.text.slice(sr.ch),Si);var no=yt(1,fr.length-1);la>1&&M.remove(Ut.line+1,la-1),M.insert(Ut.line+1,no)}tr(M,"change",M,P)}function wa(M,P,ae){function le(pe,Ve,yt){if(pe.linked)for(var Ut=0;Ut<pe.linked.length;++Ut){var sr=pe.linked[Ut];if(sr.doc==Ve)continue;var fr=yt&&sr.sharedHist;if(ae&&!fr)continue;P(sr.doc,fr),le(sr.doc,pe,fr)}}le(M,null,!0)}function Ya(M,P){if(P.cm)throw new Error("This document is already in use.");M.doc=P,P.cm=M,oo(M),yn(M),mo(M),M.options.lineWrapping||Ri(M),M.options.mode=P.modeOption,Eo(M)}function mo(M){(M.doc.direction=="rtl"?Z:S)(M.display.lineDiv,"CodeMirror-rtl")}function Mo(M){Al(M,function(){mo(M),Eo(M)})}function us(M){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=M||1}function ws(M,P){var ae={from:cr(P.from),to:Xe(P),text:ft(M,P.from,P.to)};return Rl(M,ae,P.from.line,P.to.line+1),wa(M,function(le){return Rl(le,ae,P.from.line,P.to.line+1)},!0),ae}function Os(M){for(;M.length;){var P=Ae(M);if(P.ranges)M.pop();else break}}function il(M,P){if(P)return Os(M.done),Ae(M.done);if(M.done.length&&!Ae(M.done).ranges)return Ae(M.done);if(M.done.length>1&&!M.done[M.done.length-2].ranges)return M.done.pop(),Ae(M.done)}function Ys(M,P,ae,le){var pe=M.history;pe.undone.length=0;var Ve=+new Date,yt,Ut;if((pe.lastOp==le||pe.lastOrigin==P.origin&&P.origin&&(P.origin.charAt(0)=="+"&&pe.lastModTime>Ve-(M.cm?M.cm.options.historyEventDelay:500)||P.origin.charAt(0)=="*"))&&(yt=il(pe,pe.lastOp==le)))Ut=Ae(yt.changes),St(P.from,P.to)==0&&St(P.from,Ut.to)==0?Ut.to=Xe(P):yt.changes.push(ws(M,P));else{var sr=Ae(pe.done);for((!sr||!sr.ranges)&&bs(M.sel,pe.done),yt={changes:[ws(M,P)],generation:pe.generation},pe.done.push(yt);pe.done.length>pe.undoDepth;)pe.done.shift(),pe.done[0].ranges||pe.done.shift()}pe.done.push(ae),pe.generation=++pe.maxGeneration,pe.lastModTime=pe.lastSelTime=Ve,pe.lastOp=pe.lastSelOp=le,pe.lastOrigin=pe.lastSelOrigin=P.origin,Ut||Nt(M,"historyAdded")}function ro(M,P,ae,le){var pe=P.charAt(0);return pe=="*"||pe=="+"&&ae.ranges.length==le.ranges.length&&ae.somethingSelected()==le.somethingSelected()&&new Date-M.history.lastSelTime<=(M.cm?M.cm.options.historyEventDelay:500)}function Ws(M,P,ae,le){var pe=M.history,Ve=le&&le.origin;ae==pe.lastSelOp||Ve&&pe.lastSelOrigin==Ve&&(pe.lastModTime==pe.lastSelTime&&pe.lastOrigin==Ve||ro(M,Ve,Ae(pe.done),P))?pe.done[pe.done.length-1]=P:bs(P,pe.done),pe.lastSelTime=+new Date,pe.lastSelOrigin=Ve,pe.lastSelOp=ae,le&&le.clearRedo!==!1&&Os(pe.undone)}function bs(M,P){var ae=Ae(P);ae&&ae.ranges&&ae.equals(M)||P.push(M)}function Rl(M,P,ae,le){var pe=P["spans_"+M.id],Ve=0;M.iter(Math.max(M.first,ae),Math.min(M.first+M.size,le),function(yt){yt.markedSpans&&((pe||(pe=P["spans_"+M.id]={}))[Ve]=yt.markedSpans),++Ve})}function sl(M){if(!M)return null;for(var P,ae=0;ae<M.length;++ae)M[ae].marker.explicitlyCleared?P||(P=M.slice(0,ae)):P&&P.push(M[ae]);return P?P.length?P:null:M}function el(M,P){var ae=P["spans_"+M.id];if(!ae)return null;for(var le=[],pe=0;pe<P.text.length;++pe)le.push(sl(ae[pe]));return le}function dl(M,P){var ae=el(M,P),le=Rn(M,P);if(!ae)return le;if(!le)return ae;for(var pe=0;pe<ae.length;++pe){var Ve=ae[pe],yt=le[pe];if(Ve&&yt){e:for(var Ut=0;Ut<yt.length;++Ut){for(var sr=yt[Ut],fr=0;fr<Ve.length;++fr)if(Ve[fr].marker==sr.marker)continue e;Ve.push(sr)}}else yt&&(ae[pe]=yt)}return ae}function $l(M,P,ae){for(var le=[],pe=0;pe<M.length;++pe){var Ve=M[pe];if(Ve.ranges){le.push(ae?Et.prototype.deepCopy.call(Ve):Ve);continue}var yt=Ve.changes,Ut=[];le.push({changes:Ut});for(var sr=0;sr<yt.length;++sr){var fr=yt[sr],xn=void 0;if(Ut.push({from:fr.from,to:fr.to,text:fr.text}),P)for(var jn in fr)(xn=jn.match(/^spans_(\d+)$/))&&(Y(P,Number(xn[1]))>-1&&(Ae(Ut)[jn]=fr[jn],delete fr[jn]))}}return le}function zl(M,P,ae,le){if(le){var pe=M.anchor;if(ae){var Ve=St(P,pe)<0;Ve!=St(ae,pe)<0?(pe=P,P=ae):Ve!=St(P,ae)<0&&(P=ae)}return new ce(pe,P)}else return new ce(ae||P,P)}function Kl(M,P,ae,le,pe){pe==null&&(pe=M.cm&&(M.cm.display.shift||M.extend)),ll(M,new Et([zl(M.sel.primary(),P,ae,pe)],0),le)}function ql(M,P,ae){for(var le=[],pe=M.cm&&(M.cm.display.shift||M.extend),Ve=0;Ve<M.sel.ranges.length;Ve++)le[Ve]=zl(M.sel.ranges[Ve],P[Ve],null,pe);var yt=Se(M.cm,le,M.sel.primIndex);ll(M,yt,ae)}function Vl(M,P,ae,le){var pe=M.sel.ranges.slice(0);pe[P]=ae,ll(M,Se(M.cm,pe,M.sel.primIndex),le)}function Nc(M,P,ae,le){ll(M,Oe(P,ae),le)}function Zc(M,P,ae){var le={ranges:P.ranges,update:function(Ve){this.ranges=[];for(var yt=0;yt<Ve.length;yt++)this.ranges[yt]=new ce(_t(M,Ve[yt].anchor),_t(M,Ve[yt].head))},origin:ae&&ae.origin};return Nt(M,"beforeSelectionChange",M,le),M.cm&&Nt(M.cm,"beforeSelectionChange",M.cm,le),le.ranges!=P.ranges?Se(M.cm,le.ranges,le.ranges.length-1):P}function Zl(M,P,ae){var le=M.history.done,pe=Ae(le);pe&&pe.ranges?(le[le.length-1]=P,Fl(M,P,ae)):ll(M,P,ae)}function ll(M,P,ae){Fl(M,P,ae),Ws(M,M.sel,M.cm?M.cm.curOp.id:NaN,ae)}function Fl(M,P,ae){(jt(M,"beforeSelectionChange")||M.cm&&jt(M.cm,"beforeSelectionChange"))&&(P=Zc(M,P,ae));var le=ae&&ae.bias||(St(P.primary().head,M.sel.primary().head)<0?-1:1);Mc(M,Cc(M,P,le,!0)),!(ae&&ae.scroll===!1)&&M.cm&&vs(M.cm)}function Mc(M,P){if(P.equals(M.sel))return;M.sel=P,M.cm&&(M.cm.curOp.updateInput=1,M.cm.curOp.selectionChanged=!0,Pt(M.cm)),tr(M,"cursorActivity",M)}function fc(M){Mc(M,Cc(M,M.sel,null,!1))}function Cc(M,P,ae,le){for(var pe,Ve=0;Ve<P.ranges.length;Ve++){var yt=P.ranges[Ve],Ut=P.ranges.length==M.sel.ranges.length&&M.sel.ranges[Ve],sr=Ac(M,yt.anchor,Ut&&Ut.anchor,ae,le),fr=Ac(M,yt.head,Ut&&Ut.head,ae,le);(pe||sr!=yt.anchor||fr!=yt.head)&&(pe||(pe=P.ranges.slice(0,Ve)),pe[Ve]=new ce(sr,fr))}return pe?Se(M.cm,pe,P.primIndex):P}function Oc(M,P,ae,le,pe){var Ve=Ye(M,P.line);if(Ve.markedSpans)for(var yt=0;yt<Ve.markedSpans.length;++yt){var Ut=Ve.markedSpans[yt],sr=Ut.marker,fr="selectLeft"in sr?!sr.selectLeft:sr.inclusiveLeft,xn="selectRight"in sr?!sr.selectRight:sr.inclusiveRight;if((Ut.from==null||(fr?Ut.from<=P.ch:Ut.from<P.ch))&&(Ut.to==null||(xn?Ut.to>=P.ch:Ut.to>P.ch))){if(pe&&(Nt(sr,"beforeCursorEnter"),sr.explicitlyCleared))if(Ve.markedSpans){--yt;continue}else break;if(!sr.atomic)continue;if(ae){var jn=sr.find(le<0?1:-1),gi=void 0;if((le<0?xn:fr)&&(jn=Wc(M,jn,-le,jn&&jn.line==P.line?Ve:null)),jn&&jn.line==P.line&&(gi=St(jn,ae))&&(le<0?gi<0:gi>0))return Oc(M,jn,P,le,pe)}var Si=sr.find(le<0?-1:1);return(le<0?fr:xn)&&(Si=Wc(M,Si,le,Si.line==P.line?Ve:null)),Si?Oc(M,Si,P,le,pe):null}}return P}function Ac(M,P,ae,le,pe){var Ve=le||1,yt=Oc(M,P,ae,Ve,pe)||!pe&&Oc(M,P,ae,Ve,!0)||Oc(M,P,ae,-Ve,pe)||!pe&&Oc(M,P,ae,-Ve,!0);return yt||(M.cantEdit=!0,qt(M.first,0))}function Wc(M,P,ae,le){return ae<0&&P.ch==0?P.line>M.first?_t(M,qt(P.line-1)):null:ae>0&&P.ch==(le||Ye(M,P.line)).text.length?P.line<M.first+M.size-1?qt(P.line+1,0):null:new qt(P.line,P.ch+ae)}function Dc(M){M.setSelection(qt(M.firstLine(),0),qt(M.lastLine()),we)}function jc(M,P,ae){var le={canceled:!1,from:P.from,to:P.to,text:P.text,origin:P.origin,cancel:function(){return le.canceled=!0}};return ae&&(le.update=function(pe,Ve,yt,Ut){pe&&(le.from=_t(M,pe)),Ve&&(le.to=_t(M,Ve)),yt&&(le.text=yt),Ut!==void 0&&(le.origin=Ut)}),Nt(M,"beforeChange",M,le),M.cm&&Nt(M.cm,"beforeChange",M.cm,le),le.canceled?(M.cm&&(M.cm.curOp.updateInput=2),null):{from:le.from,to:le.to,text:le.text,origin:le.origin}}function wc(M,P,ae){if(M.cm){if(!M.cm.curOp)return zs(M.cm,wc)(M,P,ae);if(M.cm.state.suppressEdits)return}if((jt(M,"beforeChange")||M.cm&&jt(M.cm,"beforeChange"))&&(P=jc(M,P,!0),!P))return;var le=et&&!ae&&pn(M,P.from,P.to);if(le)for(var pe=le.length-1;pe>=0;--pe)ps(M,{from:le[pe].from,to:le[pe].to,text:pe?[""]:P.text,origin:P.origin});else ps(M,P)}function ps(M,P){if(P.text.length==1&&P.text[0]==""&&St(P.from,P.to)==0)return;var ae=Ht(M,P);Ys(M,P,ae,M.cm?M.cm.curOp.id:NaN),Ds(M,P,ae,Rn(M,P));var le=[];wa(M,function(pe,Ve){!Ve&&Y(le,pe.history)==-1&&(hl(pe.history,P),le.push(pe.history)),Ds(pe,P,null,Rn(pe,P))})}function xo(M,P,ae){var le=M.cm&&M.cm.state.suppressEdits;if(le&&!ae)return;for(var pe=M.history,Ve,yt=M.sel,Ut=P=="undo"?pe.done:pe.undone,sr=P=="undo"?pe.undone:pe.done,fr=0;fr<Ut.length&&!(Ve=Ut[fr],ae?Ve.ranges&&!Ve.equals(M.sel):!Ve.ranges);fr++);if(fr==Ut.length)return;for(pe.lastOrigin=pe.lastSelOrigin=null;;)if(Ve=Ut.pop(),Ve.ranges){if(bs(Ve,sr),ae&&!Ve.equals(M.sel)){ll(M,Ve,{clearRedo:!1});return}yt=Ve}else if(le){Ut.push(Ve);return}else break;var xn=[];bs(yt,sr),sr.push({changes:xn,generation:pe.generation}),pe.generation=Ve.generation||++pe.maxGeneration;for(var jn=jt(M,"beforeChange")||M.cm&&jt(M.cm,"beforeChange"),gi=function(eo){var no=Ve.changes[eo];if(no.origin=P,jn&&!jc(M,no,!1))return Ut.length=0,{};xn.push(ws(M,no));var to=eo?Ht(M,no):Ae(Ut);Ds(M,no,to,dl(M,no)),!eo&&M.cm&&M.cm.scrollIntoView({from:no.from,to:Xe(no)});var So=[];wa(M,function(Do,xs){!xs&&Y(So,Do.history)==-1&&(hl(Do.history,no),So.push(Do.history)),Ds(Do,no,null,dl(Do,no))})},Si=Ve.changes.length-1;Si>=0;--Si){var la=gi(Si);if(la)return la.v}}function ls(M,P){if(P==0)return;if(M.first+=P,M.sel=new Et(je(M.sel.ranges,function(pe){return new ce(qt(pe.anchor.line+P,pe.anchor.ch),qt(pe.head.line+P,pe.head.ch))}),M.sel.primIndex),M.cm){Eo(M.cm,M.first,M.first-P,P);for(var ae=M.cm.display,le=ae.viewFrom;le<ae.viewTo;le++)Ea(M.cm,le,"gutter")}}function Ds(M,P,ae,le){if(M.cm&&!M.cm.curOp)return zs(M.cm,Ds)(M,P,ae,le);if(P.to.line<M.first){ls(M,P.text.length-1-(P.to.line-P.from.line));return}if(P.from.line>M.lastLine())return;if(P.from.line<M.first){var pe=P.text.length-1-(M.first-P.from.line);ls(M,pe),P={from:qt(M.first,0),to:qt(P.to.line+pe,P.to.ch),text:[Ae(P.text)],origin:P.origin}}var Ve=M.lastLine();P.to.line>Ve&&(P={from:P.from,to:qt(Ve,Ye(M,Ve).text.length),text:[P.text[0]],origin:P.origin}),P.removed=ft(M,P.from,P.to),ae||(ae=Ht(M,P)),M.cm?Nl(M.cm,P,le):Ji(M,P,le),Fl(M,ae,we),M.cantEdit&&Ac(M,qt(M.firstLine(),0))&&(M.cantEdit=!1)}function Nl(M,P,ae){var le=M.doc,pe=M.display,Ve=P.from,yt=P.to,Ut=!1,sr=Ve.line;M.options.lineWrapping||(sr=rr(Kn(Ye(le,Ve.line))),le.iter(sr,yt.line+1,function(Si){if(Si==pe.maxLine)return Ut=!0,!0})),le.sel.contains(P.from,P.to)>-1&&Pt(M),Ji(le,P,ae,No(M)),M.options.lineWrapping||(le.iter(sr,Ve.line+P.text.length,function(Si){var la=li(Si);la>pe.maxLineLength&&(pe.maxLine=Si,pe.maxLineLength=la,pe.maxLineChanged=!0,Ut=!1)}),Ut&&(M.curOp.updateMaxLine=!0)),Ge(le,Ve.line),Cl(M,400);var fr=P.text.length-(yt.line-Ve.line)-1;P.full?Eo(M):Ve.line==yt.line&&P.text.length==1&&!Ei(M.doc,P)?Ea(M,Ve.line,"text"):Eo(M,Ve.line,yt.line+1,fr);var xn=jt(M,"changes"),jn=jt(M,"change");if(jn||xn){var gi={from:Ve,to:yt,text:P.text,removed:P.removed,origin:P.origin};jn&&tr(M,"change",M,gi),xn&&(M.curOp.changeObjs||(M.curOp.changeObjs=[])).push(gi)}M.display.selForContextMenu=null}function vc(M,P,ae,le,pe){var Ve;le||(le=ae),St(le,ae)<0&&(Ve=[le,ae],ae=Ve[0],le=Ve[1]),typeof P=="string"&&(P=M.splitLines(P)),wc(M,{from:ae,to:le,text:P,origin:pe})}function ec(M,P,ae,le){ae<M.line?M.line+=le:P<M.line&&(M.line=P,M.ch=0)}function Xl(M,P,ae,le){for(var pe=0;pe<M.length;++pe){var Ve=M[pe],yt=!0;if(Ve.ranges){Ve.copied||(Ve=M[pe]=Ve.deepCopy(),Ve.copied=!0);for(var Ut=0;Ut<Ve.ranges.length;Ut++)ec(Ve.ranges[Ut].anchor,P,ae,le),ec(Ve.ranges[Ut].head,P,ae,le);continue}for(var sr=0;sr<Ve.changes.length;++sr){var fr=Ve.changes[sr];if(ae<fr.from.line)fr.from=qt(fr.from.line+le,fr.from.ch),fr.to=qt(fr.to.line+le,fr.to.ch);else if(P<=fr.to.line){yt=!1;break}}yt||(M.splice(0,pe+1),pe=0)}}function hl(M,P){var ae=P.from.line,le=P.to.line,pe=P.text.length-(le-ae)-1;Xl(M.done,ae,le,pe),Xl(M.undone,ae,le,pe)}function tl(M,P,ae,le){var pe=P,Ve=P;return typeof P=="number"?Ve=Ye(M,Rt(M,P)):pe=rr(P),pe==null?null:(le(Ve,pe)&&M.cm&&Ea(M.cm,pe,ae),Ve)}function Ll(M){this.lines=M,this.parent=null;for(var P=0,ae=0;ae<M.length;++ae)M[ae].parent=this,P+=M[ae].height;this.height=P}Ll.prototype={chunkSize:function(){return this.lines.length},removeInner:function(P,ae){for(var le=P,pe=P+ae;le<pe;++le){var Ve=this.lines[le];this.height-=Ve.height,on(Ve),tr(Ve,"delete")}this.lines.splice(P,ae)},collapse:function(P){P.push.apply(P,this.lines)},insertInner:function(P,ae,le){this.height+=le,this.lines=this.lines.slice(0,P).concat(ae).concat(this.lines.slice(P));for(var pe=0;pe<ae.length;++pe)ae[pe].parent=this},iterN:function(P,ae,le){for(var pe=P+ae;P<pe;++P)if(le(this.lines[P]))return!0}};function Qs(M){this.children=M;for(var P=0,ae=0,le=0;le<M.length;++le){var pe=M[le];P+=pe.chunkSize(),ae+=pe.height,pe.parent=this}this.size=P,this.height=ae,this.parent=null}Qs.prototype={chunkSize:function(){return this.size},removeInner:function(P,ae){this.size-=ae;for(var le=0;le<this.children.length;++le){var pe=this.children[le],Ve=pe.chunkSize();if(P<Ve){var yt=Math.min(ae,Ve-P),Ut=pe.height;if(pe.removeInner(P,yt),this.height-=Ut-pe.height,Ve==yt&&(this.children.splice(le--,1),pe.parent=null),(ae-=yt)==0)break;P=0}else P-=Ve}if(this.size-ae<25&&(this.children.length>1||!(this.children[0]instanceof Ll))){var sr=[];this.collapse(sr),this.children=[new Ll(sr)],this.children[0].parent=this}},collapse:function(P){for(var ae=0;ae<this.children.length;++ae)this.children[ae].collapse(P)},insertInner:function(P,ae,le){this.size+=ae.length,this.height+=le;for(var pe=0;pe<this.children.length;++pe){var Ve=this.children[pe],yt=Ve.chunkSize();if(P<=yt){if(Ve.insertInner(P,ae,le),Ve.lines&&Ve.lines.length>50){for(var Ut=Ve.lines.length%25+25,sr=Ut;sr<Ve.lines.length;){var fr=new Ll(Ve.lines.slice(sr,sr+=25));Ve.height-=fr.height,this.children.splice(++pe,0,fr),fr.parent=this}Ve.lines=Ve.lines.slice(0,Ut),this.maybeSpill()}break}P-=yt}},maybeSpill:function(){if(this.children.length<=10)return;var P=this;do{var ae=P.children.splice(P.children.length-5,5),le=new Qs(ae);if(P.parent){P.size-=le.size,P.height-=le.height;var Ve=Y(P.parent.children,P);P.parent.children.splice(Ve+1,0,le)}else{var pe=new Qs(P.children);pe.parent=P,P.children=[pe,le],P=pe}le.parent=P.parent}while(P.children.length>10);P.parent.maybeSpill()},iterN:function(P,ae,le){for(var pe=0;pe<this.children.length;++pe){var Ve=this.children[pe],yt=Ve.chunkSize();if(P<yt){var Ut=Math.min(ae,yt-P);if(Ve.iterN(P,Ut,le))return!0;if((ae-=Ut)==0)break;P=0}else P-=yt}}};var xc=function(P,ae,le){if(le)for(var pe in le)le.hasOwnProperty(pe)&&(this[pe]=le[pe]);this.doc=P,this.node=ae};xc.prototype.clear=function(){var M=this.doc.cm,P=this.line.widgets,ae=this.line,le=rr(ae);if(le==null||!P)return;for(var pe=0;pe<P.length;++pe)P[pe]==this&&P.splice(pe--,1);P.length||(ae.widgets=null);var Ve=fi(this);Yt(ae,Math.max(0,ae.height-Ve)),M&&(Al(M,function(){ku(M,ae,-Ve),Ea(M,le,"widget")}),tr(M,"lineWidgetCleared",M,this,le))},xc.prototype.changed=function(){var M=this,P=this.height,ae=this.doc.cm,le=this.line;this.height=null;var pe=fi(this)-P;if(!pe)return;Tn(this.doc,le)||Yt(le,le.height+pe),ae&&Al(ae,function(){ae.curOp.forceUpdate=!0,ku(ae,le,pe),tr(ae,"lineWidgetChanged",ae,M,rr(le))})},er(xc);function ku(M,P,ae){Ti(P)<(M.curOp&&M.curOp.scrollTop||M.doc.scrollTop)&&as(M,ae)}function $c(M,P,ae,le){var pe=new xc(M,ae,le),Ve=M.cm;return Ve&&pe.noHScroll&&(Ve.display.alignWidgets=!0),tl(M,P,"widget",function(yt){var Ut=yt.widgets||(yt.widgets=[]);if(pe.insertAt==null?Ut.push(pe):Ut.splice(Math.min(Ut.length-1,Math.max(0,pe.insertAt)),0,pe),pe.line=yt,Ve&&!Tn(M,yt)){var sr=Ti(yt)<M.scrollTop;Yt(yt,yt.height+fi(pe)),sr&&as(Ve,pe.height),Ve.curOp.forceUpdate=!0}return!0}),Ve&&tr(Ve,"lineWidgetAdded",Ve,pe,typeof P=="number"?P:rr(P)),pe}var hu=0,Rc=function(P,ae){this.lines=[],this.type=ae,this.doc=P,this.id=++hu};Rc.prototype.clear=function(){if(this.explicitlyCleared)return;var M=this.doc.cm,P=M&&!M.curOp;if(P&&$o(M),jt(this,"clear")){var ae=this.find();ae&&tr(this,"clear",ae.from,ae.to)}for(var le=null,pe=null,Ve=0;Ve<this.lines.length;++Ve){var yt=this.lines[Ve],Ut=Qt(yt.markedSpans,this);M&&!this.collapsed?Ea(M,rr(yt),"text"):M&&(Ut.to!=null&&(pe=rr(yt)),Ut.from!=null&&(le=rr(yt))),yt.markedSpans=Fr(yt.markedSpans,Ut),Ut.from==null&&this.collapsed&&!Tn(this.doc,yt)&&M&&Yt(yt,Ma(M.display))}if(M&&this.collapsed&&!M.options.lineWrapping)for(var sr=0;sr<this.lines.length;++sr){var fr=Kn(this.lines[sr]),xn=li(fr);xn>M.display.maxLineLength&&(M.display.maxLine=fr,M.display.maxLineLength=xn,M.display.maxLineChanged=!0)}le!=null&&M&&this.collapsed&&Eo(M,le,pe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,M&&fc(M.doc)),M&&tr(M,"markerCleared",M,this,le,pe),P&&Sl(M),this.parent&&this.parent.clear()},Rc.prototype.find=function(M,P){M==null&&this.type=="bookmark"&&(M=1);for(var ae,le,pe=0;pe<this.lines.length;++pe){var Ve=this.lines[pe],yt=Qt(Ve.markedSpans,this);if(yt.from!=null&&(ae=qt(P?Ve:rr(Ve),yt.from),M==-1))return ae;if(yt.to!=null&&(le=qt(P?Ve:rr(Ve),yt.to),M==1))return le}return ae&&{from:ae,to:le}},Rc.prototype.changed=function(){var M=this,P=this.find(-1,!0),ae=this,le=this.doc.cm;if(!P||!le)return;Al(le,function(){var pe=P.line,Ve=rr(P.line),yt=ya(le,Ve);if(yt&&(vn(yt),le.curOp.selectionChanged=le.curOp.forceUpdate=!0),le.curOp.updateMaxLine=!0,!Tn(ae.doc,pe)&&ae.height!=null){var Ut=ae.height;ae.height=null;var sr=fi(ae)-Ut;sr&&Yt(pe,pe.height+sr)}tr(le,"markerChanged",le,M)})},Rc.prototype.attachLine=function(M){if(!this.lines.length&&this.doc.cm){var P=this.doc.cm.curOp;(!P.maybeHiddenMarkers||Y(P.maybeHiddenMarkers,this)==-1)&&(P.maybeUnhiddenMarkers||(P.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(M)},Rc.prototype.detachLine=function(M){if(this.lines.splice(Y(this.lines,M),1),!this.lines.length&&this.doc.cm){var P=this.doc.cm.curOp;(P.maybeHiddenMarkers||(P.maybeHiddenMarkers=[])).push(this)}},er(Rc);function fu(M,P,ae,le,pe){if(le&&le.shared)return Cd(M,P,ae,le,pe);if(M.cm&&!M.cm.curOp)return zs(M.cm,fu)(M,P,ae,le,pe);var Ve=new Rc(M,pe),yt=St(P,ae);if(le&&X(le,Ve,!1),yt>0||yt==0&&Ve.clearWhenEmpty!==!1)return Ve;if(Ve.replacedWith&&(Ve.collapsed=!0,Ve.widgetNode=F("span",[Ve.replacedWith],"CodeMirror-widget"),le.handleMouseEvents||Ve.widgetNode.setAttribute("cm-ignore-events","true"),le.insertLeft&&(Ve.widgetNode.insertLeft=!0)),Ve.collapsed){if(ba(M,P.line,P,ae,Ve)||P.line!=ae.line&&ba(M,ae.line,P,ae,Ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");Lt()}Ve.addToHistory&&Ys(M,{from:P,to:ae,origin:"markText"},M.sel,NaN);var Ut=P.line,sr=M.cm,fr;if(M.iter(Ut,ae.line+1,function(jn){sr&&Ve.collapsed&&!sr.options.lineWrapping&&Kn(jn)==sr.display.maxLine&&(fr=!0),Ve.collapsed&&Ut!=P.line&&Yt(jn,0),Lr(jn,new vt(Ve,Ut==P.line?P.ch:null,Ut==ae.line?ae.ch:null)),++Ut}),Ve.collapsed&&M.iter(P.line,ae.line+1,function(jn){Tn(M,jn)&&Yt(jn,0)}),Ve.clearOnEnter&&Pe(Ve,"beforeCursorEnter",function(){return Ve.clear()}),Ve.readOnly&&(st(),(M.history.done.length||M.history.undone.length)&&M.clearHistory()),Ve.collapsed&&(Ve.id=++hu,Ve.atomic=!0),sr){if(fr&&(sr.curOp.updateMaxLine=!0),Ve.collapsed)Eo(sr,P.line,ae.line+1);else if(Ve.className||Ve.startStyle||Ve.endStyle||Ve.css||Ve.attributes||Ve.title)for(var xn=P.line;xn<=ae.line;xn++)Ea(sr,xn,"text");Ve.atomic&&fc(sr.doc),tr(sr,"markerAdded",sr,Ve)}return Ve}var au=function(P,ae){this.markers=P,this.primary=ae;for(var le=0;le<P.length;++le)P[le].parent=this};au.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var M=0;M<this.markers.length;++M)this.markers[M].clear();tr(this,"clear")},au.prototype.find=function(M,P){return this.primary.find(M,P)},er(au);function Cd(M,P,ae,le,pe){le=X(le),le.shared=!1;var Ve=[fu(M,P,ae,le,pe)],yt=Ve[0],Ut=le.widgetNode;return wa(M,function(sr){Ut&&(le.widgetNode=Ut.cloneNode(!0)),Ve.push(fu(sr,_t(sr,P),_t(sr,ae),le,pe));for(var fr=0;fr<sr.linked.length;++fr)if(sr.linked[fr].isParent)return;yt=Ae(Ve)}),new au(Ve,yt)}function od(M){return M.findMarks(qt(M.first,0),M.clipPos(qt(M.lastLine())),function(P){return P.parent})}function Ed(M,P){for(var ae=0;ae<P.length;ae++){var le=P[ae],pe=le.find(),Ve=M.clipPos(pe.from),yt=M.clipPos(pe.to);if(St(Ve,yt)){var Ut=fu(M,Ve,yt,le.primary,le.primary.type);le.markers.push(Ut),Ut.parent=le}}}function _d(M){for(var P=function(pe){var Ve=M[pe],yt=[Ve.primary.doc];wa(Ve.primary.doc,function(fr){return yt.push(fr)});for(var Ut=0;Ut<Ve.markers.length;Ut++){var sr=Ve.markers[Ut];Y(yt,sr.doc)==-1&&(sr.parent=null,Ve.markers.splice(Ut--,1))}},ae=0;ae<M.length;ae++)P(ae)}var Xu=0,Ec=function M(P,ae,le,pe,Ve){if(!(this instanceof M))return new M(P,ae,le,pe,Ve);le==null&&(le=0),Qs.call(this,[new Ll([new Da("",null)])]),this.first=le,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=le;var yt=qt(le,0);this.sel=Oe(yt),this.history=new us(null),this.id=++Xu,this.modeOption=ae,this.lineSep=pe,this.direction=Ve=="rtl"?"rtl":"ltr",this.extend=!1,typeof P=="string"&&(P=this.splitLines(P)),Ji(this,{from:yt,to:yt,text:P}),ll(this,Oe(yt),we)};Ec.prototype=Ze(Qs.prototype,{constructor:Ec,iter:function(P,ae,le){le?this.iterN(P-this.first,ae-P,le):this.iterN(this.first,this.first+this.size,P)},insert:function(P,ae){for(var le=0,pe=0;pe<ae.length;++pe)le+=ae[pe].height;this.insertInner(P-this.first,ae,le)},remove:function(P,ae){this.removeInner(P-this.first,ae)},getValue:function(P){var ae=ir(this,this.first,this.first+this.size);return P===!1?ae:ae.join(P||this.lineSeparator())},setValue:vl(function(M){var P=qt(this.first,0),ae=this.first+this.size-1;wc(this,{from:P,to:qt(ae,Ye(this,ae).text.length),text:this.splitLines(M),origin:"setValue",full:!0},!0),this.cm&&Ho(this.cm,0,0),ll(this,Oe(P),we)}),replaceRange:function(P,ae,le,pe){ae=_t(this,ae),le=le?_t(this,le):ae,vc(this,P,ae,le,pe)},getRange:function(P,ae,le){var pe=ft(this,_t(this,P),_t(this,ae));return le===!1?pe:pe.join(le||this.lineSeparator())},getLine:function(P){var ae=this.getLineHandle(P);return ae&&ae.text},getLineHandle:function(P){if(nn(this,P))return Ye(this,P)},getLineNumber:function(P){return rr(P)},getLineHandleVisualStart:function(P){return typeof P=="number"&&(P=Ye(this,P)),Kn(P)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(P){return _t(this,P)},getCursor:function(P){var ae=this.sel.primary(),le;return P==null||P=="head"?le=ae.head:P=="anchor"?le=ae.anchor:P=="end"||P=="to"||P===!1?le=ae.to():le=ae.from(),le},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:vl(function(M,P,ae){Nc(this,_t(this,typeof M=="number"?qt(M,P||0):M),null,ae)}),setSelection:vl(function(M,P,ae){Nc(this,_t(this,M),_t(this,P||M),ae)}),extendSelection:vl(function(M,P,ae){Kl(this,_t(this,M),P&&_t(this,P),ae)}),extendSelections:vl(function(M,P){ql(this,Nr(this,M),P)}),extendSelectionsBy:vl(function(M,P){var ae=je(this.sel.ranges,M);ql(this,Nr(this,ae),P)}),setSelections:vl(function(M,P,ae){if(!M.length)return;for(var le=[],pe=0;pe<M.length;pe++)le[pe]=new ce(_t(this,M[pe].anchor),_t(this,M[pe].head));P==null&&(P=Math.min(M.length-1,this.sel.primIndex)),ll(this,Se(this.cm,le,P),ae)}),addSelection:vl(function(M,P,ae){var le=this.sel.ranges.slice(0);le.push(new ce(_t(this,M),_t(this,P||M))),ll(this,Se(this.cm,le,le.length-1),ae)}),getSelection:function(P){for(var ae=this.sel.ranges,le,pe=0;pe<ae.length;pe++){var Ve=ft(this,ae[pe].from(),ae[pe].to());le=le?le.concat(Ve):Ve}return P===!1?le:le.join(P||this.lineSeparator())},getSelections:function(P){for(var ae=[],le=this.sel.ranges,pe=0;pe<le.length;pe++){var Ve=ft(this,le[pe].from(),le[pe].to());P!==!1&&(Ve=Ve.join(P||this.lineSeparator())),ae[pe]=Ve}return ae},replaceSelection:function(P,ae,le){for(var pe=[],Ve=0;Ve<this.sel.ranges.length;Ve++)pe[Ve]=P;this.replaceSelections(pe,ae,le||"+input")},replaceSelections:vl(function(M,P,ae){for(var le=[],pe=this.sel,Ve=0;Ve<pe.ranges.length;Ve++){var yt=pe.ranges[Ve];le[Ve]={from:yt.from(),to:yt.to(),text:this.splitLines(M[Ve]),origin:ae}}for(var Ut=P&&P!="end"&&Xr(this,le,P),sr=le.length-1;sr>=0;sr--)wc(this,le[sr]);Ut?Zl(this,Ut):this.cm&&vs(this.cm)}),undo:vl(function(){xo(this,"undo")}),redo:vl(function(){xo(this,"redo")}),undoSelection:vl(function(){xo(this,"undo",!0)}),redoSelection:vl(function(){xo(this,"redo",!0)}),setExtending:function(P){this.extend=P},getExtending:function(){return this.extend},historySize:function(){for(var P=this.history,ae=0,le=0,pe=0;pe<P.done.length;pe++)P.done[pe].ranges||++ae;for(var Ve=0;Ve<P.undone.length;Ve++)P.undone[Ve].ranges||++le;return{undo:ae,redo:le}},clearHistory:function(){var P=this;this.history=new us(this.history.maxGeneration),wa(this,function(ae){return ae.history=P.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(P){return P&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(P){return this.history.generation==(P||this.cleanGeneration)},getHistory:function(){return{done:$l(this.history.done),undone:$l(this.history.undone)}},setHistory:function(P){var ae=this.history=new us(this.history.maxGeneration);ae.done=$l(P.done.slice(0),null,!0),ae.undone=$l(P.undone.slice(0),null,!0)},setGutterMarker:vl(function(M,P,ae){return tl(this,M,"gutter",function(le){var pe=le.gutterMarkers||(le.gutterMarkers={});return pe[P]=ae,!ae&&te(pe)&&(le.gutterMarkers=null),!0})}),clearGutter:vl(function(M){var P=this;this.iter(function(ae){ae.gutterMarkers&&ae.gutterMarkers[M]&&tl(P,ae,"gutter",function(){return ae.gutterMarkers[M]=null,te(ae.gutterMarkers)&&(ae.gutterMarkers=null),!0})})}),lineInfo:function(P){var ae;if(typeof P=="number"){if(!nn(this,P))return null;if(ae=P,P=Ye(this,P),!P)return null}else if(ae=rr(P),ae==null)return null;return{line:ae,handle:P,text:P.text,gutterMarkers:P.gutterMarkers,textClass:P.textClass,bgClass:P.bgClass,wrapClass:P.wrapClass,widgets:P.widgets}},addLineClass:vl(function(M,P,ae){return tl(this,M,P=="gutter"?"gutter":"class",function(le){var pe=P=="text"?"textClass":P=="background"?"bgClass":P=="gutter"?"gutterClass":"wrapClass";if(!le[pe])le[pe]=ae;else{if(O(ae).test(le[pe]))return!1;le[pe]+=" "+ae}return!0})}),removeLineClass:vl(function(M,P,ae){return tl(this,M,P=="gutter"?"gutter":"class",function(le){var pe=P=="text"?"textClass":P=="background"?"bgClass":P=="gutter"?"gutterClass":"wrapClass",Ve=le[pe];if(Ve)if(ae==null)le[pe]=null;else{var yt=Ve.match(O(ae));if(!yt)return!1;var Ut=yt.index+yt[0].length;le[pe]=Ve.slice(0,yt.index)+(!yt.index||Ut==Ve.length?"":" ")+Ve.slice(Ut)||null}else return!1;return!0})}),addLineWidget:vl(function(M,P,ae){return $c(this,M,P,ae)}),removeLineWidget:function(P){P.clear()},markText:function(P,ae,le){return fu(this,_t(this,P),_t(this,ae),le,le&&le.type||"range")},setBookmark:function(P,ae){var le={replacedWith:ae&&(ae.nodeType==null?ae.widget:ae),insertLeft:ae&&ae.insertLeft,clearWhenEmpty:!1,shared:ae&&ae.shared,handleMouseEvents:ae&&ae.handleMouseEvents};return P=_t(this,P),fu(this,P,P,le,"bookmark")},findMarksAt:function(P){P=_t(this,P);var ae=[],le=Ye(this,P.line).markedSpans;if(le)for(var pe=0;pe<le.length;++pe){var Ve=le[pe];(Ve.from==null||Ve.from<=P.ch)&&(Ve.to==null||Ve.to>=P.ch)&&ae.push(Ve.marker.parent||Ve.marker)}return ae},findMarks:function(P,ae,le){P=_t(this,P),ae=_t(this,ae);var pe=[],Ve=P.line;return this.iter(P.line,ae.line+1,function(yt){var Ut=yt.markedSpans;if(Ut)for(var sr=0;sr<Ut.length;sr++){var fr=Ut[sr];!(fr.to!=null&&Ve==P.line&&P.ch>=fr.to||fr.from==null&&Ve!=P.line||fr.from!=null&&Ve==ae.line&&fr.from>=ae.ch)&&(!le||le(fr.marker))&&pe.push(fr.marker.parent||fr.marker)}++Ve}),pe},getAllMarks:function(){var P=[];return this.iter(function(ae){var le=ae.markedSpans;if(le)for(var pe=0;pe<le.length;++pe)le[pe].from!=null&&P.push(le[pe].marker)}),P},posFromIndex:function(P){var ae,le=this.first,pe=this.lineSeparator().length;return this.iter(function(Ve){var yt=Ve.text.length+pe;if(yt>P)return ae=P,!0;P-=yt,++le}),_t(this,qt(le,ae))},indexFromPos:function(P){P=_t(this,P);var ae=P.ch;if(P.line<this.first||P.ch<0)return 0;var le=this.lineSeparator().length;return this.iter(this.first,P.line,function(pe){ae+=pe.text.length+le}),ae},copy:function(P){var ae=new Ec(ir(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return ae.scrollTop=this.scrollTop,ae.scrollLeft=this.scrollLeft,ae.sel=this.sel,ae.extend=!1,P&&(ae.history.undoDepth=this.history.undoDepth,ae.setHistory(this.getHistory())),ae},linkedDoc:function(P){P||(P={});var ae=this.first,le=this.first+this.size;P.from!=null&&P.from>ae&&(ae=P.from),P.to!=null&&P.to<le&&(le=P.to);var pe=new Ec(ir(this,ae,le),P.mode||this.modeOption,ae,this.lineSep,this.direction);return P.sharedHist&&(pe.history=this.history),(this.linked||(this.linked=[])).push({doc:pe,sharedHist:P.sharedHist}),pe.linked=[{doc:this,isParent:!0,sharedHist:P.sharedHist}],Ed(pe,od(this)),pe},unlinkDoc:function(P){if(P instanceof Tr&&(P=P.doc),this.linked)for(var ae=0;ae<this.linked.length;++ae){var le=this.linked[ae];if(le.doc!=P)continue;this.linked.splice(ae,1),P.unlinkDoc(this),_d(od(this));break}if(P.history==this.history){var pe=[P.id];wa(P,function(Ve){return pe.push(Ve.id)},!0),P.history=new us(null),P.history.done=$l(this.history.done,pe),P.history.undone=$l(this.history.undone,pe)}},iterLinkedDocs:function(P){wa(this,P)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(P){return this.lineSep?P.split(this.lineSep):gn(P)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:vl(function(M){if(M!="rtl"&&(M="ltr"),M==this.direction)return;this.direction=M,this.iter(function(P){return P.order=null}),this.cm&&Mo(this.cm)})}),Ec.prototype.eachLine=Ec.prototype.iter;var Gl=0;function Bc(M){var P=this;if(ld(P),Bt(P,M)||ui(P.display,M))return;at(M),d&&(Gl=+new Date);var ae=Ja(P,M,!0),le=M.dataTransfer.files;if(!ae||P.isReadOnly())return;if(le&&le.length&&window.FileReader&&window.File)for(var pe=le.length,Ve=Array(pe),yt=0,Ut=function(){++yt==pe&&zs(P,function(){ae=_t(P.doc,ae);var la={from:ae,to:ae,text:P.doc.splitLines(Ve.filter(function(Ua){return Ua!=null}).join(P.doc.lineSeparator())),origin:"paste"};wc(P.doc,la),Zl(P.doc,Oe(_t(P.doc,ae),_t(P.doc,Xe(la))))})()},sr=function(la,Ua){if(P.options.allowDropFileTypes&&Y(P.options.allowDropFileTypes,la.type)==-1){Ut();return}var eo=new FileReader;eo.onerror=function(){return Ut()},eo.onload=function(){var no=eo.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(no)){Ut();return}Ve[Ua]=no,Ut()},eo.readAsText(la)},fr=0;fr<le.length;fr++)sr(le[fr],fr);else{if(P.state.draggingText&&P.doc.sel.contains(ae)>-1){P.state.draggingText(M),setTimeout(function(){return P.display.input.focus()},20);return}try{var xn=M.dataTransfer.getData("Text");if(xn){var jn;if(P.state.draggingText&&!P.state.draggingText.copy&&(jn=P.listSelections()),Fl(P.doc,Oe(ae,ae)),jn)for(var gi=0;gi<jn.length;++gi)vc(P.doc,"",jn[gi].anchor,jn[gi].head,"drag");P.replaceSelection(xn,"around","paste"),P.display.input.focus()}}catch(Si){}}}function Fu(M,P){if(d&&(!M.state.draggingText||+new Date-Gl<100)){Dt(P);return}if(Bt(M,P)||ui(M.display,P))return;if(P.dataTransfer.setData("Text",M.getSelection()),P.dataTransfer.effectAllowed="copyMove",P.dataTransfer.setDragImage&&!r){var ae=D("img",null,null,"position: fixed; left: 0; top: 0;");ae.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",s&&(ae.width=ae.height=1,M.display.wrapper.appendChild(ae),ae._top=ae.offsetTop),P.dataTransfer.setDragImage(ae,0,0),s&&ae.parentNode.removeChild(ae)}}function sd(M,P){var ae=Ja(M,P);if(!ae)return;var le=document.createDocumentFragment();Oo(M,ae,le),M.display.dragCursor||(M.display.dragCursor=D("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),M.display.lineSpace.insertBefore(M.display.dragCursor,M.display.cursorDiv)),L(M.display.dragCursor,le)}function ld(M){M.display.dragCursor&&(M.display.lineSpace.removeChild(M.display.dragCursor),M.display.dragCursor=null)}function Gu(M){if(!document.getElementsByClassName)return;for(var P=document.getElementsByClassName("CodeMirror"),ae=[],le=0;le<P.length;le++){var pe=P[le].CodeMirror;pe&&ae.push(pe)}ae.length&&ae[0].operation(function(){for(var Ve=0;Ve<ae.length;Ve++)M(ae[Ve])})}var Tu=!1;function jd(){if(Tu)return;cd(),Tu=!0}function cd(){var M;Pe(window,"resize",function(){M==null&&(M=setTimeout(function(){M=null,Gu(Td)},100))}),Pe(window,"blur",function(){return Gu(ys)})}function Td(M){var P=M.display;P.cachedCharWidth=P.cachedTextHeight=P.cachedPaddingH=null,P.scrollbarsClipped=!1,M.setSize()}for(var qc={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"},ou=0;ou<10;ou++)qc[ou+48]=qc[ou+96]=String(ou);for(var Pu=65;Pu<=90;Pu++)qc[Pu]=String.fromCharCode(Pu);for(var Ou=1;Ou<=12;Ou++)qc[Ou+111]=qc[Ou+63235]="F"+Ou;var eu={};eu.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"},eu.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"},eu.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"},eu.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"]},eu.default=g?eu.macDefault:eu.pcDefault;function Sc(M){var P=M.split(/-(?!$)/);M=P[P.length-1];for(var ae,le,pe,Ve,yt=0;yt<P.length-1;yt++){var Ut=P[yt];if(/^(cmd|meta|m)$/i.test(Ut))Ve=!0;else if(/^a(lt)?$/i.test(Ut))ae=!0;else if(/^(c|ctrl|control)$/i.test(Ut))le=!0;else if(/^s(hift)?$/i.test(Ut))pe=!0;else throw new Error("Unrecognized modifier name: "+Ut)}return ae&&(M="Alt-"+M),le&&(M="Ctrl-"+M),Ve&&(M="Cmd-"+M),pe&&(M="Shift-"+M),M}function Uu(M){var P={};for(var ae in M)if(M.hasOwnProperty(ae)){var le=M[ae];if(/^(name|fallthrough|(de|at)tach)$/.test(ae))continue;if(le=="..."){delete M[ae];continue}for(var pe=je(ae.split(" "),Sc),Ve=0;Ve<pe.length;Ve++){var yt=void 0,Ut=void 0;Ve==pe.length-1?(Ut=pe.join(" "),yt=le):(Ut=pe.slice(0,Ve+1).join(" "),yt="...");var sr=P[Ut];if(!sr)P[Ut]=yt;else if(sr!=yt)throw new Error("Inconsistent bindings for "+Ut)}delete M[ae]}for(var fr in P)M[fr]=P[fr];return M}function su(M,P,ae,le){P=Iu(P);var pe=P.call?P.call(M,le):P[M];if(pe===!1)return"nothing";if(pe==="...")return"multi";if(pe!=null&&ae(pe))return"handled";if(P.fallthrough){if(Object.prototype.toString.call(P.fallthrough)!="[object Array]")return su(M,P.fallthrough,ae,le);for(var Ve=0;Ve<P.fallthrough.length;Ve++){var yt=su(M,P.fallthrough[Ve],ae,le);if(yt)return yt}}}function Yu(M){var P=typeof M=="string"?M:qc[M.keyCode];return P=="Ctrl"||P=="Alt"||P=="Shift"||P=="Mod"}function Od(M,P,ae){var le=M;return P.altKey&&le!="Alt"&&(M="Alt-"+M),(C?P.metaKey:P.ctrlKey)&&le!="Ctrl"&&(M="Ctrl-"+M),(C?P.ctrlKey:P.metaKey)&&le!="Mod"&&(M="Cmd-"+M),!ae&&P.shiftKey&&le!="Shift"&&(M="Shift-"+M),M}function ju(M,P){if(s&&M.keyCode==34&&M.char)return!1;var ae=qc[M.keyCode];return ae==null||M.altGraphKey?!1:(M.keyCode==3&&M.code&&(ae=M.code),Od(ae,M,P))}function Iu(M){return typeof M=="string"?eu[M]:M}function pu(M,P){for(var ae=M.doc.sel.ranges,le=[],pe=0;pe<ae.length;pe++){for(var Ve=P(ae[pe]);le.length&&St(Ve.from,Ae(le).to)<=0;){var yt=le.pop();if(St(yt.from,Ve.from)<0){Ve.from=yt.from;break}}le.push(Ve)}Al(M,function(){for(var Ut=le.length-1;Ut>=0;Ut--)vc(M.doc,"",le[Ut].from,le[Ut].to,"+delete");vs(M)})}function Lu(M,P,ae){var le=Be(M.text,P+ae,ae);return le<0||le>M.text.length?null:le}function Id(M,P,ae){var le=Lu(M,P.ch,ae);return le==null?null:new qt(P.line,le,ae<0?"after":"before")}function ud(M,P,ae,le,pe){if(M){P.doc.direction=="rtl"&&(pe=-pe);var Ve=gt(ae,P.doc.direction);if(Ve){var yt=pe<0?Ae(Ve):Ve[0],Ut=pe<0==(yt.level==1),sr=Ut?"after":"before",fr;if(yt.level>0||P.doc.direction=="rtl"){var xn=va(P,ae);fr=pe<0?ae.text.length-1:0;var jn=Ca(P,xn,fr).top;fr=Ne(function(gi){return Ca(P,xn,gi).top==jn},pe<0==(yt.level==1)?yt.from:yt.to-1,fr),sr=="before"&&(fr=Lu(ae,fr,1))}else fr=pe<0?yt.to:yt.from;return new qt(le,fr,sr)}}return new qt(le,pe<0?ae.text.length:0,pe<0?"before":"after")}function dd(M,P,ae,le){var pe=gt(P,M.doc.direction);if(!pe)return Id(P,ae,le);ae.ch>=P.text.length?(ae.ch=P.text.length,ae.sticky="before"):ae.ch<=0&&(ae.ch=0,ae.sticky="after");var Ve=Me(pe,ae.ch,ae.sticky),yt=pe[Ve];if(M.doc.direction=="ltr"&&yt.level%2==0&&(le>0?yt.to>ae.ch:yt.from<ae.ch))return Id(P,ae,le);var Ut=function(to,So){return Lu(P,to instanceof qt?to.ch:to,So)},sr,fr=function(to){return M.options.lineWrapping?(sr=sr||va(M,P),Xa(M,P,sr,to)):{begin:0,end:P.text.length}},xn=fr(ae.sticky=="before"?Ut(ae,-1):ae.ch);if(M.doc.direction=="rtl"||yt.level==1){var jn=yt.level==1==le<0,gi=Ut(ae,jn?1:-1);if(gi!=null&&(jn?gi<=yt.to&&gi<=xn.end:gi>=yt.from&&gi>=xn.begin)){var Si=jn?"before":"after";return new qt(ae.line,gi,Si)}}var la=function(to,So,Do){for(var xs=function(yl,oc){return oc?new qt(ae.line,Ut(yl,1),"before"):new qt(ae.line,yl,"after")};to>=0&&to<pe.length;to+=So){var os=pe[to],js=So>0==(os.level!=1),cl=js?Do.begin:Ut(Do.end,-1);if(os.from<=cl&&cl<os.to)return xs(cl,js);if(cl=js?os.from:Ut(os.to,-1),Do.begin<=cl&&cl<Do.end)return xs(cl,js)}},Ua=la(Ve+le,le,xn);if(Ua)return Ua;var eo=le>0?xn.end:Ut(xn.begin,-1);return eo!=null&&!(le>0&&eo==P.text.length)&&(Ua=la(le>0?0:pe.length-1,le,fr(eo)),Ua)?Ua:null}var Hu={selectAll:Dc,singleSelection:function(P){return P.setSelection(P.getCursor("anchor"),P.getCursor("head"),we)},killLine:function(P){return pu(P,function(ae){if(ae.empty()){var le=Ye(P.doc,ae.head.line).text.length;return ae.head.ch==le&&ae.head.line<P.lastLine()?{from:ae.head,to:qt(ae.head.line+1,0)}:{from:ae.head,to:qt(ae.head.line,le)}}else return{from:ae.from(),to:ae.to()}})},deleteLine:function(P){return pu(P,function(ae){return{from:qt(ae.from().line,0),to:_t(P.doc,qt(ae.to().line+1,0))}})},delLineLeft:function(P){return pu(P,function(ae){return{from:qt(ae.from().line,0),to:ae.from()}})},delWrappedLineLeft:function(P){return pu(P,function(ae){var le=P.charCoords(ae.head,"div").top+5,pe=P.coordsChar({left:0,top:le},"div");return{from:pe,to:ae.from()}})},delWrappedLineRight:function(P){return pu(P,function(ae){var le=P.charCoords(ae.head,"div").top+5,pe=P.coordsChar({left:P.display.lineDiv.offsetWidth+100,top:le},"div");return{from:ae.from(),to:pe}})},undo:function(P){return P.undo()},redo:function(P){return P.redo()},undoSelection:function(P){return P.undoSelection()},redoSelection:function(P){return P.redoSelection()},goDocStart:function(P){return P.extendSelection(qt(P.firstLine(),0))},goDocEnd:function(P){return P.extendSelection(qt(P.lastLine()))},goLineStart:function(P){return P.extendSelectionsBy(function(ae){return hd(P,ae.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(P){return P.extendSelectionsBy(function(ae){return Ld(P,ae.head)},{origin:"+move",bias:1})},goLineEnd:function(P){return P.extendSelectionsBy(function(ae){return fd(P,ae.head.line)},{origin:"+move",bias:-1})},goLineRight:function(P){return P.extendSelectionsBy(function(ae){var le=P.cursorCoords(ae.head,"div").top+5;return P.coordsChar({left:P.display.lineDiv.offsetWidth+100,top:le},"div")},me)},goLineLeft:function(P){return P.extendSelectionsBy(function(ae){var le=P.cursorCoords(ae.head,"div").top+5;return P.coordsChar({left:0,top:le},"div")},me)},goLineLeftSmart:function(P){return P.extendSelectionsBy(function(ae){var le=P.cursorCoords(ae.head,"div").top+5,pe=P.coordsChar({left:0,top:le},"div");return pe.ch<P.getLine(pe.line).search(/\S/)?Ld(P,ae.head):pe},me)},goLineUp:function(P){return P.moveV(-1,"line")},goLineDown:function(P){return P.moveV(1,"line")},goPageUp:function(P){return P.moveV(-1,"page")},goPageDown:function(P){return P.moveV(1,"page")},goCharLeft:function(P){return P.moveH(-1,"char")},goCharRight:function(P){return P.moveH(1,"char")},goColumnLeft:function(P){return P.moveH(-1,"column")},goColumnRight:function(P){return P.moveH(1,"column")},goWordLeft:function(P){return P.moveH(-1,"word")},goGroupRight:function(P){return P.moveH(1,"group")},goGroupLeft:function(P){return P.moveH(-1,"group")},goWordRight:function(P){return P.moveH(1,"word")},delCharBefore:function(P){return P.deleteH(-1,"codepoint")},delCharAfter:function(P){return P.deleteH(1,"char")},delWordBefore:function(P){return P.deleteH(-1,"word")},delWordAfter:function(P){return P.deleteH(1,"word")},delGroupBefore:function(P){return P.deleteH(-1,"group")},delGroupAfter:function(P){return P.deleteH(1,"group")},indentAuto:function(P){return P.indentSelection("smart")},indentMore:function(P){return P.indentSelection("add")},indentLess:function(P){return P.indentSelection("subtract")},insertTab:function(P){return P.replaceSelection(" ")},insertSoftTab:function(P){for(var ae=[],le=P.listSelections(),pe=P.options.tabSize,Ve=0;Ve<le.length;Ve++){var yt=le[Ve].from(),Ut=W(P.getLine(yt.line),yt.ch,pe);ae.push(We(pe-Ut%pe))}P.replaceSelections(ae)},defaultTab:function(P){P.somethingSelected()?P.indentSelection("add"):P.execCommand("insertTab")},transposeChars:function(P){return Al(P,function(){for(var ae=P.listSelections(),le=[],pe=0;pe<ae.length;pe++){if(!ae[pe].empty())continue;var Ve=ae[pe].head,yt=Ye(P.doc,Ve.line).text;if(yt){if(Ve.ch==yt.length&&(Ve=new qt(Ve.line,Ve.ch-1)),Ve.ch>0)Ve=new qt(Ve.line,Ve.ch+1),P.replaceRange(yt.charAt(Ve.ch-1)+yt.charAt(Ve.ch-2),qt(Ve.line,Ve.ch-2),Ve,"+transpose");else if(Ve.line>P.doc.first){var Ut=Ye(P.doc,Ve.line-1).text;Ut&&(Ve=new qt(Ve.line,1),P.replaceRange(yt.charAt(0)+P.doc.lineSeparator()+Ut.charAt(Ut.length-1),qt(Ve.line-1,Ut.length-1),Ve,"+transpose"))}}le.push(new ce(Ve,Ve))}P.setSelections(le)})},newlineAndIndent:function(P){return Al(P,function(){for(var ae=P.listSelections(),le=ae.length-1;le>=0;le--)P.replaceRange(P.doc.lineSeparator(),ae[le].anchor,ae[le].head,"+input");ae=P.listSelections();for(var pe=0;pe<ae.length;pe++)P.indentLine(ae[pe].from().line,null,!0);vs(P)})},openLine:function(P){return P.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(P){return P.toggleOverwrite()}};function hd(M,P){var ae=Ye(M.doc,P),le=Kn(ae);return le!=ae&&(P=rr(le)),ud(!0,M,le,P,1)}function fd(M,P){var ae=Ye(M.doc,P),le=un(ae);return le!=ae&&(P=rr(le)),ud(!0,M,ae,P,-1)}function Ld(M,P){var ae=hd(M,P.line),le=Ye(M.doc,ae.line),pe=gt(le,M.doc.direction);if(!pe||pe[0].level==0){var Ve=Math.max(ae.ch,le.text.search(/\S/)),yt=P.line==ae.line&&P.ch<=Ve&&P.ch;return qt(ae.line,yt?0:Ve,ae.sticky)}return ae}function Xc(M,P,ae){if(typeof P=="string"&&(P=Hu[P],!P))return!1;M.display.input.ensurePolled();var le=M.display.shift,pe=!1;try{M.isReadOnly()&&(M.state.suppressEdits=!0),ae&&(M.display.shift=!1),pe=P(M)!=ne}finally{M.display.shift=le,M.state.suppressEdits=!1}return pe}function Gc(M,P,ae){for(var le=0;le<M.state.keyMaps.length;le++){var pe=su(P,M.state.keyMaps[le],ae,M);if(pe)return pe}return M.options.extraKeys&&su(P,M.options.extraKeys,ae,M)||su(P,M.options.keyMap,ae,M)}var Jc=new q;function Qu(M,P,ae,le){var pe=M.state.keySeq;if(pe){if(Yu(P))return"handled";if(/\'$/.test(P)?M.state.keySeq=null:Jc.set(50,function(){M.state.keySeq==pe&&(M.state.keySeq=null,M.display.input.reset())}),pd(M,pe+" "+P,ae,le))return!0}return pd(M,P,ae,le)}function pd(M,P,ae,le){var pe=Gc(M,P,le);return pe=="multi"&&(M.state.keySeq=P),pe=="handled"&&tr(M,"keyHandled",M,P,ae),(pe=="handled"||pe=="multi")&&(at(ae),lo(M)),!!pe}function lu(M,P){var ae=ju(P,!0);return ae?P.shiftKey&&!M.state.keySeq?Qu(M,"Shift-"+ae,P,function(le){return Xc(M,le,!0)})||Qu(M,ae,P,function(le){if(typeof le=="string"?/^go[A-Z]/.test(le):le.motion)return Xc(M,le)}):Qu(M,ae,P,function(le){return Xc(M,le)}):!1}function Yc(M,P,ae){return Qu(M,"'"+ae+"'",P,function(le){return Xc(M,le,!0)})}var Wu=null;function Zu(M){var P=this;if(M.target&&M.target!=P.display.input.getField())return;if(P.curOp.focus=K(),Bt(P,M))return;d&&l<11&&M.keyCode==27&&(M.returnValue=!1);var ae=M.keyCode;P.display.shift=ae==16||M.shiftKey;var le=lu(P,M);s&&(Wu=le?ae:null,!le&&ae==88&&!ur&&(g?M.metaKey:M.ctrlKey)&&P.replaceSelection("",null,"cut")),E&&!g&&!le&&ae==46&&M.shiftKey&&!M.ctrlKey&&document.execCommand&&document.execCommand("cut"),ae==18&&!/\bCodeMirror-crosshair\b/.test(P.display.lineDiv.className)&&Hd(P)}function Hd(M){var P=M.display.lineDiv;Z(P,"CodeMirror-crosshair");function ae(le){(le.keyCode==18||!le.altKey)&&(S(P,"CodeMirror-crosshair"),nt(document,"keyup",ae),nt(document,"mouseover",ae))}Pe(document,"keyup",ae),Pe(document,"mouseover",ae)}function md(M){M.keyCode==16&&(this.doc.sel.shift=!1),Bt(this,M)}function Ju(M){var P=this;if(M.target&&M.target!=P.display.input.getField())return;if(ui(P.display,M)||Bt(P,M)||M.ctrlKey&&!M.altKey||g&&M.metaKey)return;var ae=M.keyCode,le=M.charCode;if(s&&ae==Wu){Wu=null,at(M);return}if(s&&(!M.which||M.which<10)&&lu(P,M))return;var pe=String.fromCharCode(le==null?ae:le);if(pe=="\b")return;if(Yc(P,M,pe))return;P.display.input.onKeyPress(M)}var $u=400,qu=function(P,ae,le){this.time=P,this.pos=ae,this.button=le};qu.prototype.compare=function(M,P,ae){return this.time+$u>M&&St(P,this.pos)==0&&ae==this.button};var tu,cu;function ru(M,P){var ae=+new Date;return cu&&cu.compare(ae,M,P)?(tu=cu=null,"triple"):tu&&tu.compare(ae,M,P)?(cu=new qu(ae,M,P),tu=null,"double"):(tu=new qu(ae,M,P),cu=null,"single")}function zu(M){var P=this,ae=P.display;if(Bt(P,M)||ae.activeTouch&&ae.input.supportsTouch())return;if(ae.input.ensurePolled(),ae.shift=M.shiftKey,ui(ae,M)){n||(ae.scroller.draggable=!1,setTimeout(function(){return ae.scroller.draggable=!0},100));return}if(Md(P,M))return;var le=Ja(P,M),pe=ye(M),Ve=le?ru(le,pe):"single";if(window.focus(),pe==1&&P.state.selectingText&&P.state.selectingText(M),le&&nu(P,pe,le,Ve,M))return;pe==1?le?Wd(P,le,Ve,M):rt(M)==ae.scroller&&at(M):pe==2?(le&&Kl(P.doc,le),setTimeout(function(){return ae.input.focus()},20)):pe==3&&(T?P.display.input.onContextMenu(M):As(P))}function nu(M,P,ae,le,pe){var Ve="Click";return le=="double"?Ve="Double"+Ve:le=="triple"&&(Ve="Triple"+Ve),Ve=(P==1?"Left":P==2?"Middle":"Right")+Ve,Qu(M,Od(Ve,pe),pe,function(yt){if(typeof yt=="string"&&(yt=Hu[yt]),!yt)return!1;var Ut=!1;try{M.isReadOnly()&&(M.state.suppressEdits=!0),Ut=yt(M,ae)!=ne}finally{M.state.suppressEdits=!1}return Ut})}function $d(M,P,ae){var le=M.getOption("configureMouse"),pe=le?le(M,P,ae):{};if(pe.unit==null){var Ve=A?ae.shiftKey&&ae.metaKey:ae.altKey;pe.unit=Ve?"rectangle":P=="single"?"char":P=="double"?"word":"line"}return(pe.extend==null||M.doc.extend)&&(pe.extend=M.doc.extend||ae.shiftKey),pe.addNew==null&&(pe.addNew=g?ae.metaKey:ae.ctrlKey),pe.moveOnDrag==null&&(pe.moveOnDrag=!(g?ae.altKey:ae.ctrlKey)),pe}function Wd(M,P,ae,le){d?setTimeout(z(ks,M),0):M.curOp.focus=K();var pe=$d(M,ae,le),Ve=M.doc.sel,yt;M.options.dragDrop&&Xt&&!M.isReadOnly()&&ae=="single"&&(yt=Ve.contains(P))>-1&&(St((yt=Ve.ranges[yt]).from(),P)<0||P.xRel>0)&&(St(yt.to(),P)>0||P.xRel<0)?zd(M,le,P,pe):Nd(M,le,P,pe)}function zd(M,P,ae,le){var pe=M.display,Ve=!1,yt=zs(M,function(fr){n&&(pe.scroller.draggable=!1),M.state.draggingText=!1,nt(pe.wrapper.ownerDocument,"mouseup",yt),nt(pe.wrapper.ownerDocument,"mousemove",Ut),nt(pe.scroller,"dragstart",sr),nt(pe.scroller,"drop",yt),Ve||(at(fr),le.addNew||Kl(M.doc,ae,null,null,le.extend),n&&!r||d&&l==9?setTimeout(function(){pe.wrapper.ownerDocument.body.focus({preventScroll:!0}),pe.input.focus()},20):pe.input.focus())}),Ut=function(xn){Ve=Ve||Math.abs(P.clientX-xn.clientX)+Math.abs(P.clientY-xn.clientY)>=10},sr=function(){return Ve=!0};n&&(pe.scroller.draggable=!0),M.state.draggingText=yt,yt.copy=!le.moveOnDrag,pe.scroller.dragDrop&&pe.scroller.dragDrop(),Pe(pe.wrapper.ownerDocument,"mouseup",yt),Pe(pe.wrapper.ownerDocument,"mousemove",Ut),Pe(pe.scroller,"dragstart",sr),Pe(pe.scroller,"drop",yt),As(M),setTimeout(function(){return pe.input.focus()},20)}function mu(M,P,ae){if(ae=="char")return new ce(P,P);if(ae=="word")return M.findWordAt(P);if(ae=="line")return new ce(qt(P.line,0),_t(M.doc,qt(P.line+1,0)));var le=ae(M,P);return new ce(le.from,le.to)}function Nd(M,P,ae,le){var pe=M.display,Ve=M.doc;at(P);var yt,Ut,sr=Ve.sel,fr=sr.ranges;if(le.addNew&&!le.extend?(Ut=Ve.sel.contains(ae),Ut>-1?yt=fr[Ut]:yt=new ce(ae,ae)):(yt=Ve.sel.primary(),Ut=Ve.sel.primIndex),le.unit=="rectangle")le.addNew||(yt=new ce(ae,ae)),ae=Ja(M,P,!0,!0),Ut=-1;else{var xn=mu(M,ae,le.unit);le.extend?yt=zl(yt,xn.anchor,xn.head,le.extend):yt=xn}le.addNew?Ut==-1?(Ut=fr.length,ll(Ve,Se(M,fr.concat([yt]),Ut),{scroll:!1,origin:"*mouse"})):fr.length>1&&fr[Ut].empty()&&le.unit=="char"&&!le.extend?(ll(Ve,Se(M,fr.slice(0,Ut).concat(fr.slice(Ut+1)),0),{scroll:!1,origin:"*mouse"}),sr=Ve.sel):Vl(Ve,Ut,yt,ie):(Ut=0,ll(Ve,new Et([yt],0),ie),sr=Ve.sel);var jn=ae;function gi(So){if(St(jn,So)==0)return;if(jn=So,le.unit=="rectangle"){for(var Do=[],xs=M.options.tabSize,os=W(Ye(Ve,ae.line).text,ae.ch,xs),js=W(Ye(Ve,So.line).text,So.ch,xs),cl=Math.min(os,js),co=Math.max(os,js),yl=Math.min(ae.line,So.line),oc=Math.min(M.lastLine(),Math.max(ae.line,So.line));yl<=oc;yl++){var jl=Ye(Ve,yl).text,sc=_e(jl,cl,xs);cl==co?Do.push(new ce(qt(yl,sc),qt(yl,sc))):jl.length>sc&&Do.push(new ce(qt(yl,sc),qt(yl,_e(jl,co,xs))))}Do.length||Do.push(new ce(ae,ae)),ll(Ve,Se(M,sr.ranges.slice(0,Ut).concat(Do),Ut),{origin:"*mouse",scroll:!1}),M.scrollIntoView(So)}else{var Zs=yt,rl=mu(M,So,le.unit),tc=Zs.anchor,lc;St(rl.anchor,tc)>0?(lc=rl.head,tc=Tt(Zs.from(),rl.anchor)):(lc=rl.anchor,tc=or(Zs.to(),rl.head));var Ml=sr.ranges.slice(0);Ml[Ut]=gd(M,new ce(_t(Ve,tc),lc)),ll(Ve,Se(M,Ml,Ut),ie)}}var Si=pe.wrapper.getBoundingClientRect(),la=0;function Ua(So){var Do=++la,xs=Ja(M,So,!0,le.unit=="rectangle");if(!xs)return;if(St(xs,jn)!=0){M.curOp.focus=K(),gi(xs);var os=_s(pe,Ve);(xs.line>=os.to||xs.line<os.from)&&setTimeout(zs(M,function(){la==Do&&Ua(So)}),150)}else{var js=So.clientY<Si.top?-20:So.clientY>Si.bottom?20:0;js&&setTimeout(zs(M,function(){if(la!=Do)return;pe.scroller.scrollTop+=js,Ua(So)}),50)}}function eo(So){M.state.selectingText=!1,la=Infinity,So&&(at(So),pe.input.focus()),nt(pe.wrapper.ownerDocument,"mousemove",no),nt(pe.wrapper.ownerDocument,"mouseup",to),Ve.history.lastSelOrigin=null}var no=zs(M,function(So){So.buttons===0||!ye(So)?eo(So):Ua(So)}),to=zs(M,eo);M.state.selectingText=to,Pe(pe.wrapper.ownerDocument,"mousemove",no),Pe(pe.wrapper.ownerDocument,"mouseup",to)}function gd(M,P){var ae=P.anchor,le=P.head,pe=Ye(M.doc,ae.line);if(St(ae,le)==0&&ae.sticky==le.sticky)return P;var Ve=gt(pe);if(!Ve)return P;var yt=Me(Ve,ae.ch,ae.sticky),Ut=Ve[yt];if(Ut.from!=ae.ch&&Ut.to!=ae.ch)return P;var sr=yt+(Ut.from==ae.ch==(Ut.level!=1)?0:1);if(sr==0||sr==Ve.length)return P;var fr;if(le.line!=ae.line)fr=(le.line-ae.line)*(M.doc.direction=="ltr"?1:-1)>0;else{var xn=Me(Ve,le.ch,le.sticky),jn=xn-yt||(le.ch-ae.ch)*(Ut.level==1?-1:1);xn==sr-1||xn==sr?fr=jn<0:fr=jn>0}var gi=Ve[sr+(fr?-1:0)],Si=fr==(gi.level==1),la=Si?gi.from:gi.to,Ua=Si?"after":"before";return ae.ch==la&&ae.sticky==Ua?P:new ce(new qt(ae.line,la,Ua),le)}function Ad(M,P,ae,le){var pe,Ve;if(P.touches)pe=P.touches[0].clientX,Ve=P.touches[0].clientY;else try{pe=P.clientX,Ve=P.clientY}catch(gi){return!1}if(pe>=Math.floor(M.display.gutters.getBoundingClientRect().right))return!1;le&&at(P);var yt=M.display,Ut=yt.lineDiv.getBoundingClientRect();if(Ve>Ut.bottom||!jt(M,ae))return ue(P);Ve-=Ut.top-yt.viewOffset;for(var sr=0;sr<M.display.gutterSpecs.length;++sr){var fr=yt.gutters.childNodes[sr];if(fr&&fr.getBoundingClientRect().right>=pe){var xn=Zr(M.doc,Ve),jn=M.display.gutterSpecs[sr];return Nt(M,ae,M,xn,jn.className,P),ue(P)}}}function Md(M,P){return Ad(M,P,"gutterClick",!0)}function Dd(M,P){if(ui(M.display,P)||ed(M,P))return;if(Bt(M,P,"contextmenu"))return;T||M.display.input.onContextMenu(P)}function ed(M,P){return jt(M,"gutterContextMenu")?Ad(M,P,"gutterContextMenu",!1):!1}function Rd(M){M.display.wrapper.className=M.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+M.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ar(M)}var gu={toString:function(){return"CodeMirror.Init"}},Nu={},Ee={};function Qe(M){var P=M.optionHandlers;function ae(le,pe,Ve,yt){M.defaults[le]=pe,Ve&&(P[le]=yt?function(Ut,sr,fr){fr!=gu&&Ve(Ut,sr,fr)}:Ve)}M.defineOption=ae,M.Init=gu,ae("value","",function(le,pe){return le.setValue(pe)},!0),ae("mode",null,function(le,pe){le.doc.modeOption=pe,yn(le)},!0),ae("indentUnit",2,yn,!0),ae("indentWithTabs",!1),ae("smartIndent",!0),ae("tabSize",4,function(le){Jn(le),ar(le),Eo(le)},!0),ae("lineSeparator",null,function(le,pe){if(le.doc.lineSep=pe,!pe)return;var Ve=[],yt=le.doc.first;le.doc.iter(function(sr){for(var fr=0;;){var xn=sr.text.indexOf(pe,fr);if(xn==-1)break;fr=xn+pe.length,Ve.push(qt(yt,xn))}yt++});for(var Ut=Ve.length-1;Ut>=0;Ut--)vc(le.doc,pe,Ve[Ut],qt(Ve[Ut].line,Ve[Ut].ch+pe.length))}),ae("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(le,pe,Ve){le.state.specialChars=new RegExp(pe.source+(pe.test(" ")?"":"| "),"g"),Ve!=gu&&le.refresh()}),ae("specialCharPlaceholder",ea,function(le){return le.refresh()},!0),ae("electricChars",!0),ae("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ae("spellcheck",!1,function(le,pe){return le.getInputField().spellcheck=pe},!0),ae("autocorrect",!1,function(le,pe){return le.getInputField().autocorrect=pe},!0),ae("autocapitalize",!1,function(le,pe){return le.getInputField().autocapitalize=pe},!0),ae("rtlMoveVisually",!w),ae("wholeLineUpdateBefore",!0),ae("theme","default",function(le){Rd(le),ac(le)},!0),ae("keyMap","default",function(le,pe,Ve){var yt=Iu(pe),Ut=Ve!=gu&&Iu(Ve);Ut&&Ut.detach&&Ut.detach(le,yt),yt.attach&&yt.attach(le,Ut||null)}),ae("extraKeys",null),ae("configureMouse",null),ae("lineWrapping",!1,Jt,!0),ae("gutters",[],function(le,pe){le.display.gutterSpecs=mc(pe,le.options.lineNumbers),ac(le)},!0),ae("fixedGutter",!0,function(le,pe){le.display.gutters.style.left=pe?To(le.display)+"px":"0",le.refresh()},!0),ae("coverGutterNextToScrollbar",!1,function(le){return Yo(le)},!0),ae("scrollbarStyle","native",function(le){Ps(le),Yo(le),le.display.scrollbars.setScrollTop(le.doc.scrollTop),le.display.scrollbars.setScrollLeft(le.doc.scrollLeft)},!0),ae("lineNumbers",!1,function(le,pe){le.display.gutterSpecs=mc(le.options.gutters,pe),ac(le)},!0),ae("firstLineNumber",1,ac,!0),ae("lineNumberFormatter",function(le){return le},ac,!0),ae("showCursorWhenSelecting",!1,qo,!0),ae("resetSelectionOnContextMenu",!0),ae("lineWiseCopyCut",!0),ae("pasteLinesPerSelection",!0),ae("selectionsMayTouch",!1),ae("readOnly",!1,function(le,pe){pe=="nocursor"&&(ys(le),le.display.input.blur()),le.display.input.readOnlyChanged(pe)}),ae("screenReaderLabel",null,function(le,pe){pe=pe===""?null:pe,le.display.input.screenReaderLabelChanged(pe)}),ae("disableInput",!1,function(le,pe){pe||le.display.input.reset()},!0),ae("dragDrop",!0,xt),ae("allowDropFileTypes",null),ae("cursorBlinkRate",530),ae("cursorScrollMargin",0),ae("cursorHeight",1,qo,!0),ae("singleCursorHeightPerLine",!0,qo,!0),ae("workTime",100),ae("workDelay",100),ae("flattenSpans",!0,Jn,!0),ae("addModeClass",!1,Jn,!0),ae("pollInterval",100),ae("undoDepth",200,function(le,pe){return le.doc.history.undoDepth=pe}),ae("historyEventDelay",1250),ae("viewportMargin",10,function(le){return le.refresh()},!0),ae("maxHighlightLength",1e4,Jn,!0),ae("moveInputWithCursor",!0,function(le,pe){pe||le.display.input.resetPosition()}),ae("tabindex",null,function(le,pe){return le.display.input.getField().tabIndex=pe||""}),ae("autofocus",null),ae("direction","ltr",function(le,pe){return le.doc.setDirection(pe)},!0),ae("phrases",null)}function xt(M,P,ae){var le=ae&&ae!=gu;if(!P!=!le){var pe=M.display.dragFunctions,Ve=P?Pe:nt;Ve(M.display.scroller,"dragstart",pe.start),Ve(M.display.scroller,"dragenter",pe.enter),Ve(M.display.scroller,"dragover",pe.over),Ve(M.display.scroller,"dragleave",pe.leave),Ve(M.display.scroller,"drop",pe.drop)}}function Jt(M){M.options.lineWrapping?(Z(M.display.wrapper,"CodeMirror-wrap"),M.display.sizer.style.minWidth="",M.display.sizerWidth=null):(S(M.display.wrapper,"CodeMirror-wrap"),Ri(M)),oo(M),Eo(M),ar(M),setTimeout(function(){return Yo(M)},100)}function Tr(M,P){var ae=this;if(!(this instanceof Tr))return new Tr(M,P);this.options=P=P?X(P):{},X(Nu,P,!1);var le=P.value;typeof le=="string"?le=new Ec(le,P.mode,null,P.lineSeparator,P.direction):P.mode&&(le.modeOption=P.mode),this.doc=le;var pe=new Tr.inputStyles[P.inputStyle](this),Ve=this.display=new Ql(M,le,pe,P);Ve.wrapper.CodeMirror=this,Rd(this),P.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ps(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 q,keySeq:null,specialChars:null},P.autofocus&&!h&&Ve.input.focus(),d&&l<11&&setTimeout(function(){return ae.display.input.reset(!0)},20),Vr(this),jd(),$o(this),this.curOp.forceUpdate=!0,Ya(this,le),P.autofocus&&!h||this.hasFocus()?setTimeout(function(){ae.hasFocus()&&!ae.state.focused&&ko(ae)},20):ys(this);for(var yt in Ee)Ee.hasOwnProperty(yt)&&Ee[yt](this,P[yt],gu);Uc(this),P.finishInit&&P.finishInit(this);for(var Ut=0;Ut<Fe.length;++Ut)Fe[Ut](this);Sl(this),n&&P.lineWrapping&&getComputedStyle(Ve.lineDiv).textRendering=="optimizelegibility"&&(Ve.lineDiv.style.textRendering="auto")}Tr.defaults=Nu,Tr.optionHandlers=Ee;function Vr(M){var P=M.display;Pe(P.scroller,"mousedown",zs(M,zu)),d&&l<11?Pe(P.scroller,"dblclick",zs(M,function(sr){if(Bt(M,sr))return;var fr=Ja(M,sr);if(!fr||Md(M,sr)||ui(M.display,sr))return;at(sr);var xn=M.findWordAt(fr);Kl(M.doc,xn.anchor,xn.head)})):Pe(P.scroller,"dblclick",function(sr){return Bt(M,sr)||at(sr)}),Pe(P.scroller,"contextmenu",function(sr){return Dd(M,sr)}),Pe(P.input.getField(),"contextmenu",function(sr){P.scroller.contains(sr.target)||Dd(M,sr)});var ae,le={end:0};function pe(){P.activeTouch&&(ae=setTimeout(function(){return P.activeTouch=null},1e3),le=P.activeTouch,le.end=+new Date)}function Ve(sr){if(sr.touches.length!=1)return!1;var fr=sr.touches[0];return fr.radiusX<=1&&fr.radiusY<=1}function yt(sr,fr){if(fr.left==null)return!0;var xn=fr.left-sr.left,jn=fr.top-sr.top;return xn*xn+jn*jn>20*20}Pe(P.scroller,"touchstart",function(sr){if(!Bt(M,sr)&&!Ve(sr)&&!Md(M,sr)){P.input.ensurePolled(),clearTimeout(ae);var fr=+new Date;P.activeTouch={start:fr,moved:!1,prev:fr-le.end<=300?le:null},sr.touches.length==1&&(P.activeTouch.left=sr.touches[0].pageX,P.activeTouch.top=sr.touches[0].pageY)}}),Pe(P.scroller,"touchmove",function(){P.activeTouch&&(P.activeTouch.moved=!0)}),Pe(P.scroller,"touchend",function(sr){var fr=P.activeTouch;if(fr&&!ui(P,sr)&&fr.left!=null&&!fr.moved&&new Date-fr.start<300){var xn=M.coordsChar(P.activeTouch,"page"),jn;!fr.prev||yt(fr,fr.prev)?jn=new ce(xn,xn):!fr.prev.prev||yt(fr,fr.prev.prev)?jn=M.findWordAt(xn):jn=new ce(qt(xn.line,0),_t(M.doc,qt(xn.line+1,0))),M.setSelection(jn.anchor,jn.head),M.focus(),at(sr)}pe()}),Pe(P.scroller,"touchcancel",pe),Pe(P.scroller,"scroll",function(){P.scroller.clientHeight&&(Go(M,P.scroller.scrollTop),ul(M,P.scroller.scrollLeft,!0),Nt(M,"scroll",M))}),Pe(P.scroller,"mousewheel",function(sr){return ci(M,sr)}),Pe(P.scroller,"DOMMouseScroll",function(sr){return ci(M,sr)}),Pe(P.wrapper,"scroll",function(){return P.wrapper.scrollTop=P.wrapper.scrollLeft=0}),P.dragFunctions={enter:function(fr){Bt(M,fr)||Dt(fr)},over:function(fr){Bt(M,fr)||(sd(M,fr),Dt(fr))},start:function(fr){return Fu(M,fr)},drop:zs(M,Bc),leave:function(fr){Bt(M,fr)||ld(M)}};var Ut=P.input.getField();Pe(Ut,"keyup",function(sr){return md.call(M,sr)}),Pe(Ut,"keydown",zs(M,Zu)),Pe(Ut,"keypress",zs(M,Ju)),Pe(Ut,"focus",function(sr){return ko(M,sr)}),Pe(Ut,"blur",function(sr){return ys(M,sr)})}var Fe=[];Tr.defineInitHook=function(M){return Fe.push(M)};function se(M,P,ae,le){var pe=M.doc,Ve;ae==null&&(ae="add"),ae=="smart"&&(pe.mode.indent?Ve=ni(M,P).state:ae="prev");var yt=M.options.tabSize,Ut=Ye(pe,P),sr=W(Ut.text,null,yt);Ut.stateAfter&&(Ut.stateAfter=null);var fr=Ut.text.match(/^\s*/)[0],xn;if(!le&&!/\S/.test(Ut.text))xn=0,ae="not";else if(ae=="smart"&&(xn=pe.mode.indent(Ve,Ut.text.slice(fr.length),Ut.text),xn==ne||xn>150)){if(!le)return;ae="prev"}ae=="prev"?P>pe.first?xn=W(Ye(pe,P-1).text,null,yt):xn=0:ae=="add"?xn=sr+M.options.indentUnit:ae=="subtract"?xn=sr-M.options.indentUnit:typeof ae=="number"&&(xn=sr+ae),xn=Math.max(0,xn);var jn="",gi=0;if(M.options.indentWithTabs)for(var Si=Math.floor(xn/yt);Si;--Si)gi+=yt,jn+=" ";if(gi<xn&&(jn+=We(xn-gi)),jn!=fr)return vc(pe,jn,qt(P,0),qt(P,fr.length),"+input"),Ut.stateAfter=null,!0;for(var la=0;la<pe.sel.ranges.length;la++){var Ua=pe.sel.ranges[la];if(Ua.head.line==P&&Ua.head.ch<fr.length){var eo=qt(P,fr.length);Vl(pe,la,new ce(eo,eo));break}}}var Ie=null;function Je(M){Ie=M}function pt(M,P,ae,le,pe){var Ve=M.doc;M.display.shift=!1,le||(le=Ve.sel);var yt=+new Date-200,Ut=pe=="paste"||M.state.pasteIncoming>yt,sr=gn(P),fr=null;if(Ut&&le.ranges.length>1)if(Ie&&Ie.text.join(`
|
|
|
`)==P){if(le.ranges.length%Ie.text.length==0){fr=[];for(var xn=0;xn<Ie.text.length;xn++)fr.push(Ve.splitLines(Ie.text[xn]))}}else sr.length==le.ranges.length&&M.options.pasteLinesPerSelection&&(fr=je(sr,function(no){return[no]}));for(var jn=M.curOp.updateInput,gi=le.ranges.length-1;gi>=0;gi--){var Si=le.ranges[gi],la=Si.from(),Ua=Si.to();Si.empty()&&(ae&&ae>0?la=qt(la.line,la.ch-ae):M.state.overwrite&&!Ut?Ua=qt(Ua.line,Math.min(Ye(Ve,Ua.line).text.length,Ua.ch+Ae(sr).length)):Ut&&Ie&&Ie.lineWise&&Ie.text.join(`
|
|
|
`)==sr.join(`
|
|
|
`)&&(la=Ua=qt(la.line,0)));var eo={from:la,to:Ua,text:fr?fr[gi%fr.length]:sr,origin:pe||(Ut?"paste":M.state.cutIncoming>yt?"cut":"+input")};wc(M.doc,eo),tr(M,"inputRead",M,eo)}P&&!Ut&&Wt(M,P),vs(M),M.curOp.updateInput<2&&(M.curOp.updateInput=jn),M.curOp.typing=!0,M.state.pasteIncoming=M.state.cutIncoming=-1}function kt(M,P){var ae=M.clipboardData&&M.clipboardData.getData("Text");if(ae)return M.preventDefault(),!P.isReadOnly()&&!P.options.disableInput&&Al(P,function(){return pt(P,ae,0,null,"paste")}),!0}function Wt(M,P){if(!M.options.electricChars||!M.options.smartIndent)return;for(var ae=M.doc.sel,le=ae.ranges.length-1;le>=0;le--){var pe=ae.ranges[le];if(pe.head.ch>100||le&&ae.ranges[le-1].head.line==pe.head.line)continue;var Ve=M.getModeAt(pe.head),yt=!1;if(Ve.electricChars){for(var Ut=0;Ut<Ve.electricChars.length;Ut++)if(P.indexOf(Ve.electricChars.charAt(Ut))>-1){yt=se(M,pe.head.line,"smart");break}}else Ve.electricInput&&(Ve.electricInput.test(Ye(M.doc,pe.head.line).text.slice(0,pe.head.ch))&&(yt=se(M,pe.head.line,"smart")));yt&&tr(M,"electricInput",M,pe.head.line)}}function Kt(M){for(var P=[],ae=[],le=0;le<M.doc.sel.ranges.length;le++){var pe=M.doc.sel.ranges[le].head.line,Ve={anchor:qt(pe,0),head:qt(pe+1,0)};ae.push(Ve),P.push(M.getRange(Ve.anchor,Ve.head))}return{text:P,ranges:ae}}function Mr(M,P,ae,le){M.setAttribute("autocorrect",ae?"":"off"),M.setAttribute("autocapitalize",le?"":"off"),M.setAttribute("spellcheck",!!P)}function Kr(){var M=D("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),P=D("div",[M],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return n?M.style.width="1000px":M.setAttribute("wrap","off"),o&&(M.style.border="1px solid black"),Mr(M),P}function Ir(M){var P=M.optionHandlers,ae=M.helpers={};M.prototype={constructor:M,focus:function(){window.focus(),this.display.input.focus()},setOption:function(pe,Ve){var yt=this.options,Ut=yt[pe];if(yt[pe]==Ve&&pe!="mode")return;yt[pe]=Ve,P.hasOwnProperty(pe)&&zs(this,P[pe])(this,Ve,Ut),Nt(this,"optionChange",this,pe)},getOption:function(pe){return this.options[pe]},getDoc:function(){return this.doc},addKeyMap:function(pe,Ve){this.state.keyMaps[Ve?"push":"unshift"](Iu(pe))},removeKeyMap:function(pe){for(var Ve=this.state.keyMaps,yt=0;yt<Ve.length;++yt)if(Ve[yt]==pe||Ve[yt].name==pe)return Ve.splice(yt,1),!0},addOverlay:Tl(function(le,pe){var Ve=le.token?le:M.getMode(this.options,le);if(Ve.startState)throw new Error("Overlays may not be stateful.");ee(this.state.overlays,{mode:Ve,modeSpec:le,opaque:pe&&pe.opaque,priority:pe&&pe.priority||0},function(yt){return yt.priority}),this.state.modeGen++,Eo(this)}),removeOverlay:Tl(function(le){for(var pe=this.state.overlays,Ve=0;Ve<pe.length;++Ve){var yt=pe[Ve].modeSpec;if(yt==le||typeof le=="string"&&yt.name==le){pe.splice(Ve,1),this.state.modeGen++,Eo(this);return}}}),indentLine:Tl(function(le,pe,Ve){typeof pe!="string"&&typeof pe!="number"&&(pe==null?pe=this.options.smartIndent?"smart":"prev":pe=pe?"add":"subtract"),nn(this.doc,le)&&se(this,le,pe,Ve)}),indentSelection:Tl(function(le){for(var pe=this.doc.sel.ranges,Ve=-1,yt=0;yt<pe.length;yt++){var Ut=pe[yt];if(Ut.empty())Ut.head.line>Ve&&(se(this,Ut.head.line,le,!0),Ve=Ut.head.line,yt==this.doc.sel.primIndex&&vs(this));else{var sr=Ut.from(),fr=Ut.to(),xn=Math.max(Ve,sr.line);Ve=Math.min(this.lastLine(),fr.line-(fr.ch?0:1))+1;for(var jn=xn;jn<Ve;++jn)se(this,jn,le);var gi=this.doc.sel.ranges;sr.ch==0&&pe.length==gi.length&&gi[yt].from().ch>0&&Vl(this.doc,yt,new ce(sr,gi[yt].to()),we)}}}),getTokenAt:function(pe,Ve){return Ra(this,pe,Ve)},getLineTokens:function(pe,Ve){return Ra(this,qt(pe),Ve,!0)},getTokenTypeAt:function(pe){pe=_t(this.doc,pe);var Ve=fn(this,Ye(this.doc,pe.line)),yt=0,Ut=(Ve.length-1)/2,sr=pe.ch,fr;if(sr==0)fr=Ve[2];else for(;;){var xn=yt+Ut>>1;if((xn?Ve[xn*2-1]:0)>=sr)Ut=xn;else if(Ve[xn*2+1]<sr)yt=xn+1;else{fr=Ve[xn*2+2];break}}var jn=fr?fr.indexOf("overlay "):-1;return jn<0?fr:jn==0?null:fr.slice(0,jn-1)},getModeAt:function(pe){var Ve=this.doc.mode;return Ve.innerMode?M.innerMode(Ve,this.getTokenAt(pe).state).mode:Ve},getHelper:function(pe,Ve){return this.getHelpers(pe,Ve)[0]},getHelpers:function(pe,Ve){var yt=[];if(!ae.hasOwnProperty(Ve))return yt;var Ut=ae[Ve],sr=this.getModeAt(pe);if(typeof sr[Ve]=="string")Ut[sr[Ve]]&&yt.push(Ut[sr[Ve]]);else if(sr[Ve])for(var fr=0;fr<sr[Ve].length;fr++){var xn=Ut[sr[Ve][fr]];xn&&yt.push(xn)}else sr.helperType&&Ut[sr.helperType]?yt.push(Ut[sr.helperType]):Ut[sr.name]&&yt.push(Ut[sr.name]);for(var jn=0;jn<Ut._global.length;jn++){var gi=Ut._global[jn];gi.pred(sr,this)&&Y(yt,gi.val)==-1&&yt.push(gi.val)}return yt},getStateAfter:function(pe,Ve){var yt=this.doc;return pe=Rt(yt,pe==null?yt.first+yt.size-1:pe),ni(this,pe+1,Ve).state},cursorCoords:function(pe,Ve){var yt,Ut=this.doc.sel.primary();return pe==null?yt=Ut.head:typeof pe=="object"?yt=_t(this.doc,pe):yt=pe?Ut.from():Ut.to(),Qn(this,yt,Ve||"page")},charCoords:function(pe,Ve){return Ln(this,_t(this.doc,pe),Ve||"page")},coordsChar:function(pe,Ve){return pe=Hn(this,pe,Ve||"page"),Ui(this,pe.left,pe.top)},lineAtHeight:function(pe,Ve){return pe=Hn(this,{top:pe,left:0},Ve||"page").top,Zr(this.doc,pe+this.display.viewOffset)},heightAtLine:function(pe,Ve,yt){var Ut=!1,sr;if(typeof pe=="number"){var fr=this.doc.first+this.doc.size-1;pe<this.doc.first?pe=this.doc.first:pe>fr&&(pe=fr,Ut=!0),sr=Ye(this.doc,pe)}else sr=pe;return sn(this,sr,{top:0,left:0},Ve||"page",yt||Ut).top+(Ut?this.doc.height-Ti(sr):0)},defaultTextHeight:function(){return Ma(this.display)},defaultCharWidth:function(){return uo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(pe,Ve,yt,Ut,sr){var fr=this.display;pe=Qn(this,_t(this.doc,pe));var xn=pe.bottom,jn=pe.left;if(Ve.style.position="absolute",Ve.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Ve),fr.sizer.appendChild(Ve),Ut=="over")xn=pe.top;else if(Ut=="above"||Ut=="near"){var gi=Math.max(fr.wrapper.clientHeight,this.doc.height),Si=Math.max(fr.sizer.clientWidth,fr.lineSpace.clientWidth);(Ut=="above"||pe.bottom+Ve.offsetHeight>gi)&&pe.top>Ve.offsetHeight?xn=pe.top-Ve.offsetHeight:pe.bottom+Ve.offsetHeight<=gi&&(xn=pe.bottom),jn+Ve.offsetWidth>Si&&(jn=Si-Ve.offsetWidth)}Ve.style.top=xn+"px",Ve.style.left=Ve.style.right="",sr=="right"?(jn=fr.sizer.clientWidth-Ve.offsetWidth,Ve.style.right="0px"):(sr=="left"?jn=0:sr=="middle"&&(jn=(fr.sizer.clientWidth-Ve.offsetWidth)/2),Ve.style.left=jn+"px"),yt&&Ms(this,{left:jn,top:xn,right:jn+Ve.offsetWidth,bottom:xn+Ve.offsetHeight})},triggerOnKeyDown:Tl(Zu),triggerOnKeyPress:Tl(Ju),triggerOnKeyUp:md,triggerOnMouseDown:Tl(zu),execCommand:function(pe){if(Hu.hasOwnProperty(pe))return Hu[pe].call(null,this)},triggerElectric:Tl(function(le){Wt(this,le)}),findPosH:function(pe,Ve,yt,Ut){var sr=1;Ve<0&&(sr=-1,Ve=-Ve);for(var fr=_t(this.doc,pe),xn=0;xn<Ve&&!(fr=Er(this.doc,fr,sr,yt,Ut),fr.hitSide);++xn);return fr},moveH:Tl(function(le,pe){var Ve=this;this.extendSelectionsBy(function(yt){return Ve.display.shift||Ve.doc.extend||yt.empty()?Er(Ve.doc,yt.head,le,pe,Ve.options.rtlMoveVisually):le<0?yt.from():yt.to()},me)}),deleteH:Tl(function(le,pe){var Ve=this.doc.sel,yt=this.doc;Ve.somethingSelected()?yt.replaceSelection("",null,"+delete"):pu(this,function(Ut){var sr=Er(yt,Ut.head,le,pe,!1);return le<0?{from:sr,to:Ut.head}:{from:Ut.head,to:sr}})}),findPosV:function(pe,Ve,yt,Ut){var sr=1,fr=Ut;Ve<0&&(sr=-1,Ve=-Ve);for(var xn=_t(this.doc,pe),jn=0;jn<Ve;++jn){var gi=Qn(this,xn,"div");if(fr==null?fr=gi.left:gi.left=fr,xn=zr(this,gi,sr,yt),xn.hitSide)break}return xn},moveV:Tl(function(le,pe){var Ve=this,yt=this.doc,Ut=[],sr=!this.display.shift&&!yt.extend&&yt.sel.somethingSelected();if(yt.extendSelectionsBy(function(xn){if(sr)return le<0?xn.from():xn.to();var jn=Qn(Ve,xn.head,"div");xn.goalColumn!=null&&(jn.left=xn.goalColumn),Ut.push(jn.left);var gi=zr(Ve,jn,le,pe);return pe=="page"&&xn==yt.sel.primary()&&as(Ve,Ln(Ve,gi,"div").top-jn.top),gi},me),Ut.length)for(var fr=0;fr<yt.sel.ranges.length;fr++)yt.sel.ranges[fr].goalColumn=Ut[fr]}),findWordAt:function(pe){var Ve=this.doc,yt=Ye(Ve,pe.line).text,Ut=pe.ch,sr=pe.ch;if(yt){var fr=this.getHelper(pe,"wordChars");(pe.sticky=="before"||sr==yt.length)&&Ut?--Ut:++sr;for(var xn=yt.charAt(Ut),jn=G(xn,fr)?function(gi){return G(gi,fr)}:/\s/.test(xn)?function(gi){return/\s/.test(gi)}:function(gi){return!/\s/.test(gi)&&!G(gi)};Ut>0&&jn(yt.charAt(Ut-1));)--Ut;for(;sr<yt.length&&jn(yt.charAt(sr));)++sr}return new ce(qt(pe.line,Ut),qt(pe.line,sr))},toggleOverwrite:function(pe){if(pe!=null&&pe==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?Z(this.display.cursorDiv,"CodeMirror-overwrite"):S(this.display.cursorDiv,"CodeMirror-overwrite"),Nt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==K()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Tl(function(le,pe){Ho(this,le,pe)}),getScrollInfo:function(){var pe=this.display.scroller;return{left:pe.scrollLeft,top:pe.scrollTop,height:pe.scrollHeight-Ci(this)-this.display.barHeight,width:pe.scrollWidth-Ci(this)-this.display.barWidth,clientHeight:Pi(this),clientWidth:Mi(this)}},scrollIntoView:Tl(function(le,pe){le==null?(le={from:this.doc.sel.primary().head,to:null},pe==null&&(pe=this.options.cursorScrollMargin)):typeof le=="number"?le={from:qt(le,0),to:null}:le.from==null&&(le={from:le,to:null}),le.to||(le.to=le.from),le.margin=pe||0,le.from.line!=null?Ns(this,le):ka(this,le.from,le.to,le.margin)}),setSize:Tl(function(le,pe){var Ve=this,yt=function(fr){return typeof fr=="number"||/^\d+$/.test(String(fr))?fr+"px":fr};le!=null&&(this.display.wrapper.style.width=yt(le)),pe!=null&&(this.display.wrapper.style.height=yt(pe)),this.options.lineWrapping&&Jr(this);var Ut=this.display.viewFrom;this.doc.iter(Ut,this.display.viewTo,function(sr){if(sr.widgets){for(var fr=0;fr<sr.widgets.length;fr++)if(sr.widgets[fr].noHScroll){Ea(Ve,Ut,"widget");break}}++Ut}),this.curOp.forceUpdate=!0,Nt(this,"refresh",this)}),operation:function(pe){return Al(this,pe)},startOperation:function(){return $o(this)},endOperation:function(){return Sl(this)},refresh:Tl(function(){var le=this.display.cachedTextHeight;Eo(this),this.curOp.forceUpdate=!0,ar(this),Ho(this,this.doc.scrollLeft,this.doc.scrollTop),ol(this.display),(le==null||Math.abs(le-Ma(this.display))>.5||this.options.lineWrapping)&&oo(this),Nt(this,"refresh",this)}),swapDoc:Tl(function(le){var pe=this.doc;return pe.cm=null,this.state.selectingText&&this.state.selectingText(),Ya(this,le),ar(this),this.display.input.reset(),Ho(this,le.scrollLeft,le.scrollTop),this.curOp.forceScroll=!0,tr(this,"swapDoc",this,pe),pe}),phrase:function(pe){var Ve=this.options.phrases;return Ve&&Object.prototype.hasOwnProperty.call(Ve,pe)?Ve[pe]:pe},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}},er(M),M.registerHelper=function(le,pe,Ve){ae.hasOwnProperty(le)||(ae[le]=M[le]={_global:[]}),ae[le][pe]=Ve},M.registerGlobalHelper=function(le,pe,Ve,yt){M.registerHelper(le,pe,yt),ae[le]._global.push({pred:Ve,val:yt})}}function Er(M,P,ae,le,pe){var Ve=P,yt=ae,Ut=Ye(M,P.line),sr=pe&&M.direction=="rtl"?-ae:ae;function fr(){var to=P.line+sr;return to<M.first||to>=M.first+M.size?!1:(P=new qt(to,P.ch,P.sticky),Ut=Ye(M,to))}function xn(to){var So;if(le=="codepoint"){var Do=Ut.text.charCodeAt(P.ch+(le>0?0:-1));isNaN(Do)?So=null:So=new qt(P.line,Math.max(0,Math.min(Ut.text.length,P.ch+ae*(Do>=55296&&Do<56320?2:1))),-ae)}else pe?So=dd(M.cm,Ut,P,ae):So=Id(Ut,P,ae);if(So==null)if(!to&&fr())P=ud(pe,M.cm,Ut,P.line,sr);else return!1;else P=So;return!0}if(le=="char"||le=="codepoint")xn();else if(le=="column")xn(!0);else if(le=="word"||le=="group")for(var jn=null,gi=le=="group",Si=M.cm&&M.cm.getHelper(P,"wordChars"),la=!0;!(ae<0&&!xn(!la));la=!1){var Ua=Ut.text.charAt(P.ch)||`
|
|
|
`,eo=G(Ua,Si)?"w":gi&&Ua==`
|
|
|
`?"n":!gi||/\s/.test(Ua)?null:"p";if(gi&&!la&&!eo&&(eo="s"),jn&&jn!=eo){ae<0&&(ae=1,xn(),P.sticky="after");break}if(eo&&(jn=eo),ae>0&&!xn(!la))break}var no=Ac(M,P,Ve,yt,!0);return At(Ve,no)&&(no.hitSide=!0),no}function zr(M,P,ae,le){var pe=M.doc,Ve=P.left,yt;if(le=="page"){var Ut=Math.min(M.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),sr=Math.max(Ut-.5*Ma(M.display),3);yt=(ae>0?P.bottom:P.top)+ae*sr}else le=="line"&&(yt=ae>0?P.bottom+3:P.top-3);for(var fr;!(fr=Ui(M,Ve,yt),!fr.outside);){if(ae<0?yt<=0:yt>=pe.height){fr.hitSide=!0;break}yt+=ae*5}return fr}var qr=function(P){this.cm=P,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new q,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};qr.prototype.init=function(M){var P=this,ae=this,le=ae.cm,pe=ae.div=M.lineDiv;Mr(pe,le.options.spellcheck,le.options.autocorrect,le.options.autocapitalize);function Ve(Ut){for(var sr=Ut.target;sr;sr=sr.parentNode){if(sr==pe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(sr.className))break}return!1}Pe(pe,"paste",function(Ut){if(!Ve(Ut)||Bt(le,Ut)||kt(Ut,le))return;l<=11&&setTimeout(zs(le,function(){return P.updateFromDOM()}),20)}),Pe(pe,"compositionstart",function(Ut){P.composing={data:Ut.data,done:!1}}),Pe(pe,"compositionupdate",function(Ut){P.composing||(P.composing={data:Ut.data,done:!1})}),Pe(pe,"compositionend",function(Ut){P.composing&&(Ut.data!=P.composing.data&&P.readFromDOMSoon(),P.composing.done=!0)}),Pe(pe,"touchstart",function(){return ae.forceCompositionEnd()}),Pe(pe,"input",function(){P.composing||P.readFromDOMSoon()});function yt(Ut){if(!Ve(Ut)||Bt(le,Ut))return;if(le.somethingSelected())Je({lineWise:!1,text:le.getSelections()}),Ut.type=="cut"&&le.replaceSelection("",null,"cut");else if(le.options.lineWiseCopyCut){var sr=Kt(le);Je({lineWise:!0,text:sr.text}),Ut.type=="cut"&&le.operation(function(){le.setSelections(sr.ranges,0,we),le.replaceSelection("",null,"cut")})}else return;if(Ut.clipboardData){Ut.clipboardData.clearData();var fr=Ie.text.join(`
|
|
|
`);if(Ut.clipboardData.setData("Text",fr),Ut.clipboardData.getData("Text")==fr){Ut.preventDefault();return}}var xn=Kr(),jn=xn.firstChild;le.display.lineSpace.insertBefore(xn,le.display.lineSpace.firstChild),jn.value=Ie.text.join(`
|
|
|
`);var gi=document.activeElement;V(jn),setTimeout(function(){le.display.lineSpace.removeChild(xn),gi.focus(),gi==pe&&ae.showPrimarySelection()},50)}Pe(pe,"copy",yt),Pe(pe,"cut",yt)},qr.prototype.screenReaderLabelChanged=function(M){M?this.div.setAttribute("aria-label",M):this.div.removeAttribute("aria-label")},qr.prototype.prepareSelection=function(){var M=cs(this.cm,!1);return M.focus=document.activeElement==this.div,M},qr.prototype.showSelection=function(M,P){if(!M||!this.cm.display.view.length)return;(M.focus||P)&&this.showPrimarySelection(),this.showMultipleSelections(M)},qr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},qr.prototype.showPrimarySelection=function(){var M=this.getSelection(),P=this.cm,ae=P.doc.sel.primary(),le=ae.from(),pe=ae.to();if(P.display.viewTo==P.display.viewFrom||le.line>=P.display.viewTo||pe.line<P.display.viewFrom){M.removeAllRanges();return}var Ve=ta(P,M.anchorNode,M.anchorOffset),yt=ta(P,M.focusNode,M.focusOffset);if(Ve&&!Ve.bad&&yt&&!yt.bad&&St(Tt(Ve,yt),le)==0&&St(or(Ve,yt),pe)==0)return;var Ut=P.display.view,sr=le.line>=P.display.viewFrom&&Nn(P,le)||{node:Ut[0].measure.map[2],offset:0},fr=pe.line<P.display.viewTo&&Nn(P,pe);if(!fr){var xn=Ut[Ut.length-1].measure,jn=xn.maps?xn.maps[xn.maps.length-1]:xn.map;fr={node:jn[jn.length-1],offset:jn[jn.length-2]-jn[jn.length-3]}}if(!sr||!fr){M.removeAllRanges();return}var gi=M.rangeCount&&M.getRangeAt(0),Si;try{Si=j(sr.node,sr.offset,fr.offset,fr.node)}catch(la){}Si&&(!E&&P.state.focused?(M.collapse(sr.node,sr.offset),Si.collapsed||(M.removeAllRanges(),M.addRange(Si))):(M.removeAllRanges(),M.addRange(Si)),gi&&M.anchorNode==null?M.addRange(gi):E&&this.startGracePeriod()),this.rememberSelection()},qr.prototype.startGracePeriod=function(){var M=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){M.gracePeriod=!1,M.selectionChanged()&&M.cm.operation(function(){return M.cm.curOp.selectionChanged=!0})},20)},qr.prototype.showMultipleSelections=function(M){L(this.cm.display.cursorDiv,M.cursors),L(this.cm.display.selectionDiv,M.selection)},qr.prototype.rememberSelection=function(){var M=this.getSelection();this.lastAnchorNode=M.anchorNode,this.lastAnchorOffset=M.anchorOffset,this.lastFocusNode=M.focusNode,this.lastFocusOffset=M.focusOffset},qr.prototype.selectionInEditor=function(){var M=this.getSelection();if(!M.rangeCount)return!1;var P=M.getRangeAt(0).commonAncestorContainer;return k(this.div,P)},qr.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},qr.prototype.blur=function(){this.div.blur()},qr.prototype.getField=function(){return this.div},qr.prototype.supportsTouch=function(){return!0},qr.prototype.receivedFocus=function(){var M=this;this.selectionInEditor()?this.pollSelection():Al(this.cm,function(){return M.cm.curOp.selectionChanged=!0});function P(){M.cm.state.focused&&(M.pollSelection(),M.polling.set(M.cm.options.pollInterval,P))}this.polling.set(this.cm.options.pollInterval,P)},qr.prototype.selectionChanged=function(){var M=this.getSelection();return M.anchorNode!=this.lastAnchorNode||M.anchorOffset!=this.lastAnchorOffset||M.focusNode!=this.lastFocusNode||M.focusOffset!=this.lastFocusOffset},qr.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var M=this.getSelection(),P=this.cm;if(u&&a&&this.cm.display.gutterSpecs.length&&wi(M.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var ae=ta(P,M.anchorNode,M.anchorOffset),le=ta(P,M.focusNode,M.focusOffset);ae&&le&&Al(P,function(){ll(P.doc,Oe(ae,le),we),(ae.bad||le.bad)&&(P.curOp.selectionChanged=!0)})},qr.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var M=this.cm,P=M.display,ae=M.doc.sel.primary(),le=ae.from(),pe=ae.to();if(le.ch==0&&le.line>M.firstLine()&&(le=qt(le.line-1,Ye(M.doc,le.line-1).length)),pe.ch==Ye(M.doc,pe.line).text.length&&pe.line<M.lastLine()&&(pe=qt(pe.line+1,0)),le.line<P.viewFrom||pe.line>P.viewTo-1)return!1;var Ve,yt,Ut;le.line==P.viewFrom||(Ve=zo(M,le.line))==0?(yt=rr(P.view[0].line),Ut=P.view[0].node):(yt=rr(P.view[Ve].line),Ut=P.view[Ve-1].node.nextSibling);var sr=zo(M,pe.line),fr,xn;if(sr==P.view.length-1?(fr=P.viewTo-1,xn=P.lineDiv.lastChild):(fr=rr(P.view[sr+1].line)-1,xn=P.view[sr+1].node.previousSibling),!Ut)return!1;for(var jn=M.doc.splitLines(Oa(M,Ut,xn,yt,fr)),gi=ft(M.doc,qt(yt,0),qt(fr,Ye(M.doc,fr).text.length));jn.length>1&&gi.length>1;)if(Ae(jn)==Ae(gi))jn.pop(),gi.pop(),fr--;else if(jn[0]==gi[0])jn.shift(),gi.shift(),yt++;else break;for(var Si=0,la=0,Ua=jn[0],eo=gi[0],no=Math.min(Ua.length,eo.length);Si<no&&Ua.charCodeAt(Si)==eo.charCodeAt(Si);)++Si;for(var to=Ae(jn),So=Ae(gi),Do=Math.min(to.length-(jn.length==1?Si:0),So.length-(gi.length==1?Si:0));la<Do&&to.charCodeAt(to.length-la-1)==So.charCodeAt(So.length-la-1);)++la;if(jn.length==1&&gi.length==1&&yt==le.line)for(;Si&&Si>le.ch&&to.charCodeAt(to.length-la-1)==So.charCodeAt(So.length-la-1);)Si--,la++;jn[jn.length-1]=to.slice(0,to.length-la).replace(/^\u200b+/,""),jn[0]=jn[0].slice(Si).replace(/\u200b+$/,"");var xs=qt(yt,Si),os=qt(fr,gi.length?Ae(gi).length-la:0);if(jn.length>1||jn[0]||St(xs,os))return vc(M.doc,jn,xs,os,"+input"),!0},qr.prototype.ensurePolled=function(){this.forceCompositionEnd()},qr.prototype.reset=function(){this.forceCompositionEnd()},qr.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},qr.prototype.readFromDOMSoon=function(){var M=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(M.readDOMTimeout=null,M.composing)if(M.composing.done)M.composing=null;else return;M.updateFromDOM()},80)},qr.prototype.updateFromDOM=function(){var M=this;(this.cm.isReadOnly()||!this.pollContent())&&Al(this.cm,function(){return Eo(M.cm)})},qr.prototype.setUneditable=function(M){M.contentEditable="false"},qr.prototype.onKeyPress=function(M){if(M.charCode==0||this.composing)return;M.preventDefault(),this.cm.isReadOnly()||zs(this.cm,pt)(this.cm,String.fromCharCode(M.charCode==null?M.keyCode:M.charCode),0)},qr.prototype.readOnlyChanged=function(M){this.div.contentEditable=String(M!="nocursor")},qr.prototype.onContextMenu=function(){},qr.prototype.resetPosition=function(){},qr.prototype.needsContentAttribute=!0;function Nn(M,P){var ae=ya(M,P.line);if(!ae||ae.hidden)return null;var le=Ye(M.doc,P.line),pe=sa(ae,le,P.line),Ve=gt(le,M.doc.direction),yt="left";if(Ve){var Ut=Me(Ve,P.ch);yt=Ut%2?"right":"left"}var sr=Aa(pe.map,P.ch,yt);return sr.offset=sr.collapse=="right"?sr.end:sr.start,sr}function wi(M){for(var P=M;P;P=P.parentNode)if(/CodeMirror-gutter-wrapper/.test(P.className))return!0;return!1}function Ki(M,P){return P&&(M.bad=!0),M}function Oa(M,P,ae,le,pe){var Ve="",yt=!1,Ut=M.doc.lineSeparator(),sr=!1;function fr(Si){return function(la){return la.id==Si}}function xn(){yt&&(Ve+=Ut,sr&&(Ve+=Ut),yt=sr=!1)}function jn(Si){Si&&(xn(),Ve+=Si)}function gi(Si){if(Si.nodeType==1){var la=Si.getAttribute("cm-text");if(la){jn(la);return}var Ua=Si.getAttribute("cm-marker"),eo;if(Ua){var no=M.findMarks(qt(le,0),qt(pe+1,0),fr(+Ua));no.length&&(eo=no[0].find(0))&&jn(ft(M.doc,eo.from,eo.to).join(Ut));return}if(Si.getAttribute("contenteditable")=="false")return;var to=/^(pre|div|p|li|table|br)$/i.test(Si.nodeName);if(!/^br$/i.test(Si.nodeName)&&Si.textContent.length==0)return;to&&xn();for(var So=0;So<Si.childNodes.length;So++)gi(Si.childNodes[So]);/^(pre|p)$/i.test(Si.nodeName)&&(sr=!0),to&&(yt=!0)}else Si.nodeType==3&&jn(Si.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(gi(P),P==ae);)P=P.nextSibling,sr=!1;return Ve}function ta(M,P,ae){var le;if(P==M.display.lineDiv){if(le=M.display.lineDiv.childNodes[ae],!le)return Ki(M.clipPos(qt(M.display.viewTo-1)),!0);P=null,ae=0}else for(le=P;;le=le.parentNode){if(!le||le==M.display.lineDiv)return null;if(le.parentNode&&le.parentNode==M.display.lineDiv)break}for(var pe=0;pe<M.display.view.length;pe++){var Ve=M.display.view[pe];if(Ve.node==le)return _o(Ve,P,ae)}}function _o(M,P,ae){var le=M.text.firstChild,pe=!1;if(!P||!k(le,P))return Ki(qt(rr(M.line),0),!0);if(P==le&&(pe=!0,P=le.childNodes[ae],ae=0,!P)){var Ve=M.rest?Ae(M.rest):M.line;return Ki(qt(rr(Ve),Ve.text.length),pe)}var yt=P.nodeType==3?P:null,Ut=P;for(!yt&&P.childNodes.length==1&&P.firstChild.nodeType==3&&(yt=P.firstChild,ae&&(ae=yt.nodeValue.length));Ut.parentNode!=le;)Ut=Ut.parentNode;var sr=M.measure,fr=sr.maps;function xn(eo,no,to){for(var So=-1;So<(fr?fr.length:0);So++)for(var Do=So<0?sr.map:fr[So],xs=0;xs<Do.length;xs+=3){var os=Do[xs+2];if(os==eo||os==no){var js=rr(So<0?M.line:M.rest[So]),cl=Do[xs]+to;return(to<0||os!=eo)&&(cl=Do[xs+(to?1:0)]),qt(js,cl)}}}var jn=xn(yt,Ut,ae);if(jn)return Ki(jn,pe);for(var gi=Ut.nextSibling,Si=yt?yt.nodeValue.length-ae:0;gi;gi=gi.nextSibling){if(jn=xn(gi,gi.firstChild,0),jn)return Ki(qt(jn.line,jn.ch-Si),pe);Si+=gi.textContent.length}for(var la=Ut.previousSibling,Ua=ae;la;la=la.previousSibling){if(jn=xn(la,la.firstChild,-1),jn)return Ki(qt(jn.line,jn.ch+Ua),pe);Ua+=la.textContent.length}}var Wa=function(P){this.cm=P,this.prevInput="",this.pollingFast=!1,this.polling=new q,this.hasSelection=!1,this.composing=null};Wa.prototype.init=function(M){var P=this,ae=this,le=this.cm;this.createField(M);var pe=this.textarea;M.wrapper.insertBefore(this.wrapper,M.wrapper.firstChild),o&&(pe.style.width="0px"),Pe(pe,"input",function(){d&&l>=9&&P.hasSelection&&(P.hasSelection=null),ae.poll()}),Pe(pe,"paste",function(yt){if(Bt(le,yt)||kt(yt,le))return;le.state.pasteIncoming=+new Date,ae.fastPoll()});function Ve(yt){if(Bt(le,yt))return;if(le.somethingSelected())Je({lineWise:!1,text:le.getSelections()});else if(le.options.lineWiseCopyCut){var Ut=Kt(le);Je({lineWise:!0,text:Ut.text}),yt.type=="cut"?le.setSelections(Ut.ranges,null,we):(ae.prevInput="",pe.value=Ut.text.join(`
|
|
|
`),V(pe))}else return;yt.type=="cut"&&(le.state.cutIncoming=+new Date)}Pe(pe,"cut",Ve),Pe(pe,"copy",Ve),Pe(M.scroller,"paste",function(yt){if(ui(M,yt)||Bt(le,yt))return;if(!pe.dispatchEvent){le.state.pasteIncoming=+new Date,ae.focus();return}var Ut=new Event("paste");Ut.clipboardData=yt.clipboardData,pe.dispatchEvent(Ut)}),Pe(M.lineSpace,"selectstart",function(yt){ui(M,yt)||at(yt)}),Pe(pe,"compositionstart",function(){var yt=le.getCursor("from");ae.composing&&ae.composing.range.clear(),ae.composing={start:yt,range:le.markText(yt,le.getCursor("to"),{className:"CodeMirror-composing"})}}),Pe(pe,"compositionend",function(){ae.composing&&(ae.poll(),ae.composing.range.clear(),ae.composing=null)})},Wa.prototype.createField=function(M){this.wrapper=Kr(),this.textarea=this.wrapper.firstChild},Wa.prototype.screenReaderLabelChanged=function(M){M?this.textarea.setAttribute("aria-label",M):this.textarea.removeAttribute("aria-label")},Wa.prototype.prepareSelection=function(){var M=this.cm,P=M.display,ae=M.doc,le=cs(M);if(M.options.moveInputWithCursor){var pe=Qn(M,ae.sel.primary().head,"div"),Ve=P.wrapper.getBoundingClientRect(),yt=P.lineDiv.getBoundingClientRect();le.teTop=Math.max(0,Math.min(P.wrapper.clientHeight-10,pe.top+yt.top-Ve.top)),le.teLeft=Math.max(0,Math.min(P.wrapper.clientWidth-10,pe.left+yt.left-Ve.left))}return le},Wa.prototype.showSelection=function(M){var P=this.cm,ae=P.display;L(ae.cursorDiv,M.cursors),L(ae.selectionDiv,M.selection),M.teTop!=null&&(this.wrapper.style.top=M.teTop+"px",this.wrapper.style.left=M.teLeft+"px")},Wa.prototype.reset=function(M){if(this.contextMenuPending||this.composing)return;var P=this.cm;if(P.somethingSelected()){this.prevInput="";var ae=P.getSelection();this.textarea.value=ae,P.state.focused&&V(this.textarea),d&&l>=9&&(this.hasSelection=ae)}else M||(this.prevInput=this.textarea.value="",d&&l>=9&&(this.hasSelection=null))},Wa.prototype.getField=function(){return this.textarea},Wa.prototype.supportsTouch=function(){return!1},Wa.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!h||K()!=this.textarea))try{this.textarea.focus()}catch(M){}},Wa.prototype.blur=function(){this.textarea.blur()},Wa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Wa.prototype.receivedFocus=function(){this.slowPoll()},Wa.prototype.slowPoll=function(){var M=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){M.poll(),M.cm.state.focused&&M.slowPoll()})},Wa.prototype.fastPoll=function(){var M=!1,P=this;P.pollingFast=!0;function ae(){var le=P.poll();!le&&!M?(M=!0,P.polling.set(60,ae)):(P.pollingFast=!1,P.slowPoll())}P.polling.set(20,ae)},Wa.prototype.poll=function(){var M=this,P=this.cm,ae=this.textarea,le=this.prevInput;if(this.contextMenuPending||!P.state.focused||_r(ae)&&!le&&!this.composing||P.isReadOnly()||P.options.disableInput||P.state.keySeq)return!1;var pe=ae.value;if(pe==le&&!P.somethingSelected())return!1;if(d&&l>=9&&this.hasSelection===pe||g&&/[\uf700-\uf7ff]/.test(pe))return P.display.input.reset(),!1;if(P.doc.sel==P.display.selForContextMenu){var Ve=pe.charCodeAt(0);if(Ve==8203&&!le&&(le="\u200B"),Ve==8666)return this.reset(),this.cm.execCommand("undo")}for(var yt=0,Ut=Math.min(le.length,pe.length);yt<Ut&&le.charCodeAt(yt)==pe.charCodeAt(yt);)++yt;return Al(P,function(){pt(P,pe.slice(yt),le.length-yt,null,M.composing?"*compose":null),pe.length>1e3||pe.indexOf(`
|
|
|
`)>-1?ae.value=M.prevInput="":M.prevInput=pe,M.composing&&(M.composing.range.clear(),M.composing.range=P.markText(M.composing.start,P.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Wa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Wa.prototype.onKeyPress=function(){d&&l>=9&&(this.hasSelection=null),this.fastPoll()},Wa.prototype.onContextMenu=function(M){var P=this,ae=P.cm,le=ae.display,pe=P.textarea;P.contextMenuPending&&P.contextMenuPending();var Ve=Ja(ae,M),yt=le.scroller.scrollTop;if(!Ve||s)return;var Ut=ae.options.resetSelectionOnContextMenu;Ut&&ae.doc.sel.contains(Ve)==-1&&zs(ae,ll)(ae.doc,Oe(Ve),we);var sr=pe.style.cssText,fr=P.wrapper.style.cssText,xn=P.wrapper.offsetParent.getBoundingClientRect();P.wrapper.style.cssText="position: static",pe.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(M.clientY-xn.top-5)+"px; left: "+(M.clientX-xn.left-5)+`px;
|
|
|
z-index: 1000; background: `+(d?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var jn;n&&(jn=window.scrollY),le.input.focus(),n&&window.scrollTo(null,jn),le.input.reset(),ae.somethingSelected()||(pe.value=P.prevInput=" "),P.contextMenuPending=Si,le.selForContextMenu=ae.doc.sel,clearTimeout(le.detectingSelectAll);function gi(){if(pe.selectionStart!=null){var Ua=ae.somethingSelected(),eo="\u200B"+(Ua?pe.value:"");pe.value="\u21DA",pe.value=eo,P.prevInput=Ua?"":"\u200B",pe.selectionStart=1,pe.selectionEnd=eo.length,le.selForContextMenu=ae.doc.sel}}function Si(){if(P.contextMenuPending!=Si)return;if(P.contextMenuPending=!1,P.wrapper.style.cssText=fr,pe.style.cssText=sr,d&&l<9&&le.scrollbars.setScrollTop(le.scroller.scrollTop=yt),pe.selectionStart!=null){(!d||d&&l<9)&&gi();var Ua=0,eo=function no(){le.selForContextMenu==ae.doc.sel&&pe.selectionStart==0&&pe.selectionEnd>0&&P.prevInput=="\u200B"?zs(ae,Dc)(ae):Ua++<10?le.detectingSelectAll=setTimeout(no,500):(le.selForContextMenu=null,le.input.reset())};le.detectingSelectAll=setTimeout(eo,200)}}if(d&&l>=9&&gi(),T){Dt(M);var la=function Ua(){nt(window,"mouseup",Ua),setTimeout(Si,20)};Pe(window,"mouseup",la)}else setTimeout(Si,50)},Wa.prototype.readOnlyChanged=function(M){M||this.reset(),this.textarea.disabled=M=="nocursor",this.textarea.readOnly=!!M},Wa.prototype.setUneditable=function(){},Wa.prototype.needsContentAttribute=!1;function Ko(M,P){if(P=P?X(P):{},P.value=M.value,!P.tabindex&&M.tabIndex&&(P.tabindex=M.tabIndex),!P.placeholder&&M.placeholder&&(P.placeholder=M.placeholder),P.autofocus==null){var ae=K();P.autofocus=ae==M||M.getAttribute("autofocus")!=null&&ae==document.body}function le(){M.value=Ut.getValue()}var pe;if(M.form&&(Pe(M.form,"submit",le),!P.leaveSubmitMethodAlone)){var Ve=M.form;pe=Ve.submit;try{var yt=Ve.submit=function(){le(),Ve.submit=pe,Ve.submit(),Ve.submit=yt}}catch(sr){}}P.finishInit=function(sr){sr.save=le,sr.getTextArea=function(){return M},sr.toTextArea=function(){sr.toTextArea=isNaN,le(),M.parentNode.removeChild(sr.getWrapperElement()),M.style.display="",M.form&&(nt(M.form,"submit",le),!P.leaveSubmitMethodAlone&&typeof M.form.submit=="function"&&(M.form.submit=pe))}},M.style.display="none";var Ut=Tr(function(sr){return M.parentNode.insertBefore(sr,M.nextSibling)},P);return Ut}function Lo(M){M.off=nt,M.on=Pe,M.wheelEventPixels=wn,M.Doc=Ec,M.splitLines=gn,M.countColumn=W,M.findColumn=_e,M.isWordChar=Q,M.Pass=ne,M.signal=Nt,M.Line=Da,M.changeEnd=Xe,M.scrollbarModel=Wl,M.Pos=qt,M.cmpPos=St,M.modes=ot,M.mimeModes=lr,M.resolveMode=xr,M.getMode=Vn,M.modeExtensions=bn,M.extendMode=di,M.copyState=lt,M.startState=Le,M.innerMode=ct,M.commands=Hu,M.keyMap=eu,M.keyName=ju,M.isModifierKey=Yu,M.lookupKey=su,M.normalizeKeyMap=Uu,M.StringStream=Ue,M.SharedTextMarker=au,M.TextMarker=Rc,M.LineWidget=xc,M.e_preventDefault=at,M.e_stopPropagation=Ce,M.e_stop=Dt,M.addClass=Z,M.contains=k,M.rmClass=S,M.keyNames=qc}Qe(Tr),Ir(Tr);var ds="iter insert remove copy getEditor constructor".split(" ");for(var Rs in Ec.prototype)Ec.prototype.hasOwnProperty(Rs)&&Y(ds,Rs)<0&&(Tr.prototype[Rs]=function(M){return function(){return M.apply(this.doc,arguments)}}(Ec.prototype[Rs]));return er(Ec),Tr.inputStyles={textarea:Wa,contenteditable:qr},Tr.defineMode=function(M){!Tr.defaults.mode&&M!="null"&&(Tr.defaults.mode=M),jr.apply(this,arguments)},Tr.defineMIME=Rr,Tr.defineMode("null",function(){return{token:function(P){return P.skipToEnd()}}}),Tr.defineMIME("text/plain","null"),Tr.defineExtension=function(M,P){Tr.prototype[M]=P},Tr.defineDocExtension=function(M,P){Ec.prototype[M]=P},Tr.fromTextArea=Ko,Lo(Tr),Tr.version="5.58.2",Tr})},Vy0f:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("iYpf"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},W2nI:function(U,R,i){var y=i("IwbS"),m=i("ProS"),E=i("bYtY"),p=["itemStyle","opacity"],v=["emphasis","itemStyle","opacity"],f=["lineStyle","opacity"],d=["emphasis","lineStyle","opacity"];function l(c,e){return c.getVisual("opacity")||c.getModel().get(e)}function n(c,e,o){var u=c.getGraphicEl(),h=l(c,e);o!=null&&(h==null&&(h=1),h*=o),u.downplay&&u.downplay(),u.traverse(function(g){g.type!=="group"&&g.setStyle("opacity",h)})}function t(c,e){var o=l(c,e),u=c.getGraphicEl();u.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",o)}),u.highlight&&u.highlight()}var a=y.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(c,e){var o=e.extent;c.moveTo(e.x1,e.y1),c.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),e.orient==="vertical"?(c.lineTo(e.x2+o,e.y2),c.bezierCurveTo(e.cpx2+o,e.cpy2,e.cpx1+o,e.cpy1,e.x1+o,e.y1)):(c.lineTo(e.x2,e.y2+o),c.bezierCurveTo(e.cpx2,e.cpy2+o,e.cpx1,e.cpy1+o,e.x1,e.y1+o)),c.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),s=m.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(c,e,o){var u=this,h=c.getGraph(),g=this.group,A=c.layoutInfo,w=A.width,x=A.height,C=c.getData(),T=c.getData("edge"),O=c.get("orient");this._model=c,g.removeAll(),g.attr("position",[A.x,A.y]),h.eachEdge(function(S){var _=new a;_.dataIndex=S.dataIndex,_.seriesIndex=c.seriesIndex,_.dataType="edge";var L=S.getModel("lineStyle"),D=L.get("curveness"),F=S.node1.getLayout(),j=S.node1.getModel(),k=j.get("localX"),K=j.get("localY"),Z=S.node2.getLayout(),B=S.node2.getModel(),V=B.get("localX"),z=B.get("localY"),X=S.getLayout(),W,q,Y,re,ne,we,ie,me;_.shape.extent=Math.max(1,X.dy),_.shape.orient=O,O==="vertical"?(W=(k!=null?k*w:F.x)+X.sy,q=(K!=null?K*x:F.y)+F.dy,Y=(V!=null?V*w:Z.x)+X.ty,re=z!=null?z*x:Z.y,ne=W,we=q*(1-D)+re*D,ie=Y,me=q*D+re*(1-D)):(W=(k!=null?k*w:F.x)+F.dx,q=(K!=null?K*x:F.y)+X.sy,Y=V!=null?V*w:Z.x,re=(z!=null?z*x:Z.y)+X.ty,ne=W*(1-D)+Y*D,we=q,ie=W*D+Y*(1-D),me=re),_.setShape({x1:W,y1:q,x2:Y,y2:re,cpx1:ne,cpy1:we,cpx2:ie,cpy2:me}),_.setStyle(L.getItemStyle());switch(_.style.fill){case"source":_.style.fill=S.node1.getVisual("color");break;case"target":_.style.fill=S.node2.getVisual("color");break}y.setHoverStyle(_,S.getModel("emphasis.lineStyle").getItemStyle()),g.add(_),T.setItemGraphicEl(S.dataIndex,_)}),h.eachNode(function(S){var _=S.getLayout(),L=S.getModel(),D=L.get("localX"),F=L.get("localY"),j=L.getModel("label"),k=L.getModel("emphasis.label"),K=new y.Rect({shape:{x:D!=null?D*w:_.x,y:F!=null?F*x:_.y,width:_.dx,height:_.dy},style:L.getModel("itemStyle").getItemStyle()}),Z=S.getModel("emphasis.itemStyle").getItemStyle();y.setLabelStyle(K.style,Z,j,k,{labelFetcher:c,labelDataIndex:S.dataIndex,defaultText:S.id,isRectText:!0}),K.setStyle("fill",S.getVisual("color")),y.setHoverStyle(K,Z),g.add(K),C.setItemGraphicEl(S.dataIndex,K),K.dataType="node"}),C.eachItemGraphicEl(function(S,_){var L=C.getItemModel(_);L.get("draggable")&&(S.drift=function(D,F){u._focusAdjacencyDisabled=!0,this.shape.x+=D,this.shape.y+=F,this.dirty(),o.dispatchAction({type:"dragNode",seriesId:c.id,dataIndex:C.getRawIndex(_),localX:this.shape.x/w,localY:this.shape.y/x})},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),L.get("focusNodeAdjacency")&&(S.on("mouseover",S.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,dataIndex:S.dataIndex}))}),S.on("mouseout",S.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(o)}))}),T.eachItemGraphicEl(function(S,_){var L=T.getItemModel(_);S.focusNodeAdjHandler&&S.off("mouseover",S.focusNodeAdjHandler),S.unfocusNodeAdjHandler&&S.off("mouseout",S.unfocusNodeAdjHandler),L.get("focusNodeAdjacency")&&(S.on("mouseover",S.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,edgeDataIndex:S.dataIndex}))}),S.on("mouseout",S.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(o)}))}),!this._data&&c.get("animation")&&g.setClipPath(r(g.getBoundingRect(),c,function(){g.removeClipPath()})),this._data=c.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(c){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){e._unfocusDelayTimer=null,c.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(c,e,o,u){var h=c.getData(),g=h.graph,A=u.dataIndex,w=h.getItemModel(A),x=u.edgeDataIndex;if(A==null&&x==null)return;var C=g.getNodeByIndex(A),T=g.getEdgeByIndex(x);if(g.eachNode(function(S){n(S,p,.1)}),g.eachEdge(function(S){n(S,f,.1)}),C){t(C,v);var O=w.get("focusNodeAdjacency");O==="outEdges"?E.each(C.outEdges,function(S){if(S.dataIndex<0)return;t(S,d),t(S.node2,v)}):O==="inEdges"?E.each(C.inEdges,function(S){if(S.dataIndex<0)return;t(S,d),t(S.node1,v)}):O==="allEdges"&&E.each(C.edges,function(S){if(S.dataIndex<0)return;t(S,d),S.node1!==C&&t(S.node1,v),S.node2!==C&&t(S.node2,v)})}T&&(t(T,d),t(T.node1,v),t(T.node2,v))},unfocusNodeAdjacency:function(c,e,o,u){var h=c.getGraph();h.eachNode(function(g){n(g,p)}),h.eachEdge(function(g){n(g,f)})}});function r(c,e,o){var u=new y.Rect({shape:{x:c.x-10,y:c.y-10,width:0,height:c.height+20}});return y.initProps(u,{shape:{width:c.width+20}},e,o),u}U.exports=s},W4dC:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.each,v=E.createHashMap,f=i("7DRL"),d=i("TIY9"),l=i("yS9w"),n=i("mFDi"),t={geoJSON:d,svg:l},a={load:function(e,o,u){var h=[],g=v(),A=v(),w,x=c(e);return p(x,function(C){var T=t[C.type].load(e,C,u);p(T.regions,function(S){var _=S.name;o&&o.hasOwnProperty(_)&&(S=S.cloneShallow(_=o[_])),h.push(S),g.set(_,S),A.set(_,S.center)});var O=T.boundingRect;O&&(w?w.union(O):w=O.clone())}),{regions:h,regionsMap:g,nameCoordMap:A,boundingRect:w||new n(0,0,0,0)}},makeGraphic:s("makeGraphic"),removeGraphic:s("removeGraphic")};function s(e){return function(o,u){var h=c(o),g=[];return p(h,function(A){var w=t[A.type][e];w&&g.push(w(o,A,u))}),g}}function r(e){}function c(e){var o=f.retrieveMap(e)||[];return o}U.exports=a},WGYa:function(U,R,i){var y=i("7yuC"),m=y.forceLayout,E=i("HF/U"),p=E.simpleLayout,v=i("lOQZ"),f=v.circularLayout,d=i("OELB"),l=d.linearMap,n=i("QBsz"),t=i("bYtY");function a(s){s.eachSeriesByType("graph",function(r){var c=r.coordinateSystem;if(c&&c.type!=="view")return;if(r.get("layout")==="force"){var e=r.preservedPoints||{},o=r.getGraph(),u=o.data,h=o.edgeData,g=r.getModel("force"),A=g.get("initLayout");r.preservedPoints?u.each(function(j){var k=u.getId(j);u.setItemLayout(j,e[k]||[NaN,NaN])}):!A||A==="none"?p(r):A==="circular"&&f(r,"value");var w=u.getDataExtent("value"),x=h.getDataExtent("value"),C=g.get("repulsion"),T=g.get("edgeLength");t.isArray(C)||(C=[C,C]),t.isArray(T)||(T=[T,T]),T=[T[1],T[0]];var O=u.mapArray("value",function(j,k){var K=u.getItemLayout(k),Z=l(j,w,C);return isNaN(Z)&&(Z=(C[0]+C[1])/2),{w:Z,rep:Z,fixed:u.getItemModel(k).get("fixed"),p:!K||isNaN(K[0])||isNaN(K[1])?null:K}}),S=h.mapArray("value",function(j,k){var K=o.getEdgeByIndex(k),Z=l(j,x,T);isNaN(Z)&&(Z=(T[0]+T[1])/2);var B=K.getModel();return{n1:O[K.node1.dataIndex],n2:O[K.node2.dataIndex],d:Z,curveness:B.get("lineStyle.curveness")||0,ignoreForceLayout:B.get("ignoreForceLayout")}}),c=r.coordinateSystem,_=c.getBoundingRect(),L=m(O,S,{rect:_,gravity:g.get("gravity"),friction:g.get("friction")}),D=L.step;L.step=function(j){for(var k=0,K=O.length;k<K;k++)O[k].fixed&&n.copy(O[k].p,o.getNodeByIndex(k).getLayout());D(function(Z,B,V){for(var z=0,X=Z.length;z<X;z++)Z[z].fixed||o.getNodeByIndex(z).setLayout(Z[z].p),e[u.getId(z)]=Z[z].p;for(var z=0,X=B.length;z<X;z++){var W=B[z],q=o.getEdgeByIndex(z),Y=W.n1.p,re=W.n2.p,ne=q.getLayout();ne=ne?ne.slice():[],ne[0]=ne[0]||[],ne[1]=ne[1]||[],n.copy(ne[0],Y),n.copy(ne[1],re),+W.curveness&&(ne[2]=[(Y[0]+re[0])/2-(Y[1]-re[1])*W.curveness,(Y[1]+re[1])/2-(re[0]-Y[0])*W.curveness]),q.setLayout(ne)}j&&j(V)})},r.forceLayout=L,r.preservedPoints=e,L.step()}else r.forceLayout=null})}U.exports=a},WKfj:function(U,R,i){"use strict";i.d(R,"d",function(){return m}),i.d(R,"e",function(){return E}),i.d(R,"f",function(){return p}),i.d(R,"c",function(){return v}),i.d(R,"b",function(){return d}),i.d(R,"a",function(){return n});var y=i("KQm4");function m(t){return Array.isArray(t)?t:t!==void 0?[t]:[]}function E(t,a){var s=a.labelInValue,r=a.combobox;if(t===void 0||t===""&&r)return[];var c=Array.isArray(t)?t:[t];return s?c.map(function(e){var o=e.key,u=e.value;return u!==void 0?u:o}):c}function p(t,a){var s=a.optionLabelProp,r=a.labelInValue,c=a.prevValue,e=a.options,o=a.getLabeledValue,u=t;return r&&(u=u.map(function(h){return o(h,{options:e,prevValue:c,labelInValue:r,optionLabelProp:s})})),u}function v(t,a){var s=Object(y.a)(a),r;for(r=t.length-1;r>=0&&t[r].disabled;r-=1);var c=null;return r!==-1&&(c=s[r],s.splice(r,1)),{values:s,removedValue:c}}var f=typeof window!="undefined"&&window.document&&window.document.documentElement,d=f,l=0;function n(){var t;return d?(t=l,l+=1):t="TEST_OR_SSR",t}},"WN+l":function(U,R,i){var y=i("bYtY"),m=i("IwbS");function E(v,f,d,l){var n=d.axis;if(n.scale.isBlank())return;var t=d.getModel("splitArea"),a=t.getModel("areaStyle"),s=a.get("color"),r=l.coordinateSystem.getRect(),c=n.getTicksCoords({tickModel:t,clamp:!0});if(!c.length)return;var e=s.length,o=v.__splitAreaColors,u=y.createHashMap(),h=0;if(o)for(var g=0;g<c.length;g++){var A=o.get(c[g].tickValue);if(A!=null){h=(A+(e-1)*g)%e;break}}var w=n.toGlobalCoord(c[0].coord),x=a.getAreaStyle();s=y.isArray(s)?s:[s];for(var g=1;g<c.length;g++){var C=n.toGlobalCoord(c[g].coord),T,O,S,_;n.isHorizontal()?(T=w,O=r.y,S=C-T,_=r.height,w=T+S):(T=r.x,O=w,S=r.width,_=C-O,w=O+_);var L=c[g-1].tickValue;L!=null&&u.set(L,h),f.add(new m.Rect({anid:L!=null?"area_"+L:null,shape:{x:T,y:O,width:S,height:_},style:y.defaults({fill:s[h]},x),silent:!0})),h=(h+1)%e}v.__splitAreaColors=u}function p(v){v.__splitAreaColors=null}R.rectCoordAxisBuildSplitArea=E,R.rectCoordAxisHandleRemove=p},WXVj:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("Bqw1")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="MinusSquareOutlined";var l=p.forwardRef(d);R.default=l},WaYH:function(U,R,i){"use strict";var y=i("rePB"),m=i("Ff2n"),E=i("VTBJ"),p=i("1OyB"),v=i("vuIU"),f=i("JX7q"),d=i("Ji7U"),l=i("LK+K"),n=i("q1tI"),t=i("TSYQ"),a=i.n(t),s=i("sboe"),r=i("OZM5"),c=function(T){var O=T.prefixCls,S=T.level,_=T.isStart,L=T.isEnd;if(!S)return null;for(var D="".concat(O,"-indent-unit"),F=[],j=0;j<S;j+=1){var k;F.push(n.createElement("span",{key:j,className:a()(D,(k={},Object(y.a)(k,"".concat(D,"-start"),_[j+1]),Object(y.a)(k,"".concat(D,"-end"),L[j+1]),Object(y.a)(k,"".concat(D,"-end-first-level"),!j&&L[0]),k))}))}return n.createElement("span",{"aria-hidden":"true",className:"".concat(O,"-indent")},F)},e=c,o=i("815F"),u="open",h="close",g="---",A=function(C){Object(d.a)(O,C);var T=Object(l.a)(O);function O(){var S;return Object(p.a)(this,O),S=T.apply(this,arguments),S.state={dragNodeHighlight:!1},S.onSelectorClick=function(_){var L=S.props.context.onNodeClick;L(_,Object(o.b)(S.props)),S.isSelectable()?S.onSelect(_):S.onCheck(_)},S.onSelectorDoubleClick=function(_){var L=S.props.context.onNodeDoubleClick;L(_,Object(o.b)(S.props))},S.onSelect=function(_){if(S.isDisabled())return;var L=S.props.context.onNodeSelect;_.preventDefault(),L(_,Object(o.b)(S.props))},S.onCheck=function(_){if(S.isDisabled())return;var L=S.props,D=L.disableCheckbox,F=L.checked,j=S.props.context.onNodeCheck;if(!S.isCheckable()||D)return;_.preventDefault();var k=!F;j(_,Object(o.b)(S.props),k)},S.onMouseEnter=function(_){var L=S.props.context.onNodeMouseEnter;L(_,Object(o.b)(S.props))},S.onMouseLeave=function(_){var L=S.props.context.onNodeMouseLeave;L(_,Object(o.b)(S.props))},S.onContextMenu=function(_){var L=S.props.context.onNodeContextMenu;L(_,Object(o.b)(S.props))},S.onDragStart=function(_){var L=S.props.context.onNodeDragStart;_.stopPropagation(),S.setState({dragNodeHighlight:!0}),L(_,Object(f.a)(S));try{_.dataTransfer.setData("text/plain","")}catch(D){}},S.onDragEnter=function(_){var L=S.props.context.onNodeDragEnter;_.preventDefault(),_.stopPropagation(),L(_,Object(f.a)(S))},S.onDragOver=function(_){var L=S.props.context.onNodeDragOver;_.preventDefault(),_.stopPropagation(),L(_,Object(f.a)(S))},S.onDragLeave=function(_){var L=S.props.context.onNodeDragLeave;_.stopPropagation(),L(_,Object(f.a)(S))},S.onDragEnd=function(_){var L=S.props.context.onNodeDragEnd;_.stopPropagation(),S.setState({dragNodeHighlight:!1}),L(_,Object(f.a)(S))},S.onDrop=function(_){var L=S.props.context.onNodeDrop;_.preventDefault(),_.stopPropagation(),S.setState({dragNodeHighlight:!1}),L(_,Object(f.a)(S))},S.onExpand=function(_){var L=S.props.context.onNodeExpand;L(_,Object(o.b)(S.props))},S.setSelectHandle=function(_){S.selectHandle=_},S.getNodeState=function(){var _=S.props.expanded;return S.isLeaf()?null:_?u:h},S.hasChildren=function(){var _=S.props.eventKey,L=S.props.context.keyEntities,D=L[_]||{},F=D.children;return!!(F||[]).length},S.isLeaf=function(){var _=S.props,L=_.isLeaf,D=_.loaded,F=S.props.context.loadData,j=S.hasChildren();return L===!1?!1:L||!F&&!j||F&&D&&!j},S.isDisabled=function(){var _=S.props.disabled,L=S.props.context.disabled;return!!(L||_)},S.isCheckable=function(){var _=S.props.checkable,L=S.props.context.checkable;return!L||_===!1?!1:L},S.syncLoadData=function(_){var L=_.expanded,D=_.loading,F=_.loaded,j=S.props.context,k=j.loadData,K=j.onNodeLoad;if(D)return;k&&L&&!S.isLeaf()&&(!S.hasChildren()&&!F&&K(Object(o.b)(S.props)))},S.renderSwitcher=function(){var _=S.props,L=_.expanded,D=_.switcherIcon,F=S.props.context,j=F.prefixCls,k=F.switcherIcon,K=D||k;if(S.isLeaf())return n.createElement("span",{className:a()("".concat(j,"-switcher"),"".concat(j,"-switcher-noop"))},typeof K=="function"?K(Object(E.a)(Object(E.a)({},S.props),{},{isLeaf:!0})):K);var Z=a()("".concat(j,"-switcher"),"".concat(j,"-switcher_").concat(L?u:h));return n.createElement("span",{onClick:S.onExpand,className:Z},typeof K=="function"?K(Object(E.a)(Object(E.a)({},S.props),{},{isLeaf:!1})):K)},S.renderCheckbox=function(){var _=S.props,L=_.checked,D=_.halfChecked,F=_.disableCheckbox,j=S.props.context.prefixCls,k=S.isDisabled(),K=S.isCheckable();if(!K)return null;var Z=typeof K!="boolean"?K:null;return n.createElement("span",{className:a()("".concat(j,"-checkbox"),L&&"".concat(j,"-checkbox-checked"),!L&&D&&"".concat(j,"-checkbox-indeterminate"),(k||F)&&"".concat(j,"-checkbox-disabled")),onClick:S.onCheck},Z)},S.renderIcon=function(){var _=S.props.loading,L=S.props.context.prefixCls;return n.createElement("span",{className:a()("".concat(L,"-iconEle"),"".concat(L,"-icon__").concat(S.getNodeState()||"docu"),_&&"".concat(L,"-icon_loading"))})},S.renderSelector=function(){var _=S.state.dragNodeHighlight,L=S.props,D=L.title,F=L.selected,j=L.icon,k=L.loading,K=L.data,Z=S.props.context,B=Z.prefixCls,V=Z.showIcon,z=Z.icon,X=Z.draggable,W=Z.loadData,q=Z.titleRender,Y=S.isDisabled(),re="".concat(B,"-node-content-wrapper"),ne;if(V){var we=j||z;ne=we?n.createElement("span",{className:a()("".concat(B,"-iconEle"),"".concat(B,"-icon__customize"))},typeof we=="function"?we(S.props):we):S.renderIcon()}else W&&k&&(ne=S.renderIcon());var ie;typeof D=="function"?ie=D(K):q?ie=q(K):ie=D;var me=n.createElement("span",{className:"".concat(B,"-title")},ie);return n.createElement("span",{ref:S.setSelectHandle,title:typeof D=="string"?D:"",className:a()("".concat(re),"".concat(re,"-").concat(S.getNodeState()||"normal"),!Y&&(F||_)&&"".concat(B,"-node-selected"),!Y&&X&&"draggable"),draggable:!Y&&X||void 0,"aria-grabbed":!Y&&X||void 0,onMouseEnter:S.onMouseEnter,onMouseLeave:S.onMouseLeave,onContextMenu:S.onContextMenu,onClick:S.onSelectorClick,onDoubleClick:S.onSelectorDoubleClick,onDragStart:X?S.onDragStart:void 0},ne,me)},S}return Object(v.a)(O,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var _=this.props.selectable,L=this.props.context.selectable;return typeof _=="boolean"?_:L}},{key:"render",value:function(){var _,L=this.props,D=L.eventKey,F=L.className,j=L.style,k=L.dragOver,K=L.dragOverGapTop,Z=L.dragOverGapBottom,B=L.isLeaf,V=L.isStart,z=L.isEnd,X=L.expanded,W=L.selected,q=L.checked,Y=L.halfChecked,re=L.loading,ne=L.domRef,we=L.active,ie=L.onMouseMove,me=Object(m.a)(L,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),_e=this.props.context,Te=_e.prefixCls,We=_e.filterTreeNode,Ae=_e.draggable,je=_e.keyEntities,ee=this.isDisabled(),he=Object(r.f)(me),Ze=je[D]||{},oe=Ze.level,Q=z[z.length-1];return n.createElement("div",Object.assign({ref:ne,className:a()(F,"".concat(Te,"-treenode"),(_={},Object(y.a)(_,"".concat(Te,"-treenode-disabled"),ee),Object(y.a)(_,"".concat(Te,"-treenode-switcher-").concat(X?"open":"close"),!B),Object(y.a)(_,"".concat(Te,"-treenode-checkbox-checked"),q),Object(y.a)(_,"".concat(Te,"-treenode-checkbox-indeterminate"),Y),Object(y.a)(_,"".concat(Te,"-treenode-selected"),W),Object(y.a)(_,"".concat(Te,"-treenode-loading"),re),Object(y.a)(_,"".concat(Te,"-treenode-active"),we),Object(y.a)(_,"".concat(Te,"-treenode-leaf-last"),Q),Object(y.a)(_,"drag-over",!ee&&k),Object(y.a)(_,"drag-over-gap-top",!ee&&K),Object(y.a)(_,"drag-over-gap-bottom",!ee&&Z),Object(y.a)(_,"filter-node",We&&We(Object(o.b)(this.props))),_)),style:j,onDragEnter:Ae?this.onDragEnter:void 0,onDragOver:Ae?this.onDragOver:void 0,onDragLeave:Ae?this.onDragLeave:void 0,onDrop:Ae?this.onDrop:void 0,onDragEnd:Ae?this.onDragEnd:void 0,onMouseMove:ie},he),n.createElement(e,{prefixCls:Te,level:oe,isStart:V,isEnd:z}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),O}(n.Component),w=function(T){return n.createElement(s.a.Consumer,null,function(O){return n.createElement(A,Object.assign({},T,{context:O}))})};w.displayName="TreeNode",w.defaultProps={title:g},w.isTreeNode=1;var x=R.a=w},Wqna:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.isObject,v=E.each,f=E.map,d=E.indexOf,l=E.retrieve,n=i("+TT/"),t=n.getLayoutRect,a=i("aX7z"),s=a.createScaleByModel,r=a.ifAxisCrossZero,c=a.niceScaleExtent,e=a.estimateLabelUnionRect,o=i("y+lR"),u=i("7AJT"),h=i("IDmD"),g=i("7hqr"),A=g.getStackedDimension;i("jtI2");function w(j,k,K){return j.getCoordSysModel()===k}function x(j,k,K){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(j,k,K),this.model=j}var C=x.prototype;C.type="grid",C.axisPointerEnabled=!0,C.getRect=function(){return this._rect},C.update=function(j,k){var K=this._axesMap;this._updateScale(j,this.model),v(K.x,function(B){c(B.scale,B.model)}),v(K.y,function(B){c(B.scale,B.model)});var Z={};v(K.x,function(B){T(K,"y",B,Z)}),v(K.y,function(B){T(K,"x",B,Z)}),this.resize(this.model,k)};function T(j,k,K,Z){K.getAxesOnZeroOf=function(){return V?[V]:[]};var B=j[k],V,z=K.model,X=z.get("axisLine.onZero"),W=z.get("axisLine.onZeroAxisIndex");if(!X)return;if(W!=null)O(B[W])&&(V=B[W]);else for(var q in B)if(B.hasOwnProperty(q)&&O(B[q])&&!Z[Y(B[q])]){V=B[q];break}V&&(Z[Y(V)]=!0);function Y(re){return re.dim+"_"+re.index}}function O(j){return j&&j.type!=="category"&&j.type!=="time"&&r(j)}C.resize=function(j,k,K){var Z=t(j.getBoxLayoutParams(),{width:k.getWidth(),height:k.getHeight()});this._rect=Z;var B=this._axesList;V(),!K&&j.get("containLabel")&&(v(B,function(z){if(!z.model.get("axisLabel.inside")){var X=e(z);if(X){var W=z.isHorizontal()?"height":"width",q=z.model.get("axisLabel.margin");Z[W]-=X[W]+q,z.position==="top"?Z.y+=X.height+q:z.position==="left"&&(Z.x+=X.width+q)}}}),V());function V(){v(B,function(z){var X=z.isHorizontal(),W=X?[0,Z.width]:[0,Z.height],q=z.inverse?1:0;z.setExtent(W[q],W[1-q]),S(z,X?Z.x:Z.y)})}},C.getAxis=function(j,k){var K=this._axesMap[j];if(K!=null){if(k==null){for(var Z in K)if(K.hasOwnProperty(Z))return K[Z]}return K[k]}},C.getAxes=function(){return this._axesList.slice()},C.getCartesian=function(j,k){if(j!=null&&k!=null){var K="x"+j+"y"+k;return this._coordsMap[K]}p(j)&&(k=j.yAxisIndex,j=j.xAxisIndex);for(var Z=0,B=this._coordsList;Z<B.length;Z++)if(B[Z].getAxis("x").index===j||B[Z].getAxis("y").index===k)return B[Z]},C.getCartesians=function(){return this._coordsList.slice()},C.convertToPixel=function(j,k,K){var Z=this._findConvertTarget(j,k);return Z.cartesian?Z.cartesian.dataToPoint(K):Z.axis?Z.axis.toGlobalCoord(Z.axis.dataToCoord(K)):null},C.convertFromPixel=function(j,k,K){var Z=this._findConvertTarget(j,k);return Z.cartesian?Z.cartesian.pointToData(K):Z.axis?Z.axis.coordToData(Z.axis.toLocalCoord(K)):null},C._findConvertTarget=function(j,k){var K=k.seriesModel,Z=k.xAxisModel||K&&K.getReferringComponents("xAxis")[0],B=k.yAxisModel||K&&K.getReferringComponents("yAxis")[0],V=k.gridModel,z=this._coordsList,X,W;if(K)X=K.coordinateSystem,d(z,X)<0&&(X=null);else if(Z&&B)X=this.getCartesian(Z.componentIndex,B.componentIndex);else if(Z)W=this.getAxis("x",Z.componentIndex);else if(B)W=this.getAxis("y",B.componentIndex);else if(V){var q=V.coordinateSystem;q===this&&(X=this._coordsList[0])}return{cartesian:X,axis:W}},C.containPoint=function(j){var k=this._coordsList[0];if(k)return k.containPoint(j)},C._initCartesian=function(j,k,K){var Z={left:!1,right:!1,top:!1,bottom:!1},B={x:{},y:{}},V={x:0,y:0};if(k.eachComponent("xAxis",z("x"),this),k.eachComponent("yAxis",z("y"),this),!V.x||!V.y){this._axesMap={},this._axesList=[];return}this._axesMap=B,v(B.x,function(X,W){v(B.y,function(q,Y){var re="x"+W+"y"+Y,ne=new o(re);ne.grid=this,ne.model=j,this._coordsMap[re]=ne,this._coordsList.push(ne),ne.addAxis(X),ne.addAxis(q)},this)},this);function z(X){return function(W,q){if(!w(W,j,k))return;var Y=W.get("position");X==="x"?Y!=="top"&&Y!=="bottom"&&(Y=Z.bottom?"top":"bottom"):Y!=="left"&&Y!=="right"&&(Y=Z.left?"right":"left"),Z[Y]=!0;var re=new u(X,s(W),[0,0],W.get("type"),Y),ne=re.type==="category";re.onBand=ne&&W.get("boundaryGap"),re.inverse=W.get("inverse"),W.axis=re,re.model=W,re.grid=this,re.index=q,this._axesList.push(re),B[X][q]=re,V[X]++}}},C._updateScale=function(j,k){v(this._axesList,function(Z){Z.scale.setExtent(Infinity,-Infinity)}),j.eachSeries(function(Z){if(D(Z)){var B=L(Z,j),V=B[0],z=B[1];if(!w(V,k,j)||!w(z,k,j))return;var X=this.getCartesian(V.componentIndex,z.componentIndex),W=Z.getData(),q=X.getAxis("x"),Y=X.getAxis("y");W.type==="list"&&(K(W,q,Z),K(W,Y,Z))}},this);function K(Z,B,V){v(Z.mapDimension(B.dim,!0),function(z){B.scale.unionExtentFromData(Z,A(Z,z))})}},C.getTooltipAxes=function(j){var k=[],K=[];return v(this.getCartesians(),function(Z){var B=j!=null&&j!=="auto"?Z.getAxis(j):Z.getBaseAxis(),V=Z.getOtherAxis(B);d(k,B)<0&&k.push(B),d(K,V)<0&&K.push(V)}),{baseAxes:k,otherAxes:K}};function S(j,k){var K=j.getExtent(),Z=K[0]+K[1];j.toGlobalCoord=j.dim==="x"?function(B){return B+k}:function(B){return Z-B+k},j.toLocalCoord=j.dim==="x"?function(B){return B-k}:function(B){return Z-B+k}}var _=["xAxis","yAxis"];function L(j,k){return f(_,function(K){var Z=j.getReferringComponents(K)[0];return Z})}function D(j){return j.get("coordinateSystem")==="cartesian2d"}x.create=function(j,k){var K=[];return j.eachComponent("grid",function(Z,B){var V=new x(Z,j,k);V.name="grid_"+B,V.resize(Z,k,!0),Z.coordinateSystem=V,K.push(V)}),j.eachSeries(function(Z){if(!D(Z))return;var B=L(Z,j),V=B[0],z=B[1],X=V.getCoordSysModel(),W=X.coordinateSystem;Z.coordinateSystem=W.getCartesian(V.componentIndex,z.componentIndex)}),K},x.dimensions=x.prototype.dimensions=o.prototype.dimensions,h.register("cartesian2d",x);var F=x;U.exports=F},"X+im":function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("KQeH")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DownloadOutlined";var l=p.forwardRef(d);R.default=l},"X2/X":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},XAae:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("hwYd"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},XOKv:function(U,R,i){i("OXB0"),i("SA4+")},Xmg4:function(U,R,i){var y=i("bYtY"),m=i("LPTA"),E=m.devicePixelRatio,p=i("K2GJ"),v=i("3C/r");function f(){return!1}function d(t,a,s){var r=y.createCanvas(),c=a.getWidth(),e=a.getHeight(),o=r.style;return o&&(o.position="absolute",o.left=0,o.top=0,o.width=c+"px",o.height=e+"px",r.setAttribute("data-zr-dom-id",t)),r.width=c*s,r.height=e*s,r}var l=function(a,s,r){var c;r=r||E,typeof a=="string"?c=d(a,s,r):y.isObject(a)&&(c=a,a=c.id),this.id=a,this.dom=c;var e=c.style;e&&(c.onselectstart=f,e["-webkit-user-select"]="none",e["user-select"]="none",e["-webkit-touch-callout"]="none",e["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",e.padding=0,e.margin=0,e["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=s,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=r};l.prototype={constructor:l,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var a=this.dpr;this.domBack=d("back-"+this.id,this.painter,a),this.ctxBack=this.domBack.getContext("2d"),a!==1&&this.ctxBack.scale(a,a)},resize:function(a,s){var r=this.dpr,c=this.dom,e=c.style,o=this.domBack;e&&(e.width=a+"px",e.height=s+"px"),c.width=a*r,c.height=s*r,o&&(o.width=a*r,o.height=s*r,r!==1&&this.ctxBack.scale(r,r))},clear:function(a,s){var r=this.dom,c=this.ctx,e=r.width,o=r.height,s=s||this.clearColor,u=this.motionBlur&&!a,h=this.lastFrameAlpha,g=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,e/g,o/g)),c.clearRect(0,0,e,o),s&&s!=="transparent"){var A;s.colorStops?(A=s.__canvasGradient||p.getGradient(c,s,{x:0,y:0,width:e,height:o}),s.__canvasGradient=A):s.image&&(A=v.prototype.getCanvasPattern.call(s,c)),c.save(),c.fillStyle=A||s,c.fillRect(0,0,e,o),c.restore()}if(u){var w=this.domBack;c.save(),c.globalAlpha=h,c.drawImage(w,0,0,e,o),c.restore()}}};var n=l;U.exports=n},Xnb7:function(U,R,i){var y=i("1RvN"),m=new y(50);function E(d){if(typeof d=="string"){var l=m.get(d);return l&&l.image}else return d}function p(d,l,n,t,a){if(d)if(typeof d=="string"){if(l&&l.__zrImageSrc===d||!n)return l;var s=m.get(d),r={hostEl:n,cb:t,cbPayload:a};return s?(l=s.image,!f(l)&&s.pending.push(r)):(l=new Image,l.onload=l.onerror=v,m.put(d,l.__cachedImgObj={image:l,pending:[r]}),l.src=l.__zrImageSrc=d),l}else return d;else return l}function v(){var d=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var l=0;l<d.pending.length;l++){var n=d.pending[l],t=n.cb;t&&t(this,n.cbPayload),n.hostEl.dirty()}d.pending.length=0}function f(d){return d&&d.width&&d.height}R.findExistImage=E,R.createOrUpdateImage=p,R.isImageReady=f},XpcN:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("oVpE"),f=v.createSymbol,d=i("IwbS"),l=i("eRkO"),n=l.makeBackground,t=i("+TT/"),a=p.curry,s=p.each,r=d.Group,c=E.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new r),this._backgroundEl,this.group.add(this._selectorGroup=new r),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(g,A,w){var x=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!g.get("show",!0))return;var C=g.get("align"),T=g.get("orient");(!C||C==="auto")&&(C=g.get("left")==="right"&&T==="vertical"?"right":"left");var O=g.get("selector",!0),S=g.get("selectorPosition",!0);O&&(!S||S==="auto")&&(S=T==="horizontal"?"end":"start"),this.renderInner(C,g,A,w,O,T,S);var _=g.getBoxLayoutParams(),L={width:w.getWidth(),height:w.getHeight()},D=g.get("padding"),F=t.getLayoutRect(_,L,D),j=this.layoutInner(g,C,F,x,O,S),k=t.getLayoutRect(p.defaults({width:j.width,height:j.height},_),L,D);this.group.attr("position",[k.x-j.x,k.y-j.y]),this.group.add(this._backgroundEl=n(j,g))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(g,A,w,x,C,T,O){var S=this.getContentGroup(),_=p.createHashMap(),L=A.get("selectedMode"),D=[];w.eachRawSeries(function(F){!F.get("legendHoverLink")&&D.push(F.id)}),s(A.getData(),function(F,j){var k=F.get("name");if(!this.newlineDisabled&&(k===""||k===`
|
|
|
`)){S.add(new r({newline:!0}));return}var K=w.getSeriesByName(k)[0];if(_.get(k))return;if(K){var Z=K.getData(),B=Z.getVisual("color"),V=Z.getVisual("borderColor");typeof B=="function"&&(B=B(K.getDataParams(0))),typeof V=="function"&&(V=V(K.getDataParams(0)));var z=Z.getVisual("legendSymbol")||"roundRect",X=Z.getVisual("symbol"),W=this._createItem(k,j,F,A,z,X,g,B,V,L);W.on("click",a(o,k,null,x,D)).on("mouseover",a(u,K.name,null,x,D)).on("mouseout",a(h,K.name,null,x,D)),_.set(k,!0)}else w.eachRawSeries(function(q){if(_.get(k))return;if(q.legendVisualProvider){var Y=q.legendVisualProvider;if(!Y.containName(k))return;var re=Y.indexOfName(k),ne=Y.getItemVisual(re,"color"),we=Y.getItemVisual(re,"borderColor"),ie="roundRect",me=this._createItem(k,j,F,A,ie,null,g,ne,we,L);me.on("click",a(o,null,k,x,D)).on("mouseover",a(u,null,k,x,D)).on("mouseout",a(h,null,k,x,D)),_.set(k,!0)}},this)},this),C&&this._createSelector(C,A,x,T,O)},_createSelector:function(g,A,w,x,C){var T=this.getSelectorGroup();s(g,function(S){O(S)});function O(S){var _=S.type,L=new d.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){w.dispatchAction({type:_==="all"?"legendAllSelect":"legendInverseSelect"})}});T.add(L);var D=A.getModel("selectorLabel"),F=A.getModel("emphasis.selectorLabel");d.setLabelStyle(L.style,L.hoverStyle={},D,F,{defaultText:S.title,isRectText:!1}),d.setHoverStyle(L)}},_createItem:function(g,A,w,x,C,T,O,S,_,L){var D=x.get("itemWidth"),F=x.get("itemHeight"),j=x.get("inactiveColor"),k=x.get("inactiveBorderColor"),K=x.get("symbolKeepAspect"),Z=x.getModel("itemStyle"),B=x.isSelected(g),V=new r,z=w.getModel("textStyle"),X=w.get("icon"),W=w.getModel("tooltip"),q=W.parentModel;C=X||C;var Y=f(C,0,0,D,F,B?S:j,K==null?!0:K);if(V.add(e(Y,C,Z,_,k,B)),!X&&T&&(T!==C||T==="none")){var re=F*.8;T==="none"&&(T="circle");var ne=f(T,(D-re)/2,(F-re)/2,re,re,B?S:j,K==null?!0:K);V.add(e(ne,T,Z,_,k,B))}var we=O==="left"?D+5:-5,ie=O,me=x.get("formatter"),_e=g;typeof me=="string"&&me?_e=me.replace("{name}",g!=null?g:""):typeof me=="function"&&(_e=me(g)),V.add(new d.Text({style:d.setTextStyle({},z,{text:_e,x:we,y:F/2,textFill:B?z.getTextColor():j,textAlign:ie,textVerticalAlign:"middle"})}));var Te=new d.Rect({shape:V.getBoundingRect(),invisible:!0,tooltip:W.get("show")?p.extend({content:g,formatter:q.get("formatter",!0)||function(){return g},formatterParams:{componentType:"legend",legendIndex:x.componentIndex,name:g,$vars:["name"]}},W.option):null});return V.add(Te),V.eachChild(function(We){We.silent=!0}),Te.silent=!L,this.getContentGroup().add(V),d.setHoverStyle(V),V.__legendDataIndex=A,V},layoutInner:function(g,A,w,x,C,T){var O=this.getContentGroup(),S=this.getSelectorGroup();t.box(g.get("orient"),O,g.get("itemGap"),w.width,w.height);var _=O.getBoundingRect(),L=[-_.x,-_.y];if(C){t.box("horizontal",S,g.get("selectorItemGap",!0));var D=S.getBoundingRect(),F=[-D.x,-D.y],j=g.get("selectorButtonGap",!0),k=g.getOrient().index,K=k===0?"width":"height",Z=k===0?"height":"width",B=k===0?"y":"x";T==="end"?F[k]+=_[K]+j:L[k]+=D[K]+j,F[1-k]+=_[Z]/2-D[Z]/2,S.attr("position",F),O.attr("position",L);var V={x:0,y:0};return V[K]=_[K]+j+D[K],V[Z]=Math.max(_[Z],D[Z]),V[B]=Math.min(0,D[B]+F[1-k]),V}else return O.attr("position",L),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function e(g,A,w,x,C,T){var O;return A!=="line"&&A.indexOf("empty")<0?(O=w.getItemStyle(),g.style.stroke=x,T||(O.stroke=C)):O=w.getItemStyle(["borderWidth","borderColor"]),g.setStyle(O)}function o(g,A,w,x){h(g,A,w,x),w.dispatchAction({type:"legendToggleSelect",name:g!=null?g:A}),u(g,A,w,x)}function u(g,A,w,x){var C=w.getZr().storage.getDisplayList()[0];C&&C.useHoverLayer||w.dispatchAction({type:"highlight",seriesName:g,name:A,excludeSeriesId:x})}function h(g,A,w,x){var C=w.getZr().storage.getDisplayList()[0];C&&C.useHoverLayer||w.dispatchAction({type:"downplay",seriesName:g,name:A,excludeSeriesId:x})}U.exports=c},XuBP:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},XxSj:function(U,R,i){var y=i("bYtY"),m=i("Qe9p"),E=i("OELB"),p=E.linearMap,v=y.each,f=y.isObject,d=-1,l=function(T){var O=T.mappingMethod,S=T.type,_=this.option=y.clone(T);this.type=S,this.mappingMethod=O,this._normalizeData=w[O];var L=n[S];this.applyVisual=L.applyVisual,this.getColorMapper=L.getColorMapper,this._doMap=L._doMap[O],O==="piecewise"?(s(_),t(_)):O==="category"?_.categories?a(_):s(_,!0):(y.assert(O!=="linear"||_.dataExtent),s(_))};l.prototype={constructor:l,mapValueToVisual:function(T){var O=this._normalizeData(T);return this._doMap(O,T)},getNormalizer:function(){return y.bind(this._normalizeData,this)}};var n=l.visualHandlers={color:{applyVisual:e("color"),getColorMapper:function(){var T=this.option;return y.bind(T.mappingMethod==="category"?function(O,S){return!S&&(O=this._normalizeData(O)),o.call(this,O)}:function(O,S,_){var L=!!_;return!S&&(O=this._normalizeData(O)),_=m.fastLerp(O,T.parsedVisual,_),L?_:m.stringify(_,"rgba")},this)},_doMap:{linear:function(T){return m.stringify(m.fastLerp(T,this.option.parsedVisual),"rgba")},category:o,piecewise:function(T,O){var S=g.call(this,O);return S==null&&(S=m.stringify(m.fastLerp(T,this.option.parsedVisual),"rgba")),S},fixed:u}},colorHue:r(function(T,O){return m.modifyHSL(T,O)}),colorSaturation:r(function(T,O){return m.modifyHSL(T,null,O)}),colorLightness:r(function(T,O){return m.modifyHSL(T,null,null,O)}),colorAlpha:r(function(T,O){return m.modifyAlpha(T,O)}),opacity:{applyVisual:e("opacity"),_doMap:h([0,1])},liftZ:{applyVisual:e("liftZ"),_doMap:{linear:u,category:u,piecewise:u,fixed:u}},symbol:{applyVisual:function(T,O,S){var _=this.mapValueToVisual(T);if(y.isString(_))S("symbol",_);else if(f(_))for(var L in _)_.hasOwnProperty(L)&&S(L,_[L])},_doMap:{linear:c,category:o,piecewise:function(T,O){var S=g.call(this,O);return S==null&&(S=c.call(this,T)),S},fixed:u}},symbolSize:{applyVisual:e("symbolSize"),_doMap:h([0,1])}};function t(T){var O=T.pieceList;T.hasSpecialVisual=!1,y.each(O,function(S,_){S.originIndex=_,S.visual!=null&&(T.hasSpecialVisual=!0)})}function a(T){var O=T.categories,S=T.visual,_=T.categoryMap={};if(v(O,function(F,j){_[F]=j}),!y.isArray(S)){var L=[];y.isObject(S)?v(S,function(F,j){var k=_[j];L[k!=null?k:d]=F}):L[d]=S,S=A(T,L)}for(var D=O.length-1;D>=0;D--)S[D]==null&&(delete _[O[D]],O.pop())}function s(T,O){var S=T.visual,_=[];y.isObject(S)?v(S,function(D){_.push(D)}):S!=null&&_.push(S);var L={color:1,symbol:1};!O&&_.length===1&&!L.hasOwnProperty(T.type)&&(_[1]=_[0]),A(T,_)}function r(T){return{applyVisual:function(O,S,_){O=this.mapValueToVisual(O),_("color",T(S("color"),O))},_doMap:h([0,1])}}function c(T){var O=this.option.visual;return O[Math.round(p(T,[0,1],[0,O.length-1],!0))]||{}}function e(T){return function(O,S,_){_(T,this.mapValueToVisual(O))}}function o(T){var O=this.option.visual;return O[this.option.loop&&T!==d?T%O.length:T]}function u(){return this.option.visual[0]}function h(T){return{linear:function(O){return p(O,T,this.option.visual,!0)},category:o,piecewise:function(O,S){var _=g.call(this,S);return _==null&&(_=p(O,T,this.option.visual,!0)),_},fixed:u}}function g(T){var O=this.option,S=O.pieceList;if(O.hasSpecialVisual){var _=l.findPieceIndex(T,S),L=S[_];if(L&&L.visual)return L.visual[this.type]}}function A(T,O){return T.visual=O,T.type==="color"&&(T.parsedVisual=y.map(O,function(S){return m.parse(S)})),O}var w={linear:function(T){return p(T,this.option.dataExtent,[0,1],!0)},piecewise:function(T){var O=this.option.pieceList,S=l.findPieceIndex(T,O,!0);if(S!=null)return p(S,[0,O.length-1],[0,1],!0)},category:function(T){var O=this.option.categories?this.option.categoryMap[T]:T;return O==null?d:O},fixed:y.noop};l.listVisualTypes=function(){var T=[];return y.each(n,function(O,S){T.push(S)}),T},l.addVisualHandler=function(T,O){n[T]=O},l.isValidType=function(T){return n.hasOwnProperty(T)},l.eachVisual=function(T,O,S){y.isObject(T)?y.each(T,O,S):O.call(S,T)},l.mapVisual=function(T,O,S){var _,L=y.isArray(T)?[]:y.isObject(T)?{}:(_=!0,null);return l.eachVisual(T,function(D,F){var j=O.call(S,D,F);_?L=j:L[F]=j}),L},l.retrieveVisuals=function(T){var O={},S;return T&&v(n,function(_,L){T.hasOwnProperty(L)&&(O[L]=T[L],S=!0)}),S?O:null},l.prepareVisualTypes=function(T){if(f(T)){var O=[];v(T,function(S,_){O.push(_)}),T=O}else if(y.isArray(T))T=T.slice();else return[];return T.sort(function(S,_){return _==="color"&&S!=="color"&&S.indexOf("color")===0?1:-1}),T},l.dependsOn=function(T,O){return O==="color"?!!(T&&T.indexOf(O)===0):T===O},l.findPieceIndex=function(T,O,S){for(var _,L=Infinity,D=0,F=O.length;D<F;D++){var j=O[D].value;if(j!=null){if(j===T||typeof j=="string"&&j===T+"")return D;S&&B(j,D)}}for(var D=0,F=O.length;D<F;D++){var k=O[D],K=k.interval,Z=k.close;if(K){if(K[0]===-Infinity){if(x(Z[1],T,K[1]))return D}else if(K[1]===Infinity){if(x(Z[0],K[0],T))return D}else if(x(Z[0],K[0],T)&&x(Z[1],T,K[1]))return D;S&&B(K[0],D),S&&B(K[1],D)}}if(S)return T===Infinity?O.length-1:T===-Infinity?0:_;function B(V,z){var X=Math.abs(V-T);X<L&&(L=X,_=z)}};function x(T,O,S){return T?O<=S:O<S}var C=l;U.exports=C},XzQk:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("KpQ+"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},Y1PL:function(U,R,i){"use strict";i.r(R),i.d(R,"ResizableTextArea",function(){return Y});var y=i("wx14"),m=i("1OyB"),E=i("vuIU"),p=i("Ji7U"),v=i("LK+K"),f=i("q1tI"),d=i("VTBJ"),l=i("rePB"),n=i("Zm9Q"),t=i("Kwbf"),a=i("c+Xe"),s=i("m+aA"),r=i("bdgK"),c=new Map;function e(we){we.forEach(function(ie){var me,_e=ie.target;(me=c.get(_e))===null||me===void 0||me.forEach(function(Te){return Te(_e)})})}var o=new r.default(e),u=null,h=null;function g(we,ie){c.has(we)||(c.set(we,new Set),o.observe(we)),c.get(we).add(ie)}function A(we,ie){c.has(we)&&(c.get(we).delete(ie),c.get(we).size||(o.unobserve(we),c.delete(we)))}var w=function(we){Object(p.a)(me,we);var ie=Object(v.a)(me);function me(){return Object(m.a)(this,me),ie.apply(this,arguments)}return Object(E.a)(me,[{key:"render",value:function(){return this.props.children}}]),me}(f.Component),x=f.createContext(null);function C(we){var ie=we.children,me=we.onBatchResize,_e=f.useRef(0),Te=f.useRef([]),We=f.useContext(x),Ae=f.useCallback(function(je,ee,he){_e.current+=1;var Ze=_e.current;Te.current.push({size:je,element:ee,data:he}),Promise.resolve().then(function(){Ze===_e.current&&(me==null||me(Te.current),Te.current=[])}),We==null||We(je,ee,he)},[me,We]);return f.createElement(x.Provider,{value:Ae},ie)}function T(we){var ie=we.children,me=we.disabled,_e=f.useRef(null),Te=f.useRef(null),We=f.useContext(x),Ae=typeof ie=="function",je=Ae?ie(_e):ie,ee=f.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),he=!Ae&&f.isValidElement(je)&&Object(a.c)(je),Ze=he?je.ref:null,oe=f.useMemo(function(){return Object(a.a)(Ze,_e)},[Ze,_e]),Q=f.useRef(we);Q.current=we;var G=f.useCallback(function(te){var xe=Q.current,fe=xe.onResize,Be=xe.data,Ne=te.getBoundingClientRect(),de=Ne.width,ve=Ne.height,Me=te.offsetWidth,qe=te.offsetHeight,gt=Math.floor(de),ht=Math.floor(ve);if(ee.current.width!==gt||ee.current.height!==ht||ee.current.offsetWidth!==Me||ee.current.offsetHeight!==qe){var Pe={width:gt,height:ht,offsetWidth:Me,offsetHeight:qe};ee.current=Pe;var It=Me===Math.round(de)?de:Me,nt=qe===Math.round(ve)?ve:qe,Nt=Object(d.a)(Object(d.a)({},Pe),{},{offsetWidth:It,offsetHeight:nt});We==null||We(Nt,te,Be),fe&&Promise.resolve().then(function(){fe(Nt,te)})}},[]);return f.useEffect(function(){var te=Object(s.a)(_e.current)||Object(s.a)(Te.current);return te&&!me&&g(te,G),function(){return A(te,G)}},[_e.current,me]),f.createElement(w,{ref:Te},he?f.cloneElement(je,{ref:oe}):je)}var O="rc-observer-key";function S(we){var ie=we.children,me=typeof ie=="function"?[ie]:Object(n.a)(ie);return me.map(function(_e,Te){var We=(_e==null?void 0:_e.key)||"".concat(O,"-").concat(Te);return f.createElement(T,Object(y.a)({},we,{key:We}),_e)})}S.Collection=C;var _=S,L=i("bT9E"),D=i("TSYQ"),F=i.n(D),j=`
|
|
|
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
|
|
|
`,k=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],K={},Z;function B(we){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,me=we.getAttribute("id")||we.getAttribute("data-reactid")||we.getAttribute("name");if(ie&&K[me])return K[me];var _e=window.getComputedStyle(we),Te=_e.getPropertyValue("box-sizing")||_e.getPropertyValue("-moz-box-sizing")||_e.getPropertyValue("-webkit-box-sizing"),We=parseFloat(_e.getPropertyValue("padding-bottom"))+parseFloat(_e.getPropertyValue("padding-top")),Ae=parseFloat(_e.getPropertyValue("border-bottom-width"))+parseFloat(_e.getPropertyValue("border-top-width")),je=k.map(function(he){return"".concat(he,":").concat(_e.getPropertyValue(he))}).join(";"),ee={sizingStyle:je,paddingSize:We,borderSize:Ae,boxSizing:Te};return ie&&me&&(K[me]=ee),ee}function V(we){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,_e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Z||(Z=document.createElement("textarea"),Z.setAttribute("tab-index","-1"),Z.setAttribute("aria-hidden","true"),document.body.appendChild(Z)),we.getAttribute("wrap")?Z.setAttribute("wrap",we.getAttribute("wrap")):Z.removeAttribute("wrap");var Te=B(we,ie),We=Te.paddingSize,Ae=Te.borderSize,je=Te.boxSizing,ee=Te.sizingStyle;Z.setAttribute("style","".concat(ee,";").concat(j)),Z.value=we.value||we.placeholder||"";var he=Number.MIN_SAFE_INTEGER,Ze=Number.MAX_SAFE_INTEGER,oe=Z.scrollHeight,Q;if(je==="border-box"?oe+=Ae:je==="content-box"&&(oe-=We),me!==null||_e!==null){Z.value=" ";var G=Z.scrollHeight-We;me!==null&&(he=G*me,je==="border-box"&&(he=he+We+Ae),oe=Math.max(he,oe)),_e!==null&&(Ze=G*_e,je==="border-box"&&(Ze=Ze+We+Ae),Q=oe>Ze?"":"hidden",oe=Math.min(Ze,oe))}return{height:oe,minHeight:he,maxHeight:Ze,overflowY:Q,resize:"none"}}var z=i("Gytx"),X=i.n(z),W;(function(we){we[we.NONE=0]="NONE",we[we.RESIZING=1]="RESIZING",we[we.RESIZED=2]="RESIZED"})(W||(W={}));var q=function(we){Object(p.a)(me,we);var ie=Object(v.a)(me);function me(_e){var Te;return Object(m.a)(this,me),Te=ie.call(this,_e),Te.nextFrameActionId=void 0,Te.resizeFrameId=void 0,Te.textArea=void 0,Te.saveTextArea=function(We){Te.textArea=We},Te.handleResize=function(We){var Ae=Te.state.resizeStatus,je=Te.props,ee=je.autoSize,he=je.onResize;if(Ae!==W.NONE)return;typeof he=="function"&&he(We),ee&&Te.resizeOnNextFrame()},Te.resizeOnNextFrame=function(){cancelAnimationFrame(Te.nextFrameActionId),Te.nextFrameActionId=requestAnimationFrame(Te.resizeTextarea)},Te.resizeTextarea=function(){var We=Te.props.autoSize;if(!We||!Te.textArea)return;var Ae=We.minRows,je=We.maxRows,ee=V(Te.textArea,!1,Ae,je);Te.setState({textareaStyles:ee,resizeStatus:W.RESIZING},function(){cancelAnimationFrame(Te.resizeFrameId),Te.resizeFrameId=requestAnimationFrame(function(){Te.setState({resizeStatus:W.RESIZED},function(){Te.resizeFrameId=requestAnimationFrame(function(){Te.setState({resizeStatus:W.NONE}),Te.fixFirefoxAutoScroll()})})})})},Te.renderTextArea=function(){var We=Te.props,Ae=We.prefixCls,je=Ae===void 0?"rc-textarea":Ae,ee=We.autoSize,he=We.onResize,Ze=We.className,oe=We.disabled,Q=Te.state,G=Q.textareaStyles,te=Q.resizeStatus,xe=Object(L.a)(Te.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),fe=F()(je,Ze,Object(l.a)({},"".concat(je,"-disabled"),oe));"value"in xe&&(xe.value=xe.value||"");var Be=Object(d.a)(Object(d.a)(Object(d.a)({},Te.props.style),G),te===W.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return f.createElement(_,{onResize:Te.handleResize,disabled:!(ee||he)},f.createElement("textarea",Object(y.a)({},xe,{className:fe,style:Be,ref:Te.saveTextArea})))},Te.state={textareaStyles:{},resizeStatus:W.NONE},Te}return Object(E.a)(me,[{key:"componentDidUpdate",value:function(Te){(Te.value!==this.props.value||!X()(Te.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var Te=this.textArea.selectionStart,We=this.textArea.selectionEnd;this.textArea.setSelectionRange(Te,We)}}catch(Ae){}}},{key:"render",value:function(){return this.renderTextArea()}}]),me}(f.Component),Y=q,re=function(we){Object(p.a)(me,we);var ie=Object(v.a)(me);function me(_e){var Te;Object(m.a)(this,me),Te=ie.call(this,_e),Te.resizableTextArea=void 0,Te.focus=function(){Te.resizableTextArea.textArea.focus()},Te.saveTextArea=function(Ae){Te.resizableTextArea=Ae},Te.handleChange=function(Ae){var je=Te.props.onChange;Te.setValue(Ae.target.value,function(){Te.resizableTextArea.resizeTextarea()}),je&&je(Ae)},Te.handleKeyDown=function(Ae){var je=Te.props,ee=je.onPressEnter,he=je.onKeyDown;Ae.keyCode===13&&ee&&ee(Ae),he&&he(Ae)};var We=typeof _e.value=="undefined"||_e.value===null?_e.defaultValue:_e.value;return Te.state={value:We},Te}return Object(E.a)(me,[{key:"setValue",value:function(Te,We){"value"in this.props||this.setState({value:Te},We)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return f.createElement(Y,Object(y.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(Te){return"value"in Te?{value:Te.value}:null}}]),me}(f.Component),ne=R.default=re},YH21:function(U,R,i){var y=i("H6uX");R.Dispatcher=y;var m=i("ItGF"),E=i("Ze12"),p=E.isCanvasEl,v=E.transformCoordWithViewport,f=typeof window!="undefined"&&!!window.addEventListener,d=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,l=[];function n(h,g,A,w){return A=A||{},w||!m.canvasSupported?t(h,g,A):m.browser.firefox&&g.layerX!=null&&g.layerX!==g.offsetX?(A.zrX=g.layerX,A.zrY=g.layerY):g.offsetX!=null?(A.zrX=g.offsetX,A.zrY=g.offsetY):t(h,g,A),A}function t(h,g,A){if(m.domSupported&&h.getBoundingClientRect){var w=g.clientX,x=g.clientY;if(p(h)){var C=h.getBoundingClientRect();A.zrX=w-C.left,A.zrY=x-C.top;return}else if(v(l,h,w,x)){A.zrX=l[0],A.zrY=l[1];return}}A.zrX=A.zrY=0}function a(h){return h||window.event}function s(h,g,A){if(g=a(g),g.zrX!=null)return g;var w=g.type,x=w&&w.indexOf("touch")>=0;if(!x)n(h,g,g,A),g.zrDelta=g.wheelDelta?g.wheelDelta/120:-(g.detail||0)/3;else{var C=w!=="touchend"?g.targetTouches[0]:g.changedTouches[0];C&&n(h,C,g,A)}var T=g.button;return g.which==null&&T!==void 0&&d.test(g.type)&&(g.which=T&1?1:T&2?3:T&4?2:0),g}function r(h,g,A,w){f?h.addEventListener(g,A,w):h.attachEvent("on"+g,A)}function c(h,g,A,w){f?h.removeEventListener(g,A,w):h.detachEvent("on"+g,A)}var e=f?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}R.clientToLocal=n,R.getNativeEvent=a,R.normalizeEvent=s,R.addEventListener=r,R.removeEventListener=c,R.stop=e,R.isMiddleOrRightButtonOnMouseUpDown=o,R.notLeftMouse=u},YJ9k:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function m(v,f){for(var d=0;d<f.length;d++){var l=f[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(v,l.key,l)}}function E(v,f,d){return f&&m(v.prototype,f),d&&m(v,d),v}var p=function(){function v(){y(this,v),this._listeners=new Map}return E(v,[{key:"addEventListener",value:function(d,l){this._listeners.has(d)||this._listeners.set(d,new Set),this._listeners.get(d).add(l)}},{key:"removeEventListener",value:function(d,l){this._listeners.has(d)&&this._listeners.get(d).delete(l)}},{key:"dispatchEvent",value:function(d){var l=this;return this._listeners.has(d.type)?(this._listeners.get(d.type).forEach(function(n){return n.call(l,d)}),!d.defaultPrevented):!0}}]),v}();R.default=p},YJCA:function(U,R,i){"use strict";i.d(R,"a",function(){return te}),i.d(R,"b",function(){return Be});var y=i("wx14"),m=i("ODXe"),E=i("vpQ4"),p=i("1OyB"),v=i("vuIU"),f=i("md7G"),d=i("foSv"),l=i("Ji7U"),n=i("JX7q"),t=i("rePB"),a=i("q1tI"),s=i.n(a),r=i("17x9"),c=i.n(r),e=i("i8i4"),o=i.n(e),u=i("QLaP"),h=i.n(u),g=i("KQm4"),A=function(){function Ne(){Object(p.a)(this,Ne),Object(t.a)(this,"refs",{})}return Object(v.a)(Ne,[{key:"add",value:function(ve,Me){this.refs[ve]||(this.refs[ve]=[]),this.refs[ve].push(Me)}},{key:"remove",value:function(ve,Me){var qe=this.getIndex(ve,Me);qe!==-1&&this.refs[ve].splice(qe,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var ve=this;return this.refs[this.active.collection].find(function(Me){var qe=Me.node;return qe.sortableInfo.index==ve.active.index})}},{key:"getIndex",value:function(ve,Me){return this.refs[ve].indexOf(Me)}},{key:"getOrderedRefs",value:function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[ve].sort(w)}}]),Ne}();function w(Ne,de){var ve=Ne.node.sortableInfo.index,Me=de.node.sortableInfo.index;return ve-Me}function x(Ne,de,ve){return Ne=Ne.slice(),Ne.splice(ve<0?Ne.length+ve:ve,0,Ne.splice(de,1)[0]),Ne}function C(Ne,de){return Object.keys(Ne).reduce(function(ve,Me){return de.indexOf(Me)===-1&&(ve[Me]=Ne[Me]),ve},{})}var T={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},O=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ne=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],de=(Array.prototype.slice.call(Ne).join("").match(/-(moz|webkit|ms)-/)||Ne.OLink===""&&["","o"])[1];switch(de){case"ms":return"ms";default:return de&&de.length?de[0].toUpperCase()+de.substr(1):""}}();function S(Ne,de){Object.keys(de).forEach(function(ve){Ne.style[ve]=de[ve]})}function _(Ne,de){Ne.style["".concat(O,"Transform")]=de==null?"":"translate3d(".concat(de.x,"px,").concat(de.y,"px,0)")}function L(Ne,de){Ne.style["".concat(O,"TransitionDuration")]=de==null?"":"".concat(de,"ms")}function D(Ne,de){for(;Ne;){if(de(Ne))return Ne;Ne=Ne.parentNode}return null}function F(Ne,de,ve){return Math.max(Ne,Math.min(ve,de))}function j(Ne){return Ne.substr(-2)==="px"?parseFloat(Ne):0}function k(Ne){var de=window.getComputedStyle(Ne);return{bottom:j(de.marginBottom),left:j(de.marginLeft),right:j(de.marginRight),top:j(de.marginTop)}}function K(Ne,de){var ve=de.displayName||de.name;return ve?"".concat(Ne,"(").concat(ve,")"):Ne}function Z(Ne,de){var ve=Ne.getBoundingClientRect();return{top:ve.top+de.top,left:ve.left+de.left}}function B(Ne){return Ne.touches&&Ne.touches.length?{x:Ne.touches[0].pageX,y:Ne.touches[0].pageY}:Ne.changedTouches&&Ne.changedTouches.length?{x:Ne.changedTouches[0].pageX,y:Ne.changedTouches[0].pageY}:{x:Ne.pageX,y:Ne.pageY}}function V(Ne){return Ne.touches&&Ne.touches.length||Ne.changedTouches&&Ne.changedTouches.length}function z(Ne,de){var ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Ne)return;var Me={left:ve.left+Ne.offsetLeft,top:ve.top+Ne.offsetTop};return Ne.parentNode===de?Me:z(Ne.parentNode,de,Me)}function X(Ne,de,ve){return Ne<ve&&Ne>de?Ne-1:Ne>ve&&Ne<de?Ne+1:Ne}function W(Ne){var de=Ne.lockOffset,ve=Ne.width,Me=Ne.height,qe=de,gt=de,ht="px";if(typeof de=="string"){var Pe=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(de);h()(Pe!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',de),qe=parseFloat(de),gt=parseFloat(de),ht=Pe[1]}return h()(isFinite(qe)&&isFinite(gt),"lockOffset value should be a finite. Given %s",de),ht==="%"&&(qe=qe*ve/100,gt=gt*Me/100),{x:qe,y:gt}}function q(Ne){var de=Ne.height,ve=Ne.width,Me=Ne.lockOffset,qe=Array.isArray(Me)?Me:[Me,Me];h()(qe.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Me);var gt=Object(m.a)(qe,2),ht=gt[0],Pe=gt[1];return[W({height:de,lockOffset:ht,width:ve}),W({height:de,lockOffset:Pe,width:ve})]}function Y(Ne){var de=window.getComputedStyle(Ne),ve=/(auto|scroll)/,Me=["overflow","overflowX","overflowY"];return Me.find(function(qe){return ve.test(de[qe])})}function re(Ne){return Ne instanceof HTMLElement?Y(Ne)?Ne:re(Ne.parentNode):null}function ne(Ne){var de=window.getComputedStyle(Ne);return de.display==="grid"?{x:j(de.gridColumnGap),y:j(de.gridRowGap)}:{x:0,y:0}}var we={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},ie={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function me(Ne){var de="input, textarea, select, canvas, [contenteditable]",ve=Ne.querySelectorAll(de),Me=Ne.cloneNode(!0),qe=Object(g.a)(Me.querySelectorAll(de));return qe.forEach(function(gt,ht){if(gt.type!=="file"&&(gt.value=ve[ht].value),gt.type==="radio"&>.name&&(gt.name="__sortableClone__".concat(gt.name)),gt.tagName===ie.Canvas&&ve[ht].width>0&&ve[ht].height>0){var Pe=gt.getContext("2d");Pe.drawImage(ve[ht],0,0)}}),Me}function _e(Ne){var de,ve,Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ve=de=function(qe){Object(l.a)(gt,qe);function gt(){return Object(p.a)(this,gt),Object(f.a)(this,Object(d.a)(gt).apply(this,arguments))}return Object(v.a)(gt,[{key:"componentDidMount",value:function(){var Pe=Object(e.findDOMNode)(this);Pe.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return h()(Me.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 Pe=Me.withRef?"wrappedInstance":null;return Object(a.createElement)(Ne,Object(y.a)({ref:Pe},this.props))}}]),gt}(a.Component),Object(t.a)(de,"displayName",K("sortableHandle",Ne)),ve}function Te(Ne){return Ne.sortableHandle!=null}var We=function(){function Ne(de,ve){Object(p.a)(this,Ne),this.container=de,this.onScrollCallback=ve}return Object(v.a)(Ne,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(ve){var Me=this,qe=ve.translate,gt=ve.minTranslate,ht=ve.maxTranslate,Pe=ve.width,It=ve.height,nt={x:0,y:0},Nt={x:1,y:1},Bt={x:10,y:10},Pt=this.container,jt=Pt.scrollTop,er=Pt.scrollLeft,at=Pt.scrollHeight,Ce=Pt.scrollWidth,ue=Pt.clientHeight,Dt=Pt.clientWidth,rt=jt===0,ye=at-jt-ue===0,Xt=er===0,pr=Ce-er-Dt===0;qe.y>=ht.y-It/2&&!ye?(nt.y=1,Nt.y=Bt.y*Math.abs((ht.y-It/2-qe.y)/It)):qe.x>=ht.x-Pe/2&&!pr?(nt.x=1,Nt.x=Bt.x*Math.abs((ht.x-Pe/2-qe.x)/Pe)):qe.y<=gt.y+It/2&&!rt?(nt.y=-1,Nt.y=Bt.y*Math.abs((qe.y-It/2-gt.y)/It)):qe.x<=gt.x+Pe/2&&!Xt&&(nt.x=-1,Nt.x=Bt.x*Math.abs((qe.x-Pe/2-gt.x)/Pe)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(nt.x!==0||nt.y!==0)&&(this.interval=setInterval(function(){Me.isAutoScrolling=!0;var mt={left:Nt.x*nt.x,top:Nt.y*nt.y};Me.container.scrollTop+=mt.top,Me.container.scrollLeft+=mt.left,Me.onScrollCallback(mt)},5))}}]),Ne}();function Ae(Ne){var de=Ne.node;return{height:de.offsetHeight,width:de.offsetWidth}}function je(Ne){var de=[ie.Input,ie.Textarea,ie.Select,ie.Option,ie.Button];return de.indexOf(Ne.target.tagName)!==-1?!0:!!D(Ne.target,function(ve){return ve.contentEditable==="true"})}var ee={axis:c.a.oneOf(["x","y","xy"]),contentWindow:c.a.any,disableAutoscroll:c.a.bool,distance:c.a.number,getContainer:c.a.func,getHelperDimensions:c.a.func,helperClass:c.a.string,helperContainer:c.a.oneOfType([c.a.func,typeof HTMLElement=="undefined"?c.a.any:c.a.instanceOf(HTMLElement)]),hideSortableGhost:c.a.bool,keyboardSortingTransitionDuration:c.a.number,lockAxis:c.a.string,lockOffset:c.a.oneOfType([c.a.number,c.a.string,c.a.arrayOf(c.a.oneOfType([c.a.number,c.a.string]))]),lockToContainerEdges:c.a.bool,onSortEnd:c.a.func,onSortMove:c.a.func,onSortOver:c.a.func,onSortStart:c.a.func,pressDelay:c.a.number,pressThreshold:c.a.number,keyCodes:c.a.shape({lift:c.a.arrayOf(c.a.number),drop:c.a.arrayOf(c.a.number),cancel:c.a.arrayOf(c.a.number),up:c.a.arrayOf(c.a.number),down:c.a.arrayOf(c.a.number)}),shouldCancelStart:c.a.func,transitionDuration:c.a.number,updateBeforeSortStart:c.a.func,useDragHandle:c.a.bool,useWindowAsScrollContainer:c.a.bool},he={lift:[we.SPACE],drop:[we.SPACE],cancel:[we.ESC],up:[we.UP,we.LEFT],down:[we.DOWN,we.RIGHT]},Ze={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Ae,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:he,shouldCancelStart:je,transitionDuration:300,useWindowAsScrollContainer:!1},oe=Object.keys(ee);function Q(Ne){h()(!(Ne.distance&&Ne.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 G(Ne,de){try{var ve=Ne()}catch(Me){return de(!0,Me)}return ve&&ve.then?ve.then(de.bind(null,!1),de.bind(null,!0)):de(!1,value)}function te(Ne){var de,ve,Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ve=de=function(qe){Object(l.a)(gt,qe);function gt(ht){var Pe;return Object(p.a)(this,gt),Pe=Object(f.a)(this,Object(d.a)(gt).call(this,ht)),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"state",{}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleStart",function(It){var nt=Pe.props,Nt=nt.distance,Bt=nt.shouldCancelStart;if(It.button===2||Bt(It))return;Pe.touched=!0,Pe.position=B(It);var Pt=D(It.target,function(Dt){return Dt.sortableInfo!=null});if(Pt&&Pt.sortableInfo&&Pe.nodeIsChild(Pt)&&!Pe.state.sorting){var jt=Pe.props.useDragHandle,er=Pt.sortableInfo,at=er.index,Ce=er.collection,ue=er.disabled;if(ue)return;if(jt&&!D(It.target,Te))return;Pe.manager.active={collection:Ce,index:at},!V(It)&&It.target.tagName===ie.Anchor&&It.preventDefault(),Nt||(Pe.props.pressDelay===0?Pe.handlePress(It):Pe.pressTimer=setTimeout(function(){return Pe.handlePress(It)},Pe.props.pressDelay))}}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"nodeIsChild",function(It){return It.sortableInfo.manager===Pe.manager}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleMove",function(It){var nt=Pe.props,Nt=nt.distance,Bt=nt.pressThreshold;if(!Pe.state.sorting&&Pe.touched&&!Pe._awaitingUpdateBeforeSortStart){var Pt=B(It),jt={x:Pe.position.x-Pt.x,y:Pe.position.y-Pt.y},er=Math.abs(jt.x)+Math.abs(jt.y);Pe.delta=jt,!Nt&&(!Bt||er>=Bt)?(clearTimeout(Pe.cancelTimer),Pe.cancelTimer=setTimeout(Pe.cancel,0)):Nt&&er>=Nt&&Pe.manager.isActive()&&Pe.handlePress(It)}}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleEnd",function(){Pe.touched=!1,Pe.cancel()}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"cancel",function(){var It=Pe.props.distance,nt=Pe.state.sorting;nt||(It||clearTimeout(Pe.pressTimer),Pe.manager.active=null)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handlePress",function(It){try{var nt=Pe.manager.getActive(),Nt=function(){if(nt){var Bt=function(){var yr=ye.sortableInfo.index,gn=k(ye),_r=ne(Pe.container),ur=Pe.scrollContainer.getBoundingClientRect(),zt=er({index:yr,node:ye,collection:Xt});if(Pe.node=ye,Pe.margin=gn,Pe.gridGap=_r,Pe.width=zt.width,Pe.height=zt.height,Pe.marginOffset={x:Pe.margin.left+Pe.margin.right+Pe.gridGap.x,y:Math.max(Pe.margin.top,Pe.margin.bottom,Pe.gridGap.y)},Pe.boundingClientRect=ye.getBoundingClientRect(),Pe.containerBoundingRect=ur,Pe.index=yr,Pe.newIndex=yr,Pe.axis={x:jt.indexOf("x")>=0,y:jt.indexOf("y")>=0},Pe.offsetEdge=z(ye,Pe.container),pr?Pe.initialOffset=B(Object(E.a)({},It,{pageX:Pe.boundingClientRect.left,pageY:Pe.boundingClientRect.top})):Pe.initialOffset=B(It),Pe.initialScroll={left:Pe.scrollContainer.scrollLeft,top:Pe.scrollContainer.scrollTop},Pe.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Pe.helper=Pe.helperContainer.appendChild(me(ye)),S(Pe.helper,{boxSizing:"border-box",height:"".concat(Pe.height,"px"),left:"".concat(Pe.boundingClientRect.left-gn.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Pe.boundingClientRect.top-gn.top,"px"),width:"".concat(Pe.width,"px")}),pr&&Pe.helper.focus(),Ce&&(Pe.sortableGhost=ye,S(ye,{opacity:0,visibility:"hidden"})),Pe.minTranslate={},Pe.maxTranslate={},pr){var bt=rt?{top:0,left:0,width:Pe.contentWindow.innerWidth,height:Pe.contentWindow.innerHeight}:Pe.containerBoundingRect,ot=bt.top,lr=bt.left,jr=bt.width,Rr=bt.height,xr=ot+Rr,Vn=lr+jr;Pe.axis.x&&(Pe.minTranslate.x=lr-Pe.boundingClientRect.left,Pe.maxTranslate.x=Vn-(Pe.boundingClientRect.left+Pe.width)),Pe.axis.y&&(Pe.minTranslate.y=ot-Pe.boundingClientRect.top,Pe.maxTranslate.y=xr-(Pe.boundingClientRect.top+Pe.height))}else Pe.axis.x&&(Pe.minTranslate.x=(rt?0:ur.left)-Pe.boundingClientRect.left-Pe.width/2,Pe.maxTranslate.x=(rt?Pe.contentWindow.innerWidth:ur.left+ur.width)-Pe.boundingClientRect.left-Pe.width/2),Pe.axis.y&&(Pe.minTranslate.y=(rt?0:ur.top)-Pe.boundingClientRect.top-Pe.height/2,Pe.maxTranslate.y=(rt?Pe.contentWindow.innerHeight:ur.top+ur.height)-Pe.boundingClientRect.top-Pe.height/2);at&&at.split(" ").forEach(function(bn){return Pe.helper.classList.add(bn)}),Pe.listenerNode=It.touches?ye:Pe.contentWindow,pr?(Pe.listenerNode.addEventListener("wheel",Pe.handleKeyEnd,!0),Pe.listenerNode.addEventListener("mousedown",Pe.handleKeyEnd,!0),Pe.listenerNode.addEventListener("keydown",Pe.handleKeyDown)):(T.move.forEach(function(bn){return Pe.listenerNode.addEventListener(bn,Pe.handleSortMove,!1)}),T.end.forEach(function(bn){return Pe.listenerNode.addEventListener(bn,Pe.handleSortEnd,!1)})),Pe.setState({sorting:!0,sortingIndex:yr}),Dt&&Dt({node:ye,index:yr,collection:Xt,isKeySorting:pr,nodes:Pe.manager.getOrderedRefs(),helper:Pe.helper},It),pr&&Pe.keyMove(0)},Pt=Pe.props,jt=Pt.axis,er=Pt.getHelperDimensions,at=Pt.helperClass,Ce=Pt.hideSortableGhost,ue=Pt.updateBeforeSortStart,Dt=Pt.onSortStart,rt=Pt.useWindowAsScrollContainer,ye=nt.node,Xt=nt.collection,pr=Pe.manager.isKeySorting,mt=function(){if(typeof ue=="function"){Pe._awaitingUpdateBeforeSortStart=!0;var nr=G(function(){var yr=ye.sortableInfo.index;return Promise.resolve(ue({collection:Xt,index:yr,node:ye,isKeySorting:pr},It)).then(function(){})},function(yr,gn){if(Pe._awaitingUpdateBeforeSortStart=!1,yr)throw gn;return gn});if(nr&&nr.then)return nr.then(function(){})}}();return mt&&mt.then?mt.then(Bt):Bt(mt)}}();return Promise.resolve(Nt&&Nt.then?Nt.then(function(){}):void 0)}catch(Bt){return Promise.reject(Bt)}}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleSortMove",function(It){var nt=Pe.props.onSortMove;typeof It.preventDefault=="function"&&It.preventDefault(),Pe.updateHelperPosition(It),Pe.animateNodes(),Pe.autoscroll(),nt&&nt(It)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleSortEnd",function(It){var nt=Pe.props,Nt=nt.hideSortableGhost,Bt=nt.onSortEnd,Pt=Pe.manager,jt=Pt.active.collection,er=Pt.isKeySorting,at=Pe.manager.getOrderedRefs();Pe.listenerNode&&(er?(Pe.listenerNode.removeEventListener("wheel",Pe.handleKeyEnd,!0),Pe.listenerNode.removeEventListener("mousedown",Pe.handleKeyEnd,!0),Pe.listenerNode.removeEventListener("keydown",Pe.handleKeyDown)):(T.move.forEach(function(ye){return Pe.listenerNode.removeEventListener(ye,Pe.handleSortMove)}),T.end.forEach(function(ye){return Pe.listenerNode.removeEventListener(ye,Pe.handleSortEnd)}))),Pe.helper.parentNode.removeChild(Pe.helper),Nt&&Pe.sortableGhost&&S(Pe.sortableGhost,{opacity:"",visibility:""});for(var Ce=0,ue=at.length;Ce<ue;Ce++){var Dt=at[Ce],rt=Dt.node;Dt.edgeOffset=null,Dt.boundingClientRect=null,_(rt,null),L(rt,null),Dt.translate=null}Pe.autoScroller.clear(),Pe.manager.active=null,Pe.manager.isKeySorting=!1,Pe.setState({sorting:!1,sortingIndex:null}),typeof Bt=="function"&&Bt({collection:jt,newIndex:Pe.newIndex,oldIndex:Pe.index,isKeySorting:er,nodes:at},It),Pe.touched=!1}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"autoscroll",function(){var It=Pe.props.disableAutoscroll,nt=Pe.manager.isKeySorting;if(It){Pe.autoScroller.clear();return}if(nt){var Nt=Object(E.a)({},Pe.translate),Bt=0,Pt=0;Pe.axis.x&&(Nt.x=Math.min(Pe.maxTranslate.x,Math.max(Pe.minTranslate.x,Pe.translate.x)),Bt=Pe.translate.x-Nt.x),Pe.axis.y&&(Nt.y=Math.min(Pe.maxTranslate.y,Math.max(Pe.minTranslate.y,Pe.translate.y)),Pt=Pe.translate.y-Nt.y),Pe.translate=Nt,_(Pe.helper,Pe.translate),Pe.scrollContainer.scrollLeft+=Bt,Pe.scrollContainer.scrollTop+=Pt;return}Pe.autoScroller.update({height:Pe.height,maxTranslate:Pe.maxTranslate,minTranslate:Pe.minTranslate,translate:Pe.translate,width:Pe.width})}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"onAutoScroll",function(It){Pe.translate.x+=It.left,Pe.translate.y+=It.top,Pe.animateNodes()}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleKeyDown",function(It){var nt=It.keyCode,Nt=Pe.props,Bt=Nt.shouldCancelStart,Pt=Nt.keyCodes,jt=Pt===void 0?{}:Pt,er=Object(E.a)({},he,jt);if(Pe.manager.active&&!Pe.manager.isKeySorting||!Pe.manager.active&&(!er.lift.includes(nt)||Bt(It)||!Pe.isValidSortingTarget(It)))return;It.stopPropagation(),It.preventDefault(),er.lift.includes(nt)&&!Pe.manager.active?Pe.keyLift(It):er.drop.includes(nt)&&Pe.manager.active?Pe.keyDrop(It):er.cancel.includes(nt)?(Pe.newIndex=Pe.manager.active.index,Pe.keyDrop(It)):er.up.includes(nt)?Pe.keyMove(-1):er.down.includes(nt)&&Pe.keyMove(1)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"keyLift",function(It){var nt=It.target,Nt=D(nt,function(er){return er.sortableInfo!=null}),Bt=Nt.sortableInfo,Pt=Bt.index,jt=Bt.collection;Pe.initialFocusedNode=nt,Pe.manager.isKeySorting=!0,Pe.manager.active={index:Pt,collection:jt},Pe.handlePress(It)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"keyMove",function(It){var nt=Pe.manager.getOrderedRefs(),Nt=nt[nt.length-1].node.sortableInfo.index,Bt=Pe.newIndex+It,Pt=Pe.newIndex;if(Bt<0||Bt>Nt)return;Pe.prevIndex=Pt,Pe.newIndex=Bt;var jt=X(Pe.newIndex,Pe.prevIndex,Pe.index),er=nt.find(function(pr){var mt=pr.node;return mt.sortableInfo.index===jt}),at=er.node,Ce=Pe.containerScrollDelta,ue=er.boundingClientRect||Z(at,Ce),Dt=er.translate||{x:0,y:0},rt={top:ue.top+Dt.y-Ce.top,left:ue.left+Dt.x-Ce.left},ye=Pt<Bt,Xt={x:ye&&Pe.axis.x?at.offsetWidth-Pe.width:0,y:ye&&Pe.axis.y?at.offsetHeight-Pe.height:0};Pe.handleSortMove({pageX:rt.left+Xt.x,pageY:rt.top+Xt.y,ignoreTransition:It===0})}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"keyDrop",function(It){Pe.handleSortEnd(It),Pe.initialFocusedNode&&Pe.initialFocusedNode.focus()}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"handleKeyEnd",function(It){Pe.manager.active&&Pe.keyDrop(It)}),Object(t.a)(Object(n.a)(Object(n.a)(Pe)),"isValidSortingTarget",function(It){var nt=Pe.props.useDragHandle,Nt=It.target,Bt=D(Nt,function(Pt){return Pt.sortableInfo!=null});return Bt&&Bt.sortableInfo&&!Bt.sortableInfo.disabled&&(nt?Te(Nt):Nt.sortableInfo)}),Q(ht),Pe.manager=new A,Pe.events={end:Pe.handleEnd,move:Pe.handleMove,start:Pe.handleStart},Pe}return Object(v.a)(gt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Pe=this,It=this.props.useWindowAsScrollContainer,nt=this.getContainer();Promise.resolve(nt).then(function(Nt){Pe.container=Nt,Pe.document=Pe.container.ownerDocument||document;var Bt=Pe.props.contentWindow||Pe.document.defaultView||window;Pe.contentWindow=typeof Bt=="function"?Bt():Bt,Pe.scrollContainer=It?Pe.document.scrollingElement||Pe.document.documentElement:re(Pe.container)||Pe.container,Pe.autoScroller=new We(Pe.scrollContainer,Pe.onAutoScroll),Object.keys(Pe.events).forEach(function(Pt){return T[Pt].forEach(function(jt){return Pe.container.addEventListener(jt,Pe.events[Pt],!1)})}),Pe.container.addEventListener("keydown",Pe.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Pe=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(It){return T[It].forEach(function(nt){return Pe.container.removeEventListener(nt,Pe.events[It])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Pe){var It=this.props,nt=It.lockAxis,Nt=It.lockOffset,Bt=It.lockToContainerEdges,Pt=It.transitionDuration,jt=It.keyboardSortingTransitionDuration,er=jt===void 0?Pt:jt,at=this.manager.isKeySorting,Ce=Pe.ignoreTransition,ue=B(Pe),Dt={x:ue.x-this.initialOffset.x,y:ue.y-this.initialOffset.y};if(Dt.y-=window.pageYOffset-this.initialWindowScroll.top,Dt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=Dt,Bt){var rt=q({height:this.height,lockOffset:Nt,width:this.width}),ye=Object(m.a)(rt,2),Xt=ye[0],pr=ye[1],mt={x:this.width/2-Xt.x,y:this.height/2-Xt.y},nr={x:this.width/2-pr.x,y:this.height/2-pr.y};Dt.x=F(this.minTranslate.x+mt.x,this.maxTranslate.x-nr.x,Dt.x),Dt.y=F(this.minTranslate.y+mt.y,this.maxTranslate.y-nr.y,Dt.y)}nt==="x"?Dt.y=0:nt==="y"&&(Dt.x=0),at&&er&&!Ce&&L(this.helper,er),_(this.helper,Dt)}},{key:"animateNodes",value:function(){var Pe=this.props,It=Pe.transitionDuration,nt=Pe.hideSortableGhost,Nt=Pe.onSortOver,Bt=this.containerScrollDelta,Pt=this.windowScrollDelta,jt=this.manager.getOrderedRefs(),er={left:this.offsetEdge.left+this.translate.x+Bt.left,top:this.offsetEdge.top+this.translate.y+Bt.top},at=this.manager.isKeySorting,Ce=this.newIndex;this.newIndex=null;for(var ue=0,Dt=jt.length;ue<Dt;ue++){var rt=jt[ue].node,ye=rt.sortableInfo.index,Xt=rt.offsetWidth,pr=rt.offsetHeight,mt={height:this.height>pr?pr/2:this.height/2,width:this.width>Xt?Xt/2:this.width/2},nr=at&&ye>this.index&&ye<=Ce,yr=at&&ye<this.index&&ye>=Ce,gn={x:0,y:0},_r=jt[ue].edgeOffset;_r||(_r=z(rt,this.container),jt[ue].edgeOffset=_r,at&&(jt[ue].boundingClientRect=Z(rt,Bt)));var ur=ue<jt.length-1&&jt[ue+1],zt=ue>0&&jt[ue-1];if(ur&&!ur.edgeOffset&&(ur.edgeOffset=z(ur.node,this.container),at&&(ur.boundingClientRect=Z(ur.node,Bt))),ye===this.index){nt&&(this.sortableGhost=rt,S(rt,{opacity:0,visibility:"hidden"}));continue}It&&L(rt,It),this.axis.x?this.axis.y?yr||ye<this.index&&(er.left+Pt.left-mt.width<=_r.left&&er.top+Pt.top<=_r.top+mt.height||er.top+Pt.top+mt.height<=_r.top)?(gn.x=this.width+this.marginOffset.x,_r.left+gn.x>this.containerBoundingRect.width-mt.width&&(ur&&(gn.x=ur.edgeOffset.left-_r.left,gn.y=ur.edgeOffset.top-_r.top)),this.newIndex===null&&(this.newIndex=ye)):(nr||ye>this.index&&(er.left+Pt.left+mt.width>=_r.left&&er.top+Pt.top+mt.height>=_r.top||er.top+Pt.top+mt.height>=_r.top+pr))&&(gn.x=-(this.width+this.marginOffset.x),_r.left+gn.x<this.containerBoundingRect.left+mt.width&&(zt&&(gn.x=zt.edgeOffset.left-_r.left,gn.y=zt.edgeOffset.top-_r.top)),this.newIndex=ye):nr||ye>this.index&&er.left+Pt.left+mt.width>=_r.left?(gn.x=-(this.width+this.marginOffset.x),this.newIndex=ye):(yr||ye<this.index&&er.left+Pt.left<=_r.left+mt.width)&&(gn.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=ye)):this.axis.y&&(nr||ye>this.index&&er.top+Pt.top+mt.height>=_r.top?(gn.y=-(this.height+this.marginOffset.y),this.newIndex=ye):(yr||ye<this.index&&er.top+Pt.top<=_r.top+mt.height)&&(gn.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=ye))),_(rt,gn),jt[ue].translate=gn}this.newIndex==null&&(this.newIndex=this.index),at&&(this.newIndex=Ce);var bt=at?this.prevIndex:Ce;Nt&&this.newIndex!==bt&&Nt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:bt,isKeySorting:at,nodes:jt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return h()(Me.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 Pe=this.props.getContainer;return typeof Pe!="function"?Object(e.findDOMNode)(this):Pe(Me.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Pe=Me.withRef?"wrappedInstance":null;return Object(a.createElement)(Ne,Object(y.a)({ref:Pe},C(this.props,oe)))}},{key:"helperContainer",get:function(){var Pe=this.props.helperContainer;return typeof Pe=="function"?Pe():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Pe=this.props.useWindowAsScrollContainer;return Pe?{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}}}]),gt}(a.Component),Object(t.a)(de,"displayName",K("sortableList",Ne)),Object(t.a)(de,"defaultProps",Ze),Object(t.a)(de,"propTypes",ee),Object(t.a)(de,"childContextTypes",{manager:c.a.object.isRequired}),ve}var xe={index:c.a.number.isRequired,collection:c.a.oneOfType([c.a.number,c.a.string]),disabled:c.a.bool},fe=Object.keys(xe);function Be(Ne){var de,ve,Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ve=de=function(qe){Object(l.a)(gt,qe);function gt(){return Object(p.a)(this,gt),Object(f.a)(this,Object(d.a)(gt).apply(this,arguments))}return Object(v.a)(gt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Pe){this.node&&(Pe.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Pe.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Pe.collection!==this.props.collection&&(this.unregister(Pe.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Pe=this.props,It=Pe.collection,nt=Pe.disabled,Nt=Pe.index,Bt=Object(e.findDOMNode)(this);Bt.sortableInfo={collection:It,disabled:nt,index:Nt,manager:this.context.manager},this.node=Bt,this.ref={node:Bt},this.context.manager.add(It,this.ref)}},{key:"unregister",value:function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Pe,this.ref)}},{key:"getWrappedInstance",value:function(){return h()(Me.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 Pe=Me.withRef?"wrappedInstance":null;return Object(a.createElement)(Ne,Object(y.a)({ref:Pe},C(this.props,fe)))}}]),gt}(a.Component),Object(t.a)(de,"displayName",K("sortableElement",Ne)),Object(t.a)(de,"contextTypes",{manager:c.a.object.isRequired}),Object(t.a)(de,"propTypes",xe),Object(t.a)(de,"defaultProps",{collection:0}),ve}},YNAk:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("QyFq")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CaretDownFilled";var l=p.forwardRef(d);R.default=l},YNf1:function(U,R,i){var y=i("IwbS"),m=i("6Ic6"),E=.3,p=m.extend({type:"parallel",init:function(){this._dataGroup=new y.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(s,r,c,e){var o=this._dataGroup,u=s.getData(),h=this._data,g=s.coordinateSystem,A=g.dimensions,w=l(s);u.diff(h).add(x).update(C).remove(T).execute();function x(S){var _=d(u,o,S,A,g);n(_,u,S,w)}function C(S,_){var L=h.getItemGraphicEl(_),D=f(u,S,A,g);u.setItemGraphicEl(S,L);var F=e&&e.animation===!1?null:s;y.updateProps(L,{shape:{points:D}},F,S),n(L,u,S,w)}function T(S){var _=h.getItemGraphicEl(S);o.remove(_)}if(!this._initialized){this._initialized=!0;var O=v(g,s,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(O)}this._data=u},incrementalPrepareRender:function(s,r,c){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(s,r,c){for(var e=r.getData(),o=r.coordinateSystem,u=o.dimensions,h=l(r),g=s.start;g<s.end;g++){var A=d(e,this._dataGroup,g,u,o);A.incremental=!0,n(A,e,g,h)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function v(s,r,c){var e=s.model,o=s.getRect(),u=new y.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),h=e.get("layout")==="horizontal"?"width":"height";return u.setShape(h,0),y.initProps(u,{shape:{width:o.width,height:o.height}},r,c),u}function f(s,r,c,e){for(var o=[],u=0;u<c.length;u++){var h=c[u],g=s.get(s.mapDimension(h),r);t(g,e.getAxis(h).type)||o.push(e.dataToPoint(g,h))}return o}function d(s,r,c,e,o){var u=f(s,c,e,o),h=new y.Polyline({shape:{points:u},silent:!0,z2:10});return r.add(h),s.setItemGraphicEl(c,h),h}function l(s){var r=s.get("smooth",!0);return r===!0&&(r=E),{lineStyle:s.getModel("lineStyle").getLineStyle(),smooth:r!=null?r:E}}function n(s,r,c,e){var o=e.lineStyle;if(r.hasItemOption){var u=r.getItemModel(c).getModel("lineStyle");o=u.getLineStyle()}s.useStyle(o);var h=s.style;h.fill=null,h.stroke=r.getItemVisual(c,"color"),h.opacity=r.getItemVisual(c,"opacity"),e.smooth&&(s.shape.smooth=e.smooth)}function t(s,r){return r==="category"?s==null:s==null||isNaN(s)}var a=p;U.exports=a},YOMW:function(U,R,i){var y=i("bYtY"),m={get:function(v,f,d){var l=y.clone((E[v]||{})[f]);return d&&y.isArray(l)?l[l.length-1]:l}},E={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]}},p=m;U.exports=p},YXkt:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("Qxkt"),v=i("gPAo"),f=i("7G+c"),d=i("KxfA"),l=d.defaultDimValueGetters,n=d.DefaultDataProvider,t=i("L0Ub"),a=t.summarizeDimensions,s=i("Vi4m"),r=E.isObject,c="undefined",e=-1,o="e\0\0",u={float:typeof Float64Array===c?Array:Float64Array,int:typeof Int32Array===c?Array:Int32Array,ordinal:Array,number:Array,time:Array},h=typeof Uint32Array===c?Array:Uint32Array,g=typeof Int32Array===c?Array:Int32Array,A=typeof Uint16Array===c?Array:Uint16Array;function w(Y){return Y._rawCount>65535?h:A}function x(Y){var re=Y.constructor;return re===Array?Y.slice():new re(Y)}var C=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function O(Y,re){E.each(C.concat(re.__wrappedMethods||[]),function(ne){re.hasOwnProperty(ne)&&(Y[ne]=re[ne])}),Y.__wrappedMethods=re.__wrappedMethods,E.each(T,function(ne){Y[ne]=E.clone(re[ne])}),Y._calculationInfo=E.extend(re._calculationInfo)}var S=function(Y,re){Y=Y||["x","y"];for(var ne={},we=[],ie={},me=0;me<Y.length;me++){var _e=Y[me];E.isString(_e)?_e=new s({name:_e}):_e instanceof s||(_e=new s(_e));var Te=_e.name;_e.type=_e.type||"float",_e.coordDim||(_e.coordDim=Te,_e.coordDimIndex=0),_e.otherDims=_e.otherDims||{},we.push(Te),ne[Te]=_e,_e.index=me,_e.createInvertedIndices&&(ie[Te]=[])}this.dimensions=we,this._dimensionInfos=ne,this.hostModel=re,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=a(this),this._invertedIndicesMap=ie,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},_=S.prototype;_.type="list",_.hasItemOption=!0,_.getDimension=function(Y){return(typeof Y=="number"||!isNaN(Y)&&!this._dimensionInfos.hasOwnProperty(Y))&&(Y=this.dimensions[Y]),Y},_.getDimensionInfo=function(Y){return this._dimensionInfos[this.getDimension(Y)]},_.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},_.mapDimension=function(Y,re){var ne=this._dimensionsSummary;if(re==null)return ne.encodeFirstDimNotExtra[Y];var we=ne.encode[Y];return re===!0?(we||[]).slice():we&&we[re]},_.initData=function(Y,re,ne){var we=f.isInstance(Y)||E.isArrayLike(Y);we&&(Y=new n(Y,this.dimensions.length)),this._rawData=Y,this._storage={},this._indices=null,this._nameList=re||[],this._idList=[],this._nameRepeatCount={},ne||(this.hasItemOption=!1),this.defaultDimValueGetter=l[this._rawData.getSource().sourceFormat],this._dimValueGetter=ne=ne||this.defaultDimValueGetter,this._dimValueGetterArrayRows=l.arrayRows,this._rawExtent={},this._initDataFromProvider(0,Y.count()),Y.pure&&(this.hasItemOption=!1)},_.getProvider=function(){return this._rawData},_.appendData=function(Y){var re=this._rawData,ne=this.count();re.appendData(Y);var we=re.count();re.persistent||(we+=ne),this._initDataFromProvider(ne,we)},_.appendValues=function(Y,re){for(var ne=this._chunkSize,we=this._storage,ie=this.dimensions,me=ie.length,_e=this._rawExtent,Te=this.count(),We=Te+Math.max(Y.length,re?re.length:0),Ae=this._chunkCount,je=0;je<me;je++){var ee=ie[je];_e[ee]||(_e[ee]=X()),we[ee]||(we[ee]=[]),L(we,this._dimensionInfos[ee],ne,Ae,We),this._chunkCount=we[ee].length}for(var he=new Array(me),Ze=Te;Ze<We;Ze++){for(var oe=Ze-Te,Q=Math.floor(Ze/ne),G=Ze%ne,te=0;te<me;te++){var ee=ie[te],xe=this._dimValueGetterArrayRows(Y[oe]||he,ee,oe,te);we[ee][Q][G]=xe;var fe=_e[ee];xe<fe[0]&&(fe[0]=xe),xe>fe[1]&&(fe[1]=xe)}re&&(this._nameList[Ze]=re[oe])}this._rawCount=this._count=We,this._extent={},D(this)},_._initDataFromProvider=function(Y,re){if(Y>=re)return;for(var ne=this._chunkSize,we=this._rawData,ie=this._storage,me=this.dimensions,_e=me.length,Te=this._dimensionInfos,We=this._nameList,Ae=this._idList,je=this._rawExtent,ee=this._nameRepeatCount={},he,Ze=this._chunkCount,oe=0;oe<_e;oe++){var Q=me[oe];je[Q]||(je[Q]=X());var G=Te[Q];G.otherDims.itemName===0&&(he=this._nameDimIdx=oe),G.otherDims.itemId===0&&(this._idDimIdx=oe),ie[Q]||(ie[Q]=[]),L(ie,G,ne,Ze,re),this._chunkCount=ie[Q].length}for(var te=new Array(_e),xe=Y;xe<re;xe++){te=we.getItem(xe,te);for(var fe=Math.floor(xe/ne),Be=xe%ne,Ne=0;Ne<_e;Ne++){var Q=me[Ne],de=ie[Q][fe],ve=this._dimValueGetter(te,Q,xe,Ne);de[Be]=ve;var Me=je[Q];ve<Me[0]&&(Me[0]=ve),ve>Me[1]&&(Me[1]=ve)}if(!we.pure){var qe=We[xe];if(te&&qe==null){if(te.name!=null)We[xe]=qe=te.name;else if(he!=null){var gt=me[he],ht=ie[gt][fe];if(ht){qe=ht[Be];var Pe=Te[gt].ordinalMeta;Pe&&Pe.categories.length&&(qe=Pe.categories[qe])}}}var It=te==null?null:te.id;It==null&&qe!=null&&(ee[qe]=ee[qe]||0,It=qe,ee[qe]>0&&(It+="__ec__"+ee[qe]),ee[qe]++),It!=null&&(Ae[xe]=It)}}!we.persistent&&we.clean&&we.clean(),this._rawCount=this._count=re,this._extent={},D(this)};function L(Y,re,ne,we,ie){var me=u[re.type],_e=we-1,Te=re.name,We=Y[Te][_e];if(We&&We.length<ne){for(var Ae=new me(Math.min(ie-_e*ne,ne)),je=0;je<We.length;je++)Ae[je]=We[je];Y[Te][_e]=Ae}for(var ee=we*ne;ee<ie;ee+=ne)Y[Te].push(new me(Math.min(ie-ee,ne)))}function D(Y){var re=Y._invertedIndicesMap;E.each(re,function(ne,we){var ie=Y._dimensionInfos[we],me=ie.ordinalMeta;if(me){ne=re[we]=new g(me.categories.length);for(var _e=0;_e<ne.length;_e++)ne[_e]=e;for(var _e=0;_e<Y._count;_e++)ne[Y.get(we,_e)]=_e}})}function F(Y,re,ne){var we;if(re!=null){var ie=Y._chunkSize,me=Math.floor(ne/ie),_e=ne%ie,Te=Y.dimensions[re],We=Y._storage[Te][me];if(We){we=We[_e];var Ae=Y._dimensionInfos[Te].ordinalMeta;Ae&&Ae.categories.length&&(we=Ae.categories[we])}}return we}_.count=function(){return this._count},_.getIndices=function(){var Y,re=this._indices;if(re){var ne=re.constructor,we=this._count;if(ne===Array){Y=new ne(we);for(var ie=0;ie<we;ie++)Y[ie]=re[ie]}else Y=new ne(re.buffer,0,we)}else for(var ne=w(this),Y=new ne(this.count()),ie=0;ie<Y.length;ie++)Y[ie]=ie;return Y},_.get=function(Y,re){if(!(re>=0&&re<this._count))return NaN;var ne=this._storage;if(!ne[Y])return NaN;re=this.getRawIndex(re);var we=Math.floor(re/this._chunkSize),ie=re%this._chunkSize,me=ne[Y][we],_e=me[ie];return _e},_.getByRawIndex=function(Y,re){if(!(re>=0&&re<this._rawCount))return NaN;var ne=this._storage[Y];if(!ne)return NaN;var we=Math.floor(re/this._chunkSize),ie=re%this._chunkSize,me=ne[we];return me[ie]},_._getFast=function(Y,re){var ne=Math.floor(re/this._chunkSize),we=re%this._chunkSize,ie=this._storage[Y][ne];return ie[we]},_.getValues=function(Y,re){var ne=[];E.isArray(Y)||(re=Y,Y=this.dimensions);for(var we=0,ie=Y.length;we<ie;we++)ne.push(this.get(Y[we],re));return ne},_.hasValue=function(Y){for(var re=this._dimensionsSummary.dataDimsOnCoord,ne=0,we=re.length;ne<we;ne++)if(isNaN(this.get(re[ne],Y)))return!1;return!0},_.getDataExtent=function(Y){Y=this.getDimension(Y);var re=this._storage[Y],ne=X();if(!re)return ne;var we=this.count(),ie=!this._indices,me;if(ie)return this._rawExtent[Y].slice();if(me=this._extent[Y],me)return me.slice();me=ne;for(var _e=me[0],Te=me[1],We=0;We<we;We++){var Ae=this._getFast(Y,this.getRawIndex(We));Ae<_e&&(_e=Ae),Ae>Te&&(Te=Ae)}return me=[_e,Te],this._extent[Y]=me,me},_.getApproximateExtent=function(Y){return Y=this.getDimension(Y),this._approximateExtent[Y]||this.getDataExtent(Y)},_.setApproximateExtent=function(Y,re){re=this.getDimension(re),this._approximateExtent[re]=Y.slice()},_.getCalculationInfo=function(Y){return this._calculationInfo[Y]},_.setCalculationInfo=function(Y,re){r(Y)?E.extend(this._calculationInfo,Y):this._calculationInfo[Y]=re},_.getSum=function(Y){var re=this._storage[Y],ne=0;if(re)for(var we=0,ie=this.count();we<ie;we++){var me=this.get(Y,we);isNaN(me)||(ne+=me)}return ne},_.getMedian=function(Y){var re=[];this.each(Y,function(ie,me){isNaN(ie)||re.push(ie)});var ne=[].concat(re).sort(function(ie,me){return ie-me}),we=this.count();return we===0?0:we%2===1?ne[(we-1)/2]:(ne[we/2]+ne[we/2-1])/2},_.rawIndexOf=function(Y,re){var ne=Y&&this._invertedIndicesMap[Y],we=ne[re];return we==null||isNaN(we)?e:we},_.indexOfName=function(Y){for(var re=0,ne=this.count();re<ne;re++)if(this.getName(re)===Y)return re;return-1},_.indexOfRawIndex=function(Y){if(Y>=this._rawCount||Y<0)return-1;if(!this._indices)return Y;var re=this._indices,ne=re[Y];if(ne!=null&&ne<this._count&&ne===Y)return Y;for(var we=0,ie=this._count-1;we<=ie;){var me=(we+ie)/2|0;if(re[me]<Y)we=me+1;else if(re[me]>Y)ie=me-1;else return me}return-1},_.indicesOfNearest=function(Y,re,ne){var we=this._storage,ie=we[Y],me=[];if(!ie)return me;ne==null&&(ne=Infinity);for(var _e=Infinity,Te=-1,We=0,Ae=0,je=this.count();Ae<je;Ae++){var ee=re-this.get(Y,Ae),he=Math.abs(ee);he<=ne&&((he<_e||he===_e&&ee>=0&&Te<0)&&(_e=he,Te=ee,We=0),ee===Te&&(me[We++]=Ae))}return me.length=We,me},_.getRawIndex=j;function j(Y){return Y}function k(Y){return Y<this._count&&Y>=0?this._indices[Y]:-1}_.getRawDataItem=function(Y){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(Y));for(var re=[],ne=0;ne<this.dimensions.length;ne++){var we=this.dimensions[ne];re.push(this.get(we,Y))}return re},_.getName=function(Y){var re=this.getRawIndex(Y);return this._nameList[re]||F(this,this._nameDimIdx,re)||""},_.getId=function(Y){return K(this,this.getRawIndex(Y))};function K(Y,re){var ne=Y._idList[re];return ne==null&&(ne=F(Y,Y._idDimIdx,re)),ne==null&&(ne=o+re),ne}function Z(Y){return E.isArray(Y)||(Y=[Y]),Y}function B(Y,re){for(var ne=0;ne<re.length;ne++)Y._dimensionInfos[re[ne]]||console.error("Unkown dimension "+re[ne])}_.each=function(Y,re,ne,we){"use strict";if(!this._count)return;typeof Y=="function"&&(we=ne,ne=re,re=Y,Y=[]),ne=ne||we||this,Y=E.map(Z(Y),this.getDimension,this);for(var ie=Y.length,me=0;me<this.count();me++)switch(ie){case 0:re.call(ne,me);break;case 1:re.call(ne,this.get(Y[0],me),me);break;case 2:re.call(ne,this.get(Y[0],me),this.get(Y[1],me),me);break;default:for(var _e=0,Te=[];_e<ie;_e++)Te[_e]=this.get(Y[_e],me);Te[_e]=me,re.apply(ne,Te)}},_.filterSelf=function(Y,re,ne,we){"use strict";if(!this._count)return;typeof Y=="function"&&(we=ne,ne=re,re=Y,Y=[]),ne=ne||we||this,Y=E.map(Z(Y),this.getDimension,this);for(var ie=this.count(),me=w(this),_e=new me(ie),Te=[],We=Y.length,Ae=0,je=Y[0],ee=0;ee<ie;ee++){var he,Ze=this.getRawIndex(ee);if(We===0)he=re.call(ne,ee);else if(We===1){var oe=this._getFast(je,Ze);he=re.call(ne,oe,ee)}else{for(var Q=0;Q<We;Q++)Te[Q]=this._getFast(je,Ze);Te[Q]=ee,he=re.apply(ne,Te)}he&&(_e[Ae++]=Ze)}return Ae<ie&&(this._indices=_e),this._count=Ae,this._extent={},this.getRawIndex=this._indices?k:j,this},_.selectRange=function(Y){"use strict";if(!this._count)return;var re=[];for(var ne in Y)Y.hasOwnProperty(ne)&&re.push(ne);var we=re.length;if(!we)return;var ie=this.count(),me=w(this),_e=new me(ie),Te=0,We=re[0],Ae=Y[We][0],je=Y[We][1],ee=!1;if(!this._indices){var he=0;if(we===1){for(var Ze=this._storage[re[0]],oe=0;oe<this._chunkCount;oe++)for(var Q=Ze[oe],G=Math.min(this._count-oe*this._chunkSize,this._chunkSize),te=0;te<G;te++){var xe=Q[te];(xe>=Ae&&xe<=je||isNaN(xe))&&(_e[Te++]=he),he++}ee=!0}else if(we===2){for(var Ze=this._storage[We],fe=this._storage[re[1]],Be=Y[re[1]][0],Ne=Y[re[1]][1],oe=0;oe<this._chunkCount;oe++)for(var Q=Ze[oe],de=fe[oe],G=Math.min(this._count-oe*this._chunkSize,this._chunkSize),te=0;te<G;te++){var xe=Q[te],ve=de[te];(xe>=Ae&&xe<=je||isNaN(xe))&&(ve>=Be&&ve<=Ne||isNaN(ve))&&(_e[Te++]=he),he++}ee=!0}}if(!ee)if(we===1)for(var te=0;te<ie;te++){var Me=this.getRawIndex(te),xe=this._getFast(We,Me);(xe>=Ae&&xe<=je||isNaN(xe))&&(_e[Te++]=Me)}else for(var te=0;te<ie;te++){for(var qe=!0,Me=this.getRawIndex(te),oe=0;oe<we;oe++){var gt=re[oe],xe=this._getFast(ne,Me);(xe<Y[gt][0]||xe>Y[gt][1])&&(qe=!1)}qe&&(_e[Te++]=this.getRawIndex(te))}return Te<ie&&(this._indices=_e),this._count=Te,this._extent={},this.getRawIndex=this._indices?k:j,this},_.mapArray=function(Y,re,ne,we){"use strict";typeof Y=="function"&&(we=ne,ne=re,re=Y,Y=[]),ne=ne||we||this;var ie=[];return this.each(Y,function(){ie.push(re&&re.apply(this,arguments))},ne),ie};function V(Y,re){var ne=Y.dimensions,we=new S(E.map(ne,Y.getDimensionInfo,Y),Y.hostModel);O(we,Y);for(var ie=we._storage={},me=Y._storage,_e=0;_e<ne.length;_e++){var Te=ne[_e];me[Te]&&(E.indexOf(re,Te)>=0?(ie[Te]=z(me[Te]),we._rawExtent[Te]=X(),we._extent[Te]=null):ie[Te]=me[Te])}return we}function z(Y){for(var re=new Array(Y.length),ne=0;ne<Y.length;ne++)re[ne]=x(Y[ne]);return re}function X(){return[Infinity,-Infinity]}_.map=function(Y,re,ne,we){"use strict";ne=ne||we||this,Y=E.map(Z(Y),this.getDimension,this);var ie=V(this,Y);ie._indices=this._indices,ie.getRawIndex=ie._indices?k:j;for(var me=ie._storage,_e=[],Te=this._chunkSize,We=Y.length,Ae=this.count(),je=[],ee=ie._rawExtent,he=0;he<Ae;he++){for(var Ze=0;Ze<We;Ze++)je[Ze]=this.get(Y[Ze],he);je[We]=he;var oe=re&&re.apply(ne,je);if(oe!=null){typeof oe!="object"&&(_e[0]=oe,oe=_e);for(var Q=this.getRawIndex(he),G=Math.floor(Q/Te),te=Q%Te,xe=0;xe<oe.length;xe++){var fe=Y[xe],Be=oe[xe],Ne=ee[fe],de=me[fe];de&&(de[G][te]=Be),Be<Ne[0]&&(Ne[0]=Be),Be>Ne[1]&&(Ne[1]=Be)}}}return ie},_.downSample=function(Y,re,ne,we){for(var ie=V(this,[Y]),me=ie._storage,_e=[],Te=Math.floor(1/re),We=me[Y],Ae=this.count(),je=this._chunkSize,ee=ie._rawExtent[Y],he=new(w(this))(Ae),Ze=0,oe=0;oe<Ae;oe+=Te){Te>Ae-oe&&(Te=Ae-oe,_e.length=Te);for(var Q=0;Q<Te;Q++){var G=this.getRawIndex(oe+Q),te=Math.floor(G/je),xe=G%je;_e[Q]=We[te][xe]}var fe=ne(_e),Be=this.getRawIndex(Math.min(oe+we(_e,fe)||0,Ae-1)),Ne=Math.floor(Be/je),de=Be%je;We[Ne][de]=fe,fe<ee[0]&&(ee[0]=fe),fe>ee[1]&&(ee[1]=fe),he[Ze++]=Be}return ie._count=Ze,ie._indices=he,ie.getRawIndex=k,ie},_.getItemModel=function(Y){var re=this.hostModel;return new p(this.getRawDataItem(Y),re,re&&re.ecModel)},_.diff=function(Y){var re=this;return new v(Y?Y.getIndices():[],this.getIndices(),function(ne){return K(Y,ne)},function(ne){return K(re,ne)})},_.getVisual=function(Y){var re=this._visual;return re&&re[Y]},_.setVisual=function(Y,re){if(r(Y)){for(var ne in Y)Y.hasOwnProperty(ne)&&this.setVisual(ne,Y[ne]);return}this._visual=this._visual||{},this._visual[Y]=re},_.setLayout=function(Y,re){if(r(Y)){for(var ne in Y)Y.hasOwnProperty(ne)&&this.setLayout(ne,Y[ne]);return}this._layout[Y]=re},_.getLayout=function(Y){return this._layout[Y]},_.getItemLayout=function(Y){return this._itemLayouts[Y]},_.setItemLayout=function(Y,re,ne){this._itemLayouts[Y]=ne?E.extend(this._itemLayouts[Y]||{},re):re},_.clearItemLayouts=function(){this._itemLayouts.length=0},_.getItemVisual=function(Y,re,ne){var we=this._itemVisuals[Y],ie=we&&we[re];return ie==null&&!ne?this.getVisual(re):ie},_.setItemVisual=function(Y,re,ne){var we=this._itemVisuals[Y]||{},ie=this.hasItemVisual;if(this._itemVisuals[Y]=we,r(re)){for(var me in re)re.hasOwnProperty(me)&&(we[me]=re[me],ie[me]=!0);return}we[re]=ne,ie[re]=!0},_.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var W=function(Y){Y.seriesIndex=this.seriesIndex,Y.dataIndex=this.dataIndex,Y.dataType=this.dataType};_.setItemGraphicEl=function(Y,re){var ne=this.hostModel;re&&(re.dataIndex=Y,re.dataType=this.dataType,re.seriesIndex=ne&&ne.seriesIndex,re.type==="group"&&re.traverse(W,re)),this._graphicEls[Y]=re},_.getItemGraphicEl=function(Y){return this._graphicEls[Y]},_.eachItemGraphicEl=function(Y,re){E.each(this._graphicEls,function(ne,we){ne&&(Y&&Y.call(re,ne,we))})},_.cloneShallow=function(Y){if(!Y){var re=E.map(this.dimensions,this.getDimensionInfo,this);Y=new S(re,this.hostModel)}if(Y._storage=this._storage,O(Y,this),this._indices){var ne=this._indices.constructor;Y._indices=new ne(this._indices)}else Y._indices=null;return Y.getRawIndex=Y._indices?k:j,Y},_.wrapMethod=function(Y,re){var ne=this[Y];if(typeof ne!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(Y),this[Y]=function(){var we=ne.apply(this,arguments);return re.apply(this,[we].concat(E.slice(arguments)))}},_.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],_.CHANGABLE_METHODS=["filterSelf","selectRange"];var q=S;U.exports=q},YgsL:function(U,R,i){var y=i("QBsz"),m=y.distance;function E(v,f,d,l,n,t,a){var s=(d-v)*.5,r=(l-f)*.5;return(2*(f-d)+s+r)*a+(-3*(f-d)-2*s-r)*t+s*n+f}function p(v,f){for(var d=v.length,l=[],n=0,t=1;t<d;t++)n+=m(v[t-1],v[t]);var a=n/2;a=a<d?d:a;for(var t=0;t<a;t++){var s=t/(a-1)*(f?d:d-1),r=Math.floor(s),c=s-r,e,o=v[r%d],u,h;f?(e=v[(r-1+d)%d],u=v[(r+1)%d],h=v[(r+2)%d]):(e=v[r===0?r:r-1],u=v[r>d-2?d-1:r+1],h=v[r>d-3?d-1:r+2]);var g=c*c,A=c*g;l.push([E(e[0],o[0],u[0],h[0],c,g,A),E(e[1],o[1],u[1],h[1],c,g,A)])}return l}U.exports=p},Yl7c:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=".",v="___EC__COMPONENT__CONTAINER___";function f(e){var o={main:"",sub:""};return e&&(e=e.split(p),o.main=e[0]||"",o.sub=e[1]||""),o}function d(e){E.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function l(e,o){e.$constructor=e,e.extend=function(u){var h=this,g=function(){u.$constructor?u.$constructor.apply(this,arguments):h.apply(this,arguments)};return E.extend(g.prototype,u),g.extend=this.extend,g.superCall=a,g.superApply=s,E.inherits(g,this),g.superClass=h,g}}var n=0;function t(e){var o=["__\0is_clz",n++,Math.random().toFixed(3)].join("_");e.prototype[o]=!0,e.isInstance=function(u){return!!(u&&u[o])}}function a(e,o){var u=E.slice(arguments,2);return this.superClass.prototype[o].apply(e,u)}function s(e,o,u){return this.superClass.prototype[o].apply(e,u)}function r(e,o){o=o||{};var u={};e.registerClass=function(A,w){if(w){if(d(w),w=f(w),!w.sub)u[w.main]=A;else if(w.sub!==v){var x=h(w);x[w.sub]=A}}return A},e.getClass=function(A,w,x){var C=u[A];if(C&&C[v]&&(C=w?C[w]:null),x&&!C)throw new Error(w?"Component "+A+"."+(w||"")+" not exists. Load it first.":A+".type should be specified.");return C},e.getClassesByMainType=function(A){A=f(A);var w=[],x=u[A.main];return x&&x[v]?E.each(x,function(C,T){T!==v&&w.push(C)}):w.push(x),w},e.hasClass=function(A){return A=f(A),!!u[A.main]},e.getAllClassMainTypes=function(){var A=[];return E.each(u,function(w,x){A.push(x)}),A},e.hasSubTypes=function(A){A=f(A);var w=u[A.main];return w&&w[v]},e.parseClassType=f;function h(A){var w=u[A.main];return(!w||!w[v])&&(w=u[A.main]={},w[v]=!0),w}if(o.registerWhenExtend){var g=e.extend;g&&(e.extend=function(A){var w=g.call(this,A);return e.registerClass(w,A.type)})}return e}function c(e,o){}R.parseClassType=f,R.enableClassExtend=l,R.enableClassCheck=t,R.enableClassManagement=r,R.setReadOnly=c},Ynxi:function(U,R,i){var y=i("bYtY"),m=i("ProS"),E=i("IwbS"),p=i("+TT/"),v=p.getLayoutRect,f=i("7aKB"),d=f.windowOpen;m.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"}}}),m.extendComponentView({type:"title",render:function(l,n,t){if(this.group.removeAll(),!l.get("show"))return;var a=this.group,s=l.getModel("textStyle"),r=l.getModel("subtextStyle"),c=l.get("textAlign"),e=y.retrieve2(l.get("textBaseline"),l.get("textVerticalAlign")),o=new E.Text({style:E.setTextStyle({},s,{text:l.get("text"),textFill:s.getTextColor()},{disableBox:!0}),z2:10}),u=o.getBoundingRect(),h=l.get("subtext"),g=new E.Text({style:E.setTextStyle({},r,{text:h,textFill:r.getTextColor(),y:u.height+l.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),A=l.get("link"),w=l.get("sublink"),x=l.get("triggerEvent",!0);o.silent=!A&&!x,g.silent=!w&&!x,A&&o.on("click",function(){d(A,"_"+l.get("target"))}),w&&g.on("click",function(){d(A,"_"+l.get("subtarget"))}),o.eventData=g.eventData=x?{componentType:"title",componentIndex:l.componentIndex}:null,a.add(o),h&&a.add(g);var C=a.getBoundingRect(),T=l.getBoxLayoutParams();T.width=C.width,T.height=C.height;var O=v(T,{width:t.getWidth(),height:t.getHeight()},l.get("padding"));c||(c=l.get("left")||l.get("right"),c==="middle"&&(c="center"),c==="right"?O.x+=O.width:c==="center"&&(O.x+=O.width/2)),e||(e=l.get("top")||l.get("bottom"),e==="center"&&(e="middle"),e==="bottom"?O.y+=O.height:e==="middle"&&(O.y+=O.height/2),e=e||"top"),a.attr("position",[O.x,O.y]);var S={textAlign:c,textVerticalAlign:e};o.setStyle(S),g.setStyle(S),C=a.getBoundingRect();var _=O.margin,L=l.getItemStyle(["color","opacity"]);L.fill=l.get("backgroundColor");var D=new E.Rect({shape:{x:C.x-_[3],y:C.y-_[0],width:C.width+_[1]+_[3],height:C.height+_[0]+_[2],r:l.get("borderRadius")},style:L,subPixelOptimize:!0,silent:!0});a.add(D)}})},Ywus:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("DO2E")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DeleteOutlined";var l=p.forwardRef(d);R.default=l},Z0Lh:function(U,R,i){"use strict";var y=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var m=y(i("pVnL")),E=y(i("HjOm")),p=y(i("Z6rY")),v={lang:(0,m.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"]},E.default),timePickerLocale:(0,m.default)({},p.default)};v.lang.ok="\u786E \u5B9A";var f=v;R.default=f},Z1HP:function(U,R,i){var y=i("ycre"),m=i("quyA"),E=i("q4HE");function p(v){return m(v)?E(v):y(v)}U.exports=p},Z1r0:function(U,R){function i(y){var m=y.findComponents({mainType:"legend"});if(!m||!m.length)return;y.eachSeriesByType("graph",function(E){var p=E.getCategoriesData(),v=E.getGraph(),f=v.data,d=p.mapArray(p.getName);f.filterSelf(function(l){var n=f.getItemModel(l),t=n.getShallow("category");if(t!=null){typeof t=="number"&&(t=d[t]);for(var a=0;a<m.length;a++)if(!m[a].isSelected(t))return!1}return!0})},this)}U.exports=i},Z1wy:function(U,R,i){var y=i("ProS");i("ThAp"),i("pmaE"),i("SehX"),i("7uqq");var m=i("zuHt"),E=i("VPsl"),p=i("9u0u"),v=i("lELe"),f=i("d4KN");y.registerLayout(m),y.registerVisual(E),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,p),y.registerPreprocessor(v),f("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(U,R,i){var y=i("MwEJ"),m=i("T4UG"),E=m.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(p,v){return y(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}});U.exports=E},Z6rY:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},m=y;R.default=m},Z8zF:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("IwbS"),f=i("56rv"),d=f.setLabel,l=i("Qxkt"),n=i("tceW"),t=i("y+Vt"),a=i("4fz+"),s=i("iLNv"),r=s.throttle,c=i("sK/D"),e=c.createClipPath,o=i("wr5s"),u=["itemStyle","barBorderWidth"],h=[0,0];p.extend(l.prototype,n);function g(W,q){var Y=W.getArea&&W.getArea();if(W.type==="cartesian2d"){var re=W.getBaseAxis();if(re.type!=="category"||!re.onBand){var ne=q.getLayout("bandWidth");re.isHorizontal()?(Y.x-=ne,Y.width+=ne*2):(Y.y-=ne,Y.height+=ne*2)}}return Y}var A=E.extendChartView({type:"bar",render:function(W,q,Y){this._updateDrawMode(W);var re=W.get("coordinateSystem");return(re==="cartesian2d"||re==="polar")&&(this._isLargeDraw?this._renderLarge(W,q,Y):this._renderNormal(W,q,Y)),this.group},incrementalPrepareRender:function(W,q,Y){this._clear(),this._updateDrawMode(W)},incrementalRender:function(W,q,Y,re){this._incrementalRenderLarge(W,q)},_updateDrawMode:function(W){var q=W.pipelineContext.large;(this._isLargeDraw==null||q^this._isLargeDraw)&&(this._isLargeDraw=q,this._clear())},_renderNormal:function(W,q,Y){var re=this.group,ne=W.getData(),we=this._data,ie=W.coordinateSystem,me=ie.getBaseAxis(),_e;ie.type==="cartesian2d"?_e=me.isHorizontal():ie.type==="polar"&&(_e=me.dim==="angle");var Te=W.isAnimationEnabled()?W:null,We=W.get("clip",!0),Ae=g(ie,ne);re.removeClipPath();var je=W.get("roundCap",!0),ee=W.get("showBackground",!0),he=W.getModel("backgroundStyle"),Ze=he.get("barBorderRadius")||0,oe=[],Q=this._backgroundEls||[];ne.diff(we).add(function(xe){var fe=ne.getItemModel(xe),Be=_[ie.type](ne,xe,fe);if(ee){var Ne=_[ie.type](ne,xe),de=X(ie,_e,Ne);de.useStyle(he.getBarItemStyle()),ie.type==="cartesian2d"&&de.setShape("r",Ze),oe[xe]=de}if(!ne.hasValue(xe))return;if(We){var ve=C[ie.type](Ae,Be);if(ve){re.remove(Me);return}}var Me=T[ie.type](xe,Be,_e,Te,!1,je);ne.setItemGraphicEl(xe,Me),re.add(Me),D(Me,ne,xe,fe,Be,W,_e,ie.type==="polar")}).update(function(xe,fe){var Be=ne.getItemModel(xe),Ne=_[ie.type](ne,xe,Be);if(ee){var de=Q[fe];de.useStyle(he.getBarItemStyle()),ie.type==="cartesian2d"&&de.setShape("r",Ze),oe[xe]=de;var ve=_[ie.type](ne,xe),Me=z(_e,ve,ie);v.updateProps(de,{shape:Me},Te,xe)}var qe=we.getItemGraphicEl(fe);if(!ne.hasValue(xe)){re.remove(qe);return}if(We){var gt=C[ie.type](Ae,Ne);if(gt){re.remove(qe);return}}qe?v.updateProps(qe,{shape:Ne},Te,xe):qe=T[ie.type](xe,Ne,_e,Te,!0,je),ne.setItemGraphicEl(xe,qe),re.add(qe),D(qe,ne,xe,Be,Ne,W,_e,ie.type==="polar")}).remove(function(xe){var fe=we.getItemGraphicEl(xe);ie.type==="cartesian2d"?fe&&O(xe,Te,fe):fe&&S(xe,Te,fe)}).execute();var G=this._backgroundGroup||(this._backgroundGroup=new a);G.removeAll();for(var te=0;te<oe.length;++te)G.add(oe[te]);re.add(G),this._backgroundEls=oe,this._data=ne},_renderLarge:function(W,q,Y){this._clear(),k(W,this.group);var re=W.get("clip",!0)?e(W.coordinateSystem,!1,W):null;re?this.group.setClipPath(re):this.group.removeClipPath()},_incrementalRenderLarge:function(W,q){this._removeBackground(),k(q,this.group,!0)},dispose:p.noop,remove:function(W){this._clear(W)},_clear:function(W){var q=this.group,Y=this._data;W&&W.get("animation")&&Y&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],Y.eachItemGraphicEl(function(re){re.type==="sector"?S(re.dataIndex,W,re):O(re.dataIndex,W,re)})):q.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),w=Math.max,x=Math.min,C={cartesian2d:function(W,q){var Y=q.width<0?-1:1,re=q.height<0?-1:1;Y<0&&(q.x+=q.width,q.width=-q.width),re<0&&(q.y+=q.height,q.height=-q.height);var ne=w(q.x,W.x),we=x(q.x+q.width,W.x+W.width),ie=w(q.y,W.y),me=x(q.y+q.height,W.y+W.height);q.x=ne,q.y=ie,q.width=we-ne,q.height=me-ie;var _e=q.width<0||q.height<0;return Y<0&&(q.x+=q.width,q.width=-q.width),re<0&&(q.y+=q.height,q.height=-q.height),_e},polar:function(W){return!1}},T={cartesian2d:function(W,q,Y,re,ne){var we=new v.Rect({shape:p.extend({},q),z2:1});if(we.name="item",re){var ie=we.shape,me=Y?"height":"width",_e={};ie[me]=0,_e[me]=q[me],v[ne?"updateProps":"initProps"](we,{shape:_e},re,W)}return we},polar:function(W,q,Y,re,ne,we){var ie=q.startAngle<q.endAngle,me=!Y&&we?o:v.Sector,_e=new me({shape:p.defaults({clockwise:ie},q),z2:1});if(_e.name="item",re){var Te=_e.shape,We=Y?"r":"endAngle",Ae={};Te[We]=Y?0:q.startAngle,Ae[We]=q[We],v[ne?"updateProps":"initProps"](_e,{shape:Ae},re,W)}return _e}};function O(W,q,Y){Y.style.text=null,v.updateProps(Y,{shape:{width:0}},q,W,function(){Y.parent&&Y.parent.remove(Y)})}function S(W,q,Y){Y.style.text=null,v.updateProps(Y,{shape:{r:Y.shape.r0}},q,W,function(){Y.parent&&Y.parent.remove(Y)})}var _={cartesian2d:function(W,q,Y){var re=W.getItemLayout(q),ne=Y?F(Y,re):0,we=re.width>0?1:-1,ie=re.height>0?1:-1;return{x:re.x+we*ne/2,y:re.y+ie*ne/2,width:re.width-we*ne,height:re.height-ie*ne}},polar:function(W,q,Y){var re=W.getItemLayout(q);return{cx:re.cx,cy:re.cy,r0:re.r0,r:re.r,startAngle:re.startAngle,endAngle:re.endAngle}}};function L(W){return W.startAngle!=null&&W.endAngle!=null&&W.startAngle===W.endAngle}function D(W,q,Y,re,ne,we,ie,me){var _e=q.getItemVisual(Y,"color"),Te=q.getItemVisual(Y,"opacity"),We=q.getVisual("borderColor"),Ae=re.getModel("itemStyle"),je=re.getModel("emphasis.itemStyle").getBarItemStyle();me||W.setShape("r",Ae.get("barBorderRadius")||0),W.useStyle(p.defaults({stroke:L(ne)?"none":We,fill:L(ne)?"none":_e,opacity:Te},Ae.getBarItemStyle()));var ee=re.getShallow("cursor");ee&&W.attr("cursor",ee);var he=ie?ne.height>0?"bottom":"top":ne.width>0?"left":"right";me||d(W.style,je,re,_e,we,Y,he),L(ne)&&(je.fill=je.stroke="none"),v.setHoverStyle(W,je)}function F(W,q){var Y=W.get(u)||0,re=isNaN(q.width)?Number.MAX_VALUE:Math.abs(q.width),ne=isNaN(q.height)?Number.MAX_VALUE:Math.abs(q.height);return Math.min(Y,re,ne)}var j=t.extend({type:"largeBar",shape:{points:[]},buildPath:function(W,q){for(var Y=q.points,re=this.__startPoint,ne=this.__baseDimIdx,we=0;we<Y.length;we+=2)re[ne]=Y[we+ne],W.moveTo(re[0],re[1]),W.lineTo(Y[we],Y[we+1])}});function k(W,q,Y){var re=W.getData(),ne=[],we=re.getLayout("valueAxisHorizontal")?1:0;ne[1-we]=re.getLayout("valueAxisStart");var ie=re.getLayout("largeDataIndices"),me=re.getLayout("barWidth"),_e=W.getModel("backgroundStyle"),Te=W.get("showBackground",!0);if(Te){var We=re.getLayout("largeBackgroundPoints"),Ae=[];Ae[1-we]=re.getLayout("backgroundStart");var je=new j({shape:{points:We},incremental:!!Y,__startPoint:Ae,__baseDimIdx:we,__largeDataIndices:ie,__barWidth:me,silent:!0,z2:0});V(je,_e,re),q.add(je)}var ee=new j({shape:{points:re.getLayout("largePoints")},incremental:!!Y,__startPoint:ne,__baseDimIdx:we,__largeDataIndices:ie,__barWidth:me});q.add(ee),B(ee,W,re),ee.seriesIndex=W.seriesIndex,W.get("silent")||(ee.on("mousedown",K),ee.on("mousemove",K))}var K=r(function(W){var q=this,Y=Z(q,W.offsetX,W.offsetY);q.dataIndex=Y>=0?Y:null},30,!1);function Z(W,q,Y){var re=W.__baseDimIdx,ne=1-re,we=W.shape.points,ie=W.__largeDataIndices,me=Math.abs(W.__barWidth/2),_e=W.__startPoint[ne];h[0]=q,h[1]=Y;for(var Te=h[re],We=h[1-re],Ae=Te-me,je=Te+me,ee=0,he=we.length/2;ee<he;ee++){var Ze=ee*2,oe=we[Ze+re],Q=we[Ze+ne];if(oe>=Ae&&oe<=je&&(_e<=Q?We>=_e&&We<=Q:We>=Q&&We<=_e))return ie[ee]}return-1}function B(W,q,Y){var re=Y.getVisual("borderColor")||Y.getVisual("color"),ne=q.getModel("itemStyle").getItemStyle(["color","borderColor"]);W.useStyle(ne),W.style.fill=null,W.style.stroke=re,W.style.lineWidth=Y.getLayout("barWidth")}function V(W,q,Y){var re=q.get("borderColor")||q.get("color"),ne=q.getItemStyle(["color","borderColor"]);W.useStyle(ne),W.style.fill=null,W.style.stroke=re,W.style.lineWidth=Y.getLayout("barWidth")}function z(W,q,Y){var re,ne=Y.type==="polar";return ne?re=Y.getArea():re=Y.grid.getRect(),ne?{cx:re.cx,cy:re.cy,r0:W?re.r0:q.r0,r:W?re.r:q.r,startAngle:W?q.startAngle:0,endAngle:W?q.endAngle:Math.PI*2}:{x:W?q.x:re.x,y:W?re.y:q.y,width:W?q.width:re.width,height:W?re.height:q.height}}function X(W,q,Y){var re=W.type==="polar"?v.Sector:v.Rect;return new re({shape:z(q,Y,W),silent:!0,z2:0})}U.exports=A},ZCgT:function(U,R,i){var y=i("tLB3"),m=1/0,E=17976931348623157e292;function p(v){if(!v)return v===0?v:0;if(v=y(v),v===m||v===-m){var f=v<0?-1:1;return f*E}return v===v?v:0}U.exports=p},ZLWo:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},ZMnZ:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("2oIt")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="UpOutlined";var l=p.forwardRef(d);R.default=l},ZTPi:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i("rePB"),d=i("ODXe"),l=i("Ff2n"),n=i("VTBJ"),t=i("TSYQ"),a=i.n(t),s=i("Zm9Q"),r=i("6cGi"),c=i("KQm4"),e=i("xEkU"),o=i.n(e),u=i("t23M");function h(Or){var $r=Object(v.useRef)(),vn=Object(v.useRef)(!1);function Jr(){for(var ar=arguments.length,Hr=new Array(ar),mr=0;mr<ar;mr++)Hr[mr]=arguments[mr];vn.current||(o.a.cancel($r.current),$r.current=o()(function(){Or.apply(void 0,Hr)}))}return Object(v.useEffect)(function(){return function(){vn.current=!0,o.a.cancel($r.current)}},[]),Jr}function g(Or){var $r=Object(v.useRef)([]),vn=Object(v.useState)({}),Jr=Object(d.a)(vn,2),ar=Jr[1],Hr=Object(v.useRef)(typeof Or=="function"?Or():Or),mr=h(function(){var sn=Hr.current;$r.current.forEach(function(Hn){sn=Hn(sn)}),$r.current=[],Hr.current=sn,ar({})});function tn(sn){$r.current.push(sn),mr()}return[Hr.current,tn]}var A=i("4IlW");function w(Or,$r){var vn,Jr=Or.prefixCls,ar=Or.id,Hr=Or.active,mr=Or.rtl,tn=Or.tab,sn=tn.key,Hn=tn.tab,Ln=tn.disabled,Qn=tn.closeIcon,yi=Or.tabBarGutter,Di=Or.tabPosition,Ui=Or.closable,ua=Or.renderWrapper,Xa=Or.removeAriaLabel,vo=Or.editable,wo=Or.onClick,ho=Or.onRemove,yo=Or.onFocus,Ga="".concat(Jr,"-tab");v.useEffect(function(){return ho},[]);var Ma={};Di==="top"||Di==="bottom"?Ma[mr?"marginLeft":"marginRight"]=yi:Ma.marginBottom=yi;var uo=vo&&Ui!==!1&&!Ln;function so(oo){if(Ln)return;wo(oo)}function To(oo){oo.preventDefault(),oo.stopPropagation(),vo.onEdit("remove",{key:sn,event:oo})}var No=v.createElement("div",{key:sn,ref:$r,className:a()(Ga,(vn={},Object(f.a)(vn,"".concat(Ga,"-with-remove"),uo),Object(f.a)(vn,"".concat(Ga,"-active"),Hr),Object(f.a)(vn,"".concat(Ga,"-disabled"),Ln),vn)),style:Ma,onClick:so},v.createElement("div",{role:"tab","aria-selected":Hr,id:ar&&"".concat(ar,"-tab-").concat(sn),className:"".concat(Ga,"-btn"),"aria-controls":ar&&"".concat(ar,"-panel-").concat(sn),"aria-disabled":Ln,tabIndex:Ln?null:0,onClick:function(Ja){Ja.stopPropagation(),so(Ja)},onKeyDown:function(Ja){[A.a.SPACE,A.a.ENTER].includes(Ja.which)&&(Ja.preventDefault(),so(Ja))},onFocus:yo},Hn),uo&&v.createElement("button",{type:"button","aria-label":Xa||"remove",tabIndex:0,className:"".concat(Ga,"-remove"),onClick:function(Ja){Ja.stopPropagation(),To(Ja)}},Qn||vo.removeIcon||"\xD7"));return ua&&(No=ua(No)),No}var x=v.forwardRef(w),C={width:0,height:0,left:0,top:0};function T(Or,$r,vn){return Object(v.useMemo)(function(){for(var Jr,ar=new Map,Hr=$r.get((Jr=Or[0])===null||Jr===void 0?void 0:Jr.key)||C,mr=Hr.left+Hr.width,tn=0;tn<Or.length;tn+=1){var sn=Or[tn].key,Hn=$r.get(sn);if(!Hn){var Ln;Hn=$r.get((Ln=Or[tn-1])===null||Ln===void 0?void 0:Ln.key)||C}var Qn=ar.get(sn)||Object(n.a)({},Hn);Qn.right=mr-Qn.left-Qn.width,ar.set(sn,Qn)}return ar},[Or.map(function(Jr){return Jr.key}).join("_"),$r,vn])}var O={width:0,height:0,left:0,top:0,right:0};function S(Or,$r,vn,Jr,ar){var Hr=ar.tabs,mr=ar.tabPosition,tn=ar.rtl,sn,Hn,Ln;["top","bottom"].includes(mr)?(sn="width",Hn=tn?"right":"left",Ln=Math.abs($r.left)):(sn="height",Hn="top",Ln=-$r.top);var Qn=$r[sn],yi=vn[sn],Di=Jr[sn],Ui=Qn;return yi+Di>Qn&&(Ui=Qn-Di),Object(v.useMemo)(function(){if(!Hr.length)return[0,0];for(var ua=Hr.length,Xa=ua,vo=0;vo<ua;vo+=1){var wo=Or.get(Hr[vo].key)||O;if(wo[Hn]+wo[sn]>Ln+Ui){Xa=vo-1;break}}for(var ho=0,yo=ua-1;yo>=0;yo-=1){var Ga=Or.get(Hr[yo].key)||O;if(Ga[Hn]<Ln){ho=yo+1;break}}return[ho,Xa]},[Or,Ln,Ui,mr,Hr.map(function(ua){return ua.key}).join("_"),tn])}var _=i("wx14"),L=i("1OyB"),D=i("vuIU"),F=i("JX7q"),j=i("Ji7U"),k=i("LK+K"),K=i("I8Z2"),Z=i("bT9E"),B=i("2GS6"),V=i("Gytx"),z=i.n(V),X=i("U8pU"),W=/iPhone/i,q=/iPod/i,Y=/iPad/i,re=/\bAndroid(?:.+)Mobile\b/i,ne=/Android/i,we=/\bAndroid(?:.+)SD4930UR\b/i,ie=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,me=/Windows Phone/i,_e=/\bWindows(?:.+)ARM\b/i,Te=/BlackBerry/i,We=/BB10/i,Ae=/Opera Mini/i,je=/\b(CriOS|Chrome)(?:.+)Mobile/i,ee=/Mobile(?:.+)Firefox\b/i;function he(Or,$r){return Or.test($r)}function Ze(Or){var $r=Or||(typeof navigator!="undefined"?navigator.userAgent:""),vn=($r||"").split("[FBAN");if(typeof vn[1]!="undefined"){var Jr=vn,ar=Object(d.a)(Jr,1);$r=ar[0]}if(vn=$r.split("Twitter"),typeof vn[1]!="undefined"){var Hr=vn,mr=Object(d.a)(Hr,1);$r=mr[0]}var tn={apple:{phone:he(W,$r)&&!he(me,$r),ipod:he(q,$r),tablet:!he(W,$r)&&he(Y,$r)&&!he(me,$r),device:(he(W,$r)||he(q,$r)||he(Y,$r))&&!he(me,$r)},amazon:{phone:he(we,$r),tablet:!he(we,$r)&&he(ie,$r),device:he(we,$r)||he(ie,$r)},android:{phone:!he(me,$r)&&he(we,$r)||!he(me,$r)&&he(re,$r),tablet:!he(me,$r)&&!he(we,$r)&&!he(re,$r)&&(he(ie,$r)||he(ne,$r)),device:!he(me,$r)&&(he(we,$r)||he(ie,$r)||he(re,$r)||he(ne,$r))||he(/\bokhttp\b/i,$r)},windows:{phone:he(me,$r),tablet:he(_e,$r),device:he(me,$r)||he(_e,$r)},other:{blackberry:he(Te,$r),blackberry10:he(We,$r),opera:he(Ae,$r),firefox:he(ee,$r),chrome:he(je,$r),device:he(Te,$r)||he(We,$r)||he(Ae,$r)||he(ee,$r)||he(je,$r)},any:null,phone:null,tablet:null};return tn.any=tn.apple.device||tn.android.device||tn.windows.device||tn.other.device,tn.phone=tn.apple.phone||tn.android.phone||tn.windows.phone,tn.tablet=tn.apple.tablet||tn.android.tablet||tn.windows.tablet,tn}var oe=Object(n.a)(Object(n.a)({},Ze()),{},{isMobile:Ze}),Q=oe;function G(){}function te(Or,$r,vn){var Jr=$r||"";return Or.key||"".concat(Jr,"item_").concat(vn)}function xe(Or){return"".concat(Or,"-menu-")}function fe(Or,$r){var vn=-1;v.Children.forEach(Or,function(Jr){vn+=1,Jr&&Jr.type&&Jr.type.isMenuItemGroup?v.Children.forEach(Jr.props.children,function(ar){vn+=1,$r(ar,vn)}):$r(Jr,vn)})}function Be(Or,$r,vn){if(!Or||vn.find)return;v.Children.forEach(Or,function(Jr){if(Jr){var ar=Jr.type;if(!ar||!(ar.isSubMenu||ar.isMenuItem||ar.isMenuItemGroup))return;$r.indexOf(Jr.key)!==-1?vn.find=!0:Jr.props.children&&Be(Jr.props.children,$r,vn)}})}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"],de=function($r){var vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jr=$r&&typeof $r.getBoundingClientRect=="function"&&$r.getBoundingClientRect().width;if(Jr){if(vn){var ar=getComputedStyle($r),Hr=ar.marginLeft,mr=ar.marginRight;Jr+=+Hr.replace("px","")+ +mr.replace("px","")}Jr=+Jr.toFixed(6)}return Jr||0},ve=function($r,vn,Jr){$r&&Object(X.a)($r.style)==="object"&&($r.style[vn]=Jr)},Me=function(){return Q.any},qe=i("bdgK"),gt=i("i8i4"),ht=i.n(gt),Pe=i("wgJM"),It=i("l4aY"),nt=i("m+aA"),Nt=i("c+Xe"),Bt=i("zT1h"),Pt=i("QC+M");function jt(Or,$r,vn){return vn?Or[0]===$r[0]:Or[0]===$r[0]&&Or[1]===$r[1]}function er(Or,$r,vn){var Jr=Or[$r]||{};return Object(n.a)(Object(n.a)({},Jr),vn)}function at(Or,$r,vn,Jr){for(var ar=vn.points,Hr=Object.keys(Or),mr=0;mr<Hr.length;mr+=1){var tn=Hr[mr];if(jt(Or[tn].points,ar,Jr))return"".concat($r,"-placement-").concat(tn)}return""}var Ce=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Or=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(Or)||/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(Or==null?void 0:Or.substr(0,4)))},ue=i("MNnm");function Dt(Or,$r){var vn={};return vn[Or.toLowerCase()]=$r.toLowerCase(),vn["Webkit".concat(Or)]="webkit".concat($r),vn["Moz".concat(Or)]="moz".concat($r),vn["ms".concat(Or)]="MS".concat($r),vn["O".concat(Or)]="o".concat($r.toLowerCase()),vn}function rt(Or,$r){var vn={animationend:Dt("Animation","AnimationEnd"),transitionend:Dt("Transition","TransitionEnd")};return Or&&("AnimationEvent"in $r||delete vn.animationend.animation,"TransitionEvent"in $r||delete vn.transitionend.transition),vn}var ye=rt(Object(ue.a)(),typeof window!="undefined"?window:{}),Xt={};if(Object(ue.a)()){var pr=document.createElement("div");Xt=pr.style}var mt={};function nr(Or){if(mt[Or])return mt[Or];var $r=ye[Or];if($r)for(var vn=Object.keys($r),Jr=vn.length,ar=0;ar<Jr;ar+=1){var Hr=vn[ar];if(Object.prototype.hasOwnProperty.call($r,Hr)&&Hr in Xt)return mt[Or]=$r[Hr],mt[Or]}return""}var yr=nr("animationend"),gn=nr("transitionend"),_r=!!(yr&&gn),ur=yr||"animationend",zt=gn||"transitionend";function bt(Or,$r){if(!Or)return null;if(Object(X.a)(Or)==="object"){var vn=$r.replace(/-\w/g,function(Jr){return Jr[1].toUpperCase()});return Or[vn]}return"".concat(Or,"-").concat($r)}var ot="none",lr="appear",jr="enter",Rr="leave",xr="none",Vn="prepare",bn="start",di="active",lt="end";function ct(Or){var $r=Object(v.useRef)(!1),vn=Object(v.useState)(Or),Jr=Object(d.a)(vn,2),ar=Jr[0],Hr=Jr[1];function mr(tn){$r.current||Hr(tn)}return Object(v.useEffect)(function(){return function(){$r.current=!0}},[]),[ar,mr]}var Le=Object(ue.a)()?v.useLayoutEffect:v.useEffect,Ue=Le,Ye=function(){var Or=v.useRef(null);function $r(){Pe.a.cancel(Or.current)}function vn(Jr){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;$r();var Hr=Object(Pe.a)(function(){ar<=1?Jr({isCanceled:function(){return Hr!==Or.current}}):vn(Jr,ar-1)});Or.current=Hr}return v.useEffect(function(){return function(){$r()}},[]),[vn,$r]},ft=[Vn,bn,di,lt],ir=!1,Yt=!0;function rr(Or){return Or===di||Or===lt}var Zr=function(Or,$r){var vn=v.useState(xr),Jr=Object(d.a)(vn,2),ar=Jr[0],Hr=Jr[1],mr=Ye(),tn=Object(d.a)(mr,2),sn=tn[0],Hn=tn[1];function Ln(){Hr(Vn)}return Ue(function(){if(ar!==xr&&ar!==lt){var Qn=ft.indexOf(ar),yi=ft[Qn+1],Di=$r(ar);Di===ir?Hr(yi):sn(function(Ui){function ua(){if(Ui.isCanceled())return;Hr(yi)}Di===!0?ua():Promise.resolve(Di).then(ua)})}},[Or,ar]),v.useEffect(function(){return function(){Hn()}},[]),[Ln,ar]},nn=function(Or){var $r=Object(v.useRef)(),vn=Object(v.useRef)(Or);vn.current=Or;var Jr=v.useCallback(function(mr){vn.current(mr)},[]);function ar(mr){mr&&(mr.removeEventListener(zt,Jr),mr.removeEventListener(ur,Jr))}function Hr(mr){$r.current&&$r.current!==mr&&ar($r.current),mr&&mr!==$r.current&&(mr.addEventListener(zt,Jr),mr.addEventListener(ur,Jr),$r.current=mr)}return v.useEffect(function(){return function(){ar($r.current)}},[]),[Hr,ar]};function Pn(Or,$r,vn,Jr){var ar=Jr.motionEnter,Hr=ar===void 0?!0:ar,mr=Jr.motionAppear,tn=mr===void 0?!0:mr,sn=Jr.motionLeave,Hn=sn===void 0?!0:sn,Ln=Jr.motionDeadline,Qn=Jr.motionLeaveImmediately,yi=Jr.onAppearPrepare,Di=Jr.onEnterPrepare,Ui=Jr.onLeavePrepare,ua=Jr.onAppearStart,Xa=Jr.onEnterStart,vo=Jr.onLeaveStart,wo=Jr.onAppearActive,ho=Jr.onEnterActive,yo=Jr.onLeaveActive,Ga=Jr.onAppearEnd,Ma=Jr.onEnterEnd,uo=Jr.onLeaveEnd,so=Jr.onVisibleChanged,To=ct(),No=Object(d.a)(To,2),oo=No[0],Ja=No[1],zo=ct(ot),Eo=Object(d.a)(zo,2),Ea=Eo[0],jo=Eo[1],Zo=ct(null),Za=Object(d.a)(Zo,2),Xo=Za[0],qo=Za[1],cs=Object(v.useRef)(!1),Oo=Object(v.useRef)(null),ss=Object(v.useRef)(!1),Io=Object(v.useRef)(null);function lo(){var vs=vn();return vs||Io.current}var ks=Object(v.useRef)(!1);function As(vs){var Ho=lo();if(vs&&!vs.deadline&&vs.target!==Ho)return;var Ns;Ea===lr&&ks.current?Ns=Ga==null?void 0:Ga(Ho,vs):Ea===jr&&ks.current?Ns=Ma==null?void 0:Ma(Ho,vs):Ea===Rr&&ks.current&&(Ns=uo==null?void 0:uo(Ho,vs)),Ns!==!1&&!ss.current&&(jo(ot),qo(null))}var ko=nn(As),ys=Object(d.a)(ko,1),es=ys[0],ts=v.useMemo(function(){var vs,Ho,Ns;switch(Ea){case"appear":return vs={},Object(f.a)(vs,Vn,yi),Object(f.a)(vs,bn,ua),Object(f.a)(vs,di,wo),vs;case"enter":return Ho={},Object(f.a)(Ho,Vn,Di),Object(f.a)(Ho,bn,Xa),Object(f.a)(Ho,di,ho),Ho;case"leave":return Ns={},Object(f.a)(Ns,Vn,Ui),Object(f.a)(Ns,bn,vo),Object(f.a)(Ns,di,yo),Ns;default:return{}}},[Ea]),_s=Zr(Ea,function(vs){if(vs===Vn){var Ho=ts[Vn];return Ho?Ho(lo()):ir}if(Ms in ts){var Ns;qo(((Ns=ts[Ms])===null||Ns===void 0?void 0:Ns.call(ts,lo(),null))||null)}return Ms===di&&(es(lo()),Ln>0&&(clearTimeout(Oo.current),Oo.current=setTimeout(function(){As({deadline:!0})},Ln))),Yt}),Ts=Object(d.a)(_s,2),$s=Ts[0],Ms=Ts[1],Fs=rr(Ms);ks.current=Fs,Ue(function(){Ja($r);var vs=cs.current;if(cs.current=!0,!Or)return;var Ho;!vs&&$r&&tn&&(Ho=lr),vs&&$r&&Hr&&(Ho=jr),(vs&&!$r&&Hn||!vs&&Qn&&!$r&&Hn)&&(Ho=Rr),Ho&&(jo(Ho),$s())},[$r]),Object(v.useEffect)(function(){(Ea===lr&&!tn||Ea===jr&&!Hr||Ea===Rr&&!Hn)&&jo(ot)},[tn,Hr,Hn]),Object(v.useEffect)(function(){return function(){clearTimeout(Oo.current),ss.current=!0}},[]),Object(v.useEffect)(function(){oo!==void 0&&Ea===ot&&(so==null||so(oo))},[oo,Ea]);var as=Xo;return ts[Vn]&&Ms===bn&&(as=Object(n.a)({transition:"none"},as)),[Ea,Ms,as,oo!=null?oo:$r]}var qt=function(Or){Object(j.a)(vn,Or);var $r=Object(k.a)(vn);function vn(){return Object(L.a)(this,vn),$r.apply(this,arguments)}return Object(D.a)(vn,[{key:"render",value:function(){return this.props.children}}]),vn}(v.Component),St=qt;function At(Or){var $r=Or;Object(X.a)(Or)==="object"&&($r=Or.transitionSupport);function vn(ar){return!!(ar.motionName&&$r)}var Jr=v.forwardRef(function(ar,Hr){var mr=ar.visible,tn=mr===void 0?!0:mr,sn=ar.removeOnLeave,Hn=sn===void 0?!0:sn,Ln=ar.forceRender,Qn=ar.children,yi=ar.motionName,Di=ar.leavedClassName,Ui=ar.eventProps,ua=vn(ar),Xa=Object(v.useRef)(),vo=Object(v.useRef)();function wo(){try{return Object(nt.a)(Xa.current||vo.current)}catch(jo){return null}}var ho=Pn(ua,tn,wo,ar),yo=Object(d.a)(ho,4),Ga=yo[0],Ma=yo[1],uo=yo[2],so=yo[3],To=v.useRef(so);so&&(To.current=!0);var No=Object(v.useRef)(Hr);No.current=Hr;var oo=v.useCallback(function(jo){Xa.current=jo,Object(Nt.b)(No.current,jo)},[]),Ja,zo=Object(n.a)(Object(n.a)({},Ui),{},{visible:tn});if(!Qn)Ja=null;else if(Ga===ot||!vn(ar))so?Ja=Qn(Object(n.a)({},zo),oo):!Hn&&To.current?Ja=Qn(Object(n.a)(Object(n.a)({},zo),{},{className:Di}),oo):Ln?Ja=Qn(Object(n.a)(Object(n.a)({},zo),{},{style:{display:"none"}}),oo):Ja=null;else{var Eo,Ea;Ma===Vn?Ea="prepare":rr(Ma)?Ea="active":Ma===bn&&(Ea="start"),Ja=Qn(Object(n.a)(Object(n.a)({},zo),{},{className:a()(bt(yi,Ga),(Eo={},Object(f.a)(Eo,bt(yi,"".concat(Ga,"-").concat(Ea)),Ea),Object(f.a)(Eo,yi,typeof yi=="string"),Eo)),style:uo}),oo)}return v.createElement(St,{ref:vo},Ja)});return Jr.displayName="CSSMotion",Jr}var cr=At(_r),or="add",Tt="keep",Rt="remove",_t="removed";function Zt(Or){var $r;return Or&&Object(X.a)(Or)==="object"&&"key"in Or?$r=Or:$r={key:Or},Object(n.a)(Object(n.a)({},$r),{},{key:String($r.key)})}function Nr(){var Or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Or.map(Zt)}function Sr(){var Or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],$r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],vn=[],Jr=0,ar=$r.length,Hr=Nr(Or),mr=Nr($r);Hr.forEach(function(Hn){for(var Ln=!1,Qn=Jr;Qn<ar;Qn+=1){var yi=mr[Qn];if(yi.key===Hn.key){Jr<Qn&&(vn=vn.concat(mr.slice(Jr,Qn).map(function(Di){return Object(n.a)(Object(n.a)({},Di),{},{status:or})})),Jr=Qn),vn.push(Object(n.a)(Object(n.a)({},yi),{},{status:Tt})),Jr+=1,Ln=!0;break}}Ln||vn.push(Object(n.a)(Object(n.a)({},Hn),{},{status:Rt}))}),Jr<ar&&(vn=vn.concat(mr.slice(Jr).map(function(Hn){return Object(n.a)(Object(n.a)({},Hn),{},{status:or})})));var tn={};vn.forEach(function(Hn){var Ln=Hn.key;tn[Ln]=(tn[Ln]||0)+1});var sn=Object.keys(tn).filter(function(Hn){return tn[Hn]>1});return sn.forEach(function(Hn){vn=vn.filter(function(Ln){var Qn=Ln.key,yi=Ln.status;return Qn!==Hn||yi!==Rt}),vn.forEach(function(Ln){Ln.key===Hn&&(Ln.status=Tt)})}),vn}var br=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function hn(Or){var $r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cr,vn=function(Jr){Object(j.a)(Hr,Jr);var ar=Object(k.a)(Hr);function Hr(){var mr;return Object(L.a)(this,Hr),mr=ar.apply(this,arguments),mr.state={keyEntities:[]},mr.removeKey=function(tn){mr.setState(function(sn){var Hn=sn.keyEntities;return{keyEntities:Hn.map(function(Ln){return Ln.key!==tn?Ln:Object(n.a)(Object(n.a)({},Ln),{},{status:_t})})}})},mr}return Object(D.a)(Hr,[{key:"render",value:function(){var tn=this,sn=this.state.keyEntities,Hn=this.props,Ln=Hn.component,Qn=Hn.children,yi=Hn.onVisibleChanged,Di=Object(l.a)(Hn,["component","children","onVisibleChanged"]),Ui=Ln||v.Fragment,ua={};return br.forEach(function(Xa){ua[Xa]=Di[Xa],delete Di[Xa]}),delete Di.keys,v.createElement(Ui,Di,sn.map(function(Xa){var vo=Xa.status,wo=Object(l.a)(Xa,["status"]),ho=vo===or||vo===Tt;return v.createElement($r,Object(_.a)({},ua,{key:wo.key,visible:ho,eventProps:wo,onVisibleChanged:function(Ga){yi==null||yi(Ga,{key:wo.key}),Ga||tn.removeKey(wo.key)}}),Qn)}))}}],[{key:"getDerivedStateFromProps",value:function(tn,sn){var Hn=tn.keys,Ln=sn.keyEntities,Qn=Nr(Hn),yi=Sr(Ln,Qn);return{keyEntities:yi.filter(function(Di){var Ui=Ln.find(function(ua){var Xa=ua.key;return Di.key===Xa});return!(Ui&&Ui.status===_t&&Di.status===Rt)})}}}]),Hr}(v.Component);return vn.defaultProps={component:"div"},vn}var fn=hn(_r),ni=cr;function mi(Or){var $r=Or.prefixCls,vn=Or.motion,Jr=Or.animation,ar=Or.transitionName;return vn||(Jr?{motionName:"".concat($r,"-").concat(Jr)}:ar?{motionName:ar}:null)}function _i(Or){var $r=Or.prefixCls,vn=Or.visible,Jr=Or.zIndex,ar=Or.mask,Hr=Or.maskMotion,mr=Or.maskAnimation,tn=Or.maskTransitionName;if(!ar)return null;var sn={};return(Hr||tn||mr)&&(sn=Object(n.a)({motionAppear:!0},mi({motion:Hr,prefixCls:$r,transitionName:tn,animation:mr}))),v.createElement(ni,Object(_.a)({},sn,{visible:vn,removeOnLeave:!0}),function(Hn){var Ln=Hn.className;return v.createElement("div",{style:{zIndex:Jr},className:a()("".concat($r,"-mask"),Ln)})})}var Hi=i("9mu1"),aa=i("o0o1"),Ra=i.n(aa),it=i("HaE+"),Re=["measure","align",null,"motion"],Ke=function(Or,$r){var vn=Object(v.useState)(null),Jr=Object(d.a)(vn,2),ar=Jr[0],Hr=Jr[1],mr=Object(v.useRef)(),tn=Object(v.useRef)(!1);function sn(Qn){tn.current||Hr(Qn)}function Hn(){Pe.a.cancel(mr.current)}function Ln(Qn){Hn(),mr.current=Object(Pe.a)(function(){sn(function(yi){switch(ar){case"align":return"motion";case"motion":return"stable";default:}return yi}),Qn==null||Qn()})}return Object(v.useEffect)(function(){sn("measure")},[Or]),Object(v.useEffect)(function(){switch(ar){case"measure":$r();break;default:}ar&&(mr.current=Object(Pe.a)(Object(it.a)(Ra.a.mark(function Qn(){var yi,Di;return Ra.a.wrap(function(ua){for(;;)switch(ua.prev=ua.next){case 0:yi=Re.indexOf(ar),Di=Re[yi+1],Di&&yi!==-1&&sn(Di);case 3:case"end":return ua.stop()}},Qn)}))))},[ar]),Object(v.useEffect)(function(){return function(){tn.current=!0,Hn()}},[]),[ar,Ln]},Ge=function(Or){var $r=v.useState({width:0,height:0}),vn=Object(d.a)($r,2),Jr=vn[0],ar=vn[1];function Hr(tn){ar({width:tn.offsetWidth,height:tn.offsetHeight})}var mr=v.useMemo(function(){var tn={};if(Or){var sn=Jr.width,Hn=Jr.height;Or.indexOf("height")!==-1&&Hn?tn.height=Hn:Or.indexOf("minHeight")!==-1&&Hn&&(tn.minHeight=Hn),Or.indexOf("width")!==-1&&sn?tn.width=sn:Or.indexOf("minWidth")!==-1&&sn&&(tn.minWidth=sn)}return tn},[Or,Jr]);return[mr,Hr]},et=v.forwardRef(function(Or,$r){var vn=Or.visible,Jr=Or.prefixCls,ar=Or.className,Hr=Or.style,mr=Or.children,tn=Or.zIndex,sn=Or.stretch,Hn=Or.destroyPopupOnHide,Ln=Or.forceRender,Qn=Or.align,yi=Or.point,Di=Or.getRootDomNode,Ui=Or.getClassNameFromAlign,ua=Or.onAlign,Xa=Or.onMouseEnter,vo=Or.onMouseLeave,wo=Or.onMouseDown,ho=Or.onTouchStart,yo=Object(v.useRef)(),Ga=Object(v.useRef)(),Ma=Object(v.useState)(),uo=Object(d.a)(Ma,2),so=uo[0],To=uo[1],No=Ge(sn),oo=Object(d.a)(No,2),Ja=oo[0],zo=oo[1];function Eo(){sn&&zo(Di())}var Ea=Ke(vn,Eo),jo=Object(d.a)(Ea,2),Zo=jo[0],Za=jo[1],Xo=Object(v.useRef)();function qo(){return yi||Di}function cs(){var ko;(ko=yo.current)===null||ko===void 0||ko.forceAlign()}function Oo(ko,ys){var es=Ui(ys);so!==es&&To(es),Zo==="align"&&(so!==es?Promise.resolve().then(function(){cs()}):Za(function(){var ts;(ts=Xo.current)===null||ts===void 0||ts.call(Xo)}),ua==null||ua(ko,ys))}var ss=Object(n.a)({},mi(Or));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(ko){var ys=ss[ko];ss[ko]=function(es,ts){return Za(),ys==null?void 0:ys(es,ts)}});function Io(){return new Promise(function(ko){Xo.current=ko})}v.useEffect(function(){!ss.motionName&&Zo==="motion"&&Za()},[ss.motionName,Zo]),v.useImperativeHandle($r,function(){return{forceAlign:cs,getElement:function(){return Ga.current}}});var lo=Object(n.a)(Object(n.a)({},Ja),{},{zIndex:tn,opacity:Zo==="motion"||Zo==="stable"||!vn?void 0:0,pointerEvents:Zo==="stable"?void 0:"none"},Hr),ks=!0;(Qn==null?void 0:Qn.points)&&(Zo==="align"||Zo==="stable")&&(ks=!1);var As=mr;return v.Children.count(mr)>1&&(As=v.createElement("div",{className:"".concat(Jr,"-content")},mr)),v.createElement(ni,Object(_.a)({visible:vn,ref:Ga,leavedClassName:"".concat(Jr,"-hidden")},ss,{onAppearPrepare:Io,onEnterPrepare:Io,removeOnLeave:Hn,forceRender:Ln}),function(ko,ys){var es=ko.className,ts=ko.style,_s=a()(Jr,ar,so,es);return v.createElement(Hi.a,{target:qo(),key:"popup",ref:yo,monitorWindowResize:!0,disabled:ks,align:Qn,onAlign:Oo},v.createElement("div",{ref:ys,className:_s,onMouseEnter:Xa,onMouseLeave:vo,onMouseDownCapture:wo,onTouchStartCapture:ho,style:Object(n.a)(Object(n.a)({},ts),lo)},As))})});et.displayName="PopupInner";var $e=et,st=v.forwardRef(function(Or,$r){var vn=Or.prefixCls,Jr=Or.visible,ar=Or.zIndex,Hr=Or.children,mr=Or.mobile;mr=mr===void 0?{}:mr;var tn=mr.popupClassName,sn=mr.popupStyle,Hn=mr.popupMotion,Ln=Hn===void 0?{}:Hn,Qn=mr.popupRender,yi=v.useRef();v.useImperativeHandle($r,function(){return{forceAlign:function(){},getElement:function(){return yi.current}}});var Di=Object(n.a)({zIndex:ar},sn),Ui=Hr;return v.Children.count(Hr)>1&&(Ui=v.createElement("div",{className:"".concat(vn,"-content")},Hr)),Qn&&(Ui=Qn(Ui)),v.createElement(ni,Object(_.a)({visible:Jr,ref:yi,removeOnLeave:!0},Ln),function(ua,Xa){var vo=ua.className,wo=ua.style,ho=a()(vn,tn,vo);return v.createElement("div",{ref:Xa,className:ho,style:Object(n.a)(Object(n.a)({},wo),Di)},Ui)})});st.displayName="MobilePopupInner";var Lt=st,vt=["visible","mobile"],Qt=v.forwardRef(function(Or,$r){var vn=Or.visible,Jr=Or.mobile,ar=Object(l.a)(Or,vt),Hr=Object(v.useState)(vn),mr=Object(d.a)(Hr,2),tn=mr[0],sn=mr[1],Hn=Object(v.useState)(!1),Ln=Object(d.a)(Hn,2),Qn=Ln[0],yi=Ln[1],Di=Object(n.a)(Object(n.a)({},ar),{},{visible:tn});Object(v.useEffect)(function(){sn(vn),vn&&Jr&&yi(Ce())},[vn,Jr]);var Ui=Qn?v.createElement(Lt,Object(_.a)({},Di,{mobile:Jr,ref:$r})):v.createElement($e,Object(_.a)({},Di,{ref:$r}));return v.createElement("div",null,v.createElement(_i,Di),Ui)});Qt.displayName="Popup";var Fr=Qt,Lr=v.createContext(null),Gr=Lr;function $t(){}function Rn(){return""}function wr(Or){return Or?Or.ownerDocument:window.document}var pn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function rn(Or){var $r=function(vn){Object(j.a)(ar,vn);var Jr=Object(k.a)(ar);function ar(Hr){var mr;Object(L.a)(this,ar),mr=Jr.call(this,Hr),mr.popupRef=v.createRef(),mr.triggerRef=v.createRef(),mr.attachId=void 0,mr.clickOutsideHandler=void 0,mr.touchOutsideHandler=void 0,mr.contextMenuOutsideHandler1=void 0,mr.contextMenuOutsideHandler2=void 0,mr.mouseDownTimeout=void 0,mr.focusTime=void 0,mr.preClickTime=void 0,mr.preTouchTime=void 0,mr.delayTimer=void 0,mr.hasPopupMouseDown=void 0,mr.onMouseEnter=function(sn){var Hn=mr.props.mouseEnterDelay;mr.fireEvents("onMouseEnter",sn),mr.delaySetPopupVisible(!0,Hn,Hn?null:sn)},mr.onMouseMove=function(sn){mr.fireEvents("onMouseMove",sn),mr.setPoint(sn)},mr.onMouseLeave=function(sn){mr.fireEvents("onMouseLeave",sn),mr.delaySetPopupVisible(!1,mr.props.mouseLeaveDelay)},mr.onPopupMouseEnter=function(){mr.clearDelayTimer()},mr.onPopupMouseLeave=function(sn){var Hn;if(sn.relatedTarget&&!sn.relatedTarget.setTimeout&&Object(It.a)((Hn=mr.popupRef.current)===null||Hn===void 0?void 0:Hn.getElement(),sn.relatedTarget))return;mr.delaySetPopupVisible(!1,mr.props.mouseLeaveDelay)},mr.onFocus=function(sn){mr.fireEvents("onFocus",sn),mr.clearDelayTimer(),mr.isFocusToShow()&&(mr.focusTime=Date.now(),mr.delaySetPopupVisible(!0,mr.props.focusDelay))},mr.onMouseDown=function(sn){mr.fireEvents("onMouseDown",sn),mr.preClickTime=Date.now()},mr.onTouchStart=function(sn){mr.fireEvents("onTouchStart",sn),mr.preTouchTime=Date.now()},mr.onBlur=function(sn){mr.fireEvents("onBlur",sn),mr.clearDelayTimer(),mr.isBlurToHide()&&mr.delaySetPopupVisible(!1,mr.props.blurDelay)},mr.onContextMenu=function(sn){sn.preventDefault(),mr.fireEvents("onContextMenu",sn),mr.setPopupVisible(!0,sn)},mr.onContextMenuClose=function(){mr.isContextMenuToShow()&&mr.close()},mr.onClick=function(sn){if(mr.fireEvents("onClick",sn),mr.focusTime){var Hn;if(mr.preClickTime&&mr.preTouchTime?Hn=Math.min(mr.preClickTime,mr.preTouchTime):mr.preClickTime?Hn=mr.preClickTime:mr.preTouchTime&&(Hn=mr.preTouchTime),Math.abs(Hn-mr.focusTime)<20)return;mr.focusTime=0}mr.preClickTime=0,mr.preTouchTime=0,mr.isClickToShow()&&(mr.isClickToHide()||mr.isBlurToHide())&&sn&&sn.preventDefault&&sn.preventDefault();var Ln=!mr.state.popupVisible;(mr.isClickToHide()&&!Ln||Ln&&mr.isClickToShow())&&mr.setPopupVisible(!mr.state.popupVisible,sn)},mr.onPopupMouseDown=function(){if(mr.hasPopupMouseDown=!0,clearTimeout(mr.mouseDownTimeout),mr.mouseDownTimeout=window.setTimeout(function(){mr.hasPopupMouseDown=!1},0),mr.context){var sn;(sn=mr.context).onPopupMouseDown.apply(sn,arguments)}},mr.onDocumentClick=function(sn){if(mr.props.mask&&!mr.props.maskClosable)return;var Hn=sn.target,Ln=mr.getRootDomNode(),Qn=mr.getPopupDomNode();(!Object(It.a)(Ln,Hn)||mr.isContextMenuOnly())&&!Object(It.a)(Qn,Hn)&&!mr.hasPopupMouseDown&&mr.close()},mr.getRootDomNode=function(){var sn=mr.props.getTriggerDOMNode;if(sn)return sn(mr.triggerRef.current);try{var Hn=Object(nt.a)(mr.triggerRef.current);if(Hn)return Hn}catch(Ln){}return ht.a.findDOMNode(Object(F.a)(mr))},mr.getPopupClassNameFromAlign=function(sn){var Hn=[],Ln=mr.props,Qn=Ln.popupPlacement,yi=Ln.builtinPlacements,Di=Ln.prefixCls,Ui=Ln.alignPoint,ua=Ln.getPopupClassNameFromAlign;return Qn&&yi&&Hn.push(at(yi,Di,sn,Ui)),ua&&Hn.push(ua(sn)),Hn.join(" ")},mr.getComponent=function(){var sn=mr.props,Hn=sn.prefixCls,Ln=sn.destroyPopupOnHide,Qn=sn.popupClassName,yi=sn.onPopupAlign,Di=sn.popupMotion,Ui=sn.popupAnimation,ua=sn.popupTransitionName,Xa=sn.popupStyle,vo=sn.mask,wo=sn.maskAnimation,ho=sn.maskTransitionName,yo=sn.maskMotion,Ga=sn.zIndex,Ma=sn.popup,uo=sn.stretch,so=sn.alignPoint,To=sn.mobile,No=sn.forceRender,oo=mr.state,Ja=oo.popupVisible,zo=oo.point,Eo=mr.getPopupAlign(),Ea={};return mr.isMouseEnterToShow()&&(Ea.onMouseEnter=mr.onPopupMouseEnter),mr.isMouseLeaveToHide()&&(Ea.onMouseLeave=mr.onPopupMouseLeave),Ea.onMouseDown=mr.onPopupMouseDown,Ea.onTouchStart=mr.onPopupMouseDown,v.createElement(Fr,Object(_.a)({prefixCls:Hn,destroyPopupOnHide:Ln,visible:Ja,point:so&&zo,className:Qn,align:Eo,onAlign:yi,animation:Ui,getClassNameFromAlign:mr.getPopupClassNameFromAlign},Ea,{stretch:uo,getRootDomNode:mr.getRootDomNode,style:Xa,mask:vo,zIndex:Ga,transitionName:ua,maskAnimation:wo,maskTransitionName:ho,maskMotion:yo,ref:mr.popupRef,motion:Di,mobile:To,forceRender:No}),typeof Ma=="function"?Ma():Ma)},mr.attachParent=function(sn){Pe.a.cancel(mr.attachId);var Hn=mr.props,Ln=Hn.getPopupContainer,Qn=Hn.getDocument,yi=mr.getRootDomNode(),Di;Ln?(yi||Ln.length===0)&&(Di=Ln(yi)):Di=Qn(mr.getRootDomNode()).body,Di?Di.appendChild(sn):mr.attachId=Object(Pe.a)(function(){mr.attachParent(sn)})},mr.getContainer=function(){var sn=mr.props.getDocument,Hn=sn(mr.getRootDomNode()).createElement("div");return Hn.style.position="absolute",Hn.style.top="0",Hn.style.left="0",Hn.style.width="100%",mr.attachParent(Hn),Hn},mr.setPoint=function(sn){var Hn=mr.props.alignPoint;if(!Hn||!sn)return;mr.setState({point:{pageX:sn.pageX,pageY:sn.pageY}})},mr.handlePortalUpdate=function(){mr.state.prevPopupVisible!==mr.state.popupVisible&&mr.props.afterPopupVisibleChange(mr.state.popupVisible)},mr.triggerContextValue={onPopupMouseDown:mr.onPopupMouseDown};var tn;return"popupVisible"in Hr?tn=!!Hr.popupVisible:tn=!!Hr.defaultPopupVisible,mr.state={prevPopupVisible:tn,popupVisible:tn},pn.forEach(function(sn){mr["fire".concat(sn)]=function(Hn){mr.fireEvents(sn,Hn)}}),mr}return Object(D.a)(ar,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var mr=this.props,tn=this.state;if(tn.popupVisible){var sn;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(sn=mr.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(Bt.a)(sn,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(sn=sn||mr.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(Bt.a)(sn,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(sn=sn||mr.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(Bt.a)(sn,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(Bt.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Pe.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var mr;return((mr=this.popupRef.current)===null||mr===void 0?void 0:mr.getElement())||null}},{key:"getPopupAlign",value:function(){var mr=this.props,tn=mr.popupPlacement,sn=mr.popupAlign,Hn=mr.builtinPlacements;return tn&&Hn?er(Hn,tn,sn):sn}},{key:"setPopupVisible",value:function(mr,tn){var sn=this.props.alignPoint,Hn=this.state.popupVisible;this.clearDelayTimer(),Hn!==mr&&("popupVisible"in this.props||this.setState({popupVisible:mr,prevPopupVisible:Hn}),this.props.onPopupVisibleChange(mr)),sn&&tn&&mr&&this.setPoint(tn)}},{key:"delaySetPopupVisible",value:function(mr,tn,sn){var Hn=this,Ln=tn*1e3;if(this.clearDelayTimer(),Ln){var Qn=sn?{pageX:sn.pageX,pageY:sn.pageY}:null;this.delayTimer=window.setTimeout(function(){Hn.setPopupVisible(mr,Qn),Hn.clearDelayTimer()},Ln)}else this.setPopupVisible(mr,sn)}},{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(mr){var tn=this.props.children.props,sn=this.props;return tn[mr]&&sn[mr]?this["fire".concat(mr)]:tn[mr]||sn[mr]}},{key:"isClickToShow",value:function(){var mr=this.props,tn=mr.action,sn=mr.showAction;return tn.indexOf("click")!==-1||sn.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var mr=this.props.action;return mr==="contextMenu"||mr.length===1&&mr[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var mr=this.props,tn=mr.action,sn=mr.showAction;return tn.indexOf("contextMenu")!==-1||sn.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var mr=this.props,tn=mr.action,sn=mr.hideAction;return tn.indexOf("click")!==-1||sn.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var mr=this.props,tn=mr.action,sn=mr.showAction;return tn.indexOf("hover")!==-1||sn.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var mr=this.props,tn=mr.action,sn=mr.hideAction;return tn.indexOf("hover")!==-1||sn.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var mr=this.props,tn=mr.action,sn=mr.showAction;return tn.indexOf("focus")!==-1||sn.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var mr=this.props,tn=mr.action,sn=mr.hideAction;return tn.indexOf("focus")!==-1||sn.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var mr;(mr=this.popupRef.current)===null||mr===void 0||mr.forceAlign()}}},{key:"fireEvents",value:function(mr,tn){var sn=this.props.children.props[mr];sn&&sn(tn);var Hn=this.props[mr];Hn&&Hn(tn)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var mr=this.state.popupVisible,tn=this.props,sn=tn.children,Hn=tn.forceRender,Ln=tn.alignPoint,Qn=tn.className,yi=tn.autoDestroy,Di=v.Children.only(sn),Ui={key:"trigger"};this.isContextMenuToShow()?Ui.onContextMenu=this.onContextMenu:Ui.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Ui.onClick=this.onClick,Ui.onMouseDown=this.onMouseDown,Ui.onTouchStart=this.onTouchStart):(Ui.onClick=this.createTwoChains("onClick"),Ui.onMouseDown=this.createTwoChains("onMouseDown"),Ui.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Ui.onMouseEnter=this.onMouseEnter,Ln&&(Ui.onMouseMove=this.onMouseMove)):Ui.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Ui.onMouseLeave=this.onMouseLeave:Ui.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Ui.onFocus=this.onFocus,Ui.onBlur=this.onBlur):(Ui.onFocus=this.createTwoChains("onFocus"),Ui.onBlur=this.createTwoChains("onBlur"));var ua=a()(Di&&Di.props&&Di.props.className,Qn);ua&&(Ui.className=ua);var Xa=Object(n.a)({},Ui);Object(Nt.c)(Di)&&(Xa.ref=Object(Nt.a)(this.triggerRef,Di.ref));var vo=v.cloneElement(Di,Xa),wo;return(mr||this.popupRef.current||Hn)&&(wo=v.createElement(Or,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!mr&&yi&&(wo=null),v.createElement(Gr.Provider,{value:this.triggerContextValue},vo,wo)}}],[{key:"getDerivedStateFromProps",value:function(mr,tn){var sn=mr.popupVisible,Hn={};return sn!==void 0&&tn.popupVisible!==sn&&(Hn.popupVisible=sn,Hn.prevPopupVisible=tn.popupVisible),Hn}}]),ar}(v.Component);return $r.contextType=Gr,$r.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Rn,getDocument:wr,onPopupVisibleChange:$t,afterPopupVisibleChange:$t,onPopupAlign:$t,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},$r}var Br=rn(Pt.a),Yn={adjustX:1,adjustY:1},xi={topLeft:{points:["bl","tl"],overflow:Yn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Yn,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Yn,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Yn,offset:[4,0]}},Li={topLeft:{points:["bl","tl"],overflow:Yn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Yn,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Yn,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Yn,offset:[4,0]}},Vi=xi,Wi=0,qi={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},bi=function($r,vn,Jr){var ar=xe(vn),Hr=$r.getState();$r.setState({defaultActiveFirst:Object(n.a)(Object(n.a)({},Hr.defaultActiveFirst),{},Object(f.a)({},ar,Jr))})},ba=function(Or){Object(j.a)(vn,Or);var $r=Object(k.a)(vn);function vn(Jr){var ar;Object(L.a)(this,vn),ar=$r.call(this,Jr),ar.onDestroy=function(Ln){ar.props.onDestroy(Ln)},ar.onKeyDown=function(Ln){var Qn=Ln.keyCode,yi=ar.menuInstance,Di=ar.props.store,Ui=ar.getVisible();if(Qn===A.a.ENTER)return ar.onTitleClick(Ln),bi(Di,ar.props.eventKey,!0),!0;if(Qn===A.a.RIGHT)return Ui?yi.onKeyDown(Ln):(ar.triggerOpenChange(!0),bi(Di,ar.props.eventKey,!0)),!0;if(Qn===A.a.LEFT){var ua;if(Ui)ua=yi.onKeyDown(Ln);else return;return ua||(ar.triggerOpenChange(!1),ua=!0),ua}return Ui&&(Qn===A.a.UP||Qn===A.a.DOWN)?yi.onKeyDown(Ln):void 0},ar.onOpenChange=function(Ln){ar.props.onOpenChange(Ln)},ar.onPopupVisibleChange=function(Ln){ar.triggerOpenChange(Ln,Ln?"mouseenter":"mouseleave")},ar.onMouseEnter=function(Ln){var Qn=ar.props,yi=Qn.eventKey,Di=Qn.onMouseEnter,Ui=Qn.store;bi(Ui,ar.props.eventKey,!1),Di({key:yi,domEvent:Ln})},ar.onMouseLeave=function(Ln){var Qn=ar.props,yi=Qn.parentMenu,Di=Qn.eventKey,Ui=Qn.onMouseLeave;yi.subMenuInstance=Object(F.a)(ar),Ui({key:Di,domEvent:Ln})},ar.onTitleMouseEnter=function(Ln){var Qn=ar.props,yi=Qn.eventKey,Di=Qn.onItemHover,Ui=Qn.onTitleMouseEnter;Di({key:yi,hover:!0}),Ui({key:yi,domEvent:Ln})},ar.onTitleMouseLeave=function(Ln){var Qn=ar.props,yi=Qn.parentMenu,Di=Qn.eventKey,Ui=Qn.onItemHover,ua=Qn.onTitleMouseLeave;yi.subMenuInstance=Object(F.a)(ar),Ui({key:Di,hover:!1}),ua({key:Di,domEvent:Ln})},ar.onTitleClick=function(Ln){var Qn=Object(F.a)(ar),yi=Qn.props;if(yi.onTitleClick({key:yi.eventKey,domEvent:Ln}),yi.triggerSubMenuAction==="hover")return;ar.triggerOpenChange(!ar.getVisible(),"click"),bi(yi.store,ar.props.eventKey,!1)},ar.onSubMenuClick=function(Ln){typeof ar.props.onClick=="function"&&ar.props.onClick(ar.addKeyPath(Ln))},ar.onSelect=function(Ln){ar.props.onSelect(Ln)},ar.onDeselect=function(Ln){ar.props.onDeselect(Ln)},ar.getPrefixCls=function(){return"".concat(ar.props.rootPrefixCls,"-submenu")},ar.getActiveClassName=function(){return"".concat(ar.getPrefixCls(),"-active")},ar.getDisabledClassName=function(){return"".concat(ar.getPrefixCls(),"-disabled")},ar.getSelectedClassName=function(){return"".concat(ar.getPrefixCls(),"-selected")},ar.getOpenClassName=function(){return"".concat(ar.props.rootPrefixCls,"-submenu-open")},ar.getVisible=function(){return ar.state.isOpen},ar.getMode=function(){return ar.state.mode},ar.saveMenuInstance=function(Ln){ar.menuInstance=Ln},ar.addKeyPath=function(Ln){return Object(n.a)(Object(n.a)({},Ln),{},{keyPath:(Ln.keyPath||[]).concat(ar.props.eventKey)})},ar.triggerOpenChange=function(Ln,Qn){var yi=ar.props.eventKey,Di=function(){ar.onOpenChange({key:yi,item:Object(F.a)(ar),trigger:Qn,open:Ln})};Qn==="mouseenter"?ar.mouseenterTimeout=setTimeout(function(){Di()},0):Di()},ar.isChildrenSelected=function(){var Ln={find:!1};return Be(ar.props.children,ar.props.selectedKeys,Ln),Ln.find},ar.isInlineMode=function(){return ar.getMode()==="inline"},ar.adjustWidth=function(){if(!ar.subMenuTitle||!ar.menuInstance)return;var Ln=gt.findDOMNode(ar.menuInstance);if(Ln.offsetWidth>=ar.subMenuTitle.offsetWidth)return;Ln.style.minWidth="".concat(ar.subMenuTitle.offsetWidth,"px")},ar.saveSubMenuTitle=function(Ln){ar.subMenuTitle=Ln},ar.getBaseProps=function(){var Ln=Object(F.a)(ar),Qn=Ln.props,yi=ar.getMode();return{mode:yi==="horizontal"?"vertical":yi,visible:ar.getVisible(),level:Qn.level+1,inlineIndent:Qn.inlineIndent,focusable:!1,onClick:ar.onSubMenuClick,onSelect:ar.onSelect,onDeselect:ar.onDeselect,onDestroy:ar.onDestroy,selectedKeys:Qn.selectedKeys,eventKey:"".concat(Qn.eventKey,"-menu-"),openKeys:Qn.openKeys,motion:Qn.motion,onOpenChange:ar.onOpenChange,subMenuOpenDelay:Qn.subMenuOpenDelay,parentMenu:Object(F.a)(ar),subMenuCloseDelay:Qn.subMenuCloseDelay,forceSubMenuRender:Qn.forceSubMenuRender,triggerSubMenuAction:Qn.triggerSubMenuAction,builtinPlacements:Qn.builtinPlacements,defaultActiveFirst:Qn.store.getState().defaultActiveFirst[xe(Qn.eventKey)],multiple:Qn.multiple,prefixCls:Qn.rootPrefixCls,id:ar.internalMenuId,manualRef:ar.saveMenuInstance,itemIcon:Qn.itemIcon,expandIcon:Qn.expandIcon,direction:Qn.direction}},ar.getMotion=function(Ln,Qn){var yi=Object(F.a)(ar),Di=yi.haveRendered,Ui=ar.props,ua=Ui.motion,Xa=Ui.rootPrefixCls,vo=Object(n.a)(Object(n.a)({},ua),{},{leavedClassName:"".concat(Xa,"-hidden"),removeOnLeave:!1,motionAppear:Di||!Qn||Ln!=="inline"});return vo};var Hr=Jr.store,mr=Jr.eventKey,tn=Hr.getState(),sn=tn.defaultActiveFirst;ar.isRootMenu=!1;var Hn=!1;return sn&&(Hn=sn[mr]),bi(Hr,mr,Hn),ar.state={mode:Jr.mode,isOpen:Jr.isOpen},ar}return Object(D.a)(vn,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ar=this,Hr=this.props,mr=Hr.mode,tn=Hr.parentMenu,sn=Hr.manualRef,Hn=Hr.isOpen,Ln=function(){ar.setState({mode:mr,isOpen:Hn})},Qn=Hn!==this.state.isOpen,yi=mr!==this.state.mode;if((yi||Qn)&&(Pe.a.cancel(this.updateStateRaf),yi?this.updateStateRaf=Object(Pe.a)(Ln):Ln()),sn&&sn(this),mr!=="horizontal"||!(tn==null?void 0:tn.isRootMenu)||!Hn)return;this.minWidthTimeout=setTimeout(function(){return ar.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ar=this.props,Hr=ar.onDestroy,mr=ar.eventKey;Hr&&Hr(mr),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Pe.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(ar,Hr){var mr=this.getBaseProps();return v.createElement(Zn,Object(_.a)({},mr,{id:this.internalMenuId,className:ar,style:Hr}),this.props.children)}},{key:"renderChildren",value:function(){var ar=this,Hr=this.getBaseProps(),mr=Hr.mode,tn=Hr.visible,sn=Hr.forceSubMenuRender,Hn=Hr.direction,Ln=this.getMotion(mr,tn);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||tn||sn,!this.haveOpened)return v.createElement("div",null);var Qn=a()("".concat(Hr.prefixCls,"-sub"),Object(f.a)({},"".concat(Hr.prefixCls,"-rtl"),Hn==="rtl"));return this.isInlineMode()?v.createElement(ni,Object(_.a)({visible:Hr.visible,forceRender:sn},Ln),function(yi){var Di=yi.className,Ui=yi.style,ua=a()(Qn,Di);return ar.renderPopupMenu(ua,Ui)}):this.renderPopupMenu(Qn)}},{key:"render",value:function(){var ar,Hr,mr,tn=Object(n.a)({},this.props),sn=this.getVisible(),Hn=this.getPrefixCls(),Ln=this.isInlineMode(),Qn=this.getMode(),yi=a()(Hn,"".concat(Hn,"-").concat(Qn),(ar={},Object(f.a)(ar,tn.className,!!tn.className),Object(f.a)(ar,this.getOpenClassName(),sn),Object(f.a)(ar,this.getActiveClassName(),tn.active||sn&&!Ln),Object(f.a)(ar,this.getDisabledClassName(),tn.disabled),Object(f.a)(ar,this.getSelectedClassName(),this.isChildrenSelected()),ar));this.internalMenuId||(tn.eventKey?this.internalMenuId="".concat(tn.eventKey,"$Menu"):(Wi+=1,this.internalMenuId="$__$".concat(Wi,"$Menu")));var Di={},Ui={},ua={};tn.disabled||(Di={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Ui={onClick:this.onTitleClick},ua={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Xa={},vo=tn.direction,wo=vo==="rtl";Ln&&(wo?Xa.paddingRight=tn.inlineIndent*tn.level:Xa.paddingLeft=tn.inlineIndent*tn.level);var ho={};this.getVisible()&&(ho={"aria-owns":this.internalMenuId});var yo=null;Qn!=="horizontal"&&(yo=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(yo=v.createElement(this.props.expandIcon,Object(n.a)({},this.props))));var Ga=v.createElement("div",Object(_.a)({ref:this.saveSubMenuTitle,style:Xa,className:"".concat(Hn,"-title"),role:"button"},ua,Ui,{"aria-expanded":sn},ho,{"aria-haspopup":"true",title:typeof tn.title=="string"?tn.title:void 0}),tn.title,yo||v.createElement("i",{className:"".concat(Hn,"-arrow")})),Ma=this.renderChildren(),uo=((Hr=tn.parentMenu)===null||Hr===void 0?void 0:Hr.isRootMenu)?tn.parentMenu.props.getPopupContainer:function(qo){return qo.parentNode},so=qi[Qn],To=tn.popupOffset?{offset:tn.popupOffset}:{},No=a()((mr={},Object(f.a)(mr,tn.popupClassName,tn.popupClassName&&!Ln),Object(f.a)(mr,"".concat(Hn,"-rtl"),wo),mr)),oo=tn.disabled,Ja=tn.triggerSubMenuAction,zo=tn.subMenuOpenDelay,Eo=tn.forceSubMenuRender,Ea=tn.subMenuCloseDelay,jo=tn.builtinPlacements;Ne.forEach(function(qo){return delete tn[qo]}),delete tn.onClick;var Zo=wo?Object(n.a)(Object(n.a)({},Li),jo):Object(n.a)(Object(n.a)({},xi),jo);delete tn.direction;var Za=this.getBaseProps(),Xo=Ln?null:this.getMotion(Za.mode,Za.visible);return v.createElement("li",Object(_.a)({},tn,Di,{className:yi,role:"menuitem"}),v.createElement(Br,{prefixCls:Hn,popupClassName:a()("".concat(Hn,"-popup"),No),getPopupContainer:uo,builtinPlacements:Zo,popupPlacement:so,popupVisible:Ln?!1:sn,popupAlign:To,popup:Ln?null:Ma,action:oo||Ln?[]:[Ja],mouseEnterDelay:zo,mouseLeaveDelay:Ea,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Eo,popupMotion:Xo},Ga),Ln?Ma:null)}}]),vn}(v.Component);ba.defaultProps={onMouseEnter:G,onMouseLeave:G,onTitleMouseEnter:G,onTitleMouseLeave:G,onTitleClick:G,manualRef:G,mode:"vertical",title:""};var Kn=Object(K.b)(function(Or,$r){var vn=Or.openKeys,Jr=Or.activeKey,ar=Or.selectedKeys,Hr=$r.eventKey,mr=$r.subMenuKey;return{isOpen:vn.indexOf(Hr)>-1,active:Jr[mr]===Hr,selectedKeys:ar}})(ba);Kn.isSubMenu=!0;var un=Kn,ri="menuitem-overflowed",Cn=.5,ki=function(Or){Object(j.a)(vn,Or);var $r=Object(k.a)(vn);function vn(){var Jr;return Object(L.a)(this,vn),Jr=$r.apply(this,arguments),Jr.resizeObserver=null,Jr.mutationObserver=null,Jr.originalTotalWidth=0,Jr.overflowedItems=[],Jr.menuItemSizes=[],Jr.cancelFrameId=null,Jr.state={lastVisibleIndex:void 0},Jr.childRef=v.createRef(),Jr.getMenuItemNodes=function(){var ar=Jr.props.prefixCls,Hr=Jr.childRef.current;return Hr?[].slice.call(Hr.children).filter(function(mr){return mr.className.split(" ").indexOf("".concat(ar,"-overflowed-submenu"))<0}):[]},Jr.getOverflowedSubMenuItem=function(ar,Hr,mr){var tn=Jr.props,sn=tn.overflowedIndicator,Hn=tn.level,Ln=tn.mode,Qn=tn.prefixCls,yi=tn.theme;if(Hn!==1||Ln!=="horizontal")return null;var Di=Jr.props.children[0],Ui=Di.props,ua=Ui.children,Xa=Ui.title,vo=Ui.style,wo=Object(l.a)(Ui,["children","title","style"]),ho=Object(n.a)({},vo),yo="".concat(ar,"-overflowed-indicator"),Ga="".concat(ar,"-overflowed-indicator");Hr.length===0&&mr!==!0?ho=Object(n.a)(Object(n.a)({},ho),{},{display:"none"}):mr&&(ho=Object(n.a)(Object(n.a)({},ho),{},{visibility:"hidden",position:"absolute"}),yo="".concat(yo,"-placeholder"),Ga="".concat(Ga,"-placeholder"));var Ma=yi?"".concat(Qn,"-").concat(yi):"",uo={};return Ne.forEach(function(so){wo[so]!==void 0&&(uo[so]=wo[so])}),v.createElement(un,Object(_.a)({title:sn,className:"".concat(Qn,"-overflowed-submenu"),popupClassName:Ma},uo,{key:yo,eventKey:Ga,disabled:!1,style:ho}),Hr)},Jr.setChildrenWidthAndResize=function(){if(Jr.props.mode!=="horizontal")return;var ar=Jr.childRef.current;if(!ar)return;var Hr=ar.children;if(!Hr||Hr.length===0)return;var mr=ar.children[Hr.length-1];ve(mr,"display","inline-block");var tn=Jr.getMenuItemNodes(),sn=tn.filter(function(Hn){return Hn.className.split(" ").indexOf(ri)>=0});sn.forEach(function(Hn){ve(Hn,"display","inline-block")}),Jr.menuItemSizes=tn.map(function(Hn){return de(Hn,!0)}),sn.forEach(function(Hn){ve(Hn,"display","none")}),Jr.overflowedIndicatorWidth=de(ar.children[ar.children.length-1],!0),Jr.originalTotalWidth=Jr.menuItemSizes.reduce(function(Hn,Ln){return Hn+Ln},0),Jr.handleResize(),ve(mr,"display","none")},Jr.handleResize=function(){if(Jr.props.mode!=="horizontal")return;var ar=Jr.childRef.current;if(!ar)return;var Hr=de(ar);Jr.overflowedItems=[];var mr=0,tn;Jr.originalTotalWidth>Hr+Cn&&(tn=-1,Jr.menuItemSizes.forEach(function(sn){mr+=sn,mr+Jr.overflowedIndicatorWidth<=Hr&&(tn+=1)})),Jr.setState({lastVisibleIndex:tn})},Jr}return Object(D.a)(vn,[{key:"componentDidMount",value:function(){var ar=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Hr=this.childRef.current;if(!Hr)return;this.resizeObserver=new qe.default(function(mr){mr.forEach(function(){var tn=ar.cancelFrameId;cancelAnimationFrame(tn),ar.cancelFrameId=requestAnimationFrame(ar.setChildrenWidthAndResize)})}),[].slice.call(Hr.children).concat(Hr).forEach(function(mr){ar.resizeObserver.observe(mr)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ar.resizeObserver.disconnect(),[].slice.call(Hr.children).concat(Hr).forEach(function(mr){ar.resizeObserver.observe(mr)}),ar.setChildrenWidthAndResize()}),this.mutationObserver.observe(Hr,{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(ar){var Hr=this,mr=this.state.lastVisibleIndex;return(ar||[]).reduce(function(tn,sn,Hn){var Ln=sn;if(Hr.props.mode==="horizontal"){var Qn=Hr.getOverflowedSubMenuItem(sn.props.eventKey,[]);mr!==void 0&&Hr.props.className.indexOf("".concat(Hr.props.prefixCls,"-root"))!==-1&&(Hn>mr&&(Ln=v.cloneElement(sn,{style:{display:"none"},eventKey:"".concat(sn.props.eventKey,"-hidden"),className:"".concat(ri)})),Hn===mr+1&&(Hr.overflowedItems=ar.slice(mr+1).map(function(Di){return v.cloneElement(Di,{key:Di.props.eventKey,mode:"vertical-left"})}),Qn=Hr.getOverflowedSubMenuItem(sn.props.eventKey,Hr.overflowedItems)));var yi=[].concat(Object(c.a)(tn),[Qn,Ln]);return Hn===ar.length-1&&yi.push(Hr.getOverflowedSubMenuItem(sn.props.eventKey,[],!0)),yi}return[].concat(Object(c.a)(tn),[Ln])},[])}},{key:"render",value:function(){var ar=this.props,Hr=ar.visible,mr=ar.prefixCls,tn=ar.overflowedIndicator,sn=ar.mode,Hn=ar.level,Ln=ar.tag,Qn=ar.children,yi=ar.theme,Di=Object(l.a)(ar,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Ui=Ln;return v.createElement(Ui,Object(_.a)({ref:this.childRef},Di),this.renderChildren(Qn))}}]),vn}(v.Component);ki.defaultProps={tag:"div",className:""};var Tn=ki;function oa(Or){return Or.length?Or.every(function($r){return!!$r.props.disabled}):!0}function Ti(Or,$r,vn){var Jr=Or.getState();Or.setState({activeKey:Object(n.a)(Object(n.a)({},Jr.activeKey),{},Object(f.a)({},$r,vn))})}function li(Or){return Or.eventKey||"0-menu-"}function Ri(Or,$r){var vn=$r,Jr=Or.children,ar=Or.eventKey;if(vn){var Hr;if(fe(Jr,function(mr,tn){mr&&mr.props&&!mr.props.disabled&&vn===te(mr,ar,tn)&&(Hr=!0)}),Hr)return vn}return vn=null,Or.defaultActiveFirst&&fe(Jr,function(mr,tn){!vn&&mr&&!mr.props.disabled&&(vn=te(mr,ar,tn))}),vn}function Da(Or){if(!Or)return;var $r=this.instanceArray.indexOf(Or);$r!==-1?this.instanceArray[$r]=Or:this.instanceArray.push(Or)}var Un=function(Or){Object(j.a)(vn,Or);var $r=Object(k.a)(vn);function vn(Jr){var ar;return Object(L.a)(this,vn),ar=$r.call(this,Jr),ar.onKeyDown=function(Hr,mr){var tn=Hr.keyCode,sn;if(ar.getFlatInstanceArray().forEach(function(Ln){Ln&&Ln.props.active&&Ln.onKeyDown&&(sn=Ln.onKeyDown(Hr))}),sn)return 1;var Hn=null;return(tn===A.a.UP||tn===A.a.DOWN)&&(Hn=ar.step(tn===A.a.UP?-1:1)),Hn?(Hr.preventDefault(),Ti(ar.props.store,li(ar.props),Hn.props.eventKey),typeof mr=="function"&&mr(Hn),1):void 0},ar.onItemHover=function(Hr){var mr=Hr.key,tn=Hr.hover;Ti(ar.props.store,li(ar.props),tn?mr:null)},ar.onDeselect=function(Hr){ar.props.onDeselect(Hr)},ar.onSelect=function(Hr){ar.props.onSelect(Hr)},ar.onClick=function(Hr){ar.props.onClick(Hr)},ar.onOpenChange=function(Hr){ar.props.onOpenChange(Hr)},ar.onDestroy=function(Hr){ar.props.onDestroy(Hr)},ar.getFlatInstanceArray=function(){return ar.instanceArray},ar.step=function(Hr){var mr=ar.getFlatInstanceArray(),tn=ar.props.store.getState().activeKey[li(ar.props)],sn=mr.length;if(!sn)return null;Hr<0&&(mr=mr.concat().reverse());var Hn=-1;if(mr.every(function(Di,Ui){return Di&&Di.props.eventKey===tn?(Hn=Ui,!1):!0}),!ar.props.defaultActiveFirst&&Hn!==-1&&oa(mr.slice(Hn,sn-1)))return;var Ln=(Hn+1)%sn,Qn=Ln;do{var yi=mr[Qn];if(!yi||yi.props.disabled)Qn=(Qn+1)%sn;else return yi}while(Qn!==Ln);return null},ar.renderCommonMenuItem=function(Hr,mr,tn){var sn=ar.props.store.getState(),Hn=Object(F.a)(ar),Ln=Hn.props,Qn=te(Hr,Ln.eventKey,mr),yi=Hr.props;if(!yi||typeof Hr.type=="string")return Hr;var Di=Qn===sn.activeKey,Ui=Object(n.a)(Object(n.a)({mode:yi.mode||Ln.mode,level:Ln.level,inlineIndent:Ln.inlineIndent,renderMenuItem:ar.renderMenuItem,rootPrefixCls:Ln.prefixCls,index:mr,parentMenu:Ln.parentMenu,manualRef:yi.disabled?void 0:Object(B.a)(Hr.ref,Da.bind(Object(F.a)(ar))),eventKey:Qn,active:!yi.disabled&&Di,multiple:Ln.multiple,onClick:function(Xa){(yi.onClick||G)(Xa),ar.onClick(Xa)},onItemHover:ar.onItemHover,motion:Ln.motion,subMenuOpenDelay:Ln.subMenuOpenDelay,subMenuCloseDelay:Ln.subMenuCloseDelay,forceSubMenuRender:Ln.forceSubMenuRender,onOpenChange:ar.onOpenChange,onDeselect:ar.onDeselect,onSelect:ar.onSelect,builtinPlacements:Ln.builtinPlacements,itemIcon:yi.itemIcon||ar.props.itemIcon,expandIcon:yi.expandIcon||ar.props.expandIcon},tn),{},{direction:Ln.direction});return(Ln.mode==="inline"||Me())&&(Ui.triggerSubMenuAction="click"),v.cloneElement(Hr,Object(n.a)(Object(n.a)({},Ui),{},{key:Qn||mr}))},ar.renderMenuItem=function(Hr,mr,tn){if(!Hr)return null;var sn=ar.props.store.getState(),Hn={openKeys:sn.openKeys,selectedKeys:sn.selectedKeys,triggerSubMenuAction:ar.props.triggerSubMenuAction,subMenuKey:tn};return ar.renderCommonMenuItem(Hr,mr,Hn)},Jr.store.setState({activeKey:Object(n.a)(Object(n.a)({},Jr.store.getState().activeKey),{},Object(f.a)({},Jr.eventKey,Ri(Jr,Jr.activeKey)))}),ar.instanceArray=[],ar}return Object(D.a)(vn,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ar){return this.props.visible||ar.visible||this.props.className!==ar.className||!z()(this.props.style,ar.style)}},{key:"componentDidUpdate",value:function(ar){var Hr=this.props,mr="activeKey"in Hr?Hr.activeKey:Hr.store.getState().activeKey[li(Hr)],tn=Ri(Hr,mr);if(tn!==mr)Ti(Hr.store,li(Hr),tn);else if("activeKey"in ar){var sn=Ri(ar,ar.activeKey);tn!==sn&&Ti(Hr.store,li(Hr),tn)}}},{key:"render",value:function(){var ar=this,Hr=Object(_.a)({},this.props);this.instanceArray=[];var mr=a()(Hr.prefixCls,Hr.className,"".concat(Hr.prefixCls,"-").concat(Hr.mode)),tn={className:mr,role:Hr.role||"menu"};Hr.id&&(tn.id=Hr.id),Hr.focusable&&(tn.tabIndex=0,tn.onKeyDown=this.onKeyDown);var sn=Hr.prefixCls,Hn=Hr.eventKey,Ln=Hr.visible,Qn=Hr.level,yi=Hr.mode,Di=Hr.overflowedIndicator,Ui=Hr.theme;return Ne.forEach(function(ua){return delete Hr[ua]}),delete Hr.onClick,v.createElement(Tn,Object(_.a)({},Hr,{prefixCls:sn,mode:yi,tag:"ul",level:Qn,theme:Ui,visible:Ln,overflowedIndicator:Di},tn),Object(s.a)(Hr.children).map(function(ua,Xa){return ar.renderMenuItem(ua,Xa,Hn||"0-menu-")}))}}]),vn}(v.Component);Un.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:G};var on=Object(K.b)()(Un),Zn=on,hi=i("Kwbf");function Ni(Or,$r,vn){var Jr=Or.prefixCls,ar=Or.motion,Hr=Or.defaultMotions,mr=Hr===void 0?{}:Hr,tn=Or.openAnimation,sn=Or.openTransitionName,Hn=$r.switchingModeFromInline;if(ar)return ar;if(Object(X.a)(tn)==="object"&&tn)Object(hi.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof tn=="string")return{motionName:"".concat(Jr,"-open-").concat(tn)};if(sn)return{motionName:sn};var Ln=mr[vn];return Ln||(Hn?null:mr.other)}var zi=function(Or){Object(j.a)(vn,Or);var $r=Object(k.a)(vn);function vn(Jr){var ar;Object(L.a)(this,vn),ar=$r.call(this,Jr),ar.onSelect=function(tn){var sn=Object(F.a)(ar),Hn=sn.props;if(Hn.selectable){var Ln=ar.store.getState(),Qn=Ln.selectedKeys,yi=tn.key;Hn.multiple?Qn=Qn.concat([yi]):Qn=[yi],"selectedKeys"in Hn||ar.store.setState({selectedKeys:Qn}),Hn.onSelect(Object(n.a)(Object(n.a)({},tn),{},{selectedKeys:Qn}))}},ar.onClick=function(tn){var sn=ar.getRealMenuMode(),Hn=Object(F.a)(ar),Ln=Hn.store,Qn=Hn.props.onOpenChange;sn!=="inline"&&!("openKeys"in ar.props)&&(Ln.setState({openKeys:[]}),Qn([])),ar.props.onClick(tn)},ar.onKeyDown=function(tn,sn){ar.innerMenu.getWrappedInstance().onKeyDown(tn,sn)},ar.onOpenChange=function(tn){var sn=Object(F.a)(ar),Hn=sn.props,Ln=ar.store.getState().openKeys.concat(),Qn=!1,yi=function(Ui){var ua=!1;if(Ui.open)ua=Ln.indexOf(Ui.key)===-1,ua&&Ln.push(Ui.key);else{var Xa=Ln.indexOf(Ui.key);ua=Xa!==-1,ua&&Ln.splice(Xa,1)}Qn=Qn||ua};Array.isArray(tn)?tn.forEach(yi):yi(tn),Qn&&("openKeys"in ar.props||ar.store.setState({openKeys:Ln}),Hn.onOpenChange(Ln))},ar.onDeselect=function(tn){var sn=Object(F.a)(ar),Hn=sn.props;if(Hn.selectable){var Ln=ar.store.getState().selectedKeys.concat(),Qn=tn.key,yi=Ln.indexOf(Qn);yi!==-1&&Ln.splice(yi,1),"selectedKeys"in Hn||ar.store.setState({selectedKeys:Ln}),Hn.onDeselect(Object(n.a)(Object(n.a)({},tn),{},{selectedKeys:Ln}))}},ar.onMouseEnter=function(tn){ar.restoreModeVerticalFromInline();var sn=ar.props.onMouseEnter;sn&&sn(tn)},ar.onTransitionEnd=function(tn){var sn=tn.propertyName==="width"&&tn.target===tn.currentTarget,Hn=tn.target.className,Ln=Object.prototype.toString.call(Hn)==="[object SVGAnimatedString]"?Hn.animVal:Hn,Qn=tn.propertyName==="font-size"&&Ln.indexOf("anticon")>=0;(sn||Qn)&&ar.restoreModeVerticalFromInline()},ar.setInnerMenu=function(tn){ar.innerMenu=tn},ar.isRootMenu=!0;var Hr=Jr.defaultSelectedKeys,mr=Jr.defaultOpenKeys;return"selectedKeys"in Jr&&(Hr=Jr.selectedKeys||[]),"openKeys"in Jr&&(mr=Jr.openKeys||[]),ar.store=Object(K.c)({selectedKeys:Hr,openKeys:mr,activeKey:{"0-menu-":Ri(Jr,Jr.activeKey)}}),ar.state={switchingModeFromInline:!1,prevProps:Jr,inlineOpenKeys:[],store:ar.store},ar}return Object(D.a)(vn,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ar){var Hr=this.props,mr=Hr.siderCollapsed,tn=Hr.inlineCollapsed,sn=Hr.onOpenChange;(!ar.inlineCollapsed&&tn||!ar.siderCollapsed&&mr)&&sn([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var ar=this.props.collapsedWidth,Hr=this.store,mr=this.prevOpenKeys,tn=this.getInlineCollapsed()&&(ar===0||ar==="0"||ar==="0px");tn?(this.prevOpenKeys=Hr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):mr&&(this.store.setState({openKeys:mr}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ar=this.props.mode,Hr=this.state.switchingModeFromInline,mr=this.getInlineCollapsed();return Hr&&mr?"inline":mr?"vertical":ar}},{key:"getInlineCollapsed",value:function(){var ar=this.props,Hr=ar.inlineCollapsed,mr=ar.siderCollapsed;return mr!==void 0?mr:Hr}},{key:"restoreModeVerticalFromInline",value:function(){var ar=this.state.switchingModeFromInline;ar&&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 ar=Object(n.a)({},Object(Z.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Hr=this.getRealMenuMode();return ar.className+=" ".concat(ar.prefixCls,"-root"),ar.direction==="rtl"&&(ar.className+=" ".concat(ar.prefixCls,"-rtl")),ar=Object(n.a)(Object(n.a)({},ar),{},{mode:Hr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Ni(this.props,this.state,Hr)}),delete ar.openAnimation,delete ar.openTransitionName,v.createElement(K.a,{store:this.store},v.createElement(Zn,Object(_.a)({},ar,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(ar,Hr){var mr=Hr.prevProps,tn=Hr.store,sn=tn.getState(),Hn={},Ln={prevProps:ar};return mr.mode==="inline"&&ar.mode!=="inline"&&(Ln.switchingModeFromInline=!0),"openKeys"in ar?Hn.openKeys=ar.openKeys||[]:((ar.inlineCollapsed&&!mr.inlineCollapsed||ar.siderCollapsed&&!mr.siderCollapsed)&&(Ln.switchingModeFromInline=!0,Ln.inlineOpenKeys=sn.openKeys,Hn.openKeys=[]),(!ar.inlineCollapsed&&mr.inlineCollapsed||!ar.siderCollapsed&&mr.siderCollapsed)&&(Hn.openKeys=Hr.inlineOpenKeys,Ln.inlineOpenKeys=[])),Object.keys(Hn).length&&tn.setState(Hn),Ln}}]),vn}(v.Component);zi.defaultProps={selectable:!0,onClick:G,onSelect:G,onOpenChange:G,onDeselect:G,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:v.createElement("span",null,"\xB7\xB7\xB7")};var ea=zi,Fi=function(Or){Object(j.a)(vn,Or);var $r=Object(k.a)(vn);function vn(){var Jr;return Object(L.a)(this,vn),Jr=$r.apply(this,arguments),Jr.onKeyDown=function(ar){var Hr=ar.keyCode;return Hr===A.a.ENTER?(Jr.onClick(ar),!0):void 0},Jr.onMouseLeave=function(ar){var Hr=Jr.props,mr=Hr.eventKey,tn=Hr.onItemHover,sn=Hr.onMouseLeave;tn({key:mr,hover:!1}),sn({key:mr,domEvent:ar})},Jr.onMouseEnter=function(ar){var Hr=Jr.props,mr=Hr.eventKey,tn=Hr.onItemHover,sn=Hr.onMouseEnter;tn({key:mr,hover:!0}),sn({key:mr,domEvent:ar})},Jr.onClick=function(ar){var Hr=Jr.props,mr=Hr.eventKey,tn=Hr.multiple,sn=Hr.onClick,Hn=Hr.onSelect,Ln=Hr.onDeselect,Qn=Hr.isSelected,yi={key:mr,keyPath:[mr],item:Object(F.a)(Jr),domEvent:ar};sn(yi),tn?Qn?Ln(yi):Hn(yi):Qn||Hn(yi)},Jr.saveNode=function(ar){Jr.node=ar},Jr}return Object(D.a)(vn,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ar=this.props;ar.onDestroy&&ar.onDestroy(ar.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 ar,Hr=Object(n.a)({},this.props),mr=a()(this.getPrefixCls(),Hr.className,(ar={},Object(f.a)(ar,this.getActiveClassName(),!Hr.disabled&&Hr.active),Object(f.a)(ar,this.getSelectedClassName(),Hr.isSelected),Object(f.a)(ar,this.getDisabledClassName(),Hr.disabled),ar)),tn=Object(n.a)(Object(n.a)({},Hr.attribute),{},{title:typeof Hr.title=="string"?Hr.title:void 0,className:mr,role:Hr.role||"menuitem","aria-disabled":Hr.disabled});Hr.role==="option"?tn=Object(n.a)(Object(n.a)({},tn),{},{role:"option","aria-selected":Hr.isSelected}):(Hr.role===null||Hr.role==="none")&&(tn.role="none");var sn={onClick:Hr.disabled?null:this.onClick,onMouseLeave:Hr.disabled?null:this.onMouseLeave,onMouseEnter:Hr.disabled?null:this.onMouseEnter},Hn=Object(n.a)({},Hr.style);Hr.mode==="inline"&&(Hr.direction==="rtl"?Hn.paddingRight=Hr.inlineIndent*Hr.level:Hn.paddingLeft=Hr.inlineIndent*Hr.level),Ne.forEach(function(Qn){return delete Hr[Qn]}),delete Hr.direction;var Ln=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Ln=v.createElement(this.props.itemIcon,this.props)),v.createElement("li",Object(_.a)({},Object(Z.a)(Hr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),tn,sn,{style:Hn,ref:this.saveNode}),Hr.children,Ln)}}]),vn}(v.Component);Fi.isMenuItem=!0,Fi.defaultProps={onSelect:G,onMouseEnter:G,onMouseLeave:G,manualRef:G};var ia=Object(K.b)(function(Or,$r){var vn=Or.activeKey,Jr=Or.selectedKeys,ar=$r.eventKey,Hr=$r.subMenuKey;return{active:vn[Hr]===ar,isSelected:Array.isArray(Jr)?Jr.indexOf(ar)!==-1:Jr===ar}})(Fi),Va=ia,fo=function(Or){Object(j.a)(vn,Or);var $r=Object(k.a)(vn);function vn(){var Jr;return Object(L.a)(this,vn),Jr=$r.apply(this,arguments),Jr.renderInnerMenuItem=function(ar){var Hr=Jr.props,mr=Hr.renderMenuItem,tn=Hr.index;return mr(ar,tn,Jr.props.subMenuKey)},Jr}return Object(D.a)(vn,[{key:"render",value:function(){var ar=Object(_.a)({},this.props),Hr=ar.className,mr=Hr===void 0?"":Hr,tn=ar.rootPrefixCls,sn="".concat(tn,"-item-group-title"),Hn="".concat(tn,"-item-group-list"),Ln=ar.title,Qn=ar.children;return Ne.forEach(function(yi){return delete ar[yi]}),delete ar.direction,v.createElement("li",Object(_.a)({},ar,{onClick:function(Di){return Di.stopPropagation()},className:"".concat(mr," ").concat(tn,"-item-group")}),v.createElement("div",{className:sn,title:typeof Ln=="string"?Ln:void 0},Ln),v.createElement("ul",{className:Hn},v.Children.map(Qn,this.renderInnerMenuItem)))}}]),vn}(v.Component);fo.isMenuItemGroup=!0,fo.defaultProps={disabled:!0};var ja=fo,Ka=function($r){var vn=$r.className,Jr=$r.rootPrefixCls,ar=$r.style;return v.createElement("li",{className:"".concat(vn," ").concat(Jr,"-item-divider"),style:ar})};Ka.defaultProps={disabled:!0,className:"",style:{}};var Gi=Ka,mn=ea,$i=i("eDIo");function io(Or,$r){var vn=Or.prefixCls,Jr=Or.editable,ar=Or.locale,Hr=Or.style;return!Jr||Jr.showAdd===!1?null:v.createElement("button",{ref:$r,type:"button",className:"".concat(vn,"-nav-add"),style:Hr,"aria-label":(ar==null?void 0:ar.addAriaLabel)||"Add tab",onClick:function(tn){Jr.onEdit("add",{event:tn})}},Jr.addIcon||"+")}var La=v.forwardRef(io);function ao(Or,$r){var vn=Or.prefixCls,Jr=Or.id,ar=Or.tabs,Hr=Or.locale,mr=Or.mobile,tn=Or.moreIcon,sn=tn===void 0?"More":tn,Hn=Or.moreTransitionName,Ln=Or.style,Qn=Or.className,yi=Or.editable,Di=Or.tabBarGutter,Ui=Or.rtl,ua=Or.onTabClick,Xa=Object(v.useState)(!1),vo=Object(d.a)(Xa,2),wo=vo[0],ho=vo[1],yo=Object(v.useState)(null),Ga=Object(d.a)(yo,2),Ma=Ga[0],uo=Ga[1],so="".concat(Jr,"-more-popup"),To="".concat(vn,"-dropdown"),No=Ma!==null?"".concat(so,"-").concat(Ma):null,oo=Hr==null?void 0:Hr.dropdownAriaLabel,Ja=v.createElement(mn,{onClick:function(Xo){var qo=Xo.key,cs=Xo.domEvent;ua(qo,cs),ho(!1)},id:so,tabIndex:-1,role:"listbox","aria-activedescendant":No,selectedKeys:[Ma],"aria-label":oo!==void 0?oo:"expanded dropdown"},ar.map(function(Za){return v.createElement(Va,{key:Za.key,id:"".concat(so,"-").concat(Za.key),role:"option","aria-controls":Jr&&"".concat(Jr,"-panel-").concat(Za.key),disabled:Za.disabled},Za.tab)}));function zo(Za){for(var Xo=ar.filter(function(Io){return!Io.disabled}),qo=Xo.findIndex(function(Io){return Io.key===Ma})||0,cs=Xo.length,Oo=0;Oo<cs;Oo+=1){qo=(qo+Za+cs)%cs;var ss=Xo[qo];if(!ss.disabled){uo(ss.key);return}}}function Eo(Za){var Xo=Za.which;if(!wo){[A.a.DOWN,A.a.SPACE,A.a.ENTER].includes(Xo)&&(ho(!0),Za.preventDefault());return}switch(Xo){case A.a.UP:zo(-1),Za.preventDefault();break;case A.a.DOWN:zo(1),Za.preventDefault();break;case A.a.ESC:ho(!1);break;case A.a.SPACE:case A.a.ENTER:Ma!==null&&ua(Ma,Za);break}}Object(v.useEffect)(function(){var Za=document.getElementById(No);Za&&Za.scrollIntoView&&Za.scrollIntoView(!1)},[Ma]),Object(v.useEffect)(function(){wo||uo(null)},[wo]);var Ea=Object(f.a)({},Ui?"marginLeft":"marginRight",Di);ar.length||(Ea.visibility="hidden",Ea.order=1);var jo=a()(Object(f.a)({},"".concat(To,"-rtl"),Ui)),Zo=mr?null:v.createElement($i.a,{prefixCls:To,overlay:Ja,trigger:["hover"],visible:wo,transitionName:Hn,onVisibleChange:ho,overlayClassName:jo,mouseEnterDelay:.1,mouseLeaveDelay:.1},v.createElement("button",{type:"button",className:"".concat(vn,"-nav-more"),style:Ea,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":so,id:"".concat(Jr,"-more"),"aria-expanded":wo,onKeyDown:Eo},sn));return v.createElement("div",{className:a()("".concat(vn,"-nav-operations"),Qn),style:Ln,ref:$r},Zo,v.createElement(La,{prefixCls:vn,locale:Hr,editable:yi}))}var tr=v.forwardRef(ao),An=Object(v.createContext)(null),_n=.1,Bn=.01,tt=20,Ft=Math.pow(.995,tt);function Cr(){var Or=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(Or)||/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(Or.substr(0,4)))}function gr(Or,$r){var vn=Object(v.useState)(),Jr=Object(d.a)(vn,2),ar=Jr[0],Hr=Jr[1],mr=Object(v.useState)(0),tn=Object(d.a)(mr,2),sn=tn[0],Hn=tn[1],Ln=Object(v.useState)(0),Qn=Object(d.a)(Ln,2),yi=Qn[0],Di=Qn[1],Ui=Object(v.useState)(),ua=Object(d.a)(Ui,2),Xa=ua[0],vo=ua[1],wo=Object(v.useRef)();function ho(oo){var Ja=oo.touches[0],zo=Ja.screenX,Eo=Ja.screenY;Hr({x:zo,y:Eo}),window.clearInterval(wo.current)}function yo(oo){if(!ar)return;oo.preventDefault();var Ja=oo.touches[0],zo=Ja.screenX,Eo=Ja.screenY;Hr({x:zo,y:Eo});var Ea=zo-ar.x,jo=Eo-ar.y;$r(Ea,jo);var Zo=Date.now();Hn(Zo),Di(Zo-sn),vo({x:Ea,y:jo})}function Ga(){if(!ar)return;if(Hr(null),vo(null),Xa){var oo=Xa.x/yi,Ja=Xa.y/yi,zo=Math.abs(oo),Eo=Math.abs(Ja);if(Math.max(zo,Eo)<_n)return;var Ea=oo,jo=Ja;wo.current=window.setInterval(function(){if(Math.abs(Ea)<Bn&&Math.abs(jo)<Bn){window.clearInterval(wo.current);return}Ea*=Ft,jo*=Ft,$r(Ea*tt,jo*tt)},tt)}}var Ma=Object(v.useRef)(0),uo=Object(v.useRef)(!1),so=Object(v.useRef)();function To(oo){var Ja=oo.deltaX,zo=oo.deltaY,Eo=0,Ea=Math.abs(Ja),jo=Math.abs(zo);Ea===jo?Eo=so.current==="x"?Ja:zo:Ea>jo?(Eo=Ja,so.current="x"):(Eo=zo,so.current="y");var Zo=Date.now();Zo-Ma.current>100&&(uo.current=!1),($r(-Eo,-Eo)||uo.current)&&(oo.preventDefault(),uo.current=!0),Ma.current=Zo}var No=Object(v.useRef)(null);No.current={onTouchStart:ho,onTouchMove:yo,onTouchEnd:Ga,onWheel:To},v.useEffect(function(){function oo(Ea){No.current.onTouchStart(Ea)}function Ja(Ea){No.current.onTouchMove(Ea)}function zo(Ea){No.current.onTouchEnd(Ea)}function Eo(Ea){No.current.onWheel(Ea)}return document.addEventListener("touchmove",Ja,{passive:!1}),document.addEventListener("touchend",zo,{passive:!1}),Or.current.addEventListener("touchstart",oo,{passive:!1}),Or.current.addEventListener("wheel",Eo),function(){document.removeEventListener("touchmove",Ja),document.removeEventListener("touchend",zo)}},[])}function Yr(){var Or=Object(v.useRef)(new Map);function $r(Jr){return Or.current.has(Jr)||Or.current.set(Jr,v.createRef()),Or.current.get(Jr)}function vn(Jr){Or.current.delete(Jr)}return[$r,vn]}function en(Or,$r){var vn=v.useRef(Or),Jr=v.useState({}),ar=Object(d.a)(Jr,2),Hr=ar[1];function mr(tn){var sn=typeof tn=="function"?tn(vn.current):tn;sn!==vn.current&&$r(sn,vn.current),vn.current=sn,Hr({})}return[vn.current,mr]}var cn=function($r){var vn=$r.position,Jr=$r.prefixCls,ar=$r.extra;if(!ar)return null;var Hr,mr=ar;return vn==="right"&&(Hr=mr.right||!mr.left&&mr||null),vn==="left"&&(Hr=mr.left||null),Hr?v.createElement("div",{className:"".concat(Jr,"-extra-content")},Hr):null};function In(Or,$r){var vn,Jr=v.useContext(An),ar=Jr.prefixCls,Hr=Jr.tabs,mr=Or.className,tn=Or.style,sn=Or.id,Hn=Or.animated,Ln=Or.activeKey,Qn=Or.rtl,yi=Or.extra,Di=Or.editable,Ui=Or.locale,ua=Or.tabPosition,Xa=Or.tabBarGutter,vo=Or.children,wo=Or.onTabClick,ho=Or.onTabScroll,yo=Object(v.useRef)(),Ga=Object(v.useRef)(),Ma=Object(v.useRef)(),uo=Object(v.useRef)(),so=Yr(),To=Object(d.a)(so,2),No=To[0],oo=To[1],Ja=ua==="top"||ua==="bottom",zo=en(0,function(Oe,Xe){Ja&&ho&&ho({direction:Oe>Xe?"left":"right"})}),Eo=Object(d.a)(zo,2),Ea=Eo[0],jo=Eo[1],Zo=en(0,function(Oe,Xe){!Ja&&ho&&ho({direction:Oe>Xe?"top":"bottom"})}),Za=Object(d.a)(Zo,2),Xo=Za[0],qo=Za[1],cs=Object(v.useState)(0),Oo=Object(d.a)(cs,2),ss=Oo[0],Io=Oo[1],lo=Object(v.useState)(0),ks=Object(d.a)(lo,2),As=ks[0],ko=ks[1],ys=Object(v.useState)(0),es=Object(d.a)(ys,2),ts=es[0],_s=es[1],Ts=Object(v.useState)(0),$s=Object(d.a)(Ts,2),Ms=$s[0],Fs=$s[1],as=Object(v.useState)(null),vs=Object(d.a)(as,2),Ho=vs[0],Ns=vs[1],Us=Object(v.useState)(null),ka=Object(d.a)(Us,2),Go=ka[0],xl=ka[1],ul=Object(v.useState)(0),gl=Object(d.a)(ul,2),_l=gl[0],Xs=gl[1],Yo=Object(v.useState)(0),al=Object(d.a)(Yo,2),Wl=al[0],Ps=al[1],nl=g(new Map),$o=Object(d.a)(nl,2),Sl=$o[0],Pc=$o[1],nc=T(Hr,Sl,ss),hc="".concat(ar,"-nav-operations-hidden"),ic=0,Jl=0;Ja?Qn?(ic=0,Jl=Math.max(0,ss-Ho)):(ic=Math.min(0,Ho-ss),Jl=0):(ic=Math.min(0,Go-As),Jl=0);function Yl(Oe){return Oe<ic?[ic,!1]:Oe>Jl?[Jl,!1]:[Oe,!0]}var Al=Object(v.useRef)(),zs=Object(v.useState)(),Tl=Object(d.a)(zs,2),vl=Tl[0],Cl=Tl[1];function dn(){Cl(Date.now())}function bl(){window.clearTimeout(Al.current)}gr(yo,function(Oe,Xe){var wt=!1;function Ht(Pr,Xr){Pr(function(yn){var Jn=Yl(yn+Xr),Ei=Object(d.a)(Jn,2),Ji=Ei[0],wa=Ei[1];return wt=wa,Ji})}if(Ja){if(Ho>=ss)return wt;Ht(jo,Oe)}else{if(Go>=As)return wt;Ht(qo,Xe)}return bl(),dn(),wt}),Object(v.useEffect)(function(){return bl(),vl&&(Al.current=window.setTimeout(function(){Cl(0)},100)),bl},[vl]);function Lc(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ln,Xe=nc.get(Oe);if(!Xe)return;if(Ja){var wt=Ea;Qn?Xe.right<Ea?wt=Xe.right:Xe.right+Xe.width>Ea+Ho&&(wt=Xe.right+Xe.width-Ho):Xe.left<-Ea?wt=-Xe.left:Xe.left+Xe.width>-Ea+Ho&&(wt=-(Xe.left+Xe.width-Ho)),qo(0),jo(Yl(wt)[0])}else{var Ht=Xo;Xe.top<-Xo?Ht=-Xe.top:Xe.top+Xe.height>-Xo+Go&&(Ht=-(Xe.top+Xe.height-Go)),jo(0),qo(Yl(Ht)[0])}}var bc=S(nc,{width:Ho,height:Go,left:Ea,top:Xo},{width:ts,height:Ms},{width:_l,height:Wl},Object(n.a)(Object(n.a)({},Or),{},{tabs:Hr})),pc=Object(d.a)(bc,2),fs=pc[0],Ks=pc[1],Ol=Hr.map(function(Oe){var Xe=Oe.key;return v.createElement(x,{id:sn,prefixCls:ar,key:Xe,rtl:Qn,tab:Oe,closable:Oe.closable,editable:Di,active:Xe===Ln,tabPosition:ua,tabBarGutter:Xa,renderWrapper:vo,removeAriaLabel:Ui==null?void 0:Ui.removeAriaLabel,ref:No(Xe),onClick:function(Ht){wo(Xe,Ht)},onRemove:function(){oo(Xe)},onFocus:function(){Lc(Xe),dn(),Qn||(yo.current.scrollLeft=0),yo.current.scrollTop=0}})}),Hs=h(function(){var Oe,Xe,wt,Ht,Pr,Xr,yn,Jn,Ei,Ji=((Oe=yo.current)===null||Oe===void 0?void 0:Oe.offsetWidth)||0,wa=((Xe=yo.current)===null||Xe===void 0?void 0:Xe.offsetHeight)||0,Ya=((wt=uo.current)===null||wt===void 0?void 0:wt.offsetWidth)||0,mo=((Ht=uo.current)===null||Ht===void 0?void 0:Ht.offsetHeight)||0,Mo=((Pr=Ma.current)===null||Pr===void 0?void 0:Pr.offsetWidth)||0,us=((Xr=Ma.current)===null||Xr===void 0?void 0:Xr.offsetHeight)||0;Ns(Ji),xl(wa),Xs(Ya),Ps(mo);var ws=(((yn=Ga.current)===null||yn===void 0?void 0:yn.offsetWidth)||0)-Ya,Os=(((Jn=Ga.current)===null||Jn===void 0?void 0:Jn.offsetHeight)||0)-mo;Io(ws),ko(Os);var il=(Ei=Ma.current)===null||Ei===void 0?void 0:Ei.className.includes(hc);_s(ws-(il?0:Mo)),Fs(Os-(il?0:us)),Pc(function(){var Ys=new Map;return Hr.forEach(function(ro){var Ws=ro.key,bs=No(Ws).current;bs&&Ys.set(Ws,{width:bs.offsetWidth,height:bs.offsetHeight,left:bs.offsetLeft,top:bs.offsetTop})}),Ys})}),ol=Hr.slice(0,fs),Gs=Hr.slice(Ks+1),Il=[].concat(Object(c.a)(ol),Object(c.a)(Gs)),Uc=Object(v.useState)(),mc=Object(d.a)(Uc,2),yc=mc[0],ac=mc[1],Ql=nc.get(Ln),gc=Object(v.useRef)();function Mt(){o.a.cancel(gc.current)}Object(v.useEffect)(function(){var Oe={};return Ql&&(Ja?(Qn?Oe.right=Ql.right:Oe.left=Ql.left,Oe.width=Ql.width):(Oe.top=Ql.top,Oe.height=Ql.height)),Mt(),gc.current=o()(function(){ac(Oe)}),Mt},[Ql,Ja,Qn]),Object(v.useEffect)(function(){Lc()},[Ln,Ql,nc,Ja]),Object(v.useEffect)(function(){Hs()},[Qn,Xa,Ln,Hr.map(function(Oe){return Oe.key}).join("_")]);var Vt=!!Il.length,wn="".concat(ar,"-nav-wrap"),ci,Et,ce,Se;return Ja?Qn?(Et=Ea>0,ci=Ea+Ho<ss):(ci=Ea<0,Et=-Ea+Ho<ss):(ce=Xo<0,Se=-Xo+Go<As),v.createElement("div",{ref:$r,role:"tablist",className:a()("".concat(ar,"-nav"),mr),style:tn,onKeyDown:function(){dn()}},v.createElement(cn,{position:"left",extra:yi,prefixCls:ar}),v.createElement(u.a,{onResize:Hs},v.createElement("div",{className:a()(wn,(vn={},Object(f.a)(vn,"".concat(wn,"-ping-left"),ci),Object(f.a)(vn,"".concat(wn,"-ping-right"),Et),Object(f.a)(vn,"".concat(wn,"-ping-top"),ce),Object(f.a)(vn,"".concat(wn,"-ping-bottom"),Se),vn)),ref:yo},v.createElement(u.a,{onResize:Hs},v.createElement("div",{ref:Ga,className:"".concat(ar,"-nav-list"),style:{transform:"translate(".concat(Ea,"px, ").concat(Xo,"px)"),transition:vl?"none":void 0}},Ol,v.createElement(La,{ref:uo,prefixCls:ar,locale:Ui,editable:Di,style:{visibility:Vt?"hidden":null}}),v.createElement("div",{className:a()("".concat(ar,"-ink-bar"),Object(f.a)({},"".concat(ar,"-ink-bar-animated"),Hn.inkBar)),style:yc}))))),v.createElement(tr,Object.assign({},Or,{ref:Ma,prefixCls:ar,tabs:Il,className:!Vt&&hc})),v.createElement(cn,{position:"right",extra:yi,prefixCls:ar}))}var Xn=v.forwardRef(In);function ii(Or){var $r=Or.id,vn=Or.activeKey,Jr=Or.animated,ar=Or.tabPosition,Hr=Or.rtl,mr=Or.destroyInactiveTabPane,tn=v.useContext(An),sn=tn.prefixCls,Hn=tn.tabs,Ln=Jr.tabPane,Qn=Hn.findIndex(function(yi){return yi.key===vn});return v.createElement("div",{className:a()("".concat(sn,"-content-holder"))},v.createElement("div",{className:a()("".concat(sn,"-content"),"".concat(sn,"-content-").concat(ar),Object(f.a)({},"".concat(sn,"-content-animated"),Ln)),style:Qn&&Ln?Object(f.a)({},Hr?"marginRight":"marginLeft","-".concat(Qn,"00%")):null},Hn.map(function(yi){return v.cloneElement(yi.node,{key:yi.key,prefixCls:sn,tabKey:yi.key,id:$r,animated:Ln,active:yi.key===vn,destroyInactiveTabPane:mr})})))}function fi(Or){var $r=Or.prefixCls,vn=Or.forceRender,Jr=Or.className,ar=Or.style,Hr=Or.id,mr=Or.active,tn=Or.animated,sn=Or.destroyInactiveTabPane,Hn=Or.tabKey,Ln=Or.children,Qn=v.useState(vn),yi=Object(d.a)(Qn,2),Di=yi[0],Ui=yi[1];v.useEffect(function(){mr?Ui(!0):sn&&Ui(!1)},[mr,sn]);var ua={};return mr||(tn?(ua.visibility="hidden",ua.height=0,ua.overflowY="hidden"):ua.display="none"),v.createElement("div",{id:Hr&&"".concat(Hr,"-panel-").concat(Hn),role:"tabpanel",tabIndex:mr?0:-1,"aria-labelledby":Hr&&"".concat(Hr,"-tab-").concat(Hn),"aria-hidden":!mr,style:Object(n.a)(Object(n.a)({},ua),ar),className:a()("".concat($r,"-tabpane"),mr&&"".concat($r,"-tabpane-active"),Jr)},(mr||Di||vn)&&Ln)}var ui=0;function qn(Or){return Object(s.a)(Or).map(function($r){if(v.isValidElement($r)){var vn=$r.key!==void 0?String($r.key):void 0;return Object(n.a)(Object(n.a)({key:vn},$r.props),{},{node:$r})}return null}).filter(function($r){return $r})}function ti(Or,$r){var vn,Jr=Or.id,ar=Or.prefixCls,Hr=ar===void 0?"rc-tabs":ar,mr=Or.className,tn=Or.children,sn=Or.direction,Hn=Or.activeKey,Ln=Or.defaultActiveKey,Qn=Or.editable,yi=Or.animated,Di=Or.tabPosition,Ui=Di===void 0?"top":Di,ua=Or.tabBarGutter,Xa=Or.tabBarStyle,vo=Or.tabBarExtraContent,wo=Or.locale,ho=Or.moreIcon,yo=Or.moreTransitionName,Ga=Or.destroyInactiveTabPane,Ma=Or.renderTabBar,uo=Or.onChange,so=Or.onTabClick,To=Or.onTabScroll,No=Object(l.a)(Or,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),oo=qn(tn),Ja=sn==="rtl",zo;yi===!1?zo={inkBar:!1,tabPane:!1}:zo=Object(n.a)({inkBar:!0,tabPane:!1},yi!==!0?yi:null);var Eo=Object(v.useState)(!1),Ea=Object(d.a)(Eo,2),jo=Ea[0],Zo=Ea[1];Object(v.useEffect)(function(){Zo(Cr())},[]);var Za=Object(r.a)(function(){var Ms;return(Ms=oo[0])===null||Ms===void 0?void 0:Ms.key},{value:Hn,defaultValue:Ln}),Xo=Object(d.a)(Za,2),qo=Xo[0],cs=Xo[1],Oo=Object(v.useState)(function(){return oo.findIndex(function(Ms){return Ms.key===qo})}),ss=Object(d.a)(Oo,2),Io=ss[0],lo=ss[1];Object(v.useEffect)(function(){var Ms=oo.findIndex(function(as){return as.key===qo});if(Ms===-1){var Fs;Ms=Math.max(0,Math.min(Io,oo.length-1)),cs((Fs=oo[Ms])===null||Fs===void 0?void 0:Fs.key)}lo(Ms)},[oo.map(function(Ms){return Ms.key}).join("_"),qo,Io]);var ks=Object(r.a)(null,{value:Jr}),As=Object(d.a)(ks,2),ko=As[0],ys=As[1],es=Ui;jo&&!["left","right"].includes(Ui)&&(es="top"),Object(v.useEffect)(function(){Jr||(ys("rc-tabs-".concat(ui)),ui+=1)},[]);function ts(Ms,Fs){so==null||so(Ms,Fs),cs(Ms),uo==null||uo(Ms)}var _s={id:ko,activeKey:qo,animated:zo,tabPosition:es,rtl:Ja,mobile:jo},Ts,$s=Object(n.a)(Object(n.a)({},_s),{},{editable:Qn,locale:wo,moreIcon:ho,moreTransitionName:yo,tabBarGutter:ua,onTabClick:ts,onTabScroll:To,extra:vo,style:Xa,panes:tn});return Ma?Ts=Ma($s,Xn):Ts=v.createElement(Xn,Object.assign({},$s)),v.createElement(An.Provider,{value:{tabs:oo,prefixCls:Hr}},v.createElement("div",Object.assign({ref:$r,id:Jr,className:a()(Hr,"".concat(Hr,"-").concat(es),(vn={},Object(f.a)(vn,"".concat(Hr,"-mobile"),jo),Object(f.a)(vn,"".concat(Hr,"-editable"),Qn),Object(f.a)(vn,"".concat(Hr,"-rtl"),Ja),vn),mr)},No),Ts,v.createElement(ii,Object.assign({destroyInactiveTabPane:Ga},_s,{animated:zo}))))}var oi=v.forwardRef(ti);oi.TabPane=fi;var Ci=oi,Mi=Ci,Pi=i("cCPh"),ca=i.n(Pi),sa=i("fNCr"),Na=i.n(sa),Pa=i("V/uB"),ya=i.n(Pa),va=i("uaoM"),Ca=i("H84U"),Ai=function(Or,$r){var vn={};for(var Jr in Or)Object.prototype.hasOwnProperty.call(Or,Jr)&&$r.indexOf(Jr)<0&&(vn[Jr]=Or[Jr]);if(Or!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ar=0,Jr=Object.getOwnPropertySymbols(Or);ar<Jr.length;ar++)$r.indexOf(Jr[ar])<0&&Object.prototype.propertyIsEnumerable.call(Or,Jr[ar])&&(vn[Jr[ar]]=Or[Jr[ar]]);return vn};function Aa(Or){var $r,vn=Or.type,Jr=Or.className,ar=Or.size,Hr=Or.onEdit,mr=Or.hideAdd,tn=Or.centered,sn=Or.addIcon,Hn=Ai(Or,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Ln=Hn.prefixCls,Qn=v.useContext(Ca.b),yi=Qn.getPrefixCls,Di=Qn.direction,Ui=yi("tabs",Ln),ua;return vn==="editable-card"&&(ua={onEdit:function(vo,wo){var ho=wo.key,yo=wo.event;Hr==null||Hr(vo==="add"?yo:ho,vo)},removeIcon:v.createElement(ya.a,null),addIcon:sn||v.createElement(Na.a,null),showAdd:mr!==!0}),Object(va.a)(!("onPrevClick"in Hn)&&!("onNextClick"in Hn),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),v.createElement(Mi,m()({direction:Di},Hn,{moreTransitionName:"slide-up",className:a()(Jr,($r={},p()($r,"".concat(Ui,"-").concat(ar),ar),p()($r,"".concat(Ui,"-card"),["card","editable-card"].includes(vn)),p()($r,"".concat(Ui,"-editable-card"),vn==="editable-card"),p()($r,"".concat(Ui,"-centered"),tn),$r)),editable:ua,moreIcon:v.createElement(ca.a,null),prefixCls:Ui}))}Aa.TabPane=fi;var za=R.a=Aa},ZTW2:function(U,R,i){},ZWlE:function(U,R,i){var y=i("bYtY"),m=i("4NO4");function E(f){p(f),v(f)}function p(f){if(f.parallel)return;var d=!1;y.each(f.series,function(l){l&&l.type==="parallel"&&(d=!0)}),d&&(f.parallel=[{}])}function v(f){var d=m.normalizeToArray(f.parallelAxis);y.each(d,function(l){if(!y.isObject(l))return;var n=l.parallelIndex||0,t=m.normalizeToArray(f.parallel)[n];t&&t.parallelAxisDefault&&y.merge(l,t.parallelAxisDefault,!1)})}U.exports=E},ZX9x:function(U,R,i){"use strict";i.d(R,"a",function(){return D}),i.d(R,"b",function(){return k});var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("7W2i"),t=i.n(n),a=i("LQ03"),s=i.n(a),r=i("q1tI"),c=i("TSYQ"),e=i.n(c),o=i("BGR+"),u=i("T1rO"),h=i.n(u),g=i("fEPi"),A=i.n(g),w=i("DFhj"),x=i.n(w),C=i("PKem"),T=i("H84U"),O=function(Z){return!isNaN(parseFloat(Z))&&isFinite(Z)},S=O,_=function(K,Z){var B={};for(var V in K)Object.prototype.hasOwnProperty.call(K,V)&&Z.indexOf(V)<0&&(B[V]=K[V]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,V=Object.getOwnPropertySymbols(K);z<V.length;z++)Z.indexOf(V[z])<0&&Object.prototype.propertyIsEnumerable.call(K,V[z])&&(B[V[z]]=K[V[z]]);return B},L={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},D=r.createContext({}),F=function(){var K=0;return function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return K+=1,"".concat(Z).concat(K)}}(),j=function(K){t()(B,K);var Z=s()(B);function B(V){var z;f()(this,B),z=Z.call(this,V),z.responsiveHandler=function(q){z.setState({below:q.matches});var Y=z.props.onBreakpoint,re=z.state.collapsed;Y&&Y(q.matches),re!==q.matches&&z.setCollapsed(q.matches,"responsive")},z.setCollapsed=function(q,Y){"collapsed"in z.props||z.setState({collapsed:q});var re=z.props.onCollapse;re&&re(q,Y)},z.toggle=function(){var q=!z.state.collapsed;z.setCollapsed(q,"clickTrigger")},z.renderSider=function(q){var Y,re=q.getPrefixCls,ne=z.props,we=ne.prefixCls,ie=ne.className,me=ne.theme,_e=ne.collapsible,Te=ne.reverseArrow,We=ne.trigger,Ae=ne.style,je=ne.width,ee=ne.collapsedWidth,he=ne.zeroWidthTriggerStyle,Ze=ne.children,oe=_(ne,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),Q=z.state,G=Q.collapsed,te=Q.below,xe=re("layout-sider",we),fe=Object(o.default)(oe,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Be=G?ee:je,Ne=S(Be)?"".concat(Be,"px"):String(Be),de=parseFloat(String(ee||0))===0?r.createElement("span",{onClick:z.toggle,className:e()("".concat(xe,"-zero-width-trigger"),"".concat(xe,"-zero-width-trigger-").concat(Te?"right":"left")),style:he},We||r.createElement(h.a,null)):null,ve={expanded:Te?r.createElement(A.a,null):r.createElement(x.a,null),collapsed:Te?r.createElement(x.a,null):r.createElement(A.a,null)},Me=G?"collapsed":"expanded",qe=ve[Me],gt=We!==null?de||r.createElement("div",{className:"".concat(xe,"-trigger"),onClick:z.toggle,style:{width:Ne}},We||qe):null,ht=p()(p()({},Ae),{flex:"0 0 ".concat(Ne),maxWidth:Ne,minWidth:Ne,width:Ne}),Pe=e()(ie,xe,"".concat(xe,"-").concat(me),(Y={},m()(Y,"".concat(xe,"-collapsed"),!!G),m()(Y,"".concat(xe,"-has-trigger"),_e&&We!==null&&!de),m()(Y,"".concat(xe,"-below"),!!te),m()(Y,"".concat(xe,"-zero-width"),parseFloat(Ne)===0),Y));return r.createElement("aside",p()({className:Pe},fe,{style:ht}),r.createElement("div",{className:"".concat(xe,"-children")},Ze),_e||te&&de?gt:null)},z.uniqueId=F("ant-sider-");var X;typeof window!="undefined"&&(X=window.matchMedia),X&&V.breakpoint&&V.breakpoint in L&&(z.mql=X("(max-width: ".concat(L[V.breakpoint],")")));var W;return"collapsed"in V?W=V.collapsed:W=V.defaultCollapsed,z.state={collapsed:W,below:!1},z}return l()(B,[{key:"componentDidMount",value:function(){var z;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(z=this.props)===null||z===void 0||z.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var z,X;(z=this===null||this===void 0?void 0:this.mql)===null||z===void 0||z.removeListener(this.responsiveHandler),(X=this.props)===null||X===void 0||X.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var z=this.state.collapsed,X=this.props.collapsedWidth;return r.createElement(D.Provider,{value:{siderCollapsed:z,collapsedWidth:X}},r.createElement(T.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(z){return"collapsed"in z?{collapsed:z.collapsed}:null}}]),B}(r.Component);j.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var k=function(K){t()(B,K);var Z=s()(B);function B(){return f()(this,B),Z.apply(this,arguments)}return l()(B,[{key:"render",value:function(){var z=this;return r.createElement(C.a.Consumer,null,function(X){return r.createElement(j,p()({},X,z.props))})}}]),B}(r.Component)},ZYIC:function(U,R,i){var y=i("zM3Q"),m={seriesType:"lines",plan:y(),reset:function(E){var p=E.coordinateSystem,v=E.get("polyline"),f=E.pipelineContext.large;function d(l,n){var t=[];if(f){var a,s=l.end-l.start;if(v){for(var r=0,c=l.start;c<l.end;c++)r+=E.getLineCoordsCount(c);a=new Float32Array(s+r*2)}else a=new Float32Array(s*4);for(var e=0,o=[],c=l.start;c<l.end;c++){var u=E.getLineCoords(c,t);v&&(a[e++]=u);for(var h=0;h<u;h++)o=p.dataToPoint(t[h],!1,o),a[e++]=o[0],a[e++]=o[1]}n.setLayout("linesPoints",a)}else for(var c=l.start;c<l.end;c++){var g=n.getItemModel(c),u=E.getLineCoords(c,t),A=[];if(v)for(var w=0;w<u;w++)A.push(p.dataToPoint(t[w]));else{A[0]=p.dataToPoint(t[0]),A[1]=p.dataToPoint(t[1]);var x=g.get("lineStyle.curveness");+x&&(A[2]=[(A[0][0]+A[1][0])/2-(A[0][1]-A[1][1])*x,(A[0][1]+A[1][1])/2-(A[1][0]-A[0][0])*x])}n.setItemLayout(c,A)}}return{progress:d}}};U.exports=m},Ze12:function(U,R,i){var y=i("ItGF"),m=i("hOwI"),E=m.buildTransformer,p="___zrEVENTSAVED",v=[];function f(a,s,r,c,e){return d(v,s,c,e,!0)&&d(a,r,v[0],v[1])}function d(a,s,r,c,e){if(s.getBoundingClientRect&&y.domSupported&&!t(s)){var o=s[p]||(s[p]={}),u=l(s,o),h=n(u,o,e);if(h)return h(a,r,c),!0}return!1}function l(a,s){var r=s.markers;if(r)return r;r=s.markers=[];for(var c=["left","right"],e=["top","bottom"],o=0;o<4;o++){var u=document.createElement("div"),h=u.style,g=o%2,A=(o>>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",c[g]+":0",e[A]+":0",c[1-g]+":auto",e[1-A]+":auto",""].join("!important;"),a.appendChild(u),r.push(u)}return r}function n(a,s,r){for(var c=r?"invTrans":"trans",e=s[c],o=s.srcCoords,u=!0,h=[],g=[],A=0;A<4;A++){var w=a[A].getBoundingClientRect(),x=2*A,C=w.left,T=w.top;h.push(C,T),u=u&&o&&C===o[x]&&T===o[x+1],g.push(a[A].offsetLeft,a[A].offsetTop)}return u&&e?e:(s.srcCoords=h,s[c]=r?E(g,h):E(h,g))}function t(a){return a.nodeName.toUpperCase()==="CANVAS"}R.transformLocalCoord=f,R.transformCoordWithViewport=d,R.isCanvasEl=t},Znkb:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("zTMp"),v=E.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,a,s,r){this.axisPointerClass&&p.fixValue(t),v.superApply(this,"render",arguments),f(this,t,a,s,r,!0)},updateAxisPointer:function(t,a,s,r,c){f(this,t,a,s,r,!1)},remove:function(t,a){var s=this._axisPointer;s&&s.remove(a),v.superApply(this,"remove",arguments)},dispose:function(t,a){d(this,a),v.superApply(this,"dispose",arguments)}});function f(t,a,s,r,c,e){var o=v.getAxisPointerClass(t.axisPointerClass);if(!o)return;var u=p.getAxisPointerModel(a);u?(t._axisPointer||(t._axisPointer=new o)).render(a,u,r,e):d(t,r)}function d(t,a,s){var r=t._axisPointer;r&&r.dispose(a,s),t._axisPointer=null}var l=[];v.registerAxisPointerClass=function(t,a){l[t]=a},v.getAxisPointerClass=function(t){return t&&l[t]};var n=v;U.exports=n},"Znn+":function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("9ama"),p=i.n(E)},ZqQs:function(U,R,i){var y=i("bYtY");function m(f){var d=f&&f.timeline;y.isArray(d)||(d=d?[d]:[]),y.each(d,function(l){if(!l)return;E(l)})}function E(f){var d=f.type,l={number:"value",time:"time"};if(l[d]&&(f.axisType=l[d],delete f.type),p(f),v(f,"controlPosition")){var n=f.controlStyle||(f.controlStyle={});v(n,"position")||(n.position=f.controlPosition),n.position==="none"&&!v(n,"show")&&(n.show=!1,delete n.position),delete f.controlPosition}y.each(f.data||[],function(t){y.isObject(t)&&!y.isArray(t)&&(!v(t,"value")&&v(t,"name")&&(t.value=t.name),p(t))})}function p(f){var d=f.itemStyle||(f.itemStyle={}),l=d.emphasis||(d.emphasis={}),n=f.label||f.label||{},t=n.normal||(n.normal={}),a={normal:1,emphasis:1};y.each(n,function(s,r){!a[r]&&!v(t,r)&&(t[r]=s)}),l.label&&!v(n,"emphasis")&&(n.emphasis=l.label,delete l.label)}function v(f,d){return f.hasOwnProperty(d)}U.exports=m},Zss7:function(U,R,i){var y;(function(m){var E=/^\s+/,p=/\s+$/,v=0,f=m.round,d=m.min,l=m.max,n=m.random;function t(Ae,je){if(Ae=Ae||"",je=je||{},Ae instanceof t)return Ae;if(!(this instanceof t))return new t(Ae,je);var ee=a(Ae);this._originalInput=Ae,this._r=ee.r,this._g=ee.g,this._b=ee.b,this._a=ee.a,this._roundA=f(100*this._a)/100,this._format=je.format||ee.format,this._gradientType=je.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=ee.ok,this._tc_id=v++}t.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 je=this.toRgb();return(je.r*299+je.g*587+je.b*114)/1e3},getLuminance:function(){var je=this.toRgb(),ee,he,Ze,oe,Q,G;return ee=je.r/255,he=je.g/255,Ze=je.b/255,ee<=.03928?oe=ee/12.92:oe=m.pow((ee+.055)/1.055,2.4),he<=.03928?Q=he/12.92:Q=m.pow((he+.055)/1.055,2.4),Ze<=.03928?G=Ze/12.92:G=m.pow((Ze+.055)/1.055,2.4),.2126*oe+.7152*Q+.0722*G},setAlpha:function(je){return this._a=V(je),this._roundA=f(100*this._a)/100,this},toHsv:function(){var je=e(this._r,this._g,this._b);return{h:je.h*360,s:je.s,v:je.v,a:this._a}},toHsvString:function(){var je=e(this._r,this._g,this._b),ee=f(je.h*360),he=f(je.s*100),Ze=f(je.v*100);return this._a==1?"hsv("+ee+", "+he+"%, "+Ze+"%)":"hsva("+ee+", "+he+"%, "+Ze+"%, "+this._roundA+")"},toHsl:function(){var je=r(this._r,this._g,this._b);return{h:je.h*360,s:je.s,l:je.l,a:this._a}},toHslString:function(){var je=r(this._r,this._g,this._b),ee=f(je.h*360),he=f(je.s*100),Ze=f(je.l*100);return this._a==1?"hsl("+ee+", "+he+"%, "+Ze+"%)":"hsla("+ee+", "+he+"%, "+Ze+"%, "+this._roundA+")"},toHex:function(je){return u(this._r,this._g,this._b,je)},toHexString:function(je){return"#"+this.toHex(je)},toHex8:function(je){return h(this._r,this._g,this._b,this._a,je)},toHex8String:function(je){return"#"+this.toHex8(je)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(z(this._r,255)*100)+"%",g:f(z(this._g,255)*100)+"%",b:f(z(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(z(this._r,255)*100)+"%, "+f(z(this._g,255)*100)+"%, "+f(z(this._b,255)*100)+"%)":"rgba("+f(z(this._r,255)*100)+"%, "+f(z(this._g,255)*100)+"%, "+f(z(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(je){var ee="#"+g(this._r,this._g,this._b,this._a),he=ee,Ze=this._gradientType?"GradientType = 1, ":"";if(je){var oe=t(je);he="#"+g(oe._r,oe._g,oe._b,oe._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ze+"startColorstr="+ee+",endColorstr="+he+")"},toString:function(je){var ee=!!je;je=je||this._format;var he=!1,Ze=this._a<1&&this._a>=0,oe=!ee&&Ze&&(je==="hex"||je==="hex6"||je==="hex3"||je==="hex4"||je==="hex8"||je==="name");return oe?je==="name"&&this._a===0?this.toName():this.toRgbString():(je==="rgb"&&(he=this.toRgbString()),je==="prgb"&&(he=this.toPercentageRgbString()),(je==="hex"||je==="hex6")&&(he=this.toHexString()),je==="hex3"&&(he=this.toHexString(!0)),je==="hex4"&&(he=this.toHex8String(!0)),je==="hex8"&&(he=this.toHex8String()),je==="name"&&(he=this.toName()),je==="hsl"&&(he=this.toHslString()),je==="hsv"&&(he=this.toHsvString()),he||this.toHexString())},clone:function(){return t(this.toString())},_applyModification:function(je,ee){var he=je.apply(null,[this].concat([].slice.call(ee)));return this._r=he._r,this._g=he._g,this._b=he._b,this.setAlpha(he._a),this},lighten:function(){return this._applyModification(C,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(O,arguments)},desaturate:function(){return this._applyModification(A,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(je,ee){return je.apply(null,[this].concat([].slice.call(ee)))},analogous:function(){return this._applyCombination(j,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(k,arguments)},splitcomplement:function(){return this._applyCombination(F,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(D,arguments)}},t.fromRatio=function(Ae,je){if(typeof Ae=="object"){var ee={};for(var he in Ae)Ae.hasOwnProperty(he)&&(he==="a"?ee[he]=Ae[he]:ee[he]=ne(Ae[he]));Ae=ee}return t(Ae,je)};function a(Ae){var je={r:0,g:0,b:0},ee=1,he=null,Ze=null,oe=null,Q=!1,G=!1;return typeof Ae=="string"&&(Ae=Te(Ae)),typeof Ae=="object"&&(_e(Ae.r)&&_e(Ae.g)&&_e(Ae.b)?(je=s(Ae.r,Ae.g,Ae.b),Q=!0,G=String(Ae.r).substr(-1)==="%"?"prgb":"rgb"):_e(Ae.h)&&_e(Ae.s)&&_e(Ae.v)?(he=ne(Ae.s),Ze=ne(Ae.v),je=o(Ae.h,he,Ze),Q=!0,G="hsv"):_e(Ae.h)&&_e(Ae.s)&&_e(Ae.l)&&(he=ne(Ae.s),oe=ne(Ae.l),je=c(Ae.h,he,oe),Q=!0,G="hsl"),Ae.hasOwnProperty("a")&&(ee=Ae.a)),ee=V(ee),{ok:Q,format:Ae.format||G,r:d(255,l(je.r,0)),g:d(255,l(je.g,0)),b:d(255,l(je.b,0)),a:ee}}function s(Ae,je,ee){return{r:z(Ae,255)*255,g:z(je,255)*255,b:z(ee,255)*255}}function r(Ae,je,ee){Ae=z(Ae,255),je=z(je,255),ee=z(ee,255);var he=l(Ae,je,ee),Ze=d(Ae,je,ee),oe,Q,G=(he+Ze)/2;if(he==Ze)oe=Q=0;else{var te=he-Ze;Q=G>.5?te/(2-he-Ze):te/(he+Ze);switch(he){case Ae:oe=(je-ee)/te+(je<ee?6:0);break;case je:oe=(ee-Ae)/te+2;break;case ee:oe=(Ae-je)/te+4;break}oe/=6}return{h:oe,s:Q,l:G}}function c(Ae,je,ee){var he,Ze,oe;Ae=z(Ae,360),je=z(je,100),ee=z(ee,100);function Q(xe,fe,Be){return Be<0&&(Be+=1),Be>1&&(Be-=1),Be<1/6?xe+(fe-xe)*6*Be:Be<1/2?fe:Be<2/3?xe+(fe-xe)*(2/3-Be)*6:xe}if(je===0)he=Ze=oe=ee;else{var G=ee<.5?ee*(1+je):ee+je-ee*je,te=2*ee-G;he=Q(te,G,Ae+1/3),Ze=Q(te,G,Ae),oe=Q(te,G,Ae-1/3)}return{r:he*255,g:Ze*255,b:oe*255}}function e(Ae,je,ee){Ae=z(Ae,255),je=z(je,255),ee=z(ee,255);var he=l(Ae,je,ee),Ze=d(Ae,je,ee),oe,Q,G=he,te=he-Ze;if(Q=he===0?0:te/he,he==Ze)oe=0;else{switch(he){case Ae:oe=(je-ee)/te+(je<ee?6:0);break;case je:oe=(ee-Ae)/te+2;break;case ee:oe=(Ae-je)/te+4;break}oe/=6}return{h:oe,s:Q,v:G}}function o(Ae,je,ee){Ae=z(Ae,360)*6,je=z(je,100),ee=z(ee,100);var he=m.floor(Ae),Ze=Ae-he,oe=ee*(1-je),Q=ee*(1-Ze*je),G=ee*(1-(1-Ze)*je),te=he%6,xe=[ee,Q,oe,oe,G,ee][te],fe=[G,ee,ee,Q,oe,oe][te],Be=[oe,oe,G,ee,ee,Q][te];return{r:xe*255,g:fe*255,b:Be*255}}function u(Ae,je,ee,he){var Ze=[re(f(Ae).toString(16)),re(f(je).toString(16)),re(f(ee).toString(16))];return he&&Ze[0].charAt(0)==Ze[0].charAt(1)&&Ze[1].charAt(0)==Ze[1].charAt(1)&&Ze[2].charAt(0)==Ze[2].charAt(1)?Ze[0].charAt(0)+Ze[1].charAt(0)+Ze[2].charAt(0):Ze.join("")}function h(Ae,je,ee,he,Ze){var oe=[re(f(Ae).toString(16)),re(f(je).toString(16)),re(f(ee).toString(16)),re(we(he))];return Ze&&oe[0].charAt(0)==oe[0].charAt(1)&&oe[1].charAt(0)==oe[1].charAt(1)&&oe[2].charAt(0)==oe[2].charAt(1)&&oe[3].charAt(0)==oe[3].charAt(1)?oe[0].charAt(0)+oe[1].charAt(0)+oe[2].charAt(0)+oe[3].charAt(0):oe.join("")}function g(Ae,je,ee,he){var Ze=[re(we(he)),re(f(Ae).toString(16)),re(f(je).toString(16)),re(f(ee).toString(16))];return Ze.join("")}t.equals=function(Ae,je){return!Ae||!je?!1:t(Ae).toRgbString()==t(je).toRgbString()},t.random=function(){return t.fromRatio({r:n(),g:n(),b:n()})};function A(Ae,je){je=je===0?0:je||10;var ee=t(Ae).toHsl();return ee.s-=je/100,ee.s=X(ee.s),t(ee)}function w(Ae,je){je=je===0?0:je||10;var ee=t(Ae).toHsl();return ee.s+=je/100,ee.s=X(ee.s),t(ee)}function x(Ae){return t(Ae).desaturate(100)}function C(Ae,je){je=je===0?0:je||10;var ee=t(Ae).toHsl();return ee.l+=je/100,ee.l=X(ee.l),t(ee)}function T(Ae,je){je=je===0?0:je||10;var ee=t(Ae).toRgb();return ee.r=l(0,d(255,ee.r-f(255*-(je/100)))),ee.g=l(0,d(255,ee.g-f(255*-(je/100)))),ee.b=l(0,d(255,ee.b-f(255*-(je/100)))),t(ee)}function O(Ae,je){je=je===0?0:je||10;var ee=t(Ae).toHsl();return ee.l-=je/100,ee.l=X(ee.l),t(ee)}function S(Ae,je){var ee=t(Ae).toHsl(),he=(ee.h+je)%360;return ee.h=he<0?360+he:he,t(ee)}function _(Ae){var je=t(Ae).toHsl();return je.h=(je.h+180)%360,t(je)}function L(Ae){var je=t(Ae).toHsl(),ee=je.h;return[t(Ae),t({h:(ee+120)%360,s:je.s,l:je.l}),t({h:(ee+240)%360,s:je.s,l:je.l})]}function D(Ae){var je=t(Ae).toHsl(),ee=je.h;return[t(Ae),t({h:(ee+90)%360,s:je.s,l:je.l}),t({h:(ee+180)%360,s:je.s,l:je.l}),t({h:(ee+270)%360,s:je.s,l:je.l})]}function F(Ae){var je=t(Ae).toHsl(),ee=je.h;return[t(Ae),t({h:(ee+72)%360,s:je.s,l:je.l}),t({h:(ee+216)%360,s:je.s,l:je.l})]}function j(Ae,je,ee){je=je||6,ee=ee||30;var he=t(Ae).toHsl(),Ze=360/ee,oe=[t(Ae)];for(he.h=(he.h-(Ze*je>>1)+720)%360;--je;)he.h=(he.h+Ze)%360,oe.push(t(he));return oe}function k(Ae,je){je=je||6;for(var ee=t(Ae).toHsv(),he=ee.h,Ze=ee.s,oe=ee.v,Q=[],G=1/je;je--;)Q.push(t({h:he,s:Ze,v:oe})),oe=(oe+G)%1;return Q}t.mix=function(Ae,je,ee){ee=ee===0?0:ee||50;var he=t(Ae).toRgb(),Ze=t(je).toRgb(),oe=ee/100,Q={r:(Ze.r-he.r)*oe+he.r,g:(Ze.g-he.g)*oe+he.g,b:(Ze.b-he.b)*oe+he.b,a:(Ze.a-he.a)*oe+he.a};return t(Q)},t.readability=function(Ae,je){var ee=t(Ae),he=t(je);return(m.max(ee.getLuminance(),he.getLuminance())+.05)/(m.min(ee.getLuminance(),he.getLuminance())+.05)},t.isReadable=function(Ae,je,ee){var he=t.readability(Ae,je),Ze,oe;oe=!1,Ze=We(ee);switch(Ze.level+Ze.size){case"AAsmall":case"AAAlarge":oe=he>=4.5;break;case"AAlarge":oe=he>=3;break;case"AAAsmall":oe=he>=7;break}return oe},t.mostReadable=function(Ae,je,ee){var he=null,Ze=0,oe,Q,G,te;ee=ee||{},Q=ee.includeFallbackColors,G=ee.level,te=ee.size;for(var xe=0;xe<je.length;xe++)oe=t.readability(Ae,je[xe]),oe>Ze&&(Ze=oe,he=t(je[xe]));return t.isReadable(Ae,he,{level:G,size:te})||!Q?he:(ee.includeFallbackColors=!1,t.mostReadable(Ae,["#fff","#000"],ee))};var K=t.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=t.hexNames=B(K);function B(Ae){var je={};for(var ee in Ae)Ae.hasOwnProperty(ee)&&(je[Ae[ee]]=ee);return je}function V(Ae){return Ae=parseFloat(Ae),(isNaN(Ae)||Ae<0||Ae>1)&&(Ae=1),Ae}function z(Ae,je){q(Ae)&&(Ae="100%");var ee=Y(Ae);return Ae=d(je,l(0,parseFloat(Ae))),ee&&(Ae=parseInt(Ae*je,10)/100),m.abs(Ae-je)<1e-6?1:Ae%je/parseFloat(je)}function X(Ae){return d(1,l(0,Ae))}function W(Ae){return parseInt(Ae,16)}function q(Ae){return typeof Ae=="string"&&Ae.indexOf(".")!=-1&&parseFloat(Ae)===1}function Y(Ae){return typeof Ae=="string"&&Ae.indexOf("%")!=-1}function re(Ae){return Ae.length==1?"0"+Ae:""+Ae}function ne(Ae){return Ae<=1&&(Ae=Ae*100+"%"),Ae}function we(Ae){return m.round(parseFloat(Ae)*255).toString(16)}function ie(Ae){return W(Ae)/255}var me=function(){var Ae="[-\\+]?\\d+%?",je="[-\\+]?\\d*\\.\\d+%?",ee="(?:"+je+")|(?:"+Ae+")",he="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?",Ze="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?";return{CSS_UNIT:new RegExp(ee),rgb:new RegExp("rgb"+he),rgba:new RegExp("rgba"+Ze),hsl:new RegExp("hsl"+he),hsla:new RegExp("hsla"+Ze),hsv:new RegExp("hsv"+he),hsva:new RegExp("hsva"+Ze),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function _e(Ae){return!!me.CSS_UNIT.exec(Ae)}function Te(Ae){Ae=Ae.replace(E,"").replace(p,"").toLowerCase();var je=!1;if(K[Ae])Ae=K[Ae],je=!0;else if(Ae=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ee;return(ee=me.rgb.exec(Ae))?{r:ee[1],g:ee[2],b:ee[3]}:(ee=me.rgba.exec(Ae))?{r:ee[1],g:ee[2],b:ee[3],a:ee[4]}:(ee=me.hsl.exec(Ae))?{h:ee[1],s:ee[2],l:ee[3]}:(ee=me.hsla.exec(Ae))?{h:ee[1],s:ee[2],l:ee[3],a:ee[4]}:(ee=me.hsv.exec(Ae))?{h:ee[1],s:ee[2],v:ee[3]}:(ee=me.hsva.exec(Ae))?{h:ee[1],s:ee[2],v:ee[3],a:ee[4]}:(ee=me.hex8.exec(Ae))?{r:W(ee[1]),g:W(ee[2]),b:W(ee[3]),a:ie(ee[4]),format:je?"name":"hex8"}:(ee=me.hex6.exec(Ae))?{r:W(ee[1]),g:W(ee[2]),b:W(ee[3]),format:je?"name":"hex"}:(ee=me.hex4.exec(Ae))?{r:W(ee[1]+""+ee[1]),g:W(ee[2]+""+ee[2]),b:W(ee[3]+""+ee[3]),a:ie(ee[4]+""+ee[4]),format:je?"name":"hex8"}:(ee=me.hex3.exec(Ae))?{r:W(ee[1]+""+ee[1]),g:W(ee[2]+""+ee[2]),b:W(ee[3]+""+ee[3]),format:je?"name":"hex"}:!1}function We(Ae){var je,ee;return Ae=Ae||{level:"AA",size:"small"},je=(Ae.level||"AA").toUpperCase(),ee=(Ae.size||"small").toLowerCase(),je!=="AA"&&je!=="AAA"&&(je="AA"),ee!=="small"&&ee!=="large"&&(ee="small"),{level:je,size:ee}}U.exports?U.exports=t:!(y=function(){return t}.call(R,i,R,U),y!==void 0&&(U.exports=y))})(Math)},Zvw2:function(U,R,i){var y=i("bYtY"),m=i("hM6l"),E=function(v,f,d,l,n){m.call(this,v,f,d),this.type=l||"value",this.position=n||"bottom",this.orient=null};E.prototype={constructor:E,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},pointToData:function(v,f){return this.coordinateSystem.pointToData(v,f)[0]},toGlobalCoord:null,toLocalCoord:null},y.inherits(E,m);var p=E;U.exports=p},a7Wl:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},a9QJ:function(U,R){var i={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function y(m,E){if(m==="world"){var p=i[E.name];if(p){var v=E.center;v[0]=p[0],v[1]=p[1]}}}U.exports=y},aHsQ:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("6D9b"),p=i.n(E)},aKvl:function(U,R,i){var y=i("Sj9i"),m=y.quadraticProjectPoint;function E(p,v,f,d,l,n,t,a,s){if(t===0)return!1;var r=t;if(s>v+r&&s>d+r&&s>n+r||s<v-r&&s<d-r&&s<n-r||a>p+r&&a>f+r&&a>l+r||a<p-r&&a<f-r&&a<l-r)return!1;var c=m(p,v,f,d,l,n,a,s,null);return c<=r/2}R.containStroke=E},aTJb:function(U,R,i){var y=i("bLfw");y.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(U,R,i){var y=i("3gBT"),m=i("ItGF"),E=i("bYtY"),p=i("0s+r"),v=i("r6Bn"),f=i("7SHv"),d=i("MKOG"),l=i("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 n=!m.canvasSupported,t={canvas:f},a={},s="4.3.1";function r(g,A){var w=new h(y(),g,A);return a[w.id]=w,w}function c(g){if(g)g.dispose();else{for(var A in a)a.hasOwnProperty(A)&&a[A].dispose();a={}}return this}function e(g){return a[g]}function o(g,A){t[g]=A}function u(g){delete a[g]}var h=function(A,w,x){x=x||{},this.dom=w,this.id=A;var C=this,T=new v,O=x.renderer;if(n){if(!t.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");O="vml"}else(!O||!t[O])&&(O="canvas");var S=new t[O](w,T,x,A);this.storage=T,this.painter=S;var _=!m.node&&!m.worker?new l(S.getViewportRoot(),S.root):null;this.handler=new p(T,S,_,S.root),this.animation=new d({stage:{update:E.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var L=T.delFromStorage,D=T.addToStorage;T.delFromStorage=function(F){L.call(T,F),F&&F.removeSelfFromZr(C)},T.addToStorage=function(F){D.call(T,F),F.addSelfToZr(C)}};h.prototype={constructor:h,getId:function(){return this.id},add:function(A){this.storage.addRoot(A),this._needsRefresh=!0},remove:function(A){this.storage.delRoot(A),this._needsRefresh=!0},configLayer:function(A,w){this.painter.configLayer&&this.painter.configLayer(A,w),this._needsRefresh=!0},setBackgroundColor:function(A){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(A),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 A;this._needsRefresh&&(A=!0,this.refreshImmediately()),this._needsRefreshHover&&(A=!0,this.refreshHoverImmediately()),A&&this.trigger("rendered")},addHover:function(A,w){if(this.painter.addHover){var x=this.painter.addHover(A,w);return this.refreshHover(),x}},removeHover:function(A){this.painter.removeHover&&(this.painter.removeHover(A),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(A){A=A||{},this.painter.resize(A.width,A.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(A,w){return this.painter.pathToImage(A,w)},setCursorStyle:function(A){this.handler.setCursorStyle(A)},findHover:function(A,w){return this.handler.findHover(A,w)},on:function(A,w,x){this.handler.on(A,w,x)},off:function(A,w){this.handler.off(A,w)},trigger:function(A,w){this.handler.trigger(A,w)},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)}},R.version=s,R.init=r,R.dispose=c,R.getInstance=e,R.registerPainter=o},aX7z:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("GMDS"),v=i("ieMj"),f=i("4NgU"),d=i("OELB"),l=i("nVfU"),n=l.prepareLayoutBarSeries,t=l.makeColumnLayout,a=l.retrieveColumnLayout,s=i("mFDi");i("IWp7"),i("jCoz");function r(T,O){var S=T.type,_=O.getMin(),L=O.getMax(),D=T.getExtent(),F,j,k;S==="ordinal"?F=O.getCategories().length:(j=O.get("boundaryGap"),E.isArray(j)||(j=[j||0,j||0]),typeof j[0]=="boolean"&&(j=[0,0]),j[0]=d.parsePercent(j[0],1),j[1]=d.parsePercent(j[1],1),k=D[1]-D[0]||Math.abs(D[0])),_==="dataMin"?_=D[0]:typeof _=="function"&&(_=_({min:D[0],max:D[1]})),L==="dataMax"?L=D[1]:typeof L=="function"&&(L=L({min:D[0],max:D[1]}));var K=_!=null,Z=L!=null;_==null&&(_=S==="ordinal"?F?0:NaN:D[0]-j[0]*k),L==null&&(L=S==="ordinal"?F?F-1:NaN:D[1]+j[1]*k),(_==null||!isFinite(_))&&(_=NaN),(L==null||!isFinite(L))&&(L=NaN),T.setBlank(E.eqNaN(_)||E.eqNaN(L)||S==="ordinal"&&!T.getOrdinalMeta().categories.length),O.getNeedCrossZero()&&(_>0&&L>0&&!K&&(_=0),_<0&&L<0&&!Z&&(L=0));var B=O.ecModel;if(B&&S==="time"){var V=n("bar",B),z;if(E.each(V,function(q){z|=q.getBaseAxis()===O.axis}),z){var X=t(V),W=c(_,L,O,X);_=W.min,L=W.max}}return{extent:[_,L],fixMin:K,fixMax:Z}}function c(T,O,S,_){var L=S.axis.getExtent(),D=L[1]-L[0],F=a(_,S.axis);if(F===void 0)return{min:T,max:O};var j=Infinity;E.each(F,function(z){j=Math.min(z.offset,j)});var k=-Infinity;E.each(F,function(z){k=Math.max(z.offset+z.width,k)}),j=Math.abs(j),k=Math.abs(k);var K=j+k,Z=O-T,B=1-(j+k)/D,V=Z/B-Z;return O+=V*(k/K),T-=V*(j/K),{min:T,max:O}}function e(T,O){var S=r(T,O),_=S.extent,L=O.get("splitNumber");T.type==="log"&&(T.base=O.get("logBase"));var D=T.type;T.setExtent(_[0],_[1]),T.niceExtent({splitNumber:L,fixMin:S.fixMin,fixMax:S.fixMax,minInterval:D==="interval"||D==="time"?O.get("minInterval"):null,maxInterval:D==="interval"||D==="time"?O.get("maxInterval"):null});var F=O.get("interval");F!=null&&(T.setInterval&&T.setInterval(F))}function o(T,O){if(O=O||T.get("type"),O)switch(O){case"category":return new p(T.getOrdinalMeta?T.getOrdinalMeta():T.getCategories(),[Infinity,-Infinity]);case"value":return new v;default:return(f.getClass(O)||v).create(T)}}function u(T){var O=T.scale.getExtent(),S=O[0],_=O[1];return!(S>0&&_>0||S<0&&_<0)}function h(T){var O=T.getLabelModel().get("formatter"),S=T.type==="category"?T.scale.getExtent()[0]:null;return typeof O=="string"?(O=function(_){return function(L){return L=T.scale.getLabel(L),_.replace("{value}",L!=null?L:"")}}(O),O):typeof O=="function"?function(_,L){return S!=null&&(L=_-S),O(g(T,_),L)}:function(_){return T.scale.getLabel(_)}}function g(T,O){return T.type==="category"?T.scale.getLabel(O):O}function A(T){var O=T.model,S=T.scale;if(!O.get("axisLabel.show")||S.isBlank())return;var _=T.type==="category",L,D,F=S.getExtent();_?D=S.count():(L=S.getTicks(),D=L.length);var j=T.getLabelModel(),k=h(T),K,Z=1;D>40&&(Z=Math.ceil(D/40));for(var B=0;B<D;B+=Z){var V=L?L[B]:F[0]+B,z=k(V),X=j.getTextRect(z),W=w(X,j.get("rotate")||0);K?K.union(W):K=W}return K}function w(T,O){var S=O*Math.PI/180,_=T.plain(),L=_.width,D=_.height,F=L*Math.cos(S)+D*Math.sin(S),j=L*Math.sin(S)+D*Math.cos(S),k=new s(_.x,_.y,F,j);return k}function x(T){var O=T.get("interval");return O==null?"auto":O}function C(T){return T.type==="category"&&x(T.getLabelModel())===0}R.getScaleExtent=r,R.niceScaleExtent=e,R.createScaleByModel=o,R.ifAxisCrossZero=u,R.makeLabelFormatter=h,R.getAxisRawValue=g,R.estimateLabelUnionRect=A,R.getOptionCategoryInterval=x,R.shouldShowAllLabels=C},"af/B":function(U,R,i){var y=i("bYtY"),m=y.each,E=y.map,p=y.isFunction,v=y.createHashMap,f=y.noop,d=i("9H2F"),l=d.createTask,n=i("iRjW"),t=n.getUID,a=i("fmMI"),s=i("hD7B"),r=i("4NO4"),c=r.normalizeToArray;function e(z,X,W,q){this.ecInstance=z,this.api=X,this.unfinished;var W=this._dataProcessorHandlers=W.slice(),q=this._visualHandlers=q.slice();this._allHandlers=W.concat(q),this._stageTaskMap=v()}var o=e.prototype;o.restoreData=function(z,X){z.restoreData(X),this._stageTaskMap.each(function(W){var q=W.overallTask;q&&q.dirty()})},o.getPerformArgs=function(z,X){if(!z.__pipeline)return;var W=this._pipelineMap.get(z.__pipeline.id),q=W.context,Y=!X&&W.progressiveEnabled&&(!q||q.progressiveRender)&&z.__idxInPipeline>W.blockIndex,re=Y?W.step:null,ne=q&&q.modDataCount,we=ne!=null?Math.ceil(ne/re):null;return{step:re,modBy:we,modDataCount:ne}},o.getPipeline=function(z){return this._pipelineMap.get(z)},o.updateStreamModes=function(z,X){var W=this._pipelineMap.get(z.uid),q=z.getData(),Y=q.count(),re=W.progressiveEnabled&&X.incrementalPrepareRender&&Y>=W.threshold,ne=z.get("large")&&Y>=z.get("largeThreshold"),we=z.get("progressiveChunkMode")==="mod"?Y:null;z.pipelineContext=W.context={progressiveRender:re,modDataCount:we,large:ne}},o.restorePipelines=function(z){var X=this,W=X._pipelineMap=v();z.eachSeries(function(q){var Y=q.getProgressive(),re=q.uid;W.set(re,{id:re,head:null,tail:null,threshold:q.getProgressiveThreshold(),progressiveEnabled:Y&&!(q.preventIncremental&&q.preventIncremental()),blockIndex:-1,step:Math.round(Y||700),count:0}),F(X,q,q.dataTask)})},o.prepareStageTasks=function(){var z=this._stageTaskMap,X=this.ecInstance.getModel(),W=this.api;m(this._allHandlers,function(q){var Y=z.get(q.uid)||z.set(q.uid,[]);q.reset&&g(this,q,Y,X,W),q.overallReset&&A(this,q,Y,X,W)},this)},o.prepareView=function(z,X,W,q){var Y=z.renderTask,re=Y.context;re.model=X,re.ecModel=W,re.api=q,Y.__block=!z.incrementalPrepareRender,F(this,X,Y)},o.performDataProcessorTasks=function(z,X){u(this,this._dataProcessorHandlers,z,X,{block:!0})},o.performVisualTasks=function(z,X,W){u(this,this._visualHandlers,z,X,W)};function u(z,X,W,q,Y){Y=Y||{};var re;m(X,function(we,ie){if(Y.visualType&&Y.visualType!==we.visualType)return;var me=z._stageTaskMap.get(we.uid),_e=me.seriesTaskMap,Te=me.overallTask;if(Te){var We,Ae=Te.agentStubMap;Ae.each(function(ee){ne(Y,ee)&&(ee.dirty(),We=!0)}),We&&Te.dirty(),h(Te,q);var je=z.getPerformArgs(Te,Y.block);Ae.each(function(ee){ee.perform(je)}),re|=Te.perform(je)}else _e&&_e.each(function(ee,he){ne(Y,ee)&&ee.dirty();var Ze=z.getPerformArgs(ee,Y.block);Ze.skip=!we.performRawSeries&&W.isSeriesFiltered(ee.context.model),h(ee,q),re|=ee.perform(Ze)})});function ne(we,ie){return we.setDirty&&(!we.dirtyMap||we.dirtyMap.get(ie.__pipeline.id))}z.unfinished|=re}o.performSeriesTasks=function(z){var X;z.eachSeries(function(W){X|=W.dataTask.perform()}),this.unfinished|=X},o.plan=function(){this._pipelineMap.each(function(z){var X=z.tail;do{if(X.__block){z.blockIndex=X.__idxInPipeline;break}X=X.getUpstream()}while(X)})};var h=o.updatePayload=function(z,X){X!=="remain"&&(z.context.payload=X)};function g(z,X,W,q,Y){var re=W.seriesTaskMap||(W.seriesTaskMap=v()),ne=X.seriesType,we=X.getTargetSeries;X.createOnAllSeries?q.eachRawSeries(ie):ne?q.eachRawSeriesByType(ne,ie):we&&we(q,Y).each(ie);function ie(_e){var Te=_e.uid,We=re.get(Te)||re.set(Te,l({plan:O,reset:S,count:D}));We.context={model:_e,ecModel:q,api:Y,useClearVisual:X.isVisual&&!X.isLayout,plan:X.plan,reset:X.reset,scheduler:z},F(z,_e,We)}var me=z._pipelineMap;re.each(function(_e,Te){me.get(Te)||(_e.dispose(),re.removeKey(Te))})}function A(z,X,W,q,Y){var re=W.overallTask=W.overallTask||l({reset:w});re.context={ecModel:q,api:Y,overallReset:X.overallReset,scheduler:z};var ne=re.agentStubMap=re.agentStubMap||v(),we=X.seriesType,ie=X.getTargetSeries,me=!0,_e=X.modifyOutputEnd;we?q.eachRawSeriesByType(we,Te):ie?ie(q,Y).each(Te):(me=!1,m(q.getSeries(),Te));function Te(Ae){var je=Ae.uid,ee=ne.get(je);ee||(ee=ne.set(je,l({reset:x,onDirty:T})),re.dirty()),ee.context={model:Ae,overallProgress:me,modifyOutputEnd:_e},ee.agent=re,ee.__block=me,F(z,Ae,ee)}var We=z._pipelineMap;ne.each(function(Ae,je){We.get(je)||(Ae.dispose(),re.dirty(),ne.removeKey(je))})}function w(z){z.overallReset(z.ecModel,z.api,z.payload)}function x(z,X){return z.overallProgress&&C}function C(){this.agent.dirty(),this.getDownstream().dirty()}function T(){this.agent&&this.agent.dirty()}function O(z){return z.plan&&z.plan(z.model,z.ecModel,z.api,z.payload)}function S(z){z.useClearVisual&&z.data.clearAllVisual();var X=z.resetDefines=c(z.reset(z.model,z.ecModel,z.api,z.payload));return X.length>1?E(X,function(W,q){return L(q)}):_}var _=L(0);function L(z){return function(X,W){var q=W.data,Y=W.resetDefines[z];if(Y&&Y.dataEach)for(var re=X.start;re<X.end;re++)Y.dataEach(q,re);else Y&&Y.progress&&Y.progress(X,q)}}function D(z){return z.data.count()}function F(z,X,W){var q=X.uid,Y=z._pipelineMap.get(q);!Y.head&&(Y.head=W),Y.tail&&Y.tail.pipe(W),Y.tail=W,W.__idxInPipeline=Y.count++,W.__pipeline=Y}e.wrapStageHandler=function(z,X){return p(z)&&(z={overallReset:z,seriesType:j(z)}),z.uid=t("stageHandler"),X&&(z.visualType=X),z};function j(z){Z=null;try{z(k,K)}catch(X){}return Z}var k={},K={},Z;B(k,a),B(K,s),k.eachSeriesByType=k.eachRawSeriesByType=function(z){Z=z},k.eachComponent=function(z){z.mainType==="series"&&z.subType&&(Z=z.subType)};function B(z,X){for(var W in X.prototype)z[W]=f}var V=e;U.exports=V},akwb:function(U,R,i){var y=i("RSch"),m=i("bYtY"),E=i("D9ME"),p=i("QBsz");function v(l,n,t){E.call(this,l,n,t),this._lastFrame=0,this._lastFramePercent=0}var f=v.prototype;f.createLine=function(l,n,t){return new y(l,n,t)},f.updateAnimationPoints=function(l,n){this._points=n;for(var t=[0],a=0,s=1;s<n.length;s++){var r=n[s-1],c=n[s];a+=p.dist(r,c),t.push(a)}if(a===0)return;for(var s=0;s<t.length;s++)t[s]/=a;this._offsets=t,this._length=a},f.getLineLength=function(l){return this._length},f.updateSymbolPosition=function(l){var n=l.__t,t=this._points,a=this._offsets,s=t.length;if(!a)return;var r=this._lastFrame,c;if(n<this._lastFramePercent){var e=Math.min(r+1,s-1);for(c=e;c>=0&&!(a[c]<=n);c--);c=Math.min(c,s-2)}else{for(var c=r;c<s&&!(a[c]>n);c++);c=Math.min(c-1,s-2)}p.lerp(l.position,t[c],t[c+1],(n-a[c])/(a[c+1]-a[c]));var o=t[c+1][0]-t[c][0],u=t[c+1][1]-t[c][1];l.rotation=-Math.atan2(u,o)-Math.PI/2,this._lastFrame=c,this._lastFramePercent=n,l.ignore=!1},m.inherits(v,E);var d=v;U.exports=d},apAg:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("bsht")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="SearchOutlined";var l=p.forwardRef(d);R.default=l},as94:function(U,R,i){var y=i("7aKB"),m=i("3LNs"),E=i("IwbS"),p=i("/y7N"),v=i("Fofx"),f=i("+rIm"),d=i("Znkb"),l=m.extend({makeElOption:function(s,r,c,e,o){var u=c.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=u.polar,g=h.getOtherAxis(u),A=g.getExtent(),w;w=u["dataTo"+y.capitalFirst(u.dim)](r);var x=e.get("type");if(x&&x!=="none"){var C=p.buildElStyle(e),T=t[x](u,h,w,A,C);T.style=C,s.graphicKey=T.type,s.pointer=T}var O=e.get("label.margin"),S=n(r,c,e,h,O);p.buildLabelElOption(s,c,e,o,S)}});function n(s,r,c,e,o){var u=r.axis,h=u.dataToCoord(s),g=e.getAngleAxis().getExtent()[0];g=g/180*Math.PI;var A=e.getRadiusAxis().getExtent(),w,x,C;if(u.dim==="radius"){var T=v.create();v.rotate(T,T,g),v.translate(T,T,[e.cx,e.cy]),w=E.applyTransform([h,-o],T);var O=r.getModel("axisLabel").get("rotate")||0,S=f.innerTextLayout(g,O*Math.PI/180,-1);x=S.textAlign,C=S.textVerticalAlign}else{var _=A[1];w=e.coordToPoint([_+o,h]);var L=e.cx,D=e.cy;x=Math.abs(w[0]-L)/_<.3?"center":w[0]>L?"left":"right",C=Math.abs(w[1]-D)/_<.3?"middle":w[1]>D?"top":"bottom"}return{position:w,align:x,verticalAlign:C}}var t={line:function(s,r,c,e,o){return s.dim==="angle"?{type:"Line",shape:p.makeLineShape(r.coordToPoint([e[0],c]),r.coordToPoint([e[1],c]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:c}}},shadow:function(s,r,c,e,o){var u=Math.max(1,s.getBandWidth()),h=Math.PI/180;return s.dim==="angle"?{type:"Sector",shape:p.makeSectorShape(r.cx,r.cy,e[0],e[1],(-c-u/2)*h,(-c+u/2)*h)}:{type:"Sector",shape:p.makeSectorShape(r.cx,r.cy,c-u/2,c+u/2,0,Math.PI*2)}}};d.registerAxisPointerClass("PolarAxisPointer",l);var a=l;U.exports=a},b56q:function(U,R,i){},b80e:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("gKaM")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DoubleLeftOutlined";var l=p.forwardRef(d);R.default=l},b9oc:function(U,R,i){var y=i("bYtY"),m=y.each,E="\0_ec_hist_store";function p(n,t){var a=l(n);m(t,function(s,r){for(var c=a.length-1;c>=0;c--){var e=a[c];if(e[r])break}if(c<0){var o=n.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var u=o.getPercentRange();a[0][r]={dataZoomId:r,start:u[0],end:u[1]}}}}),a.push(t)}function v(n){var t=l(n),a=t[t.length-1];t.length>1&&t.pop();var s={};return m(a,function(r,c){for(var e=t.length-1;e>=0;e--){var r=t[e][c];if(r){s[c]=r;break}}}),s}function f(n){n[E]=null}function d(n){return l(n).length}function l(n){var t=n[E];return t||(t=n[E]=[{}]),t}R.push=p,R.pop=v,R.clear=f,R.count=d},bBKM:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("+rIm"),f=i("IwbS"),d=["axisLine","axisTickLabel","axisName"],l=E.extendComponentView({type:"radar",render:function(n,t,a){var s=this.group;s.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},_buildAxes:function(n){var t=n.coordinateSystem,a=t.getIndicatorAxes(),s=p.map(a,function(r){var c=new v(r.model,{position:[t.cx,t.cy],rotation:r.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return c});p.each(s,function(r){p.each(d,r.add,r),this.group.add(r.getGroup())},this)},_buildSplitLineAndArea:function(n){var t=n.coordinateSystem,a=t.getIndicatorAxes();if(!a.length)return;var s=n.get("shape"),r=n.getModel("splitLine"),c=n.getModel("splitArea"),e=r.getModel("lineStyle"),o=c.getModel("areaStyle"),u=r.get("show"),h=c.get("show"),g=e.get("color"),A=o.get("color");g=p.isArray(g)?g:[g],A=p.isArray(A)?A:[A];var w=[],x=[];function C(V,z,X){var W=X%z.length;return V[W]=V[W]||[],W}if(s==="circle")for(var T=a[0].getTicksCoords(),O=t.cx,S=t.cy,_=0;_<T.length;_++){if(u){var L=C(w,g,_);w[L].push(new f.Circle({shape:{cx:O,cy:S,r:T[_].coord}}))}if(h&&_<T.length-1){var L=C(x,A,_);x[L].push(new f.Ring({shape:{cx:O,cy:S,r0:T[_].coord,r:T[_+1].coord}}))}}else for(var D,F=p.map(a,function(V,z){var X=V.getTicksCoords();return D=D==null?X.length-1:Math.min(X.length-1,D),p.map(X,function(W){return t.coordToPoint(W.coord,z)})}),j=[],_=0;_<=D;_++){for(var k=[],K=0;K<a.length;K++)k.push(F[K][_]);if(k[0]&&k.push(k[0].slice()),u){var L=C(w,g,_);w[L].push(new f.Polyline({shape:{points:k}}))}if(h&&j){var L=C(x,A,_-1);x[L].push(new f.Polygon({shape:{points:k.concat(j)}}))}j=k.slice().reverse()}var Z=e.getLineStyle(),B=o.getAreaStyle();p.each(x,function(V,z){this.group.add(f.mergePath(V,{style:p.defaults({stroke:"none",fill:A[z%A.length]},B),silent:!0}))},this),p.each(w,function(V,z){this.group.add(f.mergePath(V,{style:p.defaults({fill:"none",stroke:g[z%g.length]},Z),silent:!0}))},this)}});U.exports=l},bBL8:function(U,R,i){var y=i("ProS");i("LPzL"),i("rfSb"),i("JVwQ");var m=i("UnoB"),E=i("cbJ4"),p=i("0/Rx");y.registerLayout(m),y.registerVisual(E),y.registerProcessor(p("themeRiver"))},bE4E:function(U,R,i){},bE4q:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("RIqP"),f=i.n(v),d=i("q1tI"),l=i("TSYQ"),n=i.n(l),t=i("Zm9Q"),a=i("HQEm"),s=i.n(a),r=i("XBQK"),c=i("H84U"),e=function(j,k){var K={};for(var Z in j)Object.prototype.hasOwnProperty.call(j,Z)&&k.indexOf(Z)<0&&(K[Z]=j[Z]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,Z=Object.getOwnPropertySymbols(j);B<Z.length;B++)k.indexOf(Z[B])<0&&Object.prototype.propertyIsEnumerable.call(j,Z[B])&&(K[Z[B]]=j[Z[B]]);return K},o=function(k){var K=k.prefixCls,Z=k.separator,B=Z===void 0?"/":Z,V=k.children,z=k.overlay,X=k.dropdownProps,W=e(k,["prefixCls","separator","children","overlay","dropdownProps"]),q=d.useContext(c.b),Y=q.getPrefixCls,re=Y("breadcrumb",K),ne=function(me){return z?d.createElement(r.a,m()({overlay:z,placement:"bottomCenter"},X),d.createElement("span",{className:"".concat(re,"-overlay-link")},me,d.createElement(s.a,null))):me},we;return"href"in W?we=d.createElement("a",m()({className:"".concat(re,"-link")},W),V):we=d.createElement("span",m()({className:"".concat(re,"-link")},W),V),we=ne(we),V?d.createElement("span",null,we,B&&B!==""&&d.createElement("span",{className:"".concat(re,"-separator")},B)):null};o.__ANT_BREADCRUMB_ITEM=!0;var u=o,h=function(k){var K=k.children,Z=d.useContext(c.b),B=Z.getPrefixCls,V=B("breadcrumb");return d.createElement("span",{className:"".concat(V,"-separator")},K||"/")};h.__ANT_BREADCRUMB_SEPARATOR=!0;var g=h,A=i("BvKs"),w=i("uaoM"),x=i("0n0R"),C=function(j,k){var K={};for(var Z in j)Object.prototype.hasOwnProperty.call(j,Z)&&k.indexOf(Z)<0&&(K[Z]=j[Z]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,Z=Object.getOwnPropertySymbols(j);B<Z.length;B++)k.indexOf(Z[B])<0&&Object.prototype.propertyIsEnumerable.call(j,Z[B])&&(K[Z[B]]=j[Z[B]]);return K};function T(j,k){if(!j.breadcrumbName)return null;var K=Object.keys(k).join("|"),Z=j.breadcrumbName.replace(new RegExp(":(".concat(K,")"),"g"),function(B,V){return k[V]||B});return Z}function O(j,k,K,Z){var B=K.indexOf(j)===K.length-1,V=T(j,k);return B?d.createElement("span",null,V):d.createElement("a",{href:"#/".concat(Z.join("/"))},V)}var S=function(k,K){return k=(k||"").replace(/^\//,""),Object.keys(K).forEach(function(Z){k=k.replace(":".concat(Z),K[Z])}),k},_=function(k){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",Z=arguments.length>2?arguments[2]:void 0,B=f()(k),V=S(K,Z);return V&&B.push(V),B},L=function(k){var K=k.prefixCls,Z=k.separator,B=Z===void 0?"/":Z,V=k.style,z=k.className,X=k.routes,W=k.children,q=k.itemRender,Y=q===void 0?O:q,re=k.params,ne=re===void 0?{}:re,we=C(k,["prefixCls","separator","style","className","routes","children","itemRender","params"]),ie=d.useContext(c.b),me=ie.getPrefixCls,_e=ie.direction,Te,We=me("breadcrumb",K);if(X&&X.length>0){var Ae=[];Te=X.map(function(ee){var he=S(ee.path,ne);he&&Ae.push(he);var Ze;return ee.children&&ee.children.length&&(Ze=d.createElement(A.a,null,ee.children.map(function(oe){return d.createElement(A.a.Item,{key:oe.path||oe.breadcrumbName},Y(oe,ne,X,_(Ae,oe.path,ne)))}))),d.createElement(u,{overlay:Ze,separator:B,key:he||ee.breadcrumbName},Y(ee,ne,X,Ae))})}else W&&(Te=Object(t.a)(W).map(function(ee,he){return ee&&(Object(w.a)(ee.type&&(ee.type.__ANT_BREADCRUMB_ITEM===!0||ee.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(x.a)(ee,{separator:B,key:he}))}));var je=n()(z,We,p()({},"".concat(We,"-rtl"),_e==="rtl"));return d.createElement("div",m()({className:je,style:V},we),Te)};L.Item=u,L.Separator=g;var D=L,F=R.a=D},bKJz:function(U,R,i){},bLfw:function(U,R,i){var y=i("bYtY"),m=i("Qxkt"),E=i("iRjW"),p=i("Yl7c"),v=p.enableClassManagement,f=p.parseClassType,d=i("4NO4"),l=d.makeInner,n=i("+TT/"),t=i("3hzK"),a=l(),s=m.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,o,u,h){m.call(this,e,o,u,h),this.uid=E.getUID("ec_cpt_model")},init:function(e,o,u,h){this.mergeDefaultAndTheme(e,u)},mergeDefaultAndTheme:function(e,o){var u=this.layoutMode,h=u?n.getLayoutParams(e):{},g=o.getTheme();y.merge(e,g.get(this.mainType)),y.merge(e,this.getDefaultOption()),u&&n.mergeLayoutParam(e,h,u)},mergeOption:function(e,o){y.merge(this.option,e,!0);var u=this.layoutMode;u&&n.mergeLayoutParam(this.option,e,u)},optionUpdated:function(e,o){},getDefaultOption:function(){var e=a(this);if(!e.defaultOption){for(var o=[],u=this.constructor;u;){var h=u.prototype.defaultOption;h&&o.push(h),u=u.superClass}for(var g={},A=o.length-1;A>=0;A--)g=y.merge(g,o[A],!0);e.defaultOption=g}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});v(s,{registerWhenExtend:!0}),E.enableSubTypeDefaulter(s),E.enableTopologicalTravel(s,r);function r(e){var o=[];return y.each(s.getClassesByMainType(e),function(u){o=o.concat(u.prototype.dependencies||[])}),o=y.map(o,function(u){return f(u).main}),e!=="dataset"&&y.indexOf(o,"dataset")<=0&&o.unshift("dataset"),o}y.mixin(s,t);var c=s;U.exports=c},bMXI:function(U,R,i){var y=i("bYtY"),m=i("QBsz"),E=i("Fofx"),p=i("mFDi"),v=i("DN4a"),f=m.applyTransform;function d(){v.call(this)}y.mixin(d,v);function l(a){this.name=a,this.zoomLimit,v.call(this),this._roamTransformable=new d,this._rawTransformable=new d,this._center,this._zoom}l.prototype={constructor:l,type:"view",dimensions:["x","y"],setBoundingRect:function(a,s,r,c){return this._rect=new p(a,s,r,c),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(a,s,r,c){this.transformTo(a,s,r,c),this._viewRect=new p(a,s,r,c)},transformTo:function(a,s,r,c){var e=this.getBoundingRect(),o=this._rawTransformable;o.transform=e.calculateTransform(new p(a,s,r,c)),o.decomposeTransform(),this._updateTransform()},setCenter:function(a){if(!a)return;this._center=a,this._updateCenterAndZoom()},setZoom:function(a){a=a||1;var s=this.zoomLimit;s&&(s.max!=null&&(a=Math.min(s.max,a)),s.min!=null&&(a=Math.max(s.min,a))),this._zoom=a,this._updateCenterAndZoom()},getDefaultCenter:function(){var a=this.getBoundingRect(),s=a.x+a.width/2,r=a.y+a.height/2;return[s,r]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var a=this._rawTransformable.getLocalTransform(),s=this._roamTransformable,r=this.getDefaultCenter(),c=this.getCenter(),e=this.getZoom();c=m.applyTransform([],c,a),r=m.applyTransform([],r,a),s.origin=c,s.position=[r[0]-c[0],r[1]-c[1]],s.scale=[e,e],this._updateTransform()},_updateTransform:function(){var a=this._roamTransformable,s=this._rawTransformable;s.parent=a,a.updateTransform(),s.updateTransform(),E.copy(this.transform||(this.transform=[]),s.transform||E.create()),this._rawTransform=s.getLocalTransform(),this.invTransform=this.invTransform||[],E.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var a=this._roamTransformable.transform,s=this._rawTransformable;return{roamTransform:a?y.slice(a):E.create(),rawScale:y.slice(s.scale),rawPosition:y.slice(s.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var a=this.getBoundingRect().clone();return a.applyTransform(this.transform),a},dataToPoint:function(a,s,r){var c=s?this._rawTransform:this.transform;return r=r||[],c?f(r,a,c):m.copy(r,a)},pointToData:function(a){var s=this.invTransform;return s?f([],a,s):[a[0],a[1]]},convertToPixel:y.curry(n,"dataToPoint"),convertFromPixel:y.curry(n,"pointToData"),containPoint:function(a){return this.getViewRectAfterRoam().contain(a[0],a[1])}},y.mixin(l,v);function n(a,s,r,c){var e=r.seriesModel,o=e?e.coordinateSystem:null;return o===this?o[a](c):null}var t=l;U.exports=t},bNin:function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E=i("FBjb"),p=i("Itpr"),v=p.radialCoordinate,f=i("ProS"),d=i("4mN7"),l=i("bMXI"),n=i("Ae+d"),t=i("SgGq"),a=i("xSat"),s=a.onIrrelevantElement,r=i("Tghj"),c=r.__DEV__,e=i("OELB"),o=e.parsePercent,u=m.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(O,S){var _=S.childPoints,L=_.length,D=S.parentPoint,F=_[0],j=_[L-1];if(L===1){O.moveTo(D[0],D[1]),O.lineTo(F[0],F[1]);return}var k=S.orient,K=k==="TB"||k==="BT"?0:1,Z=1-K,B=o(S.forkPosition,1),V=[];V[K]=D[K],V[Z]=D[Z]+(j[Z]-D[Z])*B,O.moveTo(D[0],D[1]),O.lineTo(V[0],V[1]),O.moveTo(F[0],F[1]),V[K]=F[K],O.lineTo(V[0],V[1]),V[K]=j[K],O.lineTo(V[0],V[1]),O.lineTo(j[0],j[1]);for(var z=1;z<L-1;z++){var X=_[z];O.moveTo(X[0],X[1]),V[K]=X[K],O.lineTo(V[0],V[1])}}}),h=f.extendChartView({type:"tree",init:function(O,S){this._oldTree,this._mainGroup=new m.Group,this._controller=new t(S.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(O,S,_,L){var D=O.getData(),F=O.layoutInfo,j=this._mainGroup,k=O.get("layout");k==="radial"?j.attr("position",[F.x+F.width/2,F.y+F.height/2]):j.attr("position",[F.x,F.y]),this._updateViewCoordSys(O,F,k),this._updateController(O,S,_);var K=this._data,Z={expandAndCollapse:O.get("expandAndCollapse"),layout:k,edgeShape:O.get("edgeShape"),edgeForkPosition:O.get("edgeForkPosition"),orient:O.getOrient(),curvature:O.get("lineStyle.curveness"),symbolRotate:O.get("symbolRotate"),symbolOffset:O.get("symbolOffset"),hoverAnimation:O.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};D.diff(K).add(function(B){g(D,B)&&w(D,B,null,j,O,Z)}).update(function(B,V){var z=K.getItemGraphicEl(V);if(!g(D,B)){z&&C(K,V,z,j,O,Z);return}w(D,B,z,j,O,Z)}).remove(function(B){var V=K.getItemGraphicEl(B);V&&C(K,B,V,j,O,Z)}).execute(),this._nodeScaleRatio=O.get("nodeScaleRatio"),this._updateNodeAndLinkScale(O),Z.expandAndCollapse===!0&&D.eachItemGraphicEl(function(B,V){B.off("click").on("click",function(){_.dispatchAction({type:"treeExpandAndCollapse",seriesId:O.id,dataIndex:V})})}),this._data=D},_updateViewCoordSys:function(O){var S=O.getData(),_=[];S.each(function(K){var Z=S.getItemLayout(K);Z&&!isNaN(Z.x)&&!isNaN(Z.y)&&_.push([+Z.x,+Z.y])});var L=[],D=[];d.fromPoints(_,L,D);var F=this._min,j=this._max;D[0]-L[0]===0&&(L[0]=F?F[0]:L[0]-1,D[0]=j?j[0]:D[0]+1),D[1]-L[1]===0&&(L[1]=F?F[1]:L[1]-1,D[1]=j?j[1]:D[1]+1);var k=O.coordinateSystem=new l;k.zoomLimit=O.get("scaleLimit"),k.setBoundingRect(L[0],L[1],D[0]-L[0],D[1]-L[1]),k.setCenter(O.get("center")),k.setZoom(O.get("zoom")),this.group.attr({position:k.position,scale:k.scale}),this._viewCoordSys=k,this._min=L,this._max=D},_updateController:function(O,S,_){var L=this._controller,D=this._controllerHost,F=this.group;L.setPointerChecker(function(j,k,K){var Z=F.getBoundingRect();return Z.applyTransform(F.transform),Z.contain(k,K)&&!s(j,_,O)}),L.enable(O.get("roam")),D.zoomLimit=O.get("scaleLimit"),D.zoom=O.coordinateSystem.getZoom(),L.off("pan").off("zoom").on("pan",function(j){n.updateViewOnPan(D,j.dx,j.dy),_.dispatchAction({seriesId:O.id,type:"treeRoam",dx:j.dx,dy:j.dy})},this).on("zoom",function(j){n.updateViewOnZoom(D,j.scale,j.originX,j.originY),_.dispatchAction({seriesId:O.id,type:"treeRoam",zoom:j.scale,originX:j.originX,originY:j.originY}),this._updateNodeAndLinkScale(O)},this)},_updateNodeAndLinkScale:function(O){var S=O.getData(),_=this._getNodeGlobalScale(O),L=[_,_];S.eachItemGraphicEl(function(D,F){D.attr("scale",L)})},_getNodeGlobalScale:function(O){var S=O.coordinateSystem;if(S.type!=="view")return 1;var _=this._nodeScaleRatio,L=S.scale,D=L&&L[0]||1,F=S.getZoom(),j=(F-1)*_+1;return j/D},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function g(O,S){var _=O.getItemLayout(S);return _&&!isNaN(_.x)&&!isNaN(_.y)&&O.getItemVisual(S,"symbol")!=="none"}function A(O,S,_){return _.itemModel=S,_.itemStyle=S.getModel("itemStyle").getItemStyle(),_.hoverItemStyle=S.getModel("emphasis.itemStyle").getItemStyle(),_.lineStyle=S.getModel("lineStyle").getLineStyle(),_.labelModel=S.getModel("label"),_.hoverLabelModel=S.getModel("emphasis.label"),O.isExpand===!1&&O.children.length!==0?_.symbolInnerColor=_.itemStyle.fill:_.symbolInnerColor="#fff",_}function w(O,S,_,L,D,F){var j=!_,k=O.tree.getNodeByDataIndex(S),K=k.getModel(),F=A(k,K,F),Z=O.tree.root,B=k.parentNode===Z?k:k.parentNode||k,V=O.getItemGraphicEl(B.dataIndex),z=B.getLayout(),X=V?{x:V.position[0],y:V.position[1],rawX:V.__radialOldRawX,rawY:V.__radialOldRawY}:z,W=k.getLayout();j?(_=new E(O,S,F),_.attr("position",[X.x,X.y])):_.updateData(O,S,F),_.__radialOldRawX=_.__radialRawX,_.__radialOldRawY=_.__radialRawY,_.__radialRawX=W.rawX,_.__radialRawY=W.rawY,L.add(_),O.setItemGraphicEl(S,_),m.updateProps(_,{position:[W.x,W.y]},D);var q=_.getSymbolPath();if(F.layout==="radial"){var Y=Z.children[0],re=Y.getLayout(),ne=Y.children.length,we,ie;if(W.x===re.x&&k.isExpand===!0){var me={};me.x=(Y.children[0].getLayout().x+Y.children[ne-1].getLayout().x)/2,me.y=(Y.children[0].getLayout().y+Y.children[ne-1].getLayout().y)/2,we=Math.atan2(me.y-re.y,me.x-re.x),we<0&&(we=Math.PI*2+we),ie=me.x<re.x,ie&&(we=we-Math.PI)}else we=Math.atan2(W.y-re.y,W.x-re.x),we<0&&(we=Math.PI*2+we),k.children.length===0||k.children.length!==0&&k.isExpand===!1?(ie=W.x<re.x,ie&&(we=we-Math.PI)):(ie=W.x>re.x,ie||(we=we-Math.PI));var _e=ie?"left":"right",Te=F.labelModel.get("rotate"),We=Te*(Math.PI/180);q.setStyle({textPosition:F.labelModel.get("position")||_e,textRotation:Te==null?-we:We,textOrigin:"center",verticalAlign:"middle"})}x(D,k,Z,_,X,z,W,L,F)}function x(O,S,_,L,D,F,j,k,K){var Z=K.edgeShape,B=L.__edge;if(Z==="curve")S.parentNode&&S.parentNode!==_&&(B||(B=L.__edge=new m.BezierCurve({shape:T(K,D,D),style:y.defaults({opacity:0,strokeNoScale:!0},K.lineStyle)})),m.updateProps(B,{shape:T(K,F,j),style:{opacity:1}},O));else if(Z==="polyline"&&(K.layout==="orthogonal"&&(S!==_&&S.children&&S.children.length!==0&&S.isExpand===!0))){for(var V=S.children,z=[],X=0;X<V.length;X++){var W=V[X].getLayout();z.push([W.x,W.y])}B||(B=L.__edge=new u({shape:{parentPoint:[j.x,j.y],childPoints:[[j.x,j.y]],orient:K.orient,forkPosition:K.edgeForkPosition},style:y.defaults({opacity:0,strokeNoScale:!0},K.lineStyle)})),m.updateProps(B,{shape:{parentPoint:[j.x,j.y],childPoints:z},style:{opacity:1}},O)}k.add(B)}function C(O,S,_,L,D,F){for(var j=O.tree.getNodeByDataIndex(S),k=O.tree.root,K=j.getModel(),F=A(j,K,F),Z=j.parentNode===k?j:j.parentNode||j,B=F.edgeShape,V;V=Z.getLayout(),V==null;)Z=Z.parentNode===k?Z:Z.parentNode||Z;m.updateProps(_,{position:[V.x+1,V.y+1]},D,function(){L.remove(_),O.setItemGraphicEl(S,null)}),_.fadeOut(null,{keepLabel:!0});var z=O.getItemGraphicEl(Z.dataIndex),X=z.__edge,W=_.__edge||(Z.isExpand===!1||Z.children.length===1?X:void 0),B=F.edgeShape;W&&(B==="curve"?m.updateProps(W,{shape:T(F,V,V),style:{opacity:0}},D,function(){L.remove(W)}):B==="polyline"&&F.layout==="orthogonal"&&m.updateProps(W,{shape:{parentPoint:[V.x,V.y],childPoints:[[V.x,V.y]]},style:{opacity:0}},D,function(){L.remove(W)}))}function T(O,S,_){var L,D,F,j,k=O.orient,K,Z,B,V;if(O.layout==="radial"){K=S.rawX,B=S.rawY,Z=_.rawX,V=_.rawY;var z=v(K,B),X=v(K,B+(V-B)*O.curvature),W=v(Z,V+(B-V)*O.curvature),q=v(Z,V);return{x1:z.x,y1:z.y,x2:q.x,y2:q.y,cpx1:X.x,cpy1:X.y,cpx2:W.x,cpy2:W.y}}else K=S.x,B=S.y,Z=_.x,V=_.y,(k==="LR"||k==="RL")&&(L=K+(Z-K)*O.curvature,D=B,F=Z+(K-Z)*O.curvature,j=V),(k==="TB"||k==="BT")&&(L=K,D=B+(V-B)*O.curvature,F=Z,j=V+(B-V)*O.curvature);return{x1:K,y1:B,x2:Z,y2:V,cpx1:L,cpy1:D,cpx2:F,cpy2:j}}U.exports=h},bRQS:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CheckOutlined";var d=R.a=m.forwardRef(f)},bT9E:function(U,R,i){"use strict";i.d(R,"a",function(){return m});var y=i("VTBJ");function m(E,p){var v=Object(y.a)({},E);return Array.isArray(p)&&p.forEach(function(f){delete v[f]}),v}},bX4T:function(U,R,i){"use strict";i.d(R,"a",function(){return l});var y=i("VTBJ"),m=`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`,E=`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`,p="".concat(m," ").concat(E).split(/[\s\n]+/),v="aria-",f="data-";function d(n,t){return n.indexOf(t)===0}function l(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a;t===!1?a={aria:!0,data:!0,attr:!0}:t===!0?a={aria:!0}:a=Object(y.a)({},t);var s={};return Object.keys(n).forEach(function(r){(a.aria&&(r==="role"||d(r,v))||a.data&&d(r,f)||a.attr&&p.includes(r))&&(s[r]=n[r])}),s}},bYtY:function(U,R){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},y={"[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},m=Object.prototype.toString,E=Array.prototype,p=E.forEach,v=E.filter,f=E.slice,d=E.map,l=E.reduce,n={};function t(ee,he){ee==="createCanvas"&&(u=null),n[ee]=he}function a(ee){if(ee==null||typeof ee!="object")return ee;var he=ee,Ze=m.call(ee);if(Ze==="[object Array]"){if(!_e(ee)){he=[];for(var oe=0,Q=ee.length;oe<Q;oe++)he[oe]=a(ee[oe])}}else if(y[Ze]){if(!_e(ee)){var G=ee.constructor;if(ee.constructor.from)he=G.from(ee);else{he=new G(ee.length);for(var oe=0,Q=ee.length;oe<Q;oe++)he[oe]=a(ee[oe])}}}else if(!i[Ze]&&!_e(ee)&&!V(ee)){he={};for(var te in ee)ee.hasOwnProperty(te)&&(he[te]=a(ee[te]))}return he}function s(ee,he,Ze){if(!K(he)||!K(ee))return Ze?a(he):ee;for(var oe in he)if(he.hasOwnProperty(oe)){var Q=ee[oe],G=he[oe];K(G)&&K(Q)&&!F(G)&&!F(Q)&&!V(G)&&!V(Q)&&!Z(G)&&!Z(Q)&&!_e(G)&&!_e(Q)?s(Q,G,Ze):(Ze||!(oe in ee))&&(ee[oe]=a(he[oe],!0))}return ee}function r(ee,he){for(var Ze=ee[0],oe=1,Q=ee.length;oe<Q;oe++)Ze=s(Ze,ee[oe],he);return Ze}function c(ee,he){for(var Ze in he)he.hasOwnProperty(Ze)&&(ee[Ze]=he[Ze]);return ee}function e(ee,he,Ze){for(var oe in he)he.hasOwnProperty(oe)&&(Ze?he[oe]!=null:ee[oe]==null)&&(ee[oe]=he[oe]);return ee}var o=function(){return n.createCanvas()};n.createCanvas=function(){return document.createElement("canvas")};var u;function h(){return u||(u=o().getContext("2d")),u}function g(ee,he){if(ee){if(ee.indexOf)return ee.indexOf(he);for(var Ze=0,oe=ee.length;Ze<oe;Ze++)if(ee[Ze]===he)return Ze}return-1}function A(ee,he){var Ze=ee.prototype;function oe(){}oe.prototype=he.prototype,ee.prototype=new oe;for(var Q in Ze)Ze.hasOwnProperty(Q)&&(ee.prototype[Q]=Ze[Q]);ee.prototype.constructor=ee,ee.superClass=he}function w(ee,he,Ze){ee="prototype"in ee?ee.prototype:ee,he="prototype"in he?he.prototype:he,e(ee,he,Ze)}function x(ee){return ee?typeof ee=="string"?!1:typeof ee.length=="number":void 0}function C(ee,he,Ze){if(!(ee&&he))return;if(ee.forEach&&ee.forEach===p)ee.forEach(he,Ze);else if(ee.length===+ee.length)for(var oe=0,Q=ee.length;oe<Q;oe++)he.call(Ze,ee[oe],oe,ee);else for(var G in ee)ee.hasOwnProperty(G)&&he.call(Ze,ee[G],G,ee)}function T(ee,he,Ze){if(!(ee&&he))return;if(ee.map&&ee.map===d)return ee.map(he,Ze);for(var oe=[],Q=0,G=ee.length;Q<G;Q++)oe.push(he.call(Ze,ee[Q],Q,ee));return oe}function O(ee,he,Ze,oe){if(!(ee&&he))return;if(ee.reduce&&ee.reduce===l)return ee.reduce(he,Ze,oe);for(var Q=0,G=ee.length;Q<G;Q++)Ze=he.call(oe,Ze,ee[Q],Q,ee);return Ze}function S(ee,he,Ze){if(!(ee&&he))return;if(ee.filter&&ee.filter===v)return ee.filter(he,Ze);for(var oe=[],Q=0,G=ee.length;Q<G;Q++)he.call(Ze,ee[Q],Q,ee)&&oe.push(ee[Q]);return oe}function _(ee,he,Ze){if(!(ee&&he))return;for(var oe=0,Q=ee.length;oe<Q;oe++)if(he.call(Ze,ee[oe],oe,ee))return ee[oe]}function L(ee,he){var Ze=f.call(arguments,2);return function(){return ee.apply(he,Ze.concat(f.call(arguments)))}}function D(ee){var he=f.call(arguments,1);return function(){return ee.apply(this,he.concat(f.call(arguments)))}}function F(ee){return m.call(ee)==="[object Array]"}function j(ee){return typeof ee=="function"}function k(ee){return m.call(ee)==="[object String]"}function K(ee){var he=typeof ee;return he==="function"||!!ee&&he==="object"}function Z(ee){return!!i[m.call(ee)]}function B(ee){return!!y[m.call(ee)]}function V(ee){return typeof ee=="object"&&typeof ee.nodeType=="number"&&typeof ee.ownerDocument=="object"}function z(ee){return ee!==ee}function X(ee){for(var he=0,Ze=arguments.length;he<Ze;he++)if(arguments[he]!=null)return arguments[he]}function W(ee,he){return ee!=null?ee:he}function q(ee,he,Ze){return ee!=null?ee:he!=null?he:Ze}function Y(){return Function.call.apply(f,arguments)}function re(ee){if(typeof ee=="number")return[ee,ee,ee,ee];var he=ee.length;return he===2?[ee[0],ee[1],ee[0],ee[1]]:he===3?[ee[0],ee[1],ee[2],ee[1]]:ee}function ne(ee,he){if(!ee)throw new Error(he)}function we(ee){return ee==null?null:typeof ee.trim=="function"?ee.trim():ee.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ie="__ec_primitive__";function me(ee){ee[ie]=!0}function _e(ee){return ee[ie]}function Te(ee){var he=F(ee);this.data={};var Ze=this;ee instanceof Te?ee.each(oe):ee&&C(ee,oe);function oe(Q,G){he?Ze.set(Q,G):Ze.set(G,Q)}}Te.prototype={constructor:Te,get:function(he){return this.data.hasOwnProperty(he)?this.data[he]:null},set:function(he,Ze){return this.data[he]=Ze},each:function(he,Ze){Ze!==void 0&&(he=L(he,Ze));for(var oe in this.data)this.data.hasOwnProperty(oe)&&he(this.data[oe],oe)},removeKey:function(he){delete this.data[he]}};function We(ee){return new Te(ee)}function Ae(ee,he){for(var Ze=new ee.constructor(ee.length+he.length),oe=0;oe<ee.length;oe++)Ze[oe]=ee[oe];var Q=ee.length;for(oe=0;oe<he.length;oe++)Ze[oe+Q]=he[oe];return Ze}function je(){}R.$override=t,R.clone=a,R.merge=s,R.mergeAll=r,R.extend=c,R.defaults=e,R.createCanvas=o,R.getContext=h,R.indexOf=g,R.inherits=A,R.mixin=w,R.isArrayLike=x,R.each=C,R.map=T,R.reduce=O,R.filter=S,R.find=_,R.bind=L,R.curry=D,R.isArray=F,R.isFunction=j,R.isString=k,R.isObject=K,R.isBuiltInObject=Z,R.isTypedArray=B,R.isDom=V,R.eqNaN=z,R.retrieve=X,R.retrieve2=W,R.retrieve3=q,R.slice=Y,R.normalizeCssArray=re,R.assert=ne,R.trim=we,R.setAsPrimitive=me,R.isPrimitive=_e,R.createHashMap=We,R.concatArray=Ae,R.noop=je},bZqE:function(U,R){function i(m,E,p){for(var v=[m],f=[],d;d=v.pop();)if(f.push(d),d.isExpand){var l=d.children;if(l.length)for(var n=0;n<l.length;n++)v.push(l[n])}for(;d=f.pop();)E(d,p)}function y(m,E){for(var p=[m],v;v=p.pop();)if(E(v),v.isExpand){var f=v.children;if(f.length)for(var d=f.length-1;d>=0;d--)p.push(f[d])}}R.eachAfter=i,R.eachBefore=y},bahg:function(U,R){function i(y){return y.split("")}U.exports=i},bbsP:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("CWI+"),p=i.n(E)},bogI:function(U,R,i){"use strict";i.d(R,"a",function(){return y});var y=function(E){if(!E)return null;var p=typeof E=="function";return p?E():E}},bsht:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},bx4M:function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i("TSYQ"),d=i.n(f),l=i("BGR+"),n=i("H84U"),t=function(T,O){var S={};for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&O.indexOf(_)<0&&(S[_]=T[_]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,_=Object.getOwnPropertySymbols(T);L<_.length;L++)O.indexOf(_[L])<0&&Object.prototype.propertyIsEnumerable.call(T,_[L])&&(S[_[L]]=T[_[L]]);return S},a=function(O){return v.createElement(n.a,null,function(S){var _=S.getPrefixCls,L=O.prefixCls,D=O.className,F=O.hoverable,j=F===void 0?!0:F,k=t(O,["prefixCls","className","hoverable"]),K=_("card",L),Z=d()("".concat(K,"-grid"),D,m()({},"".concat(K,"-grid-hoverable"),j));return v.createElement("div",p()({},k,{className:Z}))})},s=a,r=function(T,O){var S={};for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&O.indexOf(_)<0&&(S[_]=T[_]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,_=Object.getOwnPropertySymbols(T);L<_.length;L++)O.indexOf(_[L])<0&&Object.prototype.propertyIsEnumerable.call(T,_[L])&&(S[_[L]]=T[_[L]]);return S},c=function(O){return v.createElement(n.a,null,function(S){var _=S.getPrefixCls,L=O.prefixCls,D=O.className,F=O.avatar,j=O.title,k=O.description,K=r(O,["prefixCls","className","avatar","title","description"]),Z=_("card",L),B=d()("".concat(Z,"-meta"),D),V=F?v.createElement("div",{className:"".concat(Z,"-meta-avatar")},F):null,z=j?v.createElement("div",{className:"".concat(Z,"-meta-title")},j):null,X=k?v.createElement("div",{className:"".concat(Z,"-meta-description")},k):null,W=z||X?v.createElement("div",{className:"".concat(Z,"-meta-detail")},z,X):null;return v.createElement("div",p()({},K,{className:B}),V,W)})},e=c,o=i("ZTPi"),u=i("BMrR"),h=i("kPKH"),g=i("3Nzz"),A=function(T,O){var S={};for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&O.indexOf(_)<0&&(S[_]=T[_]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,_=Object.getOwnPropertySymbols(T);L<_.length;L++)O.indexOf(_[L])<0&&Object.prototype.propertyIsEnumerable.call(T,_[L])&&(S[_[L]]=T[_[L]]);return S};function w(T){var O=T.map(function(S,_){return v.createElement("li",{style:{width:"".concat(100/T.length,"%")},key:"action-".concat(_)},v.createElement("span",null,S))});return O}var x=function(O){var S,_,L=v.useContext(n.b),D=L.getPrefixCls,F=L.direction,j=v.useContext(g.b),k=function(Bt){O.onTabChange&&O.onTabChange(Bt)},K=function(){var Bt;return v.Children.forEach(O.children,function(Pt){Pt&&Pt.type&&Pt.type===s&&(Bt=!0)}),Bt},Z=O.prefixCls,B=O.className,V=O.extra,z=O.headStyle,X=z===void 0?{}:z,W=O.bodyStyle,q=W===void 0?{}:W,Y=O.title,re=O.loading,ne=O.bordered,we=ne===void 0?!0:ne,ie=O.size,me=O.type,_e=O.cover,Te=O.actions,We=O.tabList,Ae=O.children,je=O.activeTabKey,ee=O.defaultActiveTabKey,he=O.tabBarExtraContent,Ze=O.hoverable,oe=O.tabProps,Q=oe===void 0?{}:oe,G=A(O,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),te=D("card",Z),xe=q.padding===0||q.padding==="0px"?{padding:24}:void 0,fe=v.createElement("div",{className:"".concat(te,"-loading-block")}),Be=v.createElement("div",{className:"".concat(te,"-loading-content"),style:xe},v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:22},fe)),v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:8},fe),v.createElement(h.a,{span:15},fe)),v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:6},fe),v.createElement(h.a,{span:18},fe)),v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:13},fe),v.createElement(h.a,{span:9},fe)),v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:4},fe),v.createElement(h.a,{span:3},fe),v.createElement(h.a,{span:16},fe))),Ne=je!==void 0,de=p()(p()({},Q),(S={},m()(S,Ne?"activeKey":"defaultActiveKey",Ne?je:ee),m()(S,"tabBarExtraContent",he),S)),ve,Me=We&&We.length?v.createElement(o.a,p()({size:"large"},de,{className:"".concat(te,"-head-tabs"),onChange:k}),We.map(function(Nt){return v.createElement(o.a.TabPane,{tab:Nt.tab,disabled:Nt.disabled,key:Nt.key})})):null;(Y||V||Me)&&(ve=v.createElement("div",{className:"".concat(te,"-head"),style:X},v.createElement("div",{className:"".concat(te,"-head-wrapper")},Y&&v.createElement("div",{className:"".concat(te,"-head-title")},Y),V&&v.createElement("div",{className:"".concat(te,"-extra")},V)),Me));var qe=_e?v.createElement("div",{className:"".concat(te,"-cover")},_e):null,gt=v.createElement("div",{className:"".concat(te,"-body"),style:q},re?Be:Ae),ht=Te&&Te.length?v.createElement("ul",{className:"".concat(te,"-actions")},w(Te)):null,Pe=Object(l.default)(G,["onTabChange"]),It=ie||j,nt=d()(te,B,(_={},m()(_,"".concat(te,"-loading"),re),m()(_,"".concat(te,"-bordered"),we),m()(_,"".concat(te,"-hoverable"),Ze),m()(_,"".concat(te,"-contain-grid"),K()),m()(_,"".concat(te,"-contain-tabs"),We&&We.length),m()(_,"".concat(te,"-").concat(It),It),m()(_,"".concat(te,"-type-").concat(me),!!me),m()(_,"".concat(te,"-rtl"),F==="rtl"),_));return v.createElement("div",p()({},Pe,{className:nt}),ve,qe,gt,ht)};x.Grid=s,x.Meta=e;var C=R.a=x},c2i1:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("Yl7c"),v=p.enableClassCheck;function f(r){return"_EC_"+r}var d=function(r){this._directed=r||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},l=d.prototype;l.type="graph",l.isDirected=function(){return this._directed},l.addNode=function(r,c){r=r==null?""+c:""+r;var e=this._nodesMap;if(e[f(r)])return;var o=new n(r,c);return o.hostGraph=this,this.nodes.push(o),e[f(r)]=o,o},l.getNodeByIndex=function(r){var c=this.data.getRawIndex(r);return this.nodes[c]},l.getNodeById=function(r){return this._nodesMap[f(r)]},l.addEdge=function(r,c,e){var o=this._nodesMap,u=this._edgesMap;if(typeof r=="number"&&(r=this.nodes[r]),typeof c=="number"&&(c=this.nodes[c]),n.isInstance(r)||(r=o[f(r)]),n.isInstance(c)||(c=o[f(c)]),!r||!c)return;var h=r.id+"-"+c.id;if(u[h])return;var g=new t(r,c,e);return g.hostGraph=this,this._directed&&(r.outEdges.push(g),c.inEdges.push(g)),r.edges.push(g),r!==c&&c.edges.push(g),this.edges.push(g),u[h]=g,g},l.getEdgeByIndex=function(r){var c=this.edgeData.getRawIndex(r);return this.edges[c]},l.getEdge=function(r,c){n.isInstance(r)&&(r=r.id),n.isInstance(c)&&(c=c.id);var e=this._edgesMap;return this._directed?e[r+"-"+c]:e[r+"-"+c]||e[c+"-"+r]},l.eachNode=function(r,c){for(var e=this.nodes,o=e.length,u=0;u<o;u++)e[u].dataIndex>=0&&r.call(c,e[u],u)},l.eachEdge=function(r,c){for(var e=this.edges,o=e.length,u=0;u<o;u++)e[u].dataIndex>=0&&e[u].node1.dataIndex>=0&&e[u].node2.dataIndex>=0&&r.call(c,e[u],u)},l.breadthFirstTraverse=function(r,c,e,o){if(n.isInstance(c)||(c=this._nodesMap[f(c)]),!c)return;for(var u=e==="out"?"outEdges":e==="in"?"inEdges":"edges",h=0;h<this.nodes.length;h++)this.nodes[h].__visited=!1;if(r.call(o,c,null))return;for(var g=[c];g.length;)for(var A=g.shift(),w=A[u],h=0;h<w.length;h++){var x=w[h],C=x.node1===A?x.node2:x.node1;if(!C.__visited){if(r.call(o,C,A))return;g.push(C),C.__visited=!0}}},l.update=function(){for(var r=this.data,c=this.edgeData,e=this.nodes,o=this.edges,u=0,h=e.length;u<h;u++)e[u].dataIndex=-1;for(var u=0,h=r.count();u<h;u++)e[r.getRawIndex(u)].dataIndex=u;c.filterSelf(function(g){var A=o[c.getRawIndex(g)];return A.node1.dataIndex>=0&&A.node2.dataIndex>=0});for(var u=0,h=o.length;u<h;u++)o[u].dataIndex=-1;for(var u=0,h=c.count();u<h;u++)o[c.getRawIndex(u)].dataIndex=u},l.clone=function(){for(var r=new d(this._directed),c=this.nodes,e=this.edges,o=0;o<c.length;o++)r.addNode(c[o].id,c[o].dataIndex);for(var o=0;o<e.length;o++){var u=e[o];r.addEdge(u.node1.id,u.node2.id,u.dataIndex)}return r};function n(r,c){this.id=r==null?"":r,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=c==null?-1:c}n.prototype={constructor:n,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(r){if(this.dataIndex<0)return;var c=this.hostGraph,e=c.data.getItemModel(this.dataIndex);return e.getModel(r)}};function t(r,c,e){this.node1=r,this.node2=c,this.dataIndex=e==null?-1:e}t.prototype.getModel=function(r){if(this.dataIndex<0)return;var c=this.hostGraph,e=c.edgeData.getItemModel(this.dataIndex);return e.getModel(r)};var a=function(r,c){return{getValue:function(e){var o=this[r][c];return o.get(o.getDimension(e||"value"),this.dataIndex)},setVisual:function(e,o){this.dataIndex>=0&&this[r][c].setItemVisual(this.dataIndex,e,o)},getVisual:function(e,o){return this[r][c].getItemVisual(this.dataIndex,e,o)},setLayout:function(e,o){this.dataIndex>=0&&this[r][c].setItemLayout(this.dataIndex,e,o)},getLayout:function(){return this[r][c].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][c].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][c].getRawIndex(this.dataIndex)}}};E.mixin(n,a("hostGraph","data")),E.mixin(t,a("hostGraph","edgeData")),d.Node=n,d.Edge=t,v(n),v(t);var s=d;U.exports=s},c5Ni:function(U,R,i){},c5fP:function(U,R,i){"use strict";function y(nt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(Bt){return typeof Bt}:y=function(Bt){return Bt&&typeof Symbol=="function"&&Bt.constructor===Symbol&&Bt!==Symbol.prototype?"symbol":typeof Bt},y(nt)}Object.defineProperty(R,"__esModule",{value:!0}),R._tr_init=qe,R._tr_stored_block=gt,R._tr_flush_block=Pe,R._tr_tally=It,R._tr_align=ht;var m=p(i("6BzB"));function E(){if(typeof WeakMap!="function")return null;var nt=new WeakMap;return E=function(){return nt},nt}function p(nt){if(nt&&nt.__esModule)return nt;if(nt===null||y(nt)!=="object"&&typeof nt!="function")return{default:nt};var Nt=E();if(Nt&&Nt.has(nt))return Nt.get(nt);var Bt={},Pt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var jt in nt)if(Object.prototype.hasOwnProperty.call(nt,jt)){var er=Pt?Object.getOwnPropertyDescriptor(nt,jt):null;er&&(er.get||er.set)?Object.defineProperty(Bt,jt,er):Bt[jt]=nt[jt]}return Bt.default=nt,Nt&&Nt.set(nt,Bt),Bt}var v=4,f=0,d=1,l=2;function n(nt){for(var Nt=nt.length;--Nt>=0;)nt[Nt]=0}var t=0,a=1,s=2,r=3,c=258,e=29,o=256,u=o+1+e,h=30,g=19,A=2*u+1,w=15,x=16,C=7,T=256,O=16,S=17,_=18,L=[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],D=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],k=512,K=new Array((u+2)*2);n(K);var Z=new Array(h*2);n(Z);var B=new Array(k);n(B);var V=new Array(c-r+1);n(V);var z=new Array(e);n(z);var X=new Array(h);n(X);function W(nt,Nt,Bt,Pt,jt){this.static_tree=nt,this.extra_bits=Nt,this.extra_base=Bt,this.elems=Pt,this.max_length=jt,this.has_stree=nt&&nt.length}var q,Y,re;function ne(nt,Nt){this.dyn_tree=nt,this.max_code=0,this.stat_desc=Nt}function we(nt){return nt<256?B[nt]:B[256+(nt>>>7)]}function ie(nt,Nt){nt.pending_buf[nt.pending++]=Nt&255,nt.pending_buf[nt.pending++]=Nt>>>8&255}function me(nt,Nt,Bt){nt.bi_valid>x-Bt?(nt.bi_buf|=Nt<<nt.bi_valid&65535,ie(nt,nt.bi_buf),nt.bi_buf=Nt>>x-nt.bi_valid,nt.bi_valid+=Bt-x):(nt.bi_buf|=Nt<<nt.bi_valid&65535,nt.bi_valid+=Bt)}function _e(nt,Nt,Bt){me(nt,Bt[Nt*2],Bt[Nt*2+1])}function Te(nt,Nt){var Bt=0;do Bt|=nt&1,nt>>>=1,Bt<<=1;while(--Nt>0);return Bt>>>1}function We(nt){nt.bi_valid===16?(ie(nt,nt.bi_buf),nt.bi_buf=0,nt.bi_valid=0):nt.bi_valid>=8&&(nt.pending_buf[nt.pending++]=nt.bi_buf&255,nt.bi_buf>>=8,nt.bi_valid-=8)}function Ae(nt,Nt){var Bt=Nt.dyn_tree,Pt=Nt.max_code,jt=Nt.stat_desc.static_tree,er=Nt.stat_desc.has_stree,at=Nt.stat_desc.extra_bits,Ce=Nt.stat_desc.extra_base,ue=Nt.stat_desc.max_length,Dt,rt,ye,Xt,pr,mt,nr=0;for(Xt=0;Xt<=w;Xt++)nt.bl_count[Xt]=0;for(Bt[nt.heap[nt.heap_max]*2+1]=0,Dt=nt.heap_max+1;Dt<A;Dt++){if(rt=nt.heap[Dt],Xt=Bt[Bt[rt*2+1]*2+1]+1,Xt>ue&&(Xt=ue,nr++),Bt[rt*2+1]=Xt,rt>Pt)continue;nt.bl_count[Xt]++,pr=0,rt>=Ce&&(pr=at[rt-Ce]),mt=Bt[rt*2],nt.opt_len+=mt*(Xt+pr),er&&(nt.static_len+=mt*(jt[rt*2+1]+pr))}if(nr===0)return;do{for(Xt=ue-1;nt.bl_count[Xt]===0;)Xt--;nt.bl_count[Xt]--,nt.bl_count[Xt+1]+=2,nt.bl_count[ue]--,nr-=2}while(nr>0);for(Xt=ue;Xt!==0;Xt--)for(rt=nt.bl_count[Xt];rt!==0;){if(ye=nt.heap[--Dt],ye>Pt)continue;Bt[ye*2+1]!==Xt&&(nt.opt_len+=(Xt-Bt[ye*2+1])*Bt[ye*2],Bt[ye*2+1]=Xt),rt--}}function je(nt,Nt,Bt){var Pt=new Array(w+1),jt=0,er,at;for(er=1;er<=w;er++)Pt[er]=jt=jt+Bt[er-1]<<1;for(at=0;at<=Nt;at++){var Ce=nt[at*2+1];if(Ce===0)continue;nt[at*2]=Te(Pt[Ce]++,Ce)}}function ee(){var nt,Nt,Bt,Pt,jt,er=new Array(w+1);for(Bt=0,Pt=0;Pt<e-1;Pt++)for(z[Pt]=Bt,nt=0;nt<1<<L[Pt];nt++)V[Bt++]=Pt;for(V[Bt-1]=Pt,jt=0,Pt=0;Pt<16;Pt++)for(X[Pt]=jt,nt=0;nt<1<<D[Pt];nt++)B[jt++]=Pt;for(jt>>=7;Pt<h;Pt++)for(X[Pt]=jt<<7,nt=0;nt<1<<D[Pt]-7;nt++)B[256+jt++]=Pt;for(Nt=0;Nt<=w;Nt++)er[Nt]=0;for(nt=0;nt<=143;)K[nt*2+1]=8,nt++,er[8]++;for(;nt<=255;)K[nt*2+1]=9,nt++,er[9]++;for(;nt<=279;)K[nt*2+1]=7,nt++,er[7]++;for(;nt<=287;)K[nt*2+1]=8,nt++,er[8]++;for(je(K,u+1,er),nt=0;nt<h;nt++)Z[nt*2+1]=5,Z[nt*2]=Te(nt,5);q=new W(K,L,o+1,u,w),Y=new W(Z,D,0,h,w),re=new W(new Array(0),F,0,g,C)}function he(nt){var Nt;for(Nt=0;Nt<u;Nt++)nt.dyn_ltree[Nt*2]=0;for(Nt=0;Nt<h;Nt++)nt.dyn_dtree[Nt*2]=0;for(Nt=0;Nt<g;Nt++)nt.bl_tree[Nt*2]=0;nt.dyn_ltree[T*2]=1,nt.opt_len=nt.static_len=0,nt.last_lit=nt.matches=0}function Ze(nt){nt.bi_valid>8?ie(nt,nt.bi_buf):nt.bi_valid>0&&(nt.pending_buf[nt.pending++]=nt.bi_buf),nt.bi_buf=0,nt.bi_valid=0}function oe(nt,Nt,Bt,Pt){Ze(nt),Pt&&(ie(nt,Bt),ie(nt,~Bt)),m.arraySet(nt.pending_buf,nt.window,Nt,Bt,nt.pending),nt.pending+=Bt}function Q(nt,Nt,Bt,Pt){var jt=Nt*2,er=Bt*2;return nt[jt]<nt[er]||nt[jt]===nt[er]&&Pt[Nt]<=Pt[Bt]}function G(nt,Nt,Bt){for(var Pt=nt.heap[Bt],jt=Bt<<1;jt<=nt.heap_len&&!(jt<nt.heap_len&&Q(Nt,nt.heap[jt+1],nt.heap[jt],nt.depth)&&jt++,Q(Nt,Pt,nt.heap[jt],nt.depth));)nt.heap[Bt]=nt.heap[jt],Bt=jt,jt<<=1;nt.heap[Bt]=Pt}function te(nt,Nt,Bt){var Pt,jt,er=0,at,Ce;if(nt.last_lit!==0)do Pt=nt.pending_buf[nt.d_buf+er*2]<<8|nt.pending_buf[nt.d_buf+er*2+1],jt=nt.pending_buf[nt.l_buf+er],er++,Pt===0?_e(nt,jt,Nt):(at=V[jt],_e(nt,at+o+1,Nt),Ce=L[at],Ce!==0&&(jt-=z[at],me(nt,jt,Ce)),Pt--,at=we(Pt),_e(nt,at,Bt),Ce=D[at],Ce!==0&&(Pt-=X[at],me(nt,Pt,Ce)));while(er<nt.last_lit);_e(nt,T,Nt)}function xe(nt,Nt){var Bt=Nt.dyn_tree,Pt=Nt.stat_desc.static_tree,jt=Nt.stat_desc.has_stree,er=Nt.stat_desc.elems,at,Ce,ue=-1,Dt;for(nt.heap_len=0,nt.heap_max=A,at=0;at<er;at++)Bt[at*2]!==0?(nt.heap[++nt.heap_len]=ue=at,nt.depth[at]=0):Bt[at*2+1]=0;for(;nt.heap_len<2;)Dt=nt.heap[++nt.heap_len]=ue<2?++ue:0,Bt[Dt*2]=1,nt.depth[Dt]=0,nt.opt_len--,jt&&(nt.static_len-=Pt[Dt*2+1]);for(Nt.max_code=ue,at=nt.heap_len>>1;at>=1;at--)G(nt,Bt,at);Dt=er;do at=nt.heap[1],nt.heap[1]=nt.heap[nt.heap_len--],G(nt,Bt,1),Ce=nt.heap[1],nt.heap[--nt.heap_max]=at,nt.heap[--nt.heap_max]=Ce,Bt[Dt*2]=Bt[at*2]+Bt[Ce*2],nt.depth[Dt]=(nt.depth[at]>=nt.depth[Ce]?nt.depth[at]:nt.depth[Ce])+1,Bt[at*2+1]=Bt[Ce*2+1]=Dt,nt.heap[1]=Dt++,G(nt,Bt,1);while(nt.heap_len>=2);nt.heap[--nt.heap_max]=nt.heap[1],Ae(nt,Nt),je(Bt,ue,nt.bl_count)}function fe(nt,Nt,Bt){var Pt,jt=-1,er,at=Nt[0*2+1],Ce=0,ue=7,Dt=4;for(at===0&&(ue=138,Dt=3),Nt[(Bt+1)*2+1]=65535,Pt=0;Pt<=Bt;Pt++){if(er=at,at=Nt[(Pt+1)*2+1],++Ce<ue&&er===at)continue;Ce<Dt?nt.bl_tree[er*2]+=Ce:er!==0?(er!==jt&&nt.bl_tree[er*2]++,nt.bl_tree[O*2]++):Ce<=10?nt.bl_tree[S*2]++:nt.bl_tree[_*2]++,Ce=0,jt=er,at===0?(ue=138,Dt=3):er===at?(ue=6,Dt=3):(ue=7,Dt=4)}}function Be(nt,Nt,Bt){var Pt,jt=-1,er,at=Nt[0*2+1],Ce=0,ue=7,Dt=4;for(at===0&&(ue=138,Dt=3),Pt=0;Pt<=Bt;Pt++){if(er=at,at=Nt[(Pt+1)*2+1],++Ce<ue&&er===at)continue;if(Ce<Dt)do _e(nt,er,nt.bl_tree);while(--Ce!==0);else er!==0?(er!==jt&&(_e(nt,er,nt.bl_tree),Ce--),_e(nt,O,nt.bl_tree),me(nt,Ce-3,2)):Ce<=10?(_e(nt,S,nt.bl_tree),me(nt,Ce-3,3)):(_e(nt,_,nt.bl_tree),me(nt,Ce-11,7));Ce=0,jt=er,at===0?(ue=138,Dt=3):er===at?(ue=6,Dt=3):(ue=7,Dt=4)}}function Ne(nt){var Nt;for(fe(nt,nt.dyn_ltree,nt.l_desc.max_code),fe(nt,nt.dyn_dtree,nt.d_desc.max_code),xe(nt,nt.bl_desc),Nt=g-1;Nt>=3&&!(nt.bl_tree[j[Nt]*2+1]!==0);Nt--);return nt.opt_len+=3*(Nt+1)+5+5+4,Nt}function de(nt,Nt,Bt,Pt){var jt;for(me(nt,Nt-257,5),me(nt,Bt-1,5),me(nt,Pt-4,4),jt=0;jt<Pt;jt++)me(nt,nt.bl_tree[j[jt]*2+1],3);Be(nt,nt.dyn_ltree,Nt-1),Be(nt,nt.dyn_dtree,Bt-1)}function ve(nt){var Nt=4093624447,Bt;for(Bt=0;Bt<=31;Bt++,Nt>>>=1)if(Nt&1&&nt.dyn_ltree[Bt*2]!==0)return f;if(nt.dyn_ltree[9*2]!==0||nt.dyn_ltree[10*2]!==0||nt.dyn_ltree[13*2]!==0)return d;for(Bt=32;Bt<o;Bt++)if(nt.dyn_ltree[Bt*2]!==0)return d;return f}var Me=!1;function qe(nt){Me||(ee(),Me=!0),nt.l_desc=new ne(nt.dyn_ltree,q),nt.d_desc=new ne(nt.dyn_dtree,Y),nt.bl_desc=new ne(nt.bl_tree,re),nt.bi_buf=0,nt.bi_valid=0,he(nt)}function gt(nt,Nt,Bt,Pt){me(nt,(t<<1)+(Pt?1:0),3),oe(nt,Nt,Bt,!0)}function ht(nt){me(nt,a<<1,3),_e(nt,T,K),We(nt)}function Pe(nt,Nt,Bt,Pt){var jt,er,at=0;nt.level>0?(nt.strm.data_type===l&&(nt.strm.data_type=ve(nt)),xe(nt,nt.l_desc),xe(nt,nt.d_desc),at=Ne(nt),jt=nt.opt_len+3+7>>>3,er=nt.static_len+3+7>>>3,er<=jt&&(jt=er)):jt=er=Bt+5,Bt+4<=jt&&Nt!==-1?gt(nt,Nt,Bt,Pt):nt.strategy===v||er===jt?(me(nt,(a<<1)+(Pt?1:0),3),te(nt,K,Z)):(me(nt,(s<<1)+(Pt?1:0),3),de(nt,nt.l_desc.max_code+1,nt.d_desc.max_code+1,at+1),te(nt,nt.dyn_ltree,nt.dyn_dtree)),he(nt),Pt&&Ze(nt)}function It(nt,Nt,Bt){return nt.pending_buf[nt.d_buf+nt.last_lit*2]=Nt>>>8&255,nt.pending_buf[nt.d_buf+nt.last_lit*2+1]=Nt&255,nt.pending_buf[nt.l_buf+nt.last_lit]=Bt&255,nt.last_lit++,Nt===0?nt.dyn_ltree[Bt*2]++:(nt.matches++,Nt--,nt.dyn_ltree[(V[Bt]+o+1)*2]++,nt.dyn_dtree[we(Nt)*2]++),nt.last_lit===nt.lit_bufsize-1}},c8qY:function(U,R,i){var y=i("IwbS"),m=i("fls0");function E(s){this._ctor=s||m,this.group=new y.Group}var p=E.prototype;p.isPersistent=function(){return!0},p.updateData=function(s){var r=this,c=r.group,e=r._lineData;r._lineData=s,e||c.removeAll();var o=l(s);s.diff(e).add(function(u){v(r,s,u,o)}).update(function(u,h){f(r,e,s,h,u,o)}).remove(function(u){c.remove(e.getItemGraphicEl(u))}).execute()};function v(s,r,c,e){var o=r.getItemLayout(c);if(!t(o))return;var u=new s._ctor(r,c,e);r.setItemGraphicEl(c,u),s.group.add(u)}function f(s,r,c,e,o,u){var h=r.getItemGraphicEl(e);if(!t(c.getItemLayout(o))){s.group.remove(h);return}h?h.updateData(c,o,u):h=new s._ctor(c,o,u),c.setItemGraphicEl(o,h),s.group.add(h)}p.updateLayout=function(){var s=this._lineData;if(!s)return;s.eachItemGraphicEl(function(r,c){r.updateLayout(s,c)},this)},p.incrementalPrepareUpdate=function(s){this._seriesScope=l(s),this._lineData=null,this.group.removeAll()};function d(s){return s.animators&&s.animators.length>0}p.incrementalUpdate=function(s,r){function c(h){!h.isGroup&&!d(h)&&(h.incremental=h.useHoverLayer=!0)}for(var e=s.start;e<s.end;e++){var o=r.getItemLayout(e);if(t(o)){var u=new this._ctor(r,e,this._seriesScope);u.traverse(c),this.group.add(u),r.setItemGraphicEl(e,u)}}};function l(s){var r=s.hostModel;return{lineStyle:r.getModel("lineStyle").getLineStyle(),hoverLineStyle:r.getModel("emphasis.lineStyle").getLineStyle(),labelModel:r.getModel("label"),hoverLabelModel:r.getModel("emphasis.label")}}p.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},p._clearIncremental=function(){var s=this._incremental;s&&s.clearDisplaybles()};function n(s){return isNaN(s[0])||isNaN(s[1])}function t(s){return!n(s[0])&&!n(s[1])}var a=E;U.exports=a},cCMj:function(U,R,i){var y=i("bYtY"),m={updateSelectedMap:function(E){this._targetList=y.isArray(E)?E.slice():[],this._selectTargetMap=y.reduce(E||[],function(p,v){return p.set(v.name,v),p},y.createHashMap())},select:function(E,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(E),f=this.get("selectedMode");f==="single"&&this._selectTargetMap.each(function(d){d.selected=!1}),v&&(v.selected=!0)},unSelect:function(E,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(E);v&&(v.selected=!1)},toggleSelected:function(E,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(E);if(v!=null)return this[v.selected?"unSelect":"select"](E,p),v.selected},isSelected:function(E,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(E);return v&&v.selected}};U.exports=m},cVA7:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=i("MT78"),m=v(y),E=i("t3Fx"),p=v(E);function v(t){return t&&t.__esModule?t:{default:t}}function f(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}function d(t,a){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:t}function l(t,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);t.prototype=Object.create(a&&a.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(t,a):t.__proto__=a)}var n=function(t){l(a,t);function a(s){f(this,a);var r=d(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,s));return r.echartsLib=m.default,r}return a}(p.default);R.default=n},cWXX:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("oIFs"),p=i.n(E)},ca2m:function(U,R,i){var y=i("bYtY"),m={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)"]}}},E={};E.categoryAxis=y.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},m),E.valueAxis=y.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},m),E.timeAxis=y.defaults({scale:!0,min:"dataMin",max:"dataMax"},E.valueAxis),E.logAxis=y.defaults({scale:!0,logBase:10},E.valueAxis);var p=E;U.exports=p},cbJ4:function(U,R,i){var y=i("bYtY"),m=y.createHashMap;function E(p){p.eachSeriesByType("themeRiver",function(v){var f=v.getData(),d=v.getRawData(),l=v.get("color"),n=m();f.each(function(t){n.set(f.getRawIndex(t),t)}),d.each(function(t){var a=d.getName(t),s=l[(v.nameMap.get(a)-1)%l.length];d.setItemVisual(t,"color",s);var r=n.get(t);r!=null&&f.setItemVisual(r,"color",s)})})}U.exports=E},chpo:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=1,m=function(){return"".concat(y++)};R.default=m},cpOr:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("T4UG"),p=i("YXkt"),v=i("bYtY"),f=v.concatArray,d=v.mergeAll,l=v.map,n=i("7aKB"),t=n.encodeHTML,a=i("IDmD"),s=typeof Uint32Array=="undefined"?Array:Uint32Array,r=typeof Float64Array=="undefined"?Array:Float64Array;function c(u){var h=u.data;h&&h[0]&&h[0][0]&&h[0][0].coord&&(u.data=l(h,function(g){var A=[g[0].coord,g[1].coord],w={coords:A};return g[0].name&&(w.fromName=g[0].name),g[1].name&&(w.toName=g[1].name),d([w,g[0],g[1]])}))}var e=E.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(u){u.data=u.data||[],c(u);var h=this._processFlatCoordsArray(u.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(u.data=new Float32Array(h.count)),e.superApply(this,"init",arguments)},mergeOption:function(u){if(u.data=u.data||[],c(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))}e.superApply(this,"mergeOption",arguments)},appendData:function(u){var h=this._processFlatCoordsArray(u.data);h.flatCoords&&(this._flatCoords?(this._flatCoords=f(this._flatCoords,h.flatCoords),this._flatCoordsOffset=f(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),g=h.option instanceof Array?h.option:h.getShallow("coords");return g},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,h){if(this._flatCoordsOffset){for(var g=this._flatCoordsOffset[u*2],A=this._flatCoordsOffset[u*2+1],w=0;w<A;w++)h[w]=h[w]||[],h[w][0]=this._flatCoords[g+w*2],h[w][1]=this._flatCoords[g+w*2+1];return A}else{for(var x=this._getCoordsFromItemModel(u),w=0;w<x.length;w++)h[w]=h[w]||[],h[w][0]=x[w][0],h[w][1]=x[w][1];return x.length}},_processFlatCoordsArray:function(u){var h=0;if(this._flatCoords&&(h=this._flatCoords.length),typeof u[0]=="number"){for(var g=u.length,A=new s(g),w=new r(g),x=0,C=0,T=0,O=0;O<g;){T++;var S=u[O++];A[C++]=x+h,A[C++]=S;for(var _=0;_<S;_++){var L=u[O++],D=u[O++];w[x++]=L,w[x++]=D,O>g}}return{flatCoordsOffset:new Uint32Array(A.buffer,0,C),flatCoords:w,count:T}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,h){var g=new p(["value"],this);return g.hasItemOption=!1,g.initData(u.data,[],function(A,w,x,C){if(A instanceof Array)return NaN;g.hasItemOption=!0;var T=A.value;if(T!=null)return T instanceof Array?T[C]:T}),g},formatTooltip:function(u){var h=this.getData(),g=h.getItemModel(u),A=g.get("name");if(A)return A;var w=g.get("fromName"),x=g.get("toName"),C=[];return w!=null&&C.push(w),x!=null&&C.push(x),t(C.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=e;U.exports=o},crZl:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("7aKB"),v=i("+TT/"),f=i("XxSj"),d=y.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(l,n){this.ecModel=l,this.api=n,this.visualMapModel},render:function(l,n,t,a){if(this.visualMapModel=l,l.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(l){var n=this.visualMapModel,t=p.normalizeCssArray(n.get("padding")||0),a=l.getBoundingRect();l.add(new E.Rect({z2:-1,silent:!0,shape:{x:a.x-t[3],y:a.y-t[0],width:a.width+t[3]+t[1],height:a.height+t[0]+t[2]},style:{fill:n.get("backgroundColor"),stroke:n.get("borderColor"),lineWidth:n.get("borderWidth")}}))},getControllerVisual:function(l,n,t){t=t||{};var a=t.forceState,s=this.visualMapModel,r={};if(n==="symbol"&&(r.symbol=s.get("itemSymbol")),n==="color"){var c=s.get("contentColor");r.color=c}function e(g){return r[g]}function o(g,A){r[g]=A}var u=s.controllerVisuals[a||s.getValueState(l)],h=f.prepareVisualTypes(u);return m.each(h,function(g){var A=u[g];t.convertOpacityToAlpha&&g==="opacity"&&(g="colorAlpha",A=u.__alphaForOpacity),f.dependsOn(g,n)&&(A&&A.applyVisual(l,e,o))}),r[n]},positionGroup:function(l){var n=this.visualMapModel,t=this.api;v.positionElement(l,n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})},doRender:m.noop});U.exports=d},crp1:function(U,R,i){"use strict";i.d(R,"b",function(){return bt}),i.d(R,"a",function(){return Rr});var y={},m=function(St,At,cr,or,Tt){var Rt=y[At]||(y[At]=URL.createObjectURL(new Blob([St],{type:"text/javascript"}))),_t=new Worker(Rt);return _t.onerror=function(Zt){return Tt(Zt.error,null)},_t.onmessage=function(Zt){return Tt(null,Zt.data)},_t.postMessage(cr,or),_t},E=Uint8Array,p=Uint16Array,v=Uint32Array,f=new E([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),d=new E([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),l=new E([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),n=function(St,At){for(var cr=new p(31),or=0;or<31;++or)cr[or]=At+=1<<St[or-1];for(var Tt=new v(cr[30]),or=1;or<30;++or)for(var Rt=cr[or];Rt<cr[or+1];++Rt)Tt[Rt]=Rt-cr[or]<<5|or;return[cr,Tt]},t=n(f,2),a=t[0],s=t[1];a[28]=258,s[258]=28;for(var r=n(d,0),c=r[0],e=r[1],o=new p(32768),u=0;u<32768;++u){var h=(u&43690)>>>1|(u&21845)<<1;h=(h&52428)>>>2|(h&13107)<<2,h=(h&61680)>>>4|(h&3855)<<4,o[u]=((h&65280)>>>8|(h&255)<<8)>>>1}for(var g=function(St,At,cr){for(var or=St.length,Tt=0,Rt=new p(At);Tt<or;++Tt)++Rt[St[Tt]-1];var _t=new p(At);for(Tt=0;Tt<At;++Tt)_t[Tt]=_t[Tt-1]+Rt[Tt-1]<<1;var Zt;if(cr){Zt=new p(1<<At);var Nr=15-At;for(Tt=0;Tt<or;++Tt)if(St[Tt])for(var Sr=Tt<<4|St[Tt],br=At-St[Tt],hn=_t[St[Tt]-1]++<<br,fn=hn|(1<<br)-1;hn<=fn;++hn)Zt[o[hn]>>>Nr]=Sr}else for(Zt=new p(or),Tt=0;Tt<or;++Tt)Zt[Tt]=o[_t[St[Tt]-1]++]>>>15-St[Tt];return Zt},A=new E(288),u=0;u<144;++u)A[u]=8;for(var u=144;u<256;++u)A[u]=9;for(var u=256;u<280;++u)A[u]=7;for(var u=280;u<288;++u)A[u]=8;for(var w=new E(32),u=0;u<32;++u)w[u]=5;var x=g(A,9,0),C=g(A,9,1),T=g(w,5,0),O=g(w,5,1),S=function(St){for(var At=St[0],cr=1;cr<St.length;++cr)St[cr]>At&&(At=St[cr]);return At},_=function(St,At,cr){var or=At/8>>0;return(St[or]|St[or+1]<<8)>>>(At&7)&cr},L=function(St,At){var cr=At/8>>0;return(St[cr]|St[cr+1]<<8|St[cr+2]<<16)>>>(At&7)},D=function(St){return(St/8>>0)+(St&7&&1)},F=function(St,At,cr){(At==null||At<0)&&(At=0),(cr==null||cr>St.length)&&(cr=St.length);var or=new(St instanceof p?p:St instanceof v?v:E)(cr-At);return or.set(St.subarray(At,cr)),or},j=function(St,At,cr){var or=St.length,Tt=!At||cr,Rt=!cr||cr.i;cr||(cr={}),At||(At=new E(or*3));var _t=function(qi){var bi=At.length;if(qi>bi){var ba=new E(Math.max(bi*2,qi));ba.set(At),At=ba}},Zt=cr.f||0,Nr=cr.p||0,Sr=cr.b||0,br=cr.l,hn=cr.d,fn=cr.m,ni=cr.n,mi=or*8;do{if(!br){cr.f=Zt=_(St,Nr,1);var _i=_(St,Nr+1,3);if(Nr+=3,_i)if(_i==1)br=C,hn=O,fn=9,ni=5;else if(_i==2){var it=_(St,Nr,31)+257,Re=_(St,Nr+10,15)+4,Ke=it+_(St,Nr+5,31)+1;Nr+=14;for(var Ge=new E(Ke),et=new E(19),$e=0;$e<Re;++$e)et[l[$e]]=_(St,Nr+$e*3,7);Nr+=Re*3;var st=S(et),Lt=(1<<st)-1;if(!Rt&&Nr+Ke*(st+7)>mi)break;for(var vt=g(et,st,1),$e=0;$e<Ke;){var Qt=vt[_(St,Nr,Lt)];Nr+=Qt&15;var Hi=Qt>>>4;if(Hi<16)Ge[$e++]=Hi;else{var Fr=0,Lr=0;for(Hi==16?(Lr=3+_(St,Nr,3),Nr+=2,Fr=Ge[$e-1]):Hi==17?(Lr=3+_(St,Nr,7),Nr+=3):Hi==18&&(Lr=11+_(St,Nr,127),Nr+=7);Lr--;)Ge[$e++]=Fr}}var Gr=Ge.subarray(0,it),$t=Ge.subarray(it);fn=S(Gr),ni=S($t),br=g(Gr,fn,1),hn=g($t,ni,1)}else throw"invalid block type";else{var Hi=D(Nr)+4,aa=St[Hi-4]|St[Hi-3]<<8,Ra=Hi+aa;if(Ra>or){if(Rt)throw"unexpected EOF";break}Tt&&_t(Sr+aa),At.set(St.subarray(Hi,Ra),Sr),cr.b=Sr+=aa,cr.p=Nr=Ra*8;continue}if(Nr>mi)throw"unexpected EOF"}Tt&&_t(Sr+131072);for(var Rn=(1<<fn)-1,wr=(1<<ni)-1,pn=fn+ni+18;Rt||Nr+pn<mi;){var Fr=br[L(St,Nr)&Rn],rn=Fr>>>4;if(Nr+=Fr&15,Nr>mi)throw"unexpected EOF";if(!Fr)throw"invalid length/literal";if(rn<256)At[Sr++]=rn;else if(rn==256){br=null;break}else{var Br=rn-254;if(rn>264){var $e=rn-257,Yn=f[$e];Br=_(St,Nr,(1<<Yn)-1)+a[$e],Nr+=Yn}var xi=hn[L(St,Nr)&wr],Li=xi>>>4;if(!xi)throw"invalid distance";Nr+=xi&15;var $t=c[Li];if(Li>3){var Yn=d[Li];$t+=L(St,Nr)&(1<<Yn)-1,Nr+=Yn}if(Nr>mi)throw"unexpected EOF";Tt&&_t(Sr+131072);for(var Vi=Sr+Br;Sr<Vi;Sr+=4)At[Sr]=At[Sr-$t],At[Sr+1]=At[Sr+1-$t],At[Sr+2]=At[Sr+2-$t],At[Sr+3]=At[Sr+3-$t];Sr=Vi}}cr.l=br,cr.p=Nr,cr.b=Sr,br&&(Zt=1,cr.m=fn,cr.d=hn,cr.n=ni)}while(!Zt);return Sr==At.length?At:F(At,0,Sr)},k=function(St,At,cr){cr<<=At&7;var or=At/8>>0;St[or]|=cr,St[or+1]|=cr>>>8},K=function(St,At,cr){cr<<=At&7;var or=At/8>>0;St[or]|=cr,St[or+1]|=cr>>>8,St[or+2]|=cr>>>16},Z=function(St,At){for(var cr=[],or=0;or<St.length;++or)St[or]&&cr.push({s:or,f:St[or]});var Tt=cr.length,Rt=cr.slice();if(!Tt)return[new E(0),0];if(Tt==1){var _t=new E(cr[0].s+1);return _t[cr[0].s]=1,[_t,1]}cr.sort(function(Ke,Ge){return Ke.f-Ge.f}),cr.push({s:-1,f:25001});var Zt=cr[0],Nr=cr[1],Sr=0,br=1,hn=2;for(cr[0]={s:-1,f:Zt.f+Nr.f,l:Zt,r:Nr};br!=Tt-1;)Zt=cr[cr[Sr].f<cr[hn].f?Sr++:hn++],Nr=cr[Sr!=br&&cr[Sr].f<cr[hn].f?Sr++:hn++],cr[br++]={s:-1,f:Zt.f+Nr.f,l:Zt,r:Nr};for(var fn=Rt[0].s,or=1;or<Tt;++or)Rt[or].s>fn&&(fn=Rt[or].s);var ni=new p(fn+1),mi=B(cr[br-1],ni,0);if(mi>At){var or=0,_i=0,Hi=mi-At,aa=1<<Hi;for(Rt.sort(function(Ge,et){return ni[et.s]-ni[Ge.s]||Ge.f-et.f});or<Tt;++or){var Ra=Rt[or].s;if(ni[Ra]>At)_i+=aa-(1<<mi-ni[Ra]),ni[Ra]=At;else break}for(_i>>>=Hi;_i>0;){var it=Rt[or].s;ni[it]<At?_i-=1<<At-ni[it]++-1:++or}for(;or>=0&&_i;--or){var Re=Rt[or].s;ni[Re]==At&&(--ni[Re],++_i)}mi=At}return[new E(ni),mi]},B=function qt(St,At,cr){return St.s==-1?Math.max(qt(St.l,At,cr+1),qt(St.r,At,cr+1)):At[St.s]=cr},V=function(St){for(var At=St.length;At&&!St[--At];);for(var cr=new p(++At),or=0,Tt=St[0],Rt=1,_t=function(Sr){cr[or++]=Sr},Zt=1;Zt<=At;++Zt)if(St[Zt]==Tt&&Zt!=At)++Rt;else{if(!Tt&&Rt>2){for(;Rt>138;Rt-=138)_t(32754);Rt>2&&(_t(Rt>10?Rt-11<<5|28690:Rt-3<<5|12305),Rt=0)}else if(Rt>3){for(_t(Tt),--Rt;Rt>6;Rt-=6)_t(8304);Rt>2&&(_t(Rt-3<<5|8208),Rt=0)}for(;Rt--;)_t(Tt);Rt=1,Tt=St[Zt]}return[cr.subarray(0,or),At]},z=function(St,At){for(var cr=0,or=0;or<At.length;++or)cr+=St[or]*At[or];return cr},X=function(St,At,cr){var or=cr.length,Tt=D(At+2);St[Tt]=or&255,St[Tt+1]=or>>>8,St[Tt+2]=St[Tt]^255,St[Tt+3]=St[Tt+1]^255;for(var Rt=0;Rt<or;++Rt)St[Tt+Rt+4]=cr[Rt];return(Tt+4+or)*8},W=function(St,At,cr,or,Tt,Rt,_t,Zt,Nr,Sr,br){k(At,br++,cr),++Tt[256];for(var hn=Z(Tt,15),fn=hn[0],ni=hn[1],mi=Z(Rt,15),_i=mi[0],Hi=mi[1],aa=V(fn),Ra=aa[0],it=aa[1],Re=V(_i),Ke=Re[0],Ge=Re[1],et=new p(19),$e=0;$e<Ra.length;++$e)et[Ra[$e]&31]++;for(var $e=0;$e<Ke.length;++$e)et[Ke[$e]&31]++;for(var st=Z(et,7),Lt=st[0],vt=st[1],Qt=19;Qt>4&&!Lt[l[Qt-1]];--Qt);var Fr=Sr+5<<3,Lr=z(Tt,A)+z(Rt,w)+_t,Gr=z(Tt,fn)+z(Rt,_i)+_t+14+3*Qt+z(et,Lt)+(2*et[16]+3*et[17]+7*et[18]);if(Fr<=Lr&&Fr<=Gr)return X(At,br,St.subarray(Nr,Nr+Sr));var $t,Rn,wr,pn;if(k(At,br,1+(Gr<Lr)),br+=2,Gr<Lr){$t=g(fn,ni,0),Rn=fn,wr=g(_i,Hi,0),pn=_i;var rn=g(Lt,vt,0);k(At,br,it-257),k(At,br+5,Ge-1),k(At,br+10,Qt-4),br+=14;for(var $e=0;$e<Qt;++$e)k(At,br+3*$e,Lt[l[$e]]);br+=3*Qt;for(var Br=[Ra,Ke],Yn=0;Yn<2;++Yn)for(var xi=Br[Yn],$e=0;$e<xi.length;++$e){var Li=xi[$e]&31;k(At,br,rn[Li]),br+=Lt[Li],Li>15&&(k(At,br,xi[$e]>>>5&127),br+=xi[$e]>>>12)}}else $t=x,Rn=A,wr=T,pn=w;for(var $e=0;$e<Zt;++$e)if(or[$e]>255){var Li=or[$e]>>>18&31;K(At,br,$t[Li+257]),br+=Rn[Li+257],Li>7&&(k(At,br,or[$e]>>>23&31),br+=f[Li]);var Vi=or[$e]&31;K(At,br,wr[Vi]),br+=pn[Vi],Vi>3&&(K(At,br,or[$e]>>>5&8191),br+=d[Vi])}else K(At,br,$t[or[$e]]),br+=Rn[or[$e]];return K(At,br,$t[256]),br+Rn[256]},q=new v([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Y=new E(0),re=function(St,At,cr,or,Tt,Rt){var _t=St.length,Zt=new E(or+_t+5*(1+Math.floor(_t/7e3))+Tt),Nr=Zt.subarray(or,Zt.length-Tt),Sr=0;if(!At||_t<8)for(var br=0;br<=_t;br+=65535){var hn=br+65535;hn<_t?Sr=X(Nr,Sr,St.subarray(br,hn)):(Nr[br]=Rt,Sr=X(Nr,Sr,St.subarray(br,_t)))}else{for(var fn=q[At-1],ni=fn>>>13,mi=fn&8191,_i=(1<<cr)-1,Hi=new p(32768),aa=new p(_i+1),Ra=Math.ceil(cr/3),it=2*Ra,Re=function(Tn){return(St[Tn]^St[Tn+1]<<Ra^St[Tn+2]<<it)&_i},Ke=new v(25e3),Ge=new p(288),et=new p(32),$e=0,st=0,br=0,Lt=0,vt=0,Qt=0;br<_t;++br){var Fr=Re(br),Lr=br&32767,Gr=aa[Fr];if(Hi[Lr]=Gr,aa[Fr]=Lr,vt<=br){var $t=_t-br;if(($e>7e3||Lt>24576)&&$t>423){Sr=W(St,Nr,0,Ke,Ge,et,st,Lt,Qt,br-Qt,Sr),Lt=$e=st=0,Qt=br;for(var Rn=0;Rn<286;++Rn)Ge[Rn]=0;for(var Rn=0;Rn<30;++Rn)et[Rn]=0}var wr=2,pn=0,rn=mi,Br=Lr-Gr&32767;if($t>2&&Fr==Re(br-Br))for(var Yn=Math.min(ni,$t)-1,xi=Math.min(32767,br),Li=Math.min(258,$t);Br<=xi&&--rn&&Lr!=Gr;){if(St[br+wr]==St[br+wr-Br]){for(var Vi=0;Vi<Li&&St[br+Vi]==St[br+Vi-Br];++Vi);if(Vi>wr){if(wr=Vi,pn=Br,Vi>Yn)break;for(var Wi=Math.min(Br,Vi-2),qi=0,Rn=0;Rn<Wi;++Rn){var bi=br-Br+Rn+32768&32767,ba=Hi[bi],Kn=bi-ba+32768&32767;Kn>qi&&(qi=Kn,Gr=bi)}}}Lr=Gr,Gr=Hi[Lr],Br+=Lr-Gr+32768&32767}if(pn){Ke[Lt++]=268435456|s[wr]<<18|e[pn];var un=s[wr]&31,ri=e[pn]&31;st+=f[un]+d[ri],++Ge[257+un],++et[ri],vt=br+wr,++$e}else Ke[Lt++]=St[br],++Ge[St[br]]}}Sr=W(St,Nr,Rt,Ke,Ge,et,st,Lt,Qt,br-Qt,Sr),Rt||(Sr=X(Nr,Sr,Y))}return F(Zt,0,or+D(Sr)+Tt)},ne=function(){for(var qt=new v(256),St=0;St<256;++St){for(var At=St,cr=9;--cr;)At=(At&1&&3988292384)^At>>>1;qt[St]=At}return qt}(),we=function(){var St=4294967295;return{p:function(cr){for(var or=St,Tt=0;Tt<cr.length;++Tt)or=ne[or&255^cr[Tt]]^or>>>8;St=or},d:function(){return St^4294967295}}},ie=function(){var St=1,At=0;return{p:function(or){for(var Tt=St,Rt=At,_t=or.length,Zt=0;Zt!=_t;){for(var Nr=Math.min(Zt+5552,_t);Zt<Nr;++Zt)Tt+=or[Zt],Rt+=Tt;Tt%=65521,Rt%=65521}St=Tt,At=Rt},d:function(){return(St>>>8<<16|(At&255)<<8|At>>>8)+((St&255)<<23)*2}}},me=function(St,At,cr,or,Tt){return re(St,At.level==null?6:At.level,At.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(St.length)))*1.5):12+At.mem,cr,or,!Tt)},_e=function(St,At){var cr={};for(var or in St)cr[or]=St[or];for(var or in At)cr[or]=At[or];return cr},Te=function(St,At,cr){for(var or=St(),Tt=St.toString(),Rt=Tt.slice(Tt.indexOf("[")+1,Tt.lastIndexOf("]")).replace(/ /g,"").split(","),_t=0;_t<or.length;++_t){var Zt=or[_t],Nr=Rt[_t];if(typeof Zt=="function"){At+=";"+Nr+"=";var Sr=Zt.toString();if(Zt.prototype)if(Sr.indexOf("[native code]")!=-1){var br=Sr.indexOf(" ",8)+1;At+=Sr.slice(br,Sr.indexOf("(",br))}else{At+=Sr;for(var hn in Zt.prototype)At+=";"+Nr+".prototype."+hn+"="+Zt.prototype[hn].toString()}else At+=Sr}else cr[Nr]=Zt}return[At,cr]},We=[],Ae=function(St){var At=[];for(var cr in St)(St[cr]instanceof E||St[cr]instanceof p||St[cr]instanceof v)&&At.push((St[cr]=new St[cr].constructor(St[cr])).buffer);return At},je=function(St,At,cr,or){var Tt;if(!We[cr]){for(var Rt="",_t={},Zt=St.length-1,Nr=0;Nr<Zt;++Nr)Tt=Te(St[Nr],Rt,_t),Rt=Tt[0],_t=Tt[1];We[cr]=Te(St[Zt],Rt,_t)}var Sr=_e({},We[cr][1]);return m(We[cr][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+At.toString()+"}",cr,Sr,Ae(Sr),or)},ee=function(){return[E,p,v,f,d,l,a,c,C,O,o,g,S,_,L,D,F,j,Dt,te,xe]},he=function(){return[E,p,v,f,d,l,s,e,x,A,T,w,o,q,Y,g,k,K,Z,B,V,z,X,W,D,F,re,me,er,te]},Ze=function(){return[qe,Pe,Me,we,ne]},oe=function(){return[gt,ht]},Q=function(){return[It,Me,ie]},G=function(){return[nt]},te=function(St){return postMessage(St,[St.buffer])},xe=function(St){return St&&St.size&&new E(St.size)},fe=function(St,At,cr,or,Tt,Rt){var _t=je(cr,or,Tt,function(Zt,Nr){_t.terminate(),Rt(Zt,Nr)});return At.consume||(St=new E(St)),_t.postMessage([St,At],[St.buffer]),function(){_t.terminate()}},Be=function(St){return St.ondata=function(At,cr){return postMessage([At,cr],[At.buffer])},function(At){return St.push(At.data[0],At.data[1])}},Ne=function(St,At,cr,or,Tt){var Rt,_t=je(St,or,Tt,function(Zt,Nr){Zt?(_t.terminate(),At.ondata.call(At,Zt)):(Nr[1]&&_t.terminate(),At.ondata.call(At,Zt,Nr[0],Nr[1]))});_t.postMessage(cr),At.push=function(Zt,Nr){if(Rt)throw"stream finished";if(!At.ondata)throw"no stream handler";_t.postMessage([Zt,Rt=Nr],[Zt.buffer])},At.terminate=function(){_t.terminate()}},de=function(St,At){return St[At]|St[At+1]<<8},ve=function(St,At){return(St[At]|St[At+1]<<8|St[At+2]<<16)+(St[At+3]<<23)*2},Me=function(St,At,cr){for(;cr;++At)St[At]=cr,cr>>>=8},qe=function(St,At){var cr=At.filename;if(St[0]=31,St[1]=139,St[2]=8,St[8]=At.level<2?4:At.level==9?2:0,St[9]=3,At.mtime!=0&&Me(St,4,Math.floor(new Date(At.mtime||Date.now())/1e3)),cr){St[3]=8;for(var or=0;or<=cr.length;++or)St[or+10]=cr.charCodeAt(or)}},gt=function(St){if(St[0]!=31||St[1]!=139||St[2]!=8)throw"invalid gzip data";var At=St[3],cr=10;At&4&&(cr+=St[10]|(St[11]<<8)+2);for(var or=(At>>3&1)+(At>>4&1);or>0;or-=!St[cr++]);return cr+(At&2)},ht=function(St){var At=St.length;return(St[At-4]|St[At-3]<<8|St[At-2]<<16)+2*(St[At-1]<<23)},Pe=function(St){return 10+(St.filename&&St.filename.length+1||0)},It=function(St,At){var cr=At.level,or=cr==0?0:cr<6?1:cr==9?3:2;St[0]=120,St[1]=or<<6|(or?32-2*or:1)},nt=function(St){if((St[0]&15)!=8||St[0]>>>4>7||(St[0]<<8|St[1])%31)throw"invalid zlib data";if(St[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function Nt(qt,St){return!St&&typeof qt=="function"&&(St=qt,qt={}),this.ondata=St,qt}var Bt=function(){function qt(St,At){!At&&typeof St=="function"&&(At=St,St={}),this.ondata=At,this.o=St||{}}return qt.prototype.p=function(St,At){this.ondata(me(St,this.o,0,0,!At),At)},qt.prototype.push=function(St,At){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=At,this.p(St,At||!1)},qt}(),Pt=function(){function qt(St,At){Ne([he,function(){return[Be,Bt]}],this,Nt.call(this,St,At),function(cr){var or=new Bt(cr.data);onmessage=Be(or)},6)}return qt}();function jt(qt,St,At){if(At||(At=St,St={}),typeof At!="function")throw"no callback";return fe(qt,St,[he],function(cr){return te(er(cr.data[0],cr.data[1]))},0,At)}function er(qt,St){return St===void 0&&(St={}),me(qt,St,0,0)}var at=function(){function qt(St){this.s={},this.p=new E(0),this.ondata=St}return qt.prototype.e=function(St){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var At=this.p.length,cr=new E(At+St.length);cr.set(this.p),cr.set(St,At),this.p=cr},qt.prototype.c=function(St){this.d=this.s.i=St||!1;var At=this.s.b,cr=j(this.p,this.o,this.s);this.ondata(F(cr,At,this.s.b),this.d),this.o=F(cr,this.s.b-32768),this.s.b=this.o.length,this.p=F(this.p,this.s.p/8>>0),this.s.p&=7},qt.prototype.push=function(St,At){this.e(St),this.c(At)},qt}(),Ce=function(){function qt(St){this.ondata=St,Ne([ee,function(){return[Be,at]}],this,0,function(){var At=new at;onmessage=Be(At)},7)}return qt}();function ue(qt,St,At){if(At||(At=St,St={}),typeof At!="function")throw"no callback";return fe(qt,St,[ee],function(cr){return te(Dt(cr.data[0],xe(cr.data[1])))},1,At)}function Dt(qt,St){return j(qt,St)}var rt=function(){function qt(St,At){this.c=we(),this.l=0,this.v=1,Bt.call(this,St,At)}return qt.prototype.push=function(St,At){Bt.prototype.push.call(this,St,At)},qt.prototype.p=function(St,At){this.c.p(St),this.l+=St.length;var cr=me(St,this.o,this.v&&Pe(this.o),At&&8,!At);this.v&&(qe(cr,this.o),this.v=0),At&&(Me(cr,cr.length-8,this.c.d()),Me(cr,cr.length-4,this.l)),this.ondata(cr,At)},qt}(),ye=function(){function qt(St,At){Ne([he,Ze,function(){return[Be,Bt,rt]}],this,Nt.call(this,St,At),function(cr){var or=new rt(cr.data);onmessage=Be(or)},8)}return qt}();function Xt(qt,St,At){if(At||(At=St,St={}),typeof At!="function")throw"no callback";return fe(qt,St,[he,Ze,function(){return[pr]}],function(cr){return te(pr(cr.data[0],cr.data[1]))},2,At)}function pr(qt,St){St===void 0&&(St={});var At=we(),cr=qt.length;At.p(qt);var or=me(qt,St,Pe(St),8),Tt=or.length;return qe(or,St),Me(or,Tt-8,At.d()),Me(or,Tt-4,cr),or}var mt=function(){function qt(St){this.v=1,at.call(this,St)}return qt.prototype.push=function(St,At){if(at.prototype.e.call(this,St),this.v){var cr=gt(this.p);if(cr>=this.p.length&&!At)return;this.p=this.p.subarray(cr),this.v=0}if(At){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}at.prototype.c.call(this,At)},qt}(),nr=function(){function qt(St){this.ondata=St,Ne([ee,oe,function(){return[Be,at,mt]}],this,0,function(){var At=new mt;onmessage=Be(At)},9)}return qt}();function yr(qt,St,At){if(At||(At=St,St={}),typeof At!="function")throw"no callback";return fe(qt,St,[ee,oe,function(){return[gn]}],function(cr){return te(gn(cr.data[0]))},3,At)}function gn(qt,St){return j(qt.subarray(gt(qt),-8),St||new E(ht(qt)))}var _r=function(){function qt(St,At){this.c=ie(),this.v=1,Bt.call(this,St,At)}return qt.prototype.push=function(St,At){Bt.prototype.push.call(this,St,At)},qt.prototype.p=function(St,At){this.c.p(St);var cr=me(St,this.o,this.v&&2,At&&4,!At);this.v&&(It(cr,this.o),this.v=0),At&&Me(cr,cr.length-4,this.c.d()),this.ondata(cr,At)},qt}(),ur=function(){function qt(St,At){Ne([he,Q,function(){return[Be,Bt,_r]}],this,Nt.call(this,St,At),function(cr){var or=new _r(cr.data);onmessage=Be(or)},10)}return qt}();function zt(qt,St,At){if(At||(At=St,St={}),typeof At!="function")throw"no callback";return fe(qt,St,[he,Q,function(){return[bt]}],function(cr){return te(bt(cr.data[0],cr.data[1]))},4,At)}function bt(qt,St){St===void 0&&(St={});var At=ie();At.p(qt);var cr=me(qt,St,2,4);return It(cr,St),Me(cr,cr.length-4,At.d()),cr}var ot=function(){function qt(St){this.v=1,at.call(this,St)}return qt.prototype.push=function(St,At){if(at.prototype.e.call(this,St),this.v){if(this.p.length<2&&!At)return;this.p=this.p.subarray(2),this.v=0}if(At){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}at.prototype.c.call(this,At)},qt}(),lr=function(){function qt(St){this.ondata=St,Ne([ee,G,function(){return[Be,at,ot]}],this,0,function(){var At=new ot;onmessage=Be(At)},11)}return qt}();function jr(qt,St,At){if(At||(At=St,St={}),typeof At!="function")throw"no callback";return fe(qt,St,[ee,G,function(){return[Rr]}],function(cr){return te(Rr(cr.data[0],xe(cr.data[1])))},5,At)}function Rr(qt,St){return j((nt(qt),qt.subarray(2,-4)),St)}var xr=function(){function qt(St){this.G=mt,this.I=at,this.Z=ot,this.ondata=St}return qt.prototype.push=function(St,At){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(St,At);else{if(this.p&&this.p.length){var cr=new E(this.p.length+St.length);cr.set(this.p),cr.set(St,this.p.length)}else this.p=St;if(this.p.length>2){var or=this,Tt=function(){or.ondata.apply(or,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(Tt):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(Tt):new this.Z(Tt),this.s.push(this.p,At),this.p=null}}},qt}(),Vn=function(){function qt(St){this.G=nr,this.I=Ce,this.Z=lr,this.ondata=St}return qt.prototype.push=function(St,At){xr.prototype.push.call(this,St,At)},qt}();function bn(qt,St,At){if(At||(At=St,St={}),typeof At!="function")throw"no callback";return qt[0]==31&&qt[1]==139&&qt[2]==8?yr(qt,St,At):(qt[0]&15)!=8||qt[0]>>4>7||(qt[0]<<8|qt[1])%31?ue(qt,St,At):jr(qt,St,At)}function di(qt,St){return qt[0]==31&&qt[1]==139&&qt[2]==8?gn(qt,St):(qt[0]&15)!=8||qt[0]>>4>7||(qt[0]<<8|qt[1])%31?Dt(qt,St):Rr(qt,St)}var lt=function qt(St,At,cr,or){for(var Tt in St){var Rt=St[Tt],_t=At+Tt;Rt instanceof E?cr[_t]=[Rt,or]:Array.isArray(Rt)?cr[_t]=[Rt[0],_e(or,Rt[1])]:qt(Rt,_t+"/",cr,or)}};function ct(qt,St){var At=qt.length;if(!St&&typeof TextEncoder!="undefined")return new TextEncoder().encode(qt);for(var cr=new E(qt.length+(qt.length>>>1)),or=0,Tt=function(Sr){cr[or++]=Sr},Rt=0;Rt<At;++Rt){if(or+5>cr.length){var _t=new E(or+8+(At-Rt<<1));_t.set(cr),cr=_t}var Zt=qt.charCodeAt(Rt);Zt<128||St?Tt(Zt):Zt<2048?(Tt(192|Zt>>>6),Tt(128|Zt&63)):Zt>55295&&Zt<57344?(Zt=65536+(Zt&1023<<10)|qt.charCodeAt(++Rt)&1023,Tt(240|Zt>>>18),Tt(128|Zt>>>12&63),Tt(128|Zt>>>6&63),Tt(128|Zt&63)):(Tt(224|Zt>>>12),Tt(128|Zt>>>6&63),Tt(128|Zt&63))}return F(cr,0,or)}function Le(qt,St){var At="";if(!St&&typeof TextDecoder!="undefined")return new TextDecoder().decode(qt);for(var cr=0;cr<qt.length;){var or=qt[cr++];or<128||St?At+=String.fromCharCode(or):or<224?At+=String.fromCharCode((or&31)<<6|qt[cr++]&63):or<240?At+=String.fromCharCode((or&15)<<12|(qt[cr++]&63)<<6|qt[cr++]&63):(or=((or&15)<<18|(qt[cr++]&63)<<12|(qt[cr++]&63)<<6|qt[cr++]&63)-65536,At+=String.fromCharCode(55296|or>>10,56320|or&1023))}return At}var Ue=function(St,At){return At+30+de(St,At+26)+de(St,At+28)},Ye=function(St,At,cr){var or=de(St,At+28),Tt=Le(St.subarray(At+46,At+46+or),!(de(St,At+8)&2048)),Rt=At+46+or,_t=cr?ft(St,Rt):[ve(St,At+20),ve(St,At+24),ve(St,At+42)],Zt=_t[0],Nr=_t[1],Sr=_t[2];return[de(St,At+10),Zt,Nr,Tt,Rt+de(St,At+30)+de(St,At+32),Sr]},ft=function(St,At){for(;de(St,At)!=1;At+=4+de(St,At+2));return[ve(St,At+12),ve(St,At+4),ve(St,At+20)]},ir=function(St,At,cr,or,Tt,Rt,_t,Zt,Nr,Sr){var br=Rt.length,hn=or.length;Me(St,At,Nr!=null?33639248:67324752),At+=4,Nr!=null&&(St[At]=20,At+=2),St[At]=20,At+=2,St[At++]=Sr==8&&(Zt.level==1?6:Zt.level<6?4:Zt.level==9?2:0),St[At++]=_t&&8,St[At]=Sr,At+=2;var fn=new Date(Zt.mtime||Date.now()),ni=fn.getFullYear()-1980;if(ni<0||ni>119)throw"date not in range 1980-2099";Me(St,At,(ni<<24)*2|fn.getMonth()+1<<21|fn.getDate()<<16|fn.getHours()<<11|fn.getMinutes()<<5|fn.getSeconds()>>>1),At+=4,Me(St,At,cr),Me(St,At+4,hn),Me(St,At+8,Tt),Me(St,At+12,br),At+=16,Nr!=null&&(Me(St,At+=10,Nr),At+=4),St.set(Rt,At),At+=br,Nr==null&&St.set(or,At)},Yt=function(St,At,cr,or,Tt){Me(St,At,101010256),Me(St,At+8,cr),Me(St,At+10,cr),Me(St,At+12,or),Me(St,At+16,Tt)};function rr(qt,St,At){if(At||(At=St,St={}),typeof At!="function")throw"no callback";var cr={};lt(qt,"",cr,St);var or=Object.keys(cr),Tt=or.length,Rt=0,_t=0,Zt=Tt,Nr=new Array(Tt),Sr=[],br=function(){for(var _i=0;_i<Sr.length;++_i)Sr[_i]()},hn=function(){var _i=new E(_t+22),Hi=Rt,aa=_t-Rt;_t=0;for(var Ra=0;Ra<Zt;++Ra){var it=Nr[Ra];try{ir(_i,_t,it.c,it.d,it.m,it.n,it.u,it.p,null,it.t),ir(_i,Rt,it.c,it.d,it.m,it.n,it.u,it.p,_t,it.t),Rt+=46+it.n.length,_t+=30+it.n.length+it.d.length}catch(Re){return At(Re,null)}}Yt(_i,Rt,Nr.length,aa,Hi),At(null,_i)};Tt||hn();for(var fn=function(_i){var Hi=or[_i],aa=cr[Hi],Ra=aa[0],it=aa[1],Re=we(),Ke=Ra.length;Re.p(Ra);var Ge=ct(Hi),et=Ge.length,$e=it.level==0?0:8,st=function(vt,Qt){if(vt)br(),At(vt,null);else{var Fr=Qt.length;Nr[_i]={t:$e,d:Qt,m:Ke,c:Re.d(),u:Hi.length!=Fr,n:Ge,p:it},Rt+=30+et+Fr,_t+=76+2*et+Fr,--Tt||hn()}};if(Ge.length>65535&&st("filename too long",null),!$e)st(null,Ra);else if(Ke<16e4)try{st(null,er(Ra,it))}catch(Lt){st(Lt,null)}else Sr.push(jt(Ra,it,st))},ni=0;ni<Zt;++ni)fn(ni);return br}function Zr(qt,St){St===void 0&&(St={});var At={},cr=[];lt(qt,"",At,St);var or=0,Tt=0;for(var Rt in At){var _t=At[Rt],Zt=_t[0],Nr=_t[1],Sr=Nr.level==0?0:8,br=ct(Rt),hn=br.length;if(br.length>65535)throw"filename too long";var fn=Sr?er(Zt,Nr):Zt,ni=fn.length,mi=we();mi.p(Zt),cr.push({t:Sr,d:fn,m:Zt.length,c:mi.d(),u:Rt.length!=hn,n:br,o:or,p:Nr}),or+=30+hn+ni,Tt+=76+2*hn+ni}for(var _i=new E(Tt+22),Hi=or,aa=Tt-or,Ra=0;Ra<cr.length;++Ra){var it=cr[Ra];ir(_i,it.o,it.c,it.d,it.m,it.n,it.u,it.p,null,it.t),ir(_i,or,it.c,it.d,it.m,it.n,it.u,it.p,it.o,it.t),or+=46+it.n.length}return Yt(_i,or,cr.length,aa,Hi),_i}function nn(qt,St){if(typeof St!="function")throw"no callback";for(var At=[],cr=function(){for(var fn=0;fn<At.length;++fn)At[fn]()},or={},Tt=qt.length-22;ve(qt,Tt)!=101010256;--Tt)if(!Tt||qt.length-Tt>65558){St("invalid zip file",null);return}var Rt=de(qt,Tt+8);Rt||St(null,{});var _t=Rt,Zt=ve(qt,Tt+16),Nr=Zt==4294967295;if(Nr){if(Tt=ve(qt,Tt-12),ve(qt,Tt)!=101075792)throw"invalid zip file";_t=Rt=ve(qt,Tt+32),Zt=ve(qt,Tt+48)}for(var Sr=function(fn){var ni=Ye(qt,Zt,Nr),mi=ni[0],_i=ni[1],Hi=ni[2],aa=ni[3],Ra=ni[4],it=ni[5],Re=Ue(qt,it);Zt=Ra;var Ke=function($e,st){$e?(cr(),St($e,null)):(or[aa]=st,--Rt||St(null,or))};if(!mi)Ke(null,F(qt,Re,Re+_i));else if(mi==8){var Ge=qt.subarray(Re,Re+_i);if(_i<32e4)try{Ke(null,Dt(Ge,new E(Hi)))}catch(et){Ke(et,null)}else At.push(ue(Ge,{size:Hi},Ke))}else Ke("unknown compression type "+mi,null)},br=0;br<_t;++br)Sr(br);return cr}function Pn(qt){for(var St={},At=qt.length-22;ve(qt,At)!=101010256;--At)if(!At||qt.length-At>65558)throw"invalid zip file";var cr=de(qt,At+8);if(!cr)return{};var or=ve(qt,At+16),Tt=or==4294967295;if(Tt){if(At=ve(qt,At-12),ve(qt,At)!=101075792)throw"invalid zip file";cr=ve(qt,At+32),or=ve(qt,At+48)}for(var Rt=0;Rt<cr;++Rt){var _t=Ye(qt,or,Tt),Zt=_t[0],Nr=_t[1],Sr=_t[2],br=_t[3],hn=_t[4],fn=_t[5],ni=Ue(qt,fn);if(or=hn,!Zt)St[br]=F(qt,ni,ni+Nr);else if(Zt==8)St[br]=Dt(qt.subarray(ni,ni+Nr),new E(Sr));else throw"unknown compression type "+Zt}return St}},czTT:function(U,R,i){},d4KN:function(U,R,i){var y=i("ProS"),m=i("bYtY");function E(p,v){m.each(v,function(f){f.update="updateView",y.registerAction(f,function(d,l){var n={};return l.eachComponent({mainType:"series",subType:p,query:d},function(t){t[f.method]&&t[f.method](d.name,d.dataIndex);var a=t.getData();a.each(function(s){var r=a.getName(s);n[r]=t.isSelected(r)||!1})}),{name:d.name,selected:n,seriesId:d.seriesId}})})}U.exports=E},dBmv:function(U,R,i){var y=i("ProS"),m=i("szbU");i("vF/C"),i("qwVE"),i("MHoB"),i("PNag"),i("1u/T"),y.registerPreprocessor(m)},"dF/Y":function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DownloadOutlined";var d=R.a=m.forwardRef(f)},dMvE:function(U,R){var i={linear:function(E){return E},quadraticIn:function(E){return E*E},quadraticOut:function(E){return E*(2-E)},quadraticInOut:function(E){return(E*=2)<1?.5*E*E:-.5*(--E*(E-2)-1)},cubicIn:function(E){return E*E*E},cubicOut:function(E){return--E*E*E+1},cubicInOut:function(E){return(E*=2)<1?.5*E*E*E:.5*((E-=2)*E*E+2)},quarticIn:function(E){return E*E*E*E},quarticOut:function(E){return 1- --E*E*E*E},quarticInOut:function(E){return(E*=2)<1?.5*E*E*E*E:-.5*((E-=2)*E*E*E-2)},quinticIn:function(E){return E*E*E*E*E},quinticOut:function(E){return--E*E*E*E*E+1},quinticInOut:function(E){return(E*=2)<1?.5*E*E*E*E*E:.5*((E-=2)*E*E*E*E+2)},sinusoidalIn:function(E){return 1-Math.cos(E*Math.PI/2)},sinusoidalOut:function(E){return Math.sin(E*Math.PI/2)},sinusoidalInOut:function(E){return .5*(1-Math.cos(Math.PI*E))},exponentialIn:function(E){return E===0?0:Math.pow(1024,E-1)},exponentialOut:function(E){return E===1?1:1-Math.pow(2,-10*E)},exponentialInOut:function(E){return E===0?0:E===1?1:(E*=2)<1?.5*Math.pow(1024,E-1):.5*(-Math.pow(2,-10*(E-1))+2)},circularIn:function(E){return 1-Math.sqrt(1-E*E)},circularOut:function(E){return Math.sqrt(1- --E*E)},circularInOut:function(E){return(E*=2)<1?-.5*(Math.sqrt(1-E*E)-1):.5*(Math.sqrt(1-(E-=2)*E)+1)},elasticIn:function(E){var p,v=.1,f=.4;return E===0?0:E===1?1:(!v||v<1?(v=1,p=f/4):p=f*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(E-=1))*Math.sin((E-p)*(2*Math.PI)/f)))},elasticOut:function(E){var p,v=.1,f=.4;return E===0?0:E===1?1:(!v||v<1?(v=1,p=f/4):p=f*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*E)*Math.sin((E-p)*(2*Math.PI)/f)+1)},elasticInOut:function(E){var p,v=.1,f=.4;return E===0?0:E===1?1:(!v||v<1?(v=1,p=f/4):p=f*Math.asin(1/v)/(2*Math.PI),(E*=2)<1?-.5*(v*Math.pow(2,10*(E-=1))*Math.sin((E-p)*(2*Math.PI)/f)):v*Math.pow(2,-10*(E-=1))*Math.sin((E-p)*(2*Math.PI)/f)*.5+1)},backIn:function(E){var p=1.70158;return E*E*((p+1)*E-p)},backOut:function(E){var p=1.70158;return--E*E*((p+1)*E+p)+1},backInOut:function(E){var p=1.70158*1.525;return(E*=2)<1?.5*(E*E*((p+1)*E-p)):.5*((E-=2)*E*((p+1)*E+p)+2)},bounceIn:function(E){return 1-i.bounceOut(1-E)},bounceOut:function(E){return E<1/2.75?7.5625*E*E:E<2/2.75?7.5625*(E-=1.5/2.75)*E+.75:E<2.5/2.75?7.5625*(E-=2.25/2.75)*E+.9375:7.5625*(E-=2.625/2.75)*E+.984375},bounceInOut:function(E){return E<.5?i.bounceIn(E*2)*.5:i.bounceOut(E*2-1)*.5+.5}},y=i;U.exports=y},diRs:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("q1tI"),p=i.n(E),v=i("3S7+"),f=i("H84U"),d=i("bogI"),l=function(t,a){var s={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&a.indexOf(r)<0&&(s[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,r=Object.getOwnPropertySymbols(t);c<r.length;c++)a.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(t,r[c])&&(s[r[c]]=t[r[c]]);return s},n=E.forwardRef(function(t,a){var s=t.prefixCls,r=t.title,c=t.content,e=l(t,["prefixCls","title","content"]),o=E.useContext(f.b),u=o.getPrefixCls,h=function(w){return E.createElement(E.Fragment,null,r&&E.createElement("div",{className:"".concat(w,"-title")},Object(d.a)(r)),E.createElement("div",{className:"".concat(w,"-inner-content")},Object(d.a)(c)))},g=u("popover",s);return E.createElement(v.a,m()({},e,{prefixCls:g,ref:a,overlay:h(g)}))});n.displayName="Popover",n.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},R.a=n},digP:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={icon:function(E,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:p}},{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:E}}]}},name:"file",theme:"twotone"};R.default=y},dmGj:function(U,R,i){var y=i("DEFe"),m=i("ProS"),E=m.extendComponentView({type:"geo",init:function(p,v){var f=new y(v,!0);this._mapDraw=f,this.group.add(f.group)},render:function(p,v,f,d){if(d&&d.type==="geoToggleSelect"&&d.from===this.uid)return;var l=this._mapDraw;p.get("show")?l.draw(p,v,f,this,d):this._mapDraw.group.removeAll(),this.group.silent=p.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});U.exports=E},dnwI:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("YH21"),p=i("Kagy"),v=i("IUWy"),f=p.toolbox.dataView,d=new Array(60).join("-"),l=" ";function n(x){var C={},T=[],O=[];return x.eachRawSeries(function(S){var _=S.coordinateSystem;if(_&&(_.type==="cartesian2d"||_.type==="polar")){var L=_.getBaseAxis();if(L.type==="category"){var D=L.dim+"_"+L.index;C[D]||(C[D]={categoryAxis:L,valueAxis:_.getOtherAxis(L),series:[]},O.push({axisDim:L.dim,axisIndex:L.index})),C[D].series.push(S)}else T.push(S)}else T.push(S)}),{seriesGroupByCategoryAxis:C,other:T,meta:O}}function t(x){var C=[];return m.each(x,function(T,O){var S=T.categoryAxis,_=T.valueAxis,L=_.dim,D=[" "].concat(m.map(T.series,function(B){return B.name})),F=[S.model.getCategories()];m.each(T.series,function(B){F.push(B.getRawData().mapArray(L,function(V){return V}))});for(var j=[D.join(l)],k=0;k<F[0].length;k++){for(var K=[],Z=0;Z<F.length;Z++)K.push(F[Z][k]);j.push(K.join(l))}C.push(j.join(`
|
|
|
`))}),C.join(`
|
|
|
|
|
|
`+d+`
|
|
|
|
|
|
`)}function a(x){return m.map(x,function(C){var T=C.getRawData(),O=[C.name],S=[];return T.each(T.dimensions,function(){for(var _=arguments.length,L=arguments[_-1],D=T.getName(L),F=0;F<_-1;F++)S[F]=arguments[F];O.push((D?D+l:"")+S.join(l))}),O.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+d+`
|
|
|
|
|
|
`)}function s(x){var C=n(x);return{value:m.filter([t(C.seriesGroupByCategoryAxis),a(C.other)],function(T){return T.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+d+`
|
|
|
|
|
|
`),meta:C.meta}}function r(x){return x.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function c(x){var C=x.slice(0,x.indexOf(`
|
|
|
`));if(C.indexOf(l)>=0)return!0}var e=new RegExp("["+l+"]+","g");function o(x){for(var C=x.split(/\n+/g),T=r(C.shift()).split(e),O=[],S=m.map(T,function(F){return{name:F,data:[]}}),_=0;_<C.length;_++){var L=r(C[_]).split(e);O.push(L.shift());for(var D=0;D<L.length;D++)S[D]&&(S[D].data[_]=L[D])}return{series:S,categories:O}}function u(x){for(var C=x.split(/\n+/g),T=r(C.shift()),O=[],S=0;S<C.length;S++){var _=r(C[S]).split(e),L="",D,F=!1;isNaN(_[0])?(F=!0,L=_[0],_=_.slice(1),O[S]={name:L,value:[]},D=O[S].value):D=O[S]=[];for(var j=0;j<_.length;j++)D.push(+_[j]);D.length===1&&(F?O[S].value=D[0]:O[S]=D[0])}return{name:T,data:O}}function h(x,C){var T=x.split(new RegExp(`
|
|
|
*`+d+`
|
|
|
*`,"g")),O={series:[]};return m.each(T,function(S,_){if(c(S)){var L=o(S),D=C[_],F=D.axisDim+"Axis";D&&(O[F]=O[F]||[],O[F][D.axisIndex]={data:L.categories},O.series=O.series.concat(L.series))}else{var L=u(S);O.series.push(L)}}),O}function g(x){this._dom=null,this.model=x}g.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:m.clone(f.title),lang:m.clone(f.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},g.prototype.onclick=function(x,C){var T=C.getDom(),O=this.model;this._dom&&T.removeChild(this._dom);var S=document.createElement("div");S.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",S.style.backgroundColor=O.get("backgroundColor")||"#fff";var _=document.createElement("h4"),L=O.get("lang")||[];_.innerHTML=L[0]||O.get("title"),_.style.cssText="margin: 10px 20px;",_.style.color=O.get("textColor");var D=document.createElement("div"),F=document.createElement("textarea");D.style.cssText="display:block;width:100%;overflow:auto;";var j=O.get("optionToContent"),k=O.get("contentToOption"),K=s(x);if(typeof j=="function"){var Z=j(C.getOption());typeof Z=="string"?D.innerHTML=Z:m.isDom(Z)&&D.appendChild(Z)}else D.appendChild(F),F.readOnly=O.get("readOnly"),F.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",F.style.color=O.get("textColor"),F.style.borderColor=O.get("textareaBorderColor"),F.style.backgroundColor=O.get("textareaColor"),F.value=K.value;var B=K.meta,V=document.createElement("div");V.style.cssText="position:absolute;bottom:0;left:0;right:0;";var z="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",X=document.createElement("div"),W=document.createElement("div");z+=";background-color:"+O.get("buttonColor"),z+=";color:"+O.get("buttonTextColor");var q=this;function Y(){T.removeChild(S),q._dom=null}E.addEventListener(X,"click",Y),E.addEventListener(W,"click",function(){var re;try{typeof k=="function"?re=k(D,C.getOption()):re=h(F.value,B)}catch(ne){throw Y(),new Error("Data view format error "+ne)}re&&C.dispatchAction({type:"changeDataView",newOption:re}),Y()}),X.innerHTML=L[1],W.innerHTML=L[2],W.style.cssText=z,X.style.cssText=z,!O.get("readOnly")&&V.appendChild(W),V.appendChild(X),S.appendChild(_),S.appendChild(D),S.appendChild(V),D.style.height=T.clientHeight-80+"px",T.appendChild(S),this._dom=S},g.prototype.remove=function(x,C){this._dom&&C.getDom().removeChild(this._dom)},g.prototype.dispose=function(x,C){this.remove(x,C)};function A(x,C){return m.map(x,function(T,O){var S=C&&C[O];return m.isObject(S)&&!m.isArray(S)?(m.isObject(T)&&!m.isArray(T)&&(T=T.value),m.defaults({value:T},S)):T})}v.register("dataView",g),y.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(x,C){var T=[];m.each(x.newOption.series,function(O){var S=C.getSeriesByName(O.name)[0];if(!S)T.push(m.extend({type:"scatter"},O));else{var _=S.get("data");T.push({name:O.name,data:A(O.data,_)})}}),C.mergeOption(m.defaults({series:T},x.newOption))});var w=g;U.exports=w},dqUG:function(U,R,i){var y=i("Gev7"),m=i("bYtY"),E=i("6GrX"),p=i("pzxd"),v=i("gut8"),f=v.ContextCachedBy,d=function(t){y.call(this,t)};d.prototype={constructor:d,type:"text",brush:function(t,a){var s=this.style;this.__dirty&&p.normalizeTextStyle(s,!0),s.fill=s.stroke=s.shadowBlur=s.shadowColor=s.shadowOffsetX=s.shadowOffsetY=null;var r=s.text;if(r!=null&&(r+=""),!p.needDrawText(r,s)){t.__attrCachedBy=f.NONE;return}this.setTransform(t),p.renderText(this,t,r,s,null,a),this.restoreTransform(t)},getBoundingRect:function(){var t=this.style;if(this.__dirty&&p.normalizeTextStyle(t,!0),!this._rect){var a=t.text;a!=null?a+="":a="";var s=E.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(s.x+=t.x||0,s.y+=t.y||0,p.getStroke(t.textStroke,t.textStrokeWidth)){var r=t.textStrokeWidth;s.x-=r/2,s.y-=r/2,s.width+=r,s.height+=r}this._rect=s}return this._rect}},m.inherits(d,y);var l=d;U.exports=l},dt0z:function(U,R,i){var y=i("zoYe");function m(E){return E==null?"":y(E)}U.exports=m},dtIV:function(U,R,i){"use strict";i.r(R),function(y){i.d(R,"AcroForm",function(){return rt}),i.d(R,"AcroFormAppearance",function(){return ue}),i.d(R,"AcroFormButton",function(){return Nt}),i.d(R,"AcroFormCheckBox",function(){return er}),i.d(R,"AcroFormChoiceField",function(){return ht}),i.d(R,"AcroFormComboBox",function(){return It}),i.d(R,"AcroFormEditBox",function(){return nt}),i.d(R,"AcroFormListBox",function(){return Pe}),i.d(R,"AcroFormPasswordField",function(){return Ce}),i.d(R,"AcroFormPushButton",function(){return Bt}),i.d(R,"AcroFormRadioButton",function(){return Pt}),i.d(R,"AcroFormTextField",function(){return at}),i.d(R,"GState",function(){return Z}),i.d(R,"ShadingPattern",function(){return V}),i.d(R,"TilingPattern",function(){return z}),i.d(R,"jsPDF",function(){return X});var m=i("cDf5"),E=i.n(m),p=i("crp1");/** @license
|
|
|
*
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 2.5.0 Built on 2021-12-21T09:44:51.866Z
|
|
|
* CommitID 00000000
|
|
|
*
|
|
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2015-2021 yWorks GmbH, http://www.yworks.com
|
|
|
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
|
|
|
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, https://github.com/willowsystems
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
* the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/var v=function(){return typeof window!="undefined"?window:typeof y!="undefined"?y:typeof self!="undefined"?self:this}();function f(){v.console&&typeof v.console.log=="function"&&v.console.log.apply(v.console,arguments)}var d={log:f,warn:function(Re){v.console&&(typeof v.console.warn=="function"?v.console.warn.apply(v.console,arguments):f.call(null,arguments))},error:function(Re){v.console&&(typeof v.console.error=="function"?v.console.error.apply(v.console,arguments):f(Re))}};function l(it,Re,Ke){var Ge=new XMLHttpRequest;Ge.open("GET",it),Ge.responseType="blob",Ge.onload=function(){r(Ge.response,Re,Ke)},Ge.onerror=function(){d.error("could not download file")},Ge.send()}function n(it){var Re=new XMLHttpRequest;Re.open("HEAD",it,!1);try{Re.send()}catch(Ke){}return Re.status>=200&&Re.status<=299}function t(it){try{it.dispatchEvent(new MouseEvent("click"))}catch(Ke){var Re=document.createEvent("MouseEvents");Re.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),it.dispatchEvent(Re)}}var a,s,r=v.saveAs||((typeof window=="undefined"?"undefined":E()(window))!=="object"||window!==v?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(it,Re,Ke){var Ge=v.URL||v.webkitURL,et=document.createElement("a");Re=Re||it.name||"download",et.download=Re,et.rel="noopener",typeof it=="string"?(et.href=it,et.origin!==location.origin?n(et.href)?l(it,Re,Ke):t(et,et.target="_blank"):t(et)):(et.href=Ge.createObjectURL(it),setTimeout(function(){Ge.revokeObjectURL(et.href)},4e4),setTimeout(function(){t(et)},0))}:"msSaveOrOpenBlob"in navigator?function(it,Re,Ke){if(Re=Re||it.name||"download",typeof it=="string")if(n(it))l(it,Re,Ke);else{var Ge=document.createElement("a");Ge.href=it,Ge.target="_blank",setTimeout(function(){t(Ge)})}else navigator.msSaveOrOpenBlob(function(et,$e){return $e===void 0?$e={autoBom:!1}:E()($e)!=="object"&&(d.warn("Deprecated: Expected third argument to be a object"),$e={autoBom:!$e}),$e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(et.type)?new Blob([String.fromCharCode(65279),et],{type:et.type}):et}(it,Ke),Re)}:function(it,Re,Ke,Ge){if((Ge=Ge||open("","_blank"))&&(Ge.document.title=Ge.document.body.innerText="downloading..."),typeof it=="string")return l(it,Re,Ke);var et=it.type==="application/octet-stream",$e=/constructor/i.test(v.HTMLElement)||v.safari,st=/CriOS\/[\d]+/.test(navigator.userAgent);if((st||et&&$e)&&(typeof FileReader=="undefined"?"undefined":E()(FileReader))==="object"){var Lt=new FileReader;Lt.onloadend=function(){var Fr=Lt.result;Fr=st?Fr:Fr.replace(/^data:[^;]*;/,"data:attachment/file;"),Ge?Ge.location.href=Fr:location=Fr,Ge=null},Lt.readAsDataURL(it)}else{var vt=v.URL||v.webkitURL,Qt=vt.createObjectURL(it);Ge?Ge.location=Qt:location.href=Qt,Ge=null,setTimeout(function(){vt.revokeObjectURL(Qt)},4e4)}});/**
|
|
|
* A class to parse color values
|
|
|
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|
|
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|
|
* @license Use it if you like it
|
|
|
*/function c(it){var Re;it=it||"",this.ok=!1,it.charAt(0)=="#"&&(it=it.substr(1,6)),it={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"}[it=(it=it.replace(/ /g,"")).toLowerCase()]||it;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(vt){return[parseInt(vt[1]),parseInt(vt[2]),parseInt(vt[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(vt){return[parseInt(vt[1],16),parseInt(vt[2],16),parseInt(vt[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(vt){return[parseInt(vt[1]+vt[1],16),parseInt(vt[2]+vt[2],16),parseInt(vt[3]+vt[3],16)]}}],Ge=0;Ge<Ke.length;Ge++){var et=Ke[Ge].re,$e=Ke[Ge].process,st=et.exec(it);st&&(Re=$e(st),this.r=Re[0],this.g=Re[1],this.b=Re[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Lt=this.r.toString(16),vt=this.g.toString(16),Qt=this.b.toString(16);return Lt.length==1&&(Lt="0"+Lt),vt.length==1&&(vt="0"+vt),Qt.length==1&&(Qt="0"+Qt),"#"+Lt+vt+Qt}}/**
|
|
|
* @license
|
|
|
* Joseph Myers does not specify a particular license for his work.
|
|
|
*
|
|
|
* Author: Joseph Myers
|
|
|
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|
|
*
|
|
|
* Modified by: Owen Leong
|
|
|
*/function e(it,Re){var Ke=it[0],Ge=it[1],et=it[2],$e=it[3];Ke=u(Ke,Ge,et,$e,Re[0],7,-680876936),$e=u($e,Ke,Ge,et,Re[1],12,-389564586),et=u(et,$e,Ke,Ge,Re[2],17,606105819),Ge=u(Ge,et,$e,Ke,Re[3],22,-1044525330),Ke=u(Ke,Ge,et,$e,Re[4],7,-176418897),$e=u($e,Ke,Ge,et,Re[5],12,1200080426),et=u(et,$e,Ke,Ge,Re[6],17,-1473231341),Ge=u(Ge,et,$e,Ke,Re[7],22,-45705983),Ke=u(Ke,Ge,et,$e,Re[8],7,1770035416),$e=u($e,Ke,Ge,et,Re[9],12,-1958414417),et=u(et,$e,Ke,Ge,Re[10],17,-42063),Ge=u(Ge,et,$e,Ke,Re[11],22,-1990404162),Ke=u(Ke,Ge,et,$e,Re[12],7,1804603682),$e=u($e,Ke,Ge,et,Re[13],12,-40341101),et=u(et,$e,Ke,Ge,Re[14],17,-1502002290),Ke=h(Ke,Ge=u(Ge,et,$e,Ke,Re[15],22,1236535329),et,$e,Re[1],5,-165796510),$e=h($e,Ke,Ge,et,Re[6],9,-1069501632),et=h(et,$e,Ke,Ge,Re[11],14,643717713),Ge=h(Ge,et,$e,Ke,Re[0],20,-373897302),Ke=h(Ke,Ge,et,$e,Re[5],5,-701558691),$e=h($e,Ke,Ge,et,Re[10],9,38016083),et=h(et,$e,Ke,Ge,Re[15],14,-660478335),Ge=h(Ge,et,$e,Ke,Re[4],20,-405537848),Ke=h(Ke,Ge,et,$e,Re[9],5,568446438),$e=h($e,Ke,Ge,et,Re[14],9,-1019803690),et=h(et,$e,Ke,Ge,Re[3],14,-187363961),Ge=h(Ge,et,$e,Ke,Re[8],20,1163531501),Ke=h(Ke,Ge,et,$e,Re[13],5,-1444681467),$e=h($e,Ke,Ge,et,Re[2],9,-51403784),et=h(et,$e,Ke,Ge,Re[7],14,1735328473),Ke=g(Ke,Ge=h(Ge,et,$e,Ke,Re[12],20,-1926607734),et,$e,Re[5],4,-378558),$e=g($e,Ke,Ge,et,Re[8],11,-2022574463),et=g(et,$e,Ke,Ge,Re[11],16,1839030562),Ge=g(Ge,et,$e,Ke,Re[14],23,-35309556),Ke=g(Ke,Ge,et,$e,Re[1],4,-1530992060),$e=g($e,Ke,Ge,et,Re[4],11,1272893353),et=g(et,$e,Ke,Ge,Re[7],16,-155497632),Ge=g(Ge,et,$e,Ke,Re[10],23,-1094730640),Ke=g(Ke,Ge,et,$e,Re[13],4,681279174),$e=g($e,Ke,Ge,et,Re[0],11,-358537222),et=g(et,$e,Ke,Ge,Re[3],16,-722521979),Ge=g(Ge,et,$e,Ke,Re[6],23,76029189),Ke=g(Ke,Ge,et,$e,Re[9],4,-640364487),$e=g($e,Ke,Ge,et,Re[12],11,-421815835),et=g(et,$e,Ke,Ge,Re[15],16,530742520),Ke=A(Ke,Ge=g(Ge,et,$e,Ke,Re[2],23,-995338651),et,$e,Re[0],6,-198630844),$e=A($e,Ke,Ge,et,Re[7],10,1126891415),et=A(et,$e,Ke,Ge,Re[14],15,-1416354905),Ge=A(Ge,et,$e,Ke,Re[5],21,-57434055),Ke=A(Ke,Ge,et,$e,Re[12],6,1700485571),$e=A($e,Ke,Ge,et,Re[3],10,-1894986606),et=A(et,$e,Ke,Ge,Re[10],15,-1051523),Ge=A(Ge,et,$e,Ke,Re[1],21,-2054922799),Ke=A(Ke,Ge,et,$e,Re[8],6,1873313359),$e=A($e,Ke,Ge,et,Re[15],10,-30611744),et=A(et,$e,Ke,Ge,Re[6],15,-1560198380),Ge=A(Ge,et,$e,Ke,Re[13],21,1309151649),Ke=A(Ke,Ge,et,$e,Re[4],6,-145523070),$e=A($e,Ke,Ge,et,Re[11],10,-1120210379),et=A(et,$e,Ke,Ge,Re[2],15,718787259),Ge=A(Ge,et,$e,Ke,Re[9],21,-343485551),it[0]=L(Ke,it[0]),it[1]=L(Ge,it[1]),it[2]=L(et,it[2]),it[3]=L($e,it[3])}function o(it,Re,Ke,Ge,et,$e){return Re=L(L(Re,it),L(Ge,$e)),L(Re<<et|Re>>>32-et,Ke)}function u(it,Re,Ke,Ge,et,$e,st){return o(Re&Ke|~Re&Ge,it,Re,et,$e,st)}function h(it,Re,Ke,Ge,et,$e,st){return o(Re&Ge|Ke&~Ge,it,Re,et,$e,st)}function g(it,Re,Ke,Ge,et,$e,st){return o(Re^Ke^Ge,it,Re,et,$e,st)}function A(it,Re,Ke,Ge,et,$e,st){return o(Ke^(Re|~Ge),it,Re,et,$e,st)}function w(it){var Re,Ke=it.length,Ge=[1732584193,-271733879,-1732584194,271733878];for(Re=64;Re<=it.length;Re+=64)e(Ge,x(it.substring(Re-64,Re)));it=it.substring(Re-64);var et=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(Re=0;Re<it.length;Re++)et[Re>>2]|=it.charCodeAt(Re)<<(Re%4<<3);if(et[Re>>2]|=128<<(Re%4<<3),Re>55)for(e(Ge,et),Re=0;Re<16;Re++)et[Re]=0;return et[14]=8*Ke,e(Ge,et),Ge}function x(it){var Re,Ke=[];for(Re=0;Re<64;Re+=4)Ke[Re>>2]=it.charCodeAt(Re)+(it.charCodeAt(Re+1)<<8)+(it.charCodeAt(Re+2)<<16)+(it.charCodeAt(Re+3)<<24);return Ke}a=v.atob.bind(v),s=v.btoa.bind(v);var C="0123456789abcdef".split("");function T(it){for(var Re="",Ke=0;Ke<4;Ke++)Re+=C[it>>8*Ke+4&15]+C[it>>8*Ke&15];return Re}function O(it){return String.fromCharCode((255&it)>>0,(65280&it)>>8,(16711680&it)>>16,(4278190080&it)>>24)}function S(it){return w(it).map(O).join("")}var _=function(it){for(var Re=0;Re<it.length;Re++)it[Re]=T(it[Re]);return it.join("")}(w("hello"))!="5d41402abc4b2a76b9719d911017c592";function L(it,Re){if(_){var Ke=(65535&it)+(65535&Re);return(it>>16)+(Re>>16)+(Ke>>16)<<16|65535&Ke}return it+Re&4294967295}/**
|
|
|
* @license
|
|
|
* FPDF is released under a permissive license: there is no usage restriction.
|
|
|
* You may embed it freely in your application (commercial or not), with or
|
|
|
* without modifications.
|
|
|
*
|
|
|
* Reference: http://www.fpdf.org/en/script/script37.php
|
|
|
*/function D(it,Re){var Ke,Ge,et,$e;if(it!==Ke){for(var st=(et=it,$e=1+(256/it.length>>0),new Array($e+1).join(et)),Lt=[],vt=0;vt<256;vt++)Lt[vt]=vt;var Qt=0;for(vt=0;vt<256;vt++){var Fr=Lt[vt];Qt=(Qt+Fr+st.charCodeAt(vt))%256,Lt[vt]=Lt[Qt],Lt[Qt]=Fr}Ke=it,Ge=Lt}else Lt=Ge;var Lr=Re.length,Gr=0,$t=0,Rn="";for(vt=0;vt<Lr;vt++)$t=($t+(Fr=Lt[Gr=(Gr+1)%256]))%256,Lt[Gr]=Lt[$t],Lt[$t]=Fr,st=Lt[(Lt[Gr]+Lt[$t])%256],Rn+=String.fromCharCode(Re.charCodeAt(vt)^st);return Rn}/**
|
|
|
* @license
|
|
|
* Licensed under the MIT License.
|
|
|
* http://opensource.org/licenses/mit-license
|
|
|
* Author: Owen Leong (@owenl131)
|
|
|
* Date: 15 Oct 2020
|
|
|
* References:
|
|
|
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|
|
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|
|
* http://www.fpdf.org/en/script/script37.php
|
|
|
*/var F={print:4,modify:8,copy:16,"annot-forms":32};function j(it,Re,Ke,Ge){this.v=1,this.r=2;var et=192;it.forEach(function(Lt){if(F.perm!==void 0)throw new Error("Invalid permission: "+Lt);et+=F[Lt]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var $e=(Re+this.padding).substr(0,32),st=(Ke+this.padding).substr(0,32);this.O=this.processOwnerPassword($e,st),this.P=-(1+(255^et)),this.encryptionKey=S($e+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Ge)).substr(0,5),this.U=D(this.encryptionKey,this.padding)}function k(it){if(/[^\u0000-\u00ff]/.test(it))throw new Error("Invalid PDF Name Object: "+it+", Only accept ASCII characters.");for(var Re="",Ke=it.length,Ge=0;Ge<Ke;Ge++){var et=it.charCodeAt(Ge);et<33||et===35||et===37||et===40||et===41||et===47||et===60||et===62||et===91||et===93||et===123||et===125||et>126?Re+="#"+("0"+et.toString(16)).slice(-2):Re+=it[Ge]}return Re}function K(it){if(E()(it)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Re={};this.subscribe=function(Ke,Ge,et){if(et=et||!1,typeof Ke!="string"||typeof Ge!="function"||typeof et!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Re.hasOwnProperty(Ke)||(Re[Ke]={});var $e=Math.random().toString(35);return Re[Ke][$e]=[Ge,!!et],$e},this.unsubscribe=function(Ke){for(var Ge in Re)if(Re[Ge][Ke])return delete Re[Ge][Ke],Object.keys(Re[Ge]).length===0&&delete Re[Ge],!0;return!1},this.publish=function(Ke){if(Re.hasOwnProperty(Ke)){var Ge=Array.prototype.slice.call(arguments,1),et=[];for(var $e in Re[Ke]){var st=Re[Ke][$e];try{st[0].apply(it,Ge)}catch(Lt){v.console&&d.error("jsPDF PubSub Error",Lt.message,Lt)}st[1]&&et.push($e)}et.length&&et.forEach(this.unsubscribe)}},this.getTopics=function(){return Re}}function Z(it){if(!(this instanceof Z))return new Z(it);var Re="opacity,stroke-opacity".split(",");for(var Ke in it)it.hasOwnProperty(Ke)&&Re.indexOf(Ke)>=0&&(this[Ke]=it[Ke]);this.id="",this.objectNumber=-1}function B(it,Re){this.gState=it,this.matrix=Re,this.id="",this.objectNumber=-1}function V(it,Re,Ke,Ge,et){if(!(this instanceof V))return new V(it,Re,Ke,Ge,et);this.type=it==="axial"?2:3,this.coords=Re,this.colors=Ke,B.call(this,Ge,et)}function z(it,Re,Ke,Ge,et){if(!(this instanceof z))return new z(it,Re,Ke,Ge,et);this.boundingBox=it,this.xStep=Re,this.yStep=Ke,this.stream="",this.cloneIndex=0,B.call(this,Ge,et)}function X(it){var Re,Ke=typeof arguments[0]=="string"?arguments[0]:"p",Ge=arguments[1],et=arguments[2],$e=arguments[3],st=[],Lt=1,vt=16,Qt="S",Fr=null;E()(it=it||{})==="object"&&(Ke=it.orientation,Ge=it.unit||Ge,et=it.format||et,$e=it.compress||it.compressPdf||$e,(Fr=it.encryption||null)!==null&&(Fr.userPassword=Fr.userPassword||"",Fr.ownerPassword=Fr.ownerPassword||"",Fr.userPermissions=Fr.userPermissions||[]),Lt=typeof it.userUnit=="number"?Math.abs(it.userUnit):1,it.precision!==void 0&&(Re=it.precision),it.floatPrecision!==void 0&&(vt=it.floatPrecision),Qt=it.defaultPathOperation||"S"),st=it.filters||($e===!0?["FlateEncode"]:st),Ge=Ge||"mm",Ke=(""+(Ke||"P")).toLowerCase();var Lr=it.putOnlyUsedFonts||!1,Gr={},$t={internal:{},__private__:{}};$t.__private__.PubSub=K;var Rn="1.3",wr=$t.__private__.getPdfVersion=function(){return Rn};$t.__private__.setPdfVersion=function(Mt){Rn=Mt};var pn={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]};$t.__private__.getPageFormats=function(){return pn};var rn=$t.__private__.getPageFormat=function(Mt){return pn[Mt]};et=et||"a4";var Br={COMPAT:"compat",ADVANCED:"advanced"},Yn=Br.COMPAT;function xi(){this.saveGraphicsState(),mn(new Ai(cn,0,0,-cn,0,Ql()*cn).toString()+" cm"),this.setFontSize(this.getFontSize()/cn),Qt="n",Yn=Br.ADVANCED}function Li(){this.restoreGraphicsState(),Qt="S",Yn=Br.COMPAT}var Vi=$t.__private__.combineFontStyleAndFontWeight=function(Mt,Vt){if(Mt=="bold"&&Vt=="normal"||Mt=="bold"&&Vt==400||Mt=="normal"&&Vt=="italic"||Mt=="bold"&&Vt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Vt&&(Mt=Vt==400||Vt==="normal"?Mt==="italic"?"italic":"normal":Vt!=700&&Vt!=="bold"||Mt!=="normal"?(Vt==700?"bold":Vt)+""+Mt:"bold"),Mt};$t.advancedAPI=function(Mt){var Vt=Yn===Br.COMPAT;return Vt&&xi.call(this),typeof Mt!="function"||(Mt(this),Vt&&Li.call(this)),this},$t.compatAPI=function(Mt){var Vt=Yn===Br.ADVANCED;return Vt&&Li.call(this),typeof Mt!="function"||(Mt(this),Vt&&xi.call(this)),this},$t.isAdvancedAPI=function(){return Yn===Br.ADVANCED};var Wi,qi=function(Vt){if(Yn!==Br.ADVANCED)throw new Error(Vt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},bi=$t.roundToPrecision=$t.__private__.roundToPrecision=function(Mt,Vt){var wn=Re||Vt;if(isNaN(Mt)||isNaN(wn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Mt.toFixed(wn).replace(/0+$/,"")};Wi=$t.hpf=$t.__private__.hpf=typeof vt=="number"?function(Mt){if(isNaN(Mt))throw new Error("Invalid argument passed to jsPDF.hpf");return bi(Mt,vt)}:vt==="smart"?function(Mt){if(isNaN(Mt))throw new Error("Invalid argument passed to jsPDF.hpf");return bi(Mt,Mt>-1&&Mt<1?16:5)}:function(Mt){if(isNaN(Mt))throw new Error("Invalid argument passed to jsPDF.hpf");return bi(Mt,16)};var ba=$t.f2=$t.__private__.f2=function(Mt){if(isNaN(Mt))throw new Error("Invalid argument passed to jsPDF.f2");return bi(Mt,2)},Kn=$t.__private__.f3=function(Mt){if(isNaN(Mt))throw new Error("Invalid argument passed to jsPDF.f3");return bi(Mt,3)},un=$t.scale=$t.__private__.scale=function(Mt){if(isNaN(Mt))throw new Error("Invalid argument passed to jsPDF.scale");return Yn===Br.COMPAT?Mt*cn:Yn===Br.ADVANCED?Mt:void 0},ri=function(Vt){return Yn===Br.COMPAT?Ql()-Vt:Yn===Br.ADVANCED?Vt:void 0},Cn=function(Vt){return un(ri(Vt))};$t.__private__.setPrecision=$t.setPrecision=function(Mt){typeof parseInt(Mt,10)=="number"&&(Re=parseInt(Mt,10))};var ki,Tn="00000000000000000000000000000000",oa=$t.__private__.getFileId=function(){return Tn},Ti=$t.__private__.setFileId=function(Mt){return Tn=Mt!==void 0&&/^[a-fA-F0-9]{32}$/.test(Mt)?Mt.toUpperCase():Tn.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Fr!==null&&(as=new j(Fr.userPermissions,Fr.userPassword,Fr.ownerPassword,Tn)),Tn};$t.setFileId=function(Mt){return Ti(Mt),this},$t.getFileId=function(){return oa()};var li=$t.__private__.convertDateToPDFDate=function(Mt){var Vt=Mt.getTimezoneOffset(),wn=Vt<0?"+":"-",ci=Math.floor(Math.abs(Vt/60)),Et=Math.abs(Vt%60),ce=[wn,Zn(ci),"'",Zn(Et),"'"].join("");return["D:",Mt.getFullYear(),Zn(Mt.getMonth()+1),Zn(Mt.getDate()),Zn(Mt.getHours()),Zn(Mt.getMinutes()),Zn(Mt.getSeconds()),ce].join("")},Ri=$t.__private__.convertPDFDateToDate=function(Mt){var Vt=parseInt(Mt.substr(2,4),10),wn=parseInt(Mt.substr(6,2),10)-1,ci=parseInt(Mt.substr(8,2),10),Et=parseInt(Mt.substr(10,2),10),ce=parseInt(Mt.substr(12,2),10),Se=parseInt(Mt.substr(14,2),10);return new Date(Vt,wn,ci,Et,ce,Se,0)},Da=$t.__private__.setCreationDate=function(Mt){var Vt;if(Mt===void 0&&(Mt=new Date),Mt instanceof Date)Vt=li(Mt);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(Mt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Vt=Mt}return ki=Vt},Un=$t.__private__.getCreationDate=function(Mt){var Vt=ki;return Mt==="jsDate"&&(Vt=Ri(ki)),Vt};$t.setCreationDate=function(Mt){return Da(Mt),this},$t.getCreationDate=function(Mt){return Un(Mt)};var on,Zn=$t.__private__.padd2=function(Mt){return("0"+parseInt(Mt)).slice(-2)},hi=$t.__private__.padd2Hex=function(Mt){return("00"+(Mt=Mt.toString())).substr(Mt.length)},Ni=0,zi=[],ea=[],Fi=0,ia=[],Va=[],fo=!1,ja=ea,Ka=function(){Ni=0,Fi=0,ea=[],zi=[],ia=[],Hr=vn(),mr=vn()};$t.__private__.setCustomOutputDestination=function(Mt){fo=!0,ja=Mt};var Gi=function(Vt){fo||(ja=Vt)};$t.__private__.resetCustomOutputDestination=function(){fo=!1,ja=ea};var mn=$t.__private__.out=function(Mt){return Mt=Mt.toString(),Fi+=Mt.length+1,ja.push(Mt),ja},$i=$t.__private__.write=function(Mt){return mn(arguments.length===1?Mt.toString():Array.prototype.join.call(arguments," "))},io=$t.__private__.getArrayBuffer=function(Mt){for(var Vt=Mt.length,wn=new ArrayBuffer(Vt),ci=new Uint8Array(wn);Vt--;)ci[Vt]=Mt.charCodeAt(Vt);return wn},La=[["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]];$t.__private__.getStandardFonts=function(){return La};var ao=it.fontSize||16;$t.__private__.setFontSize=$t.setFontSize=function(Mt){return ao=Yn===Br.ADVANCED?Mt/cn:Mt,this};var tr,An=$t.__private__.getFontSize=$t.getFontSize=function(){return Yn===Br.COMPAT?ao:ao*cn},_n=it.R2L||!1;$t.__private__.setR2L=$t.setR2L=function(Mt){return _n=Mt,this},$t.__private__.getR2L=$t.getR2L=function(){return _n};var Bn,tt=$t.__private__.setZoomMode=function(Mt){var Vt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(Mt))tr=Mt;else if(isNaN(Mt)){if(Vt.indexOf(Mt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Mt+'" is not recognized.');tr=Mt}else tr=parseInt(Mt,10)};$t.__private__.getZoomMode=function(){return tr};var Ft,Cr=$t.__private__.setPageMode=function(Mt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Mt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Mt+'" is not recognized.');Bn=Mt};$t.__private__.getPageMode=function(){return Bn};var gr=$t.__private__.setLayoutMode=function(Mt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Mt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Mt+'" is not recognized.');Ft=Mt};$t.__private__.getLayoutMode=function(){return Ft},$t.__private__.setDisplayMode=$t.setDisplayMode=function(Mt,Vt,wn){return tt(Mt),gr(Vt),Cr(wn),this};var Yr={title:"",subject:"",author:"",keywords:"",creator:""};$t.__private__.getDocumentProperty=function(Mt){if(Object.keys(Yr).indexOf(Mt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Yr[Mt]},$t.__private__.getDocumentProperties=function(){return Yr},$t.__private__.setDocumentProperties=$t.setProperties=$t.setDocumentProperties=function(Mt){for(var Vt in Yr)Yr.hasOwnProperty(Vt)&&Mt[Vt]&&(Yr[Vt]=Mt[Vt]);return this},$t.__private__.setDocumentProperty=function(Mt,Vt){if(Object.keys(Yr).indexOf(Mt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Yr[Mt]=Vt};var en,cn,In,Xn,ii,fi={},ui={},qn=[],ti={},oi={},Ci={},Mi={},Pi=null,ca=0,sa=[],Na=new K($t),Pa=it.hotfixes||[],ya={},va={},Ca=[],Ai=function Mt(Vt,wn,ci,Et,ce,Se){if(!(this instanceof Mt))return new Mt(Vt,wn,ci,Et,ce,Se);isNaN(Vt)&&(Vt=1),isNaN(wn)&&(wn=0),isNaN(ci)&&(ci=0),isNaN(Et)&&(Et=1),isNaN(ce)&&(ce=0),isNaN(Se)&&(Se=0),this._matrix=[Vt,wn,ci,Et,ce,Se]};Object.defineProperty(Ai.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Vt){this._matrix[0]=Vt}}),Object.defineProperty(Ai.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Vt){this._matrix[1]=Vt}}),Object.defineProperty(Ai.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Vt){this._matrix[2]=Vt}}),Object.defineProperty(Ai.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Vt){this._matrix[3]=Vt}}),Object.defineProperty(Ai.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Vt){this._matrix[4]=Vt}}),Object.defineProperty(Ai.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Vt){this._matrix[5]=Vt}}),Object.defineProperty(Ai.prototype,"a",{get:function(){return this._matrix[0]},set:function(Vt){this._matrix[0]=Vt}}),Object.defineProperty(Ai.prototype,"b",{get:function(){return this._matrix[1]},set:function(Vt){this._matrix[1]=Vt}}),Object.defineProperty(Ai.prototype,"c",{get:function(){return this._matrix[2]},set:function(Vt){this._matrix[2]=Vt}}),Object.defineProperty(Ai.prototype,"d",{get:function(){return this._matrix[3]},set:function(Vt){this._matrix[3]=Vt}}),Object.defineProperty(Ai.prototype,"e",{get:function(){return this._matrix[4]},set:function(Vt){this._matrix[4]=Vt}}),Object.defineProperty(Ai.prototype,"f",{get:function(){return this._matrix[5]},set:function(Vt){this._matrix[5]=Vt}}),Object.defineProperty(Ai.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ai.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ai.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ai.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Ai.prototype.join=function(Mt){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Wi).join(Mt)},Ai.prototype.multiply=function(Mt){var Vt=Mt.sx*this.sx+Mt.shy*this.shx,wn=Mt.sx*this.shy+Mt.shy*this.sy,ci=Mt.shx*this.sx+Mt.sy*this.shx,Et=Mt.shx*this.shy+Mt.sy*this.sy,ce=Mt.tx*this.sx+Mt.ty*this.shx+this.tx,Se=Mt.tx*this.shy+Mt.ty*this.sy+this.ty;return new Ai(Vt,wn,ci,Et,ce,Se)},Ai.prototype.decompose=function(){var Mt=this.sx,Vt=this.shy,wn=this.shx,ci=this.sy,Et=this.tx,ce=this.ty,Se=Math.sqrt(Mt*Mt+Vt*Vt),Oe=(Mt/=Se)*wn+(Vt/=Se)*ci;wn-=Mt*Oe,ci-=Vt*Oe;var Xe=Math.sqrt(wn*wn+ci*ci);return Oe/=Xe,Mt*(ci/=Xe)<Vt*(wn/=Xe)&&(Mt=-Mt,Vt=-Vt,Oe=-Oe,Se=-Se),{scale:new Ai(Se,0,0,Xe,0,0),translate:new Ai(1,0,0,1,Et,ce),rotate:new Ai(Mt,Vt,-Vt,Mt,0,0),skew:new Ai(1,0,Oe,1,0,0)}},Ai.prototype.toString=function(Mt){return this.join(" ")},Ai.prototype.inversed=function(){var Mt=this.sx,Vt=this.shy,wn=this.shx,ci=this.sy,Et=this.tx,ce=this.ty,Se=1/(Mt*ci-Vt*wn),Oe=ci*Se,Xe=-Vt*Se,wt=-wn*Se,Ht=Mt*Se;return new Ai(Oe,Xe,wt,Ht,-Oe*Et-wt*ce,-Xe*Et-Ht*ce)},Ai.prototype.applyToPoint=function(Mt){var Vt=Mt.x*this.sx+Mt.y*this.shx+this.tx,wn=Mt.x*this.shy+Mt.y*this.sy+this.ty;return new Hs(Vt,wn)},Ai.prototype.applyToRectangle=function(Mt){var Vt=this.applyToPoint(Mt),wn=this.applyToPoint(new Hs(Mt.x+Mt.w,Mt.y+Mt.h));return new ol(Vt.x,Vt.y,wn.x-Vt.x,wn.y-Vt.y)},Ai.prototype.clone=function(){var Mt=this.sx,Vt=this.shy,wn=this.shx,ci=this.sy,Et=this.tx,ce=this.ty;return new Ai(Mt,Vt,wn,ci,Et,ce)},$t.Matrix=Ai;var Aa=$t.matrixMult=function(Mt,Vt){return Vt.multiply(Mt)},za=new Ai(1,0,0,1,0,0);$t.unitMatrix=$t.identityMatrix=za;var Or=function(Vt,wn){if(!oi[Vt]){var ci=(wn instanceof V?"Sh":"P")+(Object.keys(ti).length+1).toString(10);wn.id=ci,oi[Vt]=ci,ti[ci]=wn,Na.publish("addPattern",wn)}};$t.ShadingPattern=V,$t.TilingPattern=z,$t.addShadingPattern=function(Mt,Vt){return qi("addShadingPattern()"),Or(Mt,Vt),this},$t.beginTilingPattern=function(Mt){qi("beginTilingPattern()"),Il(Mt.boundingBox[0],Mt.boundingBox[1],Mt.boundingBox[2]-Mt.boundingBox[0],Mt.boundingBox[3]-Mt.boundingBox[1],Mt.matrix)},$t.endTilingPattern=function(Mt,Vt){qi("endTilingPattern()"),Vt.stream=Va[on].join(`
|
|
|
`),Or(Mt,Vt),Na.publish("endTilingPattern",Vt),Ca.pop().restore()};var $r=$t.__private__.newObject=function(){var Mt=vn();return Jr(Mt,!0),Mt},vn=$t.__private__.newObjectDeferred=function(){return Ni++,zi[Ni]=function(){return Fi},Ni},Jr=function(Vt,wn){return wn=typeof wn=="boolean"&&wn,zi[Vt]=Fi,wn&&mn(Vt+" 0 obj"),Vt},ar=$t.__private__.newAdditionalObject=function(){var Mt={objId:vn(),content:""};return ia.push(Mt),Mt},Hr=vn(),mr=vn(),tn=$t.__private__.decodeColorString=function(Mt){var Vt=Mt.split(" ");if(Vt.length!==2||Vt[1]!=="g"&&Vt[1]!=="G")Vt.length===5&&(Vt[4]==="k"||Vt[4]==="K")&&(Vt=[(1-Vt[0])*(1-Vt[3]),(1-Vt[1])*(1-Vt[3]),(1-Vt[2])*(1-Vt[3]),"r"]);else{var wn=parseFloat(Vt[0]);Vt=[wn,wn,wn,"r"]}for(var ci="#",Et=0;Et<3;Et++)ci+=("0"+Math.floor(255*parseFloat(Vt[Et])).toString(16)).slice(-2);return ci},sn=$t.__private__.encodeColorString=function(Mt){var Vt;typeof Mt=="string"&&(Mt={ch1:Mt});var wn=Mt.ch1,ci=Mt.ch2,Et=Mt.ch3,ce=Mt.ch4,Se=Mt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof wn=="string"&&wn.charAt(0)!=="#"){var Oe=new c(wn);if(Oe.ok)wn=Oe.toHex();else if(!/^\d*\.?\d*$/.test(wn))throw new Error('Invalid color "'+wn+'" passed to jsPDF.encodeColorString.')}if(typeof wn=="string"&&/^#[0-9A-Fa-f]{3}$/.test(wn)&&(wn="#"+wn[1]+wn[1]+wn[2]+wn[2]+wn[3]+wn[3]),typeof wn=="string"&&/^#[0-9A-Fa-f]{6}$/.test(wn)){var Xe=parseInt(wn.substr(1),16);wn=Xe>>16&255,ci=Xe>>8&255,Et=255&Xe}if(ci===void 0||ce===void 0&&wn===ci&&ci===Et)if(typeof wn=="string")Vt=wn+" "+Se[0];else switch(Mt.precision){case 2:Vt=ba(wn/255)+" "+Se[0];break;case 3:default:Vt=Kn(wn/255)+" "+Se[0]}else if(ce===void 0||E()(ce)==="object"){if(ce&&!isNaN(ce.a)&&ce.a===0)return Vt=["1.","1.","1.",Se[1]].join(" ");if(typeof wn=="string")Vt=[wn,ci,Et,Se[1]].join(" ");else switch(Mt.precision){case 2:Vt=[ba(wn/255),ba(ci/255),ba(Et/255),Se[1]].join(" ");break;default:case 3:Vt=[Kn(wn/255),Kn(ci/255),Kn(Et/255),Se[1]].join(" ")}}else if(typeof wn=="string")Vt=[wn,ci,Et,ce,Se[2]].join(" ");else switch(Mt.precision){case 2:Vt=[ba(wn),ba(ci),ba(Et),ba(ce),Se[2]].join(" ");break;case 3:default:Vt=[Kn(wn),Kn(ci),Kn(Et),Kn(ce),Se[2]].join(" ")}return Vt},Hn=$t.__private__.getFilters=function(){return st},Ln=$t.__private__.putStream=function(Mt){var Vt=(Mt=Mt||{}).data||"",wn=Mt.filters||Hn(),ci=Mt.alreadyAppliedFilters||[],Et=Mt.addLength1||!1,ce=Vt.length,Se=Mt.objectId,Oe=function(Ji){return Ji};if(Fr!==null&&Se===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Fr!==null&&(Oe=as.encryptor(Se,0));var Xe={};wn===!0&&(wn=["FlateEncode"]);var wt=Mt.additionalKeyValues||[],Ht=(Xe=X.API.processDataByFilters!==void 0?X.API.processDataByFilters(Vt,wn):{data:Vt,reverseChain:[]}).reverseChain+(Array.isArray(ci)?ci.join(" "):ci.toString());if(Xe.data.length!==0&&(wt.push({key:"Length",value:Xe.data.length}),Et===!0&&wt.push({key:"Length1",value:ce})),Ht.length!=0)if(Ht.split("/").length-1==1)wt.push({key:"Filter",value:Ht});else{wt.push({key:"Filter",value:"["+Ht+"]"});for(var Pr=0;Pr<wt.length;Pr+=1)if(wt[Pr].key==="DecodeParms"){for(var Xr=[],yn=0;yn<Xe.reverseChain.split("/").length-1;yn+=1)Xr.push("null");Xr.push(wt[Pr].value),wt[Pr].value="["+Xr.join(" ")+"]"}}mn("<<");for(var Jn=0;Jn<wt.length;Jn++)mn("/"+wt[Jn].key+" "+wt[Jn].value);mn(">>"),Xe.data.length!==0&&(mn("stream"),mn(Oe(Xe.data)),mn("endstream"))},Qn=$t.__private__.putPage=function(Mt){var Vt=Mt.number,wn=Mt.data,ci=Mt.objId,Et=Mt.contentsObjId;Jr(ci,!0),mn("<</Type /Page"),mn("/Parent "+Mt.rootDictionaryObjId+" 0 R"),mn("/Resources "+Mt.resourceDictionaryObjId+" 0 R"),mn("/MediaBox ["+parseFloat(Wi(Mt.mediaBox.bottomLeftX))+" "+parseFloat(Wi(Mt.mediaBox.bottomLeftY))+" "+Wi(Mt.mediaBox.topRightX)+" "+Wi(Mt.mediaBox.topRightY)+"]"),Mt.cropBox!==null&&mn("/CropBox ["+Wi(Mt.cropBox.bottomLeftX)+" "+Wi(Mt.cropBox.bottomLeftY)+" "+Wi(Mt.cropBox.topRightX)+" "+Wi(Mt.cropBox.topRightY)+"]"),Mt.bleedBox!==null&&mn("/BleedBox ["+Wi(Mt.bleedBox.bottomLeftX)+" "+Wi(Mt.bleedBox.bottomLeftY)+" "+Wi(Mt.bleedBox.topRightX)+" "+Wi(Mt.bleedBox.topRightY)+"]"),Mt.trimBox!==null&&mn("/TrimBox ["+Wi(Mt.trimBox.bottomLeftX)+" "+Wi(Mt.trimBox.bottomLeftY)+" "+Wi(Mt.trimBox.topRightX)+" "+Wi(Mt.trimBox.topRightY)+"]"),Mt.artBox!==null&&mn("/ArtBox ["+Wi(Mt.artBox.bottomLeftX)+" "+Wi(Mt.artBox.bottomLeftY)+" "+Wi(Mt.artBox.topRightX)+" "+Wi(Mt.artBox.topRightY)+"]"),typeof Mt.userUnit=="number"&&Mt.userUnit!==1&&mn("/UserUnit "+Mt.userUnit),Na.publish("putPage",{objId:ci,pageContext:sa[Vt],pageNumber:Vt,page:wn}),mn("/Contents "+Et+" 0 R"),mn(">>"),mn("endobj");var ce=wn.join(`
|
|
|
`);return Yn===Br.ADVANCED&&(ce+=`
|
|
|
Q`),Jr(Et,!0),Ln({data:ce,filters:Hn(),objectId:Et}),mn("endobj"),ci},yi=$t.__private__.putPages=function(){var Mt,Vt,wn=[];for(Mt=1;Mt<=ca;Mt++)sa[Mt].objId=vn(),sa[Mt].contentsObjId=vn();for(Mt=1;Mt<=ca;Mt++)wn.push(Qn({number:Mt,data:Va[Mt],objId:sa[Mt].objId,contentsObjId:sa[Mt].contentsObjId,mediaBox:sa[Mt].mediaBox,cropBox:sa[Mt].cropBox,bleedBox:sa[Mt].bleedBox,trimBox:sa[Mt].trimBox,artBox:sa[Mt].artBox,userUnit:sa[Mt].userUnit,rootDictionaryObjId:Hr,resourceDictionaryObjId:mr}));Jr(Hr,!0),mn("<</Type /Pages");var ci="/Kids [";for(Vt=0;Vt<ca;Vt++)ci+=wn[Vt]+" 0 R ";mn(ci+"]"),mn("/Count "+ca),mn(">>"),mn("endobj"),Na.publish("postPutPages")},Di=function(Vt){Na.publish("putFont",{font:Vt,out:mn,newObject:$r,putStream:Ln}),Vt.isAlreadyPutted!==!0&&(Vt.objectNumber=$r(),mn("<<"),mn("/Type /Font"),mn("/BaseFont /"+k(Vt.postScriptName)),mn("/Subtype /Type1"),typeof Vt.encoding=="string"&&mn("/Encoding /"+Vt.encoding),mn("/FirstChar 32"),mn("/LastChar 255"),mn(">>"),mn("endobj"))},Ui=function(){for(var Vt in fi)fi.hasOwnProperty(Vt)&&(Lr===!1||Lr===!0&&Gr.hasOwnProperty(Vt))&&Di(fi[Vt])},ua=function(Vt){Vt.objectNumber=$r();var wn=[];wn.push({key:"Type",value:"/XObject"}),wn.push({key:"Subtype",value:"/Form"}),wn.push({key:"BBox",value:"["+[Wi(Vt.x),Wi(Vt.y),Wi(Vt.x+Vt.width),Wi(Vt.y+Vt.height)].join(" ")+"]"}),wn.push({key:"Matrix",value:"["+Vt.matrix.toString()+"]"});var ci=Vt.pages[1].join(`
|
|
|
`);Ln({data:ci,additionalKeyValues:wn,objectId:Vt.objectNumber}),mn("endobj")},Xa=function(){for(var Vt in ya)ya.hasOwnProperty(Vt)&&ua(ya[Vt])},vo=function(Vt,wn){var ci,Et=[],ce=1/(wn-1);for(ci=0;ci<1;ci+=ce)Et.push(ci);if(Et.push(1),Vt[0].offset!=0){var Se={offset:0,color:Vt[0].color};Vt.unshift(Se)}if(Vt[Vt.length-1].offset!=1){var Oe={offset:1,color:Vt[Vt.length-1].color};Vt.push(Oe)}for(var Xe="",wt=0,Ht=0;Ht<Et.length;Ht++){for(ci=Et[Ht];ci>Vt[wt+1].offset;)wt++;var Pr=Vt[wt].offset,Xr=(ci-Pr)/(Vt[wt+1].offset-Pr),yn=Vt[wt].color,Jn=Vt[wt+1].color;Xe+=hi(Math.round((1-Xr)*yn[0]+Xr*Jn[0]).toString(16))+hi(Math.round((1-Xr)*yn[1]+Xr*Jn[1]).toString(16))+hi(Math.round((1-Xr)*yn[2]+Xr*Jn[2]).toString(16))}return Xe.trim()},wo=function(Vt,wn){wn||(wn=21);var ci=$r(),Et=vo(Vt.colors,wn),ce=[];ce.push({key:"FunctionType",value:"0"}),ce.push({key:"Domain",value:"[0.0 1.0]"}),ce.push({key:"Size",value:"["+wn+"]"}),ce.push({key:"BitsPerSample",value:"8"}),ce.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ce.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ln({data:Et,additionalKeyValues:ce,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:ci}),mn("endobj"),Vt.objectNumber=$r(),mn("<< /ShadingType "+Vt.type),mn("/ColorSpace /DeviceRGB");var Se="/Coords ["+Wi(parseFloat(Vt.coords[0]))+" "+Wi(parseFloat(Vt.coords[1]))+" ";Vt.type===2?Se+=Wi(parseFloat(Vt.coords[2]))+" "+Wi(parseFloat(Vt.coords[3])):Se+=Wi(parseFloat(Vt.coords[2]))+" "+Wi(parseFloat(Vt.coords[3]))+" "+Wi(parseFloat(Vt.coords[4]))+" "+Wi(parseFloat(Vt.coords[5])),mn(Se+="]"),Vt.matrix&&mn("/Matrix ["+Vt.matrix.toString()+"]"),mn("/Function "+ci+" 0 R"),mn("/Extend [true true]"),mn(">>"),mn("endobj")},ho=function(Vt,wn){var ci=vn(),Et=$r();wn.push({resourcesOid:ci,objectOid:Et}),Vt.objectNumber=Et;var ce=[];ce.push({key:"Type",value:"/Pattern"}),ce.push({key:"PatternType",value:"1"}),ce.push({key:"PaintType",value:"1"}),ce.push({key:"TilingType",value:"1"}),ce.push({key:"BBox",value:"["+Vt.boundingBox.map(Wi).join(" ")+"]"}),ce.push({key:"XStep",value:Wi(Vt.xStep)}),ce.push({key:"YStep",value:Wi(Vt.yStep)}),ce.push({key:"Resources",value:ci+" 0 R"}),Vt.matrix&&ce.push({key:"Matrix",value:"["+Vt.matrix.toString()+"]"}),Ln({data:Vt.stream,additionalKeyValues:ce,objectId:Vt.objectNumber}),mn("endobj")},yo=function(Vt){var wn;for(wn in ti)ti.hasOwnProperty(wn)&&(ti[wn]instanceof V?wo(ti[wn]):ti[wn]instanceof z&&ho(ti[wn],Vt))},Ga=function(Vt){for(var wn in Vt.objectNumber=$r(),mn("<<"),Vt)switch(wn){case"opacity":mn("/ca "+ba(Vt[wn]));break;case"stroke-opacity":mn("/CA "+ba(Vt[wn]))}mn(">>"),mn("endobj")},Ma=function(){var Vt;for(Vt in Ci)Ci.hasOwnProperty(Vt)&&Ga(Ci[Vt])},uo=function(){for(var Vt in mn("/XObject <<"),ya)ya.hasOwnProperty(Vt)&&ya[Vt].objectNumber>=0&&mn("/"+Vt+" "+ya[Vt].objectNumber+" 0 R");Na.publish("putXobjectDict"),mn(">>")},so=function(){as.oid=$r(),mn("<<"),mn("/Filter /Standard"),mn("/V "+as.v),mn("/R "+as.r),mn("/U <"+as.toHexString(as.U)+">"),mn("/O <"+as.toHexString(as.O)+">"),mn("/P "+as.P),mn(">>"),mn("endobj")},To=function(){for(var Vt in mn("/Font <<"),fi)fi.hasOwnProperty(Vt)&&(Lr===!1||Lr===!0&&Gr.hasOwnProperty(Vt))&&mn("/"+Vt+" "+fi[Vt].objectNumber+" 0 R");mn(">>")},No=function(){if(Object.keys(ti).length>0){for(var Vt in mn("/Shading <<"),ti)ti.hasOwnProperty(Vt)&&ti[Vt]instanceof V&&ti[Vt].objectNumber>=0&&mn("/"+Vt+" "+ti[Vt].objectNumber+" 0 R");Na.publish("putShadingPatternDict"),mn(">>")}},oo=function(Vt){if(Object.keys(ti).length>0){for(var wn in mn("/Pattern <<"),ti)ti.hasOwnProperty(wn)&&ti[wn]instanceof $t.TilingPattern&&ti[wn].objectNumber>=0&&ti[wn].objectNumber<Vt&&mn("/"+wn+" "+ti[wn].objectNumber+" 0 R");Na.publish("putTilingPatternDict"),mn(">>")}},Ja=function(){if(Object.keys(Ci).length>0){var Vt;for(Vt in mn("/ExtGState <<"),Ci)Ci.hasOwnProperty(Vt)&&Ci[Vt].objectNumber>=0&&mn("/"+Vt+" "+Ci[Vt].objectNumber+" 0 R");Na.publish("putGStateDict"),mn(">>")}},zo=function(Vt){Jr(Vt.resourcesOid,!0),mn("<<"),mn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),To(),No(),oo(Vt.objectOid),Ja(),uo(),mn(">>"),mn("endobj")},Eo=function(){var Vt=[];Ui(),Ma(),Xa(),yo(Vt),Na.publish("putResources"),Vt.forEach(zo),zo({resourcesOid:mr,objectOid:Number.MAX_SAFE_INTEGER}),Na.publish("postPutResources")},Ea=function(){Na.publish("putAdditionalObjects");for(var Vt=0;Vt<ia.length;Vt++){var wn=ia[Vt];Jr(wn.objId,!0),mn(wn.content),mn("endobj")}Na.publish("postPutAdditionalObjects")},jo=function(Vt){ui[Vt.fontName]=ui[Vt.fontName]||{},ui[Vt.fontName][Vt.fontStyle]=Vt.id},Zo=function(Vt,wn,ci,Et,ce){var Se={id:"F"+(Object.keys(fi).length+1).toString(10),postScriptName:Vt,fontName:wn,fontStyle:ci,encoding:Et,isStandardFont:ce||!1,metadata:{}};return Na.publish("addFont",{font:Se,instance:this}),fi[Se.id]=Se,jo(Se),Se.id},Za=function(Vt){for(var wn=0,ci=La.length;wn<ci;wn++){var Et=Zo.call(this,Vt[wn][0],Vt[wn][1],Vt[wn][2],La[wn][3],!0);Lr===!1&&(Gr[Et]=!0);var ce=Vt[wn][0].split("-");jo({id:Et,fontName:ce[0],fontStyle:ce[1]||""})}Na.publish("addFonts",{fonts:fi,dictionary:ui})},Xo=function(Vt){return Vt.foo=function(){try{return Vt.apply(this,arguments)}catch(Et){var wn=Et.stack||"";~wn.indexOf(" at ")&&(wn=wn.split(" at ")[1]);var ci="Error in function "+wn.split(`
|
|
|
`)[0].split("<")[0]+": "+Et.message;if(!v.console)throw new Error(ci);v.console.error(ci,Et),v.alert&&alert(ci)}},Vt.foo.bar=Vt,Vt.foo},qo=function(Vt,wn){var ci,Et,ce,Se,Oe,Xe,wt,Ht,Pr;if(ce=(wn=wn||{}).sourceEncoding||"Unicode",Oe=wn.outputEncoding,(wn.autoencode||Oe)&&fi[en].metadata&&fi[en].metadata[ce]&&fi[en].metadata[ce].encoding&&(Se=fi[en].metadata[ce].encoding,!Oe&&fi[en].encoding&&(Oe=fi[en].encoding),!Oe&&Se.codePages&&(Oe=Se.codePages[0]),typeof Oe=="string"&&(Oe=Se[Oe]),Oe)){for(wt=!1,Xe=[],ci=0,Et=Vt.length;ci<Et;ci++)(Ht=Oe[Vt.charCodeAt(ci)])?Xe.push(String.fromCharCode(Ht)):Xe.push(Vt[ci]),Xe[ci].charCodeAt(0)>>8&&(wt=!0);Vt=Xe.join("")}for(ci=Vt.length;wt===void 0&&ci!==0;)Vt.charCodeAt(ci-1)>>8&&(wt=!0),ci--;if(!wt)return Vt;for(Xe=wn.noBOM?[]:[254,255],ci=0,Et=Vt.length;ci<Et;ci++){if((Pr=(Ht=Vt.charCodeAt(ci))>>8)>>8)throw new Error("Character at position "+ci+" of string '"+Vt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Xe.push(Pr),Xe.push(Ht-(Pr<<8))}return String.fromCharCode.apply(void 0,Xe)},cs=$t.__private__.pdfEscape=$t.pdfEscape=function(Mt,Vt){return qo(Mt,Vt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Oo=$t.__private__.beginPage=function(Mt){Va[++ca]=[],sa[ca]={objId:0,contentsObjId:0,userUnit:Number(Lt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Mt[0]),topRightY:Number(Mt[1])}},lo(ca),Gi(Va[on])},ss=function(Vt,wn){var ci,Et,ce;switch(Ke=wn||Ke,typeof Vt=="string"&&(ci=rn(Vt.toLowerCase()),Array.isArray(ci)&&(Et=ci[0],ce=ci[1])),Array.isArray(Vt)&&(Et=Vt[0]*cn,ce=Vt[1]*cn),isNaN(Et)&&(Et=et[0],ce=et[1]),(Et>14400||ce>14400)&&(d.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Et=Math.min(14400,Et),ce=Math.min(14400,ce)),et=[Et,ce],Ke.substr(0,1)){case"l":ce>Et&&(et=[ce,Et]);break;case"p":Et>ce&&(et=[ce,Et])}Oo(et),hc(Pc),mn(Cl),fs!==0&&mn(fs+" J"),Ks!==0&&mn(Ks+" j"),Na.publish("addPage",{pageNumber:ca})},Io=function(Vt){Vt>0&&Vt<=ca&&(Va.splice(Vt,1),sa.splice(Vt,1),ca--,on>ca&&(on=ca),this.setPage(on))},lo=function(Vt){Vt>0&&Vt<=ca&&(on=Vt)},ks=$t.__private__.getNumberOfPages=$t.getNumberOfPages=function(){return Va.length-1},As=function(Vt,wn,ci){var Et,ce=void 0;return ci=ci||{},Vt=Vt!==void 0?Vt:fi[en].fontName,wn=wn!==void 0?wn:fi[en].fontStyle,Et=Vt.toLowerCase(),ui[Et]!==void 0&&ui[Et][wn]!==void 0?ce=ui[Et][wn]:ui[Vt]!==void 0&&ui[Vt][wn]!==void 0?ce=ui[Vt][wn]:ci.disableWarning===!1&&d.warn("Unable to look up font label for font '"+Vt+"', '"+wn+"'. Refer to getFontList() for available fonts."),ce||ci.noFallback||(ce=ui.times[wn])==null&&(ce=ui.times.normal),ce},ko=$t.__private__.putInfo=function(){var Mt=$r(),Vt=function(Et){return Et};for(var wn in Fr!==null&&(Vt=as.encryptor(Mt,0)),mn("<<"),mn("/Producer ("+cs(Vt("jsPDF "+X.version))+")"),Yr)Yr.hasOwnProperty(wn)&&Yr[wn]&&mn("/"+wn.substr(0,1).toUpperCase()+wn.substr(1)+" ("+cs(Vt(Yr[wn]))+")");mn("/CreationDate ("+cs(Vt(ki))+")"),mn(">>"),mn("endobj")},ys=$t.__private__.putCatalog=function(Mt){var Vt=(Mt=Mt||{}).rootDictionaryObjId||Hr;switch($r(),mn("<<"),mn("/Type /Catalog"),mn("/Pages "+Vt+" 0 R"),tr||(tr="fullwidth"),tr){case"fullwidth":mn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":mn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":mn("/OpenAction [3 0 R /Fit]");break;case"original":mn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var wn=""+tr;wn.substr(wn.length-1)==="%"&&(tr=parseInt(tr)/100),typeof tr=="number"&&mn("/OpenAction [3 0 R /XYZ null null "+ba(tr)+"]")}switch(Ft||(Ft="continuous"),Ft){case"continuous":mn("/PageLayout /OneColumn");break;case"single":mn("/PageLayout /SinglePage");break;case"two":case"twoleft":mn("/PageLayout /TwoColumnLeft");break;case"tworight":mn("/PageLayout /TwoColumnRight")}Bn&&mn("/PageMode /"+Bn),Na.publish("putCatalog"),mn(">>"),mn("endobj")},es=$t.__private__.putTrailer=function(){mn("trailer"),mn("<<"),mn("/Size "+(Ni+1)),mn("/Root "+Ni+" 0 R"),mn("/Info "+(Ni-1)+" 0 R"),Fr!==null&&mn("/Encrypt "+as.oid+" 0 R"),mn("/ID [ <"+Tn+"> <"+Tn+"> ]"),mn(">>")},ts=$t.__private__.putHeader=function(){mn("%PDF-"+Rn),mn("%\xBA\xDF\xAC\xE0")},_s=$t.__private__.putXRef=function(){var Mt="0000000000";mn("xref"),mn("0 "+(Ni+1)),mn("0000000000 65535 f ");for(var Vt=1;Vt<=Ni;Vt++)typeof zi[Vt]=="function"?mn((Mt+zi[Vt]()).slice(-10)+" 00000 n "):zi[Vt]!==void 0?mn((Mt+zi[Vt]).slice(-10)+" 00000 n "):mn("0000000000 00000 n ")},Ts=$t.__private__.buildDocument=function(){Ka(),Gi(ea),Na.publish("buildDocument"),ts(),yi(),Ea(),Eo(),Fr!==null&&so(),ko(),ys();var Mt=Fi;return _s(),es(),mn("startxref"),mn(""+Mt),mn("%%EOF"),Gi(Va[on]),ea.join(`
|
|
|
`)},$s=$t.__private__.getBlob=function(Mt){return new Blob([io(Mt)],{type:"application/pdf"})},Ms=$t.output=$t.__private__.output=Xo(function(Mt,Vt){switch(typeof(Vt=Vt||{})=="string"?Vt={filename:Vt}:Vt.filename=Vt.filename||"generated.pdf",Mt){case void 0:return Ts();case"save":$t.save(Vt.filename);break;case"arraybuffer":return io(Ts());case"blob":return $s(Ts());case"bloburi":case"bloburl":if(v.URL!==void 0&&typeof v.URL.createObjectURL=="function")return v.URL&&v.URL.createObjectURL($s(Ts()))||void 0;d.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var wn="",ci=Ts();try{wn=s(ci)}catch(Pr){wn=s(unescape(encodeURIComponent(ci)))}return"data:application/pdf;filename="+Vt.filename+";base64,"+wn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(v)==="[object Window]"){var Et='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(Vt.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"></script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Vt)+");</script></body></html>",ce=v.open();return ce!==null&&ce.document.write(Et),ce}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(v)==="[object Window]"){var Se='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Vt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Vt.filename+'" width="500px" height="400px" /></body></html>',Oe=v.open();if(Oe!==null){Oe.document.write(Se);var Xe=this;Oe.document.documentElement.querySelector("#pdfViewer").onload=function(){Oe.document.title=Vt.filename,Oe.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Xe.output("bloburl"))}}return Oe}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(v)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var wt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Vt)+'"></iframe></body></html>',Ht=v.open();if(Ht!==null&&(Ht.document.write(wt),Ht.document.title=Vt.filename),Ht||typeof safari=="undefined")return Ht;break;case"datauri":case"dataurl":return v.document.location.href=this.output("datauristring",Vt);default:return null}}),Fs=function(Vt){return Array.isArray(Pa)===!0&&Pa.indexOf(Vt)>-1};switch(Ge){case"pt":cn=1;break;case"mm":cn=72/25.4;break;case"cm":cn=72/2.54;break;case"in":cn=72;break;case"px":cn=Fs("px_scaling")==1?.75:96/72;break;case"pc":case"em":cn=12;break;case"ex":cn=6;break;default:if(typeof Ge!="number")throw new Error("Invalid unit: "+Ge);cn=Ge}var as=null;Da(),Ti();var vs=function(Vt){return Fr!==null?as.encryptor(Vt,0):function(wn){return wn}},Ho=$t.__private__.getPageInfo=$t.getPageInfo=function(Mt){if(isNaN(Mt)||Mt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:sa[Mt].objId,pageNumber:Mt,pageContext:sa[Mt]}},Ns=$t.__private__.getPageInfoByObjId=function(Mt){if(isNaN(Mt)||Mt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Vt in sa)if(sa[Vt].objId===Mt)break;return Ho(Vt)},Us=$t.__private__.getCurrentPageInfo=$t.getCurrentPageInfo=function(){return{objId:sa[on].objId,pageNumber:on,pageContext:sa[on]}};$t.addPage=function(){return ss.apply(this,arguments),this},$t.setPage=function(){return lo.apply(this,arguments),Gi.call(this,Va[on]),this},$t.insertPage=function(Mt){return this.addPage(),this.movePage(on,Mt),this},$t.movePage=function(Mt,Vt){var wn,ci;if(Mt>Vt){wn=Va[Mt],ci=sa[Mt];for(var Et=Mt;Et>Vt;Et--)Va[Et]=Va[Et-1],sa[Et]=sa[Et-1];Va[Vt]=wn,sa[Vt]=ci,this.setPage(Vt)}else if(Mt<Vt){wn=Va[Mt],ci=sa[Mt];for(var ce=Mt;ce<Vt;ce++)Va[ce]=Va[ce+1],sa[ce]=sa[ce+1];Va[Vt]=wn,sa[Vt]=ci,this.setPage(Vt)}return this},$t.deletePage=function(){return Io.apply(this,arguments),this},$t.__private__.text=$t.text=function(Mt,Vt,wn,ci,Et){var ce,Se,Oe,Xe,wt,Ht,Pr,Xr,yn,Jn=(ci=ci||{}).scope||this;if(typeof Mt=="number"&&typeof Vt=="number"&&(typeof wn=="string"||Array.isArray(wn))){var Ei=wn;wn=Vt,Vt=Mt,Mt=Ei}if(arguments[3]instanceof Ai==!1?(Oe=arguments[4],Xe=arguments[5],E()(Pr=arguments[3])==="object"&&Pr!==null||(typeof Oe=="string"&&(Xe=Oe,Oe=null),typeof Pr=="string"&&(Xe=Pr,Pr=null),typeof Pr=="number"&&(Oe=Pr,Pr=null),ci={flags:Pr,angle:Oe,align:Xe})):(qi("The transform parameter of text() with a Matrix value"),yn=Et),isNaN(Vt)||isNaN(wn)||Mt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(Mt.length===0)return Jn;var Ji="",wa=!1,Ya=typeof ci.lineHeightFactor=="number"?ci.lineHeightFactor:Sl,mo=Jn.internal.scaleFactor;function Mo(hl){return hl=hl.split(" ").join(Array(ci.TabLen||9).join(" ")),cs(hl,Pr)}function us(hl){for(var tl,Ll=hl.concat(),Qs=[],xc=Ll.length;xc--;)typeof(tl=Ll.shift())=="string"?Qs.push(tl):Array.isArray(hl)&&(tl.length===1||tl[1]===void 0&&tl[2]===void 0)?Qs.push(tl[0]):Qs.push([tl[0],tl[1],tl[2]]);return Qs}function ws(hl,tl){var Ll;if(typeof hl=="string")Ll=tl(hl)[0];else if(Array.isArray(hl)){for(var Qs,xc,ku=hl.concat(),$c=[],hu=ku.length;hu--;)typeof(Qs=ku.shift())=="string"?$c.push(tl(Qs)[0]):Array.isArray(Qs)&&typeof Qs[0]=="string"&&(xc=tl(Qs[0],Qs[1],Qs[2]),$c.push([xc[0],xc[1],xc[2]]));Ll=$c}return Ll}var Os=!1,il=!0;if(typeof Mt=="string")Os=!0;else if(Array.isArray(Mt)){var Ys=Mt.concat();Se=[];for(var ro,Ws=Ys.length;Ws--;)(typeof(ro=Ys.shift())!="string"||Array.isArray(ro)&&typeof ro[0]!="string")&&(il=!1);Os=il}if(Os===!1)throw new Error('Type of text must be string or Array. "'+Mt+'" is not recognized.');typeof Mt=="string"&&(Mt=Mt.match(/[\r?\n]/)?Mt.split(/\r\n|\r|\n/g):[Mt]);var bs=ao/Jn.internal.scaleFactor,Rl=bs*(Ya-1);switch(ci.baseline){case"bottom":wn-=Rl;break;case"top":wn+=bs-Rl;break;case"hanging":wn+=bs-2*Rl;break;case"middle":wn+=bs/2-Rl}if((Ht=ci.maxWidth||0)>0&&(typeof Mt=="string"?Mt=Jn.splitTextToSize(Mt,Ht):Object.prototype.toString.call(Mt)==="[object Array]"&&(Mt=Mt.reduce(function(hl,tl){return hl.concat(Jn.splitTextToSize(tl,Ht))},[]))),ce={text:Mt,x:Vt,y:wn,options:ci,mutex:{pdfEscape:cs,activeFontKey:en,fonts:fi,activeFontSize:ao}},Na.publish("preProcessText",ce),Mt=ce.text,Oe=(ci=ce.options).angle,yn instanceof Ai==!1&&Oe&&typeof Oe=="number"){Oe*=Math.PI/180,ci.rotationDirection===0&&(Oe=-Oe),Yn===Br.ADVANCED&&(Oe=-Oe);var sl=Math.cos(Oe),el=Math.sin(Oe);yn=new Ai(sl,el,-el,sl,0,0)}else Oe&&Oe instanceof Ai&&(yn=Oe);Yn!==Br.ADVANCED||yn||(yn=za),(wt=ci.charSpace||bc)!==void 0&&(Ji+=Wi(un(wt))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(Xr=ci.horizontalScale)!==void 0&&(Ji+=Wi(100*Xr)+` Tz
|
|
|
`),ci.lang;var dl=-1,$l=ci.renderingMode!==void 0?ci.renderingMode:ci.stroke,zl=Jn.internal.getCurrentPageInfo().pageContext;switch($l){case 0:case!1:case"fill":dl=0;break;case 1:case!0:case"stroke":dl=1;break;case 2:case"fillThenStroke":dl=2;break;case 3:case"invisible":dl=3;break;case 4:case"fillAndAddForClipping":dl=4;break;case 5:case"strokeAndAddPathForClipping":dl=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":dl=6;break;case 7:case"addToPathForClipping":dl=7}var Kl=zl.usedRenderingMode!==void 0?zl.usedRenderingMode:-1;dl!==-1?Ji+=dl+` Tr
|
|
|
`:Kl!==-1&&(Ji+=`0 Tr
|
|
|
`),dl!==-1&&(zl.usedRenderingMode=dl),Xe=ci.align||"left";var ql,Vl=ao*Ya,Nc=Jn.internal.pageSize.getWidth(),Zc=fi[en];wt=ci.charSpace||bc,Ht=ci.maxWidth||0,Pr=Object.assign({autoencode:!0,noBOM:!0},ci.flags);var Zl=[];if(Object.prototype.toString.call(Mt)==="[object Array]"){var ll;Se=us(Mt),Xe!=="left"&&(ql=Se.map(function(hl){return Jn.getStringUnitWidth(hl,{font:Zc,charSpace:wt,fontSize:ao,doKerning:!1})*ao/mo}));var Fl,Mc=0;if(Xe==="right"){Vt-=ql[0],Mt=[],Ws=Se.length;for(var fc=0;fc<Ws;fc++)fc===0?(Fl=Al(Vt),ll=zs(wn)):(Fl=un(Mc-ql[fc]),ll=-Vl),Mt.push([Se[fc],Fl,ll]),Mc=ql[fc]}else if(Xe==="center"){Vt-=ql[0]/2,Mt=[],Ws=Se.length;for(var Cc=0;Cc<Ws;Cc++)Cc===0?(Fl=Al(Vt),ll=zs(wn)):(Fl=un((Mc-ql[Cc])/2),ll=-Vl),Mt.push([Se[Cc],Fl,ll]),Mc=ql[Cc]}else if(Xe==="left"){Mt=[],Ws=Se.length;for(var Oc=0;Oc<Ws;Oc++)Mt.push(Se[Oc])}else{if(Xe!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');Mt=[],Ws=Se.length,Ht=Ht!==0?Ht:Nc;for(var Ac=0;Ac<Ws;Ac++)ll=Ac===0?zs(wn):-Vl,Fl=Ac===0?Al(Vt):0,Ac<Ws-1?Zl.push(Wi(un((Ht-ql[Ac])/(Se[Ac].split(" ").length-1)))):Zl.push(0),Mt.push([Se[Ac],Fl,ll])}}var Wc=typeof ci.R2L=="boolean"?ci.R2L:_n;Wc===!0&&(Mt=ws(Mt,function(hl,tl,Ll){return[hl.split("").reverse().join(""),tl,Ll]})),ce={text:Mt,x:Vt,y:wn,options:ci,mutex:{pdfEscape:cs,activeFontKey:en,fonts:fi,activeFontSize:ao}},Na.publish("postProcessText",ce),Mt=ce.text,wa=ce.mutex.isHex||!1;var Dc=fi[en].encoding;Dc!=="WinAnsiEncoding"&&Dc!=="StandardEncoding"||(Mt=ws(Mt,function(hl,tl,Ll){return[Mo(hl),tl,Ll]})),Se=us(Mt),Mt=[];for(var jc,wc,ps,xo=0,ls=1,Ds=Array.isArray(Se[0])?ls:xo,Nl="",vc=function(tl,Ll,Qs){var xc="";return Qs instanceof Ai?(Qs=typeof ci.angle=="number"?Aa(Qs,new Ai(1,0,0,1,tl,Ll)):Aa(new Ai(1,0,0,1,tl,Ll),Qs),Yn===Br.ADVANCED&&(Qs=Aa(new Ai(1,0,0,-1,0,0),Qs)),xc=Qs.join(" ")+` Tm
|
|
|
`):xc=Wi(tl)+" "+Wi(Ll)+` Td
|
|
|
`,xc},ec=0;ec<Se.length;ec++){switch(Nl="",Ds){case ls:ps=(wa?"<":"(")+Se[ec][0]+(wa?">":")"),jc=parseFloat(Se[ec][1]),wc=parseFloat(Se[ec][2]);break;case xo:ps=(wa?"<":"(")+Se[ec]+(wa?">":")"),jc=Al(Vt),wc=zs(wn)}Zl!==void 0&&Zl[ec]!==void 0&&(Nl=Zl[ec]+` Tw
|
|
|
`),ec===0?Mt.push(Nl+vc(jc,wc,yn)+ps):Ds===xo?Mt.push(Nl+ps):Ds===ls&&Mt.push(Nl+vc(jc,wc,yn)+ps)}Mt=Ds===xo?Mt.join(` Tj
|
|
|
T* `):Mt.join(` Tj
|
|
|
`),Mt+=` Tj
|
|
|
`;var Xl=`BT
|
|
|
/`;return Xl+=en+" "+ao+` Tf
|
|
|
`,Xl+=Wi(ao*Ya)+` TL
|
|
|
`,Xl+=bl+`
|
|
|
`,Xl+=Ji,Xl+=Mt,mn(Xl+="ET"),Gr[en]=!0,Jn};var ka=$t.__private__.clip=$t.clip=function(Mt){return mn(Mt==="evenodd"?"W*":"W"),this};$t.clipEvenOdd=function(){return ka("evenodd")},$t.__private__.discardPath=$t.discardPath=function(){return mn("n"),this};var Go=$t.__private__.isValidStyle=function(Mt){var Vt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(Mt)!==-1&&(Vt=!0),Vt};$t.__private__.setDefaultPathOperation=$t.setDefaultPathOperation=function(Mt){return Go(Mt)&&(Qt=Mt),this};var xl=$t.__private__.getStyle=$t.getStyle=function(Mt){var Vt=Qt;switch(Mt){case"D":case"S":Vt="S";break;case"F":Vt="f";break;case"FD":case"DF":Vt="B";break;case"f":case"f*":case"B":case"B*":Vt=Mt}return Vt},ul=$t.close=function(){return mn("h"),this};$t.stroke=function(){return mn("S"),this},$t.fill=function(Mt){return gl("f",Mt),this},$t.fillEvenOdd=function(Mt){return gl("f*",Mt),this},$t.fillStroke=function(Mt){return gl("B",Mt),this},$t.fillStrokeEvenOdd=function(Mt){return gl("B*",Mt),this};var gl=function(Vt,wn){E()(wn)==="object"?Yo(wn,Vt):mn(Vt)},_l=function(Vt){Vt===null||Yn===Br.ADVANCED&&Vt===void 0||(Vt=xl(Vt),mn(Vt))};function Xs(Mt,Vt,wn,ci,Et){var ce=new z(Vt||this.boundingBox,wn||this.xStep,ci||this.yStep,this.gState,Et||this.matrix);ce.stream=this.stream;var Se=Mt+"$$"+this.cloneIndex+++"$$";return Or(Se,ce),ce}var Yo=function(Vt,wn){var ci=oi[Vt.key],Et=ti[ci];if(Et instanceof V)mn("q"),mn(al(wn)),Et.gState&&$t.setGState(Et.gState),mn(Vt.matrix.toString()+" cm"),mn("/"+ci+" sh"),mn("Q");else if(Et instanceof z){var ce=new Ai(1,0,0,-1,0,Ql());Vt.matrix&&(ce=ce.multiply(Vt.matrix||za),ci=Xs.call(Et,Vt.key,Vt.boundingBox,Vt.xStep,Vt.yStep,ce).id),mn("q"),mn("/Pattern cs"),mn("/"+ci+" scn"),Et.gState&&$t.setGState(Et.gState),mn(wn),mn("Q")}},al=function(Vt){switch(Vt){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},Wl=$t.moveTo=function(Mt,Vt){return mn(Wi(un(Mt))+" "+Wi(Cn(Vt))+" m"),this},Ps=$t.lineTo=function(Mt,Vt){return mn(Wi(un(Mt))+" "+Wi(Cn(Vt))+" l"),this},nl=$t.curveTo=function(Mt,Vt,wn,ci,Et,ce){return mn([Wi(un(Mt)),Wi(Cn(Vt)),Wi(un(wn)),Wi(Cn(ci)),Wi(un(Et)),Wi(Cn(ce)),"c"].join(" ")),this};$t.__private__.line=$t.line=function(Mt,Vt,wn,ci,Et){if(isNaN(Mt)||isNaN(Vt)||isNaN(wn)||isNaN(ci)||!Go(Et))throw new Error("Invalid arguments passed to jsPDF.line");return Yn===Br.COMPAT?this.lines([[wn-Mt,ci-Vt]],Mt,Vt,[1,1],Et||"S"):this.lines([[wn-Mt,ci-Vt]],Mt,Vt,[1,1]).stroke()},$t.__private__.lines=$t.lines=function(Mt,Vt,wn,ci,Et,ce){var Se,Oe,Xe,wt,Ht,Pr,Xr,yn,Jn,Ei,Ji,wa;if(typeof Mt=="number"&&(wa=wn,wn=Vt,Vt=Mt,Mt=wa),ci=ci||[1,1],ce=ce||!1,isNaN(Vt)||isNaN(wn)||!Array.isArray(Mt)||!Array.isArray(ci)||!Go(Et)||typeof ce!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Wl(Vt,wn),Se=ci[0],Oe=ci[1],wt=Mt.length,Ei=Vt,Ji=wn,Xe=0;Xe<wt;Xe++)(Ht=Mt[Xe]).length===2?(Ei=Ht[0]*Se+Ei,Ji=Ht[1]*Oe+Ji,Ps(Ei,Ji)):(Pr=Ht[0]*Se+Ei,Xr=Ht[1]*Oe+Ji,yn=Ht[2]*Se+Ei,Jn=Ht[3]*Oe+Ji,Ei=Ht[4]*Se+Ei,Ji=Ht[5]*Oe+Ji,nl(Pr,Xr,yn,Jn,Ei,Ji));return ce&&ul(),_l(Et),this},$t.path=function(Mt){for(var Vt=0;Vt<Mt.length;Vt++){var wn=Mt[Vt],ci=wn.c;switch(wn.op){case"m":Wl(ci[0],ci[1]);break;case"l":Ps(ci[0],ci[1]);break;case"c":nl.apply(this,ci);break;case"h":ul()}}return this},$t.__private__.rect=$t.rect=function(Mt,Vt,wn,ci,Et){if(isNaN(Mt)||isNaN(Vt)||isNaN(wn)||isNaN(ci)||!Go(Et))throw new Error("Invalid arguments passed to jsPDF.rect");return Yn===Br.COMPAT&&(ci=-ci),mn([Wi(un(Mt)),Wi(Cn(Vt)),Wi(un(wn)),Wi(un(ci)),"re"].join(" ")),_l(Et),this},$t.__private__.triangle=$t.triangle=function(Mt,Vt,wn,ci,Et,ce,Se){if(isNaN(Mt)||isNaN(Vt)||isNaN(wn)||isNaN(ci)||isNaN(Et)||isNaN(ce)||!Go(Se))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[wn-Mt,ci-Vt],[Et-wn,ce-ci],[Mt-Et,Vt-ce]],Mt,Vt,[1,1],Se,!0),this},$t.__private__.roundedRect=$t.roundedRect=function(Mt,Vt,wn,ci,Et,ce,Se){if(isNaN(Mt)||isNaN(Vt)||isNaN(wn)||isNaN(ci)||isNaN(Et)||isNaN(ce)||!Go(Se))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Oe=4/3*(Math.SQRT2-1);return Et=Math.min(Et,.5*wn),ce=Math.min(ce,.5*ci),this.lines([[wn-2*Et,0],[Et*Oe,0,Et,ce-ce*Oe,Et,ce],[0,ci-2*ce],[0,ce*Oe,-Et*Oe,ce,-Et,ce],[2*Et-wn,0],[-Et*Oe,0,-Et,-ce*Oe,-Et,-ce],[0,2*ce-ci],[0,-ce*Oe,Et*Oe,-ce,Et,-ce]],Mt+Et,Vt,[1,1],Se,!0),this},$t.__private__.ellipse=$t.ellipse=function(Mt,Vt,wn,ci,Et){if(isNaN(Mt)||isNaN(Vt)||isNaN(wn)||isNaN(ci)||!Go(Et))throw new Error("Invalid arguments passed to jsPDF.ellipse");var ce=4/3*(Math.SQRT2-1)*wn,Se=4/3*(Math.SQRT2-1)*ci;return Wl(Mt+wn,Vt),nl(Mt+wn,Vt-Se,Mt+ce,Vt-ci,Mt,Vt-ci),nl(Mt-ce,Vt-ci,Mt-wn,Vt-Se,Mt-wn,Vt),nl(Mt-wn,Vt+Se,Mt-ce,Vt+ci,Mt,Vt+ci),nl(Mt+ce,Vt+ci,Mt+wn,Vt+Se,Mt+wn,Vt),_l(Et),this},$t.__private__.circle=$t.circle=function(Mt,Vt,wn,ci){if(isNaN(Mt)||isNaN(Vt)||isNaN(wn)||!Go(ci))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(Mt,Vt,wn,wn,ci)},$t.setFont=function(Mt,Vt,wn){return wn&&(Vt=Vi(Vt,wn)),en=As(Mt,Vt,{disableWarning:!1}),this};var $o=$t.__private__.getFont=$t.getFont=function(){return fi[As.apply($t,arguments)]};$t.__private__.getFontList=$t.getFontList=function(){var Mt,Vt,wn={};for(Mt in ui)if(ui.hasOwnProperty(Mt))for(Vt in wn[Mt]=[],ui[Mt])ui[Mt].hasOwnProperty(Vt)&&wn[Mt].push(Vt);return wn},$t.addFont=function(Mt,Vt,wn,ci,Et){var ce=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&ce.indexOf(arguments[3])!==-1?Et=arguments[3]:arguments[3]&&ce.indexOf(arguments[3])==-1&&(wn=Vi(wn,ci)),Et=Et||"Identity-H",Zo.call(this,Mt,Vt,wn,Et)};var Sl,Pc=it.lineWidth||.200025,nc=$t.__private__.getLineWidth=$t.getLineWidth=function(){return Pc},hc=$t.__private__.setLineWidth=$t.setLineWidth=function(Mt){return Pc=Mt,mn(Wi(un(Mt))+" w"),this};$t.__private__.setLineDash=X.API.setLineDash=X.API.setLineDashPattern=function(Mt,Vt){if(Mt=Mt||[],Vt=Vt||0,isNaN(Vt)||!Array.isArray(Mt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return Mt=Mt.map(function(wn){return Wi(un(wn))}).join(" "),Vt=Wi(un(Vt)),mn("["+Mt+"] "+Vt+" d"),this};var ic=$t.__private__.getLineHeight=$t.getLineHeight=function(){return ao*Sl};$t.__private__.getLineHeight=$t.getLineHeight=function(){return ao*Sl};var Jl=$t.__private__.setLineHeightFactor=$t.setLineHeightFactor=function(Mt){return typeof(Mt=Mt||1.15)=="number"&&(Sl=Mt),this},Yl=$t.__private__.getLineHeightFactor=$t.getLineHeightFactor=function(){return Sl};Jl(it.lineHeight);var Al=$t.__private__.getHorizontalCoordinate=function(Mt){return un(Mt)},zs=$t.__private__.getVerticalCoordinate=function(Mt){return Yn===Br.ADVANCED?Mt:sa[on].mediaBox.topRightY-sa[on].mediaBox.bottomLeftY-un(Mt)},Tl=$t.__private__.getHorizontalCoordinateString=$t.getHorizontalCoordinateString=function(Mt){return Wi(Al(Mt))},vl=$t.__private__.getVerticalCoordinateString=$t.getVerticalCoordinateString=function(Mt){return Wi(zs(Mt))},Cl=it.strokeColor||"0 G";$t.__private__.getStrokeColor=$t.getDrawColor=function(){return tn(Cl)},$t.__private__.setStrokeColor=$t.setDrawColor=function(Mt,Vt,wn,ci){return Cl=sn({ch1:Mt,ch2:Vt,ch3:wn,ch4:ci,pdfColorType:"draw",precision:2}),mn(Cl),this};var dn=it.fillColor||"0 g";$t.__private__.getFillColor=$t.getFillColor=function(){return tn(dn)},$t.__private__.setFillColor=$t.setFillColor=function(Mt,Vt,wn,ci){return dn=sn({ch1:Mt,ch2:Vt,ch3:wn,ch4:ci,pdfColorType:"fill",precision:2}),mn(dn),this};var bl=it.textColor||"0 g",Lc=$t.__private__.getTextColor=$t.getTextColor=function(){return tn(bl)};$t.__private__.setTextColor=$t.setTextColor=function(Mt,Vt,wn,ci){return bl=sn({ch1:Mt,ch2:Vt,ch3:wn,ch4:ci,pdfColorType:"text",precision:3}),this};var bc=it.charSpace,pc=$t.__private__.getCharSpace=$t.getCharSpace=function(){return parseFloat(bc||0)};$t.__private__.setCharSpace=$t.setCharSpace=function(Mt){if(isNaN(Mt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return bc=Mt,this};var fs=0;$t.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},$t.__private__.setLineCap=$t.setLineCap=function(Mt){var Vt=$t.CapJoinStyles[Mt];if(Vt===void 0)throw new Error("Line cap style of '"+Mt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return fs=Vt,mn(Vt+" J"),this};var Ks=0;$t.__private__.setLineJoin=$t.setLineJoin=function(Mt){var Vt=$t.CapJoinStyles[Mt];if(Vt===void 0)throw new Error("Line join style of '"+Mt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ks=Vt,mn(Vt+" j"),this},$t.__private__.setLineMiterLimit=$t.__private__.setMiterLimit=$t.setLineMiterLimit=$t.setMiterLimit=function(Mt){if(Mt=Mt||0,isNaN(Mt))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return mn(Wi(un(Mt))+" M"),this},$t.GState=Z,$t.setGState=function(Mt){(Mt=typeof Mt=="string"?Ci[Mi[Mt]]:Ol(null,Mt)).equals(Pi)||(mn("/"+Mt.id+" gs"),Pi=Mt)};var Ol=function(Vt,wn){if(!Vt||!Mi[Vt]){var ci=!1;for(var Et in Ci)if(Ci.hasOwnProperty(Et)&&Ci[Et].equals(wn)){ci=!0;break}if(ci)wn=Ci[Et];else{var ce="GS"+(Object.keys(Ci).length+1).toString(10);Ci[ce]=wn,wn.id=ce}return Vt&&(Mi[Vt]=wn.id),Na.publish("addGState",wn),wn}};$t.addGState=function(Mt,Vt){return Ol(Mt,Vt),this},$t.saveGraphicsState=function(){return mn("q"),qn.push({key:en,size:ao,color:bl}),this},$t.restoreGraphicsState=function(){mn("Q");var Mt=qn.pop();return en=Mt.key,ao=Mt.size,bl=Mt.color,Pi=null,this},$t.setCurrentTransformationMatrix=function(Mt){return mn(Mt.toString()+" cm"),this},$t.comment=function(Mt){return mn("#"+Mt),this};var Hs=function(Vt,wn){var ci=Vt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ci},set:function(Oe){isNaN(Oe)||(ci=parseFloat(Oe))}});var Et=wn||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Et},set:function(Oe){isNaN(Oe)||(Et=parseFloat(Oe))}});var ce="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return ce},set:function(Oe){ce=Oe.toString()}}),this},ol=function(Vt,wn,ci,Et){Hs.call(this,Vt,wn),this.type="rect";var ce=ci||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return ce},set:function(Xe){isNaN(Xe)||(ce=parseFloat(Xe))}});var Se=Et||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Se},set:function(Xe){isNaN(Xe)||(Se=parseFloat(Xe))}}),this},Gs=function(){this.page=ca,this.currentPage=on,this.pages=Va.slice(0),this.pagesContext=sa.slice(0),this.x=In,this.y=Xn,this.matrix=ii,this.width=yc(on),this.height=Ql(on),this.outputDestination=ja,this.id="",this.objectNumber=-1};Gs.prototype.restore=function(){ca=this.page,on=this.currentPage,sa=this.pagesContext,Va=this.pages,In=this.x,Xn=this.y,ii=this.matrix,ac(on,this.width),gc(on,this.height),ja=this.outputDestination};var Il=function(Vt,wn,ci,Et,ce){Ca.push(new Gs),ca=on=0,Va=[],In=Vt,Xn=wn,ii=ce,Oo([ci,Et])},Uc=function(Vt){if(va[Vt])Ca.pop().restore();else{var wn=new Gs,ci="Xo"+(Object.keys(ya).length+1).toString(10);wn.id=ci,va[Vt]=ci,ya[ci]=wn,Na.publish("addFormObject",wn),Ca.pop().restore()}};for(var mc in $t.beginFormObject=function(Mt,Vt,wn,ci,Et){return Il(Mt,Vt,wn,ci,Et),this},$t.endFormObject=function(Mt){return Uc(Mt),this},$t.doFormObject=function(Mt,Vt){var wn=ya[va[Mt]];return mn("q"),mn(Vt.toString()+" cm"),mn("/"+wn.id+" Do"),mn("Q"),this},$t.getFormObject=function(Mt){var Vt=ya[va[Mt]];return{x:Vt.x,y:Vt.y,width:Vt.width,height:Vt.height,matrix:Vt.matrix}},$t.save=function(Mt,Vt){return Mt=Mt||"generated.pdf",(Vt=Vt||{}).returnPromise=Vt.returnPromise||!1,Vt.returnPromise===!1?(r($s(Ts()),Mt),typeof r.unload=="function"&&v.setTimeout&&setTimeout(r.unload,911),this):new Promise(function(wn,ci){try{var Et=r($s(Ts()),Mt);typeof r.unload=="function"&&v.setTimeout&&setTimeout(r.unload,911),wn(Et)}catch(ce){ci(ce.message)}})},X.API)X.API.hasOwnProperty(mc)&&(mc==="events"&&X.API.events.length?function(Mt,Vt){var wn,ci,Et;for(Et=Vt.length-1;Et!==-1;Et--)wn=Vt[Et][0],ci=Vt[Et][1],Mt.subscribe.apply(Mt,[wn].concat(typeof ci=="function"?[ci]:ci))}(Na,X.API.events):$t[mc]=X.API[mc]);var yc=$t.getPageWidth=function(Mt){return(sa[Mt=Mt||on].mediaBox.topRightX-sa[Mt].mediaBox.bottomLeftX)/cn},ac=$t.setPageWidth=function(Mt,Vt){sa[Mt].mediaBox.topRightX=Vt*cn+sa[Mt].mediaBox.bottomLeftX},Ql=$t.getPageHeight=function(Mt){return(sa[Mt=Mt||on].mediaBox.topRightY-sa[Mt].mediaBox.bottomLeftY)/cn},gc=$t.setPageHeight=function(Mt,Vt){sa[Mt].mediaBox.topRightY=Vt*cn+sa[Mt].mediaBox.bottomLeftY};return $t.internal={pdfEscape:cs,getStyle:xl,getFont:$o,getFontSize:An,getCharSpace:pc,getTextColor:Lc,getLineHeight:ic,getLineHeightFactor:Yl,getLineWidth:nc,write:$i,getHorizontalCoordinate:Al,getVerticalCoordinate:zs,getCoordinateString:Tl,getVerticalCoordinateString:vl,collections:{},newObject:$r,newAdditionalObject:ar,newObjectDeferred:vn,newObjectDeferredBegin:Jr,getFilters:Hn,putStream:Ln,events:Na,scaleFactor:cn,pageSize:{getWidth:function(){return yc(on)},setWidth:function(Vt){ac(on,Vt)},getHeight:function(){return Ql(on)},setHeight:function(Vt){gc(on,Vt)}},encryptionOptions:Fr,encryption:as,getEncryptor:vs,output:Ms,getNumberOfPages:ks,pages:Va,out:mn,f2:ba,f3:Kn,getPageInfo:Ho,getPageInfoByObjId:Ns,getCurrentPageInfo:Us,getPDFVersion:wr,Point:Hs,Rectangle:ol,Matrix:Ai,hasHotfix:Fs},Object.defineProperty($t.internal.pageSize,"width",{get:function(){return yc(on)},set:function(Vt){ac(on,Vt)},enumerable:!0,configurable:!0}),Object.defineProperty($t.internal.pageSize,"height",{get:function(){return Ql(on)},set:function(Vt){gc(on,Vt)},enumerable:!0,configurable:!0}),Za.call($t,La),en="F1",ss(et,Ke),Na.publish("initialized"),$t}j.prototype.lsbFirstWord=function(it){return String.fromCharCode(it>>0&255,it>>8&255,it>>16&255,it>>24&255)},j.prototype.toHexString=function(it){return it.split("").map(function(Re){return("0"+(255&Re.charCodeAt(0)).toString(16)).slice(-2)}).join("")},j.prototype.hexToBytes=function(it){for(var Re=[],Ke=0;Ke<it.length;Ke+=2)Re.push(String.fromCharCode(parseInt(it.substr(Ke,2),16)));return Re.join("")},j.prototype.processOwnerPassword=function(it,Re){return D(S(Re).substr(0,5),it)},j.prototype.encryptor=function(it,Re){var Ke=S(this.encryptionKey+String.fromCharCode(255&it,it>>8&255,it>>16&255,255&Re,Re>>8&255)).substr(0,10);return function(Ge){return D(Ke,Ge)}},Z.prototype.equals=function(it){var Re,Ke="id,objectNumber,equals";if(!it||E()(it)!==E()(this))return!1;var Ge=0;for(Re in this)if(!(Ke.indexOf(Re)>=0)){if(this.hasOwnProperty(Re)&&!it.hasOwnProperty(Re))return!1;if(this[Re]!==it[Re])return!1;Ge++}for(Re in it)it.hasOwnProperty(Re)&&Ke.indexOf(Re)<0&&Ge--;return Ge===0},X.API={events:[]},X.version="2.5.0";var W=X.API,q=1,Y=function(Re){return Re.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},re=function(Re){return Re.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},ne=function(Re){return Re.toFixed(2)},we=function(Re){return Re.toFixed(5)};W.__acroform__={};var ie=function(Re,Ke){Re.prototype=Object.create(Ke.prototype),Re.prototype.constructor=Re},me=function(Re){return Re*q},_e=function(Re){var Ke=new Me,Ge=ue.internal.getHeight(Re)||0,et=ue.internal.getWidth(Re)||0;return Ke.BBox=[0,0,Number(ne(et)),Number(ne(Ge))],Ke},Te=W.__acroform__.setBit=function(it,Re){if(it=it||0,Re=Re||0,isNaN(it)||isNaN(Re))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return it|=1<<Re},We=W.__acroform__.clearBit=function(it,Re){if(it=it||0,Re=Re||0,isNaN(it)||isNaN(Re))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return it&=~(1<<Re)},Ae=W.__acroform__.getBit=function(it,Re){if(isNaN(it)||isNaN(Re))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(it&1<<Re)==0?0:1},je=W.__acroform__.getBitForPdf=function(it,Re){if(isNaN(it)||isNaN(Re))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Ae(it,Re-1)},ee=W.__acroform__.setBitForPdf=function(it,Re){if(isNaN(it)||isNaN(Re))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Te(it,Re-1)},he=W.__acroform__.clearBitForPdf=function(it,Re){if(isNaN(it)||isNaN(Re))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return We(it,Re-1)},Ze=W.__acroform__.calculateCoordinates=function(it,Re){var Ke=Re.internal.getHorizontalCoordinate,Ge=Re.internal.getVerticalCoordinate,et=it[0],$e=it[1],st=it[2],Lt=it[3],vt={};return vt.lowerLeft_X=Ke(et)||0,vt.lowerLeft_Y=Ge($e+Lt)||0,vt.upperRight_X=Ke(et+st)||0,vt.upperRight_Y=Ge($e)||0,[Number(ne(vt.lowerLeft_X)),Number(ne(vt.lowerLeft_Y)),Number(ne(vt.upperRight_X)),Number(ne(vt.upperRight_Y))]},oe=function(Re){if(Re.appearanceStreamContent)return Re.appearanceStreamContent;if(Re.V||Re.DV){var Ke=[],Ge=Re._V||Re.DV,et=Q(Re,Ge),$e=Re.scope.internal.getFont(Re.fontName,Re.fontStyle).id;Ke.push("/Tx BMC"),Ke.push("q"),Ke.push("BT"),Ke.push(Re.scope.__private__.encodeColorString(Re.color)),Ke.push("/"+$e+" "+ne(et.fontSize)+" Tf"),Ke.push("1 0 0 1 0 0 Tm"),Ke.push(et.text),Ke.push("ET"),Ke.push("Q"),Ke.push("EMC");var st=_e(Re);return st.scope=Re.scope,st.stream=Ke.join(`
|
|
|
`),st}},Q=function(Re,Ke){var Ge=Re.fontSize===0?Re.maxFontSize:Re.fontSize,et={text:"",fontSize:""},$e=(Ke=(Ke=Ke.substr(0,1)=="("?Ke.substr(1):Ke).substr(Ke.length-1)==")"?Ke.substr(0,Ke.length-1):Ke).split(" ");$e=Re.multiline?$e.map(function(un){return un.split(`
|
|
|
`)}):$e.map(function(un){return[un]});var st=Ge,Lt=ue.internal.getHeight(Re)||0;Lt=Lt<0?-Lt:Lt;var vt=ue.internal.getWidth(Re)||0;vt=vt<0?-vt:vt;var Qt=function(ri,Cn,ki){if(ri+1<$e.length){var Tn=Cn+" "+$e[ri+1][0];return G(Tn,Re,ki).width<=vt-4}return!1};st++;e:for(;st>0;){Ke="",st--;var Fr,Lr,Gr=G("3",Re,st).height,$t=Re.multiline?Lt-st:(Lt-Gr)/2,Rn=$t+=2,wr=0,pn=0,rn=0;if(st<=0){Ke=`(...) Tj
|
|
|
`,Ke+="% Width of Text: "+G(Ke,Re,st=12).width+", FieldWidth:"+vt+`
|
|
|
`;break}for(var Br="",Yn=0,xi=0;xi<$e.length;xi++)if($e.hasOwnProperty(xi)){var Li=!1;if($e[xi].length!==1&&rn!==$e[xi].length-1){if((Gr+2)*(Yn+2)+2>Lt)continue e;Br+=$e[xi][rn],Li=!0,pn=xi,xi--}else{Br=(Br+=$e[xi][rn]+" ").substr(Br.length-1)==" "?Br.substr(0,Br.length-1):Br;var Vi=parseInt(xi),Wi=Qt(Vi,Br,st),qi=xi>=$e.length-1;if(Wi&&!qi){Br+=" ",rn=0;continue}if(Wi||qi){if(qi)pn=Vi;else if(Re.multiline&&(Gr+2)*(Yn+2)+2>Lt)continue e}else{if(!Re.multiline)continue e;if((Gr+2)*(Yn+2)+2>Lt)continue e;pn=Vi}}for(var bi="",ba=wr;ba<=pn;ba++){var Kn=$e[ba];if(Re.multiline){if(ba===pn){bi+=Kn[rn]+" ",rn=(rn+1)%Kn.length;continue}if(ba===wr){bi+=Kn[Kn.length-1]+" ";continue}}bi+=Kn[0]+" "}switch(bi=bi.substr(bi.length-1)==" "?bi.substr(0,bi.length-1):bi,Lr=G(bi,Re,st).width,Re.textAlign){case"right":Fr=vt-Lr-2;break;case"center":Fr=(vt-Lr)/2;break;case"left":default:Fr=2}Ke+=ne(Fr)+" "+ne(Rn)+` Td
|
|
|
`,Ke+="("+Y(bi)+`) Tj
|
|
|
`,Ke+=-ne(Fr)+` 0 Td
|
|
|
`,Rn=-(st+2),Lr=0,wr=Li?pn:pn+1,Yn++,Br=""}break}return et.text=Ke,et.fontSize=st,et},G=function(Re,Ke,Ge){var et=Ke.scope.internal.getFont(Ke.fontName,Ke.fontStyle),$e=Ke.scope.getStringUnitWidth(Re,{font:et,fontSize:parseFloat(Ge),charSpace:0})*parseFloat(Ge);return{height:Ke.scope.getStringUnitWidth("3",{font:et,fontSize:parseFloat(Ge),charSpace:0})*parseFloat(Ge)*1.5,width:$e}},te={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},xe=function(Re,Ke){var Ge={type:"reference",object:Re};Ke.internal.getPageInfo(Re.page).pageContext.annotations.find(function(et){return et.type===Ge.type&&et.object===Ge.object})===void 0&&Ke.internal.getPageInfo(Re.page).pageContext.annotations.push(Ge)},fe=function(Re,Ke){for(var Ge in Re)if(Re.hasOwnProperty(Ge)){var et=Ge,$e=Re[Ge];Ke.internal.newObjectDeferredBegin($e.objId,!0),E()($e)==="object"&&typeof $e.putStream=="function"&&$e.putStream(),delete Re[et]}},Be=function(Re,Ke){if(Ke.scope=Re,Re.internal!==void 0&&(Re.internal.acroformPlugin===void 0||Re.internal.acroformPlugin.isInitialized===!1)){if(gt.FieldNum=0,Re.internal.acroformPlugin=JSON.parse(JSON.stringify(te)),Re.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");q=Re.internal.scaleFactor,Re.internal.acroformPlugin.acroFormDictionaryRoot=new qe,Re.internal.acroformPlugin.acroFormDictionaryRoot.scope=Re,Re.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Re.internal.events.subscribe("postPutResources",function(){!function(Ge){Ge.internal.events.unsubscribe(Ge.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Ge.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Ge.internal.acroformPlugin.printedOut=!0}(Re)}),Re.internal.events.subscribe("buildDocument",function(){!function(Ge){Ge.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var et=Ge.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var $e in et)if(et.hasOwnProperty($e)){var st=et[$e];st.objId=void 0,st.hasAnnotation&&xe(st,Ge)}}(Re)}),Re.internal.events.subscribe("putCatalog",function(){!function(Ge){if(Ge.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Ge.internal.write("/AcroForm "+Ge.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(Re)}),Re.internal.events.subscribe("postPutPages",function(Ge){!function(et,$e){var st=!et;for(var Lt in et||($e.internal.newObjectDeferredBegin($e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),$e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),et=et||$e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(et.hasOwnProperty(Lt)){var vt=et[Lt],Qt=[],Fr=vt.Rect;if(vt.Rect&&(vt.Rect=Ze(vt.Rect,$e)),$e.internal.newObjectDeferredBegin(vt.objId,!0),vt.DA=ue.createDefaultAppearanceStream(vt),E()(vt)==="object"&&typeof vt.getKeyValueListForStream=="function"&&(Qt=vt.getKeyValueListForStream()),vt.Rect=Fr,vt.hasAppearanceStream&&!vt.appearanceStreamContent){var Lr=oe(vt);Qt.push({key:"AP",value:"<</N "+Lr+">>"}),$e.internal.acroformPlugin.xForms.push(Lr)}if(vt.appearanceStreamContent){var Gr="";for(var $t in vt.appearanceStreamContent)if(vt.appearanceStreamContent.hasOwnProperty($t)){var Rn=vt.appearanceStreamContent[$t];if(Gr+="/"+$t+" ",Gr+="<<",Object.keys(Rn).length>=1||Array.isArray(Rn)){for(var Lt in Rn)if(Rn.hasOwnProperty(Lt)){var wr=Rn[Lt];typeof wr=="function"&&(wr=wr.call($e,vt)),Gr+="/"+Lt+" "+wr+" ",$e.internal.acroformPlugin.xForms.indexOf(wr)>=0||$e.internal.acroformPlugin.xForms.push(wr)}}else typeof(wr=Rn)=="function"&&(wr=wr.call($e,vt)),Gr+="/"+Lt+" "+wr,$e.internal.acroformPlugin.xForms.indexOf(wr)>=0||$e.internal.acroformPlugin.xForms.push(wr);Gr+=">>"}Qt.push({key:"AP",value:`<<
|
|
|
`+Gr+">>"})}$e.internal.putStream({additionalKeyValues:Qt,objectId:vt.objId}),$e.internal.out("endobj")}st&&fe($e.internal.acroformPlugin.xForms,$e)}(Ge,Re)}),Re.internal.acroformPlugin.isInitialized=!0}},Ne=W.__acroform__.arrayToPdfArray=function(it,Re,Ke){var Ge=function(Lt){return Lt};if(Array.isArray(it)){for(var et="[",$e=0;$e<it.length;$e++)switch($e!==0&&(et+=" "),E()(it[$e])){case"boolean":case"number":case"object":et+=it[$e].toString();break;case"string":it[$e].substr(0,1)!=="/"?(Re!==void 0&&Ke&&(Ge=Ke.internal.getEncryptor(Re)),et+="("+Y(Ge(it[$e].toString()))+")"):et+=it[$e].toString()}return et+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},de=function(Re,Ke,Ge){var et=function(st){return st};return Ke!==void 0&&Ge&&(et=Ge.internal.getEncryptor(Ke)),(Re=Re||"").toString(),Re="("+Y(et(Re))+")"},ve=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(Ke){this._objId=Ke}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ve.prototype.toString=function(){return this.objId+" 0 R"},ve.prototype.putStream=function(){var it=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:it,objectId:this.objId}),this.scope.internal.out("endobj")},ve.prototype.getKeyValueListForStream=function(){var it=[],Re=Object.getOwnPropertyNames(this).filter(function($e){return $e!="content"&&$e!="appearanceStreamContent"&&$e!="scope"&&$e!="objId"&&$e.substring(0,1)!="_"});for(var Ke in Re)if(Object.getOwnPropertyDescriptor(this,Re[Ke]).configurable===!1){var Ge=Re[Ke],et=this[Ge];et&&(Array.isArray(et)?it.push({key:Ge,value:Ne(et,this.objId,this.scope)}):et instanceof ve?(et.scope=this.scope,it.push({key:Ge,value:et.objId+" 0 R"})):typeof et!="function"&&it.push({key:Ge,value:et}))}return it};var Me=function(){ve.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var Re,Ke=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Ke},set:function(et){Ke=et}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(et){Re=et.trim()},get:function(){return Re||null}})};ie(Me,ve);var qe=function(){ve.call(this);var Re,Ke=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Ke.length>0?Ke:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Ke}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(Re){var et=function(st){return st};return this.scope&&(et=this.scope.internal.getEncryptor(this.objId)),"("+Y(et(Re))+")"}},set:function(et){Re=et}})};ie(qe,ve);var gt=function it(){ve.call(this);var Re=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return Re},set:function(Br){if(isNaN(Br))throw new Error('Invalid value "'+Br+'" for attribute F supplied.');Re=Br}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(Re,3))},set:function(Br){Boolean(Br)===!0?this.F=ee(Re,3):this.F=he(Re,3)}});var Ke=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Ke},set:function(Br){if(isNaN(Br))throw new Error('Invalid value "'+Br+'" for attribute Ff supplied.');Ke=Br}});var Ge=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Ge.length!==0)return Ge},set:function(Br){Ge=Br!==void 0?Br:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Ge||isNaN(Ge[0])?0:Ge[0]},set:function(Br){Ge[0]=Br}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!Ge||isNaN(Ge[1])?0:Ge[1]},set:function(Br){Ge[1]=Br}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!Ge||isNaN(Ge[2])?0:Ge[2]},set:function(Br){Ge[2]=Br}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!Ge||isNaN(Ge[3])?0:Ge[3]},set:function(Br){Ge[3]=Br}});var et="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return et},set:function(Br){switch(Br){case"/Btn":case"/Tx":case"/Ch":case"/Sig":et=Br;break;default:throw new Error('Invalid value "'+Br+'" for attribute FT supplied.')}}});var $e=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!$e||$e.length<1){if(this instanceof jt)return;$e="FieldObject"+it.FieldNum++}var Br=function(xi){return xi};return this.scope&&(Br=this.scope.internal.getEncryptor(this.objId)),"("+Y(Br($e))+")"},set:function(Br){$e=Br.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return $e},set:function(Br){$e=Br}});var st="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return st},set:function(Br){st=Br}});var Lt="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Lt},set:function(Br){Lt=Br}});var vt=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return vt},set:function(Br){vt=Br}});var Qt=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Qt===void 0?50/q:Qt},set:function(Br){Qt=Br}});var Fr="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Fr},set:function(Br){Fr=Br}});var Lr="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Lr||this instanceof jt||this instanceof at))return de(Lr,this.objId,this.scope)},set:function(Br){Br=Br.toString(),Lr=Br}});var Gr=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Gr)return this instanceof Nt==!1?de(Gr,this.objId,this.scope):Gr},set:function(Br){Br=Br.toString(),Gr=this instanceof Nt==!1?Br.substr(0,1)==="("?re(Br.substr(1,Br.length-2)):re(Br):Br}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Nt==!0?re(Gr.substr(1,Gr.length-1)):Gr},set:function(Br){Br=Br.toString(),Gr=this instanceof Nt==!0?"/"+Br:Br}});var $t=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if($t)return $t},set:function(Br){this.V=Br}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if($t)return this instanceof Nt==!1?de($t,this.objId,this.scope):$t},set:function(Br){Br=Br.toString(),$t=this instanceof Nt==!1?Br.substr(0,1)==="("?re(Br.substr(1,Br.length-2)):re(Br):Br}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Nt==!0?re($t.substr(1,$t.length-1)):$t},set:function(Br){Br=Br.toString(),$t=this instanceof Nt==!0?"/"+Br:Br}}),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 Rn,wr=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return wr},set:function(Br){Br=Boolean(Br),wr=Br}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(Rn)return Rn},set:function(Br){Rn=Br}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,1))},set:function(Br){Boolean(Br)===!0?this.Ff=ee(this.Ff,1):this.Ff=he(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,2))},set:function(Br){Boolean(Br)===!0?this.Ff=ee(this.Ff,2):this.Ff=he(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,3))},set:function(Br){Boolean(Br)===!0?this.Ff=ee(this.Ff,3):this.Ff=he(this.Ff,3)}});var pn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(pn!==null)return pn},set:function(Br){if([0,1,2].indexOf(Br)===-1)throw new Error('Invalid value "'+Br+'" for attribute Q supplied.');pn=Br}}),Object.defineProperty(this,"textAlign",{get:function(){var Br;switch(pn){case 0:default:Br="left";break;case 1:Br="center";break;case 2:Br="right"}return Br},configurable:!0,enumerable:!0,set:function(Br){switch(Br){case"right":case 2:pn=2;break;case"center":case 1:pn=1;break;case"left":case 0:default:pn=0}}})};ie(gt,ve);var ht=function(){gt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var Re=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return Re},set:function(et){Re=et}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return Re},set:function(et){Re=et}});var Ke=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Ne(Ke,this.objId,this.scope)},set:function(et){var $e,st;st=[],typeof($e=et)=="string"&&(st=function(Lt,vt,Qt){Qt||(Qt=1);for(var Fr,Lr=[];Fr=vt.exec(Lt);)Lr.push(Fr[Qt]);return Lr}($e,/\((.*?)\)/g)),Ke=st}}),this.getOptions=function(){return Ke},this.setOptions=function(Ge){Ke=Ge,this.sort&&Ke.sort()},this.addOption=function(Ge){Ge=(Ge=Ge||"").toString(),Ke.push(Ge),this.sort&&Ke.sort()},this.removeOption=function(Ge,et){for(et=et||!1,Ge=(Ge=Ge||"").toString();Ke.indexOf(Ge)!==-1&&(Ke.splice(Ke.indexOf(Ge),1),et!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,18))},set:function(et){Boolean(et)===!0?this.Ff=ee(this.Ff,18):this.Ff=he(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,19))},set:function(et){this.combo===!0&&(Boolean(et)===!0?this.Ff=ee(this.Ff,19):this.Ff=he(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,20))},set:function(et){Boolean(et)===!0?(this.Ff=ee(this.Ff,20),Ke.sort()):this.Ff=he(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,22))},set:function(et){Boolean(et)===!0?this.Ff=ee(this.Ff,22):this.Ff=he(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,23))},set:function(et){Boolean(et)===!0?this.Ff=ee(this.Ff,23):this.Ff=he(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,27))},set:function(et){Boolean(et)===!0?this.Ff=ee(this.Ff,27):this.Ff=he(this.Ff,27)}}),this.hasAppearanceStream=!1};ie(ht,gt);var Pe=function(){ht.call(this),this.fontName="helvetica",this.combo=!1};ie(Pe,ht);var It=function(){Pe.call(this),this.combo=!0};ie(It,Pe);var nt=function(){It.call(this),this.edit=!0};ie(nt,It);var Nt=function(){gt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,15))},set:function(et){Boolean(et)===!0?this.Ff=ee(this.Ff,15):this.Ff=he(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,16))},set:function(et){Boolean(et)===!0?this.Ff=ee(this.Ff,16):this.Ff=he(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,17))},set:function(et){Boolean(et)===!0?this.Ff=ee(this.Ff,17):this.Ff=he(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,26))},set:function(et){Boolean(et)===!0?this.Ff=ee(this.Ff,26):this.Ff=he(this.Ff,26)}});var Re,Ke={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var et=function(vt){return vt};if(this.scope&&(et=this.scope.internal.getEncryptor(this.objId)),Object.keys(Ke).length!==0){var $e,st=[];for($e in st.push("<<"),Ke)st.push("/"+$e+" ("+Y(et(Ke[$e]))+")");return st.push(">>"),st.join(`
|
|
|
`)}},set:function(et){E()(et)==="object"&&(Ke=et)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ke.CA||""},set:function(et){typeof et=="string"&&(Ke.CA=et)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Re},set:function(et){Re=et}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Re.substr(1,Re.length-1)},set:function(et){Re="/"+et}})};ie(Nt,gt);var Bt=function(){Nt.call(this),this.pushButton=!0};ie(Bt,Nt);var Pt=function(){Nt.call(this),this.radio=!0,this.pushButton=!1;var Re=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return Re},set:function(Ge){Re=Ge!==void 0?Ge:[]}})};ie(Pt,Nt);var jt=function(){var Re,Ke;gt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return Re},set:function(st){Re=st}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Ke},set:function(st){Ke=st}});var Ge,et={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var st=function(Fr){return Fr};this.scope&&(st=this.scope.internal.getEncryptor(this.objId));var Lt,vt=[];for(Lt in vt.push("<<"),et)vt.push("/"+Lt+" ("+Y(st(et[Lt]))+")");return vt.push(">>"),vt.join(`
|
|
|
`)},set:function(st){E()(st)==="object"&&(et=st)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return et.CA||""},set:function(st){typeof st=="string"&&(et.CA=st)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Ge},set:function(st){Ge=st}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Ge.substr(1,Ge.length-1)},set:function(st){Ge="/"+st}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ue.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ie(jt,gt),Pt.prototype.setAppearance=function(it){if(!("createAppearanceStream"in it)||!("getCA"in it))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var Re in this.Kids)if(this.Kids.hasOwnProperty(Re)){var Ke=this.Kids[Re];Ke.appearanceStreamContent=it.createAppearanceStream(Ke.optionName),Ke.caption=it.getCA()}},Pt.prototype.createOption=function(it){var Re=new jt;return Re.Parent=this,Re.optionName=it,this.Kids.push(Re),Dt.call(this.scope,Re),Re};var er=function(){Nt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ue.CheckBox.createAppearanceStream()};ie(er,Nt);var at=function(){gt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,13))},set:function(Ge){Boolean(Ge)===!0?this.Ff=ee(this.Ff,13):this.Ff=he(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,21))},set:function(Ge){Boolean(Ge)===!0?this.Ff=ee(this.Ff,21):this.Ff=he(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,23))},set:function(Ge){Boolean(Ge)===!0?this.Ff=ee(this.Ff,23):this.Ff=he(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,24))},set:function(Ge){Boolean(Ge)===!0?this.Ff=ee(this.Ff,24):this.Ff=he(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,25))},set:function(Ge){Boolean(Ge)===!0?this.Ff=ee(this.Ff,25):this.Ff=he(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,26))},set:function(Ge){Boolean(Ge)===!0?this.Ff=ee(this.Ff,26):this.Ff=he(this.Ff,26)}});var Re=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return Re},set:function(Ge){Re=Ge}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Re},set:function(Ge){Number.isInteger(Ge)&&(Re=Ge)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ie(at,gt);var Ce=function(){at.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,14))},set:function(Ke){Boolean(Ke)===!0?this.Ff=ee(this.Ff,14):this.Ff=he(this.Ff,14)}}),this.password=!0};ie(Ce,at);var ue={CheckBox:{createAppearanceStream:function(){return{N:{On:ue.CheckBox.YesNormal},D:{On:ue.CheckBox.YesPushDown,Off:ue.CheckBox.OffPushDown}}},YesPushDown:function(Re){var Ke=_e(Re);Ke.scope=Re.scope;var Ge=[],et=Re.scope.internal.getFont(Re.fontName,Re.fontStyle).id,$e=Re.scope.__private__.encodeColorString(Re.color),st=Q(Re,Re.caption);return Ge.push("0.749023 g"),Ge.push("0 0 "+ne(ue.internal.getWidth(Re))+" "+ne(ue.internal.getHeight(Re))+" re"),Ge.push("f"),Ge.push("BMC"),Ge.push("q"),Ge.push("0 0 1 rg"),Ge.push("/"+et+" "+ne(st.fontSize)+" Tf "+$e),Ge.push("BT"),Ge.push(st.text),Ge.push("ET"),Ge.push("Q"),Ge.push("EMC"),Ke.stream=Ge.join(`
|
|
|
`),Ke},YesNormal:function(Re){var Ke=_e(Re);Ke.scope=Re.scope;var Ge=Re.scope.internal.getFont(Re.fontName,Re.fontStyle).id,et=Re.scope.__private__.encodeColorString(Re.color),$e=[],st=ue.internal.getHeight(Re),Lt=ue.internal.getWidth(Re),vt=Q(Re,Re.caption);return $e.push("1 g"),$e.push("0 0 "+ne(Lt)+" "+ne(st)+" re"),$e.push("f"),$e.push("q"),$e.push("0 0 1 rg"),$e.push("0 0 "+ne(Lt-1)+" "+ne(st-1)+" re"),$e.push("W"),$e.push("n"),$e.push("0 g"),$e.push("BT"),$e.push("/"+Ge+" "+ne(vt.fontSize)+" Tf "+et),$e.push(vt.text),$e.push("ET"),$e.push("Q"),Ke.stream=$e.join(`
|
|
|
`),Ke},OffPushDown:function(Re){var Ke=_e(Re);Ke.scope=Re.scope;var Ge=[];return Ge.push("0.749023 g"),Ge.push("0 0 "+ne(ue.internal.getWidth(Re))+" "+ne(ue.internal.getHeight(Re))+" re"),Ge.push("f"),Ke.stream=Ge.join(`
|
|
|
`),Ke}},RadioButton:{Circle:{createAppearanceStream:function(Re){var Ke={D:{Off:ue.RadioButton.Circle.OffPushDown},N:{}};return Ke.N[Re]=ue.RadioButton.Circle.YesNormal,Ke.D[Re]=ue.RadioButton.Circle.YesPushDown,Ke},getCA:function(){return"l"},YesNormal:function(Re){var Ke=_e(Re);Ke.scope=Re.scope;var Ge=[],et=ue.internal.getWidth(Re)<=ue.internal.getHeight(Re)?ue.internal.getWidth(Re)/4:ue.internal.getHeight(Re)/4;et=Number((.9*et).toFixed(5));var $e=ue.internal.Bezier_C,st=Number((et*$e).toFixed(5));return Ge.push("q"),Ge.push("1 0 0 1 "+we(ue.internal.getWidth(Re)/2)+" "+we(ue.internal.getHeight(Re)/2)+" cm"),Ge.push(et+" 0 m"),Ge.push(et+" "+st+" "+st+" "+et+" 0 "+et+" c"),Ge.push("-"+st+" "+et+" -"+et+" "+st+" -"+et+" 0 c"),Ge.push("-"+et+" -"+st+" -"+st+" -"+et+" 0 -"+et+" c"),Ge.push(st+" -"+et+" "+et+" -"+st+" "+et+" 0 c"),Ge.push("f"),Ge.push("Q"),Ke.stream=Ge.join(`
|
|
|
`),Ke},YesPushDown:function(Re){var Ke=_e(Re);Ke.scope=Re.scope;var Ge=[],et=ue.internal.getWidth(Re)<=ue.internal.getHeight(Re)?ue.internal.getWidth(Re)/4:ue.internal.getHeight(Re)/4;et=Number((.9*et).toFixed(5));var $e=Number((2*et).toFixed(5)),st=Number(($e*ue.internal.Bezier_C).toFixed(5)),Lt=Number((et*ue.internal.Bezier_C).toFixed(5));return Ge.push("0.749023 g"),Ge.push("q"),Ge.push("1 0 0 1 "+we(ue.internal.getWidth(Re)/2)+" "+we(ue.internal.getHeight(Re)/2)+" cm"),Ge.push($e+" 0 m"),Ge.push($e+" "+st+" "+st+" "+$e+" 0 "+$e+" c"),Ge.push("-"+st+" "+$e+" -"+$e+" "+st+" -"+$e+" 0 c"),Ge.push("-"+$e+" -"+st+" -"+st+" -"+$e+" 0 -"+$e+" c"),Ge.push(st+" -"+$e+" "+$e+" -"+st+" "+$e+" 0 c"),Ge.push("f"),Ge.push("Q"),Ge.push("0 g"),Ge.push("q"),Ge.push("1 0 0 1 "+we(ue.internal.getWidth(Re)/2)+" "+we(ue.internal.getHeight(Re)/2)+" cm"),Ge.push(et+" 0 m"),Ge.push(et+" "+Lt+" "+Lt+" "+et+" 0 "+et+" c"),Ge.push("-"+Lt+" "+et+" -"+et+" "+Lt+" -"+et+" 0 c"),Ge.push("-"+et+" -"+Lt+" -"+Lt+" -"+et+" 0 -"+et+" c"),Ge.push(Lt+" -"+et+" "+et+" -"+Lt+" "+et+" 0 c"),Ge.push("f"),Ge.push("Q"),Ke.stream=Ge.join(`
|
|
|
`),Ke},OffPushDown:function(Re){var Ke=_e(Re);Ke.scope=Re.scope;var Ge=[],et=ue.internal.getWidth(Re)<=ue.internal.getHeight(Re)?ue.internal.getWidth(Re)/4:ue.internal.getHeight(Re)/4;et=Number((.9*et).toFixed(5));var $e=Number((2*et).toFixed(5)),st=Number(($e*ue.internal.Bezier_C).toFixed(5));return Ge.push("0.749023 g"),Ge.push("q"),Ge.push("1 0 0 1 "+we(ue.internal.getWidth(Re)/2)+" "+we(ue.internal.getHeight(Re)/2)+" cm"),Ge.push($e+" 0 m"),Ge.push($e+" "+st+" "+st+" "+$e+" 0 "+$e+" c"),Ge.push("-"+st+" "+$e+" -"+$e+" "+st+" -"+$e+" 0 c"),Ge.push("-"+$e+" -"+st+" -"+st+" -"+$e+" 0 -"+$e+" c"),Ge.push(st+" -"+$e+" "+$e+" -"+st+" "+$e+" 0 c"),Ge.push("f"),Ge.push("Q"),Ke.stream=Ge.join(`
|
|
|
`),Ke}},Cross:{createAppearanceStream:function(Re){var Ke={D:{Off:ue.RadioButton.Cross.OffPushDown},N:{}};return Ke.N[Re]=ue.RadioButton.Cross.YesNormal,Ke.D[Re]=ue.RadioButton.Cross.YesPushDown,Ke},getCA:function(){return"8"},YesNormal:function(Re){var Ke=_e(Re);Ke.scope=Re.scope;var Ge=[],et=ue.internal.calculateCross(Re);return Ge.push("q"),Ge.push("1 1 "+ne(ue.internal.getWidth(Re)-2)+" "+ne(ue.internal.getHeight(Re)-2)+" re"),Ge.push("W"),Ge.push("n"),Ge.push(ne(et.x1.x)+" "+ne(et.x1.y)+" m"),Ge.push(ne(et.x2.x)+" "+ne(et.x2.y)+" l"),Ge.push(ne(et.x4.x)+" "+ne(et.x4.y)+" m"),Ge.push(ne(et.x3.x)+" "+ne(et.x3.y)+" l"),Ge.push("s"),Ge.push("Q"),Ke.stream=Ge.join(`
|
|
|
`),Ke},YesPushDown:function(Re){var Ke=_e(Re);Ke.scope=Re.scope;var Ge=ue.internal.calculateCross(Re),et=[];return et.push("0.749023 g"),et.push("0 0 "+ne(ue.internal.getWidth(Re))+" "+ne(ue.internal.getHeight(Re))+" re"),et.push("f"),et.push("q"),et.push("1 1 "+ne(ue.internal.getWidth(Re)-2)+" "+ne(ue.internal.getHeight(Re)-2)+" re"),et.push("W"),et.push("n"),et.push(ne(Ge.x1.x)+" "+ne(Ge.x1.y)+" m"),et.push(ne(Ge.x2.x)+" "+ne(Ge.x2.y)+" l"),et.push(ne(Ge.x4.x)+" "+ne(Ge.x4.y)+" m"),et.push(ne(Ge.x3.x)+" "+ne(Ge.x3.y)+" l"),et.push("s"),et.push("Q"),Ke.stream=et.join(`
|
|
|
`),Ke},OffPushDown:function(Re){var Ke=_e(Re);Ke.scope=Re.scope;var Ge=[];return Ge.push("0.749023 g"),Ge.push("0 0 "+ne(ue.internal.getWidth(Re))+" "+ne(ue.internal.getHeight(Re))+" re"),Ge.push("f"),Ke.stream=Ge.join(`
|
|
|
`),Ke}}},createDefaultAppearanceStream:function(Re){var Ke=Re.scope.internal.getFont(Re.fontName,Re.fontStyle).id,Ge=Re.scope.__private__.encodeColorString(Re.color);return"/"+Ke+" "+Re.fontSize+" Tf "+Ge}};ue.internal={Bezier_C:.551915024494,calculateCross:function(Re){var Ke=ue.internal.getWidth(Re),Ge=ue.internal.getHeight(Re),et=Math.min(Ke,Ge);return{x1:{x:(Ke-et)/2,y:(Ge-et)/2+et},x2:{x:(Ke-et)/2+et,y:(Ge-et)/2},x3:{x:(Ke-et)/2,y:(Ge-et)/2},x4:{x:(Ke-et)/2+et,y:(Ge-et)/2+et}}}},ue.internal.getWidth=function(it){var Re=0;return E()(it)==="object"&&(Re=me(it.Rect[2])),Re},ue.internal.getHeight=function(it){var Re=0;return E()(it)==="object"&&(Re=me(it.Rect[3])),Re};var Dt=W.addField=function(it){if(Be(this,it),!(it instanceof gt))throw new Error("Invalid argument passed to jsPDF.addField.");var Re;return(Re=it).scope.internal.acroformPlugin.printedOut&&(Re.scope.internal.acroformPlugin.printedOut=!1,Re.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),Re.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(Re),it.page=it.scope.internal.getCurrentPageInfo().pageNumber,this};W.AcroFormChoiceField=ht,W.AcroFormListBox=Pe,W.AcroFormComboBox=It,W.AcroFormEditBox=nt,W.AcroFormButton=Nt,W.AcroFormPushButton=Bt,W.AcroFormRadioButton=Pt,W.AcroFormCheckBox=er,W.AcroFormTextField=at,W.AcroFormPasswordField=Ce,W.AcroFormAppearance=ue,W.AcroForm={ChoiceField:ht,ListBox:Pe,ComboBox:It,EditBox:nt,Button:Nt,PushButton:Bt,RadioButton:Pt,CheckBox:er,TextField:at,PasswordField:Ce,Appearance:ue},X.AcroForm={ChoiceField:ht,ListBox:Pe,ComboBox:It,EditBox:nt,Button:Nt,PushButton:Bt,RadioButton:Pt,CheckBox:er,TextField:at,PasswordField:Ce,Appearance:ue};var rt=X.AcroForm;function ye(it){return it.reduce(function(Re,Ke,Ge){return Re[Ke]=Ge,Re},{})}!function(it){it.__addimage__={};var Re="UNKNOWN",Ke={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},Ge=it.__addimage__.getImageFileTypeByImageData=function(Kn,un){var ri,Cn,ki,Tn,oa,Ti=Re;if((un=un||Re)==="RGBA"||Kn.data!==void 0&&Kn.data instanceof Uint8ClampedArray&&"height"in Kn&&"width"in Kn)return"RGBA";if(Vi(Kn))for(oa in Ke)for(ki=Ke[oa],ri=0;ri<ki.length;ri+=1){for(Tn=!0,Cn=0;Cn<ki[ri].length;Cn+=1)if(ki[ri][Cn]!==void 0&&ki[ri][Cn]!==Kn[Cn]){Tn=!1;break}if(Tn===!0){Ti=oa;break}}else for(oa in Ke)for(ki=Ke[oa],ri=0;ri<ki.length;ri+=1){for(Tn=!0,Cn=0;Cn<ki[ri].length;Cn+=1)if(ki[ri][Cn]!==void 0&&ki[ri][Cn]!==Kn.charCodeAt(Cn)){Tn=!1;break}if(Tn===!0){Ti=oa;break}}return Ti===Re&&un!==Re&&(Ti=un),Ti},et=function Kn(un){for(var ri=this.internal.write,Cn=this.internal.putStream,ki=(0,this.internal.getFilters)();ki.indexOf("FlateEncode")!==-1;)ki.splice(ki.indexOf("FlateEncode"),1);un.objectId=this.internal.newObject();var Tn=[];if(Tn.push({key:"Type",value:"/XObject"}),Tn.push({key:"Subtype",value:"/Image"}),Tn.push({key:"Width",value:un.width}),Tn.push({key:"Height",value:un.height}),un.colorSpace===pn.INDEXED?Tn.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(un.palette.length/3-1)+" "+("sMask"in un&&un.sMask!==void 0?un.objectId+2:un.objectId+1)+" 0 R]"}):(Tn.push({key:"ColorSpace",value:"/"+un.colorSpace}),un.colorSpace===pn.DEVICE_CMYK&&Tn.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Tn.push({key:"BitsPerComponent",value:un.bitsPerComponent}),"decodeParameters"in un&&un.decodeParameters!==void 0&&Tn.push({key:"DecodeParms",value:"<<"+un.decodeParameters+">>"}),"transparency"in un&&Array.isArray(un.transparency)){for(var oa="",Ti=0,li=un.transparency.length;Ti<li;Ti++)oa+=un.transparency[Ti]+" "+un.transparency[Ti]+" ";Tn.push({key:"Mask",value:"["+oa+"]"})}un.sMask!==void 0&&Tn.push({key:"SMask",value:un.objectId+1+" 0 R"});var Ri=un.filter!==void 0?["/"+un.filter]:void 0;if(Cn({data:un.data,additionalKeyValues:Tn,alreadyAppliedFilters:Ri,objectId:un.objectId}),ri("endobj"),"sMask"in un&&un.sMask!==void 0){var Da="/Predictor "+un.predictor+" /Colors 1 /BitsPerComponent "+un.bitsPerComponent+" /Columns "+un.width,Un={width:un.width,height:un.height,colorSpace:"DeviceGray",bitsPerComponent:un.bitsPerComponent,decodeParameters:Da,data:un.sMask};"filter"in un&&(Un.filter=un.filter),Kn.call(this,Un)}if(un.colorSpace===pn.INDEXED){var on=this.internal.newObject();Cn({data:qi(new Uint8Array(un.palette)),objectId:on}),ri("endobj")}},$e=function(){var un=this.internal.collections.addImage_images;for(var ri in un)et.call(this,un[ri])},st=function(){var un,ri=this.internal.collections.addImage_images,Cn=this.internal.write;for(var ki in ri)Cn("/I"+(un=ri[ki]).index,un.objectId,"0","R")},Lt=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",$e),this.internal.events.subscribe("putXobjectDict",st))},vt=function(){var un=this.internal.collections.addImage_images;return Lt.call(this),un},Qt=function(){return Object.keys(this.internal.collections.addImage_images).length},Fr=function(un){return typeof it["process"+un.toUpperCase()]=="function"},Lr=function(un){return E()(un)==="object"&&un.nodeType===1},Gr=function(un,ri){if(un.nodeName==="IMG"&&un.hasAttribute("src")){var Cn=""+un.getAttribute("src");if(Cn.indexOf("data:image/")===0)return a(unescape(Cn).split("base64,").pop());var ki=it.loadFile(Cn,!0);if(ki!==void 0)return ki}if(un.nodeName==="CANVAS"){if(un.width===0||un.height===0)throw new Error("Given canvas must have data. Canvas width: "+un.width+", height: "+un.height);var Tn;switch(ri){case"PNG":Tn="image/png";break;case"WEBP":Tn="image/webp";break;case"JPEG":case"JPG":default:Tn="image/jpeg"}return a(un.toDataURL(Tn,1).split("base64,").pop())}},$t=function(un){var ri=this.internal.collections.addImage_images;if(ri){for(var Cn in ri)if(un===ri[Cn].alias)return ri[Cn]}},Rn=function(un,ri,Cn){return un||ri||(un=-96,ri=-96),un<0&&(un=-1*Cn.width*72/un/this.internal.scaleFactor),ri<0&&(ri=-1*Cn.height*72/ri/this.internal.scaleFactor),un===0&&(un=ri*Cn.width/Cn.height),ri===0&&(ri=un*Cn.height/Cn.width),[un,ri]},wr=function(un,ri,Cn,ki,Tn,oa){var Ti=Rn.call(this,Cn,ki,Tn),li=this.internal.getCoordinateString,Ri=this.internal.getVerticalCoordinateString,Da=vt.call(this);if(Cn=Ti[0],ki=Ti[1],Da[Tn.index]=Tn,oa){oa*=Math.PI/180;var Un=Math.cos(oa),on=Math.sin(oa),Zn=function(zi){return zi.toFixed(4)},hi=[Zn(Un),Zn(on),Zn(-1*on),Zn(Un),0,0,"cm"]}this.internal.write("q"),oa?(this.internal.write([1,"0","0",1,li(un),Ri(ri+ki),"cm"].join(" ")),this.internal.write(hi.join(" ")),this.internal.write([li(Cn),"0","0",li(ki),"0","0","cm"].join(" "))):this.internal.write([li(Cn),"0","0",li(ki),li(un),Ri(ri+ki),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Tn.index+" Do"),this.internal.write("Q")},pn=it.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"};it.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var rn=it.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Br=it.__addimage__.sHashCode=function(Kn){var un,ri,Cn=0;if(typeof Kn=="string")for(ri=Kn.length,un=0;un<ri;un++)Cn=(Cn<<5)-Cn+Kn.charCodeAt(un),Cn|=0;else if(Vi(Kn))for(ri=Kn.byteLength/2,un=0;un<ri;un++)Cn=(Cn<<5)-Cn+Kn[un],Cn|=0;return Cn},Yn=it.__addimage__.validateStringAsBase64=function(Kn){(Kn=Kn||"").toString().trim();var un=!0;return Kn.length===0&&(un=!1),Kn.length%4!=0&&(un=!1),/^[A-Za-z0-9+/]+$/.test(Kn.substr(0,Kn.length-2))===!1&&(un=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(Kn.substr(-2))===!1&&(un=!1),un},xi=it.__addimage__.extractImageFromDataUrl=function(Kn){var un=(Kn=Kn||"").split("base64,"),ri=null;if(un.length===2){var Cn=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(un[0]);Array.isArray(Cn)&&(ri={mimeType:Cn[1],charset:Cn[2],data:un[1]})}return ri},Li=it.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};it.__addimage__.isArrayBuffer=function(Kn){return Li()&&Kn instanceof ArrayBuffer};var Vi=it.__addimage__.isArrayBufferView=function(Kn){return Li()&&typeof Uint32Array!="undefined"&&(Kn instanceof Int8Array||Kn instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&Kn instanceof Uint8ClampedArray||Kn instanceof Int16Array||Kn instanceof Uint16Array||Kn instanceof Int32Array||Kn instanceof Uint32Array||Kn instanceof Float32Array||Kn instanceof Float64Array)},Wi=it.__addimage__.binaryStringToUint8Array=function(Kn){for(var un=Kn.length,ri=new Uint8Array(un),Cn=0;Cn<un;Cn++)ri[Cn]=Kn.charCodeAt(Cn);return ri},qi=it.__addimage__.arrayBufferToBinaryString=function(Kn){for(var un="",ri=Vi(Kn)?Kn:new Uint8Array(Kn),Cn=0;Cn<ri.length;Cn+=8192)un+=String.fromCharCode.apply(null,ri.subarray(Cn,Cn+8192));return un};it.addImage=function(){var Kn,un,ri,Cn,ki,Tn,oa,Ti,li;if(typeof arguments[1]=="number"?(un=Re,ri=arguments[1],Cn=arguments[2],ki=arguments[3],Tn=arguments[4],oa=arguments[5],Ti=arguments[6],li=arguments[7]):(un=arguments[1],ri=arguments[2],Cn=arguments[3],ki=arguments[4],Tn=arguments[5],oa=arguments[6],Ti=arguments[7],li=arguments[8]),E()(Kn=arguments[0])==="object"&&!Lr(Kn)&&"imageData"in Kn){var Ri=Kn;Kn=Ri.imageData,un=Ri.format||un||Re,ri=Ri.x||ri||0,Cn=Ri.y||Cn||0,ki=Ri.w||Ri.width||ki,Tn=Ri.h||Ri.height||Tn,oa=Ri.alias||oa,Ti=Ri.compression||Ti,li=Ri.rotation||Ri.angle||li}var Da=this.internal.getFilters();if(Ti===void 0&&Da.indexOf("FlateEncode")!==-1&&(Ti="SLOW"),isNaN(ri)||isNaN(Cn))throw new Error("Invalid coordinates passed to jsPDF.addImage");Lt.call(this);var Un=bi.call(this,Kn,un,oa,Ti);return wr.call(this,ri,Cn,ki,Tn,Un,li),this};var bi=function(un,ri,Cn,ki){var Tn,oa,Ti;if(typeof un=="string"&&Ge(un)===Re){un=unescape(un);var li=ba(un,!1);(li!==""||(li=it.loadFile(un,!0))!==void 0)&&(un=li)}if(Lr(un)&&(un=Gr(un,ri)),ri=Ge(un,ri),!Fr(ri))throw new Error("addImage does not support files of type '"+ri+"', please ensure that a plugin for '"+ri+"' support is added.");if(((Ti=Cn)==null||Ti.length===0)&&(Cn=function(Ri){return typeof Ri=="string"||Vi(Ri)?Br(Ri):Vi(Ri.data)?Br(Ri.data):null}(un)),(Tn=$t.call(this,Cn))||(Li()&&(un instanceof Uint8Array||ri==="RGBA"||(oa=un,un=Wi(un))),Tn=this["process"+ri.toUpperCase()](un,Qt.call(this),Cn,function(Ri){return Ri&&typeof Ri=="string"&&(Ri=Ri.toUpperCase()),Ri in it.image_compression?Ri:rn.NONE}(ki),oa)),!Tn)throw new Error("An unknown error occurred whilst processing the image.");return Tn},ba=it.__addimage__.convertBase64ToBinaryString=function(Kn,un){var ri;un=typeof un!="boolean"||un;var Cn,ki="";if(typeof Kn=="string"){Cn=(ri=xi(Kn))!==null?ri.data:Kn;try{ki=a(Cn)}catch(Tn){if(un)throw Yn(Cn)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+Tn.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ki};it.getImageProperties=function(Kn){var un,ri,Cn="";if(Lr(Kn)&&(Kn=Gr(Kn)),typeof Kn=="string"&&Ge(Kn)===Re&&((Cn=ba(Kn,!1))===""&&(Cn=it.loadFile(Kn)||""),Kn=Cn),ri=Ge(Kn),!Fr(ri))throw new Error("addImage does not support files of type '"+ri+"', please ensure that a plugin for '"+ri+"' support is added.");if(!Li()||Kn instanceof Uint8Array||(Kn=Wi(Kn)),!(un=this["process"+ri.toUpperCase()](Kn)))throw new Error("An unknown error occurred whilst processing the image");return un.fileType=ri,un}}(X.API),function(it){var Re=function(Ge){if(Ge!==void 0&&Ge!="")return!0};X.API.events.push(["addPage",function(Ke){this.internal.getPageInfo(Ke.pageNumber).pageContext.annotations=[]}]),it.events.push(["putPage",function(Ke){for(var Ge,et,$e,st=this.internal.getCoordinateString,Lt=this.internal.getVerticalCoordinateString,vt=this.internal.getPageInfoByObjId(Ke.objId),Qt=Ke.pageContext.annotations,Fr=!1,Lr=0;Lr<Qt.length&&!Fr;Lr++)switch((Ge=Qt[Lr]).type){case"link":(Re(Ge.options.url)||Re(Ge.options.pageNumber))&&(Fr=!0);break;case"reference":case"text":case"freetext":Fr=!0}if(Fr!=0){this.internal.write("/Annots [");for(var Gr=0;Gr<Qt.length;Gr++){Ge=Qt[Gr];var $t=this.internal.pdfEscape,Rn=this.internal.getEncryptor(Ke.objId);switch(Ge.type){case"reference":this.internal.write(" "+Ge.object.objId+" 0 R ");break;case"text":var wr=this.internal.newAdditionalObject(),pn=this.internal.newAdditionalObject(),rn=this.internal.getEncryptor(wr.objId),Br=Ge.title||"Note";$e="<</Type /Annot /Subtype /Text "+(et="/Rect ["+st(Ge.bounds.x)+" "+Lt(Ge.bounds.y+Ge.bounds.h)+" "+st(Ge.bounds.x+Ge.bounds.w)+" "+Lt(Ge.bounds.y)+"] ")+"/Contents ("+$t(rn(Ge.contents))+")",$e+=" /Popup "+pn.objId+" 0 R",$e+=" /P "+vt.objId+" 0 R",$e+=" /T ("+$t(rn(Br))+") >>",wr.content=$e;var Yn=wr.objId+" 0 R";$e="<</Type /Annot /Subtype /Popup "+(et="/Rect ["+st(Ge.bounds.x+30)+" "+Lt(Ge.bounds.y+Ge.bounds.h)+" "+st(Ge.bounds.x+Ge.bounds.w+30)+" "+Lt(Ge.bounds.y)+"] ")+" /Parent "+Yn,Ge.open&&($e+=" /Open true"),$e+=" >>",pn.content=$e,this.internal.write(wr.objId,"0 R",pn.objId,"0 R");break;case"freetext":et="/Rect ["+st(Ge.bounds.x)+" "+Lt(Ge.bounds.y)+" "+st(Ge.bounds.x+Ge.bounds.w)+" "+Lt(Ge.bounds.y+Ge.bounds.h)+"] ";var xi=Ge.color||"#000000";$e="<</Type /Annot /Subtype /FreeText "+et+"/Contents ("+$t(Rn(Ge.contents))+")",$e+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+xi+")",$e+=" /Border [0 0 0]",$e+=" >>",this.internal.write($e);break;case"link":if(Ge.options.name){var Li=this.annotations._nameMap[Ge.options.name];Ge.options.pageNumber=Li.page,Ge.options.top=Li.y}else Ge.options.top||(Ge.options.top=0);if(et="/Rect ["+Ge.finalBounds.x+" "+Ge.finalBounds.y+" "+Ge.finalBounds.w+" "+Ge.finalBounds.h+"] ",$e="",Ge.options.url)$e="<</Type /Annot /Subtype /Link "+et+"/Border [0 0 0] /A <</S /URI /URI ("+$t(Rn(Ge.options.url))+") >>";else if(Ge.options.pageNumber)switch($e="<</Type /Annot /Subtype /Link "+et+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Ge.options.pageNumber).objId+" 0 R",Ge.options.magFactor=Ge.options.magFactor||"XYZ",Ge.options.magFactor){case"Fit":$e+=" /Fit]";break;case"FitH":$e+=" /FitH "+Ge.options.top+"]";break;case"FitV":Ge.options.left=Ge.options.left||0,$e+=" /FitV "+Ge.options.left+"]";break;case"XYZ":default:var Vi=Lt(Ge.options.top);Ge.options.left=Ge.options.left||0,Ge.options.zoom===void 0&&(Ge.options.zoom=0),$e+=" /XYZ "+Ge.options.left+" "+Vi+" "+Ge.options.zoom+"]"}$e!=""&&($e+=" >>",this.internal.write($e))}}this.internal.write("]")}}]),it.createAnnotation=function(Ke){var Ge=this.internal.getCurrentPageInfo();switch(Ke.type){case"link":this.link(Ke.bounds.x,Ke.bounds.y,Ke.bounds.w,Ke.bounds.h,Ke);break;case"text":case"freetext":Ge.pageContext.annotations.push(Ke)}},it.link=function(Ke,Ge,et,$e,st){var Lt=this.internal.getCurrentPageInfo(),vt=this.internal.getCoordinateString,Qt=this.internal.getVerticalCoordinateString;Lt.pageContext.annotations.push({finalBounds:{x:vt(Ke),y:Qt(Ge),w:vt(Ke+et),h:Qt(Ge+$e)},options:st,type:"link"})},it.textWithLink=function(Ke,Ge,et,$e){var st,Lt,vt=this.getTextWidth(Ke),Qt=this.internal.getLineHeight()/this.internal.scaleFactor;if($e.maxWidth!==void 0){Lt=$e.maxWidth;var Fr=this.splitTextToSize(Ke,Lt).length;st=Math.ceil(Qt*Fr)}else Lt=vt,st=Qt;return this.text(Ke,Ge,et,$e),et+=.2*Qt,$e.align==="center"&&(Ge-=vt/2),$e.align==="right"&&(Ge-=vt),this.link(Ge,et-Qt,Lt,st,$e),vt},it.getTextWidth=function(Ke){var Ge=this.internal.getFontSize();return this.getStringUnitWidth(Ke)*Ge/this.internal.scaleFactor}}(X.API),function(it){var Re={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]},Ke={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}},Ge={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},et=[1570,1571,1573,1575];it.__arabicParser__={};var $e=it.__arabicParser__.isInArabicSubstitutionA=function(wr){return Re[wr.charCodeAt(0)]!==void 0},st=it.__arabicParser__.isArabicLetter=function(wr){return typeof wr=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(wr)},Lt=it.__arabicParser__.isArabicEndLetter=function(wr){return st(wr)&&$e(wr)&&Re[wr.charCodeAt(0)].length<=2},vt=it.__arabicParser__.isArabicAlfLetter=function(wr){return st(wr)&&et.indexOf(wr.charCodeAt(0))>=0};it.__arabicParser__.arabicLetterHasIsolatedForm=function(wr){return st(wr)&&$e(wr)&&Re[wr.charCodeAt(0)].length>=1};var Qt=it.__arabicParser__.arabicLetterHasFinalForm=function(wr){return st(wr)&&$e(wr)&&Re[wr.charCodeAt(0)].length>=2};it.__arabicParser__.arabicLetterHasInitialForm=function(wr){return st(wr)&&$e(wr)&&Re[wr.charCodeAt(0)].length>=3};var Fr=it.__arabicParser__.arabicLetterHasMedialForm=function(wr){return st(wr)&&$e(wr)&&Re[wr.charCodeAt(0)].length==4},Lr=it.__arabicParser__.resolveLigatures=function(wr){var pn=0,rn=Ke,Br="",Yn=0;for(pn=0;pn<wr.length;pn+=1)rn[wr.charCodeAt(pn)]!==void 0?(Yn++,typeof(rn=rn[wr.charCodeAt(pn)])=="number"&&(Br+=String.fromCharCode(rn),rn=Ke,Yn=0),pn===wr.length-1&&(rn=Ke,Br+=wr.charAt(pn-(Yn-1)),pn-=Yn-1,Yn=0)):(rn=Ke,Br+=wr.charAt(pn-Yn),pn-=Yn,Yn=0);return Br};it.__arabicParser__.isArabicDiacritic=function(wr){return wr!==void 0&&Ge[wr.charCodeAt(0)]!==void 0};var Gr=it.__arabicParser__.getCorrectForm=function(wr,pn,rn){return st(wr)?$e(wr)===!1?-1:!Qt(wr)||!st(pn)&&!st(rn)||!st(rn)&&Lt(pn)||Lt(wr)&&!st(pn)||Lt(wr)&&vt(pn)||Lt(wr)&&Lt(pn)?0:Fr(wr)&&st(pn)&&!Lt(pn)&&st(rn)&&Qt(rn)?3:Lt(wr)||!st(rn)?1:2:-1},$t=function(pn){var rn=0,Br=0,Yn=0,xi="",Li="",Vi="",Wi=(pn=pn||"").split("\\s+"),qi=[];for(rn=0;rn<Wi.length;rn+=1){for(qi.push(""),Br=0;Br<Wi[rn].length;Br+=1)xi=Wi[rn][Br],Li=Wi[rn][Br-1],Vi=Wi[rn][Br+1],st(xi)?(Yn=Gr(xi,Li,Vi),qi[rn]+=Yn!==-1?String.fromCharCode(Re[xi.charCodeAt(0)][Yn]):xi):qi[rn]+=xi;qi[rn]=Lr(qi[rn])}return qi.join(" ")},Rn=it.__arabicParser__.processArabic=it.processArabic=function(){var wr,pn=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,rn=[];if(Array.isArray(pn)){var Br=0;for(rn=[],Br=0;Br<pn.length;Br+=1)Array.isArray(pn[Br])?rn.push([$t(pn[Br][0]),pn[Br][1],pn[Br][2]]):rn.push([$t(pn[Br])]);wr=rn}else wr=$t(pn);return typeof arguments[0]=="string"?wr:(arguments[0].text=wr,arguments[0])};it.events.push(["preProcessText",Rn])}(X.API),X.API.autoPrint=function(it){var Re;switch((it=it||{}).variant=it.variant||"non-conform",it.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){Re=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 "+Re+" 0 R")})}return this},function(it){var Re=function(){var Ge=void 0;Object.defineProperty(this,"pdf",{get:function(){return Ge},set:function(Qt){Ge=Qt}});var et=150;Object.defineProperty(this,"width",{get:function(){return et},set:function(Qt){et=isNaN(Qt)||Number.isInteger(Qt)===!1||Qt<0?150:Qt,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=et+1)}});var $e=300;Object.defineProperty(this,"height",{get:function(){return $e},set:function(Qt){$e=isNaN(Qt)||Number.isInteger(Qt)===!1||Qt<0?300:Qt,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=$e+1)}});var st=[];Object.defineProperty(this,"childNodes",{get:function(){return st},set:function(Qt){st=Qt}});var Lt={};Object.defineProperty(this,"style",{get:function(){return Lt},set:function(Qt){Lt=Qt}}),Object.defineProperty(this,"parentNode",{})};Re.prototype.getContext=function(Ke,Ge){var et;if((Ke=Ke||"2d")!=="2d")return null;for(et in Ge)this.pdf.context2d.hasOwnProperty(et)&&(this.pdf.context2d[et]=Ge[et]);return this.pdf.context2d._canvas=this,this.pdf.context2d},Re.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},it.events.push(["initialized",function(){this.canvas=new Re,this.canvas.pdf=this}])}(X.API),function(it){var Re={left:0,top:0,bottom:0,right:0},Ke=!1,Ge=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},Re),this.internal.__cell__.margins.width=this.getPageWidth(),et.call(this))},et=function(){this.internal.__cell__.lastCell=new $e,this.internal.__cell__.pages=1},$e=function(){var Qt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Qt},set:function(rn){Qt=rn}});var Fr=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Fr},set:function(rn){Fr=rn}});var Lr=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Lr},set:function(rn){Lr=rn}});var Gr=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Gr},set:function(rn){Gr=rn}});var $t=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return $t},set:function(rn){$t=rn}});var Rn=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Rn},set:function(rn){Rn=rn}});var wr=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return wr},set:function(rn){wr=rn}}),this};$e.prototype.clone=function(){return new $e(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},$e.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},it.setHeaderFunction=function(vt){return Ge.call(this),this.internal.__cell__.headerFunction=typeof vt=="function"?vt:void 0,this},it.getTextDimensions=function(vt,Qt){Ge.call(this);var Fr=(Qt=Qt||{}).fontSize||this.getFontSize(),Lr=Qt.font||this.getFont(),Gr=Qt.scaleFactor||this.internal.scaleFactor,$t=0,Rn=0,wr=0,pn=this;if(!Array.isArray(vt)&&typeof vt!="string"){if(typeof vt!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");vt=String(vt)}var rn=Qt.maxWidth;rn>0?typeof vt=="string"?vt=this.splitTextToSize(vt,rn):Object.prototype.toString.call(vt)==="[object Array]"&&(vt=vt.reduce(function(Yn,xi){return Yn.concat(pn.splitTextToSize(xi,rn))},[])):vt=Array.isArray(vt)?vt:[vt];for(var Br=0;Br<vt.length;Br++)$t<(wr=this.getStringUnitWidth(vt[Br],{font:Lr})*Fr)&&($t=wr);return $t!==0&&(Rn=vt.length),{w:$t/=Gr,h:Math.max((Rn*Fr*this.getLineHeightFactor()-Fr*(this.getLineHeightFactor()-1))/Gr,0)}},it.cellAddPage=function(){Ge.call(this),this.addPage();var vt=this.internal.__cell__.margins||Re;return this.internal.__cell__.lastCell=new $e(vt.left,vt.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var st=it.cell=function(){var vt;vt=arguments[0]instanceof $e?arguments[0]:new $e(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),Ge.call(this);var Qt=this.internal.__cell__.lastCell,Fr=this.internal.__cell__.padding,Lr=this.internal.__cell__.margins||Re,Gr=this.internal.__cell__.tableHeaderRow,$t=this.internal.__cell__.printHeaders;return Qt.lineNumber!==void 0&&(Qt.lineNumber===vt.lineNumber?(vt.x=(Qt.x||0)+(Qt.width||0),vt.y=Qt.y||0):Qt.y+Qt.height+vt.height+Lr.bottom>this.getPageHeight()?(this.cellAddPage(),vt.y=Lr.top,$t&&Gr&&(this.printHeaderRow(vt.lineNumber,!0),vt.y+=Gr[0].height)):vt.y=Qt.y+Qt.height||vt.y),vt.text[0]!==void 0&&(this.rect(vt.x,vt.y,vt.width,vt.height,Ke===!0?"FD":void 0),vt.align==="right"?this.text(vt.text,vt.x+vt.width-Fr,vt.y+Fr,{align:"right",baseline:"top"}):vt.align==="center"?this.text(vt.text,vt.x+vt.width/2,vt.y+Fr,{align:"center",baseline:"top",maxWidth:vt.width-Fr-Fr}):this.text(vt.text,vt.x+Fr,vt.y+Fr,{align:"left",baseline:"top",maxWidth:vt.width-Fr-Fr})),this.internal.__cell__.lastCell=vt,this};it.table=function(vt,Qt,Fr,Lr,Gr){if(Ge.call(this),!Fr)throw new Error("No data for PDF table.");var $t,Rn,wr,pn,rn=[],Br=[],Yn=[],xi={},Li={},Vi=[],Wi=[],qi=(Gr=Gr||{}).autoSize||!1,bi=Gr.printHeaders!==!1,ba=Gr.css&&Gr.css["font-size"]!==void 0?16*Gr.css["font-size"]:Gr.fontSize||12,Kn=Gr.margins||Object.assign({width:this.getPageWidth()},Re),un=typeof Gr.padding=="number"?Gr.padding:3,ri=Gr.headerBackgroundColor||"#c8c8c8",Cn=Gr.headerTextColor||"#000";if(et.call(this),this.internal.__cell__.printHeaders=bi,this.internal.__cell__.margins=Kn,this.internal.__cell__.table_font_size=ba,this.internal.__cell__.padding=un,this.internal.__cell__.headerBackgroundColor=ri,this.internal.__cell__.headerTextColor=Cn,this.setFontSize(ba),Lr==null)Br=rn=Object.keys(Fr[0]),Yn=rn.map(function(){return"left"});else if(Array.isArray(Lr)&&E()(Lr[0])==="object")for(rn=Lr.map(function(Ri){return Ri.name}),Br=Lr.map(function(Ri){return Ri.prompt||Ri.name||""}),Yn=Lr.map(function(Ri){return Ri.align||"left"}),$t=0;$t<Lr.length;$t+=1)Li[Lr[$t].name]=Lr[$t].width*(19.049976/25.4);else Array.isArray(Lr)&&typeof Lr[0]=="string"&&(Br=rn=Lr,Yn=rn.map(function(){return"left"}));if(qi||Array.isArray(Lr)&&typeof Lr[0]=="string")for($t=0;$t<rn.length;$t+=1){for(xi[pn=rn[$t]]=Fr.map(function(Ri){return Ri[pn]}),this.setFont(void 0,"bold"),Vi.push(this.getTextDimensions(Br[$t],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),Rn=xi[pn],this.setFont(void 0,"normal"),wr=0;wr<Rn.length;wr+=1)Vi.push(this.getTextDimensions(Rn[wr],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);Li[pn]=Math.max.apply(null,Vi)+un+un,Vi=[]}if(bi){var ki={};for($t=0;$t<rn.length;$t+=1)ki[rn[$t]]={},ki[rn[$t]].text=Br[$t],ki[rn[$t]].align=Yn[$t];var Tn=Lt.call(this,ki,Li);Wi=rn.map(function(Ri){return new $e(vt,Qt,Li[Ri],Tn,ki[Ri].text,void 0,ki[Ri].align)}),this.setTableHeaderRow(Wi),this.printHeaderRow(1,!1)}var oa=Lr.reduce(function(Ri,Da){return Ri[Da.name]=Da.align,Ri},{});for($t=0;$t<Fr.length;$t+=1){"rowStart"in Gr&&Gr.rowStart instanceof Function&&Gr.rowStart({row:$t,data:Fr[$t]},this);var Ti=Lt.call(this,Fr[$t],Li);for(wr=0;wr<rn.length;wr+=1){var li=Fr[$t][rn[wr]];"cellStart"in Gr&&Gr.cellStart instanceof Function&&Gr.cellStart({row:$t,col:wr,data:li},this),st.call(this,new $e(vt,Qt,Li[rn[wr]],Ti,li,$t+2,oa[rn[wr]]))}}return this.internal.__cell__.table_x=vt,this.internal.__cell__.table_y=Qt,this};var Lt=function(Qt,Fr){var Lr=this.internal.__cell__.padding,Gr=this.internal.__cell__.table_font_size,$t=this.internal.scaleFactor;return Object.keys(Qt).map(function(Rn){var wr=Qt[Rn];return this.splitTextToSize(wr.hasOwnProperty("text")?wr.text:wr,Fr[Rn]-Lr-Lr)},this).map(function(Rn){return this.getLineHeightFactor()*Rn.length*Gr/$t+Lr+Lr},this).reduce(function(Rn,wr){return Math.max(Rn,wr)},0)};it.setTableHeaderRow=function(vt){Ge.call(this),this.internal.__cell__.tableHeaderRow=vt},it.printHeaderRow=function(vt,Qt){if(Ge.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var Fr;if(Ke=!0,typeof this.internal.__cell__.headerFunction=="function"){var Lr=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new $e(Lr[0],Lr[1],Lr[2],Lr[3],void 0,-1)}this.setFont(void 0,"bold");for(var Gr=[],$t=0;$t<this.internal.__cell__.tableHeaderRow.length;$t+=1){Fr=this.internal.__cell__.tableHeaderRow[$t].clone(),Qt&&(Fr.y=this.internal.__cell__.margins.top||0,Gr.push(Fr)),Fr.lineNumber=vt;var Rn=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),st.call(this,Fr),this.setTextColor(Rn)}Gr.length>0&&this.setTableHeaderRow(Gr),this.setFont(void 0,"normal"),Ke=!1}}(X.API);var Xt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},pr=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],mt=ye(pr),nr=[100,200,300,400,500,600,700,800,900],yr=ye(nr);function gn(it){var Re=it.family.replace(/"|'/g,"").toLowerCase(),Ke=function($e){return Xt[$e=$e||"normal"]?$e:"normal"}(it.style),Ge=function($e){if(!$e)return 400;if(typeof $e=="number")return $e>=100&&$e<=900&&$e%100==0?$e:400;if(/^\d00$/.test($e))return parseInt($e);switch($e){case"bold":return 700;case"normal":default:return 400}}(it.weight),et=function($e){return typeof mt[$e=$e||"normal"]=="number"?$e:"normal"}(it.stretch);return{family:Re,style:Ke,weight:Ge,stretch:et,src:it.src||[],ref:it.ref||{name:Re,style:[et,Ke,Ge].join(" ")}}}function _r(it,Re,Ke,Ge){var et;for(et=Ke;et>=0&&et<Re.length;et+=Ge)if(it[Re[et]])return it[Re[et]];for(et=Ke;et>=0&&et<Re.length;et-=Ge)if(it[Re[et]])return it[Re[et]]}var ur={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},zt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function bt(it){return[it.stretch,it.style,it.weight,it.family].join(" ")}function ot(it,Re,Ke){for(var Ge=(Ke=Ke||{}).defaultFontFamily||"times",et=Object.assign({},ur,Ke.genericFontFamilies||{}),$e=null,st=null,Lt=0;Lt<Re.length;++Lt)if(et[($e=gn(Re[Lt])).family]&&($e.family=et[$e.family]),it.hasOwnProperty($e.family)){st=it[$e.family];break}if(!(st=st||it[Ge]))throw new Error("Could not find a font-family for the rule '"+bt($e)+"' and default family '"+Ge+"'.");if(st=function(vt,Qt){if(Qt[vt])return Qt[vt];var Fr=mt[vt],Lr=Fr<=mt.normal?-1:1,Gr=_r(Qt,pr,Fr,Lr);if(!Gr)throw new Error("Could not find a matching font-stretch value for "+vt);return Gr}($e.stretch,st),st=function(vt,Qt){if(Qt[vt])return Qt[vt];for(var Fr=Xt[vt],Lr=0;Lr<Fr.length;++Lr)if(Qt[Fr[Lr]])return Qt[Fr[Lr]];throw new Error("Could not find a matching font-style for "+vt)}($e.style,st),!(st=function(vt,Qt){if(Qt[vt])return Qt[vt];if(vt===400&&Qt[500])return Qt[500];if(vt===500&&Qt[400])return Qt[400];var Fr=yr[vt],Lr=_r(Qt,nr,Fr,vt<400?-1:1);if(!Lr)throw new Error("Could not find a matching font-weight for value "+vt);return Lr}($e.weight,st)))throw new Error("Failed to resolve a font for the rule '"+bt($e)+"'.");return st}function lr(it){return it.trimLeft()}function jr(it,Re){for(var Ke=0;Ke<it.length;){if(it.charAt(Ke)===Re)return[it.substring(0,Ke),it.substring(Ke+1)];Ke+=1}return null}function Rr(it){var Re=it.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return Re===null?null:[Re[0],it.substring(Re[0].length)]}var xr,Vn,bn,di=["times"];!function(it){var Re,Ke,Ge,et,$e,st,Lt,vt,Qt,Fr=function(on){return on=on||{},this.isStrokeTransparent=on.isStrokeTransparent||!1,this.strokeOpacity=on.strokeOpacity||1,this.strokeStyle=on.strokeStyle||"#000000",this.fillStyle=on.fillStyle||"#000000",this.isFillTransparent=on.isFillTransparent||!1,this.fillOpacity=on.fillOpacity||1,this.font=on.font||"10px sans-serif",this.textBaseline=on.textBaseline||"alphabetic",this.textAlign=on.textAlign||"left",this.lineWidth=on.lineWidth||1,this.lineJoin=on.lineJoin||"miter",this.lineCap=on.lineCap||"butt",this.path=on.path||[],this.transform=on.transform!==void 0?on.transform.clone():new vt,this.globalCompositeOperation=on.globalCompositeOperation||"normal",this.globalAlpha=on.globalAlpha||1,this.clip_path=on.clip_path||[],this.currentPoint=on.currentPoint||new st,this.miterLimit=on.miterLimit||10,this.lastPoint=on.lastPoint||new st,this.lineDashOffset=on.lineDashOffset||0,this.lineDash=on.lineDash||[],this.margin=on.margin||[0,0,0,0],this.prevPageLastElemOffset=on.prevPageLastElemOffset||0,this.ignoreClearRect=typeof on.ignoreClearRect!="boolean"||on.ignoreClearRect,this};it.events.push(["initialized",function(){this.context2d=new Lr(this),Re=this.internal.f2,Ke=this.internal.getCoordinateString,Ge=this.internal.getVerticalCoordinateString,et=this.internal.getHorizontalCoordinate,$e=this.internal.getVerticalCoordinate,st=this.internal.Point,Lt=this.internal.Rectangle,vt=this.internal.Matrix,Qt=new Fr}]);var Lr=function(on){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var Zn=on;Object.defineProperty(this,"pdf",{get:function(){return Zn}});var hi=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return hi},set:function($i){hi=Boolean($i)}});var Ni=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Ni},set:function($i){Ni=Boolean($i)}});var zi=0;Object.defineProperty(this,"posX",{get:function(){return zi},set:function($i){isNaN($i)||(zi=$i)}});var ea=0;Object.defineProperty(this,"posY",{get:function(){return ea},set:function($i){isNaN($i)||(ea=$i)}}),Object.defineProperty(this,"margin",{get:function(){return Qt.margin},set:function($i){var io;typeof $i=="number"?io=[$i,$i,$i,$i]:((io=new Array(4))[0]=$i[0],io[1]=$i.length>=2?$i[1]:io[0],io[2]=$i.length>=3?$i[2]:io[0],io[3]=$i.length>=4?$i[3]:io[1]),Qt.margin=io}});var Fi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Fi},set:function($i){Fi=$i}});var ia=0;Object.defineProperty(this,"lastBreak",{get:function(){return ia},set:function($i){ia=$i}});var Va=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Va},set:function($i){Va=$i}}),Object.defineProperty(this,"ctx",{get:function(){return Qt},set:function($i){$i instanceof Fr&&(Qt=$i)}}),Object.defineProperty(this,"path",{get:function(){return Qt.path},set:function($i){Qt.path=$i}});var fo=[];Object.defineProperty(this,"ctxStack",{get:function(){return fo},set:function($i){fo=$i}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function($i){var io;io=Gr($i),this.ctx.fillStyle=io.style,this.ctx.isFillTransparent=io.a===0,this.ctx.fillOpacity=io.a,this.pdf.setFillColor(io.r,io.g,io.b,{a:io.a}),this.pdf.setTextColor(io.r,io.g,io.b,{a:io.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function($i){var io=Gr($i);this.ctx.strokeStyle=io.style,this.ctx.isStrokeTransparent=io.a===0,this.ctx.strokeOpacity=io.a,io.a===0?this.pdf.setDrawColor(255,255,255):(io.a,this.pdf.setDrawColor(io.r,io.g,io.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function($i){["butt","round","square"].indexOf($i)!==-1&&(this.ctx.lineCap=$i,this.pdf.setLineCap($i))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function($i){isNaN($i)||(this.ctx.lineWidth=$i,this.pdf.setLineWidth($i))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function($i){["bevel","round","miter"].indexOf($i)!==-1&&(this.ctx.lineJoin=$i,this.pdf.setLineJoin($i))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function($i){isNaN($i)||(this.ctx.miterLimit=$i,this.pdf.setMiterLimit($i))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function($i){this.ctx.textBaseline=$i}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function($i){["right","end","center","left","start"].indexOf($i)!==-1&&(this.ctx.textAlign=$i)}});var ja=null;function Ka(mn,$i){if(ja===null){var io=function(La){var ao=[];return Object.keys(La).forEach(function(tr){La[tr].forEach(function(An){var _n=null;switch(An){case"bold":_n={family:tr,weight:"bold"};break;case"italic":_n={family:tr,style:"italic"};break;case"bolditalic":_n={family:tr,weight:"bold",style:"italic"};break;case"":case"normal":_n={family:tr}}_n!==null&&(_n.ref={name:tr,style:An},ao.push(_n))})}),ao}(mn.getFontList());ja=function(La){for(var ao={},tr=0;tr<La.length;++tr){var An=gn(La[tr]),_n=An.family,Bn=An.stretch,tt=An.style,Ft=An.weight;ao[_n]=ao[_n]||{},ao[_n][Bn]=ao[_n][Bn]||{},ao[_n][Bn][tt]=ao[_n][Bn][tt]||{},ao[_n][Bn][tt][Ft]=An}return ao}(io.concat($i))}return ja}var Gi=null;Object.defineProperty(this,"fontFaces",{get:function(){return Gi},set:function($i){ja=null,Gi=$i}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function($i){var io;if(this.ctx.font=$i,(io=/^\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($i))!==null){var La=io[1],ao=(io[2],io[3]),tr=io[4],An=(io[5],io[6]),_n=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(tr)[2];tr=_n==="px"?Math.floor(parseFloat(tr)*this.pdf.internal.scaleFactor):_n==="em"?Math.floor(parseFloat(tr)*this.pdf.getFontSize()):Math.floor(parseFloat(tr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(tr);var Bn=function(cn){var In,Xn,ii=[],fi=cn.trim();if(fi==="")return di;if(fi in zt)return[zt[fi]];for(;fi!=="";){switch(Xn=null,In=(fi=lr(fi)).charAt(0)){case'"':case"'":Xn=jr(fi.substring(1),In);break;default:Xn=Rr(fi)}if(Xn===null)return di;if(ii.push(Xn[0]),(fi=lr(Xn[1]))!==""&&fi.charAt(0)!==",")return di;fi=fi.replace(/^,/,"")}return ii}(An);if(this.fontFaces){var tt=ot(Ka(this.pdf,this.fontFaces),Bn.map(function(cn){return{family:cn,stretch:"normal",weight:ao,style:La}}));this.pdf.setFont(tt.ref.name,tt.ref.style)}else{var Ft="";(ao==="bold"||parseInt(ao,10)>=700||La==="bold")&&(Ft="bold"),La==="italic"&&(Ft+="italic"),Ft.length===0&&(Ft="normal");for(var Cr="",gr={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Yr=0;Yr<Bn.length;Yr++){if(this.pdf.internal.getFont(Bn[Yr],Ft,{noFallback:!0,disableWarning:!0})!==void 0){Cr=Bn[Yr];break}if(Ft==="bolditalic"&&this.pdf.internal.getFont(Bn[Yr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Cr=Bn[Yr],Ft="bold";else if(this.pdf.internal.getFont(Bn[Yr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Cr=Bn[Yr],Ft="normal";break}}if(Cr===""){for(var en=0;en<Bn.length;en++)if(gr[Bn[en]]){Cr=gr[Bn[en]];break}}Cr=Cr===""?"Times":Cr,this.pdf.setFont(Cr,Ft)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function($i){this.ctx.globalCompositeOperation=$i}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function($i){this.ctx.globalAlpha=$i}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function($i){this.ctx.lineDashOffset=$i,Da.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function($i){this.ctx.lineDash=$i,Da.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function($i){this.ctx.ignoreClearRect=Boolean($i)}})};Lr.prototype.setLineDash=function(Un){this.lineDash=Un},Lr.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Lr.prototype.fill=function(){xi.call(this,"fill",!1)},Lr.prototype.stroke=function(){xi.call(this,"stroke",!1)},Lr.prototype.beginPath=function(){this.path=[{type:"begin"}]},Lr.prototype.moveTo=function(Un,on){if(isNaN(Un)||isNaN(on))throw d.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Zn=this.ctx.transform.applyToPoint(new st(Un,on));this.path.push({type:"mt",x:Zn.x,y:Zn.y}),this.ctx.lastPoint=new st(Un,on)},Lr.prototype.closePath=function(){var Un=new st(0,0),on=0;for(on=this.path.length-1;on!==-1;on--)if(this.path[on].type==="begin"&&E()(this.path[on+1])==="object"&&typeof this.path[on+1].x=="number"){Un=new st(this.path[on+1].x,this.path[on+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new st(Un.x,Un.y)},Lr.prototype.lineTo=function(Un,on){if(isNaN(Un)||isNaN(on))throw d.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Zn=this.ctx.transform.applyToPoint(new st(Un,on));this.path.push({type:"lt",x:Zn.x,y:Zn.y}),this.ctx.lastPoint=new st(Zn.x,Zn.y)},Lr.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),xi.call(this,null,!0)},Lr.prototype.quadraticCurveTo=function(Un,on,Zn,hi){if(isNaN(Zn)||isNaN(hi)||isNaN(Un)||isNaN(on))throw d.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Ni=this.ctx.transform.applyToPoint(new st(Zn,hi)),zi=this.ctx.transform.applyToPoint(new st(Un,on));this.path.push({type:"qct",x1:zi.x,y1:zi.y,x:Ni.x,y:Ni.y}),this.ctx.lastPoint=new st(Ni.x,Ni.y)},Lr.prototype.bezierCurveTo=function(Un,on,Zn,hi,Ni,zi){if(isNaN(Ni)||isNaN(zi)||isNaN(Un)||isNaN(on)||isNaN(Zn)||isNaN(hi))throw d.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var ea=this.ctx.transform.applyToPoint(new st(Ni,zi)),Fi=this.ctx.transform.applyToPoint(new st(Un,on)),ia=this.ctx.transform.applyToPoint(new st(Zn,hi));this.path.push({type:"bct",x1:Fi.x,y1:Fi.y,x2:ia.x,y2:ia.y,x:ea.x,y:ea.y}),this.ctx.lastPoint=new st(ea.x,ea.y)},Lr.prototype.arc=function(Un,on,Zn,hi,Ni,zi){if(isNaN(Un)||isNaN(on)||isNaN(Zn)||isNaN(hi)||isNaN(Ni))throw d.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(zi=Boolean(zi),!this.ctx.transform.isIdentity){var ea=this.ctx.transform.applyToPoint(new st(Un,on));Un=ea.x,on=ea.y;var Fi=this.ctx.transform.applyToPoint(new st(0,Zn)),ia=this.ctx.transform.applyToPoint(new st(0,0));Zn=Math.sqrt(Math.pow(Fi.x-ia.x,2)+Math.pow(Fi.y-ia.y,2))}Math.abs(Ni-hi)>=2*Math.PI&&(hi=0,Ni=2*Math.PI),this.path.push({type:"arc",x:Un,y:on,radius:Zn,startAngle:hi,endAngle:Ni,counterclockwise:zi})},Lr.prototype.arcTo=function(Un,on,Zn,hi,Ni){throw new Error("arcTo not implemented.")},Lr.prototype.rect=function(Un,on,Zn,hi){if(isNaN(Un)||isNaN(on)||isNaN(Zn)||isNaN(hi))throw d.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Un,on),this.lineTo(Un+Zn,on),this.lineTo(Un+Zn,on+hi),this.lineTo(Un,on+hi),this.lineTo(Un,on),this.lineTo(Un+Zn,on),this.lineTo(Un,on)},Lr.prototype.fillRect=function(Un,on,Zn,hi){if(isNaN(Un)||isNaN(on)||isNaN(Zn)||isNaN(hi))throw d.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!$t.call(this)){var Ni={};this.lineCap!=="butt"&&(Ni.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Ni.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Un,on,Zn,hi),this.fill(),Ni.hasOwnProperty("lineCap")&&(this.lineCap=Ni.lineCap),Ni.hasOwnProperty("lineJoin")&&(this.lineJoin=Ni.lineJoin)}},Lr.prototype.strokeRect=function(Un,on,Zn,hi){if(isNaN(Un)||isNaN(on)||isNaN(Zn)||isNaN(hi))throw d.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Rn.call(this)||(this.beginPath(),this.rect(Un,on,Zn,hi),this.stroke())},Lr.prototype.clearRect=function(Un,on,Zn,hi){if(isNaN(Un)||isNaN(on)||isNaN(Zn)||isNaN(hi))throw d.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Un,on,Zn,hi))},Lr.prototype.save=function(Un){Un=typeof Un!="boolean"||Un;for(var on=this.pdf.internal.getCurrentPageInfo().pageNumber,Zn=0;Zn<this.pdf.internal.getNumberOfPages();Zn++)this.pdf.setPage(Zn+1),this.pdf.internal.out("q");if(this.pdf.setPage(on),Un){this.ctx.fontSize=this.pdf.internal.getFontSize();var hi=new Fr(this.ctx);this.ctxStack.push(this.ctx),this.ctx=hi}},Lr.prototype.restore=function(Un){Un=typeof Un!="boolean"||Un;for(var on=this.pdf.internal.getCurrentPageInfo().pageNumber,Zn=0;Zn<this.pdf.internal.getNumberOfPages();Zn++)this.pdf.setPage(Zn+1),this.pdf.internal.out("Q");this.pdf.setPage(on),Un&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},Lr.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Gr=function(on){var Zn,hi,Ni,zi;if(on.isCanvasGradient===!0&&(on=on.getColor()),!on)return{r:0,g:0,b:0,a:0,style:on};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(on))Zn=0,hi=0,Ni=0,zi=0;else{var ea=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(on);if(ea!==null)Zn=parseInt(ea[1]),hi=parseInt(ea[2]),Ni=parseInt(ea[3]),zi=1;else if((ea=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(on))!==null)Zn=parseInt(ea[1]),hi=parseInt(ea[2]),Ni=parseInt(ea[3]),zi=parseFloat(ea[4]);else{if(zi=1,typeof on=="string"&&on.charAt(0)!=="#"){var Fi=new c(on);on=Fi.ok?Fi.toHex():"#000000"}on.length===4?(Zn=on.substring(1,2),Zn+=Zn,hi=on.substring(2,3),hi+=hi,Ni=on.substring(3,4),Ni+=Ni):(Zn=on.substring(1,3),hi=on.substring(3,5),Ni=on.substring(5,7)),Zn=parseInt(Zn,16),hi=parseInt(hi,16),Ni=parseInt(Ni,16)}}return{r:Zn,g:hi,b:Ni,a:zi,style:on}},$t=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Rn=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Lr.prototype.fillText=function(Un,on,Zn,hi){if(isNaN(on)||isNaN(Zn)||typeof Un!="string")throw d.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(hi=isNaN(hi)?void 0:hi,!$t.call(this)){var Ni=Ti(this.ctx.transform.rotation),zi=this.ctx.transform.scaleX;un.call(this,{text:Un,x:on,y:Zn,scale:zi,angle:Ni,align:this.textAlign,maxWidth:hi})}},Lr.prototype.strokeText=function(Un,on,Zn,hi){if(isNaN(on)||isNaN(Zn)||typeof Un!="string")throw d.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Rn.call(this)){hi=isNaN(hi)?void 0:hi;var Ni=Ti(this.ctx.transform.rotation),zi=this.ctx.transform.scaleX;un.call(this,{text:Un,x:on,y:Zn,scale:zi,renderingMode:"stroke",angle:Ni,align:this.textAlign,maxWidth:hi})}},Lr.prototype.measureText=function(Un){if(typeof Un!="string")throw d.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var on=this.pdf,Zn=this.pdf.internal.scaleFactor,hi=on.internal.getFontSize(),Ni=on.getStringUnitWidth(Un)*hi/on.internal.scaleFactor,zi=function(Fi){var ia=(Fi=Fi||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return ia}}),this};return new zi({width:Ni*=Math.round(96*Zn/72*1e4)/1e4})},Lr.prototype.scale=function(Un,on){if(isNaN(Un)||isNaN(on))throw d.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Zn=new vt(Un,0,0,on,0,0);this.ctx.transform=this.ctx.transform.multiply(Zn)},Lr.prototype.rotate=function(Un){if(isNaN(Un))throw d.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var on=new vt(Math.cos(Un),Math.sin(Un),-Math.sin(Un),Math.cos(Un),0,0);this.ctx.transform=this.ctx.transform.multiply(on)},Lr.prototype.translate=function(Un,on){if(isNaN(Un)||isNaN(on))throw d.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Zn=new vt(1,0,0,1,Un,on);this.ctx.transform=this.ctx.transform.multiply(Zn)},Lr.prototype.transform=function(Un,on,Zn,hi,Ni,zi){if(isNaN(Un)||isNaN(on)||isNaN(Zn)||isNaN(hi)||isNaN(Ni)||isNaN(zi))throw d.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var ea=new vt(Un,on,Zn,hi,Ni,zi);this.ctx.transform=this.ctx.transform.multiply(ea)},Lr.prototype.setTransform=function(Un,on,Zn,hi,Ni,zi){Un=isNaN(Un)?1:Un,on=isNaN(on)?0:on,Zn=isNaN(Zn)?0:Zn,hi=isNaN(hi)?1:hi,Ni=isNaN(Ni)?0:Ni,zi=isNaN(zi)?0:zi,this.ctx.transform=new vt(Un,on,Zn,hi,Ni,zi)};var wr=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Lr.prototype.drawImage=function(Un,on,Zn,hi,Ni,zi,ea,Fi,ia){var Va=this.pdf.getImageProperties(Un),fo=1,ja=1,Ka=1,Gi=1;hi!==void 0&&Fi!==void 0&&(Ka=Fi/hi,Gi=ia/Ni,fo=Va.width/hi*Fi/hi,ja=Va.height/Ni*ia/Ni),zi===void 0&&(zi=on,ea=Zn,on=0,Zn=0),hi!==void 0&&Fi===void 0&&(Fi=hi,ia=Ni),hi===void 0&&Fi===void 0&&(Fi=Va.width,ia=Va.height);for(var mn,$i=this.ctx.transform.decompose(),io=Ti($i.rotate.shx),La=new vt,ao=(La=(La=(La=La.multiply($i.translate)).multiply($i.skew)).multiply($i.scale)).applyToRectangle(new Lt(zi-on*Ka,ea-Zn*Gi,hi*fo,Ni*ja)),tr=pn.call(this,ao),An=[],_n=0;_n<tr.length;_n+=1)An.indexOf(tr[_n])===-1&&An.push(tr[_n]);if(Yn(An),this.autoPaging)for(var Bn=An[0],tt=An[An.length-1],Ft=Bn;Ft<tt+1;Ft++){this.pdf.setPage(Ft);var Cr=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],gr=Ft===1?this.posY+this.margin[0]:this.margin[0],Yr=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],en=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],cn=Ft===1?0:Yr+(Ft-2)*en;if(this.ctx.clip_path.length!==0){var In=this.path;mn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Br(mn,this.posX+this.margin[3],-cn+gr+this.ctx.prevPageLastElemOffset),Li.call(this,"fill",!0),this.path=In}var Xn=JSON.parse(JSON.stringify(ao));Xn=Br([Xn],this.posX+this.margin[3],-cn+gr+this.ctx.prevPageLastElemOffset)[0];var ii=(Ft>Bn||Ft<tt)&&wr.call(this);ii&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Cr,en,null).clip().discardPath()),this.pdf.addImage(Un,"JPEG",Xn.x,Xn.y,Xn.w,Xn.h,null,null,io),ii&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Un,"JPEG",ao.x,ao.y,ao.w,ao.h,null,null,io)};var pn=function(on,Zn,hi){var Ni=[];Zn=Zn||this.pdf.internal.pageSize.width,hi=hi||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var zi=this.posY+this.ctx.prevPageLastElemOffset;switch(on.type){default:case"mt":case"lt":Ni.push(Math.floor((on.y+zi)/hi)+1);break;case"arc":Ni.push(Math.floor((on.y+zi-on.radius)/hi)+1),Ni.push(Math.floor((on.y+zi+on.radius)/hi)+1);break;case"qct":var ea=li(this.ctx.lastPoint.x,this.ctx.lastPoint.y,on.x1,on.y1,on.x,on.y);Ni.push(Math.floor((ea.y+zi)/hi)+1),Ni.push(Math.floor((ea.y+ea.h+zi)/hi)+1);break;case"bct":var Fi=Ri(this.ctx.lastPoint.x,this.ctx.lastPoint.y,on.x1,on.y1,on.x2,on.y2,on.x,on.y);Ni.push(Math.floor((Fi.y+zi)/hi)+1),Ni.push(Math.floor((Fi.y+Fi.h+zi)/hi)+1);break;case"rect":Ni.push(Math.floor((on.y+zi)/hi)+1),Ni.push(Math.floor((on.y+on.h+zi)/hi)+1)}for(var ia=0;ia<Ni.length;ia+=1)for(;this.pdf.internal.getNumberOfPages()<Ni[ia];)rn.call(this);return Ni},rn=function(){var on=this.fillStyle,Zn=this.strokeStyle,hi=this.font,Ni=this.lineCap,zi=this.lineWidth,ea=this.lineJoin;this.pdf.addPage(),this.fillStyle=on,this.strokeStyle=Zn,this.font=hi,this.lineCap=Ni,this.lineWidth=zi,this.lineJoin=ea},Br=function(on,Zn,hi){for(var Ni=0;Ni<on.length;Ni++)switch(on[Ni].type){case"bct":on[Ni].x2+=Zn,on[Ni].y2+=hi;case"qct":on[Ni].x1+=Zn,on[Ni].y1+=hi;case"mt":case"lt":case"arc":default:on[Ni].x+=Zn,on[Ni].y+=hi}return on},Yn=function(on){return on.sort(function(Zn,hi){return Zn-hi})},xi=function(on,Zn){for(var hi,Ni,zi=this.fillStyle,ea=this.strokeStyle,Fi=this.lineCap,ia=this.lineWidth,Va=Math.abs(ia*this.ctx.transform.scaleX),fo=this.lineJoin,ja=JSON.parse(JSON.stringify(this.path)),Ka=JSON.parse(JSON.stringify(this.path)),Gi=[],mn=0;mn<Ka.length;mn++)if(Ka[mn].x!==void 0)for(var $i=pn.call(this,Ka[mn]),io=0;io<$i.length;io+=1)Gi.indexOf($i[io])===-1&&Gi.push($i[io]);for(var La=0;La<Gi.length;La++)for(;this.pdf.internal.getNumberOfPages()<Gi[La];)rn.call(this);if(Yn(Gi),this.autoPaging)for(var ao=Gi[0],tr=Gi[Gi.length-1],An=ao;An<tr+1;An++){this.pdf.setPage(An),this.fillStyle=zi,this.strokeStyle=ea,this.lineCap=Fi,this.lineWidth=Va,this.lineJoin=fo;var _n=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Bn=An===1?this.posY+this.margin[0]:this.margin[0],tt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ft=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Cr=An===1?0:tt+(An-2)*Ft;if(this.ctx.clip_path.length!==0){var gr=this.path;hi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Br(hi,this.posX+this.margin[3],-Cr+Bn+this.ctx.prevPageLastElemOffset),Li.call(this,on,!0),this.path=gr}if(Ni=JSON.parse(JSON.stringify(ja)),this.path=Br(Ni,this.posX+this.margin[3],-Cr+Bn+this.ctx.prevPageLastElemOffset),Zn===!1||An===0){var Yr=(An>ao||An<tr)&&wr.call(this);Yr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],_n,Ft,null).clip().discardPath()),Li.call(this,on,Zn),Yr&&this.pdf.restoreGraphicsState()}this.lineWidth=ia}else this.lineWidth=Va,Li.call(this,on,Zn),this.lineWidth=ia;this.path=ja},Li=function(on,Zn){if((on!=="stroke"||Zn||!Rn.call(this))&&(on==="stroke"||Zn||!$t.call(this))){for(var hi,Ni,zi=[],ea=this.path,Fi=0;Fi<ea.length;Fi++){var ia=ea[Fi];switch(ia.type){case"begin":zi.push({begin:!0});break;case"close":zi.push({close:!0});break;case"mt":zi.push({start:ia,deltas:[],abs:[]});break;case"lt":var Va=zi.length;if(ea[Fi-1]&&!isNaN(ea[Fi-1].x)&&(hi=[ia.x-ea[Fi-1].x,ia.y-ea[Fi-1].y],Va>0)){for(;Va>=0;Va--)if(zi[Va-1].close!==!0&&zi[Va-1].begin!==!0){zi[Va-1].deltas.push(hi),zi[Va-1].abs.push(ia);break}}break;case"bct":hi=[ia.x1-ea[Fi-1].x,ia.y1-ea[Fi-1].y,ia.x2-ea[Fi-1].x,ia.y2-ea[Fi-1].y,ia.x-ea[Fi-1].x,ia.y-ea[Fi-1].y],zi[zi.length-1].deltas.push(hi);break;case"qct":var fo=ea[Fi-1].x+2/3*(ia.x1-ea[Fi-1].x),ja=ea[Fi-1].y+2/3*(ia.y1-ea[Fi-1].y),Ka=ia.x+2/3*(ia.x1-ia.x),Gi=ia.y+2/3*(ia.y1-ia.y),mn=ia.x,$i=ia.y;hi=[fo-ea[Fi-1].x,ja-ea[Fi-1].y,Ka-ea[Fi-1].x,Gi-ea[Fi-1].y,mn-ea[Fi-1].x,$i-ea[Fi-1].y],zi[zi.length-1].deltas.push(hi);break;case"arc":zi.push({deltas:[],abs:[],arc:!0}),Array.isArray(zi[zi.length-1].abs)&&zi[zi.length-1].abs.push(ia)}}Ni=Zn?null:on==="stroke"?"stroke":"fill";for(var io=!1,La=0;La<zi.length;La++)if(zi[La].arc)for(var ao=zi[La].abs,tr=0;tr<ao.length;tr++){var An=ao[tr];An.type==="arc"?qi.call(this,An.x,An.y,An.radius,An.startAngle,An.endAngle,An.counterclockwise,void 0,Zn,!io):ri.call(this,An.x,An.y),io=!0}else if(zi[La].close===!0)this.pdf.internal.out("h"),io=!1;else if(zi[La].begin!==!0){var _n=zi[La].start.x,Bn=zi[La].start.y;Cn.call(this,zi[La].deltas,_n,Bn),io=!0}Ni&&bi.call(this,Ni),Zn&&ba.call(this)}},Vi=function(on){var Zn=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,hi=Zn*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return on-hi;case"top":return on+Zn-hi;case"hanging":return on+Zn-2*hi;case"middle":return on+Zn/2-hi;case"ideographic":return on;case"alphabetic":default:return on}},Wi=function(on){return on+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Lr.prototype.createLinearGradient=function(){var Un=function(){};return Un.colorStops=[],Un.addColorStop=function(on,Zn){this.colorStops.push([on,Zn])},Un.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Un.isCanvasGradient=!0,Un},Lr.prototype.createPattern=function(){return this.createLinearGradient()},Lr.prototype.createRadialGradient=function(){return this.createLinearGradient()};var qi=function(on,Zn,hi,Ni,zi,ea,Fi,ia,Va){for(var fo=Tn.call(this,hi,Ni,zi,ea),ja=0;ja<fo.length;ja++){var Ka=fo[ja];ja===0&&(Va?Kn.call(this,Ka.x1+on,Ka.y1+Zn):ri.call(this,Ka.x1+on,Ka.y1+Zn)),ki.call(this,on,Zn,Ka.x2,Ka.y2,Ka.x3,Ka.y3,Ka.x4,Ka.y4)}ia?ba.call(this):bi.call(this,Fi)},bi=function(on){switch(on){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},ba=function(){this.pdf.clip(),this.pdf.discardPath()},Kn=function(on,Zn){this.pdf.internal.out(Ke(on)+" "+Ge(Zn)+" m")},un=function(on){var Zn;switch(on.align){case"right":case"end":Zn="right";break;case"center":Zn="center";break;case"left":case"start":default:Zn="left"}var hi=this.pdf.getTextDimensions(on.text),Ni=Vi.call(this,on.y),zi=Wi.call(this,Ni)-hi.h,ea=this.ctx.transform.applyToPoint(new st(on.x,Ni)),Fi=this.ctx.transform.decompose(),ia=new vt;ia=(ia=(ia=ia.multiply(Fi.translate)).multiply(Fi.skew)).multiply(Fi.scale);for(var Va,fo,ja,Ka=this.ctx.transform.applyToRectangle(new Lt(on.x,Ni,hi.w,hi.h)),Gi=ia.applyToRectangle(new Lt(on.x,zi,hi.w,hi.h)),mn=pn.call(this,Gi),$i=[],io=0;io<mn.length;io+=1)$i.indexOf(mn[io])===-1&&$i.push(mn[io]);if(Yn($i),this.autoPaging)for(var La=$i[0],ao=$i[$i.length-1],tr=La;tr<ao+1;tr++){this.pdf.setPage(tr);var An=tr===1?this.posY+this.margin[0]:this.margin[0],_n=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Bn=this.pdf.internal.pageSize.height-this.margin[2],tt=Bn-this.margin[0],Ft=this.pdf.internal.pageSize.width-this.margin[1],Cr=Ft-this.margin[3],gr=tr===1?0:_n+(tr-2)*tt;if(this.ctx.clip_path.length!==0){var Yr=this.path;Va=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Br(Va,this.posX+this.margin[3],-1*gr+An),Li.call(this,"fill",!0),this.path=Yr}var en=Br([JSON.parse(JSON.stringify(Gi))],this.posX+this.margin[3],-gr+An+this.ctx.prevPageLastElemOffset)[0];on.scale>=.01&&(fo=this.pdf.internal.getFontSize(),this.pdf.setFontSize(fo*on.scale),ja=this.lineWidth,this.lineWidth=ja*on.scale);var cn=this.autoPaging!=="text";if(cn||en.y+en.h<=Bn){if(cn||en.y>=An&&en.x<=Ft){var In=cn?on.text:this.pdf.splitTextToSize(on.text,on.maxWidth||Ft-en.x)[0],Xn=Br([JSON.parse(JSON.stringify(Ka))],this.posX+this.margin[3],-gr+An+this.ctx.prevPageLastElemOffset)[0],ii=cn&&(tr>La||tr<ao)&&wr.call(this);ii&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Cr,tt,null).clip().discardPath()),this.pdf.text(In,Xn.x,Xn.y,{angle:on.angle,align:Zn,renderingMode:on.renderingMode}),ii&&this.pdf.restoreGraphicsState()}}else en.y<Bn&&(this.ctx.prevPageLastElemOffset+=Bn-en.y);on.scale>=.01&&(this.pdf.setFontSize(fo),this.lineWidth=ja)}else on.scale>=.01&&(fo=this.pdf.internal.getFontSize(),this.pdf.setFontSize(fo*on.scale),ja=this.lineWidth,this.lineWidth=ja*on.scale),this.pdf.text(on.text,ea.x+this.posX,ea.y+this.posY,{angle:on.angle,align:Zn,renderingMode:on.renderingMode,maxWidth:on.maxWidth}),on.scale>=.01&&(this.pdf.setFontSize(fo),this.lineWidth=ja)},ri=function(on,Zn,hi,Ni){hi=hi||0,Ni=Ni||0,this.pdf.internal.out(Ke(on+hi)+" "+Ge(Zn+Ni)+" l")},Cn=function(on,Zn,hi){return this.pdf.lines(on,Zn,hi,null,null)},ki=function(on,Zn,hi,Ni,zi,ea,Fi,ia){this.pdf.internal.out([Re(et(hi+on)),Re($e(Ni+Zn)),Re(et(zi+on)),Re($e(ea+Zn)),Re(et(Fi+on)),Re($e(ia+Zn)),"c"].join(" "))},Tn=function(on,Zn,hi,Ni){for(var zi=2*Math.PI,ea=Math.PI/2;Zn>hi;)Zn-=zi;var Fi=Math.abs(hi-Zn);Fi<zi&&Ni&&(Fi=zi-Fi);for(var ia=[],Va=Ni?-1:1,fo=Zn;Fi>1e-5;){var ja=fo+Va*Math.min(Fi,ea);ia.push(oa.call(this,on,fo,ja)),Fi-=Math.abs(ja-fo),fo=ja}return ia},oa=function(on,Zn,hi){var Ni=(hi-Zn)/2,zi=on*Math.cos(Ni),ea=on*Math.sin(Ni),Fi=zi,ia=-ea,Va=Fi*Fi+ia*ia,fo=Va+Fi*zi+ia*ea,ja=4/3*(Math.sqrt(2*Va*fo)-fo)/(Fi*ea-ia*zi),Ka=Fi-ja*ia,Gi=ia+ja*Fi,mn=Ka,$i=-Gi,io=Ni+Zn,La=Math.cos(io),ao=Math.sin(io);return{x1:on*Math.cos(Zn),y1:on*Math.sin(Zn),x2:Ka*La-Gi*ao,y2:Ka*ao+Gi*La,x3:mn*La-$i*ao,y3:mn*ao+$i*La,x4:on*Math.cos(hi),y4:on*Math.sin(hi)}},Ti=function(on){return 180*on/Math.PI},li=function(on,Zn,hi,Ni,zi,ea){var Fi=on+.5*(hi-on),ia=Zn+.5*(Ni-Zn),Va=zi+.5*(hi-zi),fo=ea+.5*(Ni-ea),ja=Math.min(on,zi,Fi,Va),Ka=Math.max(on,zi,Fi,Va),Gi=Math.min(Zn,ea,ia,fo),mn=Math.max(Zn,ea,ia,fo);return new Lt(ja,Gi,Ka-ja,mn-Gi)},Ri=function(on,Zn,hi,Ni,zi,ea,Fi,ia){var Va,fo,ja,Ka,Gi,mn,$i,io,La,ao,tr,An,_n,Bn,tt=hi-on,Ft=Ni-Zn,Cr=zi-hi,gr=ea-Ni,Yr=Fi-zi,en=ia-ea;for(fo=0;fo<41;fo++)La=($i=(ja=on+(Va=fo/40)*tt)+Va*((Gi=hi+Va*Cr)-ja))+Va*(Gi+Va*(zi+Va*Yr-Gi)-$i),ao=(io=(Ka=Zn+Va*Ft)+Va*((mn=Ni+Va*gr)-Ka))+Va*(mn+Va*(ea+Va*en-mn)-io),fo==0?(tr=La,An=ao,_n=La,Bn=ao):(tr=Math.min(tr,La),An=Math.min(An,ao),_n=Math.max(_n,La),Bn=Math.max(Bn,ao));return new Lt(Math.round(tr),Math.round(An),Math.round(_n-tr),Math.round(Bn-An))},Da=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var on,Zn,hi=(on=this.ctx.lineDash,Zn=this.ctx.lineDashOffset,JSON.stringify({lineDash:on,lineDashOffset:Zn}));this.prevLineDash!==hi&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=hi)}}}(X.API),function(it){var Re=function(st){var Lt,vt,Qt,Fr,Lr,Gr,$t,Rn,wr,pn;for(/[^\x00-\xFF]/.test(st),vt=[],Qt=0,Fr=(st+=Lt="\0\0\0\0".slice(st.length%4||4)).length;Fr>Qt;Qt+=4)(Lr=(st.charCodeAt(Qt)<<24)+(st.charCodeAt(Qt+1)<<16)+(st.charCodeAt(Qt+2)<<8)+st.charCodeAt(Qt+3))!==0?(Gr=(Lr=((Lr=((Lr=((Lr=(Lr-(pn=Lr%85))/85)-(wr=Lr%85))/85)-(Rn=Lr%85))/85)-($t=Lr%85))/85)%85,vt.push(Gr+33,$t+33,Rn+33,wr+33,pn+33)):vt.push(122);return function(rn,Br){for(var Yn=Br;Yn>0;Yn--)rn.pop()}(vt,Lt.length),String.fromCharCode.apply(String,vt)+"~>"},Ke=function(st){var Lt,vt,Qt,Fr,Lr,Gr=String,$t="length",Rn=255,wr="charCodeAt",pn="slice",rn="replace";for(st[pn](-2),st=st[pn](0,-2)[rn](/\s/g,"")[rn]("z","!!!!!"),Qt=[],Fr=0,Lr=(st+=Lt="uuuuu"[pn](st[$t]%5||5))[$t];Lr>Fr;Fr+=5)vt=52200625*(st[wr](Fr)-33)+614125*(st[wr](Fr+1)-33)+7225*(st[wr](Fr+2)-33)+85*(st[wr](Fr+3)-33)+(st[wr](Fr+4)-33),Qt.push(Rn&vt>>24,Rn&vt>>16,Rn&vt>>8,Rn&vt);return function(Br,Yn){for(var xi=Yn;xi>0;xi--)Br.pop()}(Qt,Lt[$t]),Gr.fromCharCode.apply(Gr,Qt)},Ge=function(st){var Lt=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((st=st.replace(/\s/g,"")).indexOf(">")!==-1&&(st=st.substr(0,st.indexOf(">"))),st.length%2&&(st+="0"),Lt.test(st)===!1)return"";for(var vt="",Qt=0;Qt<st.length;Qt+=2)vt+=String.fromCharCode("0x"+(st[Qt]+st[Qt+1]));return vt},et=function(st){for(var Lt=new Uint8Array(st.length),vt=st.length;vt--;)Lt[vt]=st.charCodeAt(vt);return st=(Lt=Object(p.b)(Lt)).reduce(function(Qt,Fr){return Qt+String.fromCharCode(Fr)},"")};it.processDataByFilters=function($e,st){var Lt=0,vt=$e||"",Qt=[];for(typeof(st=st||[])=="string"&&(st=[st]),Lt=0;Lt<st.length;Lt+=1)switch(st[Lt]){case"ASCII85Decode":case"/ASCII85Decode":vt=Ke(vt),Qt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":vt=Re(vt),Qt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":vt=Ge(vt),Qt.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":vt=vt.split("").map(function(Fr){return("0"+Fr.charCodeAt().toString(16)).slice(-2)}).join("")+">",Qt.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":vt=et(vt),Qt.push("/FlateDecode");break;default:throw new Error('The filter: "'+st[Lt]+'" is not implemented')}return{data:vt,reverseChain:Qt.reverse().join(" ")}}}(X.API),function(it){it.loadFile=function(Re,Ke,Ge){return function(et,$e,st){$e=$e!==!1,st=typeof st=="function"?st:function(){};var Lt=void 0;try{Lt=function(vt,Qt,Fr){var Lr=new XMLHttpRequest,Gr=0,$t=function(wr){var pn=wr.length,rn=[],Br=String.fromCharCode;for(Gr=0;Gr<pn;Gr+=1)rn.push(Br(255&wr.charCodeAt(Gr)));return rn.join("")};if(Lr.open("GET",vt,!Qt),Lr.overrideMimeType("text/plain; charset=x-user-defined"),Qt===!1&&(Lr.onload=function(){Lr.status===200?Fr($t(this.responseText)):Fr(void 0)}),Lr.send(null),Qt&&Lr.status===200)return $t(Lr.responseText)}(et,$e,st)}catch(vt){}return Lt}(Re,Ke,Ge)},it.loadImageFile=it.loadFile}(X.API),function(it){function Re(){return(v.html2canvas?Promise.resolve(v.html2canvas):Promise.resolve().then(i.t.bind(null,"wOnQ",7))).catch(function(st){return Promise.reject(new Error("Could not load html2canvas: "+st))}).then(function(st){return st.default?st.default:st})}function Ke(){return(v.DOMPurify?Promise.resolve(v.DOMPurify):i.e(271).then(i.t.bind(null,"qZ2Q",7))).catch(function(st){return Promise.reject(new Error("Could not load dompurify: "+st))}).then(function(st){return st.default?st.default:st})}var Ge=function(Lt){var vt=E()(Lt);return vt==="undefined"?"undefined":vt==="string"||Lt instanceof String?"string":vt==="number"||Lt instanceof Number?"number":vt==="function"||Lt instanceof Function?"function":Lt&&Lt.constructor===Array?"array":Lt&&Lt.nodeType===1?"element":vt==="object"?"object":"unknown"},et=function(Lt,vt){var Qt=document.createElement(Lt);for(var Fr in vt.className&&(Qt.className=vt.className),vt.innerHTML&&vt.dompurify&&(Qt.innerHTML=vt.dompurify.sanitize(vt.innerHTML)),vt.style)Qt.style[Fr]=vt.style[Fr];return Qt},$e=function st(Lt){var vt=Object.assign(st.convert(Promise.resolve()),JSON.parse(JSON.stringify(st.template))),Qt=st.convert(Promise.resolve(),vt);return Qt=(Qt=Qt.setProgress(1,st,1,[st])).set(Lt)};($e.prototype=Object.create(Promise.prototype)).constructor=$e,$e.convert=function(st,Lt){return st.__proto__=Lt||$e.prototype,st},$e.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},$e.prototype.from=function(st,Lt){return this.then(function(){switch(Lt=Lt||function(vt){switch(Ge(vt)){case"string":return"string";case"element":return vt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(st)){case"string":return this.then(Ke).then(function(vt){return this.set({src:et("div",{innerHTML:st,dompurify:vt})})});case"element":return this.set({src:st});case"canvas":return this.set({canvas:st});case"img":return this.set({img:st});default:return this.error("Unknown source type.")}})},$e.prototype.to=function(st){switch(st){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.")}},$e.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 st={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},Lt=function vt(Qt,Fr){for(var Lr=Qt.nodeType===3?document.createTextNode(Qt.nodeValue):Qt.cloneNode(!1),Gr=Qt.firstChild;Gr;Gr=Gr.nextSibling)Fr!==!0&&Gr.nodeType===1&&Gr.nodeName==="SCRIPT"||Lr.appendChild(vt(Gr,Fr));return Qt.nodeType===1&&(Qt.nodeName==="CANVAS"?(Lr.width=Qt.width,Lr.height=Qt.height,Lr.getContext("2d").drawImage(Qt,0,0)):Qt.nodeName!=="TEXTAREA"&&Qt.nodeName!=="SELECT"||(Lr.value=Qt.value),Lr.addEventListener("load",function(){Lr.scrollTop=Qt.scrollTop,Lr.scrollLeft=Qt.scrollLeft},!0)),Lr}(this.prop.src,this.opt.html2canvas.javascriptEnabled);Lt.tagName==="BODY"&&(st.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=et("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=et("div",{className:"html2pdf__container",style:st}),this.prop.container.appendChild(Lt),this.prop.container.firstChild.appendChild(et("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"})},$e.prototype.toCanvas=function(){var st=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(st).then(Re).then(function(Lt){var vt=Object.assign({},this.opt.html2canvas);return delete vt.onrendered,Lt(this.prop.container,vt)}).then(function(Lt){(this.opt.html2canvas.onrendered||function(){})(Lt),this.prop.canvas=Lt,document.body.removeChild(this.prop.overlay)})},$e.prototype.toContext2d=function(){var st=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(st).then(Re).then(function(Lt){var vt=this.opt.jsPDF,Qt=this.opt.fontFaces,Fr=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,Lr=Object.assign({async:!0,allowTaint:!0,scale:Fr,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete Lr.onrendered,vt.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,vt.context2d.posX=this.opt.x,vt.context2d.posY=this.opt.y,vt.context2d.margin=this.opt.margin,vt.context2d.fontFaces=Qt,Qt)for(var Gr=0;Gr<Qt.length;++Gr){var $t=Qt[Gr],Rn=$t.src.find(function(wr){return wr.format==="truetype"});Rn&&vt.addFont(Rn.url,$t.ref.name,$t.ref.style)}return Lr.windowHeight=Lr.windowHeight||0,Lr.windowHeight=Lr.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Lr.windowHeight,vt.context2d.save(!0),Lt(this.prop.container,Lr)}).then(function(Lt){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(Lt),this.prop.canvas=Lt,document.body.removeChild(this.prop.overlay)})},$e.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var st=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=st})},$e.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},$e.prototype.output=function(st,Lt,vt){return(vt=vt||"pdf").toLowerCase()==="img"||vt.toLowerCase()==="image"?this.outputImg(st,Lt):this.outputPdf(st,Lt)},$e.prototype.outputPdf=function(st,Lt){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(st,Lt)})},$e.prototype.outputImg=function(st){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(st){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 "'+st+'" is not supported.'}})},$e.prototype.save=function(st){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(st?{filename:st}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},$e.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},$e.prototype.set=function(st){if(Ge(st)!=="object")return this;var Lt=Object.keys(st||{}).map(function(vt){if(vt in $e.template.prop)return function(){this.prop[vt]=st[vt]};switch(vt){case"margin":return this.setMargin.bind(this,st.margin);case"jsPDF":return function(){return this.opt.jsPDF=st.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,st.pageSize);default:return function(){this.opt[vt]=st[vt]}}},this);return this.then(function(){return this.thenList(Lt)})},$e.prototype.get=function(st,Lt){return this.then(function(){var vt=st in $e.template.prop?this.prop[st]:this.opt[st];return Lt?Lt(vt):vt})},$e.prototype.setMargin=function(st){return this.then(function(){switch(Ge(st)){case"number":st=[st,st,st,st];case"array":if(st.length===2&&(st=[st[0],st[1],st[0],st[1]]),st.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=st}).then(this.setPageSize)},$e.prototype.setPageSize=function(st){function Lt(vt,Qt){return Math.floor(vt*Qt/72*96)}return this.then(function(){(st=st||X.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(st.inner={width:st.width-this.opt.margin[1]-this.opt.margin[3],height:st.height-this.opt.margin[0]-this.opt.margin[2]},st.inner.px={width:Lt(st.inner.width,st.k),height:Lt(st.inner.height,st.k)},st.inner.ratio=st.inner.height/st.inner.width),this.prop.pageSize=st})},$e.prototype.setProgress=function(st,Lt,vt,Qt){return st!=null&&(this.progress.val=st),Lt!=null&&(this.progress.state=Lt),vt!=null&&(this.progress.n=vt),Qt!=null&&(this.progress.stack=Qt),this.progress.ratio=this.progress.val/this.progress.state,this},$e.prototype.updateProgress=function(st,Lt,vt,Qt){return this.setProgress(st?this.progress.val+st:null,Lt||null,vt?this.progress.n+vt:null,Qt?this.progress.stack.concat(Qt):null)},$e.prototype.then=function(st,Lt){var vt=this;return this.thenCore(st,Lt,function(Qt,Fr){return vt.updateProgress(null,null,1,[Qt]),Promise.prototype.then.call(this,function(Lr){return vt.updateProgress(null,Qt),Lr}).then(Qt,Fr).then(function(Lr){return vt.updateProgress(1),Lr})})},$e.prototype.thenCore=function(st,Lt,vt){vt=vt||Promise.prototype.then,st&&(st=st.bind(this)),Lt&&(Lt=Lt.bind(this));var Qt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:$e.convert(Object.assign({},this),Promise.prototype),Fr=vt.call(Qt,st,Lt);return $e.convert(Fr,this.__proto__)},$e.prototype.thenExternal=function(st,Lt){return Promise.prototype.then.call(this,st,Lt)},$e.prototype.thenList=function(st){var Lt=this;return st.forEach(function(vt){Lt=Lt.thenCore(vt)}),Lt},$e.prototype.catch=function(st){st&&(st=st.bind(this));var Lt=Promise.prototype.catch.call(this,st);return $e.convert(Lt,this)},$e.prototype.catchExternal=function(st){return Promise.prototype.catch.call(this,st)},$e.prototype.error=function(st){return this.then(function(){throw new Error(st)})},$e.prototype.using=$e.prototype.set,$e.prototype.saveAs=$e.prototype.save,$e.prototype.export=$e.prototype.output,$e.prototype.run=$e.prototype.then,X.getPageSize=function(st,Lt,vt){if(E()(st)==="object"){var Qt=st;st=Qt.orientation,Lt=Qt.unit||Lt,vt=Qt.format||vt}Lt=Lt||"mm",vt=vt||"a4",st=(""+(st||"P")).toLowerCase();var Fr,Lr=(""+vt).toLowerCase(),Gr={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(Lt){case"pt":Fr=1;break;case"mm":Fr=72/25.4;break;case"cm":Fr=72/2.54;break;case"in":Fr=72;break;case"px":Fr=.75;break;case"pc":case"em":Fr=12;break;case"ex":Fr=6;break;default:throw"Invalid unit: "+Lt}var $t,Rn=0,wr=0;if(Gr.hasOwnProperty(Lr))Rn=Gr[Lr][1]/Fr,wr=Gr[Lr][0]/Fr;else try{Rn=vt[1],wr=vt[0]}catch(pn){throw new Error("Invalid format: "+vt)}if(st==="p"||st==="portrait")st="p",wr>Rn&&($t=wr,wr=Rn,Rn=$t);else{if(st!=="l"&&st!=="landscape")throw"Invalid orientation: "+st;st="l",Rn>wr&&($t=wr,wr=Rn,Rn=$t)}return{width:wr,height:Rn,unit:Lt,k:Fr,orientation:st}},it.html=function(st,Lt){(Lt=Lt||{}).callback=Lt.callback||function(){},Lt.html2canvas=Lt.html2canvas||{},Lt.html2canvas.canvas=Lt.html2canvas.canvas||this.canvas,Lt.jsPDF=Lt.jsPDF||this,Lt.fontFaces=Lt.fontFaces?Lt.fontFaces.map(gn):null;var vt=new $e(Lt);return Lt.worker?vt:vt.from(st).doCallback()}}(X.API),X.API.addJS=function(it){return bn=it,this.internal.events.subscribe("postPutResources",function(){xr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(xr+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Vn=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+bn+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){xr!==void 0&&Vn!==void 0&&this.internal.out("/Names <</JavaScript "+xr+" 0 R>>")}),this},function(it){var Re;it.events.push(["postPutResources",function(){var Ke=this,Ge=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var et=Ke.outline.render().split(/\r\n/),$e=0;$e<et.length;$e++){var st=et[$e],Lt=Ge.exec(st);if(Lt!=null){var vt=Lt[1];Ke.internal.newObjectDeferredBegin(vt,!1)}Ke.internal.write(st)}if(this.outline.createNamedDestinations){var Qt=this.internal.pages.length,Fr=[];for($e=0;$e<Qt;$e++){var Lr=Ke.internal.newObject();Fr.push(Lr);var Gr=Ke.internal.getPageInfo($e+1);Ke.internal.write("<< /D["+Gr.objId+" 0 R /XYZ null null null]>> endobj")}var $t=Ke.internal.newObject();for(Ke.internal.write("<< /Names [ "),$e=0;$e<Fr.length;$e++)Ke.internal.write("(page_"+($e+1)+")"+Fr[$e]+" 0 R");Ke.internal.write(" ] >>","endobj"),Re=Ke.internal.newObject(),Ke.internal.write("<< /Dests "+$t+" 0 R"),Ke.internal.write(">>","endobj")}}]),it.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+Re+" 0 R"))}]),it.events.push(["initialized",function(){var Ke=this;Ke.outline={createNamedDestinations:!1,root:{children:[]}},Ke.outline.add=function(Ge,et,$e){var st={title:et,options:$e,children:[]};return Ge==null&&(Ge=this.root),Ge.children.push(st),st},Ke.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Ke,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Ke.outline.genIds_r=function(Ge){Ge.id=Ke.internal.newObjectDeferred();for(var et=0;et<Ge.children.length;et++)this.genIds_r(Ge.children[et])},Ke.outline.renderRoot=function(Ge){this.objStart(Ge),this.line("/Type /Outlines"),Ge.children.length>0&&(this.line("/First "+this.makeRef(Ge.children[0])),this.line("/Last "+this.makeRef(Ge.children[Ge.children.length-1]))),this.line("/Count "+this.count_r({count:0},Ge)),this.objEnd()},Ke.outline.renderItems=function(Ge){for(var et=this.ctx.pdf.internal.getVerticalCoordinateString,$e=0;$e<Ge.children.length;$e++){var st=Ge.children[$e];this.objStart(st),this.line("/Title "+this.makeString(st.title)),this.line("/Parent "+this.makeRef(Ge)),$e>0&&this.line("/Prev "+this.makeRef(Ge.children[$e-1])),$e<Ge.children.length-1&&this.line("/Next "+this.makeRef(Ge.children[$e+1])),st.children.length>0&&(this.line("/First "+this.makeRef(st.children[0])),this.line("/Last "+this.makeRef(st.children[st.children.length-1])));var Lt=this.count=this.count_r({count:0},st);if(Lt>0&&this.line("/Count "+Lt),st.options&&st.options.pageNumber){var vt=Ke.internal.getPageInfo(st.options.pageNumber);this.line("/Dest ["+vt.objId+" 0 R /XYZ 0 "+et(0)+" 0]")}this.objEnd()}for(var Qt=0;Qt<Ge.children.length;Qt++)this.renderItems(Ge.children[Qt])},Ke.outline.line=function(Ge){this.ctx.val+=Ge+`\r
|
|
|
`},Ke.outline.makeRef=function(Ge){return Ge.id+" 0 R"},Ke.outline.makeString=function(Ge){return"("+Ke.internal.pdfEscape(Ge)+")"},Ke.outline.objStart=function(Ge){this.ctx.val+=`\r
|
|
|
`+Ge.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},Ke.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},Ke.outline.count_r=function(Ge,et){for(var $e=0;$e<et.children.length;$e++)Ge.count++,this.count_r(Ge,et.children[$e]);return Ge.count}}])}(X.API),function(it){var Re=[192,193,194,195,196,197,198,199];it.processJPEG=function(Ke,Ge,et,$e,st,Lt){var vt,Qt=this.decode.DCT_DECODE,Fr=null;if(typeof Ke=="string"||this.__addimage__.isArrayBuffer(Ke)||this.__addimage__.isArrayBufferView(Ke)){switch(Ke=st||Ke,Ke=this.__addimage__.isArrayBuffer(Ke)?new Uint8Array(Ke):Ke,(vt=function(Lr){for(var Gr,$t=256*Lr.charCodeAt(4)+Lr.charCodeAt(5),Rn=Lr.length,wr={width:0,height:0,numcomponents:1},pn=4;pn<Rn;pn+=2){if(pn+=$t,Re.indexOf(Lr.charCodeAt(pn+1))!==-1){Gr=256*Lr.charCodeAt(pn+5)+Lr.charCodeAt(pn+6),wr={width:256*Lr.charCodeAt(pn+7)+Lr.charCodeAt(pn+8),height:Gr,numcomponents:Lr.charCodeAt(pn+9)};break}$t=256*Lr.charCodeAt(pn+2)+Lr.charCodeAt(pn+3)}return wr}(Ke=this.__addimage__.isArrayBufferView(Ke)?this.__addimage__.arrayBufferToBinaryString(Ke):Ke)).numcomponents){case 1:Lt=this.color_spaces.DEVICE_GRAY;break;case 4:Lt=this.color_spaces.DEVICE_CMYK;break;case 3:Lt=this.color_spaces.DEVICE_RGB}Fr={data:Ke,width:vt.width,height:vt.height,colorSpace:Lt,bitsPerComponent:8,filter:Qt,index:Ge,alias:et}}return Fr}}(X.API);var lt,ct,Le,Ue,Ye,ft=function(){var it,Re,Ke;function Ge($e){var st,Lt,vt,Qt,Fr,Lr,Gr,$t,Rn,wr,pn,rn,Br,Yn;for(this.data=$e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},Lr=null;;){switch(st=this.readUInt32(),Rn=function(){var xi,Li;for(Li=[],xi=0;xi<4;++xi)Li.push(String.fromCharCode(this.data[this.pos++]));return Li}.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(st);break;case"fcTL":Lr&&this.animation.frames.push(Lr),this.pos+=4,Lr={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},Fr=this.readUInt16(),Qt=this.readUInt16()||100,Lr.delay=1e3*Fr/Qt,Lr.disposeOp=this.data[this.pos++],Lr.blendOp=this.data[this.pos++],Lr.data=[];break;case"IDAT":case"fdAT":for(Rn==="fdAT"&&(this.pos+=4,st-=4),$e=(Lr!=null?Lr.data:void 0)||this.imgData,rn=0;0<=st?rn<st:rn>st;0<=st?++rn:--rn)$e.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(st),this.transparency.indexed.length>vt)throw new Error("More transparent colors than palette size");if((wr=vt-this.transparency.indexed.length)>0)for(Br=0;0<=wr?Br<wr:Br>wr;0<=wr?++Br:--Br)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(st)[0];break;case 2:this.transparency.rgb=this.read(st)}break;case"tEXt":Gr=(pn=this.read(st)).indexOf(0),$t=String.fromCharCode.apply(String,pn.slice(0,Gr)),this.text[$t]=String.fromCharCode.apply(String,pn.slice(Gr+1));break;case"IEND":return Lr&&this.animation.frames.push(Lr),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Yn=this.colorType)===4||Yn===6,Lt=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Lt,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+=st}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}Ge.prototype.read=function($e){var st,Lt;for(Lt=[],st=0;0<=$e?st<$e:st>$e;0<=$e?++st:--st)Lt.push(this.data[this.pos++]);return Lt},Ge.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Ge.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},Ge.prototype.decodePixels=function($e){var st=this.pixelBitlength/8,Lt=new Uint8Array(this.width*this.height*st),vt=0,Qt=this;if($e==null&&($e=this.imgData),$e.length===0)return new Uint8Array(0);function Fr(Lr,Gr,$t,Rn){var wr,pn,rn,Br,Yn,xi,Li,Vi,Wi,qi,bi,ba,Kn,un,ri,Cn,ki,Tn,oa,Ti,li,Ri=Math.ceil((Qt.width-Lr)/$t),Da=Math.ceil((Qt.height-Gr)/Rn),Un=Qt.width==Ri&&Qt.height==Da;for(un=st*Ri,ba=Un?Lt:new Uint8Array(un*Da),xi=$e.length,Kn=0,pn=0;Kn<Da&&vt<xi;){switch($e[vt++]){case 0:for(Br=ki=0;ki<un;Br=ki+=1)ba[pn++]=$e[vt++];break;case 1:for(Br=Tn=0;Tn<un;Br=Tn+=1)wr=$e[vt++],Yn=Br<st?0:ba[pn-st],ba[pn++]=(wr+Yn)%256;break;case 2:for(Br=oa=0;oa<un;Br=oa+=1)wr=$e[vt++],rn=(Br-Br%st)/st,ri=Kn&&ba[(Kn-1)*un+rn*st+Br%st],ba[pn++]=(ri+wr)%256;break;case 3:for(Br=Ti=0;Ti<un;Br=Ti+=1)wr=$e[vt++],rn=(Br-Br%st)/st,Yn=Br<st?0:ba[pn-st],ri=Kn&&ba[(Kn-1)*un+rn*st+Br%st],ba[pn++]=(wr+Math.floor((Yn+ri)/2))%256;break;case 4:for(Br=li=0;li<un;Br=li+=1)wr=$e[vt++],rn=(Br-Br%st)/st,Yn=Br<st?0:ba[pn-st],Kn===0?ri=Cn=0:(ri=ba[(Kn-1)*un+rn*st+Br%st],Cn=rn&&ba[(Kn-1)*un+(rn-1)*st+Br%st]),Li=Yn+ri-Cn,Vi=Math.abs(Li-Yn),qi=Math.abs(Li-ri),bi=Math.abs(Li-Cn),Wi=Vi<=qi&&Vi<=bi?Yn:qi<=bi?ri:Cn,ba[pn++]=(wr+Wi)%256;break;default:throw new Error("Invalid filter algorithm: "+$e[vt-1])}if(!Un){var on=((Gr+Kn*Rn)*Qt.width+Lr)*st,Zn=Kn*un;for(Br=0;Br<Ri;Br+=1){for(var hi=0;hi<st;hi+=1)Lt[on++]=ba[Zn++];on+=($t-1)*st}}Kn++}}return $e=Object(p.a)($e),Qt.interlaceMethod==1?(Fr(0,0,8,8),Fr(4,0,8,8),Fr(0,4,4,8),Fr(2,0,4,4),Fr(0,2,2,4),Fr(1,0,2,2),Fr(0,1,1,2)):Fr(0,0,1,1),Lt},Ge.prototype.decodePalette=function(){var $e,st,Lt,vt,Qt,Fr,Lr,Gr,$t;for(Lt=this.palette,Fr=this.transparency.indexed||[],Qt=new Uint8Array((Fr.length||0)+Lt.length),vt=0,$e=0,st=Lr=0,Gr=Lt.length;Lr<Gr;st=Lr+=3)Qt[vt++]=Lt[st],Qt[vt++]=Lt[st+1],Qt[vt++]=Lt[st+2],Qt[vt++]=($t=Fr[$e++])!=null?$t:255;return Qt},Ge.prototype.copyToImageData=function($e,st){var Lt,vt,Qt,Fr,Lr,Gr,$t,Rn,wr,pn,rn;if(vt=this.colors,wr=null,Lt=this.hasAlphaChannel,this.palette.length&&(wr=(rn=this._decodedPalette)!=null?rn:this._decodedPalette=this.decodePalette(),vt=4,Lt=!0),Rn=(Qt=$e.data||$e).length,Lr=wr||st,Fr=Gr=0,vt===1)for(;Fr<Rn;)$t=wr?4*st[Fr/4]:Gr,pn=Lr[$t++],Qt[Fr++]=pn,Qt[Fr++]=pn,Qt[Fr++]=pn,Qt[Fr++]=Lt?Lr[$t++]:255,Gr=$t;else for(;Fr<Rn;)$t=wr?4*st[Fr/4]:Gr,Qt[Fr++]=Lr[$t++],Qt[Fr++]=Lr[$t++],Qt[Fr++]=Lr[$t++],Qt[Fr++]=Lt?Lr[$t++]:255,Gr=$t},Ge.prototype.decode=function(){var $e;return $e=new Uint8Array(this.width*this.height*4),this.copyToImageData($e,this.decodePixels()),$e};var et=function(){if(Object.prototype.toString.call(v)==="[object Window]"){try{Re=v.document.createElement("canvas"),Ke=Re.getContext("2d")}catch(st){return!1}return!0}return!1};return et(),it=function(st){var Lt;if(et()===!0)return Ke.width=st.width,Ke.height=st.height,Ke.clearRect(0,0,st.width,st.height),Ke.putImageData(st,0,0),(Lt=new Image).src=Re.toDataURL(),Lt;throw new Error("This method requires a Browser with Canvas-capability.")},Ge.prototype.decodeFrames=function($e){var st,Lt,vt,Qt,Fr,Lr,Gr,$t;if(this.animation){for($t=[],Lt=Fr=0,Lr=(Gr=this.animation.frames).length;Fr<Lr;Lt=++Fr)st=Gr[Lt],vt=$e.createImageData(st.width,st.height),Qt=this.decodePixels(new Uint8Array(st.data)),this.copyToImageData(vt,Qt),st.imageData=vt,$t.push(st.image=it(vt));return $t}},Ge.prototype.renderFrame=function($e,st){var Lt,vt,Qt;return Lt=(vt=this.animation.frames)[st],Qt=vt[st-1],st===0&&$e.clearRect(0,0,this.width,this.height),(Qt!=null?Qt.disposeOp:void 0)===1?$e.clearRect(Qt.xOffset,Qt.yOffset,Qt.width,Qt.height):(Qt!=null?Qt.disposeOp:void 0)===2&&$e.putImageData(Qt.imageData,Qt.xOffset,Qt.yOffset),Lt.blendOp===0&&$e.clearRect(Lt.xOffset,Lt.yOffset,Lt.width,Lt.height),$e.drawImage(Lt.image,Lt.xOffset,Lt.yOffset)},Ge.prototype.animate=function($e){var st,Lt,vt,Qt,Fr,Lr,Gr=this;return Lt=0,Lr=this.animation,Qt=Lr.numFrames,vt=Lr.frames,Fr=Lr.numPlays,(st=function(){var Rn,wr;if(Rn=Lt++%Qt,wr=vt[Rn],Gr.renderFrame($e,Rn),Qt>1&&Lt/Qt<Fr)return Gr.animation._timeout=setTimeout(st,wr.delay)})()},Ge.prototype.stopAnimation=function(){var $e;return clearTimeout(($e=this.animation)!=null?$e._timeout:void 0)},Ge.prototype.render=function($e){var st,Lt;return $e._png&&$e._png.stopAnimation(),$e._png=this,$e.width=this.width,$e.height=this.height,st=$e.getContext("2d"),this.animation?(this.decodeFrames(st),this.animate(st)):(Lt=st.createImageData(this.width,this.height),this.copyToImageData(Lt,this.decodePixels()),st.putImageData(Lt,0,0))},Ge}();/**
|
|
|
* @license
|
|
|
*
|
|
|
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
* the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
* ====================================================================
|
|
|
*//**
|
|
|
* @license
|
|
|
* (c) Dean McNamee <dean@gmail.com>, 2013.
|
|
|
*
|
|
|
* https://github.com/deanm/omggif
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
* of this software and associated documentation files (the "Software"), to
|
|
|
* deal in the Software without restriction, including without limitation the
|
|
|
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
* sell copies of the Software, and to permit persons to whom the Software is
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
* all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
* IN THE SOFTWARE.
|
|
|
*
|
|
|
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
|
|
|
* including animation and compression. It does not rely on any specific
|
|
|
* underlying system, so should run in the browser, Node, or Plask.
|
|
|
*/function ir(it){var Re=0;if(it[Re++]!==71||it[Re++]!==73||it[Re++]!==70||it[Re++]!==56||(it[Re++]+1&253)!=56||it[Re++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Ke=it[Re++]|it[Re++]<<8,Ge=it[Re++]|it[Re++]<<8,et=it[Re++],$e=et>>7,st=1<<(7&et)+1;it[Re++],it[Re++];var Lt=null,vt=null;$e&&(Lt=Re,vt=st,Re+=3*st);var Qt=!0,Fr=[],Lr=0,Gr=null,$t=0,Rn=null;for(this.width=Ke,this.height=Ge;Qt&&Re<it.length;)switch(it[Re++]){case 33:switch(it[Re++]){case 255:if(it[Re]!==11||it[Re+1]==78&&it[Re+2]==69&&it[Re+3]==84&&it[Re+4]==83&&it[Re+5]==67&&it[Re+6]==65&&it[Re+7]==80&&it[Re+8]==69&&it[Re+9]==50&&it[Re+10]==46&&it[Re+11]==48&&it[Re+12]==3&&it[Re+13]==1&&it[Re+16]==0)Re+=14,Rn=it[Re++]|it[Re++]<<8,Re++;else for(Re+=12;;){if(!((Kn=it[Re++])>=0))throw Error("Invalid block size");if(Kn===0)break;Re+=Kn}break;case 249:if(it[Re++]!==4||it[Re+4]!==0)throw new Error("Invalid graphics extension block.");var wr=it[Re++];Lr=it[Re++]|it[Re++]<<8,Gr=it[Re++],(1&wr)==0&&(Gr=null),$t=wr>>2&7,Re++;break;case 254:for(;;){if(!((Kn=it[Re++])>=0))throw Error("Invalid block size");if(Kn===0)break;Re+=Kn}break;default:throw new Error("Unknown graphic control label: 0x"+it[Re-1].toString(16))}break;case 44:var pn=it[Re++]|it[Re++]<<8,rn=it[Re++]|it[Re++]<<8,Br=it[Re++]|it[Re++]<<8,Yn=it[Re++]|it[Re++]<<8,xi=it[Re++],Li=xi>>6&1,Vi=1<<(7&xi)+1,Wi=Lt,qi=vt,bi=!1;xi>>7&&(bi=!0,Wi=Re,qi=Vi,Re+=3*Vi);var ba=Re;for(Re++;;){var Kn;if(!((Kn=it[Re++])>=0))throw Error("Invalid block size");if(Kn===0)break;Re+=Kn}Fr.push({x:pn,y:rn,width:Br,height:Yn,has_local_palette:bi,palette_offset:Wi,palette_size:qi,data_offset:ba,data_length:Re-ba,transparent_index:Gr,interlaced:!!Li,delay:Lr,disposal:$t});break;case 59:Qt=!1;break;default:throw new Error("Unknown gif block: 0x"+it[Re-1].toString(16))}this.numFrames=function(){return Fr.length},this.loopCount=function(){return Rn},this.frameInfo=function(un){if(un<0||un>=Fr.length)throw new Error("Frame index out of range.");return Fr[un]},this.decodeAndBlitFrameBGRA=function(un,ri){var Cn=this.frameInfo(un),ki=Cn.width*Cn.height,Tn=new Uint8Array(ki);Yt(it,Cn.data_offset,Tn,ki);var oa=Cn.palette_offset,Ti=Cn.transparent_index;Ti===null&&(Ti=256);var li=Cn.width,Ri=Ke-li,Da=li,Un=4*(Cn.y*Ke+Cn.x),on=4*((Cn.y+Cn.height)*Ke+Cn.x),Zn=Un,hi=4*Ri;Cn.interlaced===!0&&(hi+=4*Ke*7);for(var Ni=8,zi=0,ea=Tn.length;zi<ea;++zi){var Fi=Tn[zi];if(Da===0&&(Da=li,(Zn+=hi)>=on&&(hi=4*Ri+4*Ke*(Ni-1),Zn=Un+(li+Ri)*(Ni<<1),Ni>>=1)),Fi===Ti)Zn+=4;else{var ia=it[oa+3*Fi],Va=it[oa+3*Fi+1],fo=it[oa+3*Fi+2];ri[Zn++]=fo,ri[Zn++]=Va,ri[Zn++]=ia,ri[Zn++]=255}--Da}},this.decodeAndBlitFrameRGBA=function(un,ri){var Cn=this.frameInfo(un),ki=Cn.width*Cn.height,Tn=new Uint8Array(ki);Yt(it,Cn.data_offset,Tn,ki);var oa=Cn.palette_offset,Ti=Cn.transparent_index;Ti===null&&(Ti=256);var li=Cn.width,Ri=Ke-li,Da=li,Un=4*(Cn.y*Ke+Cn.x),on=4*((Cn.y+Cn.height)*Ke+Cn.x),Zn=Un,hi=4*Ri;Cn.interlaced===!0&&(hi+=4*Ke*7);for(var Ni=8,zi=0,ea=Tn.length;zi<ea;++zi){var Fi=Tn[zi];if(Da===0&&(Da=li,(Zn+=hi)>=on&&(hi=4*Ri+4*Ke*(Ni-1),Zn=Un+(li+Ri)*(Ni<<1),Ni>>=1)),Fi===Ti)Zn+=4;else{var ia=it[oa+3*Fi],Va=it[oa+3*Fi+1],fo=it[oa+3*Fi+2];ri[Zn++]=ia,ri[Zn++]=Va,ri[Zn++]=fo,ri[Zn++]=255}--Da}}}function Yt(it,Re,Ke,Ge){for(var et=it[Re++],$e=1<<et,st=$e+1,Lt=st+1,vt=et+1,Qt=(1<<vt)-1,Fr=0,Lr=0,Gr=0,$t=it[Re++],Rn=new Int32Array(4096),wr=null;;){for(;Fr<16&&$t!==0;)Lr|=it[Re++]<<Fr,Fr+=8,$t===1?$t=it[Re++]:--$t;if(Fr<vt)break;var pn=Lr&Qt;if(Lr>>=vt,Fr-=vt,pn!==$e){if(pn===st)break;for(var rn=pn<Lt?pn:wr,Br=0,Yn=rn;Yn>$e;)Yn=Rn[Yn]>>8,++Br;var xi=Yn;if(Gr+Br+(rn!==pn?1:0)>Ge)return void d.log("Warning, gif stream longer than expected.");Ke[Gr++]=xi;var Li=Gr+=Br;for(rn!==pn&&(Ke[Gr++]=xi),Yn=rn;Br--;)Yn=Rn[Yn],Ke[--Li]=255&Yn,Yn>>=8;wr!==null&&Lt<4096&&(Rn[Lt++]=wr<<8|xi,Lt>=Qt+1&&vt<12&&(++vt,Qt=Qt<<1|1)),wr=pn}else Lt=st+1,Qt=(1<<(vt=et+1))-1,wr=null}return Gr!==Ge&&d.log("Warning, gif stream shorter than expected."),Ke}/**
|
|
|
* @license
|
|
|
Copyright (c) 2008, Adobe Systems Incorporated
|
|
|
All rights reserved.
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
modification, are permitted provided that the following conditions are
|
|
|
met:
|
|
|
|
|
|
* Redistributions of source code must retain the above copyright notice,
|
|
|
this list of conditions and the following disclaimer.
|
|
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
|
|
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|
|
contributors may be used to endorse or promote products derived from
|
|
|
this software without specific prior written permission.
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
|
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
*/function rr(it){var Re,Ke,Ge,et,$e,st=Math.floor,Lt=new Array(64),vt=new Array(64),Qt=new Array(64),Fr=new Array(64),Lr=new Array(65535),Gr=new Array(65535),$t=new Array(64),Rn=new Array(64),wr=[],pn=0,rn=7,Br=new Array(64),Yn=new Array(64),xi=new Array(64),Li=new Array(256),Vi=new Array(2048),Wi=[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],qi=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],bi=[0,1,2,3,4,5,6,7,8,9,10,11],ba=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Kn=[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],un=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],ri=[0,1,2,3,4,5,6,7,8,9,10,11],Cn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ki=[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 Tn(Un,on){for(var Zn=0,hi=0,Ni=new Array,zi=1;zi<=16;zi++){for(var ea=1;ea<=Un[zi];ea++)Ni[on[hi]]=[],Ni[on[hi]][0]=Zn,Ni[on[hi]][1]=zi,hi++,Zn++;Zn*=2}return Ni}function oa(Un){for(var on=Un[0],Zn=Un[1]-1;Zn>=0;)on&1<<Zn&&(pn|=1<<rn),Zn--,--rn<0&&(pn==255?(Ti(255),Ti(0)):Ti(pn),rn=7,pn=0)}function Ti(Un){wr.push(Un)}function li(Un){Ti(Un>>8&255),Ti(255&Un)}function Ri(Un,on,Zn,hi,Ni){for(var zi,ea=Ni[0],Fi=Ni[240],ia=function(La,ao){var tr,An,_n,Bn,tt,Ft,Cr,gr,Yr,en,cn=0;for(Yr=0;Yr<8;++Yr){tr=La[cn],An=La[cn+1],_n=La[cn+2],Bn=La[cn+3],tt=La[cn+4],Ft=La[cn+5],Cr=La[cn+6];var In=tr+(gr=La[cn+7]),Xn=tr-gr,ii=An+Cr,fi=An-Cr,ui=_n+Ft,qn=_n-Ft,ti=Bn+tt,oi=Bn-tt,Ci=In+ti,Mi=In-ti,Pi=ii+ui,ca=ii-ui;La[cn]=Ci+Pi,La[cn+4]=Ci-Pi;var sa=.707106781*(ca+Mi);La[cn+2]=Mi+sa,La[cn+6]=Mi-sa;var Na=.382683433*((Ci=oi+qn)-(ca=fi+Xn)),Pa=.5411961*Ci+Na,ya=1.306562965*ca+Na,va=.707106781*(Pi=qn+fi),Ca=Xn+va,Ai=Xn-va;La[cn+5]=Ai+Pa,La[cn+3]=Ai-Pa,La[cn+1]=Ca+ya,La[cn+7]=Ca-ya,cn+=8}for(cn=0,Yr=0;Yr<8;++Yr){tr=La[cn],An=La[cn+8],_n=La[cn+16],Bn=La[cn+24],tt=La[cn+32],Ft=La[cn+40],Cr=La[cn+48];var Aa=tr+(gr=La[cn+56]),za=tr-gr,Or=An+Cr,$r=An-Cr,vn=_n+Ft,Jr=_n-Ft,ar=Bn+tt,Hr=Bn-tt,mr=Aa+ar,tn=Aa-ar,sn=Or+vn,Hn=Or-vn;La[cn]=mr+sn,La[cn+32]=mr-sn;var Ln=.707106781*(Hn+tn);La[cn+16]=tn+Ln,La[cn+48]=tn-Ln;var Qn=.382683433*((mr=Hr+Jr)-(Hn=$r+za)),yi=.5411961*mr+Qn,Di=1.306562965*Hn+Qn,Ui=.707106781*(sn=Jr+$r),ua=za+Ui,Xa=za-Ui;La[cn+40]=Xa+yi,La[cn+24]=Xa-yi,La[cn+8]=ua+Di,La[cn+56]=ua-Di,cn++}for(Yr=0;Yr<64;++Yr)en=La[Yr]*ao[Yr],$t[Yr]=en>0?en+.5|0:en-.5|0;return $t}(Un,on),Va=0;Va<64;++Va)Rn[Wi[Va]]=ia[Va];var fo=Rn[0]-Zn;Zn=Rn[0],fo==0?oa(hi[0]):(oa(hi[Gr[zi=32767+fo]]),oa(Lr[zi]));for(var ja=63;ja>0&&Rn[ja]==0;)ja--;if(ja==0)return oa(ea),Zn;for(var Ka,Gi=1;Gi<=ja;){for(var mn=Gi;Rn[Gi]==0&&Gi<=ja;)++Gi;var $i=Gi-mn;if($i>=16){Ka=$i>>4;for(var io=1;io<=Ka;++io)oa(Fi);$i&=15}zi=32767+Rn[Gi],oa(Ni[($i<<4)+Gr[zi]]),oa(Lr[zi]),Gi++}return ja!=63&&oa(ea),Zn}function Da(Un){(Un=Math.min(Math.max(Un,1),100),$e!=Un)&&(!function(on){for(var Zn=[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],hi=0;hi<64;hi++){var Ni=st((Zn[hi]*on+50)/100);Ni=Math.min(Math.max(Ni,1),255),Lt[Wi[hi]]=Ni}for(var zi=[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],ea=0;ea<64;ea++){var Fi=st((zi[ea]*on+50)/100);Fi=Math.min(Math.max(Fi,1),255),vt[Wi[ea]]=Fi}for(var ia=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Va=0,fo=0;fo<8;fo++)for(var ja=0;ja<8;ja++)Qt[Va]=1/(Lt[Wi[Va]]*ia[fo]*ia[ja]*8),Fr[Va]=1/(vt[Wi[Va]]*ia[fo]*ia[ja]*8),Va++}(Un<50?Math.floor(5e3/Un):Math.floor(200-2*Un)),$e=Un)}this.encode=function(Un,on){on&&Da(on),wr=new Array,pn=0,rn=7,li(65496),li(65504),li(16),Ti(74),Ti(70),Ti(73),Ti(70),Ti(0),Ti(1),Ti(1),Ti(0),li(1),li(1),Ti(0),Ti(0),function(){li(65499),li(132),Ti(0);for(var An=0;An<64;An++)Ti(Lt[An]);Ti(1);for(var _n=0;_n<64;_n++)Ti(vt[_n])}(),function(An,_n){li(65472),li(17),Ti(8),li(_n),li(An),Ti(3),Ti(1),Ti(17),Ti(0),Ti(2),Ti(17),Ti(1),Ti(3),Ti(17),Ti(1)}(Un.width,Un.height),function(){li(65476),li(418),Ti(0);for(var An=0;An<16;An++)Ti(qi[An+1]);for(var _n=0;_n<=11;_n++)Ti(bi[_n]);Ti(16);for(var Bn=0;Bn<16;Bn++)Ti(ba[Bn+1]);for(var tt=0;tt<=161;tt++)Ti(Kn[tt]);Ti(1);for(var Ft=0;Ft<16;Ft++)Ti(un[Ft+1]);for(var Cr=0;Cr<=11;Cr++)Ti(ri[Cr]);Ti(17);for(var gr=0;gr<16;gr++)Ti(Cn[gr+1]);for(var Yr=0;Yr<=161;Yr++)Ti(ki[Yr])}(),li(65498),li(12),Ti(3),Ti(1),Ti(0),Ti(2),Ti(17),Ti(3),Ti(17),Ti(0),Ti(63),Ti(0);var Zn=0,hi=0,Ni=0;pn=0,rn=7,this.encode.displayName="_encode_";for(var zi,ea,Fi,ia,Va,fo,ja,Ka,Gi,mn=Un.data,$i=Un.width,io=Un.height,La=4*$i,ao=0;ao<io;){for(zi=0;zi<La;){for(Va=La*ao+zi,ja=-1,Ka=0,Gi=0;Gi<64;Gi++)fo=Va+(Ka=Gi>>3)*La+(ja=4*(7&Gi)),ao+Ka>=io&&(fo-=La*(ao+1+Ka-io)),zi+ja>=La&&(fo-=zi+ja-La+4),ea=mn[fo++],Fi=mn[fo++],ia=mn[fo++],Br[Gi]=(Vi[ea]+Vi[Fi+256>>0]+Vi[ia+512>>0]>>16)-128,Yn[Gi]=(Vi[ea+768>>0]+Vi[Fi+1024>>0]+Vi[ia+1280>>0]>>16)-128,xi[Gi]=(Vi[ea+1280>>0]+Vi[Fi+1536>>0]+Vi[ia+1792>>0]>>16)-128;Zn=Ri(Br,Qt,Zn,Re,Ge),hi=Ri(Yn,Fr,hi,Ke,et),Ni=Ri(xi,Fr,Ni,Ke,et),zi+=32}ao+=8}if(rn>=0){var tr=[];tr[1]=rn+1,tr[0]=(1<<rn+1)-1,oa(tr)}return li(65497),new Uint8Array(wr)},it=it||50,function(){for(var Un=String.fromCharCode,on=0;on<256;on++)Li[on]=Un(on)}(),Re=Tn(qi,bi),Ke=Tn(un,ri),Ge=Tn(ba,Kn),et=Tn(Cn,ki),function(){for(var Un=1,on=2,Zn=1;Zn<=15;Zn++){for(var hi=Un;hi<on;hi++)Gr[32767+hi]=Zn,Lr[32767+hi]=[],Lr[32767+hi][1]=Zn,Lr[32767+hi][0]=hi;for(var Ni=-(on-1);Ni<=-Un;Ni++)Gr[32767+Ni]=Zn,Lr[32767+Ni]=[],Lr[32767+Ni][1]=Zn,Lr[32767+Ni][0]=on-1+Ni;Un<<=1,on<<=1}}(),function(){for(var Un=0;Un<256;Un++)Vi[Un]=19595*Un,Vi[Un+256>>0]=38470*Un,Vi[Un+512>>0]=7471*Un+32768,Vi[Un+768>>0]=-11059*Un,Vi[Un+1024>>0]=-21709*Un,Vi[Un+1280>>0]=32768*Un+8421375,Vi[Un+1536>>0]=-27439*Un,Vi[Un+1792>>0]=-5329*Un}(),Da(it)}/**
|
|
|
* @license
|
|
|
* Copyright (c) 2017 Aras Abbasi
|
|
|
*
|
|
|
* Licensed under the MIT License.
|
|
|
* http://opensource.org/licenses/mit-license
|
|
|
*/function Zr(it,Re){if(this.pos=0,this.buffer=it,this.datav=new DataView(it.buffer),this.is_with_alpha=!!Re,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function nn(it){function Re(qi){if(!qi)throw Error("assert :P")}function Ke(qi,bi,ba){for(var Kn=0;4>Kn;Kn++)if(qi[bi+Kn]!=ba.charCodeAt(Kn))return!0;return!1}function Ge(qi,bi,ba,Kn,un){for(var ri=0;ri<un;ri++)qi[bi+ri]=ba[Kn+ri]}function et(qi,bi,ba,Kn){for(var un=0;un<Kn;un++)qi[bi+un]=ba}function $e(qi){return new Int32Array(qi)}function st(qi,bi){for(var ba=[],Kn=0;Kn<qi;Kn++)ba.push(new bi);return ba}function Lt(qi,bi){var ba=[];return function Kn(un,ri,Cn){for(var ki=Cn[ri],Tn=0;Tn<ki&&(un.push(Cn.length>ri+1?[]:new bi),!(Cn.length<ri+1));Tn++)Kn(un[Tn],ri+1,Cn)}(ba,0,qi),ba}var vt=function(){var bi=this;function ba(Ee,Qe){for(var xt=1<<Qe-1>>>0;Ee&xt;)xt>>>=1;return xt?(Ee&xt-1)+xt:Ee}function Kn(Ee,Qe,xt,Jt,Tr){Re(!(Jt%xt));do Ee[Qe+(Jt-=xt)]=Tr;while(0<Jt)}function un(Ee,Qe,xt,Jt,Tr){if(Re(2328>=Tr),512>=Tr)var Vr=$e(512);else if((Vr=$e(Tr))==null)return 0;return function(Fe,se,Ie,Je,pt,kt){var Wt,Kt,Mr=se,Kr=1<<Ie,Ir=$e(16),Er=$e(16);for(Re(pt!=0),Re(Je!=null),Re(Fe!=null),Re(0<Ie),Kt=0;Kt<pt;++Kt){if(15<Je[Kt])return 0;++Ir[Je[Kt]]}if(Ir[0]==pt)return 0;for(Er[1]=0,Wt=1;15>Wt;++Wt){if(Ir[Wt]>1<<Wt)return 0;Er[Wt+1]=Er[Wt]+Ir[Wt]}for(Kt=0;Kt<pt;++Kt)Wt=Je[Kt],0<Je[Kt]&&(kt[Er[Wt]++]=Kt);if(Er[15]==1)return(Je=new ri).g=0,Je.value=kt[0],Kn(Fe,Mr,1,Kr,Je),Kr;var zr,qr=-1,Nn=Kr-1,wi=0,Ki=1,Oa=1,ta=1<<Ie;for(Kt=0,Wt=1,pt=2;Wt<=Ie;++Wt,pt<<=1){if(Ki+=Oa<<=1,0>(Oa-=Ir[Wt]))return 0;for(;0<Ir[Wt];--Ir[Wt])(Je=new ri).g=Wt,Je.value=kt[Kt++],Kn(Fe,Mr+wi,pt,ta,Je),wi=ba(wi,Wt)}for(Wt=Ie+1,pt=2;15>=Wt;++Wt,pt<<=1){if(Ki+=Oa<<=1,0>(Oa-=Ir[Wt]))return 0;for(;0<Ir[Wt];--Ir[Wt]){if(Je=new ri,(wi&Nn)!=qr){for(Mr+=ta,zr=1<<(qr=Wt)-Ie;15>qr&&!(0>=(zr-=Ir[qr]));)++qr,zr<<=1;Kr+=ta=1<<(zr=qr-Ie),Fe[se+(qr=wi&Nn)].g=zr+Ie,Fe[se+qr].value=Mr-se-qr}Je.g=Wt-Ie,Je.value=kt[Kt++],Kn(Fe,Mr+(wi>>Ie),pt,ta,Je),wi=ba(wi,Wt)}}return Ki!=2*Er[15]-1?0:Kr}(Ee,Qe,xt,Jt,Tr,Vr)}function ri(){this.value=this.g=0}function Cn(){this.value=this.g=0}function ki(){this.G=st(5,ri),this.H=$e(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=st(bs,Cn)}function Tn(Ee,Qe,xt,Jt){Re(Ee!=null),Re(Qe!=null),Re(2147483648>Jt),Ee.Ca=254,Ee.I=0,Ee.b=-8,Ee.Ka=0,Ee.oa=Qe,Ee.pa=xt,Ee.Jd=Qe,Ee.Yc=xt+Jt,Ee.Zc=4<=Jt?xt+Jt-4+1:xt,ea(Ee)}function oa(Ee,Qe){for(var xt=0;0<Qe--;)xt|=ia(Ee,128)<<Qe;return xt}function Ti(Ee,Qe){var xt=oa(Ee,Qe);return Fi(Ee)?-xt:xt}function li(Ee,Qe,xt,Jt){var Tr,Vr=0;for(Re(Ee!=null),Re(Qe!=null),Re(4294967288>Jt),Ee.Sb=Jt,Ee.Ra=0,Ee.u=0,Ee.h=0,4<Jt&&(Jt=4),Tr=0;Tr<Jt;++Tr)Vr+=Qe[xt+Tr]<<8*Tr;Ee.Ra=Vr,Ee.bb=Jt,Ee.oa=Qe,Ee.pa=xt}function Ri(Ee){for(;8<=Ee.u&&Ee.bb<Ee.Sb;)Ee.Ra>>>=8,Ee.Ra+=Ee.oa[Ee.pa+Ee.bb]<<el-8>>>0,++Ee.bb,Ee.u-=8;hi(Ee)&&(Ee.h=1,Ee.u=0)}function Da(Ee,Qe){if(Re(0<=Qe),!Ee.h&&Qe<=sl){var xt=Zn(Ee)&Rl[Qe];return Ee.u+=Qe,Ri(Ee),xt}return Ee.h=1,Ee.u=0}function Un(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function on(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Zn(Ee){return Ee.Ra>>>(Ee.u&el-1)>>>0}function hi(Ee){return Re(Ee.bb<=Ee.Sb),Ee.h||Ee.bb==Ee.Sb&&Ee.u>el}function Ni(Ee,Qe){Ee.u=Qe,Ee.h=hi(Ee)}function zi(Ee){Ee.u>=dl&&(Re(Ee.u>=dl),Ri(Ee))}function ea(Ee){Re(Ee!=null&&Ee.oa!=null),Ee.pa<Ee.Zc?(Ee.I=(Ee.oa[Ee.pa++]|Ee.I<<8)>>>0,Ee.b+=8):(Re(Ee!=null&&Ee.oa!=null),Ee.pa<Ee.Yc?(Ee.b+=8,Ee.I=Ee.oa[Ee.pa++]|Ee.I<<8):Ee.Ka?Ee.b=0:(Ee.I<<=8,Ee.b+=8,Ee.Ka=1))}function Fi(Ee){return oa(Ee,1)}function ia(Ee,Qe){var xt=Ee.Ca;0>Ee.b&&ea(Ee);var Jt=Ee.b,Tr=xt*Qe>>>8,Vr=(Ee.I>>>Jt>Tr)+0;for(Vr?(xt-=Tr,Ee.I-=Tr+1<<Jt>>>0):xt=Tr+1,Jt=xt,Tr=0;256<=Jt;)Tr+=8,Jt>>=8;return Jt=7^Tr+$l[Jt],Ee.b-=Jt,Ee.Ca=(xt<<Jt)-1,Vr}function Va(Ee,Qe,xt){Ee[Qe+0]=xt>>24&255,Ee[Qe+1]=xt>>16&255,Ee[Qe+2]=xt>>8&255,Ee[Qe+3]=xt>>0&255}function fo(Ee,Qe){return Ee[Qe+0]<<0|Ee[Qe+1]<<8}function ja(Ee,Qe){return fo(Ee,Qe)|Ee[Qe+2]<<16}function Ka(Ee,Qe){return fo(Ee,Qe)|fo(Ee,Qe+2)<<16}function Gi(Ee,Qe){var xt=1<<Qe;return Re(Ee!=null),Re(0<Qe),Ee.X=$e(xt),Ee.X==null?0:(Ee.Mb=32-Qe,Ee.Xa=Qe,1)}function mn(Ee,Qe){Re(Ee!=null),Re(Qe!=null),Re(Ee.Xa==Qe.Xa),Ge(Qe.X,0,Ee.X,0,1<<Qe.Xa)}function $i(){this.X=[],this.Xa=this.Mb=0}function io(Ee,Qe,xt,Jt){Re(xt!=null),Re(Jt!=null);var Tr=xt[0],Vr=Jt[0];return Tr==0&&(Tr=(Ee*Vr+Qe/2)/Qe),Vr==0&&(Vr=(Qe*Tr+Ee/2)/Ee),0>=Tr||0>=Vr?0:(xt[0]=Tr,Jt[0]=Vr,1)}function La(Ee,Qe){return Ee+(1<<Qe)-1>>>Qe}function ao(Ee,Qe){return((4278255360&Ee)+(4278255360&Qe)>>>0&4278255360)+((16711935&Ee)+(16711935&Qe)>>>0&16711935)>>>0}function tr(Ee,Qe){bi[Qe]=function(xt,Jt,Tr,Vr,Fe,se,Ie){var Je;for(Je=0;Je<Fe;++Je){var pt=bi[Ee](se[Ie+Je-1],Tr,Vr+Je);se[Ie+Je]=ao(xt[Jt+Je],pt)}}}function An(){this.ud=this.hd=this.jd=0}function _n(Ee,Qe){return((4278124286&(Ee^Qe))>>>1)+(Ee&Qe)>>>0}function Bn(Ee){return 0<=Ee&&256>Ee?Ee:0>Ee?0:255<Ee?255:void 0}function tt(Ee,Qe){return Bn(Ee+(Ee-Qe+.5>>1))}function Ft(Ee,Qe,xt){return Math.abs(Qe-xt)-Math.abs(Ee-xt)}function Cr(Ee,Qe,xt,Jt,Tr,Vr,Fe){for(Jt=Vr[Fe-1],xt=0;xt<Tr;++xt)Vr[Fe+xt]=Jt=ao(Ee[Qe+xt],Jt)}function gr(Ee,Qe,xt,Jt,Tr){var Vr;for(Vr=0;Vr<xt;++Vr){var Fe=Ee[Qe+Vr],se=Fe>>8&255,Ie=16711935&(Ie=(Ie=16711935&Fe)+((se<<16)+se));Jt[Tr+Vr]=(4278255360&Fe)+Ie>>>0}}function Yr(Ee,Qe){Qe.jd=Ee>>0&255,Qe.hd=Ee>>8&255,Qe.ud=Ee>>16&255}function en(Ee,Qe,xt,Jt,Tr,Vr){var Fe;for(Fe=0;Fe<Jt;++Fe){var se=Qe[xt+Fe],Ie=se>>>8,Je=se,pt=255&(pt=(pt=se>>>16)+((Ee.jd<<24>>24)*(Ie<<24>>24)>>>5));Je=255&(Je=(Je=Je+((Ee.hd<<24>>24)*(Ie<<24>>24)>>>5))+((Ee.ud<<24>>24)*(pt<<24>>24)>>>5)),Tr[Vr+Fe]=(4278255360&se)+(pt<<16)+Je}}function cn(Ee,Qe,xt,Jt,Tr){bi[Qe]=function(Vr,Fe,se,Ie,Je,pt,kt,Wt,Kt){for(Ie=kt;Ie<Wt;++Ie)for(kt=0;kt<Kt;++kt)Je[pt++]=Tr(se[Jt(Vr[Fe++])])},bi[Ee]=function(Vr,Fe,se,Ie,Je,pt,kt){var Wt=8>>Vr.b,Kt=Vr.Ea,Mr=Vr.K[0],Kr=Vr.w;if(8>Wt)for(Vr=(1<<Vr.b)-1,Kr=(1<<Wt)-1;Fe<se;++Fe){var Ir,Er=0;for(Ir=0;Ir<Kt;++Ir)Ir&Vr||(Er=Jt(Ie[Je++])),pt[kt++]=Tr(Mr[Er&Kr]),Er>>=Wt}else bi["VP8LMapColor"+xt](Ie,Je,Mr,Kr,pt,kt,Fe,se,Kt)}}function In(Ee,Qe,xt,Jt,Tr){for(xt=Qe+xt;Qe<xt;){var Vr=Ee[Qe++];Jt[Tr++]=Vr>>16&255,Jt[Tr++]=Vr>>8&255,Jt[Tr++]=Vr>>0&255}}function Xn(Ee,Qe,xt,Jt,Tr){for(xt=Qe+xt;Qe<xt;){var Vr=Ee[Qe++];Jt[Tr++]=Vr>>16&255,Jt[Tr++]=Vr>>8&255,Jt[Tr++]=Vr>>0&255,Jt[Tr++]=Vr>>24&255}}function ii(Ee,Qe,xt,Jt,Tr){for(xt=Qe+xt;Qe<xt;){var Vr=(Fe=Ee[Qe++])>>16&240|Fe>>12&15,Fe=Fe>>0&240|Fe>>28&15;Jt[Tr++]=Vr,Jt[Tr++]=Fe}}function fi(Ee,Qe,xt,Jt,Tr){for(xt=Qe+xt;Qe<xt;){var Vr=(Fe=Ee[Qe++])>>16&248|Fe>>13&7,Fe=Fe>>5&224|Fe>>3&31;Jt[Tr++]=Vr,Jt[Tr++]=Fe}}function ui(Ee,Qe,xt,Jt,Tr){for(xt=Qe+xt;Qe<xt;){var Vr=Ee[Qe++];Jt[Tr++]=Vr>>0&255,Jt[Tr++]=Vr>>8&255,Jt[Tr++]=Vr>>16&255}}function qn(Ee,Qe,xt,Jt,Tr,Vr){if(Vr==0)for(xt=Qe+xt;Qe<xt;)Va(Jt,((Vr=Ee[Qe++])[0]>>24|Vr[1]>>8&65280|Vr[2]<<8&16711680|Vr[3]<<24)>>>0),Tr+=32;else Ge(Jt,Tr,Ee,Qe,xt)}function ti(Ee,Qe){bi[Qe][0]=bi[Ee+"0"],bi[Qe][1]=bi[Ee+"1"],bi[Qe][2]=bi[Ee+"2"],bi[Qe][3]=bi[Ee+"3"],bi[Qe][4]=bi[Ee+"4"],bi[Qe][5]=bi[Ee+"5"],bi[Qe][6]=bi[Ee+"6"],bi[Qe][7]=bi[Ee+"7"],bi[Qe][8]=bi[Ee+"8"],bi[Qe][9]=bi[Ee+"9"],bi[Qe][10]=bi[Ee+"10"],bi[Qe][11]=bi[Ee+"11"],bi[Qe][12]=bi[Ee+"12"],bi[Qe][13]=bi[Ee+"13"],bi[Qe][14]=bi[Ee+"0"],bi[Qe][15]=bi[Ee+"0"]}function oi(Ee){return Ee==Td||Ee==qc||Ee==ou||Ee==Pu}function Ci(){this.eb=[],this.size=this.A=this.fb=0}function Mi(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Pi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ci,this.f.kb=new Mi,this.sd=null}function ca(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function sa(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Na(Ee){return alert("todo:WebPSamplerProcessPlane"),Ee.T}function Pa(Ee,Qe){var xt=Ee.T,Jt=Qe.ba.f.RGBA,Tr=Jt.eb,Vr=Jt.fb+Ee.ka*Jt.A,Fe=Yc[Qe.ba.S],se=Ee.y,Ie=Ee.O,Je=Ee.f,pt=Ee.N,kt=Ee.ea,Wt=Ee.W,Kt=Qe.cc,Mr=Qe.dc,Kr=Qe.Mc,Ir=Qe.Nc,Er=Ee.ka,zr=Ee.ka+Ee.T,qr=Ee.U,Nn=qr+1>>1;for(Er==0?Fe(se,Ie,null,null,Je,pt,kt,Wt,Je,pt,kt,Wt,Tr,Vr,null,null,qr):(Fe(Qe.ec,Qe.fc,se,Ie,Kt,Mr,Kr,Ir,Je,pt,kt,Wt,Tr,Vr-Jt.A,Tr,Vr,qr),++xt);Er+2<zr;Er+=2)Kt=Je,Mr=pt,Kr=kt,Ir=Wt,pt+=Ee.Rc,Wt+=Ee.Rc,Vr+=2*Jt.A,Fe(se,(Ie+=2*Ee.fa)-Ee.fa,se,Ie,Kt,Mr,Kr,Ir,Je,pt,kt,Wt,Tr,Vr-Jt.A,Tr,Vr,qr);return Ie+=Ee.fa,Ee.j+zr<Ee.o?(Ge(Qe.ec,Qe.fc,se,Ie,qr),Ge(Qe.cc,Qe.dc,Je,pt,Nn),Ge(Qe.Mc,Qe.Nc,kt,Wt,Nn),xt--):1&zr||Fe(se,Ie,null,null,Je,pt,kt,Wt,Je,pt,kt,Wt,Tr,Vr+Jt.A,null,null,qr),xt}function ya(Ee,Qe,xt){var Jt=Ee.F,Tr=[Ee.J];if(Jt!=null){var Vr=Ee.U,Fe=Qe.ba.S,se=Fe==Tu||Fe==ou;Qe=Qe.ba.f.RGBA;var Ie=[0],Je=Ee.ka;Ie[0]=Ee.T,Ee.Kb&&(Je==0?--Ie[0]:(--Je,Tr[0]-=Ee.width),Ee.j+Ee.ka+Ee.T==Ee.o&&(Ie[0]=Ee.o-Ee.j-Je));var pt=Qe.eb;Je=Qe.fb+Je*Qe.A,Ee=Rc(Jt,Tr[0],Ee.width,Vr,Ie,pt,Je+(se?0:3),Qe.A),Re(xt==Ie),Ee&&oi(Fe)&&$c(pt,Je,se,Vr,Ie,Qe.A)}return 0}function va(Ee){var Qe=Ee.ma,xt=Qe.ba.S,Jt=11>xt,Tr=xt==sd||xt==Gu||xt==Tu||xt==jd||xt==12||oi(xt);if(Qe.memory=null,Qe.Ib=null,Qe.Jb=null,Qe.Nd=null,!Ys(Qe.Oa,Ee,Tr?11:12))return 0;if(Tr&&oi(xt)&&Xe(),Ee.da)alert("todo:use_scaling");else{if(Jt){if(Qe.Ib=Na,Ee.Kb){if(xt=Ee.U+1>>1,Qe.memory=$e(Ee.U+2*xt),Qe.memory==null)return 0;Qe.ec=Qe.memory,Qe.fc=0,Qe.cc=Qe.ec,Qe.dc=Qe.fc+Ee.U,Qe.Mc=Qe.cc,Qe.Nc=Qe.dc+xt,Qe.Ib=Pa,Xe()}}else alert("todo:EmitYUV");Tr&&(Qe.Jb=ya,Jt&&Se())}if(Jt&&!Wd){for(Ee=0;256>Ee;++Ee)zd[Ee]=89858*(Ee-128)+cu>>tu,gd[Ee]=-22014*(Ee-128)+cu,Nd[Ee]=-45773*(Ee-128),mu[Ee]=113618*(Ee-128)+cu>>tu;for(Ee=ru;Ee<zu;++Ee)Qe=76283*(Ee-16)+cu>>tu,Ad[Ee-ru]=Ja(Qe,255),Md[Ee-ru]=Ja(Qe+8>>4,15);Wd=1}return 1}function Ca(Ee){var Qe=Ee.ma,xt=Ee.U,Jt=Ee.T;return Re(!(1&Ee.ka)),0>=xt||0>=Jt?0:(xt=Qe.Ib(Ee,Qe),Qe.Jb!=null&&Qe.Jb(Ee,Qe,xt),Qe.Dc+=xt,1)}function Ai(Ee){Ee.ma.memory=null}function Aa(Ee,Qe,xt,Jt){return Da(Ee,8)!=47?0:(Qe[0]=Da(Ee,14)+1,xt[0]=Da(Ee,14)+1,Jt[0]=Da(Ee,1),Da(Ee,3)!=0?0:!Ee.h)}function za(Ee,Qe){if(4>Ee)return Ee+1;var xt=Ee-2>>1;return(2+(1&Ee)<<xt)+Da(Qe,xt)+1}function Or(Ee,Qe){return 120<Qe?Qe-120:1<=(xt=((xt=Yu[Qe-1])>>4)*Ee+(8-(15&xt)))?xt:1;var xt}function $r(Ee,Qe,xt){var Jt=Zn(xt),Tr=Ee[Qe+=255&Jt].g-8;return 0<Tr&&(Ni(xt,xt.u+8),Jt=Zn(xt),Qe+=Ee[Qe].value,Qe+=Jt&(1<<Tr)-1),Ni(xt,xt.u+Ee[Qe].g),Ee[Qe].value}function vn(Ee,Qe,xt){return xt.g+=Ee.g,xt.value+=Ee.value<<Qe>>>0,Re(8>=xt.g),Ee.g}function Jr(Ee,Qe,xt){var Jt=Ee.xc;return Re((Qe=Jt==0?0:Ee.vc[Ee.md*(xt>>Jt)+(Qe>>Jt)])<Ee.Wb),Ee.Ya[Qe]}function ar(Ee,Qe,xt,Jt){var Tr=Ee.ab,Vr=Ee.c*Qe,Fe=Ee.C;Qe=Fe+Qe;var se=xt,Ie=Jt;for(Jt=Ee.Ta,xt=Ee.Ua;0<Tr--;){var Je=Ee.gc[Tr],pt=Fe,kt=Qe,Wt=se,Kt=Ie,Mr=(Ie=Jt,se=xt,Je.Ea);switch(Re(pt<kt),Re(kt<=Je.nc),Je.hc){case 2:ql(Wt,Kt,(kt-pt)*Mr,Ie,se);break;case 0:var Kr=pt,Ir=kt,Er=Ie,zr=se,qr=(ta=Je).Ea;Kr==0&&(zl(Wt,Kt,null,null,1,Er,zr),Cr(Wt,Kt+1,0,0,qr-1,Er,zr+1),Kt+=qr,zr+=qr,++Kr);for(var Nn=1<<ta.b,wi=Nn-1,Ki=La(qr,ta.b),Oa=ta.K,ta=ta.w+(Kr>>ta.b)*Ki;Kr<Ir;){var _o=Oa,Wa=ta,Ko=1;for(Kl(Wt,Kt,Er,zr-qr,1,Er,zr);Ko<qr;){var Lo=(Ko&~wi)+Nn;Lo>qr&&(Lo=qr),(0,ll[_o[Wa++]>>8&15])(Wt,Kt+ +Ko,Er,zr+Ko-qr,Lo-Ko,Er,zr+Ko),Ko=Lo}Kt+=qr,zr+=qr,++Kr&wi||(ta+=Ki)}kt!=Je.nc&&Ge(Ie,se-Mr,Ie,se+(kt-pt-1)*Mr,Mr);break;case 1:for(Mr=Wt,Ir=Kt,qr=(Wt=Je.Ea)-(zr=Wt&~(Er=(Kt=1<<Je.b)-1)),Kr=La(Wt,Je.b),Nn=Je.K,Je=Je.w+(pt>>Je.b)*Kr;pt<kt;){for(wi=Nn,Ki=Je,Oa=new An,ta=Ir+zr,_o=Ir+Wt;Ir<ta;)Yr(wi[Ki++],Oa),Fl(Oa,Mr,Ir,Kt,Ie,se),Ir+=Kt,se+=Kt;Ir<_o&&(Yr(wi[Ki++],Oa),Fl(Oa,Mr,Ir,qr,Ie,se),Ir+=qr,se+=qr),++pt&Er||(Je+=Kr)}break;case 3:if(Wt==Ie&&Kt==se&&0<Je.b){for(Ir=Ie,Wt=Mr=se+(kt-pt)*Mr-(zr=(kt-pt)*La(Je.Ea,Je.b)),Kt=Ie,Er=se,Kr=[],zr=(qr=zr)-1;0<=zr;--zr)Kr[zr]=Kt[Er+zr];for(zr=qr-1;0<=zr;--zr)Ir[Wt+zr]=Kr[zr];Vl(Je,pt,kt,Ie,Mr,Ie,se)}else Vl(Je,pt,kt,Wt,Kt,Ie,se)}se=Jt,Ie=xt}Ie!=xt&&Ge(Jt,xt,se,Ie,Vr)}function Hr(Ee,Qe){var xt=Ee.V,Jt=Ee.Ba+Ee.c*Ee.C,Tr=Qe-Ee.C;if(Re(Qe<=Ee.l.o),Re(16>=Tr),0<Tr){var Vr=Ee.l,Fe=Ee.Ta,se=Ee.Ua,Ie=Vr.width;if(ar(Ee,Tr,xt,Jt),Tr=se=[se],Re((xt=Ee.C)<(Jt=Qe)),Re(Vr.v<Vr.va),Jt>Vr.o&&(Jt=Vr.o),xt<Vr.j){var Je=Vr.j-xt;xt=Vr.j,Tr[0]+=Je*Ie}if(xt>=Jt?xt=0:(Tr[0]+=4*Vr.v,Vr.ka=xt-Vr.j,Vr.U=Vr.va-Vr.v,Vr.T=Jt-xt,xt=1),xt){if(se=se[0],11>(xt=Ee.ca).S){var pt=xt.f.RGBA,kt=(Jt=xt.S,Tr=Vr.U,Vr=Vr.T,Je=pt.eb,pt.A),Wt=Vr;for(pt=pt.fb+Ee.Ma*pt.A;0<Wt--;){var Kt=Fe,Mr=se,Kr=Tr,Ir=Je,Er=pt;switch(Jt){case Fu:Mc(Kt,Mr,Kr,Ir,Er);break;case sd:fc(Kt,Mr,Kr,Ir,Er);break;case Td:fc(Kt,Mr,Kr,Ir,Er),$c(Ir,Er,0,Kr,1,0);break;case ld:Ac(Kt,Mr,Kr,Ir,Er);break;case Gu:qn(Kt,Mr,Kr,Ir,Er,1);break;case qc:qn(Kt,Mr,Kr,Ir,Er,1),$c(Ir,Er,0,Kr,1,0);break;case Tu:qn(Kt,Mr,Kr,Ir,Er,0);break;case ou:qn(Kt,Mr,Kr,Ir,Er,0),$c(Ir,Er,1,Kr,1,0);break;case jd:Cc(Kt,Mr,Kr,Ir,Er);break;case Pu:Cc(Kt,Mr,Kr,Ir,Er),hu(Ir,Er,Kr,1,0);break;case cd:Oc(Kt,Mr,Kr,Ir,Er);break;default:Re(0)}se+=Ie,pt+=kt}Ee.Ma+=Vr}else alert("todo:EmitRescaledRowsYUVA");Re(Ee.Ma<=xt.height)}}Ee.C=Qe,Re(Ee.C<=Ee.i)}function mr(Ee){var Qe;if(0<Ee.ua)return 0;for(Qe=0;Qe<Ee.Wb;++Qe){var xt=Ee.Ya[Qe].G,Jt=Ee.Ya[Qe].H;if(0<xt[1][Jt[1]+0].g||0<xt[2][Jt[2]+0].g||0<xt[3][Jt[3]+0].g)return 0}return 1}function tn(Ee,Qe,xt,Jt,Tr,Vr){if(Ee.Z!=0){var Fe=Ee.qd,se=Ee.rd;for(Re(lu[Ee.Z]!=null);Qe<xt;++Qe)lu[Ee.Z](Fe,se,Jt,Tr,Jt,Tr,Vr),Fe=Jt,se=Tr,Tr+=Vr;Ee.qd=Fe,Ee.rd=se}}function sn(Ee,Qe){var xt=Ee.l.ma,Jt=xt.Z==0||xt.Z==1?Ee.l.j:Ee.C;if(Jt=Ee.C<Jt?Jt:Ee.C,Re(Qe<=Ee.l.o),Qe>Jt){var Tr=Ee.l.width,Vr=xt.ca,Fe=xt.tb+Tr*Jt,se=Ee.V,Ie=Ee.Ba+Ee.c*Jt,Je=Ee.gc;Re(Ee.ab==1),Re(Je[0].hc==3),Zc(Je[0],Jt,Qe,se,Ie,Vr,Fe),tn(xt,Jt,Qe,Vr,Fe,Tr)}Ee.C=Ee.Ma=Qe}function Hn(Ee,Qe,xt,Jt,Tr,Vr,Fe){var se=Ee.$/Jt,Ie=Ee.$%Jt,Je=Ee.m,pt=Ee.s,kt=xt+Ee.$,Wt=kt;Tr=xt+Jt*Tr;var Kt=xt+Jt*Vr,Mr=280+pt.ua,Kr=Ee.Pb?se:16777216,Ir=0<pt.ua?pt.Wa:null,Er=pt.wc,zr=kt<Kt?Jr(pt,Ie,se):null;Re(Ee.C<Vr),Re(Kt<=Tr);var qr=!1;e:for(;;){for(;qr||kt<Kt;){var Nn=0;if(se>=Kr){var wi=kt-xt;Re((Kr=Ee).Pb),Kr.wd=Kr.m,Kr.xd=wi,0<Kr.s.ua&&mn(Kr.s.Wa,Kr.s.vb),Kr=se+ju}if(Ie&Er||(zr=Jr(pt,Ie,se)),Re(zr!=null),zr.Qb&&(Qe[kt]=zr.qb,qr=!0),!qr)if(zi(Je),zr.jc){Nn=Je,wi=Qe;var Ki=kt,Oa=zr.pd[Zn(Nn)&bs-1];Re(zr.jc),256>Oa.g?(Ni(Nn,Nn.u+Oa.g),wi[Ki]=Oa.value,Nn=0):(Ni(Nn,Nn.u+Oa.g-256),Re(256<=Oa.value),Nn=Oa.value),Nn==0&&(qr=!0)}else Nn=$r(zr.G[0],zr.H[0],Je);if(Je.h)break;if(qr||256>Nn){if(!qr)if(zr.nd)Qe[kt]=(zr.qb|Nn<<8)>>>0;else{if(zi(Je),qr=$r(zr.G[1],zr.H[1],Je),zi(Je),wi=$r(zr.G[2],zr.H[2],Je),Ki=$r(zr.G[3],zr.H[3],Je),Je.h)break;Qe[kt]=(Ki<<24|qr<<16|Nn<<8|wi)>>>0}if(qr=!1,++kt,++Ie>=Jt&&(Ie=0,++se,Fe!=null&&se<=Vr&&!(se%16)&&Fe(Ee,se),Ir!=null))for(;Wt<kt;)Nn=Qe[Wt++],Ir.X[(506832829*Nn&4294967295)>>>Ir.Mb]=Nn}else if(280>Nn){if(Nn=za(Nn-256,Je),wi=$r(zr.G[4],zr.H[4],Je),zi(Je),wi=Or(Jt,wi=za(wi,Je)),Je.h)break;if(kt-xt<wi||Tr-kt<Nn)break e;for(Ki=0;Ki<Nn;++Ki)Qe[kt+Ki]=Qe[kt+Ki-wi];for(kt+=Nn,Ie+=Nn;Ie>=Jt;)Ie-=Jt,++se,Fe!=null&&se<=Vr&&!(se%16)&&Fe(Ee,se);if(Re(kt<=Tr),Ie&Er&&(zr=Jr(pt,Ie,se)),Ir!=null)for(;Wt<kt;)Nn=Qe[Wt++],Ir.X[(506832829*Nn&4294967295)>>>Ir.Mb]=Nn}else{if(!(Nn<Mr))break e;for(qr=Nn-280,Re(Ir!=null);Wt<kt;)Nn=Qe[Wt++],Ir.X[(506832829*Nn&4294967295)>>>Ir.Mb]=Nn;Nn=kt,Re(!(qr>>>(wi=Ir).Xa)),Qe[Nn]=wi.X[qr],qr=!0}qr||Re(Je.h==hi(Je))}if(Ee.Pb&&Je.h&&kt<Tr)Re(Ee.m.h),Ee.a=5,Ee.m=Ee.wd,Ee.$=Ee.xd,0<Ee.s.ua&&mn(Ee.s.vb,Ee.s.Wa);else{if(Je.h)break e;Fe!=null&&Fe(Ee,se>Vr?Vr:se),Ee.a=0,Ee.$=kt-xt}return 1}return Ee.a=3,0}function Ln(Ee){Re(Ee!=null),Ee.vc=null,Ee.yc=null,Ee.Ya=null;var Qe=Ee.Wa;Qe!=null&&(Qe.X=null),Ee.vb=null,Re(Ee!=null)}function Qn(){var Ee=new yc;return Ee==null?null:(Ee.a=0,Ee.xb=pd,ti("Predictor","VP8LPredictors"),ti("Predictor","VP8LPredictors_C"),ti("PredictorAdd","VP8LPredictorsAdd"),ti("PredictorAdd","VP8LPredictorsAdd_C"),ql=gr,Fl=en,Mc=In,fc=Xn,Cc=ii,Oc=fi,Ac=ui,bi.VP8LMapColor32b=Nc,bi.VP8LMapColor8b=Zl,Ee)}function yi(Ee,Qe,xt,Jt,Tr){var Vr=1,Fe=[Ee],se=[Qe],Ie=Jt.m,Je=Jt.s,pt=null,kt=0;e:for(;;){if(xt)for(;Vr&&Da(Ie,1);){var Wt=Fe,Kt=se,Mr=Jt,Kr=1,Ir=Mr.m,Er=Mr.gc[Mr.ab],zr=Da(Ir,2);if(Mr.Oc&1<<zr)Vr=0;else{switch(Mr.Oc|=1<<zr,Er.hc=zr,Er.Ea=Wt[0],Er.nc=Kt[0],Er.K=[null],++Mr.ab,Re(4>=Mr.ab),zr){case 0:case 1:Er.b=Da(Ir,3)+2,Kr=yi(La(Er.Ea,Er.b),La(Er.nc,Er.b),0,Mr,Er.K),Er.K=Er.K[0];break;case 3:var qr,Nn=Da(Ir,8)+1,wi=16<Nn?0:4<Nn?1:2<Nn?2:3;if(Wt[0]=La(Er.Ea,wi),Er.b=wi,qr=Kr=yi(Nn,1,0,Mr,Er.K)){var Ki,Oa=Nn,ta=Er,_o=1<<(8>>ta.b),Wa=$e(_o);if(Wa==null)qr=0;else{var Ko=ta.K[0],Lo=ta.w;for(Wa[0]=ta.K[0][0],Ki=1;Ki<1*Oa;++Ki)Wa[Ki]=ao(Ko[Lo+Ki],Wa[Ki-1]);for(;Ki<4*_o;++Ki)Wa[Ki]=0;ta.K[0]=null,ta.K[0]=Wa,qr=1}}Kr=qr;break;case 2:break;default:Re(0)}Vr=Kr}}if(Fe=Fe[0],se=se[0],Vr&&Da(Ie,1)&&!(Vr=1<=(kt=Da(Ie,4))&&11>=kt)){Jt.a=3;break e}var ds;if(ds=Vr)t:{var Rs,M,P,ae=Jt,le=Fe,pe=se,Ve=kt,yt=xt,Ut=ae.m,sr=ae.s,fr=[null],xn=1,jn=0,gi=Od[Ve];r:for(;;){if(yt&&Da(Ut,1)){var Si=Da(Ut,3)+2,la=La(le,Si),Ua=La(pe,Si),eo=la*Ua;if(!yi(la,Ua,0,ae,fr))break r;for(fr=fr[0],sr.xc=Si,Rs=0;Rs<eo;++Rs){var no=fr[Rs]>>8&65535;fr[Rs]=no,no>=xn&&(xn=no+1)}}if(Ut.h)break r;for(M=0;5>M;++M){var to=Sc[M];!M&&0<Ve&&(to+=1<<Ve),jn<to&&(jn=to)}var So=st(xn*gi,ri),Do=xn,xs=st(Do,ki);if(xs==null)var os=null;else Re(65536>=Do),os=xs;var js=$e(jn);if(os==null||js==null||So==null){ae.a=1;break r}var cl=So;for(Rs=P=0;Rs<xn;++Rs){var co=os[Rs],yl=co.G,oc=co.H,jl=0,sc=1,Zs=0;for(M=0;5>M;++M){to=Sc[M],yl[M]=cl,oc[M]=P,!M&&0<Ve&&(to+=1<<Ve);i:{var rl,tc=to,lc=ae,Ml=js,zc=cl,Au=P,vu=0,rc=lc.m,Kc=Da(rc,1);if(et(Ml,0,0,tc),Kc){var _c=Da(rc,1)+1,Kd=Da(rc,1),bu=Da(rc,Kd==0?1:8);Ml[bu]=1,_c==2&&(Ml[bu=Da(rc,8)]=1);var uu=1}else{var Mu=$e(19),kc=Da(rc,4)+4;if(19<kc){lc.a=3;var yu=0;break i}for(rl=0;rl<kc;++rl)Mu[su[rl]]=Da(rc,3);var Bd=void 0,Vd=void 0,Sh=lc,Lh=Mu,sh=tc,qd=Ml,iu=0,td=Sh.m,eh=8,Ch=st(128,ri);n:for(;un(Ch,0,7,Lh,19);){if(Da(td,1)){var Nh=2+2*Da(td,3);if((Bd=2+Da(td,Nh))>sh)break n}else Bd=sh;for(Vd=0;Vd<sh&&Bd--;){zi(td);var lh=Ch[0+(127&Zn(td))];Ni(td,td.u+lh.g);var Du=lh.value;if(16>Du)qd[Vd++]=Du,Du!=0&&(eh=Du);else{var ch=Du==16,Eh=Du-16,Xd=eu[Eh],_h=Da(td,Ou[Eh])+Xd;if(Vd+_h>sh)break n;for(var Mh=ch?eh:0;0<_h--;)qd[Vd++]=Mh}}iu=1;break n}iu||(Sh.a=3),uu=iu}(uu=uu&&!rc.h)&&(vu=un(zc,Au,8,Ml,tc)),uu&&vu!=0?yu=vu:(lc.a=3,yu=0)}if(yu==0)break r;if(sc&&Uu[M]==1&&(sc=cl[P].g==0),jl+=cl[P].g,P+=yu,3>=M){var kd,th=js[0];for(kd=1;kd<to;++kd)js[kd]>th&&(th=js[kd]);Zs+=th}}if(co.nd=sc,co.Qb=0,sc&&(co.qb=(yl[3][oc[3]+0].value<<24|yl[1][oc[1]+0].value<<16|yl[2][oc[2]+0].value)>>>0,jl==0&&256>yl[0][oc[0]+0].value&&(co.Qb=1,co.qb+=yl[0][oc[0]+0].value<<8)),co.jc=!co.Qb&&6>Zs,co.jc){var rh,rd=co;for(rh=0;rh<bs;++rh){var vd=rh,bd=rd.pd[vd],uh=rd.G[0][rd.H[0]+vd];256<=uh.value?(bd.g=uh.g+256,bd.value=uh.value):(bd.g=0,bd.value=0,vd>>=vn(uh,8,bd),vd>>=vn(rd.G[1][rd.H[1]+vd],16,bd),vd>>=vn(rd.G[2][rd.H[2]+vd],0,bd),vn(rd.G[3][rd.H[3]+vd],24,bd))}}}sr.vc=fr,sr.Wb=xn,sr.Ya=os,sr.yc=So,ds=1;break t}ds=0}if(!(Vr=ds)){Jt.a=3;break e}if(0<kt){if(Je.ua=1<<kt,!Gi(Je.Wa,kt)){Jt.a=1,Vr=0;break e}}else Je.ua=0;var ph=Jt,Th=Fe,Dh=se,mh=ph.s,gh=mh.xc;if(ph.c=Th,ph.i=Dh,mh.md=La(Th,gh),mh.wc=gh==0?-1:(1<<gh)-1,xt){Jt.xb=Qu;break e}if((pt=$e(Fe*se))==null){Jt.a=1,Vr=0;break e}Vr=(Vr=Hn(Jt,pt,0,Fe,se,se,null))&&!Ie.h;break e}return Vr?(Tr!=null?Tr[0]=pt:(Re(pt==null),Re(xt)),Jt.$=0,xt||Ln(Je)):Ln(Je),Vr}function Di(Ee,Qe){var xt=Ee.c*Ee.i,Jt=xt+Qe+16*Qe;return Re(Ee.c<=Qe),Ee.V=$e(Jt),Ee.V==null?(Ee.Ta=null,Ee.Ua=0,Ee.a=1,0):(Ee.Ta=Ee.V,Ee.Ua=Ee.Ba+xt+Qe,1)}function Ui(Ee,Qe){var xt=Ee.C,Jt=Qe-xt,Tr=Ee.V,Vr=Ee.Ba+Ee.c*xt;for(Re(Qe<=Ee.l.o);0<Jt;){var Fe=16<Jt?16:Jt,se=Ee.l.ma,Ie=Ee.l.width,Je=Ie*Fe,pt=se.ca,kt=se.tb+Ie*xt,Wt=Ee.Ta,Kt=Ee.Ua;ar(Ee,Fe,Tr,Vr),fu(Wt,Kt,pt,kt,Je),tn(se,xt,xt+Fe,pt,kt,Ie),Jt-=Fe,Tr+=Fe*Ee.c,xt+=Fe}Re(xt==Qe),Ee.C=Ee.Ma=Qe}function ua(){this.ub=this.yd=this.td=this.Rb=0}function Xa(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function vo(){this.Fb=this.Bb=this.Cb=0,this.Zb=$e(4),this.Lb=$e(4)}function wo(){this.Yb=function(){var Ee=[];return function Qe(xt,Jt,Tr){for(var Vr=Tr[Jt],Fe=0;Fe<Vr&&(xt.push(Tr.length>Jt+1?[]:0),!(Tr.length<Jt+1));Fe++)Qe(xt[Fe],Jt+1,Tr)}(Ee,0,[3,11]),Ee}()}function ho(){this.jb=$e(3),this.Wc=Lt([4,8],wo),this.Xc=Lt([4,17],wo)}function yo(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new $e(4),this.od=new $e(4)}function Ga(){this.ld=this.La=this.dd=this.tc=0}function Ma(){this.Na=this.la=0}function uo(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function so(){this.ad=$e(384),this.Za=0,this.Ob=$e(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function To(){this.uc=this.M=this.Nb=0,this.wa=Array(new Ga),this.Y=0,this.ya=Array(new so),this.aa=0,this.l=new zo}function No(){this.y=$e(16),this.f=$e(8),this.ea=$e(8)}function oo(){this.cb=this.a=0,this.sc="",this.m=new Un,this.Od=new ua,this.Kc=new Xa,this.ed=new yo,this.Qa=new vo,this.Ic=this.$c=this.Aa=0,this.D=new To,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=st(8,Un),this.ia=0,this.pb=st(4,uo),this.Pa=new ho,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new No),this.Hd=0,this.rb=Array(new Ma),this.sb=0,this.wa=Array(new Ga),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new so),this.L=this.aa=0,this.gd=Lt([4,2],Ga),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Ja(Ee,Qe){return 0>Ee?0:Ee>Qe?Qe:Ee}function zo(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Eo(){var Ee=new oo;return Ee!=null&&(Ee.a=0,Ee.sc="OK",Ee.cb=0,Ee.Xb=0,Lu||(Lu=Za)),Ee}function Ea(Ee,Qe,xt){return Ee.a==0&&(Ee.a=Qe,Ee.sc=xt,Ee.cb=0),0}function jo(Ee,Qe,xt){return 3<=xt&&Ee[Qe+0]==157&&Ee[Qe+1]==1&&Ee[Qe+2]==42}function Zo(Ee,Qe){if(Ee==null)return 0;if(Ee.a=0,Ee.sc="OK",Qe==null)return Ea(Ee,2,"null VP8Io passed to VP8GetHeaders()");var xt=Qe.data,Jt=Qe.w,Tr=Qe.ha;if(4>Tr)return Ea(Ee,7,"Truncated header.");var Vr=xt[Jt+0]|xt[Jt+1]<<8|xt[Jt+2]<<16,Fe=Ee.Od;if(Fe.Rb=!(1&Vr),Fe.td=Vr>>1&7,Fe.yd=Vr>>4&1,Fe.ub=Vr>>5,3<Fe.td)return Ea(Ee,3,"Incorrect keyframe parameters.");if(!Fe.yd)return Ea(Ee,4,"Frame not displayable.");Jt+=3,Tr-=3;var se=Ee.Kc;if(Fe.Rb){if(7>Tr)return Ea(Ee,7,"cannot parse picture header");if(!jo(xt,Jt,Tr))return Ea(Ee,3,"Bad code word");se.c=16383&(xt[Jt+4]<<8|xt[Jt+3]),se.Td=xt[Jt+4]>>6,se.i=16383&(xt[Jt+6]<<8|xt[Jt+5]),se.Ud=xt[Jt+6]>>6,Jt+=7,Tr-=7,Ee.za=se.c+15>>4,Ee.Ub=se.i+15>>4,Qe.width=se.c,Qe.height=se.i,Qe.Da=0,Qe.j=0,Qe.v=0,Qe.va=Qe.width,Qe.o=Qe.height,Qe.da=0,Qe.ib=Qe.width,Qe.hb=Qe.height,Qe.U=Qe.width,Qe.T=Qe.height,et((Vr=Ee.Pa).jb,0,255,Vr.jb.length),Re((Vr=Ee.Qa)!=null),Vr.Cb=0,Vr.Bb=0,Vr.Fb=1,et(Vr.Zb,0,0,Vr.Zb.length),et(Vr.Lb,0,0,Vr.Lb)}if(Fe.ub>Tr)return Ea(Ee,7,"bad partition length");Tn(Vr=Ee.m,xt,Jt,Fe.ub),Jt+=Fe.ub,Tr-=Fe.ub,Fe.Rb&&(se.Ld=Fi(Vr),se.Kd=Fi(Vr)),se=Ee.Qa;var Ie,Je=Ee.Pa;if(Re(Vr!=null),Re(se!=null),se.Cb=Fi(Vr),se.Cb){if(se.Bb=Fi(Vr),Fi(Vr)){for(se.Fb=Fi(Vr),Ie=0;4>Ie;++Ie)se.Zb[Ie]=Fi(Vr)?Ti(Vr,7):0;for(Ie=0;4>Ie;++Ie)se.Lb[Ie]=Fi(Vr)?Ti(Vr,6):0}if(se.Bb)for(Ie=0;3>Ie;++Ie)Je.jb[Ie]=Fi(Vr)?oa(Vr,8):255}else se.Bb=0;if(Vr.Ka)return Ea(Ee,3,"cannot parse segment header");if((se=Ee.ed).zd=Fi(Vr),se.Tb=oa(Vr,6),se.wb=oa(Vr,3),se.Pc=Fi(Vr),se.Pc&&Fi(Vr)){for(Je=0;4>Je;++Je)Fi(Vr)&&(se.vd[Je]=Ti(Vr,6));for(Je=0;4>Je;++Je)Fi(Vr)&&(se.od[Je]=Ti(Vr,6))}if(Ee.L=se.Tb==0?0:se.zd?1:2,Vr.Ka)return Ea(Ee,3,"cannot parse filter header");var pt=Tr;if(Tr=Ie=Jt,Jt=Ie+pt,se=pt,Ee.Xb=(1<<oa(Ee.m,2))-1,pt<3*(Je=Ee.Xb))xt=7;else{for(Ie+=3*Je,se-=3*Je,pt=0;pt<Je;++pt){var kt=xt[Tr+0]|xt[Tr+1]<<8|xt[Tr+2]<<16;kt>se&&(kt=se),Tn(Ee.Jc[+pt],xt,Ie,kt),Ie+=kt,se-=kt,Tr+=3}Tn(Ee.Jc[+Je],xt,Ie,se),xt=Ie<Jt?0:5}if(xt!=0)return Ea(Ee,xt,"cannot parse partitions");for(xt=oa(Ie=Ee.m,7),Tr=Fi(Ie)?Ti(Ie,4):0,Jt=Fi(Ie)?Ti(Ie,4):0,se=Fi(Ie)?Ti(Ie,4):0,Je=Fi(Ie)?Ti(Ie,4):0,Ie=Fi(Ie)?Ti(Ie,4):0,pt=Ee.Qa,kt=0;4>kt;++kt){if(pt.Cb){var Wt=pt.Zb[kt];pt.Fb||(Wt+=xt)}else{if(0<kt){Ee.pb[kt]=Ee.pb[0];continue}Wt=xt}var Kt=Ee.pb[kt];Kt.Sc[0]=Iu[Ja(Wt+Tr,127)],Kt.Sc[1]=pu[Ja(Wt+0,127)],Kt.Eb[0]=2*Iu[Ja(Wt+Jt,127)],Kt.Eb[1]=101581*pu[Ja(Wt+se,127)]>>16,8>Kt.Eb[1]&&(Kt.Eb[1]=8),Kt.Qc[0]=Iu[Ja(Wt+Je,117)],Kt.Qc[1]=pu[Ja(Wt+Ie,127)],Kt.lc=Wt+Ie}if(!Fe.Rb)return Ea(Ee,4,"Not a key frame.");for(Fi(Vr),Fe=Ee.Pa,xt=0;4>xt;++xt){for(Tr=0;8>Tr;++Tr)for(Jt=0;3>Jt;++Jt)for(se=0;11>se;++se)Je=ia(Vr,fd[xt][Tr][Jt][se])?oa(Vr,8):Hu[xt][Tr][Jt][se],Fe.Wc[xt][Tr].Yb[Jt][se]=Je;for(Tr=0;17>Tr;++Tr)Fe.Xc[xt][Tr]=Fe.Wc[xt][Ld[Tr]]}return Ee.kc=Fi(Vr),Ee.kc&&(Ee.Bd=oa(Vr,8)),Ee.cb=1}function Za(Ee,Qe,xt,Jt,Tr,Vr,Fe){var se=Qe[Tr].Yb[xt];for(xt=0;16>Tr;++Tr){if(!ia(Ee,se[xt+0]))return Tr;for(;!ia(Ee,se[xt+1]);)if(se=Qe[++Tr].Yb[0],xt=0,Tr==16)return 16;var Ie=Qe[Tr+1].Yb;if(ia(Ee,se[xt+2])){var Je=Ee,pt=0;if(ia(Je,(Wt=se)[(kt=xt)+3]))if(ia(Je,Wt[kt+6])){for(se=0,kt=2*(pt=ia(Je,Wt[kt+8]))+(Wt=ia(Je,Wt[kt+9+pt])),pt=0,Wt=Id[kt];Wt[se];++se)pt+=pt+ia(Je,Wt[se]);pt+=3+(8<<kt)}else ia(Je,Wt[kt+7])?(pt=7+2*ia(Je,165),pt+=ia(Je,145)):pt=5+ia(Je,159);else pt=ia(Je,Wt[kt+4])?3+ia(Je,Wt[kt+5]):2;se=Ie[2]}else pt=1,se=Ie[1];Ie=Fe+ud[Tr],0>(Je=Ee).b&&ea(Je);var kt,Wt=Je.b,Kt=(kt=Je.Ca>>1)-(Je.I>>Wt)>>31;--Je.b,Je.Ca+=Kt,Je.Ca|=1,Je.I-=(kt+1&Kt)<<Wt,Vr[Ie]=((pt^Kt)-Kt)*Jt[(0<Tr)+0]}return 16}function Xo(Ee){var Qe=Ee.rb[Ee.sb-1];Qe.la=0,Qe.Na=0,et(Ee.zc,0,0,Ee.zc.length),Ee.ja=0}function qo(Ee,Qe){if(Ee==null)return 0;if(Qe==null)return Ea(Ee,2,"NULL VP8Io parameter in VP8Decode().");if(!Ee.cb&&!Zo(Ee,Qe))return 0;if(Re(Ee.cb),Qe.ac==null||Qe.ac(Qe)){Qe.ob&&(Ee.L=0);var xt=ed[Ee.L];if(Ee.L==2?(Ee.yb=0,Ee.zb=0):(Ee.yb=Qe.v-xt>>4,Ee.zb=Qe.j-xt>>4,0>Ee.yb&&(Ee.yb=0),0>Ee.zb&&(Ee.zb=0)),Ee.Va=Qe.o+15+xt>>4,Ee.Hb=Qe.va+15+xt>>4,Ee.Hb>Ee.za&&(Ee.Hb=Ee.za),Ee.Va>Ee.Ub&&(Ee.Va=Ee.Ub),0<Ee.L){var Jt=Ee.ed;for(xt=0;4>xt;++xt){var Tr;if(Ee.Qa.Cb){var Vr=Ee.Qa.Lb[xt];Ee.Qa.Fb||(Vr+=Jt.Tb)}else Vr=Jt.Tb;for(Tr=0;1>=Tr;++Tr){var Fe=Ee.gd[xt][Tr],se=Vr;if(Jt.Pc&&(se+=Jt.vd[0],Tr&&(se+=Jt.od[0])),0<(se=0>se?0:63<se?63:se)){var Ie=se;0<Jt.wb&&(Ie=4<Jt.wb?Ie>>2:Ie>>1)>9-Jt.wb&&(Ie=9-Jt.wb),1>Ie&&(Ie=1),Fe.dd=Ie,Fe.tc=2*se+Ie,Fe.ld=40<=se?2:15<=se?1:0}else Fe.tc=0;Fe.La=Tr}}}xt=0}else Ea(Ee,6,"Frame setup failed"),xt=Ee.a;if(xt=xt==0){if(xt){Ee.$c=0,0<Ee.Aa||(Ee.Ic=gu);e:{xt=Ee.Ic,Jt=4*(Ie=Ee.za);var Je=32*Ie,pt=Ie+1,kt=0<Ee.L?Ie*(0<Ee.Aa?2:1):0,Wt=(Ee.Aa==2?2:1)*Ie;if((Fe=Jt+832+(Tr=3*(16*xt+ed[Ee.L])/2*Je)+(Vr=Ee.Fa!=null&&0<Ee.Fa.length?Ee.Kc.c*Ee.Kc.i:0))!=Fe)xt=0;else{if(Fe>Ee.Vb){if(Ee.Vb=0,Ee.Ec=$e(Fe),Ee.Fc=0,Ee.Ec==null){xt=Ea(Ee,1,"no memory during frame initialization.");break e}Ee.Vb=Fe}Fe=Ee.Ec,se=Ee.Fc,Ee.Ac=Fe,Ee.Bc=se,se+=Jt,Ee.Gd=st(Je,No),Ee.Hd=0,Ee.rb=st(pt+1,Ma),Ee.sb=1,Ee.wa=kt?st(kt,Ga):null,Ee.Y=0,Ee.D.Nb=0,Ee.D.wa=Ee.wa,Ee.D.Y=Ee.Y,0<Ee.Aa&&(Ee.D.Y+=Ie),Re(!0),Ee.oc=Fe,Ee.pc=se,se+=832,Ee.ya=st(Wt,so),Ee.aa=0,Ee.D.ya=Ee.ya,Ee.D.aa=Ee.aa,Ee.Aa==2&&(Ee.D.aa+=Ie),Ee.R=16*Ie,Ee.B=8*Ie,Ie=(Je=ed[Ee.L])*Ee.R,Je=Je/2*Ee.B,Ee.sa=Fe,Ee.ta=se+Ie,Ee.qa=Ee.sa,Ee.ra=Ee.ta+16*xt*Ee.R+Je,Ee.Ha=Ee.qa,Ee.Ia=Ee.ra+8*xt*Ee.B+Je,Ee.$c=0,se+=Tr,Ee.mb=Vr?Fe:null,Ee.nb=Vr?se:null,Re(se+Vr<=Ee.Fc+Ee.Vb),Xo(Ee),et(Ee.Ac,Ee.Bc,0,Jt),xt=1}}if(xt){if(Qe.ka=0,Qe.y=Ee.sa,Qe.O=Ee.ta,Qe.f=Ee.qa,Qe.N=Ee.ra,Qe.ea=Ee.Ha,Qe.Vd=Ee.Ia,Qe.fa=Ee.R,Qe.Rc=Ee.B,Qe.F=null,Qe.J=0,!_d){for(xt=-255;255>=xt;++xt)au[255+xt]=0>xt?-xt:xt;for(xt=-1020;1020>=xt;++xt)Cd[1020+xt]=-128>xt?-128:127<xt?127:xt;for(xt=-112;112>=xt;++xt)od[112+xt]=-16>xt?-16:15<xt?15:xt;for(xt=-255;510>=xt;++xt)Ed[255+xt]=0>xt?0:255<xt?255:xt;_d=1}Wc=es,Dc=ks,wc=As,ps=ko,xo=ys,jc=lo,ls=Lc,Ds=bc,Nl=Ks,vc=Ol,ec=pc,Xl=fs,hl=Hs,tl=ol,Ll=zs,Qs=Tl,xc=vl,ku=Cl,Gc[0]=ul,Gc[1]=_s,Gc[2]=Go,Gc[3]=xl,Gc[4]=gl,Gc[5]=Xs,Gc[6]=_l,Gc[7]=Yo,Gc[8]=Wl,Gc[9]=al,Xc[0]=vs,Xc[1]=$s,Xc[2]=Ms,Xc[3]=Fs,Xc[4]=Ho,Xc[5]=Ns,Xc[6]=Us,Jc[0]=Sl,Jc[1]=Ts,Jc[2]=Ps,Jc[3]=nl,Jc[4]=nc,Jc[5]=Pc,Jc[6]=hc,xt=1}else xt=0}xt&&(xt=function(Kt,Mr){for(Kt.M=0;Kt.M<Kt.Va;++Kt.M){var Kr,Ir=Kt.Jc[Kt.M&Kt.Xb],Er=Kt.m,zr=Kt;for(Kr=0;Kr<zr.za;++Kr){var qr=Er,Nn=zr,wi=Nn.Ac,Ki=Nn.Bc+4*Kr,Oa=Nn.zc,ta=Nn.ya[Nn.aa+Kr];if(Nn.Qa.Bb?ta.$b=ia(qr,Nn.Pa.jb[0])?2+ia(qr,Nn.Pa.jb[2]):ia(qr,Nn.Pa.jb[1]):ta.$b=0,Nn.kc&&(ta.Ad=ia(qr,Nn.Bd)),ta.Za=!ia(qr,145)+0,ta.Za){var _o=ta.Ob,Wa=0;for(Nn=0;4>Nn;++Nn){var Ko,Lo=Oa[0+Nn];for(Ko=0;4>Ko;++Ko){Lo=hd[wi[Ki+Ko]][Lo];for(var ds=dd[ia(qr,Lo[0])];0<ds;)ds=dd[2*ds+ia(qr,Lo[ds])];Lo=-ds,wi[Ki+Ko]=Lo}Ge(_o,Wa,wi,Ki,4),Wa+=4,Oa[0+Nn]=Lo}}else Lo=ia(qr,156)?ia(qr,128)?1:3:ia(qr,163)?2:0,ta.Ob[0]=Lo,et(wi,Ki,Lo,4),et(Oa,0,Lo,4);ta.Dd=ia(qr,142)?ia(qr,114)?ia(qr,183)?1:3:2:0}if(zr.m.Ka)return Ea(Kt,7,"Premature end-of-partition0 encountered.");for(;Kt.ja<Kt.za;++Kt.ja){if(zr=Ir,qr=(Er=Kt).rb[Er.sb-1],wi=Er.rb[Er.sb+Er.ja],Kr=Er.ya[Er.aa+Er.ja],Ki=Er.kc?Kr.Ad:0)qr.la=wi.la=0,Kr.Za||(qr.Na=wi.Na=0),Kr.Hc=0,Kr.Gc=0,Kr.ia=0;else{var Rs,M;if(qr=wi,wi=zr,Ki=Er.Pa.Xc,Oa=Er.ya[Er.aa+Er.ja],ta=Er.pb[Oa.$b],Nn=Oa.ad,_o=0,Wa=Er.rb[Er.sb-1],Lo=Ko=0,et(Nn,_o,0,384),Oa.Za)var P=0,ae=Ki[3];else{ds=$e(16);var le=qr.Na+Wa.Na;if(le=Lu(wi,Ki[1],le,ta.Eb,0,ds,0),qr.Na=Wa.Na=(0<le)+0,1<le)Wc(ds,0,Nn,_o);else{var pe=ds[0]+3>>3;for(ds=0;256>ds;ds+=16)Nn[_o+ds]=pe}P=1,ae=Ki[0]}var Ve=15&qr.la,yt=15&Wa.la;for(ds=0;4>ds;++ds){var Ut=1&yt;for(pe=M=0;4>pe;++pe)Ve=Ve>>1|(Ut=(le=Lu(wi,ae,le=Ut+(1&Ve),ta.Sc,P,Nn,_o))>P)<<7,M=M<<2|(3<le?3:1<le?2:Nn[_o+0]!=0),_o+=16;Ve>>=4,yt=yt>>1|Ut<<7,Ko=(Ko<<8|M)>>>0}for(ae=Ve,P=yt>>4,Rs=0;4>Rs;Rs+=2){for(M=0,Ve=qr.la>>4+Rs,yt=Wa.la>>4+Rs,ds=0;2>ds;++ds){for(Ut=1&yt,pe=0;2>pe;++pe)le=Ut+(1&Ve),Ve=Ve>>1|(Ut=0<(le=Lu(wi,Ki[2],le,ta.Qc,0,Nn,_o)))<<3,M=M<<2|(3<le?3:1<le?2:Nn[_o+0]!=0),_o+=16;Ve>>=2,yt=yt>>1|Ut<<5}Lo|=M<<4*Rs,ae|=Ve<<4<<Rs,P|=(240&yt)<<Rs}qr.la=ae,Wa.la=P,Oa.Hc=Ko,Oa.Gc=Lo,Oa.ia=43690&Lo?0:ta.ia,Ki=!(Ko|Lo)}if(0<Er.L&&(Er.wa[Er.Y+Er.ja]=Er.gd[Kr.$b][Kr.Za],Er.wa[Er.Y+Er.ja].La|=!Ki),zr.Ka)return Ea(Kt,7,"Premature end-of-file encountered.")}if(Xo(Kt),Er=Mr,zr=1,Kr=(Ir=Kt).D,qr=0<Ir.L&&Ir.M>=Ir.zb&&Ir.M<=Ir.Va,Ir.Aa==0)e:{if(Kr.M=Ir.M,Kr.uc=qr,Os(Ir,Kr),zr=1,Kr=(M=Ir.D).Nb,qr=(Lo=ed[Ir.L])*Ir.R,wi=Lo/2*Ir.B,ds=16*Kr*Ir.R,pe=8*Kr*Ir.B,Ki=Ir.sa,Oa=Ir.ta-qr+ds,ta=Ir.qa,Nn=Ir.ra-wi+pe,_o=Ir.Ha,Wa=Ir.Ia-wi+pe,yt=(Ve=M.M)==0,Ko=Ve>=Ir.Va-1,Ir.Aa==2&&Os(Ir,M),M.uc)for(Ut=(le=Ir).D.M,Re(le.D.uc),M=le.yb;M<le.Hb;++M){P=M,ae=Ut;var sr=(fr=(to=le).D).Nb;Rs=to.R;var fr=fr.wa[fr.Y+P],xn=to.sa,jn=to.ta+16*sr*Rs+16*P,gi=fr.dd,Si=fr.tc;if(Si!=0)if(Re(3<=Si),to.L==1)0<P&&Qs(xn,jn,Rs,Si+4),fr.La&&ku(xn,jn,Rs,Si),0<ae&&Ll(xn,jn,Rs,Si+4),fr.La&&xc(xn,jn,Rs,Si);else{var la=to.B,Ua=to.qa,eo=to.ra+8*sr*la+8*P,no=to.Ha,to=to.Ia+8*sr*la+8*P;sr=fr.ld,0<P&&(Ds(xn,jn,Rs,Si+4,gi,sr),vc(Ua,eo,no,to,la,Si+4,gi,sr)),fr.La&&(Xl(xn,jn,Rs,Si,gi,sr),tl(Ua,eo,no,to,la,Si,gi,sr)),0<ae&&(ls(xn,jn,Rs,Si+4,gi,sr),Nl(Ua,eo,no,to,la,Si+4,gi,sr)),fr.La&&(ec(xn,jn,Rs,Si,gi,sr),hl(Ua,eo,no,to,la,Si,gi,sr))}}if(Ir.ia&&alert("todo:DitherRow"),Er.put!=null){if(M=16*Ve,Ve=16*(Ve+1),yt?(Er.y=Ir.sa,Er.O=Ir.ta+ds,Er.f=Ir.qa,Er.N=Ir.ra+pe,Er.ea=Ir.Ha,Er.W=Ir.Ia+pe):(M-=Lo,Er.y=Ki,Er.O=Oa,Er.f=ta,Er.N=Nn,Er.ea=_o,Er.W=Wa),Ko||(Ve-=Lo),Ve>Er.o&&(Ve=Er.o),Er.F=null,Er.J=null,Ir.Fa!=null&&0<Ir.Fa.length&&M<Ve&&(Er.J=Vt(Ir,Er,M,Ve-M),Er.F=Ir.mb,Er.F==null&&Er.F.length==0)){zr=Ea(Ir,3,"Could not decode alpha data.");break e}M<Er.j&&(Lo=Er.j-M,M=Er.j,Re(!(1&Lo)),Er.O+=Ir.R*Lo,Er.N+=Ir.B*(Lo>>1),Er.W+=Ir.B*(Lo>>1),Er.F!=null&&(Er.J+=Er.width*Lo)),M<Ve&&(Er.O+=Er.v,Er.N+=Er.v>>1,Er.W+=Er.v>>1,Er.F!=null&&(Er.J+=Er.v),Er.ka=M-Er.j,Er.U=Er.va-Er.v,Er.T=Ve-M,zr=Er.put(Er))}Kr+1!=Ir.Ic||Ko||(Ge(Ir.sa,Ir.ta-qr,Ki,Oa+16*Ir.R,qr),Ge(Ir.qa,Ir.ra-wi,ta,Nn+8*Ir.B,wi),Ge(Ir.Ha,Ir.Ia-wi,_o,Wa+8*Ir.B,wi))}if(!zr)return Ea(Kt,6,"Output aborted.")}return 1}(Ee,Qe)),Qe.bc!=null&&Qe.bc(Qe),xt&=1}return xt?(Ee.cb=0,xt):0}function cs(Ee,Qe,xt,Jt,Tr){Tr=Ee[Qe+xt+32*Jt]+(Tr>>3),Ee[Qe+xt+32*Jt]=-256&Tr?0>Tr?0:255:Tr}function Oo(Ee,Qe,xt,Jt,Tr,Vr){cs(Ee,Qe,0,xt,Jt+Tr),cs(Ee,Qe,1,xt,Jt+Vr),cs(Ee,Qe,2,xt,Jt-Vr),cs(Ee,Qe,3,xt,Jt-Tr)}function ss(Ee){return(20091*Ee>>16)+Ee}function Io(Ee,Qe,xt,Jt){var Tr,Vr=0,Fe=$e(16);for(Tr=0;4>Tr;++Tr){var se=Ee[Qe+0]+Ee[Qe+8],Ie=Ee[Qe+0]-Ee[Qe+8],Je=(35468*Ee[Qe+4]>>16)-ss(Ee[Qe+12]),pt=ss(Ee[Qe+4])+(35468*Ee[Qe+12]>>16);Fe[Vr+0]=se+pt,Fe[Vr+1]=Ie+Je,Fe[Vr+2]=Ie-Je,Fe[Vr+3]=se-pt,Vr+=4,Qe++}for(Tr=Vr=0;4>Tr;++Tr)se=(Ee=Fe[Vr+0]+4)+Fe[Vr+8],Ie=Ee-Fe[Vr+8],Je=(35468*Fe[Vr+4]>>16)-ss(Fe[Vr+12]),cs(xt,Jt,0,0,se+(pt=ss(Fe[Vr+4])+(35468*Fe[Vr+12]>>16))),cs(xt,Jt,1,0,Ie+Je),cs(xt,Jt,2,0,Ie-Je),cs(xt,Jt,3,0,se-pt),Vr++,Jt+=32}function lo(Ee,Qe,xt,Jt){var Tr=Ee[Qe+0]+4,Vr=35468*Ee[Qe+4]>>16,Fe=ss(Ee[Qe+4]),se=35468*Ee[Qe+1]>>16;Oo(xt,Jt,0,Tr+Fe,Ee=ss(Ee[Qe+1]),se),Oo(xt,Jt,1,Tr+Vr,Ee,se),Oo(xt,Jt,2,Tr-Vr,Ee,se),Oo(xt,Jt,3,Tr-Fe,Ee,se)}function ks(Ee,Qe,xt,Jt,Tr){Io(Ee,Qe,xt,Jt),Tr&&Io(Ee,Qe+16,xt,Jt+4)}function As(Ee,Qe,xt,Jt){Dc(Ee,Qe+0,xt,Jt,1),Dc(Ee,Qe+32,xt,Jt+128,1)}function ko(Ee,Qe,xt,Jt){var Tr;for(Ee=Ee[Qe+0]+4,Tr=0;4>Tr;++Tr)for(Qe=0;4>Qe;++Qe)cs(xt,Jt,Qe,Tr,Ee)}function ys(Ee,Qe,xt,Jt){Ee[Qe+0]&&ps(Ee,Qe+0,xt,Jt),Ee[Qe+16]&&ps(Ee,Qe+16,xt,Jt+4),Ee[Qe+32]&&ps(Ee,Qe+32,xt,Jt+128),Ee[Qe+48]&&ps(Ee,Qe+48,xt,Jt+128+4)}function es(Ee,Qe,xt,Jt){var Tr,Vr=$e(16);for(Tr=0;4>Tr;++Tr){var Fe=Ee[Qe+0+Tr]+Ee[Qe+12+Tr],se=Ee[Qe+4+Tr]+Ee[Qe+8+Tr],Ie=Ee[Qe+4+Tr]-Ee[Qe+8+Tr],Je=Ee[Qe+0+Tr]-Ee[Qe+12+Tr];Vr[0+Tr]=Fe+se,Vr[8+Tr]=Fe-se,Vr[4+Tr]=Je+Ie,Vr[12+Tr]=Je-Ie}for(Tr=0;4>Tr;++Tr)Fe=(Ee=Vr[0+4*Tr]+3)+Vr[3+4*Tr],se=Vr[1+4*Tr]+Vr[2+4*Tr],Ie=Vr[1+4*Tr]-Vr[2+4*Tr],Je=Ee-Vr[3+4*Tr],xt[Jt+0]=Fe+se>>3,xt[Jt+16]=Je+Ie>>3,xt[Jt+32]=Fe-se>>3,xt[Jt+48]=Je-Ie>>3,Jt+=64}function ts(Ee,Qe,xt){var Jt,Tr=Qe-32,Vr=Gl,Fe=255-Ee[Tr-1];for(Jt=0;Jt<xt;++Jt){var se,Ie=Vr,Je=Fe+Ee[Qe-1];for(se=0;se<xt;++se)Ee[Qe+se]=Ie[Je+Ee[Tr+se]];Qe+=32}}function _s(Ee,Qe){ts(Ee,Qe,4)}function Ts(Ee,Qe){ts(Ee,Qe,8)}function $s(Ee,Qe){ts(Ee,Qe,16)}function Ms(Ee,Qe){var xt;for(xt=0;16>xt;++xt)Ge(Ee,Qe+32*xt,Ee,Qe-32,16)}function Fs(Ee,Qe){var xt;for(xt=16;0<xt;--xt)et(Ee,Qe,Ee[Qe-1],16),Qe+=32}function as(Ee,Qe,xt){var Jt;for(Jt=0;16>Jt;++Jt)et(Qe,xt+32*Jt,Ee,16)}function vs(Ee,Qe){var xt,Jt=16;for(xt=0;16>xt;++xt)Jt+=Ee[Qe-1+32*xt]+Ee[Qe+xt-32];as(Jt>>5,Ee,Qe)}function Ho(Ee,Qe){var xt,Jt=8;for(xt=0;16>xt;++xt)Jt+=Ee[Qe-1+32*xt];as(Jt>>4,Ee,Qe)}function Ns(Ee,Qe){var xt,Jt=8;for(xt=0;16>xt;++xt)Jt+=Ee[Qe+xt-32];as(Jt>>4,Ee,Qe)}function Us(Ee,Qe){as(128,Ee,Qe)}function ka(Ee,Qe,xt){return Ee+2*Qe+xt+2>>2}function Go(Ee,Qe){var xt,Jt=Qe-32;for(Jt=new Uint8Array([ka(Ee[Jt-1],Ee[Jt+0],Ee[Jt+1]),ka(Ee[Jt+0],Ee[Jt+1],Ee[Jt+2]),ka(Ee[Jt+1],Ee[Jt+2],Ee[Jt+3]),ka(Ee[Jt+2],Ee[Jt+3],Ee[Jt+4])]),xt=0;4>xt;++xt)Ge(Ee,Qe+32*xt,Jt,0,Jt.length)}function xl(Ee,Qe){var xt=Ee[Qe-1],Jt=Ee[Qe-1+32],Tr=Ee[Qe-1+64],Vr=Ee[Qe-1+96];Va(Ee,Qe+0,16843009*ka(Ee[Qe-1-32],xt,Jt)),Va(Ee,Qe+32,16843009*ka(xt,Jt,Tr)),Va(Ee,Qe+64,16843009*ka(Jt,Tr,Vr)),Va(Ee,Qe+96,16843009*ka(Tr,Vr,Vr))}function ul(Ee,Qe){var xt,Jt=4;for(xt=0;4>xt;++xt)Jt+=Ee[Qe+xt-32]+Ee[Qe-1+32*xt];for(Jt>>=3,xt=0;4>xt;++xt)et(Ee,Qe+32*xt,Jt,4)}function gl(Ee,Qe){var xt=Ee[Qe-1+0],Jt=Ee[Qe-1+32],Tr=Ee[Qe-1+64],Vr=Ee[Qe-1-32],Fe=Ee[Qe+0-32],se=Ee[Qe+1-32],Ie=Ee[Qe+2-32],Je=Ee[Qe+3-32];Ee[Qe+0+96]=ka(Jt,Tr,Ee[Qe-1+96]),Ee[Qe+1+96]=Ee[Qe+0+64]=ka(xt,Jt,Tr),Ee[Qe+2+96]=Ee[Qe+1+64]=Ee[Qe+0+32]=ka(Vr,xt,Jt),Ee[Qe+3+96]=Ee[Qe+2+64]=Ee[Qe+1+32]=Ee[Qe+0+0]=ka(Fe,Vr,xt),Ee[Qe+3+64]=Ee[Qe+2+32]=Ee[Qe+1+0]=ka(se,Fe,Vr),Ee[Qe+3+32]=Ee[Qe+2+0]=ka(Ie,se,Fe),Ee[Qe+3+0]=ka(Je,Ie,se)}function _l(Ee,Qe){var xt=Ee[Qe+1-32],Jt=Ee[Qe+2-32],Tr=Ee[Qe+3-32],Vr=Ee[Qe+4-32],Fe=Ee[Qe+5-32],se=Ee[Qe+6-32],Ie=Ee[Qe+7-32];Ee[Qe+0+0]=ka(Ee[Qe+0-32],xt,Jt),Ee[Qe+1+0]=Ee[Qe+0+32]=ka(xt,Jt,Tr),Ee[Qe+2+0]=Ee[Qe+1+32]=Ee[Qe+0+64]=ka(Jt,Tr,Vr),Ee[Qe+3+0]=Ee[Qe+2+32]=Ee[Qe+1+64]=Ee[Qe+0+96]=ka(Tr,Vr,Fe),Ee[Qe+3+32]=Ee[Qe+2+64]=Ee[Qe+1+96]=ka(Vr,Fe,se),Ee[Qe+3+64]=Ee[Qe+2+96]=ka(Fe,se,Ie),Ee[Qe+3+96]=ka(se,Ie,Ie)}function Xs(Ee,Qe){var xt=Ee[Qe-1+0],Jt=Ee[Qe-1+32],Tr=Ee[Qe-1+64],Vr=Ee[Qe-1-32],Fe=Ee[Qe+0-32],se=Ee[Qe+1-32],Ie=Ee[Qe+2-32],Je=Ee[Qe+3-32];Ee[Qe+0+0]=Ee[Qe+1+64]=Vr+Fe+1>>1,Ee[Qe+1+0]=Ee[Qe+2+64]=Fe+se+1>>1,Ee[Qe+2+0]=Ee[Qe+3+64]=se+Ie+1>>1,Ee[Qe+3+0]=Ie+Je+1>>1,Ee[Qe+0+96]=ka(Tr,Jt,xt),Ee[Qe+0+64]=ka(Jt,xt,Vr),Ee[Qe+0+32]=Ee[Qe+1+96]=ka(xt,Vr,Fe),Ee[Qe+1+32]=Ee[Qe+2+96]=ka(Vr,Fe,se),Ee[Qe+2+32]=Ee[Qe+3+96]=ka(Fe,se,Ie),Ee[Qe+3+32]=ka(se,Ie,Je)}function Yo(Ee,Qe){var xt=Ee[Qe+0-32],Jt=Ee[Qe+1-32],Tr=Ee[Qe+2-32],Vr=Ee[Qe+3-32],Fe=Ee[Qe+4-32],se=Ee[Qe+5-32],Ie=Ee[Qe+6-32],Je=Ee[Qe+7-32];Ee[Qe+0+0]=xt+Jt+1>>1,Ee[Qe+1+0]=Ee[Qe+0+64]=Jt+Tr+1>>1,Ee[Qe+2+0]=Ee[Qe+1+64]=Tr+Vr+1>>1,Ee[Qe+3+0]=Ee[Qe+2+64]=Vr+Fe+1>>1,Ee[Qe+0+32]=ka(xt,Jt,Tr),Ee[Qe+1+32]=Ee[Qe+0+96]=ka(Jt,Tr,Vr),Ee[Qe+2+32]=Ee[Qe+1+96]=ka(Tr,Vr,Fe),Ee[Qe+3+32]=Ee[Qe+2+96]=ka(Vr,Fe,se),Ee[Qe+3+64]=ka(Fe,se,Ie),Ee[Qe+3+96]=ka(se,Ie,Je)}function al(Ee,Qe){var xt=Ee[Qe-1+0],Jt=Ee[Qe-1+32],Tr=Ee[Qe-1+64],Vr=Ee[Qe-1+96];Ee[Qe+0+0]=xt+Jt+1>>1,Ee[Qe+2+0]=Ee[Qe+0+32]=Jt+Tr+1>>1,Ee[Qe+2+32]=Ee[Qe+0+64]=Tr+Vr+1>>1,Ee[Qe+1+0]=ka(xt,Jt,Tr),Ee[Qe+3+0]=Ee[Qe+1+32]=ka(Jt,Tr,Vr),Ee[Qe+3+32]=Ee[Qe+1+64]=ka(Tr,Vr,Vr),Ee[Qe+3+64]=Ee[Qe+2+64]=Ee[Qe+0+96]=Ee[Qe+1+96]=Ee[Qe+2+96]=Ee[Qe+3+96]=Vr}function Wl(Ee,Qe){var xt=Ee[Qe-1+0],Jt=Ee[Qe-1+32],Tr=Ee[Qe-1+64],Vr=Ee[Qe-1+96],Fe=Ee[Qe-1-32],se=Ee[Qe+0-32],Ie=Ee[Qe+1-32],Je=Ee[Qe+2-32];Ee[Qe+0+0]=Ee[Qe+2+32]=xt+Fe+1>>1,Ee[Qe+0+32]=Ee[Qe+2+64]=Jt+xt+1>>1,Ee[Qe+0+64]=Ee[Qe+2+96]=Tr+Jt+1>>1,Ee[Qe+0+96]=Vr+Tr+1>>1,Ee[Qe+3+0]=ka(se,Ie,Je),Ee[Qe+2+0]=ka(Fe,se,Ie),Ee[Qe+1+0]=Ee[Qe+3+32]=ka(xt,Fe,se),Ee[Qe+1+32]=Ee[Qe+3+64]=ka(Jt,xt,Fe),Ee[Qe+1+64]=Ee[Qe+3+96]=ka(Tr,Jt,xt),Ee[Qe+1+96]=ka(Vr,Tr,Jt)}function Ps(Ee,Qe){var xt;for(xt=0;8>xt;++xt)Ge(Ee,Qe+32*xt,Ee,Qe-32,8)}function nl(Ee,Qe){var xt;for(xt=0;8>xt;++xt)et(Ee,Qe,Ee[Qe-1],8),Qe+=32}function $o(Ee,Qe,xt){var Jt;for(Jt=0;8>Jt;++Jt)et(Qe,xt+32*Jt,Ee,8)}function Sl(Ee,Qe){var xt,Jt=8;for(xt=0;8>xt;++xt)Jt+=Ee[Qe+xt-32]+Ee[Qe-1+32*xt];$o(Jt>>4,Ee,Qe)}function Pc(Ee,Qe){var xt,Jt=4;for(xt=0;8>xt;++xt)Jt+=Ee[Qe+xt-32];$o(Jt>>3,Ee,Qe)}function nc(Ee,Qe){var xt,Jt=4;for(xt=0;8>xt;++xt)Jt+=Ee[Qe-1+32*xt];$o(Jt>>3,Ee,Qe)}function hc(Ee,Qe){$o(128,Ee,Qe)}function ic(Ee,Qe,xt){var Jt=Ee[Qe-xt],Tr=Ee[Qe+0],Vr=3*(Tr-Jt)+Xu[1020+Ee[Qe-2*xt]-Ee[Qe+xt]],Fe=Ec[112+(Vr+4>>3)];Ee[Qe-xt]=Gl[255+Jt+Ec[112+(Vr+3>>3)]],Ee[Qe+0]=Gl[255+Tr-Fe]}function Jl(Ee,Qe,xt,Jt){var Tr=Ee[Qe+0],Vr=Ee[Qe+xt];return Bc[255+Ee[Qe-2*xt]-Ee[Qe-xt]]>Jt||Bc[255+Vr-Tr]>Jt}function Yl(Ee,Qe,xt,Jt){return 4*Bc[255+Ee[Qe-xt]-Ee[Qe+0]]+Bc[255+Ee[Qe-2*xt]-Ee[Qe+xt]]<=Jt}function Al(Ee,Qe,xt,Jt,Tr){var Vr=Ee[Qe-3*xt],Fe=Ee[Qe-2*xt],se=Ee[Qe-xt],Ie=Ee[Qe+0],Je=Ee[Qe+xt],pt=Ee[Qe+2*xt],kt=Ee[Qe+3*xt];return 4*Bc[255+se-Ie]+Bc[255+Fe-Je]>Jt?0:Bc[255+Ee[Qe-4*xt]-Vr]<=Tr&&Bc[255+Vr-Fe]<=Tr&&Bc[255+Fe-se]<=Tr&&Bc[255+kt-pt]<=Tr&&Bc[255+pt-Je]<=Tr&&Bc[255+Je-Ie]<=Tr}function zs(Ee,Qe,xt,Jt){var Tr=2*Jt+1;for(Jt=0;16>Jt;++Jt)Yl(Ee,Qe+Jt,xt,Tr)&&ic(Ee,Qe+Jt,xt)}function Tl(Ee,Qe,xt,Jt){var Tr=2*Jt+1;for(Jt=0;16>Jt;++Jt)Yl(Ee,Qe+Jt*xt,1,Tr)&&ic(Ee,Qe+Jt*xt,1)}function vl(Ee,Qe,xt,Jt){var Tr;for(Tr=3;0<Tr;--Tr)zs(Ee,Qe+=4*xt,xt,Jt)}function Cl(Ee,Qe,xt,Jt){var Tr;for(Tr=3;0<Tr;--Tr)Tl(Ee,Qe+=4,xt,Jt)}function dn(Ee,Qe,xt,Jt,Tr,Vr,Fe,se){for(Vr=2*Vr+1;0<Tr--;){if(Al(Ee,Qe,xt,Vr,Fe))if(Jl(Ee,Qe,xt,se))ic(Ee,Qe,xt);else{var Ie=Ee,Je=Qe,pt=xt,kt=Ie[Je-2*pt],Wt=Ie[Je-pt],Kt=Ie[Je+0],Mr=Ie[Je+pt],Kr=Ie[Je+2*pt],Ir=27*(zr=Xu[1020+3*(Kt-Wt)+Xu[1020+kt-Mr]])+63>>7,Er=18*zr+63>>7,zr=9*zr+63>>7;Ie[Je-3*pt]=Gl[255+Ie[Je-3*pt]+zr],Ie[Je-2*pt]=Gl[255+kt+Er],Ie[Je-pt]=Gl[255+Wt+Ir],Ie[Je+0]=Gl[255+Kt-Ir],Ie[Je+pt]=Gl[255+Mr-Er],Ie[Je+2*pt]=Gl[255+Kr-zr]}Qe+=Jt}}function bl(Ee,Qe,xt,Jt,Tr,Vr,Fe,se){for(Vr=2*Vr+1;0<Tr--;){if(Al(Ee,Qe,xt,Vr,Fe))if(Jl(Ee,Qe,xt,se))ic(Ee,Qe,xt);else{var Ie=Ee,Je=Qe,pt=xt,kt=Ie[Je-pt],Wt=Ie[Je+0],Kt=Ie[Je+pt],Mr=Ec[112+((Kr=3*(Wt-kt))+4>>3)],Kr=Ec[112+(Kr+3>>3)],Ir=Mr+1>>1;Ie[Je-2*pt]=Gl[255+Ie[Je-2*pt]+Ir],Ie[Je-pt]=Gl[255+kt+Kr],Ie[Je+0]=Gl[255+Wt-Mr],Ie[Je+pt]=Gl[255+Kt-Ir]}Qe+=Jt}}function Lc(Ee,Qe,xt,Jt,Tr,Vr){dn(Ee,Qe,xt,1,16,Jt,Tr,Vr)}function bc(Ee,Qe,xt,Jt,Tr,Vr){dn(Ee,Qe,1,xt,16,Jt,Tr,Vr)}function pc(Ee,Qe,xt,Jt,Tr,Vr){var Fe;for(Fe=3;0<Fe;--Fe)bl(Ee,Qe+=4*xt,xt,1,16,Jt,Tr,Vr)}function fs(Ee,Qe,xt,Jt,Tr,Vr){var Fe;for(Fe=3;0<Fe;--Fe)bl(Ee,Qe+=4,1,xt,16,Jt,Tr,Vr)}function Ks(Ee,Qe,xt,Jt,Tr,Vr,Fe,se){dn(Ee,Qe,Tr,1,8,Vr,Fe,se),dn(xt,Jt,Tr,1,8,Vr,Fe,se)}function Ol(Ee,Qe,xt,Jt,Tr,Vr,Fe,se){dn(Ee,Qe,1,Tr,8,Vr,Fe,se),dn(xt,Jt,1,Tr,8,Vr,Fe,se)}function Hs(Ee,Qe,xt,Jt,Tr,Vr,Fe,se){bl(Ee,Qe+4*Tr,Tr,1,8,Vr,Fe,se),bl(xt,Jt+4*Tr,Tr,1,8,Vr,Fe,se)}function ol(Ee,Qe,xt,Jt,Tr,Vr,Fe,se){bl(Ee,Qe+4,1,Tr,8,Vr,Fe,se),bl(xt,Jt+4,1,Tr,8,Vr,Fe,se)}function Gs(){this.ba=new Pi,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new sa,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Il(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Uc(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function mc(){this.ua=0,this.Wa=new $i,this.vb=new $i,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new ki,this.yc=new ri}function yc(){this.xb=this.a=0,this.l=new zo,this.ca=new Pi,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new on,this.Pb=0,this.wd=new on,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new mc,this.ab=0,this.gc=st(4,Uc),this.Oc=0}function ac(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new zo,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Ql(Ee,Qe,xt,Jt,Tr,Vr,Fe){for(Ee=Ee==null?0:Ee[Qe+0],Qe=0;Qe<Fe;++Qe)Tr[Vr+Qe]=Ee+xt[Jt+Qe]&255,Ee=Tr[Vr+Qe]}function gc(Ee,Qe,xt,Jt,Tr,Vr,Fe){var se;if(Ee==null)Ql(null,null,xt,Jt,Tr,Vr,Fe);else for(se=0;se<Fe;++se)Tr[Vr+se]=Ee[Qe+se]+xt[Jt+se]&255}function Mt(Ee,Qe,xt,Jt,Tr,Vr,Fe){if(Ee==null)Ql(null,null,xt,Jt,Tr,Vr,Fe);else{var se,Ie=Ee[Qe+0],Je=Ie,pt=Ie;for(se=0;se<Fe;++se)Je=pt+(Ie=Ee[Qe+se])-Je,pt=xt[Jt+se]+(-256&Je?0>Je?0:255:Je)&255,Je=Ie,Tr[Vr+se]=pt}}function Vt(Ee,Qe,xt,Jt){var Tr=Qe.width,Vr=Qe.o;if(Re(Ee!=null&&Qe!=null),0>xt||0>=Jt||xt+Jt>Vr)return null;if(!Ee.Cc){if(Ee.ga==null){var Fe;if(Ee.ga=new ac,(Fe=Ee.ga==null)||(Fe=Qe.width*Qe.o,Re(Ee.Gb.length==0),Ee.Gb=$e(Fe),Ee.Uc=0,Ee.Gb==null?Fe=0:(Ee.mb=Ee.Gb,Ee.nb=Ee.Uc,Ee.rc=null,Fe=1),Fe=!Fe),!Fe){Fe=Ee.ga;var se=Ee.Fa,Ie=Ee.P,Je=Ee.qc,pt=Ee.mb,kt=Ee.nb,Wt=Ie+1,Kt=Je-1,Mr=Fe.l;if(Re(se!=null&&pt!=null&&Qe!=null),lu[0]=null,lu[1]=Ql,lu[2]=gc,lu[3]=Mt,Fe.ca=pt,Fe.tb=kt,Fe.c=Qe.width,Fe.i=Qe.height,Re(0<Fe.c&&0<Fe.i),1>=Je)Qe=0;else if(Fe.$a=se[Ie+0]>>0&3,Fe.Z=se[Ie+0]>>2&3,Fe.Lc=se[Ie+0]>>4&3,Ie=se[Ie+0]>>6&3,0>Fe.$a||1<Fe.$a||4<=Fe.Z||1<Fe.Lc||Ie)Qe=0;else if(Mr.put=Ca,Mr.ac=va,Mr.bc=Ai,Mr.ma=Fe,Mr.width=Qe.width,Mr.height=Qe.height,Mr.Da=Qe.Da,Mr.v=Qe.v,Mr.va=Qe.va,Mr.j=Qe.j,Mr.o=Qe.o,Fe.$a)e:{Re(Fe.$a==1),Qe=Qn();t:for(;;){if(Qe==null){Qe=0;break e}if(Re(Fe!=null),Fe.mc=Qe,Qe.c=Fe.c,Qe.i=Fe.i,Qe.l=Fe.l,Qe.l.ma=Fe,Qe.l.width=Fe.c,Qe.l.height=Fe.i,Qe.a=0,li(Qe.m,se,Wt,Kt),!yi(Fe.c,Fe.i,1,Qe,null))break t;if(Qe.ab==1&&Qe.gc[0].hc==3&&mr(Qe.s)?(Fe.ic=1,se=Qe.c*Qe.i,Qe.Ta=null,Qe.Ua=0,Qe.V=$e(se),Qe.Ba=0,Qe.V==null?(Qe.a=1,Qe=0):Qe=1):(Fe.ic=0,Qe=Di(Qe,Fe.c)),!Qe)break t;Qe=1;break e}Fe.mc=null,Qe=0}else Qe=Kt>=Fe.c*Fe.i;Fe=!Qe}if(Fe)return null;Ee.ga.Lc!=1?Ee.Ga=0:Jt=Vr-xt}Re(Ee.ga!=null),Re(xt+Jt<=Vr);e:{if(Qe=(se=Ee.ga).c,Vr=se.l.o,se.$a==0){if(Wt=Ee.rc,Kt=Ee.Vc,Mr=Ee.Fa,Ie=Ee.P+1+xt*Qe,Je=Ee.mb,pt=Ee.nb+xt*Qe,Re(Ie<=Ee.P+Ee.qc),se.Z!=0)for(Re(lu[se.Z]!=null),Fe=0;Fe<Jt;++Fe)lu[se.Z](Wt,Kt,Mr,Ie,Je,pt,Qe),Wt=Je,Kt=pt,pt+=Qe,Ie+=Qe;else for(Fe=0;Fe<Jt;++Fe)Ge(Je,pt,Mr,Ie,Qe),Wt=Je,Kt=pt,pt+=Qe,Ie+=Qe;Ee.rc=Wt,Ee.Vc=Kt}else{if(Re(se.mc!=null),Qe=xt+Jt,Re((Fe=se.mc)!=null),Re(Qe<=Fe.i),Fe.C>=Qe)Qe=1;else if(se.ic||Se(),se.ic){se=Fe.V,Wt=Fe.Ba,Kt=Fe.c;var Kr=Fe.i,Ir=(Mr=1,Ie=Fe.$/Kt,Je=Fe.$%Kt,pt=Fe.m,kt=Fe.s,Fe.$),Er=Kt*Kr,zr=Kt*Qe,qr=kt.wc,Nn=Ir<zr?Jr(kt,Je,Ie):null;Re(Ir<=Er),Re(Qe<=Kr),Re(mr(kt));t:for(;;){for(;!pt.h&&Ir<zr;){if(Je&qr||(Nn=Jr(kt,Je,Ie)),Re(Nn!=null),zi(pt),256>(Kr=$r(Nn.G[0],Nn.H[0],pt)))se[Wt+Ir]=Kr,++Ir,++Je>=Kt&&(Je=0,++Ie<=Qe&&!(Ie%16)&&sn(Fe,Ie));else{if(!(280>Kr)){Mr=0;break t}Kr=za(Kr-256,pt);var wi,Ki=$r(Nn.G[4],Nn.H[4],pt);if(zi(pt),!(Ir>=(Ki=Or(Kt,Ki=za(Ki,pt)))&&Er-Ir>=Kr)){Mr=0;break t}for(wi=0;wi<Kr;++wi)se[Wt+Ir+wi]=se[Wt+Ir+wi-Ki];for(Ir+=Kr,Je+=Kr;Je>=Kt;)Je-=Kt,++Ie<=Qe&&!(Ie%16)&&sn(Fe,Ie);Ir<zr&&Je&qr&&(Nn=Jr(kt,Je,Ie))}Re(pt.h==hi(pt))}sn(Fe,Ie>Qe?Qe:Ie);break t}!Mr||pt.h&&Ir<Er?(Mr=0,Fe.a=pt.h?5:3):Fe.$=Ir,Qe=Mr}else Qe=Hn(Fe,Fe.V,Fe.Ba,Fe.c,Fe.i,Qe,Ui);if(!Qe){Jt=0;break e}}xt+Jt>=Vr&&(Ee.Cc=1),Jt=1}if(!Jt)return null;if(Ee.Cc&&((Jt=Ee.ga)!=null&&(Jt.mc=null),Ee.ga=null,0<Ee.Ga))return alert("todo:WebPDequantizeLevels"),null}return Ee.nb+xt*Tr}function wn(Ee,Qe,xt,Jt,Tr,Vr){for(;0<Tr--;){var Fe,se=Ee,Ie=Qe+(xt?1:0),Je=Ee,pt=Qe+(xt?0:3);for(Fe=0;Fe<Jt;++Fe){var kt=Je[pt+4*Fe];kt!=255&&(kt*=32897,se[Ie+4*Fe+0]=se[Ie+4*Fe+0]*kt>>23,se[Ie+4*Fe+1]=se[Ie+4*Fe+1]*kt>>23,se[Ie+4*Fe+2]=se[Ie+4*Fe+2]*kt>>23)}Qe+=Vr}}function ci(Ee,Qe,xt,Jt,Tr){for(;0<Jt--;){var Vr;for(Vr=0;Vr<xt;++Vr){var Fe=Ee[Qe+2*Vr+0],se=15&(Je=Ee[Qe+2*Vr+1]),Ie=4369*se,Je=(240&Je|Je>>4)*Ie>>16;Ee[Qe+2*Vr+0]=(240&Fe|Fe>>4)*Ie>>16&240|(15&Fe|Fe<<4)*Ie>>16>>4&15,Ee[Qe+2*Vr+1]=240&Je|se}Qe+=Tr}}function Et(Ee,Qe,xt,Jt,Tr,Vr,Fe,se){var Ie,Je,pt=255;for(Je=0;Je<Tr;++Je){for(Ie=0;Ie<Jt;++Ie){var kt=Ee[Qe+Ie];Vr[Fe+4*Ie]=kt,pt&=kt}Qe+=xt,Fe+=se}return pt!=255}function ce(Ee,Qe,xt,Jt,Tr){var Vr;for(Vr=0;Vr<Tr;++Vr)xt[Jt+Vr]=Ee[Qe+Vr]>>8}function Se(){$c=wn,hu=ci,Rc=Et,fu=ce}function Oe(Ee,Qe,xt){bi[Ee]=function(Jt,Tr,Vr,Fe,se,Ie,Je,pt,kt,Wt,Kt,Mr,Kr,Ir,Er,zr,qr){var Nn,wi=qr-1>>1,Ki=se[Ie+0]|Je[pt+0]<<16,Oa=kt[Wt+0]|Kt[Mr+0]<<16;Re(Jt!=null);var ta=3*Ki+Oa+131074>>2;for(Qe(Jt[Tr+0],255&ta,ta>>16,Kr,Ir),Vr!=null&&(ta=3*Oa+Ki+131074>>2,Qe(Vr[Fe+0],255&ta,ta>>16,Er,zr)),Nn=1;Nn<=wi;++Nn){var _o=se[Ie+Nn]|Je[pt+Nn]<<16,Wa=kt[Wt+Nn]|Kt[Mr+Nn]<<16,Ko=Ki+_o+Oa+Wa+524296,Lo=Ko+2*(_o+Oa)>>3;ta=Lo+Ki>>1,Ki=(Ko=Ko+2*(Ki+Wa)>>3)+_o>>1,Qe(Jt[Tr+2*Nn-1],255&ta,ta>>16,Kr,Ir+(2*Nn-1)*xt),Qe(Jt[Tr+2*Nn-0],255&Ki,Ki>>16,Kr,Ir+(2*Nn-0)*xt),Vr!=null&&(ta=Ko+Oa>>1,Ki=Lo+Wa>>1,Qe(Vr[Fe+2*Nn-1],255&ta,ta>>16,Er,zr+(2*Nn-1)*xt),Qe(Vr[Fe+2*Nn+0],255&Ki,Ki>>16,Er,zr+(2*Nn+0)*xt)),Ki=_o,Oa=Wa}1&qr||(ta=3*Ki+Oa+131074>>2,Qe(Jt[Tr+qr-1],255&ta,ta>>16,Kr,Ir+(qr-1)*xt),Vr!=null&&(ta=3*Oa+Ki+131074>>2,Qe(Vr[Fe+qr-1],255&ta,ta>>16,Er,zr+(qr-1)*xt)))}}function Xe(){Yc[Fu]=Wu,Yc[sd]=Hd,Yc[ld]=Zu,Yc[Gu]=md,Yc[Tu]=Ju,Yc[jd]=$u,Yc[cd]=qu,Yc[Td]=Hd,Yc[qc]=md,Yc[ou]=Ju,Yc[Pu]=$u}function wt(Ee){return Ee&~$d?0>Ee?0:255:Ee>>nu}function Ht(Ee,Qe){return wt((19077*Ee>>8)+(26149*Qe>>8)-14234)}function Pr(Ee,Qe,xt){return wt((19077*Ee>>8)-(6419*Qe>>8)-(13320*xt>>8)+8708)}function Xr(Ee,Qe){return wt((19077*Ee>>8)+(33050*Qe>>8)-17685)}function yn(Ee,Qe,xt,Jt,Tr){Jt[Tr+0]=Ht(Ee,xt),Jt[Tr+1]=Pr(Ee,Qe,xt),Jt[Tr+2]=Xr(Ee,Qe)}function Jn(Ee,Qe,xt,Jt,Tr){Jt[Tr+0]=Xr(Ee,Qe),Jt[Tr+1]=Pr(Ee,Qe,xt),Jt[Tr+2]=Ht(Ee,xt)}function Ei(Ee,Qe,xt,Jt,Tr){var Vr=Pr(Ee,Qe,xt);Qe=Vr<<3&224|Xr(Ee,Qe)>>3,Jt[Tr+0]=248&Ht(Ee,xt)|Vr>>5,Jt[Tr+1]=Qe}function Ji(Ee,Qe,xt,Jt,Tr){var Vr=240&Xr(Ee,Qe)|15;Jt[Tr+0]=240&Ht(Ee,xt)|Pr(Ee,Qe,xt)>>4,Jt[Tr+1]=Vr}function wa(Ee,Qe,xt,Jt,Tr){Jt[Tr+0]=255,yn(Ee,Qe,xt,Jt,Tr+1)}function Ya(Ee,Qe,xt,Jt,Tr){Jn(Ee,Qe,xt,Jt,Tr),Jt[Tr+3]=255}function mo(Ee,Qe,xt,Jt,Tr){yn(Ee,Qe,xt,Jt,Tr),Jt[Tr+3]=255}function Ja(Ee,Qe){return 0>Ee?0:Ee>Qe?Qe:Ee}function Mo(Ee,Qe,xt){bi[Ee]=function(Jt,Tr,Vr,Fe,se,Ie,Je,pt,kt){for(var Wt=pt+(-2&kt)*xt;pt!=Wt;)Qe(Jt[Tr+0],Vr[Fe+0],se[Ie+0],Je,pt),Qe(Jt[Tr+1],Vr[Fe+0],se[Ie+0],Je,pt+xt),Tr+=2,++Fe,++Ie,pt+=2*xt;1&kt&&Qe(Jt[Tr+0],Vr[Fe+0],se[Ie+0],Je,pt)}}function us(Ee,Qe,xt){return xt==0?Ee==0?Qe==0?6:5:Qe==0?4:0:xt}function ws(Ee,Qe,xt,Jt,Tr){switch(Ee>>>30){case 3:Dc(Qe,xt,Jt,Tr,0);break;case 2:jc(Qe,xt,Jt,Tr);break;case 1:ps(Qe,xt,Jt,Tr)}}function Os(Ee,Qe){var xt,Jt,Tr=Qe.M,Vr=Qe.Nb,Fe=Ee.oc,se=Ee.pc+40,Ie=Ee.oc,Je=Ee.pc+584,pt=Ee.oc,kt=Ee.pc+600;for(xt=0;16>xt;++xt)Fe[se+32*xt-1]=129;for(xt=0;8>xt;++xt)Ie[Je+32*xt-1]=129,pt[kt+32*xt-1]=129;for(0<Tr?Fe[se-1-32]=Ie[Je-1-32]=pt[kt-1-32]=129:(et(Fe,se-32-1,127,21),et(Ie,Je-32-1,127,9),et(pt,kt-32-1,127,9)),Jt=0;Jt<Ee.za;++Jt){var Wt=Qe.ya[Qe.aa+Jt];if(0<Jt){for(xt=-1;16>xt;++xt)Ge(Fe,se+32*xt-4,Fe,se+32*xt+12,4);for(xt=-1;8>xt;++xt)Ge(Ie,Je+32*xt-4,Ie,Je+32*xt+4,4),Ge(pt,kt+32*xt-4,pt,kt+32*xt+4,4)}var Kt=Ee.Gd,Mr=Ee.Hd+Jt,Kr=Wt.ad,Ir=Wt.Hc;if(0<Tr&&(Ge(Fe,se-32,Kt[Mr].y,0,16),Ge(Ie,Je-32,Kt[Mr].f,0,8),Ge(pt,kt-32,Kt[Mr].ea,0,8)),Wt.Za){var Er=Fe,zr=se-32+16;for(0<Tr&&(Jt>=Ee.za-1?et(Er,zr,Kt[Mr].y[15],4):Ge(Er,zr,Kt[Mr+1].y,0,4)),xt=0;4>xt;xt++)Er[zr+128+xt]=Er[zr+256+xt]=Er[zr+384+xt]=Er[zr+0+xt];for(xt=0;16>xt;++xt,Ir<<=2)Er=Fe,zr=se+Dd[xt],Gc[Wt.Ob[xt]](Er,zr),ws(Ir,Kr,16*+xt,Er,zr)}else if(Er=us(Jt,Tr,Wt.Ob[0]),Xc[Er](Fe,se),Ir!=0)for(xt=0;16>xt;++xt,Ir<<=2)ws(Ir,Kr,16*+xt,Fe,se+Dd[xt]);for(xt=Wt.Gc,Er=us(Jt,Tr,Wt.Dd),Jc[Er](Ie,Je),Jc[Er](pt,kt),Ir=Kr,Er=Ie,zr=Je,255&(Wt=xt>>0)&&(170&Wt?wc(Ir,256,Er,zr):xo(Ir,256,Er,zr)),Wt=pt,Ir=kt,255&(xt>>=8)&&(170&xt?wc(Kr,320,Wt,Ir):xo(Kr,320,Wt,Ir)),Tr<Ee.Ub-1&&(Ge(Kt[Mr].y,0,Fe,se+480,16),Ge(Kt[Mr].f,0,Ie,Je+224,8),Ge(Kt[Mr].ea,0,pt,kt+224,8)),xt=8*Vr*Ee.B,Kt=Ee.sa,Mr=Ee.ta+16*Jt+16*Vr*Ee.R,Kr=Ee.qa,Wt=Ee.ra+8*Jt+xt,Ir=Ee.Ha,Er=Ee.Ia+8*Jt+xt,xt=0;16>xt;++xt)Ge(Kt,Mr+xt*Ee.R,Fe,se+32*xt,16);for(xt=0;8>xt;++xt)Ge(Kr,Wt+xt*Ee.B,Ie,Je+32*xt,8),Ge(Ir,Er+xt*Ee.B,pt,kt+32*xt,8)}}function il(Ee,Qe,xt,Jt,Tr,Vr,Fe,se,Ie){var Je=[0],pt=[0],kt=0,Wt=Ie!=null?Ie.kd:0,Kt=Ie!=null?Ie:new Il;if(Ee==null||12>xt)return 7;Kt.data=Ee,Kt.w=Qe,Kt.ha=xt,Qe=[Qe],xt=[xt],Kt.gb=[Kt.gb];e:{var Mr=Qe,Kr=xt,Ir=Kt.gb;if(Re(Ee!=null),Re(Kr!=null),Re(Ir!=null),Ir[0]=0,12<=Kr[0]&&!Ke(Ee,Mr[0],"RIFF")){if(Ke(Ee,Mr[0]+8,"WEBP")){Ir=3;break e}var Er=Ka(Ee,Mr[0]+4);if(12>Er||4294967286<Er){Ir=3;break e}if(Wt&&Er>Kr[0]-8){Ir=7;break e}Ir[0]=Er,Mr[0]+=12,Kr[0]-=12}Ir=0}if(Ir!=0)return Ir;for(Er=0<Kt.gb[0],xt=xt[0];;){e:{var zr=Ee;Kr=Qe,Ir=xt;var qr=Je,Nn=pt,wi=Mr=[0];if((ta=kt=[kt])[0]=0,8>Ir[0])Ir=7;else{if(!Ke(zr,Kr[0],"VP8X")){if(Ka(zr,Kr[0]+4)!=10){Ir=3;break e}if(18>Ir[0]){Ir=7;break e}var Ki=Ka(zr,Kr[0]+8),Oa=1+ja(zr,Kr[0]+12);if(2147483648<=Oa*(zr=1+ja(zr,Kr[0]+15))){Ir=3;break e}wi!=null&&(wi[0]=Ki),qr!=null&&(qr[0]=Oa),Nn!=null&&(Nn[0]=zr),Kr[0]+=18,Ir[0]-=18,ta[0]=1}Ir=0}}if(kt=kt[0],Mr=Mr[0],Ir!=0)return Ir;if(Kr=!!(2&Mr),!Er&&kt)return 3;if(Vr!=null&&(Vr[0]=!!(16&Mr)),Fe!=null&&(Fe[0]=Kr),se!=null&&(se[0]=0),Fe=Je[0],Mr=pt[0],kt&&Kr&&Ie==null){Ir=0;break}if(4>xt){Ir=7;break}if(Er&&kt||!Er&&!kt&&!Ke(Ee,Qe[0],"ALPH")){xt=[xt],Kt.na=[Kt.na],Kt.P=[Kt.P],Kt.Sa=[Kt.Sa];e:{Ki=Ee,Ir=Qe,Er=xt;var ta=Kt.gb;qr=Kt.na,Nn=Kt.P,wi=Kt.Sa,Oa=22,Re(Ki!=null),Re(Er!=null),zr=Ir[0];var _o=Er[0];for(Re(qr!=null),Re(wi!=null),qr[0]=null,Nn[0]=null,wi[0]=0;;){if(Ir[0]=zr,Er[0]=_o,8>_o){Ir=7;break e}var Wa=Ka(Ki,zr+4);if(4294967286<Wa){Ir=3;break e}var Ko=8+Wa+1&-2;if(Oa+=Ko,0<ta&&Oa>ta){Ir=3;break e}if(!Ke(Ki,zr,"VP8 ")||!Ke(Ki,zr,"VP8L")){Ir=0;break e}if(_o[0]<Ko){Ir=7;break e}Ke(Ki,zr,"ALPH")||(qr[0]=Ki,Nn[0]=zr+8,wi[0]=Wa),zr+=Ko,_o-=Ko}}if(xt=xt[0],Kt.na=Kt.na[0],Kt.P=Kt.P[0],Kt.Sa=Kt.Sa[0],Ir!=0)break}xt=[xt],Kt.Ja=[Kt.Ja],Kt.xa=[Kt.xa];e:if(ta=Ee,Ir=Qe,Er=xt,qr=Kt.gb[0],Nn=Kt.Ja,wi=Kt.xa,Ki=Ir[0],zr=!Ke(ta,Ki,"VP8 "),Oa=!Ke(ta,Ki,"VP8L"),Re(ta!=null),Re(Er!=null),Re(Nn!=null),Re(wi!=null),8>Er[0])Ir=7;else{if(zr||Oa){if(ta=Ka(ta,Ki+4),12<=qr&&ta>qr-12){Ir=3;break e}if(Wt&&ta>Er[0]-8){Ir=7;break e}Nn[0]=ta,Ir[0]+=8,Er[0]-=8,wi[0]=Oa}else wi[0]=5<=Er[0]&&ta[Ki+0]==47&&!(ta[Ki+4]>>5),Nn[0]=Er[0];Ir=0}if(xt=xt[0],Kt.Ja=Kt.Ja[0],Kt.xa=Kt.xa[0],Qe=Qe[0],Ir!=0)break;if(4294967286<Kt.Ja)return 3;if(se==null||Kr||(se[0]=Kt.xa?2:1),Fe=[Fe],Mr=[Mr],Kt.xa){if(5>xt){Ir=7;break}se=Fe,Wt=Mr,Kr=Vr,Ee==null||5>xt?Ee=0:5<=xt&&Ee[Qe+0]==47&&!(Ee[Qe+4]>>5)?(Er=[0],ta=[0],qr=[0],li(Nn=new on,Ee,Qe,xt),Aa(Nn,Er,ta,qr)?(se!=null&&(se[0]=Er[0]),Wt!=null&&(Wt[0]=ta[0]),Kr!=null&&(Kr[0]=qr[0]),Ee=1):Ee=0):Ee=0}else{if(10>xt){Ir=7;break}se=Mr,Ee==null||10>xt||!jo(Ee,Qe+3,xt-3)?Ee=0:(Wt=Ee[Qe+0]|Ee[Qe+1]<<8|Ee[Qe+2]<<16,Kr=16383&(Ee[Qe+7]<<8|Ee[Qe+6]),Ee=16383&(Ee[Qe+9]<<8|Ee[Qe+8]),1&Wt||3<(Wt>>1&7)||!(Wt>>4&1)||Wt>>5>=Kt.Ja||!Kr||!Ee?Ee=0:(Fe&&(Fe[0]=Kr),se&&(se[0]=Ee),Ee=1))}if(!Ee)return 3;if(Fe=Fe[0],Mr=Mr[0],kt&&(Je[0]!=Fe||pt[0]!=Mr))return 3;Ie!=null&&(Ie[0]=Kt,Ie.offset=Qe-Ie.w,Re(4294967286>Qe-Ie.w),Re(Ie.offset==Ie.ha-xt));break}return Ir==0||Ir==7&&kt&&Ie==null?(Vr!=null&&(Vr[0]|=Kt.na!=null&&0<Kt.na.length),Jt!=null&&(Jt[0]=Fe),Tr!=null&&(Tr[0]=Mr),0):Ir}function Ys(Ee,Qe,xt){var Jt=Qe.width,Tr=Qe.height,Vr=0,Fe=0,se=Jt,Ie=Tr;if(Qe.Da=Ee!=null&&0<Ee.Da,Qe.Da&&(se=Ee.cd,Ie=Ee.bd,Vr=Ee.v,Fe=Ee.j,11>xt||(Vr&=-2,Fe&=-2),0>Vr||0>Fe||0>=se||0>=Ie||Vr+se>Jt||Fe+Ie>Tr))return 0;if(Qe.v=Vr,Qe.j=Fe,Qe.va=Vr+se,Qe.o=Fe+Ie,Qe.U=se,Qe.T=Ie,Qe.da=Ee!=null&&0<Ee.da,Qe.da){if(!io(se,Ie,xt=[Ee.ib],Vr=[Ee.hb]))return 0;Qe.ib=xt[0],Qe.hb=Vr[0]}return Qe.ob=Ee!=null&&Ee.ob,Qe.Kb=Ee==null||!Ee.Sd,Qe.da&&(Qe.ob=Qe.ib<3*Jt/4&&Qe.hb<3*Tr/4,Qe.Kb=0),1}function ro(Ee){if(Ee==null)return 2;if(11>Ee.S){var Qe=Ee.f.RGBA;Qe.fb+=(Ee.height-1)*Qe.A,Qe.A=-Qe.A}else Qe=Ee.f.kb,Ee=Ee.height,Qe.O+=(Ee-1)*Qe.fa,Qe.fa=-Qe.fa,Qe.N+=(Ee-1>>1)*Qe.Ab,Qe.Ab=-Qe.Ab,Qe.W+=(Ee-1>>1)*Qe.Db,Qe.Db=-Qe.Db,Qe.F!=null&&(Qe.J+=(Ee-1)*Qe.lb,Qe.lb=-Qe.lb);return 0}function Ws(Ee,Qe,xt,Jt){if(Jt==null||0>=Ee||0>=Qe)return 2;if(xt!=null){if(xt.Da){var Tr=xt.cd,Vr=xt.bd,Fe=-2&xt.v,se=-2&xt.j;if(0>Fe||0>se||0>=Tr||0>=Vr||Fe+Tr>Ee||se+Vr>Qe)return 2;Ee=Tr,Qe=Vr}if(xt.da){if(!io(Ee,Qe,Tr=[xt.ib],Vr=[xt.hb]))return 2;Ee=Tr[0],Qe=Vr[0]}}Jt.width=Ee,Jt.height=Qe;e:{var Ie=Jt.width,Je=Jt.height;if(Ee=Jt.S,0>=Ie||0>=Je||!(Ee>=Fu&&13>Ee))Ee=2;else{if(0>=Jt.Rd&&Jt.sd==null){Fe=Vr=Tr=Qe=0;var pt=(se=Ie*Nu[Ee])*Je;if(11>Ee||(Vr=(Je+1)/2*(Qe=(Ie+1)/2),Ee==12&&(Fe=(Tr=Ie)*Je)),(Je=$e(pt+2*Vr+Fe))==null){Ee=1;break e}Jt.sd=Je,11>Ee?((Ie=Jt.f.RGBA).eb=Je,Ie.fb=0,Ie.A=se,Ie.size=pt):((Ie=Jt.f.kb).y=Je,Ie.O=0,Ie.fa=se,Ie.Fd=pt,Ie.f=Je,Ie.N=0+pt,Ie.Ab=Qe,Ie.Cd=Vr,Ie.ea=Je,Ie.W=0+pt+Vr,Ie.Db=Qe,Ie.Ed=Vr,Ee==12&&(Ie.F=Je,Ie.J=0+pt+2*Vr),Ie.Tc=Fe,Ie.lb=Tr)}if(Qe=1,Tr=Jt.S,Vr=Jt.width,Fe=Jt.height,Tr>=Fu&&13>Tr)if(11>Tr)Ee=Jt.f.RGBA,Qe&=(se=Math.abs(Ee.A))*(Fe-1)+Vr<=Ee.size,Qe&=se>=Vr*Nu[Tr],Qe&=Ee.eb!=null;else{Ee=Jt.f.kb,se=(Vr+1)/2,pt=(Fe+1)/2,Ie=Math.abs(Ee.fa),Je=Math.abs(Ee.Ab);var kt=Math.abs(Ee.Db),Wt=Math.abs(Ee.lb),Kt=Wt*(Fe-1)+Vr;Qe&=Ie*(Fe-1)+Vr<=Ee.Fd,Qe&=Je*(pt-1)+se<=Ee.Cd,Qe=(Qe&=kt*(pt-1)+se<=Ee.Ed)&Ie>=Vr&Je>=se&kt>=se,Qe&=Ee.y!=null,Qe&=Ee.f!=null,Qe&=Ee.ea!=null,Tr==12&&(Qe&=Wt>=Vr,Qe&=Kt<=Ee.Tc,Qe&=Ee.F!=null)}else Qe=0;Ee=Qe?0:2}}return Ee!=0||xt!=null&&xt.fd&&(Ee=ro(Jt)),Ee}var bs=64,Rl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],sl=24,el=32,dl=8,$l=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];tr("Predictor0","PredictorAdd0"),bi.Predictor0=function(){return 4278190080},bi.Predictor1=function(Ee){return Ee},bi.Predictor2=function(Ee,Qe,xt){return Qe[xt+0]},bi.Predictor3=function(Ee,Qe,xt){return Qe[xt+1]},bi.Predictor4=function(Ee,Qe,xt){return Qe[xt-1]},bi.Predictor5=function(Ee,Qe,xt){return _n(_n(Ee,Qe[xt+1]),Qe[xt+0])},bi.Predictor6=function(Ee,Qe,xt){return _n(Ee,Qe[xt-1])},bi.Predictor7=function(Ee,Qe,xt){return _n(Ee,Qe[xt+0])},bi.Predictor8=function(Ee,Qe,xt){return _n(Qe[xt-1],Qe[xt+0])},bi.Predictor9=function(Ee,Qe,xt){return _n(Qe[xt+0],Qe[xt+1])},bi.Predictor10=function(Ee,Qe,xt){return _n(_n(Ee,Qe[xt-1]),_n(Qe[xt+0],Qe[xt+1]))},bi.Predictor11=function(Ee,Qe,xt){var Jt=Qe[xt+0];return 0>=Ft(Jt>>24&255,Ee>>24&255,(Qe=Qe[xt-1])>>24&255)+Ft(Jt>>16&255,Ee>>16&255,Qe>>16&255)+Ft(Jt>>8&255,Ee>>8&255,Qe>>8&255)+Ft(255&Jt,255&Ee,255&Qe)?Jt:Ee},bi.Predictor12=function(Ee,Qe,xt){var Jt=Qe[xt+0];return(Bn((Ee>>24&255)+(Jt>>24&255)-((Qe=Qe[xt-1])>>24&255))<<24|Bn((Ee>>16&255)+(Jt>>16&255)-(Qe>>16&255))<<16|Bn((Ee>>8&255)+(Jt>>8&255)-(Qe>>8&255))<<8|Bn((255&Ee)+(255&Jt)-(255&Qe)))>>>0},bi.Predictor13=function(Ee,Qe,xt){var Jt=Qe[xt-1];return(tt((Ee=_n(Ee,Qe[xt+0]))>>24&255,Jt>>24&255)<<24|tt(Ee>>16&255,Jt>>16&255)<<16|tt(Ee>>8&255,Jt>>8&255)<<8|tt(Ee>>0&255,Jt>>0&255))>>>0};var zl=bi.PredictorAdd0;bi.PredictorAdd1=Cr,tr("Predictor2","PredictorAdd2"),tr("Predictor3","PredictorAdd3"),tr("Predictor4","PredictorAdd4"),tr("Predictor5","PredictorAdd5"),tr("Predictor6","PredictorAdd6"),tr("Predictor7","PredictorAdd7"),tr("Predictor8","PredictorAdd8"),tr("Predictor9","PredictorAdd9"),tr("Predictor10","PredictorAdd10"),tr("Predictor11","PredictorAdd11"),tr("Predictor12","PredictorAdd12"),tr("Predictor13","PredictorAdd13");var Kl=bi.PredictorAdd2;cn("ColorIndexInverseTransform","MapARGB","32b",function(Ee){return Ee>>8&255},function(Ee){return Ee}),cn("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(Ee){return Ee},function(Ee){return Ee>>8&255});var ql,Vl=bi.ColorIndexInverseTransform,Nc=bi.MapARGB,Zc=bi.VP8LColorIndexInverseTransformAlpha,Zl=bi.MapAlpha,ll=bi.VP8LPredictorsAdd=[];ll.length=16,(bi.VP8LPredictors=[]).length=16,(bi.VP8LPredictorsAdd_C=[]).length=16,(bi.VP8LPredictors_C=[]).length=16;var Fl,Mc,fc,Cc,Oc,Ac,Wc,Dc,jc,wc,ps,xo,ls,Ds,Nl,vc,ec,Xl,hl,tl,Ll,Qs,xc,ku,$c,hu,Rc,fu,au=$e(511),Cd=$e(2041),od=$e(225),Ed=$e(767),_d=0,Xu=Cd,Ec=od,Gl=Ed,Bc=au,Fu=0,sd=1,ld=2,Gu=3,Tu=4,jd=5,cd=6,Td=7,qc=8,ou=9,Pu=10,Ou=[2,3,7],eu=[3,3,11],Sc=[280,256,256,256,40],Uu=[0,1,1,1,0],su=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Yu=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Od=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ju=8,Iu=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],pu=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Lu=null,Id=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],ud=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dd=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Hu=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hd=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fd=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Ld=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Xc=[],Gc=[],Jc=[],Qu=1,pd=2,lu=[],Yc=[];Oe("UpsampleRgbLinePair",yn,3),Oe("UpsampleBgrLinePair",Jn,3),Oe("UpsampleRgbaLinePair",mo,4),Oe("UpsampleBgraLinePair",Ya,4),Oe("UpsampleArgbLinePair",wa,4),Oe("UpsampleRgba4444LinePair",Ji,2),Oe("UpsampleRgb565LinePair",Ei,2);var Wu=bi.UpsampleRgbLinePair,Zu=bi.UpsampleBgrLinePair,Hd=bi.UpsampleRgbaLinePair,md=bi.UpsampleBgraLinePair,Ju=bi.UpsampleArgbLinePair,$u=bi.UpsampleRgba4444LinePair,qu=bi.UpsampleRgb565LinePair,tu=16,cu=1<<tu-1,ru=-227,zu=482,nu=6,$d=(256<<nu)-1,Wd=0,zd=$e(256),mu=$e(256),Nd=$e(256),gd=$e(256),Ad=$e(zu-ru),Md=$e(zu-ru);Mo("YuvToRgbRow",yn,3),Mo("YuvToBgrRow",Jn,3),Mo("YuvToRgbaRow",mo,4),Mo("YuvToBgraRow",Ya,4),Mo("YuvToArgbRow",wa,4),Mo("YuvToRgba4444Row",Ji,2),Mo("YuvToRgb565Row",Ei,2);var Dd=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],ed=[0,2,8],Rd=[8,7,6,4,4,2,2,2,1,1,1,1],gu=1;this.WebPDecodeRGBA=function(Ee,Qe,xt,Jt,Tr){var Vr=sd,Fe=new Gs,se=new Pi;Fe.ba=se,se.S=Vr,se.width=[se.width],se.height=[se.height];var Ie=se.width,Je=se.height,pt=new ca;if(pt==null||Ee==null)var kt=2;else Re(pt!=null),kt=il(Ee,Qe,xt,pt.width,pt.height,pt.Pd,pt.Qd,pt.format,null);if(kt!=0?Ie=0:(Ie!=null&&(Ie[0]=pt.width[0]),Je!=null&&(Je[0]=pt.height[0]),Ie=1),Ie){se.width=se.width[0],se.height=se.height[0],Jt!=null&&(Jt[0]=se.width),Tr!=null&&(Tr[0]=se.height);e:{if(Jt=new zo,(Tr=new Il).data=Ee,Tr.w=Qe,Tr.ha=xt,Tr.kd=1,Qe=[0],Re(Tr!=null),((Ee=il(Tr.data,Tr.w,Tr.ha,null,null,null,Qe,null,Tr))==0||Ee==7)&&Qe[0]&&(Ee=4),(Qe=Ee)==0){if(Re(Fe!=null),Jt.data=Tr.data,Jt.w=Tr.w+Tr.offset,Jt.ha=Tr.ha-Tr.offset,Jt.put=Ca,Jt.ac=va,Jt.bc=Ai,Jt.ma=Fe,Tr.xa){if((Ee=Qn())==null){Fe=1;break e}if(function(Wt,Kt){var Mr=[0],Kr=[0],Ir=[0];t:for(;;){if(Wt==null)return 0;if(Kt==null)return Wt.a=2,0;if(Wt.l=Kt,Wt.a=0,li(Wt.m,Kt.data,Kt.w,Kt.ha),!Aa(Wt.m,Mr,Kr,Ir)){Wt.a=3;break t}if(Wt.xb=pd,Kt.width=Mr[0],Kt.height=Kr[0],!yi(Mr[0],Kr[0],1,Wt,null))break t;return 1}return Re(Wt.a!=0),0}(Ee,Jt)){if(Jt=(Qe=Ws(Jt.width,Jt.height,Fe.Oa,Fe.ba))==0){t:{Jt=Ee;r:for(;;){if(Jt==null){Jt=0;break t}if(Re(Jt.s.yc!=null),Re(Jt.s.Ya!=null),Re(0<Jt.s.Wb),Re((xt=Jt.l)!=null),Re((Tr=xt.ma)!=null),Jt.xb!=0){if(Jt.ca=Tr.ba,Jt.tb=Tr.tb,Re(Jt.ca!=null),!Ys(Tr.Oa,xt,Gu)){Jt.a=2;break r}if(!Di(Jt,xt.width))break r;if(xt.da)break r;if((xt.da||oi(Jt.ca.S))&&Se(),11>Jt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Jt.ca.f.kb.F!=null&&Se()),Jt.Pb&&0<Jt.s.ua&&Jt.s.vb.X==null&&!Gi(Jt.s.vb,Jt.s.Wa.Xa)){Jt.a=1;break r}Jt.xb=0}if(!Hn(Jt,Jt.V,Jt.Ba,Jt.c,Jt.i,xt.o,Hr))break r;Tr.Dc=Jt.Ma,Jt=1;break t}Re(Jt.a!=0),Jt=0}Jt=!Jt}Jt&&(Qe=Ee.a)}else Qe=Ee.a}else{if((Ee=new Eo)==null){Fe=1;break e}if(Ee.Fa=Tr.na,Ee.P=Tr.P,Ee.qc=Tr.Sa,Zo(Ee,Jt)){if((Qe=Ws(Jt.width,Jt.height,Fe.Oa,Fe.ba))==0){if(Ee.Aa=0,xt=Fe.Oa,Re((Tr=Ee)!=null),xt!=null){if(0<(Ie=0>(Ie=xt.Md)?0:100<Ie?255:255*Ie/100)){for(Je=pt=0;4>Je;++Je)12>(kt=Tr.pb[Je]).lc&&(kt.ia=Ie*Rd[0>kt.lc?0:kt.lc]>>3),pt|=kt.ia;pt&&(alert("todo:VP8InitRandom"),Tr.ia=1)}Tr.Ga=xt.Id,100<Tr.Ga?Tr.Ga=100:0>Tr.Ga&&(Tr.Ga=0)}qo(Ee,Jt)||(Qe=Ee.a)}}else Qe=Ee.a}Qe==0&&Fe.Oa!=null&&Fe.Oa.fd&&(Qe=ro(Fe.ba))}Fe=Qe}Vr=Fe!=0?null:11>Vr?se.f.RGBA.eb:se.f.kb.y}else Vr=null;return Vr};var Nu=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Qt(qi,bi){for(var ba="",Kn=0;Kn<4;Kn++)ba+=String.fromCharCode(qi[bi++]);return ba}function Fr(qi,bi){return(qi[bi+0]<<0|qi[bi+1]<<8|qi[bi+2]<<16)>>>0}function Lr(qi,bi){return(qi[bi+0]<<0|qi[bi+1]<<8|qi[bi+2]<<16|qi[bi+3]<<24)>>>0}new vt;var Gr=[0],$t=[0],Rn=[],wr=new vt,pn=it,rn=function(qi,bi){var ba={},Kn=0,un=!1,ri=0,Cn=0;if(ba.frames=[],!function(on,Zn,hi,Ni){for(var zi=0;zi<Ni;zi++)if(on[Zn+zi]!=hi.charCodeAt(zi))return!0;return!1}(qi,bi,"RIFF",4)){var ki,Tn;for(Lr(qi,bi+=4),bi+=8;bi<qi.length;){var oa=Qt(qi,bi),Ti=Lr(qi,bi+=4);bi+=4;var li=Ti+(1&Ti);switch(oa){case"VP8 ":case"VP8L":ba.frames[Kn]===void 0&&(ba.frames[Kn]={}),(Un=ba.frames[Kn]).src_off=un?Cn:bi-8,Un.src_size=ri+Ti+8,Kn++,un&&(un=!1,ri=0,Cn=0);break;case"VP8X":(Un=ba.header={}).feature_flags=qi[bi];var Ri=bi+4;Un.canvas_width=1+Fr(qi,Ri),Ri+=3,Un.canvas_height=1+Fr(qi,Ri),Ri+=3;break;case"ALPH":un=!0,ri=li+8,Cn=bi-8;break;case"ANIM":(Un=ba.header).bgcolor=Lr(qi,bi),Ri=bi+4,Un.loop_count=(ki=qi)[(Tn=Ri)+0]<<0|ki[Tn+1]<<8,Ri+=2;break;case"ANMF":var Da,Un;(Un=ba.frames[Kn]={}).offset_x=2*Fr(qi,bi),bi+=3,Un.offset_y=2*Fr(qi,bi),bi+=3,Un.width=1+Fr(qi,bi),bi+=3,Un.height=1+Fr(qi,bi),bi+=3,Un.duration=Fr(qi,bi),bi+=3,Da=qi[bi++],Un.dispose=1&Da,Un.blend=Da>>1&1}oa!="ANMF"&&(bi+=li)}return ba}}(pn,0);rn.response=pn,rn.rgbaoutput=!0,rn.dataurl=!1;var Br=rn.header?rn.header:null,Yn=rn.frames?rn.frames:null;if(Br){Br.loop_counter=Br.loop_count,Gr=[Br.canvas_height],$t=[Br.canvas_width];for(var xi=0;xi<Yn.length&&Yn[xi].blend!=0;xi++);}var Li=Yn[0],Vi=wr.WebPDecodeRGBA(pn,Li.src_off,Li.src_size,$t,Gr);Li.rgba=Vi,Li.imgwidth=$t[0],Li.imgheight=Gr[0];for(var Wi=0;Wi<$t[0]*Gr[0]*4;Wi++)Rn[Wi]=Vi[Wi];return this.width=$t,this.height=Gr,this.data=Rn,this}!function(it){var Re=function(){return typeof p.b=="function"},Ke=function($t,Rn,wr,pn){var rn=4,Br=st;switch(pn){case it.image_compression.FAST:rn=1,Br=$e;break;case it.image_compression.MEDIUM:rn=6,Br=Lt;break;case it.image_compression.SLOW:rn=9,Br=vt}$t=Ge($t,Rn,wr,Br);var Yn=Object(p.b)($t,{level:rn});return it.__addimage__.arrayBufferToBinaryString(Yn)},Ge=function($t,Rn,wr,pn){for(var rn,Br,Yn,xi=$t.length/Rn,Li=new Uint8Array($t.length+xi),Vi=Fr(),Wi=0;Wi<xi;Wi+=1){if(Yn=Wi*Rn,rn=$t.subarray(Yn,Yn+Rn),pn)Li.set(pn(rn,wr,Br),Yn+Wi);else{for(var qi,bi=Vi.length,ba=[];qi<bi;qi+=1)ba[qi]=Vi[qi](rn,wr,Br);var Kn=Lr(ba.concat());Li.set(ba[Kn],Yn+Wi)}Br=rn}return Li},et=function($t){var Rn=Array.apply([],$t);return Rn.unshift(0),Rn},$e=function($t,Rn){var wr,pn=[],rn=$t.length;pn[0]=1;for(var Br=0;Br<rn;Br+=1)wr=$t[Br-Rn]||0,pn[Br+1]=$t[Br]-wr+256&255;return pn},st=function($t,Rn,wr){var pn,rn=[],Br=$t.length;rn[0]=2;for(var Yn=0;Yn<Br;Yn+=1)pn=wr&&wr[Yn]||0,rn[Yn+1]=$t[Yn]-pn+256&255;return rn},Lt=function($t,Rn,wr){var pn,rn,Br=[],Yn=$t.length;Br[0]=3;for(var xi=0;xi<Yn;xi+=1)pn=$t[xi-Rn]||0,rn=wr&&wr[xi]||0,Br[xi+1]=$t[xi]+256-(pn+rn>>>1)&255;return Br},vt=function($t,Rn,wr){var pn,rn,Br,Yn,xi=[],Li=$t.length;xi[0]=4;for(var Vi=0;Vi<Li;Vi+=1)pn=$t[Vi-Rn]||0,rn=wr&&wr[Vi]||0,Br=wr&&wr[Vi-Rn]||0,Yn=Qt(pn,rn,Br),xi[Vi+1]=$t[Vi]-Yn+256&255;return xi},Qt=function($t,Rn,wr){if($t===Rn&&Rn===wr)return $t;var pn=Math.abs(Rn-wr),rn=Math.abs($t-wr),Br=Math.abs($t+Rn-wr-wr);return pn<=rn&&pn<=Br?$t:rn<=Br?Rn:wr},Fr=function(){return[et,$e,st,Lt,vt]},Lr=function($t){var Rn=$t.map(function(wr){return wr.reduce(function(pn,rn){return pn+Math.abs(rn)},0)});return Rn.indexOf(Math.min.apply(null,Rn))};it.processPNG=function(Gr,$t,Rn,wr){var pn,rn,Br,Yn,xi,Li,Vi,Wi,qi,bi,ba,Kn,un,ri,Cn,ki=this.decode.FLATE_DECODE,Tn="";if(this.__addimage__.isArrayBuffer(Gr)&&(Gr=new Uint8Array(Gr)),this.__addimage__.isArrayBufferView(Gr)){if(Gr=(Br=new ft(Gr)).imgData,rn=Br.bits,pn=Br.colorSpace,xi=Br.colors,[4,6].indexOf(Br.colorType)!==-1){if(Br.bits===8){qi=(Wi=Br.pixelBitlength==32?new Uint32Array(Br.decodePixels().buffer):Br.pixelBitlength==16?new Uint16Array(Br.decodePixels().buffer):new Uint8Array(Br.decodePixels().buffer)).length,ba=new Uint8Array(qi*Br.colors),bi=new Uint8Array(qi);var oa,Ti=Br.pixelBitlength-Br.bits;for(ri=0,Cn=0;ri<qi;ri++){for(un=Wi[ri],oa=0;oa<Ti;)ba[Cn++]=un>>>oa&255,oa+=Br.bits;bi[ri]=un>>>oa&255}}if(Br.bits===16){qi=(Wi=new Uint32Array(Br.decodePixels().buffer)).length,ba=new Uint8Array(qi*(32/Br.pixelBitlength)*Br.colors),bi=new Uint8Array(qi*(32/Br.pixelBitlength)),Kn=Br.colors>1,ri=0,Cn=0;for(var li=0;ri<qi;)un=Wi[ri++],ba[Cn++]=un>>>0&255,Kn&&(ba[Cn++]=un>>>16&255,un=Wi[ri++],ba[Cn++]=un>>>0&255),bi[li++]=un>>>16&255;rn=8}wr!==it.image_compression.NONE&&Re()?(Gr=Ke(ba,Br.width*Br.colors,Br.colors,wr),Vi=Ke(bi,Br.width,1,wr)):(Gr=ba,Vi=bi,ki=void 0)}if(Br.colorType===3&&(pn=this.color_spaces.INDEXED,Li=Br.palette,Br.transparency.indexed)){var Ri=Br.transparency.indexed,Da=0;for(ri=0,qi=Ri.length;ri<qi;++ri)Da+=Ri[ri];if((Da/=255)===qi-1&&Ri.indexOf(0)!==-1)Yn=[Ri.indexOf(0)];else if(Da!==qi){for(Wi=Br.decodePixels(),bi=new Uint8Array(Wi.length),ri=0,qi=Wi.length;ri<qi;ri++)bi[ri]=Ri[Wi[ri]];Vi=Ke(bi,Br.width,1)}}var Un=function(on){var Zn;switch(on){case it.image_compression.FAST:Zn=11;break;case it.image_compression.MEDIUM:Zn=13;break;case it.image_compression.SLOW:Zn=14;break;default:Zn=12}return Zn}(wr);return ki===this.decode.FLATE_DECODE&&(Tn="/Predictor "+Un+" "),Tn+="/Colors "+xi+" /BitsPerComponent "+rn+" /Columns "+Br.width,(this.__addimage__.isArrayBuffer(Gr)||this.__addimage__.isArrayBufferView(Gr))&&(Gr=this.__addimage__.arrayBufferToBinaryString(Gr)),(Vi&&this.__addimage__.isArrayBuffer(Vi)||this.__addimage__.isArrayBufferView(Vi))&&(Vi=this.__addimage__.arrayBufferToBinaryString(Vi)),{alias:Rn,data:Gr,index:$t,filter:ki,decodeParameters:Tn,transparency:Yn,palette:Li,sMask:Vi,predictor:Un,width:Br.width,height:Br.height,bitsPerComponent:rn,colorSpace:pn}}}}(X.API),function(it){it.processGIF89A=function(Re,Ke,Ge,et){var $e=new ir(Re),st=$e.width,Lt=$e.height,vt=[];$e.decodeAndBlitFrameRGBA(0,vt);var Qt={data:vt,width:st,height:Lt},Fr=new rr(100).encode(Qt,100);return it.processJPEG.call(this,Fr,Ke,Ge,et)},it.processGIF87A=it.processGIF89A}(X.API),Zr.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 it=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(it);for(var Re=0;Re<it;Re++){var Ke=this.datav.getUint8(this.pos++,!0),Ge=this.datav.getUint8(this.pos++,!0),et=this.datav.getUint8(this.pos++,!0),$e=this.datav.getUint8(this.pos++,!0);this.palette[Re]={red:et,green:Ge,blue:Ke,quad:$e}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Zr.prototype.parseBGR=function(){this.pos=this.offset;try{var it="bit"+this.bitPP,Re=this.width*this.height*4;this.data=new Uint8Array(Re),this[it]()}catch(Ke){d.log("bit decode error:"+Ke)}},Zr.prototype.bit1=function(){var it,Re=Math.ceil(this.width/8),Ke=Re%4;for(it=this.height-1;it>=0;it--){for(var Ge=this.bottom_up?it:this.height-1-it,et=0;et<Re;et++)for(var $e=this.datav.getUint8(this.pos++,!0),st=Ge*this.width*4+8*et*4,Lt=0;Lt<8&&8*et+Lt<this.width;Lt++){var vt=this.palette[$e>>7-Lt&1];this.data[st+4*Lt]=vt.blue,this.data[st+4*Lt+1]=vt.green,this.data[st+4*Lt+2]=vt.red,this.data[st+4*Lt+3]=255}Ke!==0&&(this.pos+=4-Ke)}},Zr.prototype.bit4=function(){for(var it=Math.ceil(this.width/2),Re=it%4,Ke=this.height-1;Ke>=0;Ke--){for(var Ge=this.bottom_up?Ke:this.height-1-Ke,et=0;et<it;et++){var $e=this.datav.getUint8(this.pos++,!0),st=Ge*this.width*4+2*et*4,Lt=$e>>4,vt=15&$e,Qt=this.palette[Lt];if(this.data[st]=Qt.blue,this.data[st+1]=Qt.green,this.data[st+2]=Qt.red,this.data[st+3]=255,2*et+1>=this.width)break;Qt=this.palette[vt],this.data[st+4]=Qt.blue,this.data[st+4+1]=Qt.green,this.data[st+4+2]=Qt.red,this.data[st+4+3]=255}Re!==0&&(this.pos+=4-Re)}},Zr.prototype.bit8=function(){for(var it=this.width%4,Re=this.height-1;Re>=0;Re--){for(var Ke=this.bottom_up?Re:this.height-1-Re,Ge=0;Ge<this.width;Ge++){var et=this.datav.getUint8(this.pos++,!0),$e=Ke*this.width*4+4*Ge;if(et<this.palette.length){var st=this.palette[et];this.data[$e]=st.red,this.data[$e+1]=st.green,this.data[$e+2]=st.blue,this.data[$e+3]=255}else this.data[$e]=255,this.data[$e+1]=255,this.data[$e+2]=255,this.data[$e+3]=255}it!==0&&(this.pos+=4-it)}},Zr.prototype.bit15=function(){for(var it=this.width%3,Re=parseInt("11111",2),Ke=this.height-1;Ke>=0;Ke--){for(var Ge=this.bottom_up?Ke:this.height-1-Ke,et=0;et<this.width;et++){var $e=this.datav.getUint16(this.pos,!0);this.pos+=2;var st=($e&Re)/Re*255|0,Lt=($e>>5&Re)/Re*255|0,vt=($e>>10&Re)/Re*255|0,Qt=$e>>15?255:0,Fr=Ge*this.width*4+4*et;this.data[Fr]=vt,this.data[Fr+1]=Lt,this.data[Fr+2]=st,this.data[Fr+3]=Qt}this.pos+=it}},Zr.prototype.bit16=function(){for(var it=this.width%3,Re=parseInt("11111",2),Ke=parseInt("111111",2),Ge=this.height-1;Ge>=0;Ge--){for(var et=this.bottom_up?Ge:this.height-1-Ge,$e=0;$e<this.width;$e++){var st=this.datav.getUint16(this.pos,!0);this.pos+=2;var Lt=(st&Re)/Re*255|0,vt=(st>>5&Ke)/Ke*255|0,Qt=(st>>11)/Re*255|0,Fr=et*this.width*4+4*$e;this.data[Fr]=Qt,this.data[Fr+1]=vt,this.data[Fr+2]=Lt,this.data[Fr+3]=255}this.pos+=it}},Zr.prototype.bit24=function(){for(var it=this.height-1;it>=0;it--){for(var Re=this.bottom_up?it:this.height-1-it,Ke=0;Ke<this.width;Ke++){var Ge=this.datav.getUint8(this.pos++,!0),et=this.datav.getUint8(this.pos++,!0),$e=this.datav.getUint8(this.pos++,!0),st=Re*this.width*4+4*Ke;this.data[st]=$e,this.data[st+1]=et,this.data[st+2]=Ge,this.data[st+3]=255}this.pos+=this.width%4}},Zr.prototype.bit32=function(){for(var it=this.height-1;it>=0;it--)for(var Re=this.bottom_up?it:this.height-1-it,Ke=0;Ke<this.width;Ke++){var Ge=this.datav.getUint8(this.pos++,!0),et=this.datav.getUint8(this.pos++,!0),$e=this.datav.getUint8(this.pos++,!0),st=this.datav.getUint8(this.pos++,!0),Lt=Re*this.width*4+4*Ke;this.data[Lt]=$e,this.data[Lt+1]=et,this.data[Lt+2]=Ge,this.data[Lt+3]=st}},Zr.prototype.getData=function(){return this.data},function(it){it.processBMP=function(Re,Ke,Ge,et){var $e=new Zr(Re,!1),st=$e.width,Lt=$e.height,vt={data:$e.getData(),width:st,height:Lt},Qt=new rr(100).encode(vt,100);return it.processJPEG.call(this,Qt,Ke,Ge,et)}}(X.API),nn.prototype.getData=function(){return this.data},function(it){it.processWEBP=function(Re,Ke,Ge,et){var $e=new nn(Re,!1),st=$e.width,Lt=$e.height,vt={data:$e.getData(),width:st,height:Lt},Qt=new rr(100).encode(vt,100);return it.processJPEG.call(this,Qt,Ke,Ge,et)}}(X.API),X.API.processRGBA=function(it,Re,Ke){for(var Ge=it.data,et=Ge.length,$e=new Uint8Array(et/4*3),st=new Uint8Array(et/4),Lt=0,vt=0,Qt=0;Qt<et;Qt+=4){var Fr=Ge[Qt],Lr=Ge[Qt+1],Gr=Ge[Qt+2],$t=Ge[Qt+3];$e[Lt++]=Fr,$e[Lt++]=Lr,$e[Lt++]=Gr,st[vt++]=$t}var Rn=this.__addimage__.arrayBufferToBinaryString($e);return{alpha:this.__addimage__.arrayBufferToBinaryString(st),data:Rn,index:Re,alias:Ke,colorSpace:"DeviceRGB",bitsPerComponent:8,width:it.width,height:it.height}},X.API.setLanguage=function(it){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[it]!==void 0&&(this.internal.languageSettings.languageCode=it,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},lt=X.API,ct=lt.getCharWidthsArray=function(it,Re){var Ke,Ge,et=(Re=Re||{}).font||this.internal.getFont(),$e=Re.fontSize||this.internal.getFontSize(),st=Re.charSpace||this.internal.getCharSpace(),Lt=Re.widths?Re.widths:et.metadata.Unicode.widths,vt=Lt.fof?Lt.fof:1,Qt=Re.kerning?Re.kerning:et.metadata.Unicode.kerning,Fr=Qt.fof?Qt.fof:1,Lr=Re.doKerning!==!1,Gr=0,$t=it.length,Rn=0,wr=Lt[0]||vt,pn=[];for(Ke=0;Ke<$t;Ke++)Ge=it.charCodeAt(Ke),typeof et.metadata.widthOfString=="function"?pn.push((et.metadata.widthOfGlyph(et.metadata.characterToGlyph(Ge))+st*(1e3/$e)||0)/1e3):(Gr=Lr&&E()(Qt[Ge])==="object"&&!isNaN(parseInt(Qt[Ge][Rn],10))?Qt[Ge][Rn]/Fr:0,pn.push((Lt[Ge]||wr)/vt+Gr)),Rn=Ge;return pn},Le=lt.getStringUnitWidth=function(it,Re){var Ke=(Re=Re||{}).fontSize||this.internal.getFontSize(),Ge=Re.font||this.internal.getFont(),et=Re.charSpace||this.internal.getCharSpace();return lt.processArabic&&(it=lt.processArabic(it)),typeof Ge.metadata.widthOfString=="function"?Ge.metadata.widthOfString(it,Ke,et)/Ke:ct.apply(this,arguments).reduce(function($e,st){return $e+st},0)},Ue=function(Re,Ke,Ge,et){for(var $e=[],st=0,Lt=Re.length,vt=0;st!==Lt&&vt+Ke[st]<Ge;)vt+=Ke[st],st++;$e.push(Re.slice(0,st));var Qt=st;for(vt=0;st!==Lt;)vt+Ke[st]>et&&($e.push(Re.slice(Qt,st)),vt=0,Qt=st),vt+=Ke[st],st++;return Qt!==st&&$e.push(Re.slice(Qt,st)),$e},Ye=function(Re,Ke,Ge){Ge||(Ge={});var et,$e,st,Lt,vt,Qt,Fr,Lr=[],Gr=[Lr],$t=Ge.textIndent||0,Rn=0,wr=0,pn=Re.split(" "),rn=ct.apply(this,[" ",Ge])[0];if(Qt=Ge.lineIndent===-1?pn[0].length+2:Ge.lineIndent||0){var Br=Array(Qt).join(" "),Yn=[];pn.map(function(Li){(Li=Li.split(/\s*\n/)).length>1?Yn=Yn.concat(Li.map(function(Vi,Wi){return(Wi&&Vi.length?`
|
|
|
`:"")+Vi})):Yn.push(Li[0])}),pn=Yn,Qt=Le.apply(this,[Br,Ge])}for(st=0,Lt=pn.length;st<Lt;st++){var xi=0;if(et=pn[st],Qt&&et[0]==`
|
|
|
`&&(et=et.substr(1),xi=1),$t+Rn+(wr=($e=ct.apply(this,[et,Ge])).reduce(function(Li,Vi){return Li+Vi},0))>Ke||xi){if(wr>Ke){for(vt=Ue.apply(this,[et,$e,Ke-($t+Rn),Ke]),Lr.push(vt.shift()),Lr=[vt.pop()];vt.length;)Gr.push([vt.shift()]);wr=$e.slice(et.length-(Lr[0]?Lr[0].length:0)).reduce(function(Li,Vi){return Li+Vi},0)}else Lr=[et];Gr.push(Lr),$t=wr+Qt,Rn=rn}else Lr.push(et),$t+=Rn+wr,Rn=rn}return Fr=Qt?function(Li,Vi){return(Vi?Br:"")+Li.join(" ")}:function(Li){return Li.join(" ")},Gr.map(Fr)},lt.splitTextToSize=function(it,Re,Ke){var Ge,et=(Ke=Ke||{}).fontSize||this.internal.getFontSize(),$e=function(Fr){if(Fr.widths&&Fr.kerning)return{widths:Fr.widths,kerning:Fr.kerning};var Lr=this.internal.getFont(Fr.fontName,Fr.fontStyle);return Lr.metadata.Unicode?{widths:Lr.metadata.Unicode.widths||{0:1},kerning:Lr.metadata.Unicode.kerning||{}}:{font:Lr.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Ke);Ge=Array.isArray(it)?it:String(it).split(/\r?\n/);var st=1*this.internal.scaleFactor*Re/et;$e.textIndent=Ke.textIndent?1*Ke.textIndent*this.internal.scaleFactor/et:0,$e.lineIndent=Ke.lineIndent;var Lt,vt,Qt=[];for(Lt=0,vt=Ge.length;Lt<vt;Lt++)Qt=Qt.concat(Ye.apply(this,[Ge[Lt],st,$e]));return Qt},function(it){it.__fontmetrics__=it.__fontmetrics__||{};for(var Re="klmnopqrstuvwxyz",Ke={},Ge={},et=0;et<Re.length;et++)Ke[Re[et]]="0123456789abcdef"[et],Ge["0123456789abcdef"[et]]=Re[et];var $e=function(Gr){return"0x"+parseInt(Gr,10).toString(16)},st=it.__fontmetrics__.compress=function(Lr){var Gr,$t,Rn,wr,pn=["{"];for(var rn in Lr){if(Gr=Lr[rn],isNaN(parseInt(rn,10))?$t="'"+rn+"'":(rn=parseInt(rn,10),$t=($t=$e(rn).slice(2)).slice(0,-1)+Ge[$t.slice(-1)]),typeof Gr=="number")Gr<0?(Rn=$e(Gr).slice(3),wr="-"):(Rn=$e(Gr).slice(2),wr=""),Rn=wr+Rn.slice(0,-1)+Ge[Rn.slice(-1)];else{if(E()(Gr)!=="object")throw new Error("Don't know what to do with value type "+E()(Gr)+".");Rn=st(Gr)}pn.push($t+Rn)}return pn.push("}"),pn.join("")},Lt=it.__fontmetrics__.uncompress=function(Lr){if(typeof Lr!="string")throw new Error("Invalid argument passed to uncompress.");for(var Gr,$t,Rn,wr,pn={},rn=1,Br=pn,Yn=[],xi="",Li="",Vi=Lr.length-1,Wi=1;Wi<Vi;Wi+=1)(wr=Lr[Wi])=="'"?Gr?(Rn=Gr.join(""),Gr=void 0):Gr=[]:Gr?Gr.push(wr):wr=="{"?(Yn.push([Br,Rn]),Br={},Rn=void 0):wr=="}"?(($t=Yn.pop())[0][$t[1]]=Br,Rn=void 0,Br=$t[0]):wr=="-"?rn=-1:Rn===void 0?Ke.hasOwnProperty(wr)?(xi+=Ke[wr],Rn=parseInt(xi,16)*rn,rn=1,xi=""):xi+=wr:Ke.hasOwnProperty(wr)?(Li+=Ke[wr],Br[Rn]=parseInt(Li,16)*rn,rn=1,Rn=void 0,Li=""):Li+=wr;return pn},vt={codePages:["WinAnsiEncoding"],WinAnsiEncoding:Lt("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Qt={Unicode:{Courier:vt,"Courier-Bold":vt,"Courier-BoldOblique":vt,"Courier-Oblique":vt,Helvetica:vt,"Helvetica-Bold":vt,"Helvetica-BoldOblique":vt,"Helvetica-Oblique":vt,"Times-Roman":vt,"Times-Bold":vt,"Times-BoldItalic":vt,"Times-Italic":vt}},Fr={Unicode:{"Courier-Oblique":Lt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":Lt("{'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":Lt("{'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:Lt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":Lt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":Lt("{'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:Lt("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:Lt("{'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":Lt("{'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:Lt("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":Lt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":Lt("{'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":Lt("{'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":Lt("{'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}}}")}};it.events.push(["addFont",function(Lr){var Gr=Lr.font,$t=Fr.Unicode[Gr.postScriptName];$t&&(Gr.metadata.Unicode={},Gr.metadata.Unicode.widths=$t.widths,Gr.metadata.Unicode.kerning=$t.kerning);var Rn=Qt.Unicode[Gr.postScriptName];Rn&&(Gr.metadata.Unicode.encoding=Rn,Gr.encoding=Rn.codePages[0])}])}(X.API),function(it){var Re=function(Ge){for(var et=Ge.length,$e=new Uint8Array(et),st=0;st<et;st++)$e[st]=Ge.charCodeAt(st);return $e};it.API.events.push(["addFont",function(Ke){var Ge=void 0,et=Ke.font,$e=Ke.instance;if(!et.isStandardFont){if($e===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+et.postScriptName+"').");if(typeof(Ge=$e.existsFileInVFS(et.postScriptName)===!1?$e.loadFile(et.postScriptName):$e.getFileFromVFS(et.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+et.postScriptName+"').");!function(st,Lt){Lt=/^\x00\x01\x00\x00/.test(Lt)?Re(Lt):Re(a(Lt)),st.metadata=it.API.TTFFont.open(Lt),st.metadata.Unicode=st.metadata.Unicode||{encoding:{},kerning:{},widths:[]},st.metadata.glyIdsUsed=[0]}(et,Ge)}}])}(X),function(it){function Re(){return(v.canvg?Promise.resolve(v.canvg):Promise.all([i.e(0),i.e(266)]).then(i.bind(null,"DXPr"))).catch(function(Ke){return Promise.reject(new Error("Could not load canvg: "+Ke))}).then(function(Ke){return Ke.default?Ke.default:Ke})}X.API.addSvgAsImage=function(Ke,Ge,et,$e,st,Lt,vt,Qt){if(isNaN(Ge)||isNaN(et))throw d.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN($e)||isNaN(st))throw d.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Fr=document.createElement("canvas");Fr.width=$e,Fr.height=st;var Lr=Fr.getContext("2d");Lr.fillStyle="#fff",Lr.fillRect(0,0,Fr.width,Fr.height);var Gr={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},$t=this;return Re().then(function(Rn){return Rn.fromString(Lr,Ke,Gr)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(Rn){return Rn.render(Gr)}).then(function(){$t.addImage(Fr.toDataURL("image/jpeg",1),Ge,et,$e,st,vt,Qt)})}}(),X.API.putTotalPages=function(it){var Re,Ke=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(Re=new RegExp(it,"g"),Ke=this.internal.getNumberOfPages()):(Re=new RegExp(this.pdfEscape16(it,this.internal.getFont()),"g"),Ke=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var Ge=1;Ge<=this.internal.getNumberOfPages();Ge++)for(var et=0;et<this.internal.pages[Ge].length;et++)this.internal.pages[Ge][et]=this.internal.pages[Ge][et].replace(Re,Ke);return this},X.API.viewerPreferences=function(it,Re){var Ke;it=it||{},Re=Re||!1;var Ge,et,$e,st={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}},Lt=Object.keys(st),vt=[],Qt=0,Fr=0,Lr=0;function Gr(Rn,wr){var pn,rn=!1;for(pn=0;pn<Rn.length;pn+=1)Rn[pn]===wr&&(rn=!0);return rn}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(st)),this.internal.viewerpreferences.isSubscribed=!1),Ke=this.internal.viewerpreferences.configuration,it==="reset"||Re===!0){var $t=Lt.length;for(Lr=0;Lr<$t;Lr+=1)Ke[Lt[Lr]].value=Ke[Lt[Lr]].defaultValue,Ke[Lt[Lr]].explicitSet=!1}if(E()(it)==="object"){for(et in it)if($e=it[et],Gr(Lt,et)&&$e!==void 0){if(Ke[et].type==="boolean"&&typeof $e=="boolean")Ke[et].value=$e;else if(Ke[et].type==="name"&&Gr(Ke[et].valueSet,$e))Ke[et].value=$e;else if(Ke[et].type==="integer"&&Number.isInteger($e))Ke[et].value=$e;else if(Ke[et].type==="array"){for(Qt=0;Qt<$e.length;Qt+=1)if(Ge=!0,$e[Qt].length===1&&typeof $e[Qt][0]=="number")vt.push(String($e[Qt]-1));else if($e[Qt].length>1){for(Fr=0;Fr<$e[Qt].length;Fr+=1)typeof $e[Qt][Fr]!="number"&&(Ge=!1);Ge===!0&&vt.push([$e[Qt][0]-1,$e[Qt][1]-1].join(" "))}Ke[et].value="["+vt.join(" ")+"]"}else Ke[et].value=Ke[et].defaultValue;Ke[et].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Rn,wr=[];for(Rn in Ke)Ke[Rn].explicitSet===!0&&(Ke[Rn].type==="name"?wr.push("/"+Rn+" /"+Ke[Rn].value):wr.push("/"+Rn+" "+Ke[Rn].value));wr.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+wr.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Ke,this},function(it){var Re=function(){var et='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',$e=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),st=unescape(encodeURIComponent(et)),Lt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),vt=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Qt=unescape(encodeURIComponent("</x:xmpmeta>")),Fr=st.length+Lt.length+vt.length+$e.length+Qt.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Fr+" >>"),this.internal.write("stream"),this.internal.write($e+st+Lt+vt+Qt),this.internal.write("endstream"),this.internal.write("endobj")},Ke=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};it.addMetadata=function(Ge,et){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Ge,namespaceuri:et||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Ke),this.internal.events.subscribe("postPutResources",Re)),this}}(X.API),function(it){var Re=it.API,Ke=Re.pdfEscape16=function($e,st){for(var Lt,vt=st.metadata.Unicode.widths,Qt=["","0","00","000","0000"],Fr=[""],Lr=0,Gr=$e.length;Lr<Gr;++Lr){if(Lt=st.metadata.characterToGlyph($e.charCodeAt(Lr)),st.metadata.glyIdsUsed.push(Lt),st.metadata.toUnicode[Lt]=$e.charCodeAt(Lr),vt.indexOf(Lt)==-1&&(vt.push(Lt),vt.push([parseInt(st.metadata.widthOfGlyph(Lt),10)])),Lt=="0")return Fr.join("");Lt=Lt.toString(16),Fr.push(Qt[4-Lt.length],Lt)}return Fr.join("")},Ge=function(st){var Lt,vt,Qt,Fr,Lr,Gr,$t;for(Lr=`/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`,Qt=[],Gr=0,$t=(vt=Object.keys(st).sort(function(Rn,wr){return Rn-wr})).length;Gr<$t;Gr++)Lt=vt[Gr],Qt.length>=100&&(Lr+=`
|
|
|
`+Qt.length+` beginbfchar
|
|
|
`+Qt.join(`
|
|
|
`)+`
|
|
|
endbfchar`,Qt=[]),st[Lt]!==void 0&&st[Lt]!==null&&typeof st[Lt].toString=="function"&&(Fr=("0000"+st[Lt].toString(16)).slice(-4),Lt=("0000"+(+Lt).toString(16)).slice(-4),Qt.push("<"+Lt+"><"+Fr+">"));return Qt.length&&(Lr+=`
|
|
|
`+Qt.length+` beginbfchar
|
|
|
`+Qt.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),Lr+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};Re.events.push(["putFont",function($e){!function(st){var Lt=st.font,vt=st.out,Qt=st.newObject,Fr=st.putStream;if(Lt.metadata instanceof it.API.TTFFont&&Lt.encoding==="Identity-H"){for(var Lr=Lt.metadata.Unicode.widths,Gr=Lt.metadata.subset.encode(Lt.metadata.glyIdsUsed,1),$t="",Rn=0;Rn<Gr.length;Rn++)$t+=String.fromCharCode(Gr[Rn]);var wr=Qt();Fr({data:$t,addLength1:!0,objectId:wr}),vt("endobj");var pn=Qt();Fr({data:Ge(Lt.metadata.toUnicode),addLength1:!0,objectId:pn}),vt("endobj");var rn=Qt();vt("<<"),vt("/Type /FontDescriptor"),vt("/FontName /"+k(Lt.fontName)),vt("/FontFile2 "+wr+" 0 R"),vt("/FontBBox "+it.API.PDFObject.convert(Lt.metadata.bbox)),vt("/Flags "+Lt.metadata.flags),vt("/StemV "+Lt.metadata.stemV),vt("/ItalicAngle "+Lt.metadata.italicAngle),vt("/Ascent "+Lt.metadata.ascender),vt("/Descent "+Lt.metadata.decender),vt("/CapHeight "+Lt.metadata.capHeight),vt(">>"),vt("endobj");var Br=Qt();vt("<<"),vt("/Type /Font"),vt("/BaseFont /"+k(Lt.fontName)),vt("/FontDescriptor "+rn+" 0 R"),vt("/W "+it.API.PDFObject.convert(Lr)),vt("/CIDToGIDMap /Identity"),vt("/DW 1000"),vt("/Subtype /CIDFontType2"),vt("/CIDSystemInfo"),vt("<<"),vt("/Supplement 0"),vt("/Registry (Adobe)"),vt("/Ordering ("+Lt.encoding+")"),vt(">>"),vt(">>"),vt("endobj"),Lt.objectNumber=Qt(),vt("<<"),vt("/Type /Font"),vt("/Subtype /Type0"),vt("/ToUnicode "+pn+" 0 R"),vt("/BaseFont /"+k(Lt.fontName)),vt("/Encoding /"+Lt.encoding),vt("/DescendantFonts ["+Br+" 0 R]"),vt(">>"),vt("endobj"),Lt.isAlreadyPutted=!0}}($e)}]),Re.events.push(["putFont",function($e){!function(st){var Lt=st.font,vt=st.out,Qt=st.newObject,Fr=st.putStream;if(Lt.metadata instanceof it.API.TTFFont&&Lt.encoding==="WinAnsiEncoding"){for(var Lr=Lt.metadata.rawData,Gr="",$t=0;$t<Lr.length;$t++)Gr+=String.fromCharCode(Lr[$t]);var Rn=Qt();Fr({data:Gr,addLength1:!0,objectId:Rn}),vt("endobj");var wr=Qt();Fr({data:Ge(Lt.metadata.toUnicode),addLength1:!0,objectId:wr}),vt("endobj");var pn=Qt();vt("<<"),vt("/Descent "+Lt.metadata.decender),vt("/CapHeight "+Lt.metadata.capHeight),vt("/StemV "+Lt.metadata.stemV),vt("/Type /FontDescriptor"),vt("/FontFile2 "+Rn+" 0 R"),vt("/Flags 96"),vt("/FontBBox "+it.API.PDFObject.convert(Lt.metadata.bbox)),vt("/FontName /"+k(Lt.fontName)),vt("/ItalicAngle "+Lt.metadata.italicAngle),vt("/Ascent "+Lt.metadata.ascender),vt(">>"),vt("endobj"),Lt.objectNumber=Qt();for(var rn=0;rn<Lt.metadata.hmtx.widths.length;rn++)Lt.metadata.hmtx.widths[rn]=parseInt(Lt.metadata.hmtx.widths[rn]*(1e3/Lt.metadata.head.unitsPerEm));vt("<</Subtype/TrueType/Type/Font/ToUnicode "+wr+" 0 R/BaseFont/"+k(Lt.fontName)+"/FontDescriptor "+pn+" 0 R/Encoding/"+Lt.encoding+" /FirstChar 29 /LastChar 255 /Widths "+it.API.PDFObject.convert(Lt.metadata.hmtx.widths)+">>"),vt("endobj"),Lt.isAlreadyPutted=!0}}($e)}]);var et=function(st){var Lt,vt=st.text||"",Qt=st.x,Fr=st.y,Lr=st.options||{},Gr=st.mutex||{},$t=Gr.pdfEscape,Rn=Gr.activeFontKey,wr=Gr.fonts,pn=Rn,rn="",Br=0,Yn="",xi=wr[pn].encoding;if(wr[pn].encoding!=="Identity-H")return{text:vt,x:Qt,y:Fr,options:Lr,mutex:Gr};for(Yn=vt,pn=Rn,Array.isArray(vt)&&(Yn=vt[0]),Br=0;Br<Yn.length;Br+=1)wr[pn].metadata.hasOwnProperty("cmap")&&(Lt=wr[pn].metadata.cmap.unicode.codeMap[Yn[Br].charCodeAt(0)]),Lt||Yn[Br].charCodeAt(0)<256&&wr[pn].metadata.hasOwnProperty("Unicode")?rn+=Yn[Br]:rn+="";var Li="";return parseInt(pn.slice(1))<14||xi==="WinAnsiEncoding"?Li=$t(rn,pn).split("").map(function(Vi){return Vi.charCodeAt(0).toString(16)}).join(""):xi==="Identity-H"&&(Li=Ke(rn,wr[pn])),Gr.isHex=!0,{text:Li,x:Qt,y:Fr,options:Lr,mutex:Gr}};Re.events.push(["postProcessText",function($e){var st=$e.text||"",Lt=[],vt={text:st,x:$e.x,y:$e.y,options:$e.options,mutex:$e.mutex};if(Array.isArray(st)){var Qt=0;for(Qt=0;Qt<st.length;Qt+=1)Array.isArray(st[Qt])&&st[Qt].length===3?Lt.push([et(Object.assign({},vt,{text:st[Qt][0]})).text,st[Qt][1],st[Qt][2]]):Lt.push(et(Object.assign({},vt,{text:st[Qt]})).text);$e.text=Lt}else $e.text=et(Object.assign({},vt,{text:st})).text}])}(X),function(it){var Re=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};it.existsFileInVFS=function(Ke){return Re.call(this),this.internal.vFS[Ke]!==void 0},it.addFileToVFS=function(Ke,Ge){return Re.call(this),this.internal.vFS[Ke]=Ge,this},it.getFileFromVFS=function(Ke){return Re.call(this),this.internal.vFS[Ke]!==void 0?this.internal.vFS[Ke]:null}}(X.API),function(it){it.__bidiEngine__=it.prototype.__bidiEngine__=function(Ge){var et,$e,st,Lt,vt,Qt,Fr,Lr=Re,Gr=[[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]],$t=[[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]],Rn={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},wr={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},pn=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],rn=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)$/),Br=!1,Yn=0;this.__bidiEngine__={};var xi=function(un){var ri=un.charCodeAt(),Cn=ri>>8,ki=wr[Cn];return ki!==void 0?Lr[256*ki+(255&ri)]:Cn===252||Cn===253?"AL":rn.test(Cn)?"L":Cn===8?"R":"N"},Li=function(un){for(var ri,Cn=0;Cn<un.length;Cn++){if((ri=xi(un.charAt(Cn)))==="L")return!1;if(ri==="R")return!0}return!1},Vi=function(un,ri,Cn,ki){var Tn,oa,Ti,li,Ri=ri[ki];switch(Ri){case"L":case"R":Br=!1;break;case"N":case"AN":break;case"EN":Br&&(Ri="AN");break;case"AL":Br=!0,Ri="R";break;case"WS":Ri="N";break;case"CS":ki<1||ki+1>=ri.length||(Tn=Cn[ki-1])!=="EN"&&Tn!=="AN"||(oa=ri[ki+1])!=="EN"&&oa!=="AN"?Ri="N":Br&&(oa="AN"),Ri=oa===Tn?oa:"N";break;case"ES":Ri=(Tn=ki>0?Cn[ki-1]:"B")==="EN"&&ki+1<ri.length&&ri[ki+1]==="EN"?"EN":"N";break;case"ET":if(ki>0&&Cn[ki-1]==="EN"){Ri="EN";break}if(Br){Ri="N";break}for(Ti=ki+1,li=ri.length;Ti<li&&ri[Ti]==="ET";)Ti++;Ri=Ti<li&&ri[Ti]==="EN"?"EN":"N";break;case"NSM":if(st&&!Lt){for(li=ri.length,Ti=ki+1;Ti<li&&ri[Ti]==="NSM";)Ti++;if(Ti<li){var Da=un[ki],Un=Da>=1425&&Da<=2303||Da===64286;if(Tn=ri[Ti],Un&&(Tn==="R"||Tn==="AL")){Ri="R";break}}}Ri=ki<1||(Tn=ri[ki-1])==="B"?"N":Cn[ki-1];break;case"B":Br=!1,et=!0,Ri=Yn;break;case"S":$e=!0,Ri="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Br=!1;break;case"BN":Ri="N"}return Ri},Wi=function(un,ri,Cn){var ki=un.split("");return Cn&&qi(ki,Cn,{hiLevel:Yn}),ki.reverse(),ri&&ri.reverse(),ki.join("")},qi=function(un,ri,Cn){var ki,Tn,oa,Ti,li,Ri=-1,Da=un.length,Un=0,on=[],Zn=Yn?$t:Gr,hi=[];for(Br=!1,et=!1,$e=!1,Tn=0;Tn<Da;Tn++)hi[Tn]=xi(un[Tn]);for(oa=0;oa<Da;oa++){if(li=Un,on[oa]=Vi(un,hi,on,oa),ki=240&(Un=Zn[li][Rn[on[oa]]]),Un&=15,ri[oa]=Ti=Zn[Un][5],ki>0)if(ki===16){for(Tn=Ri;Tn<oa;Tn++)ri[Tn]=1;Ri=-1}else Ri=-1;if(Zn[Un][6])Ri===-1&&(Ri=oa);else if(Ri>-1){for(Tn=Ri;Tn<oa;Tn++)ri[Tn]=Ti;Ri=-1}hi[oa]==="B"&&(ri[oa]=0),Cn.hiLevel|=Ti}$e&&function(Ni,zi,ea){for(var Fi=0;Fi<ea;Fi++)if(Ni[Fi]==="S"){zi[Fi]=Yn;for(var ia=Fi-1;ia>=0&&Ni[ia]==="WS";ia--)zi[ia]=Yn}}(hi,ri,Da)},bi=function(un,ri,Cn,ki,Tn){if(!(Tn.hiLevel<un)){if(un===1&&Yn===1&&!et)return ri.reverse(),void(Cn&&Cn.reverse());for(var oa,Ti,li,Ri,Da=ri.length,Un=0;Un<Da;){if(ki[Un]>=un){for(li=Un+1;li<Da&&ki[li]>=un;)li++;for(Ri=Un,Ti=li-1;Ri<Ti;Ri++,Ti--)oa=ri[Ri],ri[Ri]=ri[Ti],ri[Ti]=oa,Cn&&(oa=Cn[Ri],Cn[Ri]=Cn[Ti],Cn[Ti]=oa);Un=li}Un++}}},ba=function(un,ri,Cn){var ki=un.split(""),Tn={hiLevel:Yn};return Cn||(Cn=[]),qi(ki,Cn,Tn),function(oa,Ti,li){if(li.hiLevel!==0&&Fr)for(var Ri,Da=0;Da<oa.length;Da++)Ti[Da]===1&&(Ri=pn.indexOf(oa[Da]))>=0&&(oa[Da]=pn[Ri+1])}(ki,Cn,Tn),bi(2,ki,ri,Cn,Tn),bi(1,ki,ri,Cn,Tn),ki.join("")};return this.__bidiEngine__.doBidiReorder=function(Kn,un,ri){if(function(ki,Tn){if(Tn)for(var oa=0;oa<ki.length;oa++)Tn[oa]=oa;Lt===void 0&&(Lt=Li(ki)),Qt===void 0&&(Qt=Li(ki))}(Kn,un),st||!vt||Qt)if(st&&vt&&Lt^Qt)Yn=Lt?1:0,Kn=Wi(Kn,un,ri);else if(!st&&vt&&Qt)Yn=Lt?1:0,Kn=ba(Kn,un,ri),Kn=Wi(Kn,un);else if(!st||Lt||vt||Qt){if(st&&!vt&&Lt^Qt)Kn=Wi(Kn,un),Lt?(Yn=0,Kn=ba(Kn,un,ri)):(Yn=1,Kn=ba(Kn,un,ri),Kn=Wi(Kn,un));else if(st&&Lt&&!vt&&Qt)Yn=1,Kn=ba(Kn,un,ri),Kn=Wi(Kn,un);else if(!st&&!vt&&Lt^Qt){var Cn=Fr;Lt?(Yn=1,Kn=ba(Kn,un,ri),Yn=0,Fr=!1,Kn=ba(Kn,un,ri),Fr=Cn):(Yn=0,Kn=ba(Kn,un,ri),Kn=Wi(Kn,un),Yn=1,Fr=!1,Kn=ba(Kn,un,ri),Fr=Cn,Kn=Wi(Kn,un))}}else Yn=0,Kn=ba(Kn,un,ri);else Yn=Lt?1:0,Kn=ba(Kn,un,ri);return Kn},this.__bidiEngine__.setOptions=function(Kn){Kn&&(st=Kn.isInputVisual,vt=Kn.isOutputVisual,Lt=Kn.isInputRtl,Qt=Kn.isOutputRtl,Fr=Kn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(Ge),this.__bidiEngine__};var Re=["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"],Ke=new it.__bidiEngine__({isInputVisual:!0});it.API.events.push(["postProcessText",function(Ge){var et=Ge.text,$e=(Ge.x,Ge.y,Ge.options||{}),st=(Ge.mutex,$e.lang,[]);if($e.isInputVisual=typeof $e.isInputVisual!="boolean"||$e.isInputVisual,Ke.setOptions($e),Object.prototype.toString.call(et)==="[object Array]"){var Lt=0;for(st=[],Lt=0;Lt<et.length;Lt+=1)Object.prototype.toString.call(et[Lt])==="[object Array]"?st.push([Ke.doBidiReorder(et[Lt][0]),et[Lt][1],et[Lt][2]]):st.push([Ke.doBidiReorder(et[Lt])]);Ge.text=st}else Ge.text=Ke.doBidiReorder(et);Ke.setOptions({isInputVisual:!0})}])}(X),X.API.TTFFont=function(){function it(Re){var Ke;if(this.rawData=Re,Ke=this.contents=new qt(Re),this.contents.pos=4,Ke.readString(4)==="ttcf")throw new Error("TTCF not supported.");Ke.pos=0,this.parse(),this.subset=new Ra(this),this.registerTTF()}return it.open=function(Re){return new it(Re)},it.prototype.parse=function(){return this.directory=new St(this.contents),this.head=new or(this),this.name=new br(this),this.cmap=new Rt(this),this.toUnicode={},this.hhea=new _t(this),this.maxp=new hn(this),this.hmtx=new fn(this),this.post=new Nr(this),this.os2=new Zt(this),this.loca=new aa(this),this.glyf=new mi(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]},it.prototype.registerTTF=function(){var Re,Ke,Ge,et,$e;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var st,Lt,vt,Qt;for(Qt=[],st=0,Lt=(vt=this.bbox).length;st<Lt;st++)Re=vt[st],Qt.push(Math.round(Re*this.scaleFactor));return Qt}.call(this),this.stemV=0,this.post.exists?(Ge=255&(et=this.post.italic_angle),(32768&(Ke=et>>16))!=0&&(Ke=-(1+(65535^Ke))),this.italicAngle=+(Ke+"."+Ge)):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=($e=this.familyClass)===1||$e===2||$e===3||$e===4||$e===5||$e===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")},it.prototype.characterToGlyph=function(Re){var Ke;return((Ke=this.cmap.unicode)!=null?Ke.codeMap[Re]:void 0)||0},it.prototype.widthOfGlyph=function(Re){var Ke;return Ke=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Re).advance*Ke},it.prototype.widthOfString=function(Re,Ke,Ge){var et,$e,st,Lt;for(st=0,$e=0,Lt=(Re=""+Re).length;0<=Lt?$e<Lt:$e>Lt;$e=0<=Lt?++$e:--$e)et=Re.charCodeAt($e),st+=this.widthOfGlyph(this.characterToGlyph(et))+Ge*(1e3/Ke)||0;return st*(Ke/1e3)},it.prototype.lineHeight=function(Re,Ke){var Ge;return Ke==null&&(Ke=!1),Ge=Ke?this.lineGap:0,(this.ascender+Ge-this.decender)/1e3*Re},it}();var Pn,qt=function(){function it(Re){this.data=Re!=null?Re:[],this.pos=0,this.length=this.data.length}return it.prototype.readByte=function(){return this.data[this.pos++]},it.prototype.writeByte=function(Re){return this.data[this.pos++]=Re},it.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},it.prototype.writeUInt32=function(Re){return this.writeByte(Re>>>24&255),this.writeByte(Re>>16&255),this.writeByte(Re>>8&255),this.writeByte(255&Re)},it.prototype.readInt32=function(){var Re;return(Re=this.readUInt32())>=2147483648?Re-4294967296:Re},it.prototype.writeInt32=function(Re){return Re<0&&(Re+=4294967296),this.writeUInt32(Re)},it.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},it.prototype.writeUInt16=function(Re){return this.writeByte(Re>>8&255),this.writeByte(255&Re)},it.prototype.readInt16=function(){var Re;return(Re=this.readUInt16())>=32768?Re-65536:Re},it.prototype.writeInt16=function(Re){return Re<0&&(Re+=65536),this.writeUInt16(Re)},it.prototype.readString=function(Re){var Ke,Ge;for(Ge=[],Ke=0;0<=Re?Ke<Re:Ke>Re;Ke=0<=Re?++Ke:--Ke)Ge[Ke]=String.fromCharCode(this.readByte());return Ge.join("")},it.prototype.writeString=function(Re){var Ke,Ge,et;for(et=[],Ke=0,Ge=Re.length;0<=Ge?Ke<Ge:Ke>Ge;Ke=0<=Ge?++Ke:--Ke)et.push(this.writeByte(Re.charCodeAt(Ke)));return et},it.prototype.readShort=function(){return this.readInt16()},it.prototype.writeShort=function(Re){return this.writeInt16(Re)},it.prototype.readLongLong=function(){var Re,Ke,Ge,et,$e,st,Lt,vt;return Re=this.readByte(),Ke=this.readByte(),Ge=this.readByte(),et=this.readByte(),$e=this.readByte(),st=this.readByte(),Lt=this.readByte(),vt=this.readByte(),128&Re?-1*(72057594037927940*(255^Re)+281474976710656*(255^Ke)+1099511627776*(255^Ge)+4294967296*(255^et)+16777216*(255^$e)+65536*(255^st)+256*(255^Lt)+(255^vt)+1):72057594037927940*Re+281474976710656*Ke+1099511627776*Ge+4294967296*et+16777216*$e+65536*st+256*Lt+vt},it.prototype.writeLongLong=function(Re){var Ke,Ge;return Ke=Math.floor(Re/4294967296),Ge=4294967295&Re,this.writeByte(Ke>>24&255),this.writeByte(Ke>>16&255),this.writeByte(Ke>>8&255),this.writeByte(255&Ke),this.writeByte(Ge>>24&255),this.writeByte(Ge>>16&255),this.writeByte(Ge>>8&255),this.writeByte(255&Ge)},it.prototype.readInt=function(){return this.readInt32()},it.prototype.writeInt=function(Re){return this.writeInt32(Re)},it.prototype.read=function(Re){var Ke,Ge;for(Ke=[],Ge=0;0<=Re?Ge<Re:Ge>Re;Ge=0<=Re?++Ge:--Ge)Ke.push(this.readByte());return Ke},it.prototype.write=function(Re){var Ke,Ge,et,$e;for($e=[],Ge=0,et=Re.length;Ge<et;Ge++)Ke=Re[Ge],$e.push(this.writeByte(Ke));return $e},it}(),St=function(){var it;function Re(Ke){var Ge,et,$e;for(this.scalarType=Ke.readInt(),this.tableCount=Ke.readShort(),this.searchRange=Ke.readShort(),this.entrySelector=Ke.readShort(),this.rangeShift=Ke.readShort(),this.tables={},et=0,$e=this.tableCount;0<=$e?et<$e:et>$e;et=0<=$e?++et:--et)Ge={tag:Ke.readString(4),checksum:Ke.readInt(),offset:Ke.readInt(),length:Ke.readInt()},this.tables[Ge.tag]=Ge}return Re.prototype.encode=function(Ke){var Ge,et,$e,st,Lt,vt,Qt,Fr,Lr,Gr,$t,Rn,wr;for(wr in $t=Object.keys(Ke).length,vt=Math.log(2),Lr=16*Math.floor(Math.log($t)/vt),st=Math.floor(Lr/vt),Fr=16*$t-Lr,(et=new qt).writeInt(this.scalarType),et.writeShort($t),et.writeShort(Lr),et.writeShort(st),et.writeShort(Fr),$e=16*$t,Qt=et.pos+$e,Lt=null,Rn=[],Ke)for(Gr=Ke[wr],et.writeString(wr),et.writeInt(it(Gr)),et.writeInt(Qt),et.writeInt(Gr.length),Rn=Rn.concat(Gr),wr==="head"&&(Lt=Qt),Qt+=Gr.length;Qt%4;)Rn.push(0),Qt++;return et.write(Rn),Ge=2981146554-it(et.data),et.pos=Lt+8,et.writeUInt32(Ge),et.data},it=function(Ge){var et,$e,st,Lt;for(Ge=ni.call(Ge);Ge.length%4;)Ge.push(0);for(st=new qt(Ge),$e=0,et=0,Lt=Ge.length;et<Lt;et=et+=4)$e+=st.readUInt32();return 4294967295&$e},Re}(),At={}.hasOwnProperty,cr=function(Re,Ke){for(var Ge in Ke)At.call(Ke,Ge)&&(Re[Ge]=Ke[Ge]);function et(){this.constructor=Re}return et.prototype=Ke.prototype,Re.prototype=new et,Re.__super__=Ke.prototype,Re};Pn=function(){function it(Re){var Ke;this.file=Re,Ke=this.file.directory.tables[this.tag],this.exists=!!Ke,Ke&&(this.offset=Ke.offset,this.length=Ke.length,this.parse(this.file.contents))}return it.prototype.parse=function(){},it.prototype.encode=function(){},it.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},it}();var or=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="head",Re.prototype.parse=function(Ke){return Ke.pos=this.offset,this.version=Ke.readInt(),this.revision=Ke.readInt(),this.checkSumAdjustment=Ke.readInt(),this.magicNumber=Ke.readInt(),this.flags=Ke.readShort(),this.unitsPerEm=Ke.readShort(),this.created=Ke.readLongLong(),this.modified=Ke.readLongLong(),this.xMin=Ke.readShort(),this.yMin=Ke.readShort(),this.xMax=Ke.readShort(),this.yMax=Ke.readShort(),this.macStyle=Ke.readShort(),this.lowestRecPPEM=Ke.readShort(),this.fontDirectionHint=Ke.readShort(),this.indexToLocFormat=Ke.readShort(),this.glyphDataFormat=Ke.readShort()},Re.prototype.encode=function(Ke){var Ge;return(Ge=new qt).writeInt(this.version),Ge.writeInt(this.revision),Ge.writeInt(this.checkSumAdjustment),Ge.writeInt(this.magicNumber),Ge.writeShort(this.flags),Ge.writeShort(this.unitsPerEm),Ge.writeLongLong(this.created),Ge.writeLongLong(this.modified),Ge.writeShort(this.xMin),Ge.writeShort(this.yMin),Ge.writeShort(this.xMax),Ge.writeShort(this.yMax),Ge.writeShort(this.macStyle),Ge.writeShort(this.lowestRecPPEM),Ge.writeShort(this.fontDirectionHint),Ge.writeShort(Ke),Ge.writeShort(this.glyphDataFormat),Ge.data},Re}(),Tt=function(){function it(Re,Ke){var Ge,et,$e,st,Lt,vt,Qt,Fr,Lr,Gr,$t,Rn,wr,pn,rn,Br,Yn;switch(this.platformID=Re.readUInt16(),this.encodingID=Re.readShort(),this.offset=Ke+Re.readInt(),Lr=Re.pos,Re.pos=this.offset,this.format=Re.readUInt16(),this.length=Re.readUInt16(),this.language=Re.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(vt=0;vt<256;++vt)this.codeMap[vt]=Re.readByte();break;case 4:for($t=Re.readUInt16(),Gr=$t/2,Re.pos+=6,$e=function(){var xi,Li;for(Li=[],vt=xi=0;0<=Gr?xi<Gr:xi>Gr;vt=0<=Gr?++xi:--xi)Li.push(Re.readUInt16());return Li}(),Re.pos+=2,wr=function(){var xi,Li;for(Li=[],vt=xi=0;0<=Gr?xi<Gr:xi>Gr;vt=0<=Gr?++xi:--xi)Li.push(Re.readUInt16());return Li}(),Qt=function(){var xi,Li;for(Li=[],vt=xi=0;0<=Gr?xi<Gr:xi>Gr;vt=0<=Gr?++xi:--xi)Li.push(Re.readUInt16());return Li}(),Fr=function(){var xi,Li;for(Li=[],vt=xi=0;0<=Gr?xi<Gr:xi>Gr;vt=0<=Gr?++xi:--xi)Li.push(Re.readUInt16());return Li}(),et=(this.length-Re.pos+this.offset)/2,Lt=function(){var xi,Li;for(Li=[],vt=xi=0;0<=et?xi<et:xi>et;vt=0<=et?++xi:--xi)Li.push(Re.readUInt16());return Li}(),vt=rn=0,Yn=$e.length;rn<Yn;vt=++rn)for(pn=$e[vt],Ge=Br=Rn=wr[vt];Rn<=pn?Br<=pn:Br>=pn;Ge=Rn<=pn?++Br:--Br)Fr[vt]===0?st=Ge+Qt[vt]:(st=Lt[Fr[vt]/2+(Ge-Rn)-(Gr-vt)]||0)!==0&&(st+=Qt[vt]),this.codeMap[Ge]=65535&st}Re.pos=Lr}return it.encode=function(Re,Ke){var Ge,et,$e,st,Lt,vt,Qt,Fr,Lr,Gr,$t,Rn,wr,pn,rn,Br,Yn,xi,Li,Vi,Wi,qi,bi,ba,Kn,un,ri,Cn,ki,Tn,oa,Ti,li,Ri,Da,Un,on,Zn,hi,Ni,zi,ea,Fi,ia,Va,fo;switch(Cn=new qt,st=Object.keys(Re).sort(function(ja,Ka){return ja-Ka}),Ke){case"macroman":for(wr=0,pn=function(){var ja=[];for(Rn=0;Rn<256;++Rn)ja.push(0);return ja}(),Br={0:0},$e={},ki=0,li=st.length;ki<li;ki++)Br[Fi=Re[et=st[ki]]]==null&&(Br[Fi]=++wr),$e[et]={old:Re[et],new:Br[Re[et]]},pn[et]=Br[Re[et]];return Cn.writeUInt16(1),Cn.writeUInt16(0),Cn.writeUInt32(12),Cn.writeUInt16(0),Cn.writeUInt16(262),Cn.writeUInt16(0),Cn.write(pn),{charMap:$e,subtable:Cn.data,maxGlyphID:wr+1};case"unicode":for(un=[],Lr=[],Yn=0,Br={},Ge={},rn=Qt=null,Tn=0,Ri=st.length;Tn<Ri;Tn++)Br[Li=Re[et=st[Tn]]]==null&&(Br[Li]=++Yn),Ge[et]={old:Li,new:Br[Li]},Lt=Br[Li]-et,rn!=null&&Lt===Qt||(rn&&Lr.push(rn),un.push(et),Qt=Lt),rn=et;for(rn&&Lr.push(rn),Lr.push(65535),un.push(65535),ba=2*(bi=un.length),qi=2*Math.pow(Math.log(bi)/Math.LN2,2),Gr=Math.log(qi/2)/Math.LN2,Wi=2*bi-qi,vt=[],Vi=[],$t=[],Rn=oa=0,Da=un.length;oa<Da;Rn=++oa){if(Kn=un[Rn],Fr=Lr[Rn],Kn===65535){vt.push(0),Vi.push(0);break}if(Kn-(ri=Ge[Kn].new)>=32768)for(vt.push(0),Vi.push(2*($t.length+bi-Rn)),et=Ti=Kn;Kn<=Fr?Ti<=Fr:Ti>=Fr;et=Kn<=Fr?++Ti:--Ti)$t.push(Ge[et].new);else vt.push(ri-Kn),Vi.push(0)}for(Cn.writeUInt16(3),Cn.writeUInt16(1),Cn.writeUInt32(12),Cn.writeUInt16(4),Cn.writeUInt16(16+8*bi+2*$t.length),Cn.writeUInt16(0),Cn.writeUInt16(ba),Cn.writeUInt16(qi),Cn.writeUInt16(Gr),Cn.writeUInt16(Wi),zi=0,Un=Lr.length;zi<Un;zi++)et=Lr[zi],Cn.writeUInt16(et);for(Cn.writeUInt16(0),ea=0,on=un.length;ea<on;ea++)et=un[ea],Cn.writeUInt16(et);for(ia=0,Zn=vt.length;ia<Zn;ia++)Lt=vt[ia],Cn.writeUInt16(Lt);for(Va=0,hi=Vi.length;Va<hi;Va++)xi=Vi[Va],Cn.writeUInt16(xi);for(fo=0,Ni=$t.length;fo<Ni;fo++)wr=$t[fo],Cn.writeUInt16(wr);return{charMap:Ge,subtable:Cn.data,maxGlyphID:Yn+1}}},it}(),Rt=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="cmap",Re.prototype.parse=function(Ke){var Ge,et,$e;for(Ke.pos=this.offset,this.version=Ke.readUInt16(),$e=Ke.readUInt16(),this.tables=[],this.unicode=null,et=0;0<=$e?et<$e:et>$e;et=0<=$e?++et:--et)Ge=new Tt(Ke,this.offset),this.tables.push(Ge),Ge.isUnicode&&this.unicode==null&&(this.unicode=Ge);return!0},Re.encode=function(Ke,Ge){var et,$e;return Ge==null&&(Ge="macroman"),et=Tt.encode(Ke,Ge),($e=new qt).writeUInt16(0),$e.writeUInt16(1),et.table=$e.data.concat(et.subtable),et},Re}(),_t=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="hhea",Re.prototype.parse=function(Ke){return Ke.pos=this.offset,this.version=Ke.readInt(),this.ascender=Ke.readShort(),this.decender=Ke.readShort(),this.lineGap=Ke.readShort(),this.advanceWidthMax=Ke.readShort(),this.minLeftSideBearing=Ke.readShort(),this.minRightSideBearing=Ke.readShort(),this.xMaxExtent=Ke.readShort(),this.caretSlopeRise=Ke.readShort(),this.caretSlopeRun=Ke.readShort(),this.caretOffset=Ke.readShort(),Ke.pos+=8,this.metricDataFormat=Ke.readShort(),this.numberOfMetrics=Ke.readUInt16()},Re}(),Zt=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="OS/2",Re.prototype.parse=function(Ke){if(Ke.pos=this.offset,this.version=Ke.readUInt16(),this.averageCharWidth=Ke.readShort(),this.weightClass=Ke.readUInt16(),this.widthClass=Ke.readUInt16(),this.type=Ke.readShort(),this.ySubscriptXSize=Ke.readShort(),this.ySubscriptYSize=Ke.readShort(),this.ySubscriptXOffset=Ke.readShort(),this.ySubscriptYOffset=Ke.readShort(),this.ySuperscriptXSize=Ke.readShort(),this.ySuperscriptYSize=Ke.readShort(),this.ySuperscriptXOffset=Ke.readShort(),this.ySuperscriptYOffset=Ke.readShort(),this.yStrikeoutSize=Ke.readShort(),this.yStrikeoutPosition=Ke.readShort(),this.familyClass=Ke.readShort(),this.panose=function(){var Ge,et;for(et=[],Ge=0;Ge<10;++Ge)et.push(Ke.readByte());return et}(),this.charRange=function(){var Ge,et;for(et=[],Ge=0;Ge<4;++Ge)et.push(Ke.readInt());return et}(),this.vendorID=Ke.readString(4),this.selection=Ke.readShort(),this.firstCharIndex=Ke.readShort(),this.lastCharIndex=Ke.readShort(),this.version>0&&(this.ascent=Ke.readShort(),this.descent=Ke.readShort(),this.lineGap=Ke.readShort(),this.winAscent=Ke.readShort(),this.winDescent=Ke.readShort(),this.codePageRange=function(){var Ge,et;for(et=[],Ge=0;Ge<2;Ge=++Ge)et.push(Ke.readInt());return et}(),this.version>1))return this.xHeight=Ke.readShort(),this.capHeight=Ke.readShort(),this.defaultChar=Ke.readShort(),this.breakChar=Ke.readShort(),this.maxContext=Ke.readShort()},Re}(),Nr=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="post",Re.prototype.parse=function(Ke){var Ge,et,$e;switch(Ke.pos=this.offset,this.format=Ke.readInt(),this.italicAngle=Ke.readInt(),this.underlinePosition=Ke.readShort(),this.underlineThickness=Ke.readShort(),this.isFixedPitch=Ke.readInt(),this.minMemType42=Ke.readInt(),this.maxMemType42=Ke.readInt(),this.minMemType1=Ke.readInt(),this.maxMemType1=Ke.readInt(),this.format){case 65536:break;case 131072:var st;for(et=Ke.readUInt16(),this.glyphNameIndex=[],st=0;0<=et?st<et:st>et;st=0<=et?++st:--st)this.glyphNameIndex.push(Ke.readUInt16());for(this.names=[],$e=[];Ke.pos<this.offset+this.length;)Ge=Ke.readByte(),$e.push(this.names.push(Ke.readString(Ge)));return $e;case 151552:return et=Ke.readUInt16(),this.offsets=Ke.read(et);case 196608:break;case 262144:return this.map=function(){var Lt,vt,Qt;for(Qt=[],st=Lt=0,vt=this.file.maxp.numGlyphs;0<=vt?Lt<vt:Lt>vt;st=0<=vt?++Lt:--Lt)Qt.push(Ke.readUInt32());return Qt}.call(this)}},Re}(),Sr=function(Re,Ke){this.raw=Re,this.length=Re.length,this.platformID=Ke.platformID,this.encodingID=Ke.encodingID,this.languageID=Ke.languageID},br=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="name",Re.prototype.parse=function(Ke){var Ge,et,$e,st,Lt,vt,Qt,Fr,Lr,Gr,$t;for(Ke.pos=this.offset,Ke.readShort(),Ge=Ke.readShort(),vt=Ke.readShort(),et=[],st=0;0<=Ge?st<Ge:st>Ge;st=0<=Ge?++st:--st)et.push({platformID:Ke.readShort(),encodingID:Ke.readShort(),languageID:Ke.readShort(),nameID:Ke.readShort(),length:Ke.readShort(),offset:this.offset+vt+Ke.readShort()});for(Qt={},st=Lr=0,Gr=et.length;Lr<Gr;st=++Lr)$e=et[st],Ke.pos=$e.offset,Fr=Ke.readString($e.length),Lt=new Sr(Fr,$e),Qt[$t=$e.nameID]==null&&(Qt[$t]=[]),Qt[$e.nameID].push(Lt);this.strings=Qt,this.copyright=Qt[0],this.fontFamily=Qt[1],this.fontSubfamily=Qt[2],this.uniqueSubfamily=Qt[3],this.fontName=Qt[4],this.version=Qt[5];try{this.postscriptName=Qt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(Rn){this.postscriptName=Qt[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Qt[7],this.manufacturer=Qt[8],this.designer=Qt[9],this.description=Qt[10],this.vendorUrl=Qt[11],this.designerUrl=Qt[12],this.license=Qt[13],this.licenseUrl=Qt[14],this.preferredFamily=Qt[15],this.preferredSubfamily=Qt[17],this.compatibleFull=Qt[18],this.sampleText=Qt[19]},Re}(),hn=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="maxp",Re.prototype.parse=function(Ke){return Ke.pos=this.offset,this.version=Ke.readInt(),this.numGlyphs=Ke.readUInt16(),this.maxPoints=Ke.readUInt16(),this.maxContours=Ke.readUInt16(),this.maxCompositePoints=Ke.readUInt16(),this.maxComponentContours=Ke.readUInt16(),this.maxZones=Ke.readUInt16(),this.maxTwilightPoints=Ke.readUInt16(),this.maxStorage=Ke.readUInt16(),this.maxFunctionDefs=Ke.readUInt16(),this.maxInstructionDefs=Ke.readUInt16(),this.maxStackElements=Ke.readUInt16(),this.maxSizeOfInstructions=Ke.readUInt16(),this.maxComponentElements=Ke.readUInt16(),this.maxComponentDepth=Ke.readUInt16()},Re}(),fn=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="hmtx",Re.prototype.parse=function(Ke){var Ge,et,$e,st,Lt,vt,Qt;for(Ke.pos=this.offset,this.metrics=[],Ge=0,vt=this.file.hhea.numberOfMetrics;0<=vt?Ge<vt:Ge>vt;Ge=0<=vt?++Ge:--Ge)this.metrics.push({advance:Ke.readUInt16(),lsb:Ke.readInt16()});for($e=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Fr,Lr;for(Lr=[],Ge=Fr=0;0<=$e?Fr<$e:Fr>$e;Ge=0<=$e?++Fr:--Fr)Lr.push(Ke.readInt16());return Lr}(),this.widths=function(){var Fr,Lr,Gr,$t;for($t=[],Fr=0,Lr=(Gr=this.metrics).length;Fr<Lr;Fr++)st=Gr[Fr],$t.push(st.advance);return $t}.call(this),et=this.widths[this.widths.length-1],Qt=[],Ge=Lt=0;0<=$e?Lt<$e:Lt>$e;Ge=0<=$e?++Lt:--Lt)Qt.push(this.widths.push(et));return Qt},Re.prototype.forGlyph=function(Ke){return Ke in this.metrics?this.metrics[Ke]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Ke-this.metrics.length]}},Re}(),ni=[].slice,mi=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="glyf",Re.prototype.parse=function(){return this.cache={}},Re.prototype.glyphFor=function(Ke){var Ge,et,$e,st,Lt,vt,Qt,Fr,Lr,Gr;return Ke in this.cache?this.cache[Ke]:(st=this.file.loca,Ge=this.file.contents,et=st.indexOf(Ke),($e=st.lengthOf(Ke))===0?this.cache[Ke]=null:(Ge.pos=this.offset+et,Lt=(vt=new qt(Ge.read($e))).readShort(),Fr=vt.readShort(),Gr=vt.readShort(),Qt=vt.readShort(),Lr=vt.readShort(),this.cache[Ke]=Lt===-1?new Hi(vt,Fr,Gr,Qt,Lr):new _i(vt,Lt,Fr,Gr,Qt,Lr),this.cache[Ke]))},Re.prototype.encode=function(Ke,Ge,et){var $e,st,Lt,vt,Qt;for(Lt=[],st=[],vt=0,Qt=Ge.length;vt<Qt;vt++)$e=Ke[Ge[vt]],st.push(Lt.length),$e&&(Lt=Lt.concat($e.encode(et)));return st.push(Lt.length),{table:Lt,offsets:st}},Re}(),_i=function(){function it(Re,Ke,Ge,et,$e,st){this.raw=Re,this.numberOfContours=Ke,this.xMin=Ge,this.yMin=et,this.xMax=$e,this.yMax=st,this.compound=!1}return it.prototype.encode=function(){return this.raw.data},it}(),Hi=function(){function it(Re,Ke,Ge,et,$e){var st,Lt;for(this.raw=Re,this.xMin=Ke,this.yMin=Ge,this.xMax=et,this.yMax=$e,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],st=this.raw;Lt=st.readShort(),this.glyphOffsets.push(st.pos),this.glyphIDs.push(st.readUInt16()),32≪)st.pos+=1&Lt?4:2,128&Lt?st.pos+=8:64&Lt?st.pos+=4:8&Lt&&(st.pos+=2)}return it.prototype.encode=function(){var Re,Ke,Ge;for(Ke=new qt(ni.call(this.raw.data)),Re=0,Ge=this.glyphIDs.length;Re<Ge;++Re)Ke.pos=this.glyphOffsets[Re];return Ke.data},it}(),aa=function(it){function Re(){return Re.__super__.constructor.apply(this,arguments)}return cr(Re,Pn),Re.prototype.tag="loca",Re.prototype.parse=function(Ke){var Ge,et;return Ke.pos=this.offset,Ge=this.file.head.indexToLocFormat,this.offsets=Ge===0?function(){var $e,st;for(st=[],et=0,$e=this.length;et<$e;et+=2)st.push(2*Ke.readUInt16());return st}.call(this):function(){var $e,st;for(st=[],et=0,$e=this.length;et<$e;et+=4)st.push(Ke.readUInt32());return st}.call(this)},Re.prototype.indexOf=function(Ke){return this.offsets[Ke]},Re.prototype.lengthOf=function(Ke){return this.offsets[Ke+1]-this.offsets[Ke]},Re.prototype.encode=function(Ke,Ge){for(var et=new Uint32Array(this.offsets.length),$e=0,st=0,Lt=0;Lt<et.length;++Lt)if(et[Lt]=$e,st<Ge.length&&Ge[st]==Lt){++st,et[Lt]=$e;var vt=this.offsets[Lt],Qt=this.offsets[Lt+1]-vt;Qt>0&&($e+=Qt)}for(var Fr=new Array(4*et.length),Lr=0;Lr<et.length;++Lr)Fr[4*Lr+3]=255&et[Lr],Fr[4*Lr+2]=(65280&et[Lr])>>8,Fr[4*Lr+1]=(16711680&et[Lr])>>16,Fr[4*Lr]=(4278190080&et[Lr])>>24;return Fr},Re}(),Ra=function(){function it(Re){this.font=Re,this.subset={},this.unicodes={},this.next=33}return it.prototype.generateCmap=function(){var Re,Ke,Ge,et,$e;for(Ke in et=this.font.cmap.tables[0].codeMap,Re={},$e=this.subset)Ge=$e[Ke],Re[Ke]=et[Ge];return Re},it.prototype.glyphsFor=function(Re){var Ke,Ge,et,$e,st,Lt,vt;for(et={},st=0,Lt=Re.length;st<Lt;st++)et[$e=Re[st]]=this.font.glyf.glyphFor($e);for($e in Ke=[],et)((Ge=et[$e])!=null?Ge.compound:void 0)&&Ke.push.apply(Ke,Ge.glyphIDs);if(Ke.length>0)for($e in vt=this.glyphsFor(Ke))Ge=vt[$e],et[$e]=Ge;return et},it.prototype.encode=function(Re,Ke){var Ge,et,$e,st,Lt,vt,Qt,Fr,Lr,Gr,$t,Rn,wr,pn,rn;for(et in Ge=Rt.encode(this.generateCmap(),"unicode"),st=this.glyphsFor(Re),$t={0:0},rn=Ge.charMap)$t[(vt=rn[et]).old]=vt.new;for(Rn in Gr=Ge.maxGlyphID,st)Rn in $t||($t[Rn]=Gr++);return Fr=function(Br){var Yn,xi;for(Yn in xi={},Br)xi[Br[Yn]]=Yn;return xi}($t),Lr=Object.keys(Fr).sort(function(Br,Yn){return Br-Yn}),wr=function(){var Br,Yn,xi;for(xi=[],Br=0,Yn=Lr.length;Br<Yn;Br++)Lt=Lr[Br],xi.push(Fr[Lt]);return xi}(),$e=this.font.glyf.encode(st,wr,$t),Qt=this.font.loca.encode($e.offsets,wr),pn={cmap:this.font.cmap.raw(),glyf:$e.table,loca:Qt,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(Ke)},this.font.os2.exists&&(pn["OS/2"]=this.font.os2.raw()),this.font.directory.encode(pn)},it}();X.API.PDFObject=function(){var it;function Re(){}return it=function(Ge,et){return(Array(et+1).join("0")+Ge).slice(-et)},Re.convert=function(Ke){var Ge,et,$e,st;if(Array.isArray(Ke))return"["+function(){var Lt,vt,Qt;for(Qt=[],Lt=0,vt=Ke.length;Lt<vt;Lt++)Ge=Ke[Lt],Qt.push(Re.convert(Ge));return Qt}().join(" ")+"]";if(typeof Ke=="string")return"/"+Ke;if(Ke!=null?Ke.isString:void 0)return"("+Ke+")";if(Ke instanceof Date)return"(D:"+it(Ke.getUTCFullYear(),4)+it(Ke.getUTCMonth(),2)+it(Ke.getUTCDate(),2)+it(Ke.getUTCHours(),2)+it(Ke.getUTCMinutes(),2)+it(Ke.getUTCSeconds(),2)+"Z)";if({}.toString.call(Ke)==="[object Object]"){for(et in $e=["<<"],Ke)st=Ke[et],$e.push("/"+et+" "+Re.convert(st));return $e.push(">>"),$e.join(`
|
|
|
`)}return""+Ke},Re}(),R.default=X}.call(this,i("yLpj"))},e5VY:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("YNAk"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},eIcI:function(U,R,i){var y=i("bYtY"),m=i("hM6l");function E(v,f,d){m.call(this,v,f,d),this.type="value",this.angle=0,this.name="",this.model}y.inherits(E,m);var p=E;U.exports=p},eJH7:function(U,R,i){var y=i("bYtY");function m(E){var p=E.polar;if(p){y.isArray(p)||(p=[p]);var v=[];y.each(p,function(f,d){f.indicator?(f.type&&!f.shape&&(f.shape=f.type),E.radar=E.radar||[],y.isArray(E.radar)||(E.radar=[E.radar]),E.radar.push(f)):v.push(f)}),E.polar=v}y.each(E.series,function(f){f&&f.type==="radar"&&f.polarIndex&&(f.radarIndex=f.polarIndex)})}U.exports=m},eP3c:function(U,R,i){"use strict";function y(at){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(ue){return typeof ue}:y=function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},y(at)}Object.defineProperty(R,"__esModule",{value:!0}),R.inflateReset=de,R.inflateReset2=ve,R.inflateResetKeep=Ne,R.inflateInit=qe,R.inflateInit2=Me,R.inflate=Nt,R.inflateEnd=Bt,R.inflateGetHeader=Pt,R.inflateSetDictionary=jt,R.inflateInfo=R.Z_DEFLATED=R.Z_BUF_ERROR=R.Z_MEM_ERROR=R.Z_DATA_ERROR=R.Z_STREAM_ERROR=R.Z_NEED_DICT=R.Z_STREAM_END=R.Z_OK=R.Z_TREES=R.Z_BLOCK=R.Z_FINISH=void 0;var m=n(i("6BzB")),E=d(i("xlC8")),p=d(i("QV2g")),v=d(i("sjKO")),f=d(i("JSwD"));function d(at){return at&&at.__esModule?at:{default:at}}function l(){if(typeof WeakMap!="function")return null;var at=new WeakMap;return l=function(){return at},at}function n(at){if(at&&at.__esModule)return at;if(at===null||y(at)!=="object"&&typeof at!="function")return{default:at};var Ce=l();if(Ce&&Ce.has(at))return Ce.get(at);var ue={},Dt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var rt in at)if(Object.prototype.hasOwnProperty.call(at,rt)){var ye=Dt?Object.getOwnPropertyDescriptor(at,rt):null;ye&&(ye.get||ye.set)?Object.defineProperty(ue,rt,ye):ue[rt]=at[rt]}return ue.default=at,Ce&&Ce.set(at,ue),ue}var t=0,a=1,s=2,r=4;R.Z_FINISH=r;var c=5;R.Z_BLOCK=c;var e=6;R.Z_TREES=e;var o=0;R.Z_OK=o;var u=1;R.Z_STREAM_END=u;var h=2;R.Z_NEED_DICT=h;var g=-2;R.Z_STREAM_ERROR=g;var A=-3;R.Z_DATA_ERROR=A;var w=-4;R.Z_MEM_ERROR=w;var x=-5;R.Z_BUF_ERROR=x;var C=8;R.Z_DEFLATED=C;var T=1,O=2,S=3,_=4,L=5,D=6,F=7,j=8,k=9,K=10,Z=11,B=12,V=13,z=14,X=15,W=16,q=17,Y=18,re=19,ne=20,we=21,ie=22,me=23,_e=24,Te=25,We=26,Ae=27,je=28,ee=29,he=30,Ze=31,oe=32,Q=852,G=592,te=15,xe=te;function fe(at){return(at>>>24&255)+(at>>>8&65280)+((at&65280)<<8)+((at&255)<<24)}function Be(){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 m.Buf16(320),this.work=new m.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ne(at){var Ce;return!at||!at.state?g:(Ce=at.state,at.total_in=at.total_out=Ce.total=0,at.msg="",Ce.wrap&&(at.adler=Ce.wrap&1),Ce.mode=T,Ce.last=0,Ce.havedict=0,Ce.dmax=32768,Ce.head=null,Ce.hold=0,Ce.bits=0,Ce.lencode=Ce.lendyn=new m.Buf32(Q),Ce.distcode=Ce.distdyn=new m.Buf32(G),Ce.sane=1,Ce.back=-1,o)}function de(at){var Ce;return!at||!at.state?g:(Ce=at.state,Ce.wsize=0,Ce.whave=0,Ce.wnext=0,Ne(at))}function ve(at,Ce){var ue,Dt;return!at||!at.state?g:(Dt=at.state,Ce<0?(ue=0,Ce=-Ce):(ue=(Ce>>4)+1,Ce<48&&(Ce&=15)),Ce&&(Ce<8||Ce>15)?g:(Dt.window!==null&&Dt.wbits!==Ce&&(Dt.window=null),Dt.wrap=ue,Dt.wbits=Ce,de(at)))}function Me(at,Ce){var ue,Dt;return at?(Dt=new Be,at.state=Dt,Dt.window=null,ue=ve(at,Ce),ue!==o&&(at.state=null),ue):g}function qe(at){return Me(at,xe)}var gt=!0,ht,Pe;function It(at){if(gt){var Ce;for(ht=new m.Buf32(512),Pe=new m.Buf32(32),Ce=0;Ce<144;)at.lens[Ce++]=8;for(;Ce<256;)at.lens[Ce++]=9;for(;Ce<280;)at.lens[Ce++]=7;for(;Ce<288;)at.lens[Ce++]=8;for((0,f.default)(a,at.lens,0,288,ht,0,at.work,{bits:9}),Ce=0;Ce<32;)at.lens[Ce++]=5;(0,f.default)(s,at.lens,0,32,Pe,0,at.work,{bits:5}),gt=!1}at.lencode=ht,at.lenbits=9,at.distcode=Pe,at.distbits=5}function nt(at,Ce,ue,Dt){var rt,ye=at.state;return ye.window===null&&(ye.wsize=1<<ye.wbits,ye.wnext=0,ye.whave=0,ye.window=new m.Buf8(ye.wsize)),Dt>=ye.wsize?(m.arraySet(ye.window,Ce,ue-ye.wsize,ye.wsize,0),ye.wnext=0,ye.whave=ye.wsize):(rt=ye.wsize-ye.wnext,rt>Dt&&(rt=Dt),m.arraySet(ye.window,Ce,ue-Dt,rt,ye.wnext),Dt-=rt,Dt?(m.arraySet(ye.window,Ce,ue-Dt,Dt,0),ye.wnext=Dt,ye.whave=ye.wsize):(ye.wnext+=rt,ye.wnext===ye.wsize&&(ye.wnext=0),ye.whave<ye.wsize&&(ye.whave+=rt))),0}function Nt(at,Ce){var ue,Dt,rt,ye,Xt,pr,mt,nr,yr,gn,_r,ur,zt,bt,ot=0,lr,jr,Rr,xr,Vn,bn,di,lt,ct=new m.Buf8(4),Le,Ue,Ye=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!at||!at.state||!at.output||!at.input&&at.avail_in!==0)return g;ue=at.state,ue.mode===B&&(ue.mode=V),Xt=at.next_out,rt=at.output,mt=at.avail_out,ye=at.next_in,Dt=at.input,pr=at.avail_in,nr=ue.hold,yr=ue.bits,gn=pr,_r=mt,lt=o;e:for(;;)switch(ue.mode){case T:if(ue.wrap===0){ue.mode=V;break}for(;yr<16;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if(ue.wrap&2&&nr===35615){ue.check=0,ct[0]=nr&255,ct[1]=nr>>>8&255,ue.check=(0,p.default)(ue.check,ct,2,0),nr=0,yr=0,ue.mode=O;break}if(ue.flags=0,ue.head&&(ue.head.done=!1),!(ue.wrap&1)||(((nr&255)<<8)+(nr>>8))%31){at.msg="incorrect header check",ue.mode=he;break}if((nr&15)!==C){at.msg="unknown compression method",ue.mode=he;break}if(nr>>>=4,yr-=4,di=(nr&15)+8,ue.wbits===0)ue.wbits=di;else if(di>ue.wbits){at.msg="invalid window size",ue.mode=he;break}ue.dmax=1<<di,at.adler=ue.check=1,ue.mode=nr&512?K:B,nr=0,yr=0;break;case O:for(;yr<16;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if(ue.flags=nr,(ue.flags&255)!==C){at.msg="unknown compression method",ue.mode=he;break}if(ue.flags&57344){at.msg="unknown header flags set",ue.mode=he;break}ue.head&&(ue.head.text=nr>>8&1),ue.flags&512&&(ct[0]=nr&255,ct[1]=nr>>>8&255,ue.check=(0,p.default)(ue.check,ct,2,0)),nr=0,yr=0,ue.mode=S;case S:for(;yr<32;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}ue.head&&(ue.head.time=nr),ue.flags&512&&(ct[0]=nr&255,ct[1]=nr>>>8&255,ct[2]=nr>>>16&255,ct[3]=nr>>>24&255,ue.check=(0,p.default)(ue.check,ct,4,0)),nr=0,yr=0,ue.mode=_;case _:for(;yr<16;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}ue.head&&(ue.head.xflags=nr&255,ue.head.os=nr>>8),ue.flags&512&&(ct[0]=nr&255,ct[1]=nr>>>8&255,ue.check=(0,p.default)(ue.check,ct,2,0)),nr=0,yr=0,ue.mode=L;case L:if(ue.flags&1024){for(;yr<16;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}ue.length=nr,ue.head&&(ue.head.extra_len=nr),ue.flags&512&&(ct[0]=nr&255,ct[1]=nr>>>8&255,ue.check=(0,p.default)(ue.check,ct,2,0)),nr=0,yr=0}else ue.head&&(ue.head.extra=null);ue.mode=D;case D:if(ue.flags&1024&&(ur=ue.length,ur>pr&&(ur=pr),ur&&(ue.head&&(di=ue.head.extra_len-ue.length,ue.head.extra||(ue.head.extra=new Array(ue.head.extra_len)),m.arraySet(ue.head.extra,Dt,ye,ur,di)),ue.flags&512&&(ue.check=(0,p.default)(ue.check,Dt,ur,ye)),pr-=ur,ye+=ur,ue.length-=ur),ue.length))break e;ue.length=0,ue.mode=F;case F:if(ue.flags&2048){if(pr===0)break e;ur=0;do di=Dt[ye+ur++],ue.head&&di&&ue.length<65536&&(ue.head.name+=String.fromCharCode(di));while(di&&ur<pr);if(ue.flags&512&&(ue.check=(0,p.default)(ue.check,Dt,ur,ye)),pr-=ur,ye+=ur,di)break e}else ue.head&&(ue.head.name=null);ue.length=0,ue.mode=j;case j:if(ue.flags&4096){if(pr===0)break e;ur=0;do di=Dt[ye+ur++],ue.head&&di&&ue.length<65536&&(ue.head.comment+=String.fromCharCode(di));while(di&&ur<pr);if(ue.flags&512&&(ue.check=(0,p.default)(ue.check,Dt,ur,ye)),pr-=ur,ye+=ur,di)break e}else ue.head&&(ue.head.comment=null);ue.mode=k;case k:if(ue.flags&512){for(;yr<16;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if(nr!==(ue.check&65535)){at.msg="header crc mismatch",ue.mode=he;break}nr=0,yr=0}ue.head&&(ue.head.hcrc=ue.flags>>9&1,ue.head.done=!0),at.adler=ue.check=0,ue.mode=B;break;case K:for(;yr<32;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}at.adler=ue.check=fe(nr),nr=0,yr=0,ue.mode=Z;case Z:if(ue.havedict===0)return at.next_out=Xt,at.avail_out=mt,at.next_in=ye,at.avail_in=pr,ue.hold=nr,ue.bits=yr,h;at.adler=ue.check=1,ue.mode=B;case B:if(Ce===c||Ce===e)break e;case V:if(ue.last){nr>>>=yr&7,yr-=yr&7,ue.mode=Ae;break}for(;yr<3;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}ue.last=nr&1,nr>>>=1,yr-=1;switch(nr&3){case 0:ue.mode=z;break;case 1:if(It(ue),ue.mode=ne,Ce===e){nr>>>=2,yr-=2;break e}break;case 2:ue.mode=q;break;case 3:at.msg="invalid block type",ue.mode=he}nr>>>=2,yr-=2;break;case z:for(nr>>>=yr&7,yr-=yr&7;yr<32;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if((nr&65535)!==(nr>>>16^65535)){at.msg="invalid stored block lengths",ue.mode=he;break}if(ue.length=nr&65535,nr=0,yr=0,ue.mode=X,Ce===e)break e;case X:ue.mode=W;case W:if(ur=ue.length,ur){if(ur>pr&&(ur=pr),ur>mt&&(ur=mt),ur===0)break e;m.arraySet(rt,Dt,ye,ur,Xt),pr-=ur,ye+=ur,mt-=ur,Xt+=ur,ue.length-=ur;break}ue.mode=B;break;case q:for(;yr<14;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if(ue.nlen=(nr&31)+257,nr>>>=5,yr-=5,ue.ndist=(nr&31)+1,nr>>>=5,yr-=5,ue.ncode=(nr&15)+4,nr>>>=4,yr-=4,ue.nlen>286||ue.ndist>30){at.msg="too many length or distance symbols",ue.mode=he;break}ue.have=0,ue.mode=Y;case Y:for(;ue.have<ue.ncode;){for(;yr<3;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}ue.lens[Ye[ue.have++]]=nr&7,nr>>>=3,yr-=3}for(;ue.have<19;)ue.lens[Ye[ue.have++]]=0;if(ue.lencode=ue.lendyn,ue.lenbits=7,Le={bits:ue.lenbits},lt=(0,f.default)(t,ue.lens,0,19,ue.lencode,0,ue.work,Le),ue.lenbits=Le.bits,lt){at.msg="invalid code lengths set",ue.mode=he;break}ue.have=0,ue.mode=re;case re:for(;ue.have<ue.nlen+ue.ndist;){for(;!(ot=ue.lencode[nr&(1<<ue.lenbits)-1],lr=ot>>>24,jr=ot>>>16&255,Rr=ot&65535,lr<=yr);){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if(Rr<16)nr>>>=lr,yr-=lr,ue.lens[ue.have++]=Rr;else{if(Rr===16){for(Ue=lr+2;yr<Ue;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if(nr>>>=lr,yr-=lr,ue.have===0){at.msg="invalid bit length repeat",ue.mode=he;break}di=ue.lens[ue.have-1],ur=3+(nr&3),nr>>>=2,yr-=2}else if(Rr===17){for(Ue=lr+3;yr<Ue;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}nr>>>=lr,yr-=lr,di=0,ur=3+(nr&7),nr>>>=3,yr-=3}else{for(Ue=lr+7;yr<Ue;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}nr>>>=lr,yr-=lr,di=0,ur=11+(nr&127),nr>>>=7,yr-=7}if(ue.have+ur>ue.nlen+ue.ndist){at.msg="invalid bit length repeat",ue.mode=he;break}for(;ur--;)ue.lens[ue.have++]=di}}if(ue.mode===he)break;if(ue.lens[256]===0){at.msg="invalid code -- missing end-of-block",ue.mode=he;break}if(ue.lenbits=9,Le={bits:ue.lenbits},lt=(0,f.default)(a,ue.lens,0,ue.nlen,ue.lencode,0,ue.work,Le),ue.lenbits=Le.bits,lt){at.msg="invalid literal/lengths set",ue.mode=he;break}if(ue.distbits=6,ue.distcode=ue.distdyn,Le={bits:ue.distbits},lt=(0,f.default)(s,ue.lens,ue.nlen,ue.ndist,ue.distcode,0,ue.work,Le),ue.distbits=Le.bits,lt){at.msg="invalid distances set",ue.mode=he;break}if(ue.mode=ne,Ce===e)break e;case ne:ue.mode=we;case we:if(pr>=6&&mt>=258){at.next_out=Xt,at.avail_out=mt,at.next_in=ye,at.avail_in=pr,ue.hold=nr,ue.bits=yr,(0,v.default)(at,_r),Xt=at.next_out,rt=at.output,mt=at.avail_out,ye=at.next_in,Dt=at.input,pr=at.avail_in,nr=ue.hold,yr=ue.bits,ue.mode===B&&(ue.back=-1);break}for(ue.back=0;!(ot=ue.lencode[nr&(1<<ue.lenbits)-1],lr=ot>>>24,jr=ot>>>16&255,Rr=ot&65535,lr<=yr);){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if(jr&&(jr&240)===0){for(xr=lr,Vn=jr,bn=Rr;!(ot=ue.lencode[bn+((nr&(1<<xr+Vn)-1)>>xr)],lr=ot>>>24,jr=ot>>>16&255,Rr=ot&65535,xr+lr<=yr);){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}nr>>>=xr,yr-=xr,ue.back+=xr}if(nr>>>=lr,yr-=lr,ue.back+=lr,ue.length=Rr,jr===0){ue.mode=We;break}if(jr&32){ue.back=-1,ue.mode=B;break}if(jr&64){at.msg="invalid literal/length code",ue.mode=he;break}ue.extra=jr&15,ue.mode=ie;case ie:if(ue.extra){for(Ue=ue.extra;yr<Ue;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}ue.length+=nr&(1<<ue.extra)-1,nr>>>=ue.extra,yr-=ue.extra,ue.back+=ue.extra}ue.was=ue.length,ue.mode=me;case me:for(;!(ot=ue.distcode[nr&(1<<ue.distbits)-1],lr=ot>>>24,jr=ot>>>16&255,Rr=ot&65535,lr<=yr);){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if((jr&240)===0){for(xr=lr,Vn=jr,bn=Rr;!(ot=ue.distcode[bn+((nr&(1<<xr+Vn)-1)>>xr)],lr=ot>>>24,jr=ot>>>16&255,Rr=ot&65535,xr+lr<=yr);){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}nr>>>=xr,yr-=xr,ue.back+=xr}if(nr>>>=lr,yr-=lr,ue.back+=lr,jr&64){at.msg="invalid distance code",ue.mode=he;break}ue.offset=Rr,ue.extra=jr&15,ue.mode=_e;case _e:if(ue.extra){for(Ue=ue.extra;yr<Ue;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}ue.offset+=nr&(1<<ue.extra)-1,nr>>>=ue.extra,yr-=ue.extra,ue.back+=ue.extra}if(ue.offset>ue.dmax){at.msg="invalid distance too far back",ue.mode=he;break}ue.mode=Te;case Te:if(mt===0)break e;if(ur=_r-mt,ue.offset>ur){if(ur=ue.offset-ur,ur>ue.whave&&ue.sane){at.msg="invalid distance too far back",ue.mode=he;break}ur>ue.wnext?(ur-=ue.wnext,zt=ue.wsize-ur):zt=ue.wnext-ur,ur>ue.length&&(ur=ue.length),bt=ue.window}else bt=rt,zt=Xt-ue.offset,ur=ue.length;ur>mt&&(ur=mt),mt-=ur,ue.length-=ur;do rt[Xt++]=bt[zt++];while(--ur);ue.length===0&&(ue.mode=we);break;case We:if(mt===0)break e;rt[Xt++]=ue.length,mt--,ue.mode=we;break;case Ae:if(ue.wrap){for(;yr<32;){if(pr===0)break e;pr--,nr|=Dt[ye++]<<yr,yr+=8}if(_r-=mt,at.total_out+=_r,ue.total+=_r,_r&&(at.adler=ue.check=ue.flags?(0,p.default)(ue.check,rt,_r,Xt-_r):(0,E.default)(ue.check,rt,_r,Xt-_r)),_r=mt,(ue.flags?nr:fe(nr))!==ue.check){at.msg="incorrect data check",ue.mode=he;break}nr=0,yr=0}ue.mode=je;case je:if(ue.wrap&&ue.flags){for(;yr<32;){if(pr===0)break e;pr--,nr+=Dt[ye++]<<yr,yr+=8}if(nr!==(ue.total&4294967295)){at.msg="incorrect length check",ue.mode=he;break}nr=0,yr=0}ue.mode=ee;case ee:lt=u;break e;case he:lt=A;break e;case Ze:return w;case oe:default:return g}return at.next_out=Xt,at.avail_out=mt,at.next_in=ye,at.avail_in=pr,ue.hold=nr,ue.bits=yr,(ue.wsize||_r!==at.avail_out&&ue.mode<he&&(ue.mode<Ae||Ce!==r))&&nt(at,at.output,at.next_out,_r-at.avail_out)?(ue.mode=Ze,w):(gn-=at.avail_in,_r-=at.avail_out,at.total_in+=gn,at.total_out+=_r,ue.total+=_r,ue.wrap&&_r&&(at.adler=ue.check=ue.flags?(0,p.default)(ue.check,rt,_r,at.next_out-_r):(0,E.default)(ue.check,rt,_r,at.next_out-_r)),at.data_type=ue.bits+(ue.last?64:0)+(ue.mode===B?128:0)+(ue.mode===ne||ue.mode===X?256:0),(gn===0&&_r===0||Ce===r)&<===o&&(lt=x),lt)}function Bt(at){if(!at||!at.state)return g;var Ce=at.state;return Ce.window&&(Ce.window=null),at.state=null,o}function Pt(at,Ce){var ue;return!at||!at.state?g:(ue=at.state,(ue.wrap&2)===0?g:(ue.head=Ce,Ce.done=!1,o))}function jt(at,Ce){var ue=Ce.length,Dt,rt,ye;return!at||!at.state?g:(Dt=at.state,Dt.wrap!==0&&Dt.mode!==Z?g:Dt.mode===Z&&(rt=1,rt=(0,E.default)(rt,Ce,ue,0),rt!==Dt.check)?A:(ye=nt(at,Ce,ue,ue),ye?(Dt.mode=Ze,w):(Dt.havedict=1,o)))}var er="pako inflate (from Nodeca project)";R.inflateInfo=er},ePAk:function(U,R,i){var y=i("ProS");i("2fGM");var m=y.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(E){var p,v=this.ecModel;return v.eachComponent(E,function(f){f.getCoordSysModel()===this&&(p=f)},this),p},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});U.exports=m},eRkO:function(U,R,i){var y=i("+TT/"),m=y.getLayoutRect,E=y.box,p=y.positionElement,v=i("7aKB"),f=i("IwbS");function d(n,t,a){var s=t.getBoxLayoutParams(),r=t.get("padding"),c={width:a.getWidth(),height:a.getHeight()},e=m(s,c,r);E(t.get("orient"),n,t.get("itemGap"),e.width,e.height),p(n,s,c,r)}function l(n,t){var a=v.normalizeCssArray(t.get("padding")),s=t.getItemStyle(["color","opacity"]);s.fill=t.get("backgroundColor");var n=new f.Rect({shape:{x:n.x-a[3],y:n.y-a[0],width:n.width+a[1]+a[3],height:n.height+a[0]+a[2],r:t.get("borderRadius")},style:s,silent:!0,z2:-1});return n}R.layout=d,R.makeBackground=l},eS4l:function(U,R,i){i("HM/N"),i("FNN5")},eUgh:function(U,R){function i(y,m){for(var E=-1,p=y==null?0:y.length,v=Array(p);++E<p;)v[E]=m(y[E],E,y);return v}U.exports=i},ewwo:function(U,R,i){var y=i("bMXI"),m=i("+TT/"),E=m.getLayoutRect,p=i("4mN7");function v(d,l,n){var t=d.getBoxLayoutParams();return t.aspect=n,E(t,{width:l.getWidth(),height:l.getHeight()})}function f(d,l){var n=[];return d.eachSeriesByType("graph",function(t){var a=t.get("coordinateSystem");if(!a||a==="view"){var s=t.getData(),r=s.mapArray(function(C){var T=s.getItemModel(C);return[+T.get("x"),+T.get("y")]}),c=[],e=[];p.fromPoints(r,c,e),e[0]-c[0]===0&&(e[0]+=1,c[0]-=1),e[1]-c[1]===0&&(e[1]+=1,c[1]-=1);var o=(e[0]-c[0])/(e[1]-c[1]),u=v(t,l,o);isNaN(o)&&(c=[u.x,u.y],e=[u.x+u.width,u.y+u.height]);var h=e[0]-c[0],g=e[1]-c[1],A=u.width,w=u.height,x=t.coordinateSystem=new y;x.zoomLimit=t.get("scaleLimit"),x.setBoundingRect(c[0],c[1],h,g),x.setViewRect(u.x,u.y,A,w),x.setCenter(t.get("center")),x.setZoom(t.get("zoom")),n.push(x)}}),n}U.exports=f},f1nB:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("4NO4"),f=i("IwbS"),d=i("+TT/"),l=i("OELB"),n=l.parsePercent,t={path:null,compoundPath:null,group:f.Group,image:f.Image,text:f.Text};E.registerPreprocessor(function(A){var w=A.graphic;p.isArray(w)?!w[0]||!w[0].elements?A.graphic=[{elements:w}]:A.graphic=[A.graphic[0]]:w&&!w.elements&&(A.graphic=[{elements:[w]}])});var a=E.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(A){var w=this.option.elements;this.option.elements=null,a.superApply(this,"mergeOption",arguments),this.option.elements=w},optionUpdated:function(A,w){var x=this.option,C=(w?x:A).elements,T=x.elements=w?[]:x.elements,O=[];this._flatten(C,O);var S=v.mappingToExists(T,O);v.makeIdAndName(S);var _=this._elOptionsToUpdate=[];p.each(S,function(D,F){var j=D.option;if(!j)return;_.push(j),o(D,j),u(T,F,j),h(T[F],j)},this);for(var L=T.length-1;L>=0;L--)T[L]==null?T.splice(L,1):delete T[L].$action},_flatten:function(A,w,x){p.each(A,function(C){if(!C)return;x&&(C.parentOption=x),w.push(C);var T=C.children;C.type==="group"&&T&&this._flatten(T,w,C),delete C.children},this)},useElOptionsToUpdate:function(){var A=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,A}});E.extendComponentView({type:"graphic",init:function(A,w){this._elMap=p.createHashMap(),this._lastGraphicModel},render:function(A,w,x){A!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=A,this._updateElements(A),this._relocate(A,x)},_updateElements:function(A){var w=A.useElOptionsToUpdate();if(!w)return;var x=this._elMap,C=this.group;p.each(w,function(T){var O=T.$action,S=T.id,_=x.get(S),L=T.parentId,D=L!=null?x.get(L):C,F=T.style;T.type==="text"&&F&&(T.hv&&T.hv[1]&&(F.textVerticalAlign=F.textBaseline=null),!F.hasOwnProperty("textFill")&&F.fill&&(F.textFill=F.fill),!F.hasOwnProperty("textStroke")&&F.stroke&&(F.textStroke=F.stroke));var j=c(T);!O||O==="merge"?_?_.attr(j):s(S,D,j,x):O==="replace"?(r(_,x),s(S,D,j,x)):O==="remove"&&r(_,x);var k=x.get(S);k&&(k.__ecGraphicWidthOption=T.width,k.__ecGraphicHeightOption=T.height,g(k,A,T))})},_relocate:function(A,w){for(var x=A.option.elements,C=this.group,T=this._elMap,O=w.getWidth(),S=w.getHeight(),_=0;_<x.length;_++){var L=x[_],D=T.get(L.id);if(!D||!D.isGroup)continue;var F=D.parent,j=F===C;D.__ecGraphicWidth=n(D.__ecGraphicWidthOption,j?O:F.__ecGraphicWidth)||0,D.__ecGraphicHeight=n(D.__ecGraphicHeightOption,j?S:F.__ecGraphicHeight)||0}for(var _=x.length-1;_>=0;_--){var L=x[_],D=T.get(L.id);if(!D)continue;var F=D.parent,k=F===C?{width:O,height:S}:{width:F.__ecGraphicWidth,height:F.__ecGraphicHeight};d.positionElement(D,L,k,null,{hv:L.hv,boundingMode:L.bounding})}},_clear:function(){var A=this._elMap;A.each(function(w){r(w,A)}),this._elMap=p.createHashMap()},dispose:function(){this._clear()}});function s(A,w,x,C){var T=x.type,O=t.hasOwnProperty(T)?t[T]:f.getShapeClass(T),S=new O(x);w.add(S),C.set(A,S),S.__ecGraphicId=A}function r(A,w){var x=A&&A.parent;x&&(A.type==="group"&&A.traverse(function(C){r(C,w)}),w.removeKey(A.__ecGraphicId),x.remove(A))}function c(A){return A=p.extend({},A),p.each(["id","parentId","$action","hv","bounding"].concat(d.LOCATION_PARAMS),function(w){delete A[w]}),A}function e(A,w){var x;return p.each(w,function(C){A[C]!=null&&A[C]!=="auto"&&(x=!0)}),x}function o(A,w){var x=A.exist;if(w.id=A.keyInfo.id,!w.type&&x&&(w.type=x.type),w.parentId==null){var C=w.parentOption;C?w.parentId=C.id:x&&(w.parentId=x.parentId)}w.parentOption=null}function u(A,w,x){var C=p.extend({},x),T=A[w],O=x.$action||"merge";O==="merge"?T?(p.merge(T,C,!0),d.mergeLayoutParam(T,C,{ignoreSize:!0}),d.copyLayoutParams(x,T)):A[w]=C:O==="replace"?A[w]=C:O==="remove"&&(T&&(A[w]=null))}function h(A,w){if(!A)return;A.hv=w.hv=[e(w,["left","right"]),e(w,["top","bottom"])],A.type==="group"&&(A.width==null&&(A.width=w.width=0),A.height==null&&(A.height=w.height=0))}function g(A,w,x){var C=A.eventData;!A.silent&&!A.ignore&&!C&&(C=A.eventData={componentType:"graphic",componentIndex:w.componentIndex,name:A.name}),C&&(C.info=A.info)}},f3JH:function(U,R,i){i("aTJb"),i("OlYY"),i("fc+c"),i("oY9F"),i("MqEG"),i("LBfv"),i("noeP")},f5HG:function(U,R,i){var y=i("IwbS"),m=i("QBsz"),E=y.Line.prototype,p=y.BezierCurve.prototype;function v(d){return isNaN(+d.cpx1)||isNaN(+d.cpy1)}var f=y.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(d,l){this[v(l)?"_buildPathLine":"_buildPathCurve"](d,l)},_buildPathLine:E.buildPath,_buildPathCurve:p.buildPath,pointAt:function(d){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](d)},_pointAtLine:E.pointAt,_pointAtCurve:p.pointAt,tangentAt:function(d){var l=this.shape,n=v(l)?[l.x2-l.x1,l.y2-l.y1]:this._tangentAtCurve(d);return m.normalize(n,n)},_tangentAtCurve:p.tangentAt});U.exports=f},f5Yq:function(U,R,i){var y=i("bYtY"),m=y.isFunction;function E(p,v,f){return{seriesType:p,performRawSeries:!0,reset:function(d,l,n){var t=d.getData(),a=d.get("symbol"),s=d.get("symbolSize"),r=d.get("symbolKeepAspect"),c=d.get("symbolRotate"),e=m(a),o=m(s),u=m(c),h=e||o||u,g=!e&&a?a:v,A=o?null:s,w=u?null:w;if(t.setVisual({legendSymbol:f||g,symbol:g,symbolSize:A,symbolKeepAspect:r,symbolRotate:c}),l.isSeriesFiltered(d))return;function x(C,T){if(h){var O=d.getRawValue(T),S=d.getDataParams(T);e&&C.setItemVisual(T,"symbol",a(O,S)),o&&C.setItemVisual(T,"symbolSize",s(O,S)),u&&C.setItemVisual(T,"symbolRotate",c(O,S))}if(C.hasItemOption){var _=C.getItemModel(T),L=_.getShallow("symbol",!0),D=_.getShallow("symbolSize",!0),F=_.getShallow("symbolRotate",!0),j=_.getShallow("symbolKeepAspect",!0);L!=null&&C.setItemVisual(T,"symbol",L),D!=null&&C.setItemVisual(T,"symbolSize",D),F!=null&&C.setItemVisual(T,"symbolRotate",F),j!=null&&C.setItemVisual(T,"symbolKeepAspect",j)}}return{dataEach:t.hasItemOption||h?x:null}}}}U.exports=E},fAei:function(U,R,i){"use strict";i.d(R,"a",function(){return A.a});var y=i("rePB"),m=i("VTBJ"),E=i("KQm4"),p=i("1OyB"),v=i("vuIU"),f=i("Ji7U"),d=i("LK+K"),l=i("q1tI"),n=i("4IlW"),t=i("Kwbf"),a=i("TSYQ"),s=i.n(a),r=i("sboe"),c=i("OZM5"),e=i("815F"),o=i("ODXe"),u=i("Ff2n"),h=i("+nKL"),g=i("8XRh"),A=i("WaYH"),w=function(ne,we){var ie=ne.className,me=ne.style,_e=ne.motion,Te=ne.motionNodes,We=ne.motionType,Ae=ne.onMotionStart,je=ne.onMotionEnd,ee=ne.active,he=ne.treeNodeRequiredProps,Ze=Object(u.a)(ne,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),oe=l.useState(!0),Q=Object(o.a)(oe,2),G=Q[0],te=Q[1],xe=l.useContext(r.a),fe=xe.prefixCls,Be=l.useRef(!1),Ne=function(){Be.current||je(),Be.current=!0};return Object(l.useEffect)(function(){Te&&We==="hide"&&G&&te(!1)},[Te]),Object(l.useEffect)(function(){return Te&&Ae(),function(){Te&&Ne()}},[]),Te?l.createElement(g.default,Object.assign({ref:we,visible:G},_e,{motionAppear:We==="show",onAppearEnd:Ne,onLeaveEnd:Ne}),function(de,ve){var Me=de.className,qe=de.style;return l.createElement("div",{ref:ve,className:s()("".concat(fe,"-treenode-motion"),Me),style:qe},Te.map(function(gt){var ht=gt.data,Pe=ht.key,It=Object(u.a)(ht,["key"]),nt=gt.isStart,Nt=gt.isEnd;delete It.children;var Bt=Object(e.f)(Pe,he);return l.createElement(A.a,Object.assign({},It,Bt,{active:ee,data:gt.data,key:Pe,isStart:nt,isEnd:Nt}))}))}):l.createElement(A.a,Object.assign({domRef:we,className:ie,style:me},Ze,{active:ee}))};w.displayName="MotionTreeNode";var x=l.forwardRef(w),C=x;function T(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],we=re.length,ie=ne.length;if(Math.abs(we-ie)!==1)return{add:!1,key:null};function me(_e,Te){var We=new Map;_e.forEach(function(je){We.set(je,!0)});var Ae=Te.filter(function(je){return!We.has(je)});return Ae.length===1?Ae[0]:null}return we<ie?{add:!0,key:me(re,ne)}:{add:!1,key:me(ne,re)}}function O(re,ne,we){var ie=re.findIndex(function(We){var Ae=We.data;return Ae.key===we}),me=re[ie+1],_e=ne.findIndex(function(We){var Ae=We.data;return Ae.key===we});if(me){var Te=ne.findIndex(function(We){var Ae=We.data;return Ae.key===me.data.key});return ne.slice(_e+1,Te)}return ne.slice(_e+1)}var S={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},_=function(){},L="RC_TREE_MOTION_".concat(Math.random()),D={key:L},F={key:L,level:0,index:0,pos:"0",node:D},j={parent:null,children:[],pos:F.pos,data:D,isStart:[],isEnd:[]};function k(re,ne,we,ie){return ne===!1||!we?re:re.slice(0,Math.ceil(we/ie)+1)}function K(re){var ne=re.data.key,we=re.pos;return Object(e.e)(ne,we)}function Z(re){for(var ne=String(re.data.key),we=re;we.parent;)we=we.parent,ne="".concat(we.data.key," > ").concat(ne);return ne}var B=function(ne,we){var ie=ne.prefixCls,me=ne.data,_e=ne.selectable,Te=ne.checkable,We=ne.expandedKeys,Ae=ne.selectedKeys,je=ne.checkedKeys,ee=ne.loadedKeys,he=ne.loadingKeys,Ze=ne.halfCheckedKeys,oe=ne.keyEntities,Q=ne.disabled,G=ne.dragging,te=ne.dragOverNodeKey,xe=ne.dropPosition,fe=ne.motion,Be=ne.height,Ne=ne.itemHeight,de=ne.virtual,ve=ne.focusable,Me=ne.activeItem,qe=ne.focused,gt=ne.tabIndex,ht=ne.onKeyDown,Pe=ne.onFocus,It=ne.onBlur,nt=ne.onActiveChange,Nt=ne.onListChangeStart,Bt=ne.onListChangeEnd,Pt=Object(u.a)(ne,["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"]),jt=l.useRef(null);l.useImperativeHandle(we,function(){return{scrollTo:function(di){jt.current.scrollTo(di)}}});var er=l.useState(We),at=Object(o.a)(er,2),Ce=at[0],ue=at[1],Dt=l.useState(me),rt=Object(o.a)(Dt,2),ye=rt[0],Xt=rt[1],pr=l.useState(me),mt=Object(o.a)(pr,2),nr=mt[0],yr=mt[1],gn=l.useState([]),_r=Object(o.a)(gn,2),ur=_r[0],zt=_r[1],bt=l.useState(null),ot=Object(o.a)(bt,2),lr=ot[0],jr=ot[1];function Rr(){Xt(me),yr(me),zt([]),jr(null),Bt()}l.useEffect(function(){ue(We);var bn=T(Ce,We);if(bn.key!==null)if(bn.add){var di=ye.findIndex(function(ft){var ir=ft.data.key;return ir===bn.key}),lt=k(O(ye,me,bn.key),de,Be,Ne),ct=ye.slice();ct.splice(di+1,0,j),yr(ct),zt(lt),jr("show")}else{var Le=me.findIndex(function(ft){var ir=ft.data.key;return ir===bn.key}),Ue=k(O(me,ye,bn.key),de,Be,Ne),Ye=me.slice();Ye.splice(Le+1,0,j),yr(Ye),zt(Ue),jr("hide")}else ye!==me&&(Xt(me),yr(me))},[We,me]),l.useEffect(function(){G||Rr()},[G]);var xr=fe?nr:me,Vn={expandedKeys:We,selectedKeys:Ae,loadedKeys:ee,loadingKeys:he,checkedKeys:je,halfCheckedKeys:Ze,dragOverNodeKey:te,dropPosition:xe,keyEntities:oe};return l.createElement(l.Fragment,null,qe&&Me&&l.createElement("span",{style:S,"aria-live":"assertive"},Z(Me)),l.createElement("div",{role:"tree"},l.createElement("input",{style:S,disabled:ve===!1||Q,tabIndex:ve!==!1?gt:null,onKeyDown:ht,onFocus:Pe,onBlur:It,value:"",onChange:_})),l.createElement(h.a,Object.assign({},Pt,{data:xr,itemKey:K,height:Be,fullHeight:!1,virtual:de,itemHeight:Ne,prefixCls:"".concat(ie,"-list"),ref:jt}),function(bn){var di=bn.pos,lt=bn.data,ct=lt.key,Le=Object(u.a)(lt,["key"]),Ue=bn.isStart,Ye=bn.isEnd,ft=Object(e.e)(ct,di);delete Le.children;var ir=Object(e.f)(ft,Vn);return l.createElement(C,Object.assign({},Le,ir,{active:Me&&ct===Me.data.key,pos:di,data:bn.data,isStart:Ue,isEnd:Ye,motion:fe,motionNodes:ct===L?ur:null,motionType:lr,onMotionStart:Nt,onMotionEnd:Rr,treeNodeRequiredProps:Vn,onMouseMove:function(){nt(null)}}))}))},V=l.forwardRef(B);V.displayName="NodeList";var z=V,X=i("NvD2"),W=function(re){Object(f.a)(we,re);var ne=Object(d.a)(we);function we(){var ie;return Object(p.a)(this,we),ie=ne.apply(this,arguments),ie.destroyed=!1,ie.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},ie.listRef=l.createRef(),ie.onNodeDragStart=function(me,_e){var Te=ie.state,We=Te.expandedKeys,Ae=Te.keyEntities,je=ie.props.onDragStart,ee=_e.props.eventKey;ie.dragNode=_e;var he=Object(c.b)(We,ee);ie.setState({dragging:!0,dragNodesKeys:Object(c.g)(ee,Ae)}),ie.setExpandedKeys(he),je&&je({event:me,node:Object(e.b)(_e.props)})},ie.onNodeDragEnter=function(me,_e){var Te=ie.state,We=Te.expandedKeys,Ae=Te.keyEntities,je=Te.dragNodesKeys,ee=ie.props.onDragEnter,he=_e.props,Ze=he.pos,oe=he.eventKey;if(!ie.dragNode||je.indexOf(oe)!==-1)return;var Q=Object(c.c)(me,_e);if(ie.dragNode.props.eventKey===oe&&Q===0){ie.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){ie.setState({dragOverNodeKey:oe,dropPosition:Q}),ie.delayedDragEnterLogic||(ie.delayedDragEnterLogic={}),Object.keys(ie.delayedDragEnterLogic).forEach(function(G){clearTimeout(ie.delayedDragEnterLogic[G])}),ie.delayedDragEnterLogic[Ze]=window.setTimeout(function(){if(!ie.state.dragging)return;var G=Object(E.a)(We),te=Ae[oe];te&&(te.children||[]).length&&(G=Object(c.a)(We,oe)),"expandedKeys"in ie.props||ie.setExpandedKeys(G),ee&&ee({event:me,node:Object(e.b)(_e.props),expandedKeys:G})},400)},0)},ie.onNodeDragOver=function(me,_e){var Te=ie.state.dragNodesKeys,We=ie.props.onDragOver,Ae=_e.props.eventKey;if(Te.indexOf(Ae)!==-1)return;if(ie.dragNode&&Ae===ie.state.dragOverNodeKey){var je=Object(c.c)(me,_e);if(je===ie.state.dropPosition)return;ie.setState({dropPosition:je})}We&&We({event:me,node:Object(e.b)(_e.props)})},ie.onNodeDragLeave=function(me,_e){var Te=ie.props.onDragLeave;ie.setState({dragOverNodeKey:""}),Te&&Te({event:me,node:Object(e.b)(_e.props)})},ie.onNodeDragEnd=function(me,_e){var Te=ie.props.onDragEnd;ie.setState({dragOverNodeKey:""}),ie.cleanDragState(),Te&&Te({event:me,node:Object(e.b)(_e.props)}),ie.dragNode=null},ie.onNodeDrop=function(me,_e){var Te=ie.state,We=Te.dragNodesKeys,Ae=We===void 0?[]:We,je=Te.dropPosition,ee=ie.props.onDrop,he=_e.props,Ze=he.eventKey,oe=he.pos;if(ie.setState({dragOverNodeKey:""}),ie.cleanDragState(),Ae.indexOf(Ze)!==-1){Object(t.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Q=Object(c.k)(oe),G={event:me,node:Object(e.b)(_e.props),dragNode:ie.dragNode?Object(e.b)(ie.dragNode.props):null,dragNodesKeys:Ae.slice(),dropPosition:je+Number(Q[Q.length-1]),dropToGap:!1};je!==0&&(G.dropToGap=!0),ee&&ee(G),ie.dragNode=null},ie.cleanDragState=function(){var me=ie.state.dragging;me&&ie.setState({dragging:!1})},ie.onNodeClick=function(me,_e){var Te=ie.props.onClick;Te&&Te(me,_e)},ie.onNodeDoubleClick=function(me,_e){var Te=ie.props.onDoubleClick;Te&&Te(me,_e)},ie.onNodeSelect=function(me,_e){var Te=ie.state.selectedKeys,We=ie.state.keyEntities,Ae=ie.props,je=Ae.onSelect,ee=Ae.multiple,he=_e.selected,Ze=_e.key,oe=!he;oe?ee?Te=Object(c.a)(Te,Ze):Te=[Ze]:Te=Object(c.b)(Te,Ze);var Q=Te.map(function(G){var te=We[G];return te?te.node:null}).filter(function(G){return G});ie.setUncontrolledState({selectedKeys:Te}),je&&je(Te,{event:"select",selected:oe,node:_e,selectedNodes:Q,nativeEvent:me.nativeEvent})},ie.onNodeCheck=function(me,_e,Te){var We=ie.state,Ae=We.keyEntities,je=We.checkedKeys,ee=We.halfCheckedKeys,he=ie.props,Ze=he.checkStrictly,oe=he.onCheck,Q=_e.key,G,te={event:"check",node:_e,checked:Te,nativeEvent:me.nativeEvent};if(Ze){var xe=Te?Object(c.a)(je,Q):Object(c.b)(je,Q),fe=Object(c.b)(ee,Q);G={checked:xe,halfChecked:fe},te.checkedNodes=xe.map(function(qe){return Ae[qe]}).filter(function(qe){return qe}).map(function(qe){return qe.node}),ie.setUncontrolledState({checkedKeys:xe})}else{var Be=Object(X.a)([].concat(Object(E.a)(je),[Q]),!0,Ae),Ne=Be.checkedKeys,de=Be.halfCheckedKeys;if(!Te){var ve=new Set(Ne);ve.delete(Q);var Me=Object(X.a)(Array.from(ve),{checked:!1,halfCheckedKeys:de},Ae);Ne=Me.checkedKeys,de=Me.halfCheckedKeys}G=Ne,te.checkedNodes=[],te.checkedNodesPositions=[],te.halfCheckedKeys=de,Ne.forEach(function(qe){var gt=Ae[qe];if(!gt)return;var ht=gt.node,Pe=gt.pos;te.checkedNodes.push(ht),te.checkedNodesPositions.push({node:ht,pos:Pe})}),ie.setUncontrolledState({checkedKeys:Ne},!1,{halfCheckedKeys:de})}oe&&oe(G,te)},ie.onNodeLoad=function(me){return new Promise(function(_e){ie.setState(function(Te){var We=Te.loadedKeys,Ae=We===void 0?[]:We,je=Te.loadingKeys,ee=je===void 0?[]:je,he=ie.props,Ze=he.loadData,oe=he.onLoad,Q=me.key;if(!Ze||Ae.indexOf(Q)!==-1||ee.indexOf(Q)!==-1)return{};var G=Ze(me);return G.then(function(){var te=ie.state,xe=te.loadedKeys,fe=te.loadingKeys,Be=Object(c.a)(xe,Q),Ne=Object(c.b)(fe,Q);oe&&oe(Be,{event:"load",node:me}),ie.setUncontrolledState({loadedKeys:Be}),ie.setState({loadingKeys:Ne}),_e()}),{loadingKeys:Object(c.a)(ee,Q)}})})},ie.onNodeMouseEnter=function(me,_e){var Te=ie.props.onMouseEnter;Te&&Te({event:me,node:_e})},ie.onNodeMouseLeave=function(me,_e){var Te=ie.props.onMouseLeave;Te&&Te({event:me,node:_e})},ie.onNodeContextMenu=function(me,_e){var Te=ie.props.onRightClick;Te&&(me.preventDefault(),Te({event:me,node:_e}))},ie.onFocus=function(){var me=ie.props.onFocus;ie.setState({focused:!0}),me&&me.apply(void 0,arguments)},ie.onBlur=function(){var me=ie.props.onBlur;ie.setState({focused:!1}),ie.onActiveChange(null),me&&me.apply(void 0,arguments)},ie.getTreeNodeRequiredProps=function(){var me=ie.state,_e=me.expandedKeys,Te=me.selectedKeys,We=me.loadedKeys,Ae=me.loadingKeys,je=me.checkedKeys,ee=me.halfCheckedKeys,he=me.dragOverNodeKey,Ze=me.dropPosition,oe=me.keyEntities;return{expandedKeys:_e||[],selectedKeys:Te||[],loadedKeys:We||[],loadingKeys:Ae||[],checkedKeys:je||[],halfCheckedKeys:ee||[],dragOverNodeKey:he,dropPosition:Ze,keyEntities:oe}},ie.setExpandedKeys=function(me){var _e=ie.state.treeData,Te=Object(e.d)(_e,me);ie.setUncontrolledState({expandedKeys:me,flattenNodes:Te},!0)},ie.onNodeExpand=function(me,_e){var Te=ie.state.expandedKeys,We=ie.state.listChanging,Ae=ie.props,je=Ae.onExpand,ee=Ae.loadData,he=_e.key,Ze=_e.expanded;if(We)return;var oe=Te.indexOf(he),Q=!Ze;if(Object(t.a)(Ze&&oe!==-1||!Ze&&oe===-1,"Expand state not sync with index check"),Q?Te=Object(c.a)(Te,he):Te=Object(c.b)(Te,he),ie.setExpandedKeys(Te),je&&je(Te,{node:_e,expanded:Q,nativeEvent:me.nativeEvent}),Q&&ee){var G=ie.onNodeLoad(_e);G&&G.then(function(){var te=Object(e.d)(ie.state.treeData,Te);ie.setUncontrolledState({flattenNodes:te})})}},ie.onListChangeStart=function(){ie.setUncontrolledState({listChanging:!0})},ie.onListChangeEnd=function(){setTimeout(function(){ie.setUncontrolledState({listChanging:!1})})},ie.onActiveChange=function(me){var _e=ie.state.activeKey,Te=ie.props.onActiveChange;if(_e===me)return;ie.setState({activeKey:me}),me!==null&&ie.scrollTo({key:me}),Te&&Te(me)},ie.getActiveItem=function(){var me=ie.state,_e=me.activeKey,Te=me.flattenNodes;return _e===null?null:Te.find(function(We){var Ae=We.data.key;return Ae===_e})||null},ie.offsetActiveKey=function(me){var _e=ie.state,Te=_e.flattenNodes,We=_e.activeKey,Ae=Te.findIndex(function(he){var Ze=he.data.key;return Ze===We});Ae===-1&&me<0&&(Ae=Te.length),Ae=(Ae+me+Te.length)%Te.length;var je=Te[Ae];if(je){var ee=je.data.key;ie.onActiveChange(ee)}else ie.onActiveChange(null)},ie.onKeyDown=function(me){var _e=ie.state,Te=_e.activeKey,We=_e.expandedKeys,Ae=_e.checkedKeys,je=ie.props,ee=je.onKeyDown,he=je.checkable,Ze=je.selectable;switch(me.which){case n.a.UP:{ie.offsetActiveKey(-1),me.preventDefault();break}case n.a.DOWN:{ie.offsetActiveKey(1),me.preventDefault();break}}var oe=ie.getActiveItem();if(oe&&oe.data){var Q=ie.getTreeNodeRequiredProps(),G=oe.data.isLeaf===!1||!!(oe.data.children||[]).length,te=Object(e.b)(Object(m.a)(Object(m.a)({},Object(e.f)(Te,Q)),{},{data:oe.data,active:!0}));switch(me.which){case n.a.LEFT:{G&&We.includes(Te)?ie.onNodeExpand({},te):oe.parent&&ie.onActiveChange(oe.parent.data.key),me.preventDefault();break}case n.a.RIGHT:{G&&!We.includes(Te)?ie.onNodeExpand({},te):oe.children&&oe.children.length&&ie.onActiveChange(oe.children[0].data.key),me.preventDefault();break}case n.a.ENTER:case n.a.SPACE:{he&&!te.disabled&&te.checkable!==!1&&!te.disableCheckbox?ie.onNodeCheck({},te,!Ae.includes(Te)):!he&&Ze&&!te.disabled&&te.selectable!==!1&&ie.onNodeSelect({},te);break}}}ee&&ee(me)},ie.setUncontrolledState=function(me){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(ie.destroyed)return;var We=!1,Ae=!0,je={};Object.keys(me).forEach(function(ee){if(ee in ie.props){Ae=!1;return}We=!0,je[ee]=me[ee]}),We&&(!_e||Ae)&&ie.setState(Object(m.a)(Object(m.a)({},je),Te))},ie.scrollTo=function(me){ie.listRef.current.scrollTo(me)},ie}return Object(v.a)(we,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var me,_e=this.state,Te=_e.focused,We=_e.flattenNodes,Ae=_e.keyEntities,je=_e.dragging,ee=_e.activeKey,he=this.props,Ze=he.prefixCls,oe=he.className,Q=he.style,G=he.showLine,te=he.focusable,xe=he.tabIndex,fe=xe===void 0?0:xe,Be=he.selectable,Ne=he.showIcon,de=he.icon,ve=he.switcherIcon,Me=he.draggable,qe=he.checkable,gt=he.checkStrictly,ht=he.disabled,Pe=he.motion,It=he.loadData,nt=he.filterTreeNode,Nt=he.height,Bt=he.itemHeight,Pt=he.virtual,jt=he.titleRender,er=he.onContextMenu,at=Object(c.f)(this.props);return l.createElement(r.a.Provider,{value:{prefixCls:Ze,selectable:Be,showIcon:Ne,icon:de,switcherIcon:ve,draggable:Me,checkable:qe,checkStrictly:gt,disabled:ht,keyEntities:Ae,loadData:It,filterTreeNode:nt,titleRender:jt,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}},l.createElement("div",{className:s()(Ze,oe,(me={},Object(y.a)(me,"".concat(Ze,"-show-line"),G),Object(y.a)(me,"".concat(Ze,"-focused"),Te),Object(y.a)(me,"".concat(Ze,"-active-focused"),ee!==null),me))},l.createElement(z,Object.assign({ref:this.listRef,prefixCls:Ze,style:Q,data:We,disabled:ht,selectable:Be,checkable:!!qe,motion:Pe,dragging:je,height:Nt,itemHeight:Bt,virtual:Pt,focusable:te,focused:Te,tabIndex:fe,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:er},this.getTreeNodeRequiredProps(),at))))}}],[{key:"getDerivedStateFromProps",value:function(me,_e){var Te=_e.prevProps,We={prevProps:me};function Ae(de){return!Te&&de in me||Te&&Te[de]!==me[de]}var je;if(Ae("treeData")?je=me.treeData:Ae("children")&&(Object(t.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),je=Object(e.c)(me.children)),je){We.treeData=je;var ee=Object(e.a)(je);We.keyEntities=Object(m.a)(Object(y.a)({},L,F),ee.keyEntities)}var he=We.keyEntities||_e.keyEntities;if(Ae("expandedKeys")||Te&&Ae("autoExpandParent"))We.expandedKeys=me.autoExpandParent||!Te&&me.defaultExpandParent?Object(c.e)(me.expandedKeys,he):me.expandedKeys;else if(!Te&&me.defaultExpandAll){var Ze=Object(m.a)({},he);delete Ze[L],We.expandedKeys=Object.keys(Ze).map(function(de){return Ze[de].key})}else!Te&&me.defaultExpandedKeys&&(We.expandedKeys=me.autoExpandParent||me.defaultExpandParent?Object(c.e)(me.defaultExpandedKeys,he):me.defaultExpandedKeys);if(We.expandedKeys||delete We.expandedKeys,je||We.expandedKeys){var oe=Object(e.d)(je||_e.treeData,We.expandedKeys||_e.expandedKeys);We.flattenNodes=oe}if(me.selectable&&(Ae("selectedKeys")?We.selectedKeys=Object(c.d)(me.selectedKeys,me):!Te&&me.defaultSelectedKeys&&(We.selectedKeys=Object(c.d)(me.defaultSelectedKeys,me))),me.checkable){var Q;if(Ae("checkedKeys")?Q=Object(c.j)(me.checkedKeys)||{}:!Te&&me.defaultCheckedKeys?Q=Object(c.j)(me.defaultCheckedKeys)||{}:je&&(Q=Object(c.j)(me.checkedKeys)||{checkedKeys:_e.checkedKeys,halfCheckedKeys:_e.halfCheckedKeys}),Q){var G=Q,te=G.checkedKeys,xe=te===void 0?[]:te,fe=G.halfCheckedKeys,Be=fe===void 0?[]:fe;if(!me.checkStrictly){var Ne=Object(X.a)(xe,!0,he);xe=Ne.checkedKeys,Be=Ne.halfCheckedKeys}We.checkedKeys=xe,We.halfCheckedKeys=Be}}return Ae("loadedKeys")&&(We.loadedKeys=me.loadedKeys),We}}]),we}(l.Component);W.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},W.TreeNode=A.a;var q=W,Y=R.b=q},fE02:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("/IIm"),p=i("vZ6x"),v=i("b9oc"),f=i("72pK"),d=i("Kagy"),l=i("IUWy");i("3TkU");var n=d.toolbox.dataZoom,t=m.each,a="\0_ec_\0toolbox-dataZoom_";function s(g,A,w){(this._brushController=new E(w.getZr())).on("brush",m.bind(this._onBrush,this)).mount(),this._isZoomActive}s.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:m.clone(n.title)};var r=s.prototype;r.render=function(g,A,w,x){this.model=g,this.ecModel=A,this.api=w,u(g,A,this,x,w),o(g,A)},r.onclick=function(g,A,w){c[w].call(this)},r.remove=function(g,A){this._brushController.unmount()},r.dispose=function(g,A){this._brushController.dispose()};var c={zoom:function(){var g=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:g})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};r._onBrush=function(g,A){if(!A.isEnd||!g.length)return;var w={},x=this.ecModel;this._brushController.updateCovers([]);var C=new p(e(this.model.option),x,{include:["grid"]});C.matchOutputRanges(g,x,function(S,_,L){if(L.type!=="cartesian2d")return;var D=S.brushType;D==="rect"?(T("x",L,_[0]),T("y",L,_[1])):T({lineX:"x",lineY:"y"}[D],L,_)}),v.push(x,w),this._dispatchZoomAction(w);function T(S,_,L){var D=_.getAxis(S),F=D.model,j=O(S,F,x),k=j.findRepresentativeAxisProxy(F).getMinMaxSpan();(k.minValueSpan!=null||k.maxValueSpan!=null)&&(L=f(0,L.slice(),D.scale.getExtent(),0,k.minValueSpan,k.maxValueSpan)),j&&(w[j.id]={dataZoomId:j.id,startValue:L[0],endValue:L[1]})}function O(S,_,L){var D;return L.eachComponent({mainType:"dataZoom",subType:"select"},function(F){var j=F.getAxisModel(S,_.componentIndex);j&&(D=F)}),D}},r._dispatchZoomAction=function(g){var A=[];t(g,function(w,x){A.push(m.clone(w))}),A.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:A})};function e(g){var A={};return m.each(["xAxisIndex","yAxisIndex"],function(w){A[w]=g[w],A[w]==null&&(A[w]="all"),(A[w]===!1||A[w]==="none")&&(A[w]=[])}),A}function o(g,A){g.setIconStatus("back",v.count(A)>1?"emphasis":"normal")}function u(g,A,w,x,C){var T=w._isZoomActive;x&&x.type==="takeGlobalCursor"&&(T=x.key==="dataZoomSelect"?x.dataZoomSelectActive:!1),w._isZoomActive=T,g.setIconStatus("zoom",T?"emphasis":"normal");var O=new p(e(g.option),A,{include:["grid"]});w._brushController.setPanels(O.makePanelOpts(C,function(S){return S.xAxisDeclared&&!S.yAxisDeclared?"lineX":!S.xAxisDeclared&&S.yAxisDeclared?"lineY":"rect"})).enableBrush(T?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}l.register("dataZoom",s),y.registerPreprocessor(function(g){if(!g)return;var A=g.dataZoom||(g.dataZoom=[]);m.isArray(A)||(g.dataZoom=A=[A]);var w=g.toolbox;if(w&&(m.isArray(w)&&(w=w[0]),w&&w.feature)){var x=w.feature.dataZoom;C("xAxis",x),C("yAxis",x)}function C(O,S){if(!S)return;var _=O+"Index",L=S[_];L!=null&&L!=="all"&&!m.isArray(L)&&(L=L===!1||L==="none"?[]:[L]),T(O,function(D,F){if(L!=null&&L!=="all"&&m.indexOf(L,F)===-1)return;var j={type:"select",$fromToolbox:!0,filterMode:S.filterMode||"filter",id:a+O+F};j[_]=F,A.push(j)})}function T(O,S){var _=g[O];m.isArray(_)||(_=_?[_]:[]),t(_,S)}});var h=s;U.exports=h},fNCr:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("tSko"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},fUL4:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("r+aA"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},fW2E:function(U,R){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function y(m,E,p){return i.hasOwnProperty(E)?p*=m.dpr:p}U.exports=y},"fc+c":function(U,R,i){var y=i("sS/r"),m=y.extend({type:"dataZoom",render:function(E,p,v,f){this.dataZoomModel=E,this.ecModel=p,this.api=v},getTargetCoordInfo:function(){var E=this.dataZoomModel,p=this.ecModel,v={};E.eachTargetAxis(function(d,l){var n=p.getComponent(d.axis,l);if(n){var t=n.getCoordSysModel();t&&f(t,n,v[t.mainType]||(v[t.mainType]=[]),t.componentIndex)}},this);function f(d,l,n,t){for(var a,s=0;s<n.length;s++)if(n[s].model===d){a=n[s];break}a||n.push(a={model:d,axisModels:[],coordIndex:t}),a.axisModels.push(l)}return v}});U.exports=m},fjKi:function(U,R,i){var y=i("ProS");i("Q7if"),i("jndi"),y.registerPreprocessor(function(m){m.markArea=m.markArea||{}})},fls0:function(U,R,i){var y=i("bYtY"),m=i("QBsz"),E=i("oVpE"),p=i("f5HG"),v=i("IwbS"),f=i("OELB"),d=f.round,l=["fromSymbol","toSymbol"];function n(u){return"_"+u+"Type"}function t(u,h,g){var A=h.getItemVisual(g,"color"),w=h.getItemVisual(g,u),x=h.getItemVisual(g,u+"Size");if(!w||w==="none")return;y.isArray(x)||(x=[x,x]);var C=E.createSymbol(w,-x[0]/2,-x[1]/2,x[0],x[1],A);return C.name=u,C}function a(u){var h=new p({name:"line",subPixelOptimize:!0});return s(h.shape,u),h}function s(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 g=h[2];g?(u.cpx1=g[0],u.cpy1=g[1]):(u.cpx1=NaN,u.cpy1=NaN)}function r(){var u=this,h=u.childOfName("fromSymbol"),g=u.childOfName("toSymbol"),A=u.childOfName("label");if(!h&&!g&&A.ignore)return;for(var w=1,x=this.parent;x;)x.scale&&(w/=x.scale[0]),x=x.parent;var C=u.childOfName("line");if(!this.__dirty&&!C.__dirty)return;var T=C.shape.percent,O=C.pointAt(0),S=C.pointAt(T),_=m.sub([],S,O);if(m.normalize(_,_),h){h.attr("position",O);var L=C.tangentAt(0);h.attr("rotation",Math.PI/2-Math.atan2(L[1],L[0])),h.attr("scale",[w*T,w*T])}if(g){g.attr("position",S);var L=C.tangentAt(1);g.attr("rotation",-Math.PI/2-Math.atan2(L[1],L[0])),g.attr("scale",[w*T,w*T])}if(!A.ignore){A.attr("position",S);var D,F,j,k,K=A.__labelDistance,Z=K[0]*w,B=K[1]*w,V=T/2,L=C.tangentAt(V),z=[L[1],-L[0]],X=C.pointAt(V);z[1]>0&&(z[0]=-z[0],z[1]=-z[1]);var W=L[0]<0?-1:1;if(A.__position!=="start"&&A.__position!=="end"){var q=-Math.atan2(L[1],L[0]);S[0]<O[0]&&(q=Math.PI+q),A.attr("rotation",q)}var Y;switch(A.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":Y=-B,j="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":Y=B,j="top";break;default:Y=0,j="middle"}switch(A.__position){case"end":D=[_[0]*Z+S[0],_[1]*B+S[1]],F=_[0]>.8?"left":_[0]<-.8?"right":"center",j=_[1]>.8?"top":_[1]<-.8?"bottom":"middle";break;case"start":D=[-_[0]*Z+O[0],-_[1]*B+O[1]],F=_[0]>.8?"right":_[0]<-.8?"left":"center",j=_[1]>.8?"bottom":_[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":D=[Z*W+O[0],O[1]+Y],F=L[0]<0?"right":"left",k=[-Z*W,-Y];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":D=[X[0],X[1]+Y],F="center",k=[0,-Y];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":D=[-Z*W+S[0],S[1]+Y],F=L[0]>=0?"right":"left",k=[Z*W,-Y];break}A.attr({style:{textVerticalAlign:A.__verticalAlign||j,textAlign:A.__textAlign||F},position:D,scale:[w,w],origin:k})}}function c(u,h,g){v.Group.call(this),this._createLine(u,h,g)}var e=c.prototype;e.beforeUpdate=r,e._createLine=function(u,h,g){var A=u.hostModel,w=u.getItemLayout(h),x=a(w);x.shape.percent=0,v.initProps(x,{shape:{percent:1}},A,h),this.add(x);var C=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(C),y.each(l,function(T){var O=t(T,u,h);this.add(O),this[n(T)]=u.getItemVisual(h,T)},this),this._updateCommonStl(u,h,g)},e.updateData=function(u,h,g){var A=u.hostModel,w=this.childOfName("line"),x=u.getItemLayout(h),C={shape:{}};s(C.shape,x),v.updateProps(w,C,A,h),y.each(l,function(T){var O=u.getItemVisual(h,T),S=n(T);if(this[S]!==O){this.remove(this.childOfName(T));var _=t(T,u,h);this.add(_)}this[S]=O},this),this._updateCommonStl(u,h,g)},e._updateCommonStl=function(u,h,g){var A=u.hostModel,w=this.childOfName("line"),x=g&&g.lineStyle,C=g&&g.hoverLineStyle,T=g&&g.labelModel,O=g&&g.hoverLabelModel;if(!g||u.hasItemOption){var S=u.getItemModel(h);x=S.getModel("lineStyle").getLineStyle(),C=S.getModel("emphasis.lineStyle").getLineStyle(),T=S.getModel("label"),O=S.getModel("emphasis.label")}var _=u.getItemVisual(h,"color"),L=y.retrieve3(u.getItemVisual(h,"opacity"),x.opacity,1);w.useStyle(y.defaults({strokeNoScale:!0,fill:"none",stroke:_,opacity:L},x)),w.hoverStyle=C,y.each(l,function(W){var q=this.childOfName(W);q&&(q.setColor(_),q.setStyle({opacity:L}))},this);var D=T.getShallow("show"),F=O.getShallow("show"),j=this.childOfName("label"),k,K;if((D||F)&&(k=_||"#000",K=A.getFormattedLabel(h,"normal",u.dataType),K==null)){var Z=A.getRawValue(h);K=Z==null?u.getName(h):isFinite(Z)?d(Z):Z}var B=D?K:null,V=F?y.retrieve2(A.getFormattedLabel(h,"emphasis",u.dataType),K):null,z=j.style;if(B!=null||V!=null){v.setTextStyle(j.style,T,{text:B},{autoColor:k}),j.__textAlign=z.textAlign,j.__verticalAlign=z.textVerticalAlign,j.__position=T.get("position")||"middle";var X=T.get("distance");y.isArray(X)||(X=[X,X]),j.__labelDistance=X}V!=null?j.hoverStyle={text:V,textFill:O.getTextColor(!0),fontStyle:O.getShallow("fontStyle"),fontWeight:O.getShallow("fontWeight"),fontSize:O.getShallow("fontSize"),fontFamily:O.getShallow("fontFamily")}:j.hoverStyle={text:null},j.ignore=!D&&!F,v.setHoverStyle(this)},e.highlight=function(){this.trigger("emphasis")},e.downplay=function(){this.trigger("normal")},e.updateLayout=function(u,h){this.setLinePoints(u.getItemLayout(h))},e.setLinePoints=function(u){var h=this.childOfName("line");s(h.shape,u),h.dirty()},y.inherits(c,v.Group);var o=c;U.exports=o},fmMI:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.each,v=E.filter,f=E.map,d=E.isArray,l=E.indexOf,n=E.isObject,t=E.isString,a=E.createHashMap,s=E.assert,r=E.clone,c=E.merge,e=E.extend,o=E.mixin,u=i("4NO4"),h=i("Qxkt"),g=i("bLfw"),A=i("iXHM"),w=i("5Hur"),x=i("D5nY"),C=x.resetSourceDefaulter,T="\0_ec_inner",O=h.extend({init:function(B,V,z,X){z=z||{},this.option=null,this._theme=new h(z),this._optionManager=X},setOption:function(B,V){s(!(T in B),"please use chart.getOption()"),this._optionManager.setOption(B,V),this.resetOption(null)},resetOption:function(B){var V=!1,z=this._optionManager;if(!B||B==="recreate"){var X=z.mountOption(B==="recreate");!this.option||B==="recreate"?L.call(this,X):(this.restoreData(),this.mergeOption(X)),V=!0}if((B==="timeline"||B==="media")&&this.restoreData(),!B||B==="recreate"||B==="timeline"){var W=z.getTimelineOption(this);W&&(this.mergeOption(W),V=!0)}if(!B||B==="recreate"||B==="media"){var q=z.getMediaOption(this,this._api);q.length&&p(q,function(Y){this.mergeOption(Y,V=!0)},this)}return V},mergeOption:function(B){var V=this.option,z=this._componentsMap,X=[];C(this),p(B,function(q,Y){if(q==null)return;g.hasClass(Y)?Y&&X.push(Y):V[Y]=V[Y]==null?r(q):c(V[Y],q,!0)}),g.topologicalTravel(X,g.getAllClassMainTypes(),W,this);function W(q,Y){var re=u.normalizeToArray(B[q]),ne=u.mappingToExists(z.get(q),re);u.makeIdAndName(ne),p(ne,function(ie,me){var _e=ie.option;n(_e)&&(ie.keyInfo.mainType=q,ie.keyInfo.subType=F(q,_e,ie.exist))});var we=D(z,Y);V[q]=[],z.set(q,[]),p(ne,function(ie,me){var _e=ie.exist,Te=ie.option;if(s(n(Te)||_e,"Empty component definition"),!Te)_e.mergeOption({},this),_e.optionUpdated({},!1);else{var We=g.getClass(q,ie.keyInfo.subType,!0);if(_e&&_e.constructor===We)_e.name=ie.keyInfo.name,_e.mergeOption(Te,this),_e.optionUpdated(Te,!1);else{var Ae=e({dependentModels:we,componentIndex:me},ie.keyInfo);_e=new We(Te,this,this,Ae),e(_e,Ae),_e.init(Te,this,this,Ae),_e.optionUpdated(null,!0)}}z.get(q)[me]=_e,V[q][me]=_e.option},this),q==="series"&&j(this,z.get("series"))}this._seriesIndicesMap=a(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var B=r(this.option);return p(B,function(V,z){if(g.hasClass(z)){for(var V=u.normalizeToArray(V),X=V.length-1;X>=0;X--)u.isIdInner(V[X])&&V.splice(X,1);B[z]=V}}),delete B[T],B},getTheme:function(){return this._theme},getComponent:function(B,V){var z=this._componentsMap.get(B);if(z)return z[V||0]},queryComponents:function(B){var V=B.mainType;if(!V)return[];var z=B.index,X=B.id,W=B.name,q=this._componentsMap.get(V);if(!q||!q.length)return[];var Y;if(z!=null)d(z)||(z=[z]),Y=v(f(z,function(we){return q[we]}),function(we){return!!we});else if(X!=null){var re=d(X);Y=v(q,function(we){return re&&l(X,we.id)>=0||!re&&we.id===X})}else if(W!=null){var ne=d(W);Y=v(q,function(we){return ne&&l(W,we.name)>=0||!ne&&we.name===W})}else Y=q.slice();return k(Y,B)},findComponents:function(B){var V=B.query,z=B.mainType,X=q(V),W=X?this.queryComponents(X):this._componentsMap.get(z);return Y(k(W,B));function q(re){var ne=z+"Index",we=z+"Id",ie=z+"Name";return re&&(re[ne]!=null||re[we]!=null||re[ie]!=null)?{mainType:z,index:re[ne],id:re[we],name:re[ie]}:null}function Y(re){return B.filter?v(re,B.filter):re}},eachComponent:function(B,V,z){var X=this._componentsMap;if(typeof B=="function")z=V,V=B,X.each(function(q,Y){p(q,function(re,ne){V.call(z,Y,re,ne)})});else if(t(B))p(X.get(B),V,z);else if(n(B)){var W=this.findComponents(B);p(W,V,z)}},getSeriesByName:function(B){var V=this._componentsMap.get("series");return v(V,function(z){return z.name===B})},getSeriesByIndex:function(B){return this._componentsMap.get("series")[B]},getSeriesByType:function(B){var V=this._componentsMap.get("series");return v(V,function(z){return z.subType===B})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(B,V){K(this),p(this._seriesIndices,function(z){var X=this._componentsMap.get("series")[z];B.call(V,X,z)},this)},eachRawSeries:function(B,V){p(this._componentsMap.get("series"),B,V)},eachSeriesByType:function(B,V,z){K(this),p(this._seriesIndices,function(X){var W=this._componentsMap.get("series")[X];W.subType===B&&V.call(z,W,X)},this)},eachRawSeriesByType:function(B,V,z){return p(this.getSeriesByType(B),V,z)},isSeriesFiltered:function(B){return K(this),this._seriesIndicesMap.get(B.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(B,V){K(this);var z=v(this._componentsMap.get("series"),B,V);j(this,z)},restoreData:function(B){var V=this._componentsMap;j(this,V.get("series"));var z=[];V.each(function(X,W){z.push(W)}),g.topologicalTravel(z,g.getAllClassMainTypes(),function(X,W){p(V.get(X),function(q){(X!=="series"||!S(q,B))&&q.restoreData()})})}});function S(B,V){if(V){var z=V.seiresIndex,X=V.seriesId,W=V.seriesName;return z!=null&&B.componentIndex!==z||X!=null&&B.id!==X||W!=null&&B.name!==W}}function _(B,V){var z=B.color&&!B.colorLayer;p(V,function(X,W){if(W==="colorLayer"&&z)return;g.hasClass(W)||(typeof X=="object"?B[W]=B[W]?c(B[W],X,!1):r(X):B[W]==null&&(B[W]=X))})}function L(B){B=B,this.option={},this.option[T]=1,this._componentsMap=a({series:[]}),this._seriesIndices,this._seriesIndicesMap,_(B,this._theme.option),c(B,A,!1),this.mergeOption(B)}function D(B,V){d(V)||(V=V?[V]:[]);var z={};return p(V,function(X){z[X]=(B.get(X)||[]).slice()}),z}function F(B,V,z){var X=V.type?V.type:z?z.subType:g.determineSubType(B,V);return X}function j(B,V){B._seriesIndicesMap=a(B._seriesIndices=f(V,function(z){return z.componentIndex})||[])}function k(B,V){return V.hasOwnProperty("subType")?v(B,function(z){return z.subType===V.subType}):B}function K(B){}o(O,w);var Z=O;U.exports=Z},fu2T:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("3dVZ"),p=i.n(E)},fyUT:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("Ff2n"),t=i("rePB"),a=i("1OyB"),s=i("vuIU"),r=i("Ji7U"),c=i("md7G"),e=i("foSv"),o=i("4IlW");function u(Y,re){var ne=Object.keys(Y);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(Y);re&&(we=we.filter(function(ie){return Object.getOwnPropertyDescriptor(Y,ie).enumerable})),ne.push.apply(ne,we)}return ne}function h(Y){for(var re=1;re<arguments.length;re++){var ne=arguments[re]!=null?arguments[re]:{};re%2?u(Object(ne),!0).forEach(function(we){Object(t.a)(Y,we,ne[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(ne)):u(Object(ne)).forEach(function(we){Object.defineProperty(Y,we,Object.getOwnPropertyDescriptor(ne,we))})}return Y}function g(Y){var re=A();return function(){var we=Object(e.a)(Y),ie;if(re){var me=Object(e.a)(this).constructor;ie=Reflect.construct(we,arguments,me)}else ie=we.apply(this,arguments);return Object(c.a)(this,ie)}}function A(){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(Y){return!1}}function w(){}function x(Y){Y.preventDefault()}var C=function(re){return re.replace(/[^\w.-]+/g,"")},T=200,O=600,S=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,_=function(re){return re!=null},L=function(re,ne){return ne===re||typeof ne=="number"&&typeof re=="number"&&isNaN(ne)&&isNaN(re)},D=function(Y){Object(r.a)(ne,Y);var re=g(ne);function ne(we){var ie;Object(a.a)(this,ne),ie=re.call(this,we),ie.onKeyDown=function(Te){var We=ie.props,Ae=We.onKeyDown,je=We.onPressEnter;if(Te.keyCode===o.a.UP){var ee=ie.getRatio(Te);ie.up(Te,ee,null),ie.stop()}else if(Te.keyCode===o.a.DOWN){var he=ie.getRatio(Te);ie.down(Te,he,null),ie.stop()}else Te.keyCode===o.a.ENTER&&je&&je(Te);if(ie.recordCursorPosition(),ie.lastKeyCode=Te.keyCode,Ae){for(var Ze=arguments.length,oe=new Array(Ze>1?Ze-1:0),Q=1;Q<Ze;Q++)oe[Q-1]=arguments[Q];Ae.apply(void 0,[Te].concat(oe))}},ie.onKeyUp=function(Te){var We=ie.props.onKeyUp;if(ie.stop(),ie.recordCursorPosition(),We){for(var Ae=arguments.length,je=new Array(Ae>1?Ae-1:0),ee=1;ee<Ae;ee++)je[ee-1]=arguments[ee];We.apply(void 0,[Te].concat(je))}},ie.onChange=function(Te){var We=ie.props.onChange;ie.state.focused&&(ie.inputting=!0),ie.rawInput=ie.props.parser(ie.getValueFromEvent(Te)),ie.setState({inputValue:ie.rawInput}),We(ie.toNumber(ie.rawInput))},ie.onMouseUp=function(){var Te=ie.props.onMouseUp;ie.recordCursorPosition(),Te&&Te.apply(void 0,arguments)},ie.onFocus=function(){var Te;ie.setState({focused:!0}),(Te=ie.props).onFocus.apply(Te,arguments)},ie.onBlur=function(){var Te=ie.props.onBlur;ie.inputting=!1,ie.setState({focused:!1});var We=ie.getCurrentValidValue(ie.state.inputValue),Ae=ie.setValue(We,w);if(Te){var je=ie.input.value,ee=ie.getInputDisplayValue({focus:!1,value:Ae});ie.input.value=ee&&Number(ee),Te.apply(void 0,arguments),ie.input.value=je}},ie.getRatio=function(Te){var We=1;return Te.metaKey||Te.ctrlKey?We=.1:Te.shiftKey&&(We=10),We},ie.getFullNum=function(Te){return isNaN(Te)?Te:/e/i.test(String(Te))?Number(Te).toFixed(18).replace(/\.?0+$/,""):Te},ie.getPrecision=function(Te){if(_(ie.props.precision))return ie.props.precision;var We=String(Te);if(We.indexOf("e-")>=0)return parseInt(We.slice(We.indexOf("e-")+2),10);var Ae=0;return We.indexOf(".")>=0&&(Ae=We.length-We.indexOf(".")-1),Ae},ie.getInputDisplayValue=function(Te){var We=Te||ie.state,Ae=We.focused,je=We.inputValue,ee=We.value,he;Ae?he=je:he=ie.toPrecisionAsStep(ee),he==null&&(he="");var Ze=ie.formatWrapper(he);return _(ie.props.decimalSeparator)&&(Ze=Ze.toString().replace(".",ie.props.decimalSeparator)),Ze},ie.recordCursorPosition=function(){try{ie.cursorStart=ie.input.selectionStart,ie.cursorEnd=ie.input.selectionEnd,ie.currentValue=ie.input.value,ie.cursorBefore=ie.input.value.substring(0,ie.cursorStart),ie.cursorAfter=ie.input.value.substring(ie.cursorEnd)}catch(Te){}},ie.restoreByAfter=function(Te){if(Te===void 0)return!1;var We=ie.input.value,Ae=We.lastIndexOf(Te);if(Ae===-1)return!1;var je=ie.cursorBefore.length;return ie.lastKeyCode===o.a.DELETE&&ie.cursorBefore.charAt(je-1)===Te[0]?(ie.fixCaret(je,je),!0):Ae+Te.length===We.length?(ie.fixCaret(Ae,Ae),!0):!1},ie.partRestoreByAfter=function(Te){return Te===void 0?!1:Array.prototype.some.call(Te,function(We,Ae){var je=Te.substring(Ae);return ie.restoreByAfter(je)})},ie.isNotCompleteNumber=function(Te){return isNaN(Te)||Te===""||Te===null||Te&&Te.toString().indexOf(".")===Te.toString().length-1},ie.stop=function(){ie.autoStepTimer&&clearTimeout(ie.autoStepTimer)},ie.down=function(Te,We,Ae){ie.pressingUpOrDown=!0,ie.step("down",Te,We,Ae)},ie.up=function(Te,We,Ae){ie.pressingUpOrDown=!0,ie.step("up",Te,We,Ae)},ie.saveInput=function(Te){ie.input=Te};var me=we.value;me===void 0&&(me=we.defaultValue),ie.state={focused:we.autoFocus};var _e=ie.getValidValue(ie.toNumber(me));return ie.state=h(h({},ie.state),{},{inputValue:ie.toPrecisionAsStep(_e),value:_e}),ie}return Object(s.a)(ne,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(ie){var me=this.props,_e=me.value,Te=me.onChange,We=me.max,Ae=me.min,je=this.state.focused;if(ie){if(!L(ie.value,_e)||!L(ie.max,We)||!L(ie.min,Ae)){var ee=je?_e:this.getValidValue(_e),he;this.pressingUpOrDown?he=ee:this.inputting?he=this.rawInput:he=this.toPrecisionAsStep(ee),this.setState({value:ee,inputValue:he})}var Ze="value"in this.props?_e:this.state.value;"max"in this.props&&ie.max!==We&&typeof Ze=="number"&&Ze>We&&Te&&Te(We),"min"in this.props&&ie.min!==Ae&&typeof Ze=="number"&&Ze<Ae&&Te&&Te(Ae)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var oe=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===o.a.BACKSPACE?oe=this.cursorStart-1:this.lastKeyCode===o.a.DELETE&&(oe=this.cursorStart):oe=this.input.value.length,this.fixCaret(oe,oe)}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(Q){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(ie){var me=ie;return me===""?me="":this.isNotCompleteNumber(parseFloat(me))?me=this.state.value:me=this.getValidValue(me),this.toNumber(me)}},{key:"getValueFromEvent",value:function(ie){var me=ie.target.value.trim().replace(/。/g,".");return _(this.props.decimalSeparator)&&(me=me.replace(this.props.decimalSeparator,".")),me}},{key:"getValidValue",value:function(ie){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,_e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,Te=parseFloat(ie);return isNaN(Te)?ie:(Te<me&&(Te=me),Te>_e&&(Te=_e),Te)}},{key:"setValue",value:function(ie,me){var _e=this.props.precision,Te=this.isNotCompleteNumber(parseFloat(ie))?null:parseFloat(ie),We=this.state.value,Ae=We===void 0?null:We,je=this.state.inputValue,ee=je===void 0?null:je,he=typeof Te=="number"?Te.toFixed(_e):"".concat(Te),Ze=Te!==Ae||he!=="".concat(ee);return"value"in this.props?(ee=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:ee},me)):this.setState({value:Te,inputValue:this.toPrecisionAsStep(ie)},me),Ze&&this.props.onChange(Te),Te}},{key:"getMaxPrecision",value:function(ie){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,_e=this.props,Te=_e.precision,We=_e.step;if(_(Te))return Te;var Ae=this.getPrecision(me),je=this.getPrecision(We),ee=this.getPrecision(ie);return ie?Math.max(ee,Ae+je):Ae+je}},{key:"getPrecisionFactor",value:function(ie){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,_e=this.getMaxPrecision(ie,me);return Math.pow(10,_e)}},{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(ie){return this.props.formatter?this.props.formatter(ie):ie}},{key:"toPrecisionAsStep",value:function(ie){if(this.isNotCompleteNumber(ie)||ie==="")return ie;var me=Math.abs(this.getMaxPrecision(ie));return isNaN(me)?ie.toString():Number(ie).toFixed(me)}},{key:"toNumber",value:function(ie){var me=this.props.precision,_e=this.state.focused,Te=ie&&ie.length>16&&_e;return this.isNotCompleteNumber(ie)||Te?ie:_(me)?Math.round(ie*Math.pow(10,me))/Math.pow(10,me):Number(ie)}},{key:"upStep",value:function(ie,me){var _e=this.props.step,Te=this.getPrecisionFactor(ie,me),We=Math.abs(this.getMaxPrecision(ie,me)),Ae=((Te*ie+Te*_e*me)/Te).toFixed(We);return this.toNumber(Ae)}},{key:"downStep",value:function(ie,me){var _e=this.props.step,Te=this.getPrecisionFactor(ie,me),We=Math.abs(this.getMaxPrecision(ie,me)),Ae=((Te*ie-Te*_e*me)/Te).toFixed(We);return this.toNumber(Ae)}},{key:"step",value:function(ie,me){var _e=this,Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,We=arguments.length>3?arguments[3]:void 0;this.stop(),me&&(me.persist(),me.preventDefault());var Ae=this.props;if(Ae.disabled)return;var je=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(je))return;var ee=this["".concat(ie,"Step")](je,Te),he=ee>Ae.max||ee<Ae.min;if(ee>Ae.max?ee=Ae.max:ee<Ae.min&&(ee=Ae.min),this.setValue(ee,null),this.setState({focused:!0},function(){_e.pressingUpOrDown=!1}),he)return;this.autoStepTimer=setTimeout(function(){_e[ie](me,Te,!0)},We?T:O)}},{key:"fixCaret",value:function(ie,me){if(ie===void 0||me===void 0||!this.input||!this.input.value)return;try{var _e=this.input.selectionStart,Te=this.input.selectionEnd;(ie!==_e||me!==Te)&&this.input.setSelectionRange(ie,me)}catch(We){}}},{key:"render",value:function(){var ie,me=this.props,_e=me.prefixCls,Te=me.disabled,We=me.readOnly,Ae=me.useTouch,je=me.autoComplete,ee=me.upHandler,he=me.downHandler,Ze=me.className,oe=me.max,Q=me.min,G=me.style,te=me.title,xe=me.onMouseEnter,fe=me.onMouseLeave,Be=me.onMouseOver,Ne=me.onMouseOut,de=me.required,ve=me.onClick,Me=me.tabIndex,qe=me.type,gt=me.placeholder,ht=me.id,Pe=me.inputMode,It=me.pattern,nt=me.step,Nt=me.maxLength,Bt=me.autoFocus,Pt=me.name,jt=me.onPaste,er=me.onInput,at=Object(n.a)(me,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste","onInput"]),Ce=this.state,ue=Ce.value,Dt=Ce.focused,rt=l()(_e,(ie={},Object(t.a)(ie,Ze,!!Ze),Object(t.a)(ie,"".concat(_e,"-disabled"),Te),Object(t.a)(ie,"".concat(_e,"-focused"),Dt),ie)),ye={};Object.keys(at).forEach(function(ot){(ot.substr(0,5)==="data-"||ot.substr(0,5)==="aria-"||ot==="role")&&(ye[ot]=at[ot])});var Xt=!We&&!Te,pr=this.getInputDisplayValue(null),mt=(ue||ue===0)&&(isNaN(ue)||Number(ue)>=oe),nr=(ue||ue===0)&&(isNaN(ue)||Number(ue)<=Q),yr=mt||Te||We,gn=nr||Te||We,_r=l()("".concat(_e,"-handler"),"".concat(_e,"-handler-up"),Object(t.a)({},"".concat(_e,"-handler-up-disabled"),yr)),ur=l()("".concat(_e,"-handler"),"".concat(_e,"-handler-down"),Object(t.a)({},"".concat(_e,"-handler-down-disabled"),gn)),zt=Ae?{onTouchStart:yr?w:this.up,onTouchEnd:this.stop}:{onMouseDown:yr?w:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},bt=Ae?{onTouchStart:gn?w:this.down,onTouchEnd:this.stop}:{onMouseDown:gn?w:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return f.a.createElement("div",{className:rt,style:G,title:te,onMouseEnter:xe,onMouseLeave:fe,onMouseOver:Be,onMouseOut:Ne,onFocus:function(){return null},onBlur:function(){return null}},f.a.createElement("div",{className:"".concat(_e,"-handler-wrap")},f.a.createElement("span",Object.assign({unselectable:"on"},zt,{role:"button","aria-label":"Increase Value","aria-disabled":yr,className:_r}),ee||f.a.createElement("span",{unselectable:"on",className:"".concat(_e,"-handler-up-inner"),onClick:x})),f.a.createElement("span",Object.assign({unselectable:"on"},bt,{role:"button","aria-label":"Decrease Value","aria-disabled":gn,className:ur}),he||f.a.createElement("span",{unselectable:"on",className:"".concat(_e,"-handler-down-inner"),onClick:x}))),f.a.createElement("div",{className:"".concat(_e,"-input-wrap")},f.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":Q,"aria-valuemax":oe,"aria-valuenow":ue,required:de,type:qe,placeholder:gt,onPaste:jt,onClick:ve,onMouseUp:this.onMouseUp,className:"".concat(_e,"-input"),tabIndex:Me,autoComplete:je,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:Xt?this.onKeyDown:w,onKeyUp:Xt?this.onKeyUp:w,autoFocus:Bt,maxLength:Nt,readOnly:We,disabled:Te,max:oe,min:Q,step:nt,name:Pt,title:te,id:ht,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(pr),pattern:It,inputMode:Pe,onInput:er},ye))))}}]),ne}(f.a.Component);D.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:S,min:-S,step:1,style:{},onChange:w,onKeyDown:w,onPressEnter:w,onFocus:w,onBlur:w,parser:C,required:!1,autoComplete:"off"};var F=D,j=F,k=i("FH2Y"),K=i.n(k),Z=i("HQEm"),B=i.n(Z),V=i("H84U"),z=i("3Nzz"),X=function(Y,re){var ne={};for(var we in Y)Object.prototype.hasOwnProperty.call(Y,we)&&re.indexOf(we)<0&&(ne[we]=Y[we]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,we=Object.getOwnPropertySymbols(Y);ie<we.length;ie++)re.indexOf(we[ie])<0&&Object.prototype.propertyIsEnumerable.call(Y,we[ie])&&(ne[we[ie]]=Y[we[ie]]);return ne},W=v.forwardRef(function(Y,re){var ne=function(ie){var me=ie.getPrefixCls,_e=ie.direction,Te=Y.className,We=Y.size,Ae=Y.prefixCls,je=Y.readOnly,ee=X(Y,["className","size","prefixCls","readOnly"]),he=me("input-number",Ae),Ze=v.createElement(K.a,{className:"".concat(he,"-handler-up-inner")}),oe=v.createElement(B.a,{className:"".concat(he,"-handler-down-inner")});return v.createElement(z.b.Consumer,null,function(Q){var G,te=We||Q,xe=l()((G={},p()(G,"".concat(he,"-lg"),te==="large"),p()(G,"".concat(he,"-sm"),te==="small"),p()(G,"".concat(he,"-rtl"),_e==="rtl"),p()(G,"".concat(he,"-readonly"),je),G),Te);return v.createElement(j,m()({ref:re,className:xe,upHandler:Ze,downHandler:oe,prefixCls:he,readOnly:je},ee))})};return v.createElement(V.a,null,ne)});W.defaultProps={step:1};var q=R.a=W},g0SD:function(U,R,i){var y=i("bYtY"),m=i("9wZj"),E=i("OELB"),p=i("YXkt"),v=i("kj2x"),f=i("iPDy");function d(t,a,s){var r=a.coordinateSystem;t.each(function(c){var e=t.getItemModel(c),o,u=E.parsePercent(e.get("x"),s.getWidth()),h=E.parsePercent(e.get("y"),s.getHeight());if(!isNaN(u)&&!isNaN(h))o=[u,h];else if(a.getMarkerPosition)o=a.getMarkerPosition(t.getValues(t.dimensions,c));else if(r){var g=t.get(r.dimensions[0],c),A=t.get(r.dimensions[1],c);o=r.dataToPoint([g,A])}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h),t.setItemLayout(c,o)})}var l=f.extend({type:"markPoint",updateTransform:function(t,a,s){a.eachSeries(function(r){var c=r.markPointModel;c&&(d(c.getData(),r,s),this.markerGroupMap.get(r.id).updateLayout(c))},this)},renderSeries:function(t,a,s,r){var c=t.coordinateSystem,e=t.id,o=t.getData(),u=this.markerGroupMap,h=u.get(e)||u.set(e,new m),g=n(c,t,a);a.setData(g),d(a.getData(),t,r),g.each(function(A){var w=g.getItemModel(A),x=w.getShallow("symbol"),C=w.getShallow("symbolSize"),T=y.isFunction(x),O=y.isFunction(C);if(T||O){var S=a.getRawValue(A),_=a.getDataParams(A);T&&(x=x(S,_)),O&&(C=C(S,_))}g.setItemVisual(A,{symbol:x,symbolSize:C,color:w.get("itemStyle.color")||o.getVisual("color")})}),h.updateData(g),this.group.add(h.group),g.eachItemGraphicEl(function(A){A.traverse(function(w){w.dataModel=a})}),h.__keep=!0,h.group.silent=a.get("silent")||t.get("silent")}});function n(t,a,s){var r;t?r=y.map(t&&t.dimensions,function(o){var u=a.getData().getDimensionInfo(a.getData().mapDimension(o))||{};return y.defaults({name:o},u)}):r=[{name:"value",type:"float"}];var c=new p(r,s),e=y.map(s.get("data"),y.curry(v.dataTransform,a));return t&&(e=y.filter(e,y.curry(v.dataFilter,t))),c.initData(e,null,t?v.dimValueGetter:function(o){return o.value}),c}U.exports=l},g7p0:function(U,R,i){var y=i("bYtY"),m=i("bLfw"),E=i("+TT/"),p=E.getLayoutParams,v=E.sizeCalculable,f=E.mergeLayoutParam,d=m.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(t,a,s,r){var c=p(t);d.superApply(this,"init",arguments),l(t,c)},mergeOption:function(t,a){d.superApply(this,"mergeOption",arguments),l(this.option,t)}});function l(t,a){var s=t.cellSize;y.isArray(s)?s.length===1&&(s[1]=s[0]):s=t.cellSize=[s,s];var r=y.map([0,1],function(c){return v(a,c)&&(s[c]="auto"),s[c]!=null&&s[c]!=="auto"});f(t,a,{type:"box",ignoreSize:r})}var n=d;U.exports=n},g9YV:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("pED+"),p=i.n(E),v=i("+L6B"),f=i("R9oj"),d=i("7Kak"),l=i("sRBo"),n=i("qVdP"),t=i("T2oS"),a=i("DjyN"),s=i("5Dmo")},gIYZ:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y={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"};R.default=y},gK9i:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("Gytx"),t=i.n(n),a=i("Zm9Q"),s=function(){function G(te,xe){for(var fe=0;fe<xe.length;fe++){var Be=xe[fe];Be.enumerable=Be.enumerable||!1,Be.configurable=!0,"value"in Be&&(Be.writable=!0),Object.defineProperty(te,Be.key,Be)}}return function(te,xe,fe){return xe&&G(te.prototype,xe),fe&&G(te,fe),te}}();function r(G,te,xe){return te in G?Object.defineProperty(G,te,{value:xe,enumerable:!0,configurable:!0,writable:!0}):G[te]=xe,G}function c(G,te){if(!(G instanceof te))throw new TypeError("Cannot call a class as a function")}function e(G,te){if(!G)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te&&(typeof te=="object"||typeof te=="function")?te:G}function o(G,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof te);G.prototype=Object.create(te&&te.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),te&&(Object.setPrototypeOf?Object.setPrototypeOf(G,te):G.__proto__=te)}var u=function(G){o(te,G);function te(){return c(this,te),e(this,(te.__proto__||Object.getPrototypeOf(te)).apply(this,arguments))}return s(te,[{key:"shouldComponentUpdate",value:function(fe){return this.props.forceRender||!t()(this.props,fe)}},{key:"render",value:function(){var fe;if(this._isActived=this.props.forceRender||this._isActived||this.props.isActive,!this._isActived)return null;var Be=this.props,Ne=Be.prefixCls,de=Be.isActive,ve=Be.children,Me=Be.destroyInactivePanel,qe=Be.forceRender,gt=Be.role,ht=l()(Ne+"-content",(fe={},r(fe,Ne+"-content-active",de),r(fe,Ne+"-content-inactive",!de),fe)),Pe=!qe&&!de&&Me?null:f.a.createElement("div",{className:Ne+"-content-box"},ve);return f.a.createElement("div",{className:ht,role:gt},Pe)}}]),te}(v.Component),h=u,g=i("MFj2"),A=function(){function G(te,xe){for(var fe=0;fe<xe.length;fe++){var Be=xe[fe];Be.enumerable=Be.enumerable||!1,Be.configurable=!0,"value"in Be&&(Be.writable=!0),Object.defineProperty(te,Be.key,Be)}}return function(te,xe,fe){return xe&&G(te.prototype,xe),fe&&G(te,fe),te}}();function w(G,te,xe){return te in G?Object.defineProperty(G,te,{value:xe,enumerable:!0,configurable:!0,writable:!0}):G[te]=xe,G}function x(G,te){if(!(G instanceof te))throw new TypeError("Cannot call a class as a function")}function C(G,te){if(!G)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te&&(typeof te=="object"||typeof te=="function")?te:G}function T(G,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof te);G.prototype=Object.create(te&&te.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),te&&(Object.setPrototypeOf?Object.setPrototypeOf(G,te):G.__proto__=te)}var O=function(G){T(te,G);function te(){var xe,fe,Be,Ne;x(this,te);for(var de=arguments.length,ve=Array(de),Me=0;Me<de;Me++)ve[Me]=arguments[Me];return Ne=(fe=(Be=C(this,(xe=te.__proto__||Object.getPrototypeOf(te)).call.apply(xe,[this].concat(ve))),Be),Be.handleItemClick=function(){var qe=Be.props,gt=qe.onItemClick,ht=qe.panelKey;typeof gt=="function"&>(ht)},Be.handleKeyPress=function(qe){(qe.key==="Enter"||qe.keyCode===13||qe.which===13)&&Be.handleItemClick()},fe),C(Be,Ne)}return A(te,[{key:"shouldComponentUpdate",value:function(fe){return!t()(this.props,fe)}},{key:"render",value:function(){var fe,Be=this.props,Ne=Be.className,de=Be.id,ve=Be.style,Me=Be.prefixCls,qe=Be.header,gt=Be.headerClass,ht=Be.children,Pe=Be.isActive,It=Be.showArrow,nt=Be.destroyInactivePanel,Nt=Be.disabled,Bt=Be.accordion,Pt=Be.forceRender,jt=Be.expandIcon,er=Be.extra,at=l()(Me+"-header",w({},gt,gt)),Ce=l()((fe={},w(fe,Me+"-item",!0),w(fe,Me+"-item-active",Pe),w(fe,Me+"-item-disabled",Nt),fe),Ne),ue=f.a.createElement("i",{className:"arrow"});return It&&typeof jt=="function"&&(ue=jt(this.props)),f.a.createElement("div",{className:Ce,style:ve,id:de},f.a.createElement("div",{className:at,onClick:this.handleItemClick,role:Bt?"tab":"button",tabIndex:Nt?-1:0,"aria-expanded":""+Pe,onKeyPress:this.handleKeyPress},It&&ue,qe,er&&f.a.createElement("div",{className:Me+"-extra"},er)),f.a.createElement(g.a,{showProp:"isActive",exclusive:!0,component:"",animation:this.props.openAnimation},f.a.createElement(h,{prefixCls:Me,isActive:Pe,destroyInactivePanel:nt,forceRender:Pt,role:Bt?"tabpanel":null},ht)))}}]),te}(v.Component);O.defaultProps={showArrow:!0,isActive:!1,destroyInactivePanel:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var S=O,_=i("UwPn");function L(G,te,xe,fe){var Be=void 0;return Object(_.a)(G,xe,{start:function(){te?(Be=G.offsetHeight,G.style.height=0):G.style.height=G.offsetHeight+"px"},active:function(){G.style.height=(te?Be:0)+"px"},end:function(){G.style.height="",fe()}})}function D(G){return{enter:function(xe,fe){return L(xe,!0,G+"-anim",fe)},leave:function(xe,fe){return L(xe,!1,G+"-anim",fe)}}}var F=D,j=function(){function G(te,xe){for(var fe=0;fe<xe.length;fe++){var Be=xe[fe];Be.enumerable=Be.enumerable||!1,Be.configurable=!0,"value"in Be&&(Be.writable=!0),Object.defineProperty(te,Be.key,Be)}}return function(te,xe,fe){return xe&&G(te.prototype,xe),fe&&G(te,fe),te}}();function k(G){if(Array.isArray(G)){for(var te=0,xe=Array(G.length);te<G.length;te++)xe[te]=G[te];return xe}else return Array.from(G)}function K(G,te,xe){return te in G?Object.defineProperty(G,te,{value:xe,enumerable:!0,configurable:!0,writable:!0}):G[te]=xe,G}function Z(G,te){if(!(G instanceof te))throw new TypeError("Cannot call a class as a function")}function B(G,te){if(!G)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te&&(typeof te=="object"||typeof te=="function")?te:G}function V(G,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof te);G.prototype=Object.create(te&&te.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),te&&(Object.setPrototypeOf?Object.setPrototypeOf(G,te):G.__proto__=te)}function z(G){var te=G;return Array.isArray(te)||(te=te?[te]:[]),te.map(function(xe){return String(xe)})}var X=function(G){V(te,G);function te(xe){Z(this,te);var fe=B(this,(te.__proto__||Object.getPrototypeOf(te)).call(this,xe));W.call(fe);var Be=xe.activeKey,Ne=xe.defaultActiveKey,de=Ne;return"activeKey"in xe&&(de=Be),fe.state={openAnimation:xe.openAnimation||F(xe.prefixCls),activeKey:z(de)},fe}return j(te,[{key:"shouldComponentUpdate",value:function(fe,Be){return!t()(this.props,fe)||!t()(this.state,Be)}},{key:"render",value:function(){var fe,Be=this.props,Ne=Be.prefixCls,de=Be.className,ve=Be.style,Me=Be.accordion,qe=l()((fe={},K(fe,Ne,!0),K(fe,de,!!de),fe));return f.a.createElement("div",{className:qe,style:ve,role:Me?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(fe){var Be={};return"activeKey"in fe&&(Be.activeKey=z(fe.activeKey)),"openAnimation"in fe&&(Be.openAnimation=fe.openAnimation),Be.activeKey||Be.openAnimation?Be:null}}]),te}(v.Component),W=function(){var te=this;this.onClickItem=function(xe){var fe=te.state.activeKey;if(te.props.accordion)fe=fe[0]===xe?[]:[xe];else{fe=[].concat(k(fe));var Be=fe.indexOf(xe),Ne=Be>-1;Ne?fe.splice(Be,1):fe.push(xe)}te.setActiveKey(fe)},this.getNewChild=function(xe,fe){if(!xe)return null;var Be=te.state.activeKey,Ne=te.props,de=Ne.prefixCls,ve=Ne.accordion,Me=Ne.destroyInactivePanel,qe=Ne.expandIcon,gt=xe.key||String(fe),ht=xe.props,Pe=ht.header,It=ht.headerClass,nt=ht.disabled,Nt=!1;ve?Nt=Be[0]===gt:Nt=Be.indexOf(gt)>-1;var Bt={key:gt,panelKey:gt,header:Pe,headerClass:It,isActive:Nt,prefixCls:de,destroyInactivePanel:Me,openAnimation:te.state.openAnimation,accordion:ve,children:xe.props.children,onItemClick:nt?null:te.onClickItem,expandIcon:qe};return typeof xe.type=="string"?xe:f.a.cloneElement(xe,Bt)},this.getItems=function(){var xe=te.props.children;return Object(a.a)(xe).map(te.getNewChild)},this.setActiveKey=function(xe){"activeKey"in te.props||te.setState({activeKey:xe}),te.props.onChange(te.props.accordion?xe[0]:xe)}};X.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},X.Panel=S;var q=X,Y=q,re=q.Panel,ne=i("fEPi"),we=i.n(ne),ie=i("H84U"),me=function(te){var xe=v.useContext(ie.b),fe=xe.getPrefixCls,Be=te.prefixCls,Ne=te.className,de=Ne===void 0?"":Ne,ve=te.showArrow,Me=ve===void 0?!0:ve,qe=fe("collapse",Be),gt=l()(p()({},"".concat(qe,"-no-arrow"),!Me),de);return v.createElement(Y.Panel,m()({},te,{prefixCls:qe,className:gt}))},_e=me,Te=i("xEkU"),We=i.n(Te);function Ae(G,te,xe){var fe,Be;return Object(_.a)(G,"ant-motion-collapse-legacy",{start:function(){te?(fe=G.offsetHeight,G.style.height="0px",G.style.opacity="0"):(G.style.height="".concat(G.offsetHeight,"px"),G.style.opacity="1")},active:function(){Be&&We.a.cancel(Be),Be=We()(function(){G.style.height="".concat(te?fe:0,"px"),G.style.opacity=te?"1":"0"})},end:function(){Be&&We.a.cancel(Be),G.style.height="",G.style.opacity="",xe()}})}var je={enter:function(te,xe){return Ae(te,!0,xe)},leave:function(te,xe){return Ae(te,!1,xe)},appear:function(te,xe){return Ae(te,!0,xe)}},ee=je,he=i("0n0R"),Ze=function(te){var xe,fe=v.useContext(ie.b),Be=fe.getPrefixCls,Ne=fe.direction,de=te.prefixCls,ve=te.className,Me=ve===void 0?"":ve,qe=te.bordered,gt=te.ghost,ht=Be("collapse",de),Pe=function(){var jt=te.expandIconPosition;return jt!==void 0?jt:Ne==="rtl"?"right":"left"},It=function(){var jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},er=te.expandIcon,at=er?er(jt):v.createElement(we.a,{rotate:jt.isActive?90:void 0});return Object(he.a)(at,function(){return{className:l()(at.props.className,"".concat(ht,"-arrow"))}})},nt=Pe(),Nt=l()((xe={},p()(xe,"".concat(ht,"-borderless"),!qe),p()(xe,"".concat(ht,"-icon-position-").concat(nt),!0),p()(xe,"".concat(ht,"-rtl"),Ne==="rtl"),p()(xe,"".concat(ht,"-ghost"),!!gt),xe),Me),Bt=m()(m()({},ee),{appear:function(){}});return v.createElement(Y,m()({openAnimation:Bt},te,{expandIcon:function(jt){return It(jt)},prefixCls:ht,className:Nt}))};Ze.Panel=_e,Ze.defaultProps={bordered:!0};var oe=Ze,Q=R.a=oe},gKaM:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},gPAo:function(U,R){function i(p){return p}function y(p,v,f,d,l){this._old=p,this._new=v,this._oldKeyGetter=f||i,this._newKeyGetter=d||i,this.context=l}y.prototype={constructor:y,add:function(p){return this._add=p,this},update:function(p){return this._update=p,this},remove:function(p){return this._remove=p,this},execute:function(){var p=this._old,v=this._new,f={},d={},l=[],n=[],t;for(m(p,f,l,"_oldKeyGetter",this),m(v,d,n,"_newKeyGetter",this),t=0;t<p.length;t++){var a=l[t],s=d[a];if(s!=null){var r=s.length;r?(r===1&&(d[a]=null),s=s.shift()):d[a]=null,this._update&&this._update(s,t)}else this._remove&&this._remove(t)}for(var t=0;t<n.length;t++){var a=n[t];if(d.hasOwnProperty(a)){var s=d[a];if(s==null)continue;if(!s.length)this._add&&this._add(s);else for(var c=0,r=s.length;c<r;c++)this._add&&this._add(s[c])}}}};function m(p,v,f,d,l){for(var n=0;n<p.length;n++){var t="_ec_"+l[d](p[n],n),a=v[t];a==null?(f.push(t),v[t]=n):(a.length||(v[t]=a=[a]),a.push(n))}}var E=y;U.exports=E},gRFJ:function(U,R,i){U.exports=[i("rdUC"),i("ynwM"),i("RELg"),i("DlR+"),i("CrYA"),i("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(U){return U<10?"0"+U:U}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(U){return rx_escapable.lastIndex=0,rx_escapable.test(U)?'"'+U.replace(rx_escapable,function(R){var i=meta[R];return typeof i=="string"?i:"\\u"+("0000"+R.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+U+'"'}function str(U,R){var i,y,m,E,p=gap,v,f=R[U];f&&typeof f=="object"&&typeof f.toJSON=="function"&&(f=f.toJSON(U)),typeof rep=="function"&&(f=rep.call(R,U,f));switch(typeof f){case"string":return quote(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(gap+=indent,v=[],Object.prototype.toString.apply(f)==="[object Array]"){for(E=f.length,i=0;i<E;i+=1)v[i]=str(i,f)||"null";return m=v.length===0?"[]":gap?`[
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"]":"["+v.join(",")+"]",gap=p,m}if(rep&&typeof rep=="object")for(E=rep.length,i=0;i<E;i+=1)typeof rep[i]=="string"&&(y=rep[i],m=str(y,f),m&&v.push(quote(y)+(gap?": ":":")+m));else for(y in f)Object.prototype.hasOwnProperty.call(f,y)&&(m=str(y,f),m&&v.push(quote(y)+(gap?": ":":")+m));return m=v.length===0?"{}":gap?`{
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"}":"{"+v.join(",")+"}",gap=p,m}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(U,R,i){var y;if(gap="",indent="",typeof i=="number")for(y=0;y<i;y+=1)indent+=" ";else typeof i=="string"&&(indent=i);if(rep=R,R&&typeof R!="function"&&(typeof R!="object"||typeof R.length!="number"))throw new Error("JSON.stringify");return str("",{"":U})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(U,R){var i,y,m=U[R];if(m&&typeof m=="object")for(i in m)Object.prototype.hasOwnProperty.call(m,i)&&(y=walk(m,i),y!==void 0?m[i]=y:delete m[i]);return reviver.call(U,R,m)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(U){return"\\u"+("0000"+U.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(U,R,i){var y=i("+TT/"),m=i("bYtY"),E=i("4NO4"),p=E.groupData;function v(L,D,F){L.eachSeriesByType("sankey",function(j){var k=j.get("nodeWidth"),K=j.get("nodeGap"),Z=f(j,D);j.layoutInfo=Z;var B=Z.width,V=Z.height,z=j.getGraph(),X=z.nodes,W=z.edges;l(X);var q=m.filter(X,function(we){return we.getLayout().value===0}),Y=q.length!==0?0:j.get("layoutIterations"),re=j.get("orient"),ne=j.get("nodeAlign");d(X,W,k,K,B,V,Y,re,ne)})}function f(L,D){return y.getLayoutRect(L.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()})}function d(L,D,F,j,k,K,Z,B,V){n(L,D,F,k,K,B,V),c(L,D,K,k,j,Z,B),_(L,B)}function l(L){m.each(L,function(D){var F=O(D.outEdges,T),j=O(D.inEdges,T),k=D.getValue()||0,K=Math.max(F,j,k);D.setLayout({value:K},!0)})}function n(L,D,F,j,k,K,Z){for(var B=[],V=[],z=[],X=[],W=0,q=0,Y=0;Y<D.length;Y++)B[Y]=1;for(Y=0;Y<L.length;Y++)V[Y]=L[Y].inEdges.length,V[Y]===0&&z.push(L[Y]);for(var re=-1;z.length;){for(var ne=0;ne<z.length;ne++){var we=z[ne],ie=we.hostGraph.data.getRawDataItem(we.dataIndex),me=ie.depth!=null&&ie.depth>=0;me&&ie.depth>re&&(re=ie.depth),we.setLayout({depth:me?ie.depth:W},!0),K==="vertical"?we.setLayout({dy:F},!0):we.setLayout({dx:F},!0);for(var _e=0;_e<we.outEdges.length;_e++){var Te=we.outEdges[_e],We=D.indexOf(Te);B[We]=0;var Ae=Te.node2,je=L.indexOf(Ae);--V[je]===0&&X.indexOf(Ae)<0&&X.push(Ae)}}++W,z=X,X=[]}for(Y=0;Y<B.length;Y++)if(B[Y]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var ee=re>W-1?re:W-1;Z&&Z!=="left"&&a(L,Z,K,ee);var q=K==="vertical"?(k-F)/ee:(j-F)/ee;r(L,q,K)}function t(L){var D=L.hostGraph.data.getRawDataItem(L.dataIndex);return D.depth!=null&&D.depth>=0}function a(L,D,F,j){if(D==="right"){for(var k=[],K=L,Z=0;K.length;){for(var B=0;B<K.length;B++){var V=K[B];V.setLayout({skNodeHeight:Z},!0);for(var z=0;z<V.inEdges.length;z++){var X=V.inEdges[z];k.indexOf(X.node1)<0&&k.push(X.node1)}}K=k,k=[],++Z}m.each(L,function(W){t(W)||W.setLayout({depth:Math.max(0,j-W.getLayout().skNodeHeight)},!0)})}else D==="justify"&&s(L,j)}function s(L,D){m.each(L,function(F){!t(F)&&!F.outEdges.length&&F.setLayout({depth:D},!0)})}function r(L,D,F){m.each(L,function(j){var k=j.getLayout().depth*D;F==="vertical"?j.setLayout({y:k},!0):j.setLayout({x:k},!0)})}function c(L,D,F,j,k,K,Z){var B=e(L,Z);o(B,D,F,j,k,Z),u(B,k,F,j,Z);for(var V=1;K>0;K--)V*=.99,h(B,V,Z),u(B,k,F,j,Z),S(B,V,Z),u(B,k,F,j,Z)}function e(L,D){var F=[],j=D==="vertical"?"y":"x",k=p(L,function(K){return K.getLayout()[j]});return k.keys.sort(function(K,Z){return K-Z}),m.each(k.keys,function(K){F.push(k.buckets.get(K))}),F}function o(L,D,F,j,k,K){var Z=Infinity;m.each(L,function(B){var V=B.length,z=0;m.each(B,function(W){z+=W.getLayout().value});var X=K==="vertical"?(j-(V-1)*k)/z:(F-(V-1)*k)/z;X<Z&&(Z=X)}),m.each(L,function(B){m.each(B,function(V,z){var X=V.getLayout().value*Z;K==="vertical"?(V.setLayout({x:z},!0),V.setLayout({dx:X},!0)):(V.setLayout({y:z},!0),V.setLayout({dy:X},!0))})}),m.each(D,function(B){var V=+B.getValue()*Z;B.setLayout({dy:V},!0)})}function u(L,D,F,j,k){var K=k==="vertical"?"x":"y";m.each(L,function(Z){Z.sort(function(ne,we){return ne.getLayout()[K]-we.getLayout()[K]});for(var B,V,z,X=0,W=Z.length,q=k==="vertical"?"dx":"dy",Y=0;Y<W;Y++)V=Z[Y],z=X-V.getLayout()[K],z>0&&(B=V.getLayout()[K]+z,k==="vertical"?V.setLayout({x:B},!0):V.setLayout({y:B},!0)),X=V.getLayout()[K]+V.getLayout()[q]+D;var re=k==="vertical"?j:F;if(z=X-D-re,z>0)for(B=V.getLayout()[K]-z,k==="vertical"?V.setLayout({x:B},!0):V.setLayout({y:B},!0),X=B,Y=W-2;Y>=0;--Y)V=Z[Y],z=V.getLayout()[K]+V.getLayout()[q]+D-X,z>0&&(B=V.getLayout()[K]-z,k==="vertical"?V.setLayout({x:B},!0):V.setLayout({y:B},!0)),X=V.getLayout()[K]})}function h(L,D,F){m.each(L.slice().reverse(),function(j){m.each(j,function(k){if(k.outEdges.length){var K=O(k.outEdges,g,F)/O(k.outEdges,T,F);if(isNaN(K)){var Z=k.outEdges.length;K=Z?O(k.outEdges,A,F)/Z:0}if(F==="vertical"){var B=k.getLayout().x+(K-C(k,F))*D;k.setLayout({x:B},!0)}else{var V=k.getLayout().y+(K-C(k,F))*D;k.setLayout({y:V},!0)}}})})}function g(L,D){return C(L.node2,D)*L.getValue()}function A(L,D){return C(L.node2,D)}function w(L,D){return C(L.node1,D)*L.getValue()}function x(L,D){return C(L.node1,D)}function C(L,D){return D==="vertical"?L.getLayout().x+L.getLayout().dx/2:L.getLayout().y+L.getLayout().dy/2}function T(L){return L.getValue()}function O(L,D,F){for(var j=0,k=L.length,K=-1;++K<k;){var Z=+D.call(L,L[K],F);isNaN(Z)||(j+=Z)}return j}function S(L,D,F){m.each(L,function(j){m.each(j,function(k){if(k.inEdges.length){var K=O(k.inEdges,w,F)/O(k.inEdges,T,F);if(isNaN(K)){var Z=k.inEdges.length;K=Z?O(k.inEdges,x,F)/Z:0}if(F==="vertical"){var B=k.getLayout().x+(K-C(k,F))*D;k.setLayout({x:B},!0)}else{var V=k.getLayout().y+(K-C(k,F))*D;k.setLayout({y:V},!0)}}})})}function _(L,D){var F=D==="vertical"?"x":"y";m.each(L,function(j){j.outEdges.sort(function(k,K){return k.node2.getLayout()[F]-K.node2.getLayout()[F]}),j.inEdges.sort(function(k,K){return k.node1.getLayout()[F]-K.node1.getLayout()[F]})}),m.each(L,function(j){var k=0,K=0;m.each(j.outEdges,function(Z){Z.setLayout({sy:k},!0),k+=Z.getLayout().dy}),m.each(j.inEdges,function(Z){Z.setLayout({ty:K},!0),K+=Z.getLayout().dy})})}U.exports=v},"giR+":function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("QbM5"),p=i.n(E)},gut8:function(U,R){var i={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},y=9;R.ContextCachedBy=i,R.WILL_BE_RESTORED=y},gvm7:function(U,R,i){var y=i("bYtY"),m=i("dqUG");function E(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}E.prototype={constructor:E,_enterable:!0,update:function(){},show:function(v){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(v,f,d){this.el&&this._zr.remove(this.el);for(var l={},n=v,t="{marker",a="|}",s=n.indexOf(t);s>=0;){var r=n.indexOf(a),c=n.substr(s+t.length,r-s-t.length);c.indexOf("sub")>-1?l["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:f[c],textOffset:[3,0]}:l["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:f[c]},n=n.substr(r+1),s=n.indexOf("{marker")}this.el=new m({style:{rich:l,text:v,textLineHeight:20,textBackgroundColor:d.get("backgroundColor"),textBorderRadius:d.get("borderRadius"),textFill:d.get("textStyle.color"),textPadding:d.get("padding")},z:d.get("z")}),this._zr.add(this.el);var e=this;this.el.on("mouseover",function(){e._enterable&&(clearTimeout(e._hideTimeout),e._show=!0),e._inContent=!0}),this.el.on("mouseout",function(){e._enterable&&(e._show&&e.hideLater(e._hideDelay)),e._inContent=!1})},setEnterable:function(v){this._enterable=v},getSize:function(){var v=this.el.getBoundingRect();return[v.width,v.height]},moveTo:function(v,f){this.el&&this.el.attr("position",[v,f])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(v){this._show&&!(this._inContent&&this._enterable)&&(v?(this._hideDelay=v,this._show=!1,this._hideTimeout=setTimeout(y.bind(this.hide,this),v)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var v=this.getSize();return{width:v[0],height:v[1]}}};var p=E;U.exports=p},gwTy:function(U,R,i){},h54F:function(U,R,i){var y=i("ProS"),m=i("YXkt"),E=i("bYtY"),p=i("4NO4"),v=p.defaultEmphasis,f=i("Qxkt"),d=i("7aKB"),l=d.encodeHTML,n=i("I3/A"),t=i("xKMd"),a=y.extendSeriesModel({type:"series.graph",init:function(r){a.superApply(this,"init",arguments);var c=this;function e(){return c._categoriesData}this.legendVisualProvider=new t(e,e),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeOption:function(r){a.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(r){a.superApply(this,"mergeDefaultAndTheme",arguments),v(r,["edgeLabel"],["show"])},getInitialData:function(r,c){var e=r.edges||r.links||[],o=r.data||r.nodes||[],u=this;if(o&&e)return n(o,e,this,!0,h).data;function h(g,A){g.wrapMethod("getItemModel",function(S){var _=u._categoriesModels,L=S.getShallow("category"),D=_[L];return D&&(D.parentModel=S.parentModel,S.parentModel=D),S});var w=u.getModel("edgeLabel"),x=new f({label:w.option},w.parentModel,c),C=u.getModel("emphasis.edgeLabel"),T=new f({emphasis:{label:C.option}},C.parentModel,c);A.wrapMethod("getItemModel",function(S){return S.customizeGetParent(O),S});function O(S){return S=this.parsePath(S),S&&S[0]==="label"?x:S&&S[0]==="emphasis"&&S[1]==="label"?T:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(r,c,e){if(e==="edge"){var o=this.getData(),u=this.getDataParams(r,e),h=o.graph.getEdgeByIndex(r),g=o.getName(h.node1.dataIndex),A=o.getName(h.node2.dataIndex),w=[];return g!=null&&w.push(g),A!=null&&w.push(A),w=l(w.join(" > ")),u.value&&(w+=" : "+l(u.value)),w}else return a.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var r=E.map(this.option.categories||[],function(e){return e.value!=null?e:E.extend({value:0},e)}),c=new m(["value"],this);c.initData(r),this._categoriesData=c,this._categoriesModels=c.mapArray(function(e){return c.getItemModel(e,!0)})},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},isAnimationEnabled:function(){return a.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),s=a;U.exports=s},h7HQ:function(U,R,i){var y=i("y+Vt"),m=i("T6xi"),E=y.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,f){m.buildPath(v,f,!0)}});U.exports=E},h8O9:function(U,R,i){var y=i("bYtY"),m=y.map,E=i("zM3Q"),p=i("7hqr"),v=p.isDimensionStacked;function f(d){return{seriesType:d,plan:E(),reset:function(l){var n=l.getData(),t=l.coordinateSystem,a=l.pipelineContext,s=a.large;if(!t)return;var r=m(t.dimensions,function(u){return n.mapDimension(u)}).slice(0,2),c=r.length,e=n.getCalculationInfo("stackResultDimension");v(n,r[0])&&(r[0]=e),v(n,r[1])&&(r[1]=e);function o(u,h){for(var g=u.end-u.start,A=s&&new Float32Array(g*c),w=u.start,x=0,C=[],T=[];w<u.end;w++){var O;if(c===1){var S=h.get(r[0],w);O=!isNaN(S)&&t.dataToPoint(S,null,T)}else{var S=C[0]=h.get(r[0],w),_=C[1]=h.get(r[1],w);O=!isNaN(S)&&!isNaN(_)&&t.dataToPoint(C,null,T)}s?(A[x++]=O?O[0]:NaN,A[x++]=O?O[1]:NaN):h.setItemLayout(w,O&&O.slice()||[NaN,NaN])}s&&h.setLayout("symbolPoints",A)}return c&&{progress:o}}}}U.exports=f},hD7B:function(U,R,i){var y=i("bYtY"),m=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function E(v){y.each(m,function(f){this[f]=y.bind(v[f],v)},this)}var p=E;U.exports=p},hFmY:function(U,R,i){var y=i("ProS"),m={type:"axisAreaSelect",event:"axisAreaSelected"};y.registerAction(m,function(E,p){p.eachComponent({mainType:"parallelAxis",query:E},function(v){v.axis.model.setActiveIntervals(E.intervals)})}),y.registerAction("parallelAxisExpand",function(E,p){p.eachComponent({mainType:"parallel",query:E},function(v){v.setAxisExpand(E)})})},hJvP:function(U,R,i){var y=i("2dDv"),m=i("IDmD");function E(p,v){var f=[];return p.eachComponent("parallel",function(d,l){var n=new y(d,p,v);n.name="parallel_"+l,n.resize(d,v),d.coordinateSystem=n,n.model=d,f.push(n)}),p.eachSeries(function(d){if(d.get("coordinateSystem")==="parallel"){var l=p.queryComponents({mainType:"parallel",index:d.get("parallelIndex"),id:d.get("parallelId")})[0];d.coordinateSystem=l.coordinateSystem}}),f}m.register("parallel",{create:E})},hM6l:function(U,R,i){var y=i("bYtY"),m=y.each,E=y.map,p=i("OELB"),v=p.linearMap,f=p.getPixelPrecision,d=p.round,l=i("4HMb"),n=l.createAxisTicks,t=l.createAxisLabels,a=l.calculateCategoryInterval,s=[0,1],r=function(u,h,g){this.dim=u,this.scale=h,this._extent=g||[0,0],this.inverse=!1,this.onBand=!1};r.prototype={constructor:r,contain:function(u){var h=this._extent,g=Math.min(h[0],h[1]),A=Math.max(h[0],h[1]);return u>=g&&u<=A},containData:function(u){return this.scale.contain(u)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(u){return f(u||this.scale.getExtent(),this._extent)},setExtent:function(u,h){var g=this._extent;g[0]=u,g[1]=h},dataToCoord:function(u,h){var g=this._extent,A=this.scale;return u=A.normalize(u),this.onBand&&A.type==="ordinal"&&(g=g.slice(),c(g,A.count())),v(u,s,g,h)},coordToData:function(u,h){var g=this._extent,A=this.scale;this.onBand&&A.type==="ordinal"&&(g=g.slice(),c(g,A.count()));var w=v(u,g,s,h);return this.scale.scale(w)},pointToData:function(u,h){},getTicksCoords:function(u){u=u||{};var h=u.tickModel||this.getTickModel(),g=n(this,h),A=g.ticks,w=E(A,function(C){return{coord:this.dataToCoord(C),tickValue:C}},this),x=h.get("alignWithLabel");return e(this,w,x,u.clamp),w},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 g=this.scale.getMinorTicks(h),A=E(g,function(w){return E(w,function(x){return{coord:this.dataToCoord(x),tickValue:x}},this)},this);return A},getViewLabels:function(){return t(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(),g=h[1]-h[0]+(this.onBand?1:0);g===0&&(g=1);var A=Math.abs(u[1]-u[0]);return Math.abs(A)/g},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return a(this)}};function c(u,h){var g=u[1]-u[0],A=h,w=g/A/2;u[0]+=w,u[1]-=w}function e(u,h,g,A){var w=h.length;if(!u.onBand||g||!w)return;var x=u.getExtent(),C,T;if(w===1)h[0].coord=x[0],C=h[1]={coord:x[0]};else{var O=h[w-1].tickValue-h[0].tickValue,S=(h[w-1].coord-h[0].coord)/O;m(h,function(F){F.coord-=S/2});var _=u.scale.getExtent();T=1+_[1]-h[w-1].tickValue,C={coord:h[w-1].coord+S*T},h.push(C)}var L=x[0]>x[1];D(h[0].coord,x[0])&&(A?h[0].coord=x[0]:h.shift()),A&&D(x[0],h[0].coord)&&h.unshift({coord:x[0]}),D(x[1],C.coord)&&(A?C.coord=x[1]:h.pop()),A&&D(C.coord,x[1])&&h.push({coord:x[1]});function D(F,j){return F=d(F),j=d(j),L?F>j:F<j}}var o=r;U.exports=o},hNWo:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("Qxkt"),p=i("4NO4"),v=p.isNameSpecified,f=i("Kagy"),d=f.legend.selector,l={all:{type:"all",title:m.clone(d.all)},inverse:{type:"inverse",title:m.clone(d.inverse)}},n=y.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(a,s,r){this.mergeDefaultAndTheme(a,r),a.selected=a.selected||{},this._updateSelector(a)},mergeOption:function(a){n.superCall(this,"mergeOption",a),this._updateSelector(a)},_updateSelector:function(a){var s=a.selector;s===!0&&(s=a.selector=["all","inverse"]),m.isArray(s)&&m.each(s,function(r,c){m.isString(r)&&(r={type:r}),s[c]=m.merge(r,l[r.type])})},optionUpdated:function(){this._updateData(this.ecModel);var a=this._data;if(a[0]&&this.get("selectedMode")==="single"){for(var s=!1,r=0;r<a.length;r++){var c=a[r].get("name");if(this.isSelected(c)){this.select(c),s=!0;break}}!s&&this.select(a[0].get("name"))}},_updateData:function(a){var s=[],r=[];a.eachRawSeries(function(o){var u=o.name;r.push(u);var h;if(o.legendVisualProvider){var g=o.legendVisualProvider,A=g.getAllNames();a.isSeriesFiltered(o)||(r=r.concat(A)),A.length?s=s.concat(A):h=!0}else h=!0;h&&v(o)&&s.push(o.name)}),this._availableNames=r;var c=this.get("data")||s,e=m.map(c,function(o){return(typeof o=="string"||typeof o=="number")&&(o={name:o}),new E(o,this,this.ecModel)},this);this._data=e},getData:function(){return this._data},select:function(a){var s=this.option.selected,r=this.get("selectedMode");if(r==="single"){var c=this._data;m.each(c,function(e){s[e.get("name")]=!1})}s[a]=!0},unSelect:function(a){this.get("selectedMode")!=="single"&&(this.option.selected[a]=!1)},toggleSelected:function(a){var s=this.option.selected;s.hasOwnProperty(a)||(s[a]=!0),this[s[a]?"unSelect":"select"](a)},allSelect:function(){var a=this._data,s=this.option.selected;m.each(a,function(r){s[r.get("name",!0)]=!0})},inverseSelect:function(){var a=this._data,s=this.option.selected;m.each(a,function(r){var c=r.get("name",!0);s.hasOwnProperty(c)||(s[c]=!0),s[c]=!s[c]})},isSelected:function(a){var s=this.option.selected;return!(s.hasOwnProperty(a)&&!s[a])&&m.indexOf(this._availableNames,a)>=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),t=n;U.exports=t},hOwI:function(U,R){var i=Math.log(2);function y(E,p,v,f,d,l){var n=f+"-"+d,t=E.length;if(l.hasOwnProperty(n))return l[n];if(p===1){var a=Math.round(Math.log((1<<t)-1&~d)/i);return E[v][a]}for(var s=f|1<<v,r=v+1;f&1<<r;)r++;for(var c=0,e=0,o=0;e<t;e++){var u=1<<e;u&d||(c+=(o%2?-1:1)*E[v][e]*y(E,p-1,r,s,d|u,l),o++)}return l[n]=c,c}function m(E,p){var v=[[E[0],E[1],1,0,0,0,-p[0]*E[0],-p[0]*E[1]],[0,0,0,E[0],E[1],1,-p[1]*E[0],-p[1]*E[1]],[E[2],E[3],1,0,0,0,-p[2]*E[2],-p[2]*E[3]],[0,0,0,E[2],E[3],1,-p[3]*E[2],-p[3]*E[3]],[E[4],E[5],1,0,0,0,-p[4]*E[4],-p[4]*E[5]],[0,0,0,E[4],E[5],1,-p[5]*E[4],-p[5]*E[5]],[E[6],E[7],1,0,0,0,-p[6]*E[6],-p[6]*E[7]],[0,0,0,E[6],E[7],1,-p[7]*E[6],-p[7]*E[7]]],f={},d=y(v,8,0,0,0,f);if(d===0)return;for(var l=[],n=0;n<8;n++)for(var t=0;t<8;t++)l[t]==null&&(l[t]=0),l[t]+=((n+t)%2?-1:1)*y(v,7,n===0?1:0,1<<n,1<<t,f)/d*p[n];return function(a,s,r){var c=s*l[6]+r*l[7]+1;a[0]=(s*l[0]+r*l[1]+l[2])/c,a[1]=(s*l[3]+r*l[4]+l[5])/c}}R.buildTransformer=m},hX1E:function(U,R){var i=Math.PI*2;function y(m){return m%=i,m<0&&(m+=i),m}R.normalizeRadian=y},hXwI:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function m(v,f){for(var d=0;d<f.length;d++){var l=f[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(v,l.key,l)}}function E(v,f,d){return f&&m(v.prototype,f),d&&m(v,d),v}var p=function(){function v(){y(this,v)}return E(v,[{key:"decodeRect",value:function(d,l,n,t,a,s,r){if(a.rQwait("COPYRECT",4))return!1;var c=a.rQshift16(),e=a.rQshift16();return s.copyImage(c,e,d,l,n,t),!0}}]),v}();R.default=p},hi0g:function(U,R,i){var y=i("bYtY"),m=y.createHashMap,E=y.each,p=y.isString,v=y.defaults,f=y.extend,d=y.isObject,l=y.clone,n=i("4NO4"),t=n.normalizeToArray,a=i("D5nY"),s=a.guessOrdinal,r=a.BE_ORDINAL,c=i("7G+c"),e=i("L0Ub"),o=e.OTHER_DIMENSIONS,u=i("Vi4m");function h(x,C,T){c.isInstance(C)||(C=c.seriesDataToSource(C)),T=T||{},x=(x||[]).slice();for(var O=(T.dimsDef||[]).slice(),S=m(),_=m(),L=[],D=g(C,x,O,T.dimCount),F=0;F<D;F++){var j=O[F]=f({},d(O[F])?O[F]:{name:O[F]}),k=j.name,K=L[F]=new u;k!=null&&S.get(k)==null&&(K.name=K.displayName=k,S.set(k,F)),j.type!=null&&(K.type=j.type),j.displayName!=null&&(K.displayName=j.displayName)}var Z=T.encodeDef;!Z&&T.encodeDefaulter&&(Z=T.encodeDefaulter(C,D)),Z=m(Z),Z.each(function(ne,we){if(ne=t(ne).slice(),ne.length===1&&!p(ne[0])&&ne[0]<0){Z.set(we,!1);return}var ie=Z.set(we,[]);E(ne,function(me,_e){p(me)&&(me=S.get(me)),me!=null&&me<D&&(ie[_e]=me,V(L[me],we,_e))})});var B=0;E(x,function(ne,we){var ie,ne,me,_e;if(p(ne))ie=ne,ne={};else{ie=ne.name;var Te=ne.ordinalMeta;ne.ordinalMeta=null,ne=l(ne),ne.ordinalMeta=Te,me=ne.dimsDef,_e=ne.otherDims,ne.name=ne.coordDim=ne.coordDimIndex=ne.dimsDef=ne.otherDims=null}var We=Z.get(ie);if(We===!1)return;var We=t(We);if(!We.length)for(var Ae=0;Ae<(me&&me.length||1);Ae++){for(;B<L.length&&L[B].coordDim!=null;)B++;B<L.length&&We.push(B++)}E(We,function(je,ee){var he=L[je];if(V(v(he,ne),ie,ee),he.name==null&&me){var Ze=me[ee];!d(Ze)&&(Ze={name:Ze}),he.name=he.displayName=Ze.name,he.defaultTooltip=Ze.defaultTooltip}_e&&v(he.otherDims,_e)})});function V(ne,we,ie){o.get(we)!=null?ne.otherDims[we]=ie:(ne.coordDim=we,ne.coordDimIndex=ie,_.set(we,!0))}var z=T.generateCoord,X=T.generateCoordCount,W=X!=null;X=z?X||1:0;for(var q=z||"value",Y=0;Y<D;Y++){var K=L[Y]=L[Y]||new u,re=K.coordDim;re==null&&(K.coordDim=A(q,_,W),K.coordDimIndex=0,(!z||X<=0)&&(K.isExtraCoord=!0),X--),K.name==null&&(K.name=A(K.coordDim,S)),K.type==null&&(s(C,Y,K.name)===r.Must||K.isExtraCoord&&(K.otherDims.itemName!=null||K.otherDims.seriesName!=null))&&(K.type="ordinal")}return L}function g(x,C,T,O){var S=Math.max(x.dimensionsDetectCount||1,C.length,T.length,O||0);return E(C,function(_){var L=_.dimsDef;L&&(S=Math.max(S,L.length))}),S}function A(x,C,T){if(T||C.get(x)!=null){for(var O=0;C.get(x+O)!=null;)O++;x+=O}return C.set(x,!0),x}var w=h;U.exports=w},hkKa:function(U,R,i){"use strict";i.d(R,"a",function(){return v});var y=i("J4zp"),m=i.n(y),E=i("q1tI"),p=i.n(E);function v(){var f=E.useReducer(function(n){return n+1},0),d=m()(f,2),l=d[1];return l}},hw6D:function(U,R,i){var y=i("bYtY");function m(v){v.eachSeriesByType("radar",function(f){var d=f.getData(),l=[],n=f.coordinateSystem;if(!n)return;var t=n.getIndicatorAxes();y.each(t,function(a,s){d.each(d.mapDimension(t[s].dim),function(r,c){l[c]=l[c]||[];var e=n.dataToPoint(r,s);l[c][s]=E(e)?e:p(n)})}),d.each(function(a){var s=y.find(l[a],function(r){return E(r)})||p(n);l[a].push(s.slice()),d.setItemLayout(a,l[a])})})}function E(v){return!isNaN(v[0])&&!isNaN(v[1])}function p(v){return[v.cx,v.cy]}U.exports=m},hwYd:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("Nu4q")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="PictureTwoTone";var l=p.forwardRef(d);R.default=l},hydK:function(U,R){var i="http://www.w3.org/2000/svg";function y(m){return document.createElementNS(i,m)}R.createElement=y},hyiK:function(U,R){function i(y,m,E,p,v,f){if(f>m&&f>p||f<m&&f<p)return 0;if(p===m)return 0;var d=p<m?1:-1,l=(f-m)/(p-m);(l===1||l===0)&&(d=p<m?.5:-.5);var n=l*(E-y)+y;return n===v?Infinity:n>v?d:0}U.exports=i},i38C:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.createHashMap,v=E.retrieve,f=E.each;function d(a){this.coordSysName=a,this.coordSysDims=[],this.axisMap=p(),this.categoryAxisMap=p(),this.firstCategoryDimIndex=null}function l(a){var s=a.get("coordinateSystem"),r=new d(s),c=n[s];if(c)return c(a,r,r.axisMap,r.categoryAxisMap),r}var n={cartesian2d:function(a,s,r,c){var e=a.getReferringComponents("xAxis")[0],o=a.getReferringComponents("yAxis")[0];s.coordSysDims=["x","y"],r.set("x",e),r.set("y",o),t(e)&&(c.set("x",e),s.firstCategoryDimIndex=0),t(o)&&(c.set("y",o),s.firstCategoryDimIndex==null&(s.firstCategoryDimIndex=1))},singleAxis:function(a,s,r,c){var e=a.getReferringComponents("singleAxis")[0];s.coordSysDims=["single"],r.set("single",e),t(e)&&(c.set("single",e),s.firstCategoryDimIndex=0)},polar:function(a,s,r,c){var e=a.getReferringComponents("polar")[0],o=e.findAxisModel("radiusAxis"),u=e.findAxisModel("angleAxis");s.coordSysDims=["radius","angle"],r.set("radius",o),r.set("angle",u),t(o)&&(c.set("radius",o),s.firstCategoryDimIndex=0),t(u)&&(c.set("angle",u),s.firstCategoryDimIndex==null&&(s.firstCategoryDimIndex=1))},geo:function(a,s,r,c){s.coordSysDims=["lng","lat"]},parallel:function(a,s,r,c){var e=a.ecModel,o=e.getComponent("parallel",a.get("parallelIndex")),u=s.coordSysDims=o.dimensions.slice();f(o.parallelAxisIndex,function(h,g){var A=e.getComponent("parallelAxis",h),w=u[g];r.set(w,A),t(A)&&s.firstCategoryDimIndex==null&&(c.set(w,A),s.firstCategoryDimIndex=g)})}};function t(a){return a.get("type")==="category"}R.getCoordSysInfoBySeries=l},i6bk:function(U,R,i){"use strict";i.d(R,"b",function(){return y}),i.d(R,"a",function(){return m});function y(E){return E!=null&&E===E.window}function m(E,p){if(typeof window=="undefined")return 0;var v=p?"scrollTop":"scrollLeft",f=0;return y(E)?f=E[p?"pageYOffset":"pageXOffset"]:E instanceof Document?f=E.documentElement[v]:E&&(f=E[v]),E&&!y(E)&&typeof f!="number"&&(f=(E.ownerDocument||E).documentElement[v]),f}},i8CU:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("Fm1+"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},iLNv:function(U,R){var i="\0__throttleOriginMethod",y="\0__throttleRate",m="\0__throttleType";function E(f,d,l){var n,t=0,a=0,s=null,r,c,e,o;d=d||0;function u(){a=new Date().getTime(),s=null,f.apply(c,e||[])}var h=function(){n=new Date().getTime(),c=this,e=arguments;var g=o||d,A=o||l;o=null,r=n-(A?t:a)-g,clearTimeout(s),A?s=setTimeout(u,g):r>=0?u():s=setTimeout(u,-r),t=n};return h.clear=function(){s&&(clearTimeout(s),s=null)},h.debounceNextCall=function(g){o=g},h}function p(f,d,l,n){var t=f[d];if(!t)return;var a=t[i]||t,s=t[m],r=t[y];if(r!==l||s!==n){if(l==null||!n)return f[d]=a;t=f[d]=E(a,l,n==="debounce"),t[i]=a,t[m]=n,t[y]=l}return t}function v(f,d){var l=f[d];l&&l[i]&&(f[d]=l[i])}R.throttle=E,R.createOrUpdate=p,R.clear=v},iPDy:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=y.extendComponentView({type:"marker",init:function(){this.markerGroupMap=m.createHashMap()},render:function(p,v,f){var d=this.markerGroupMap;d.each(function(n){n.__keep=!1});var l=this.type+"Model";v.eachSeries(function(n){var t=n[l];t&&this.renderSeries(n,t,v,f)},this),d.each(function(n){!n.__keep&&this.group.remove(n.group)},this)},renderSeries:function(){}});U.exports=E},iQDF:function(U,R,i){"use strict";var y=i("ZTW2"),m=i.n(y),E=i("+BJd"),p=i("+L6B")},iRjW:function(U,R,i){var y=i("bYtY"),m=i("Yl7c"),E=m.parseClassType,p=0;function v(l){return[l||"",p++,Math.random().toFixed(5)].join("_")}function f(l){var n={};return l.registerSubTypeDefaulter=function(t,a){t=E(t),n[t.main]=a},l.determineSubType=function(t,a){var s=a.type;if(!s){var r=E(t).main;l.hasSubTypes(t)&&n[r]&&(s=n[r](a))}return s},l}function d(l,n){l.topologicalTravel=function(r,c,e,o){if(!r.length)return;var u=t(c),h=u.graph,g=u.noEntryList,A={};for(y.each(r,function(S){A[S]=!0});g.length;){var w=g.pop(),x=h[w],C=!!A[w];C&&(e.call(o,w,x.originalDeps.slice()),delete A[w]),y.each(x.successor,C?O:T)}y.each(A,function(){throw new Error("Circle dependency may exists")});function T(S){h[S].entryCount--,h[S].entryCount===0&&g.push(S)}function O(S){A[S]=!0,T(S)}};function t(r){var c={},e=[];return y.each(r,function(o){var u=a(c,o),h=u.originalDeps=n(o),g=s(h,r);u.entryCount=g.length,u.entryCount===0&&e.push(o),y.each(g,function(A){y.indexOf(u.predecessor,A)<0&&u.predecessor.push(A);var w=a(c,A);y.indexOf(w.successor,A)<0&&w.successor.push(o)})}),{graph:c,noEntryList:e}}function a(r,c){return r[c]||(r[c]={predecessor:[],successor:[]}),r[c]}function s(r,c){var e=[];return y.each(r,function(o){y.indexOf(c,o)>=0&&e.push(o)}),e}}R.getUID=v,R.enableSubTypeDefaulter=f,R.enableTopologicalTravel=d},iUHT:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;function y(x,C){if(!(x instanceof C))throw new TypeError("Cannot call a class as a function")}function m(x,C){for(var T=0;T<C.length;T++){var O=C[T];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(x,O.key,O)}}function E(x,C,T){return C&&m(x.prototype,C),T&&m(x,T),x}var p=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],v=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=0,d,l,n,t,a,s;d=1<<16,l=1<<24,n=d|l,t=1<<2,a=1<<10,s=t|a;var r=[n|a,f|f,d|f,n|s,n|t,d|s,f|t,d|f,f|a,n|a,n|s,f|a,l|s,n|t,l|f,f|t,f|s,l|a,l|a,d|a,d|a,n|f,n|f,l|s,d|t,l|t,l|t,d|t,f|f,f|s,d|s,l|f,d|f,n|s,f|t,n|f,n|a,l|f,l|f,f|a,n|t,d|f,d|a,l|t,f|a,f|t,l|s,d|s,n|s,d|t,n|f,l|s,l|t,f|s,d|s,n|a,f|s,l|a,l|a,f|f,d|t,d|a,f|f,n|t];d=1<<20,l=1<<31,n=d|l,t=1<<5,a=1<<15,s=t|a;var c=[n|s,l|a,f|a,d|s,d|f,f|t,n|t,l|s,l|t,n|s,n|a,l|f,l|a,d|f,f|t,n|t,d|a,d|t,l|s,f|f,l|f,f|a,d|s,n|f,d|t,l|t,f|f,d|a,f|s,n|a,n|f,f|s,f|f,d|s,n|t,d|f,l|s,n|f,n|a,f|a,n|f,l|a,f|t,n|s,d|s,f|t,f|a,l|f,f|s,n|a,d|f,l|t,d|t,l|s,l|t,d|t,d|a,f|f,l|a,f|s,l|f,n|t,n|s,d|a];d=1<<17,l=1<<27,n=d|l,t=1<<3,a=1<<9,s=t|a;var e=[f|s,n|a,f|f,n|t,l|a,f|f,d|s,l|a,d|t,l|t,l|t,d|f,n|s,d|t,n|f,f|s,l|f,f|t,n|a,f|a,d|a,n|f,n|t,d|s,l|s,d|a,d|f,l|s,f|t,n|s,f|a,l|f,n|a,l|f,d|t,f|s,d|f,n|a,l|a,f|f,f|a,d|t,n|s,l|a,l|t,f|a,f|f,n|t,l|s,d|f,l|f,n|s,f|t,d|s,d|a,l|t,n|f,l|s,f|s,n|f,d|s,f|t,n|t,d|a];d=1<<13,l=1<<23,n=d|l,t=1<<0,a=1<<7,s=t|a;var o=[n|t,d|s,d|s,f|a,n|a,l|s,l|t,d|t,f|f,n|f,n|f,n|s,f|s,f|f,l|a,l|t,f|t,d|f,l|f,n|t,f|a,l|f,d|t,d|a,l|s,f|t,d|a,l|a,d|f,n|a,n|s,f|s,l|a,l|t,n|f,n|s,f|s,f|f,f|f,n|f,d|a,l|a,l|s,f|t,n|t,d|s,d|s,f|a,n|s,f|s,f|t,d|f,l|t,d|t,n|a,l|s,d|t,d|a,l|f,n|t,f|a,l|f,d|f,n|a];d=1<<25,l=1<<30,n=d|l,t=1<<8,a=1<<19,s=t|a;var u=[f|t,d|s,d|a,n|t,f|a,f|t,l|f,d|a,l|s,f|a,d|t,l|s,n|t,n|a,f|s,l|f,d|f,l|a,l|a,f|f,l|t,n|s,n|s,d|t,n|a,l|t,f|f,n|f,d|s,d|f,n|f,f|s,f|a,n|t,f|t,d|f,l|f,d|a,n|t,l|s,d|t,l|f,n|a,d|s,l|s,f|t,d|f,n|a,n|s,f|s,n|f,n|s,d|a,f|f,l|a,n|f,f|s,d|t,l|t,f|a,f|f,l|a,d|s,l|t];d=1<<22,l=1<<29,n=d|l,t=1<<4,a=1<<14,s=t|a;var h=[l|t,n|f,f|a,n|s,n|f,f|t,n|s,d|f,l|a,d|s,d|f,l|t,d|t,l|a,l|f,f|s,f|f,d|t,l|s,f|a,d|a,l|s,f|t,n|t,n|t,f|f,d|s,n|a,f|s,d|a,n|a,l|f,l|a,f|t,n|t,d|a,n|s,d|f,f|s,l|t,d|f,l|a,l|f,f|s,l|t,n|s,d|a,n|f,d|s,n|a,f|f,n|t,f|t,f|a,n|f,d|s,f|a,d|t,l|s,f|f,n|a,l|f,d|t,l|s];d=1<<21,l=1<<26,n=d|l,t=1<<1,a=1<<11,s=t|a;var g=[d|f,n|t,l|s,f|f,f|a,l|s,d|s,n|a,n|s,d|f,f|f,l|t,f|t,l|f,n|t,f|s,l|a,d|s,d|t,l|a,l|t,n|f,n|a,d|t,n|f,f|a,f|s,n|s,d|a,f|t,l|f,d|a,l|f,d|a,d|f,l|s,l|s,n|t,n|t,f|t,d|t,l|f,l|a,d|f,n|a,f|s,d|s,n|a,f|s,l|t,n|s,n|f,d|a,f|f,f|t,n|s,f|f,d|s,n|f,f|a,l|t,l|a,f|a,d|t];d=1<<18,l=1<<28,n=d|l,t=1<<6,a=1<<12,s=t|a;var A=[l|s,f|a,d|f,n|s,l|f,l|s,f|t,l|f,d|t,n|f,n|s,d|a,n|a,d|s,f|a,f|t,n|f,l|t,l|a,f|s,d|a,d|t,n|t,n|a,f|s,f|f,f|f,n|t,l|t,l|a,d|s,d|f,d|s,d|f,n|a,f|a,f|t,n|t,f|a,d|s,l|a,f|t,l|t,n|f,n|t,l|f,d|f,l|s,f|f,n|s,d|t,l|t,n|f,l|a,l|s,f|f,n|s,d|a,d|a,f|s,f|s,d|t,l|f,n|a],w=function(){function x(C){y(this,x),this.keys=[];for(var T=[],O=[],S=[],_=0,L=56;_<56;++_,L-=8){L+=L<-5?65:L<-3?31:L<-1?63:L===27?35:0;var D=L&7;T[_]=(C[L>>>3]&1<<D)!==0?1:0}for(var F=0;F<16;++F){var j=F<<1,k=j+1;S[j]=S[k]=0;for(var K=28;K<59;K+=28)for(var Z=K-28;Z<K;++Z){var B=Z+v[F];O[Z]=B<K?T[B]:T[B-28]}for(var V=0;V<24;++V)O[p[V]]!==0&&(S[j]|=1<<23-V),O[p[V+24]]!==0&&(S[k]|=1<<23-V)}for(var z=0,X=0,W=0;z<16;++z){var q=S[X++],Y=S[X++];this.keys[W]=(q&16515072)<<6,this.keys[W]|=(q&4032)<<10,this.keys[W]|=(Y&16515072)>>>10,this.keys[W]|=(Y&4032)>>>6,++W,this.keys[W]=(q&258048)<<12,this.keys[W]|=(q&63)<<16,this.keys[W]|=(Y&258048)>>>4,this.keys[W]|=Y&63,++W}}return E(x,[{key:"enc8",value:function(T){var O=T.slice(),S=0,_,L,D;_=O[S++]<<24|O[S++]<<16|O[S++]<<8|O[S++],L=O[S++]<<24|O[S++]<<16|O[S++]<<8|O[S++],D=(_>>>4^L)&252645135,L^=D,_^=D<<4,D=(_>>>16^L)&65535,L^=D,_^=D<<16,D=(L>>>2^_)&858993459,_^=D,L^=D<<2,D=(L>>>8^_)&16711935,_^=D,L^=D<<8,L=L<<1|L>>>31&1,D=(_^L)&2863311530,_^=D,L^=D,_=_<<1|_>>>31&1;for(var F=0,j=0;F<8;++F){D=L<<28|L>>>4,D^=this.keys[j++];var k=g[D&63];k|=u[D>>>8&63],k|=e[D>>>16&63],k|=r[D>>>24&63],D=L^this.keys[j++],k|=A[D&63],k|=h[D>>>8&63],k|=o[D>>>16&63],k|=c[D>>>24&63],_^=k,D=_<<28|_>>>4,D^=this.keys[j++],k=g[D&63],k|=u[D>>>8&63],k|=e[D>>>16&63],k|=r[D>>>24&63],D=_^this.keys[j++],k|=A[D&63],k|=h[D>>>8&63],k|=o[D>>>16&63],k|=c[D>>>24&63],L^=k}for(L=L<<31|L>>>1,D=(_^L)&2863311530,_^=D,L^=D,_=_<<31|_>>>1,D=(_>>>8^L)&16711935,L^=D,_^=D<<8,D=(_>>>2^L)&858993459,L^=D,_^=D<<2,D=(L>>>16^_)&65535,_^=D,L^=D<<16,D=(L>>>4^_)&252645135,_^=D,L^=D<<4,D=[L,_],S=0;S<8;S++)O[S]=(D[S>>>2]>>>8*(3-S%4))%256,O[S]<0&&(O[S]+=256);return O}},{key:"encrypt",value:function(T){return this.enc8(T.slice(0,8)).concat(this.enc8(T.slice(8,16)))}}]),x}();R.default=w},iXHM:function(U,R){var i="";typeof navigator!="undefined"&&(i=navigator.platform||"");var y={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:i.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};U.exports=y},iXp4:function(U,R,i){var y=i("ItGF"),m=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function E(p){return y.browser.ie&&y.browser.version>=11?function(){var v=this.__clipPaths,f=this.style,d;if(v)for(var l=0;l<v.length;l++){var n=v[l],t=n&&n.shape,a=n&&n.type;if(t&&(a==="sector"&&t.startAngle===t.endAngle||a==="rect"&&(!t.width||!t.height))){for(var s=0;s<m.length;s++)m[s][2]=f[m[s][0]],f[m[s][0]]=m[s][1];d=!0;break}}if(p.apply(this,arguments),d)for(var s=0;s<m.length;s++)f[m[s][0]]=m[s][2]}:p}U.exports=E},iYpf:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("ZLWo")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FolderOpenOutlined";var l=p.forwardRef(d);R.default=l},ieMj:function(U,R,i){var y=i("OELB"),m=i("7aKB"),E=i("4NgU"),p=i("lE7J"),v=y.round,f=E.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(l,n){var t=this._extent;isNaN(l)||(t[0]=parseFloat(l)),isNaN(n)||(t[1]=parseFloat(n))},unionExtent:function(l){var n=this._extent;l[0]<n[0]&&(n[0]=l[0]),l[1]>n[1]&&(n[1]=l[1]),f.prototype.setExtent.call(this,n[0],n[1])},getInterval:function(){return this._interval},setInterval:function(l){this._interval=l,this._niceExtent=this._extent.slice(),this._intervalPrecision=p.getIntervalPrecision(l)},getTicks:function(l){var n=this._interval,t=this._extent,a=this._niceExtent,s=this._intervalPrecision,r=[];if(!n)return r;var c=1e4;t[0]<a[0]&&(l?r.push(v(a[0]-n,s)):r.push(t[0]));for(var e=a[0];e<=a[1]&&!(r.push(e),e=v(e+n,s),e===r[r.length-1]);)if(r.length>c)return[];var o=r.length?r[r.length-1]:a[1];return t[1]>o&&(l?r.push(v(o+n,s)):r.push(t[1])),r},getMinorTicks:function(l){for(var n=this.getTicks(!0),t=[],a=this.getExtent(),s=1;s<n.length;s++){for(var r=n[s],c=n[s-1],e=0,o=[],u=r-c,h=u/l;e<l-1;){var g=y.round(c+(e+1)*h);g>a[0]&&g<a[1]&&o.push(g),e++}t.push(o)}return t},getLabel:function(l,n){if(l==null)return"";var t=n&&n.precision;return t==null?t=y.getPrecisionSafe(l)||0:t==="auto"&&(t=this._intervalPrecision),l=v(l,t,!0),m.addCommas(l)},niceTicks:function(l,n,t){l=l||5;var a=this._extent,s=a[1]-a[0];if(!isFinite(s))return;s<0&&(s=-s,a.reverse());var r=p.intervalScaleNiceTicks(a,l,n,t);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent},niceExtent:function(l){var n=this._extent;if(n[0]===n[1])if(n[0]!==0){var t=n[0];l.fixMax||(n[1]+=t/2),n[0]-=t/2}else n[1]=1;var a=n[1]-n[0];isFinite(a)||(n[0]=0,n[1]=1),this.niceTicks(l.splitNumber,l.minInterval,l.maxInterval);var s=this._interval;l.fixMin||(n[0]=v(Math.floor(n[0]/s)*s)),l.fixMax||(n[1]=v(Math.ceil(n[1]/s)*s))}});f.create=function(){return new f};var d=f;U.exports=d},j5sG:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.createSensor=void 0;var y=m(i("NohK"));function m(p){return p&&p.__esModule?p:{default:p}}var E=function(v){var f=void 0,d=[],l=(0,y.default)(function(){d.forEach(function(r){r(v)})}),n=function(){var c=new ResizeObserver(l);return c.observe(v),l(),c},t=function(c){f||(f=n()),d.indexOf(c)===-1&&d.push(c)},a=function(){f.disconnect(),d=[],f=void 0},s=function(c){var e=d.indexOf(c);e!==-1&&d.splice(e,1),d.length===0&&f&&a()};return{element:v,bind:t,destroy:a,unbind:s}};R.createSensor=E},jCoz:function(U,R,i){var y=i("bYtY"),m=i("4NgU"),E=i("OELB"),p=i("ieMj"),v=m.prototype,f=p.prototype,d=E.getPrecisionSafe,l=E.round,n=Math.floor,t=Math.ceil,a=Math.pow,s=Math.log,r=m.extend({type:"log",base:10,$constructor:function(){m.apply(this,arguments),this._originalScale=new p},getTicks:function(o){var u=this._originalScale,h=this._extent,g=u.getExtent();return y.map(f.getTicks.call(this,o),function(A){var w=E.round(a(this.base,A));return w=A===h[0]&&u.__fixMin?c(w,g[0]):w,w=A===h[1]&&u.__fixMax?c(w,g[1]):w,w},this)},getMinorTicks:f.getMinorTicks,getLabel:f.getLabel,scale:function(o){return o=v.scale.call(this,o),a(this.base,o)},setExtent:function(o,u){var h=this.base;o=s(o)/s(h),u=s(u)/s(h),f.setExtent.call(this,o,u)},getExtent:function(){var o=this.base,u=v.getExtent.call(this);u[0]=a(o,u[0]),u[1]=a(o,u[1]);var h=this._originalScale,g=h.getExtent();return h.__fixMin&&(u[0]=c(u[0],g[0])),h.__fixMax&&(u[1]=c(u[1],g[1])),u},unionExtent:function(o){this._originalScale.unionExtent(o);var u=this.base;o[0]=s(o[0])/s(u),o[1]=s(o[1])/s(u),v.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 g=E.quantity(h),A=o/h*g;for(A<=.5&&(g*=10);!isNaN(g)&&Math.abs(g)<1&&Math.abs(g)>0;)g*=10;var w=[E.round(t(u[0]/g)*g),E.round(n(u[1]/g)*g)];this._interval=g,this._niceExtent=w},niceExtent:function(o){f.niceExtent.call(this,o);var u=this._originalScale;u.__fixMin=o.fixMin,u.__fixMax=o.fixMax}});y.each(["contain","normalize"],function(o){r.prototype[o]=function(u){return u=s(u)/s(this.base),v[o].call(this,u)}}),r.create=function(){return new r};function c(o,u){return l(o,d(u))}var e=r;U.exports=e},jN4g:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CloseCircleFilled";var d=R.a=m.forwardRef(f)},jO45:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CheckCircleFilled";var d=R.a=m.forwardRef(f)},jTL6:function(U,R,i){var y=i("y+Vt"),m=y.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(p,v){var f=v.cx,d=v.cy,l=Math.max(v.r,0),n=v.startAngle,t=v.endAngle,a=v.clockwise,s=Math.cos(n),r=Math.sin(n);p.moveTo(s*l+f,r*l+d),p.arc(f,d,l,n,t,!a)}});U.exports=m},je13:function(U,R,i){var y=i("5nXd"),m=i("gRFJ"),E=[i("uQRt")];U.exports=y.createStore(m,E)},jett:function(U,R,i){var y=i("ProS");i("VSLf"),i("oBaM"),i("FGaS");var m=i("mOdp"),E=i("f5Yq"),p=i("hw6D"),v=i("0/Rx"),f=i("eJH7");y.registerVisual(m("radar")),y.registerVisual(E("radar","circle")),y.registerLayout(p),y.registerProcessor(v("radar")),y.registerPreprocessor(f)},jhfD:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="ArrowLeftOutlined";var d=R.a=m.forwardRef(f)},jkPA:function(U,R,i){var y=i("bYtY"),m=y.createHashMap,E=y.isObject,p=y.map;function v(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}v.createByAxisModel=function(t){var a=t.option,s=a.data,r=s&&p(s,l);return new v({categories:r,needCollect:!r,deduplication:a.dedplication!==!1})};var f=v.prototype;f.getOrdinal=function(t){return d(this).get(t)},f.parseAndCollect=function(t){var a,s=this._needCollect;if(typeof t!="string"&&!s)return t;if(s&&!this._deduplication)return a=this.categories.length,this.categories[a]=t,a;var r=d(this);return a=r.get(t),a==null&&(s?(a=this.categories.length,this.categories[a]=t,r.set(t,a)):a=NaN),a};function d(t){return t._map||(t._map=m(t.categories))}function l(t){return E(t)&&t.value!=null?t.value:t+""}var n=v;U.exports=n},jndi:function(U,R,i){var y=i("bYtY"),m=i("Qe9p"),E=i("YXkt"),p=i("OELB"),v=i("IwbS"),f=i("kj2x"),d=i("iPDy"),l=function(e,o,u,h){var g=f.dataTransform(e,h[0]),A=f.dataTransform(e,h[1]),w=y.retrieve,x=g.coord,C=A.coord;x[0]=w(x[0],-Infinity),x[1]=w(x[1],-Infinity),C[0]=w(C[0],Infinity),C[1]=w(C[1],Infinity);var T=y.mergeAll([{},g,A]);return T.coord=[g.coord,A.coord],T.x0=g.x,T.y0=g.y,T.x1=A.x,T.y1=A.y,T};function n(e){return!isNaN(e)&&!isFinite(e)}function t(e,o,u,h){var g=1-e;return n(o[g])&&n(u[g])}function a(e,o){var u=o.coord[0],h=o.coord[1];return e.type==="cartesian2d"&&(u&&h&&(t(1,u,h,e)||t(0,u,h,e)))?!0:f.dataFilter(e,{coord:u,x:o.x0,y:o.y0})||f.dataFilter(e,{coord:h,x:o.x1,y:o.y1})}function s(e,o,u,h,g){var A=h.coordinateSystem,w=e.getItemModel(o),x,C=p.parsePercent(w.get(u[0]),g.getWidth()),T=p.parsePercent(w.get(u[1]),g.getHeight());if(!isNaN(C)&&!isNaN(T))x=[C,T];else{if(h.getMarkerPosition)x=h.getMarkerPosition(e.getValues(u,o));else{var O=e.get(u[0],o),S=e.get(u[1],o),_=[O,S];A.clampData&&A.clampData(_,_),x=A.dataToPoint(_,!0)}if(A.type==="cartesian2d"){var L=A.getAxis("x"),D=A.getAxis("y"),O=e.get(u[0],o),S=e.get(u[1],o);n(O)?x[0]=L.toGlobalCoord(L.getExtent()[u[0]==="x0"?0:1]):n(S)&&(x[1]=D.toGlobalCoord(D.getExtent()[u[1]==="y0"?0:1]))}isNaN(C)||(x[0]=C),isNaN(T)||(x[1]=T)}return x}var r=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];d.extend({type:"markArea",updateTransform:function(e,o,u){o.eachSeries(function(h){var g=h.markAreaModel;if(g){var A=g.getData();A.each(function(w){var x=y.map(r,function(T){return s(A,w,T,h,u)});A.setItemLayout(w,x);var C=A.getItemGraphicEl(w);C.setShape("points",x)})}},this)},renderSeries:function(e,o,u,h){var g=e.coordinateSystem,A=e.id,w=e.getData(),x=this.markerGroupMap,C=x.get(A)||x.set(A,{group:new v.Group});this.group.add(C.group),C.__keep=!0;var T=c(g,e,o);o.setData(T),T.each(function(O){T.setItemLayout(O,y.map(r,function(S){return s(T,O,S,e,h)})),T.setItemVisual(O,{color:w.getVisual("color")})}),T.diff(C.__data).add(function(O){var S=new v.Polygon({shape:{points:T.getItemLayout(O)}});T.setItemGraphicEl(O,S),C.group.add(S)}).update(function(O,S){var _=C.__data.getItemGraphicEl(S);v.updateProps(_,{shape:{points:T.getItemLayout(O)}},o,O),C.group.add(_),T.setItemGraphicEl(O,_)}).remove(function(O){var S=C.__data.getItemGraphicEl(O);C.group.remove(S)}).execute(),T.eachItemGraphicEl(function(O,S){var _=T.getItemModel(S),L=_.getModel("label"),D=_.getModel("emphasis.label"),F=T.getItemVisual(S,"color");O.useStyle(y.defaults(_.getModel("itemStyle").getItemStyle(),{fill:m.modifyAlpha(F,.4),stroke:F})),O.hoverStyle=_.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(O.style,O.hoverStyle,L,D,{labelFetcher:o,labelDataIndex:S,defaultText:T.getName(S)||"",isRectText:!0,autoColor:F}),v.setHoverStyle(O,{}),O.dataModel=o}),C.__data=T,C.group.silent=o.get("silent")||e.get("silent")}});function c(e,o,u){var h,g,A=["x0","y0","x1","y1"];e?(h=y.map(e&&e.dimensions,function(C){var T=o.getData(),O=T.getDimensionInfo(T.mapDimension(C))||{};return y.defaults({name:C},O)}),g=new E(y.map(A,function(C,T){return{name:C,type:h[T%2].type}}),u)):(h=[{name:"value",type:"float"}],g=new E(h,u));var w=y.map(u.get("data"),y.curry(l,o,e,u));e&&(w=y.filter(w,y.curry(a,e)));var x=e?function(C,T,O,S){return C.coord[Math.floor(S/2)][S%2]}:function(C){return C.value};return g.initData(w,null,x),g.hasItemOption=!0,g}},"jsU+":function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("IUWy"),p=y.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){p.superApply(this,"optionUpdated",arguments),m.each(this.option.feature,function(f,d){var l=E.get(d);l&&m.merge(f,l.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),v=p;U.exports=v},jtI2:function(U,R,i){i("SMc4");var y=i("bLfw"),m=y.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"}});U.exports=m},juDX:function(U,R,i){i("P47w");var y=i("aX58"),m=y.registerPainter,E=i("3CBa");m("svg",E)},k5C7:function(U,R,i){i("0JAE"),i("g7p0"),i("7mYs")},k9D9:function(U,R){var i="original",y="arrayRows",m="objectRows",E="keyedColumns",p="unknown",v="typedArray",f="column",d="row";R.SOURCE_FORMAT_ORIGINAL=i,R.SOURCE_FORMAT_ARRAY_ROWS=y,R.SOURCE_FORMAT_OBJECT_ROWS=m,R.SOURCE_FORMAT_KEYED_COLUMNS=E,R.SOURCE_FORMAT_UNKNOWN=p,R.SOURCE_FORMAT_TYPED_ARRAY=v,R.SERIES_LAYOUT_BY_COLUMN=f,R.SERIES_LAYOUT_BY_ROW=d},kDyi:function(U,R){function i(y){var m=y.findComponents({mainType:"legend"});m&&m.length&&y.filterSeries(function(E){for(var p=0;p<m.length;p++)if(!m[p].isSelected(E.name))return!1;return!0})}U.exports=i},kGiB:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("ABKa"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},kMLO:function(U,R,i){var y=i("XxSj"),m=i("Qe9p"),E=i("bYtY"),p=E.isArray,v="itemStyle",f={seriesType:"treemap",reset:function(e,o,u,h){var g=e.getData().tree,A=g.root,w=e.getModel(v);if(A.isRemoved())return;var x=E.map(g.levelModels,function(C){return C?C.get(v):null});d(A,{},x,w,e.getViewRoot().getAncestors(),e)}};function d(e,o,u,h,g,A){var w=e.getModel(),x=e.getLayout();if(!x||x.invisible||!x.isInView)return;var C=e.getModel(v),T=u[e.depth],O=l(C,o,T,h),S=C.get("borderColor"),_=C.get("borderColorSaturation"),L;_!=null&&(L=n(O,e),S=t(_,L)),e.setVisual("borderColor",S);var D=e.viewChildren;if(!D||!D.length)L=n(O,e),e.setVisual("color",L);else{var F=s(e,w,x,C,O,D);E.each(D,function(j,k){if(j.depth>=g.length||j===g[j.depth]){var K=c(w,O,j,k,F,A);d(j,K,u,h,g,A)}})}}function l(e,o,u,h){var g=E.extend({},o);return E.each(["color","colorAlpha","colorSaturation"],function(A){var w=e.get(A,!0);w==null&&u&&(w=u[A]),w==null&&(w=o[A]),w==null&&(w=h.get(A)),w!=null&&(g[A]=w)}),g}function n(e){var o=a(e,"color");if(o){var u=a(e,"colorAlpha"),h=a(e,"colorSaturation");return h&&(o=m.modifyHSL(o,null,null,h)),u&&(o=m.modifyAlpha(o,u)),o}}function t(e,o){return o!=null?m.modifyHSL(o,null,null,e):null}function a(e,o){var u=e[o];if(u!=null&&u!=="none")return u}function s(e,o,u,h,g,A){if(!A||!A.length)return;var w=r(o,"color")||g.color!=null&&g.color!=="none"&&(r(o,"colorAlpha")||r(o,"colorSaturation"));if(!w)return;var x=o.get("visualMin"),C=o.get("visualMax"),T=u.dataExtent.slice();x!=null&&x<T[0]&&(T[0]=x),C!=null&&C>T[1]&&(T[1]=C);var O=o.get("colorMappingBy"),S={type:w.name,dataExtent:T,visual:w.range};S.type==="color"&&(O==="index"||O==="id")?(S.mappingMethod="category",S.loop=!0):S.mappingMethod="linear";var _=new y(S);return _.__drColorMappingBy=O,_}function r(e,o){var u=e.get(o);return p(u)&&u.length?{name:o,range:u}:null}function c(e,o,u,h,g,A){var w=E.extend({},o);if(g){var x=g.type,C=x==="color"&&g.__drColorMappingBy,T=C==="index"?h:C==="id"?A.mapIdToIndex(u.getId()):u.getValue(e.get("visualDimension"));w[x]=g.mapValueToVisual(T)}return w}U.exports=f},"kVK+":function(U,R){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */R.read=function(i,y,m,E,p){var v,f,d=p*8-E-1,l=(1<<d)-1,n=l>>1,t=-7,a=m?p-1:0,s=m?-1:1,r=i[y+a];for(a+=s,v=r&(1<<-t)-1,r>>=-t,t+=d;t>0;v=v*256+i[y+a],a+=s,t-=8);for(f=v&(1<<-t)-1,v>>=-t,t+=E;t>0;f=f*256+i[y+a],a+=s,t-=8);if(v===0)v=1-n;else{if(v===l)return f?NaN:(r?-1:1)*Infinity;f=f+Math.pow(2,E),v=v-n}return(r?-1:1)*f*Math.pow(2,v-E)},R.write=function(i,y,m,E,p,v){var f,d,l,n=v*8-p-1,t=(1<<n)-1,a=t>>1,s=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,r=E?0:v-1,c=E?1:-1,e=y<0||y===0&&1/y<0?1:0;for(y=Math.abs(y),isNaN(y)||y===Infinity?(d=isNaN(y)?1:0,f=t):(f=Math.floor(Math.log(y)/Math.LN2),y*(l=Math.pow(2,-f))<1&&(f--,l*=2),f+a>=1?y+=s/l:y+=s*Math.pow(2,1-a),y*l>=2&&(f++,l/=2),f+a>=t?(d=0,f=t):f+a>=1?(d=(y*l-1)*Math.pow(2,p),f=f+a):(d=y*Math.pow(2,a-1)*Math.pow(2,p),f=0));p>=8;i[m+r]=d&255,r+=c,d/=256,p-=8);for(f=f<<p|d,n+=p;n>0;i[m+r]=f&255,r+=c,f/=256,n-=8);i[m+r-c]|=e*128}},kj2x:function(U,R,i){var y=i("bYtY"),m=i("OELB"),E=i("7hqr"),p=E.isDimensionStacked,v=y.indexOf;function f(u){return!(isNaN(parseFloat(u.x))&&isNaN(parseFloat(u.y)))}function d(u){return!isNaN(parseFloat(u.x))&&!isNaN(parseFloat(u.y))}function l(u,h,g,A,w,x){var C=[],T=p(h,A),O=T?h.getCalculationInfo("stackResultDimension"):A,S=o(h,O,u),_=h.indicesOfNearest(O,S)[0];C[w]=h.get(g,_),C[x]=h.get(O,_);var L=h.get(A,_),D=m.getPrecision(h.get(A,_));return D=Math.min(D,20),D>=0&&(C[x]=+C[x].toFixed(D)),[C,L]}var n=y.curry,t={min:n(l,"min"),max:n(l,"max"),average:n(l,"average")};function a(u,h){var g=u.getData(),A=u.coordinateSystem;if(h&&!d(h)&&!y.isArray(h.coord)&&A){var w=A.dimensions,x=s(h,g,A,u);if(h=y.clone(h),h.type&&t[h.type]&&x.baseAxis&&x.valueAxis){var C=v(w,x.baseAxis.dim),T=v(w,x.valueAxis.dim),O=t[h.type](g,x.baseDataDim,x.valueDataDim,C,T);h.coord=O[0],h.value=O[1]}else{for(var S=[h.xAxis!=null?h.xAxis:h.radiusAxis,h.yAxis!=null?h.yAxis:h.angleAxis],_=0;_<2;_++)t[S[_]]&&(S[_]=o(g,g.mapDimension(w[_]),S[_]));h.coord=S}}return h}function s(u,h,g,A){var w={};return u.valueIndex!=null||u.valueDim!=null?(w.valueDataDim=u.valueIndex!=null?h.getDimension(u.valueIndex):u.valueDim,w.valueAxis=g.getAxis(r(A,w.valueDataDim)),w.baseAxis=g.getOtherAxis(w.valueAxis),w.baseDataDim=h.mapDimension(w.baseAxis.dim)):(w.baseAxis=A.getBaseAxis(),w.valueAxis=g.getOtherAxis(w.baseAxis),w.baseDataDim=h.mapDimension(w.baseAxis.dim),w.valueDataDim=h.mapDimension(w.valueAxis.dim)),w}function r(u,h){var g=u.getData(),A=g.dimensions;h=g.getDimension(h);for(var w=0;w<A.length;w++){var x=g.getDimensionInfo(A[w]);if(x.name===h)return x.coordDim}}function c(u,h){return u&&u.containData&&h.coord&&!f(h)?u.containData(h.coord):!0}function e(u,h,g,A){return A<2?u.coord&&u.coord[A]:u.value}function o(u,h,g){if(g==="average"){var A=0,w=0;return u.each(h,function(x,C){isNaN(x)||(A+=x,w++)}),A/w}else return g==="median"?u.getMedian(h):u.getDataExtent(h,!0)[g==="max"?1:0]}R.dataTransform=a,R.getAxisInfo=s,R.dataFilter=c,R.dimValueGetter=e,R.numCalculate=o},knOB:function(U,R,i){var y=i("bYtY"),m=i("hM6l");function E(v,f){m.call(this,"radius",v,f),this.type="category"}E.prototype={constructor:E,pointToData:function(v,f){return this.polar.pointToData(v,f)[this.dim==="radius"?0:1]},dataToRadius:m.prototype.dataToCoord,radiusToData:m.prototype.coordToData},y.inherits(E,m);var p=E;U.exports=p},ko1b:function(U,R,i){var y=i("bYtY"),m=i("T4UG"),E=i("Bsck"),p=i("Qxkt"),v=i("7aKB"),f=v.encodeHTML,d=v.addCommas,l=i("VaxA"),n=l.wrapTreePathInfo,t=m.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(r,c){var e={name:r.name,children:r.data};a(e);var o=r.levels||[];o=r.levels=s(o,c);var u=y.map(o||[],function(A){return new p(A,this,c)},this),h=E.createTree(e,this,null,g);function g(A){A.wrapMethod("getItemModel",function(w,x){var C=h.getNodeByDataIndex(x),T=u[C.depth];return T&&(w.parentModel=T),w})}return h.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(r){var c=this.getData(),e=this.getRawValue(r),o=y.isArray(e)?d(e[0]):d(e),u=c.getName(r);return f(u+": "+o)},getDataParams:function(r){var c=m.prototype.getDataParams.apply(this,arguments),e=this.getData().tree.getNodeByDataIndex(r);return c.treePathInfo=n(e,this),c},setLayoutInfo:function(r){this.layoutInfo=this.layoutInfo||{},y.extend(this.layoutInfo,r)},mapIdToIndex:function(r){var c=this._idIndexMap;c||(c=this._idIndexMap=y.createHashMap(),this._idIndexMapCount=0);var e=c.get(r);return e==null&&c.set(r,e=this._idIndexMapCount++),e},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(r){r?this._viewRoot=r:r=this._viewRoot;var c=this.getRawData().tree.root;(!r||r!==c&&!c.contains(r))&&(this._viewRoot=c)}});function a(r){var c=0;y.each(r.children,function(o){a(o);var u=o.value;y.isArray(u)&&(u=u[0]),c+=u});var e=r.value;y.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=c),e<0&&(e=0),y.isArray(r.value)?r.value[0]=e:r.value=e}function s(r,c){var e=c.get("color");if(!e)return;r=r||[];var o;if(y.each(r,function(h){var g=new p(h),A=g.get("color");(g.get("itemStyle.color")||A&&A!=="none")&&(o=!0)}),!o){var u=r[0]||(r[0]={});u.color=e.slice()}return r}U.exports=t},kzFp:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y=R.pick=function(E,p){var v={};return p.forEach(function(f){v[f]=E[f]}),v}},kzvK:function(U,R,i){var y=i("sS/r"),m=y.extend({type:"timeline"});U.exports=m},lE7J:function(U,R,i){var y=i("OELB"),m=y.round;function E(d,l,n,t){var a={},s=d[1]-d[0],r=a.interval=y.nice(s/l,!0);n!=null&&r<n&&(r=a.interval=n),t!=null&&r>t&&(r=a.interval=t);var c=a.intervalPrecision=p(r),e=a.niceTickExtent=[m(Math.ceil(d[0]/r)*r,c),m(Math.floor(d[1]/r)*r,c)];return f(e,d),a}function p(d){return y.getPrecisionSafe(d)+2}function v(d,l,n){d[l]=Math.max(Math.min(d[l],n[1]),n[0])}function f(d,l){!isFinite(d[0])&&(d[0]=l[0]),!isFinite(d[1])&&(d[1]=l[1]),v(d,0,l),v(d,1,l),d[0]>d[1]&&(d[0]=d[1])}R.intervalScaleNiceTicks=E,R.getIntervalPrecision=p,R.fixExtent=f},lELe:function(U,R,i){var y=i("bYtY");function m(E){var p=[];y.each(E.series,function(v){v&&v.type==="map"&&(p.push(v),v.map=v.map||v.mapType,y.defaults(v,v.mapLocation))})}U.exports=m},lLGD:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("nVfU"),p=E.layout,v=E.largeLayout;i("Wqna"),i("F7hV"),i("Z8zF"),i("Ae16"),y.registerLayout(y.PRIORITY.VISUAL.LAYOUT,m.curry(p,"bar")),y.registerLayout(y.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v),y.registerVisual({seriesType:"bar",reset:function(f){f.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(U,R,i){"use strict";function y(ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(pr){return typeof pr}:y=function(pr){return pr&&typeof Symbol=="function"&&pr.constructor===Symbol&&pr!==Symbol.prototype?"symbol":typeof pr},y(ye)}Object.defineProperty(R,"__esModule",{value:!0}),R.deflateInit=at,R.deflateInit2=er,R.deflateReset=Pt,R.deflateResetKeep=Bt,R.deflateSetHeader=jt,R.deflate=Ce,R.deflateEnd=ue,R.deflateSetDictionary=Dt,R.deflateInfo=R.Z_DEFLATED=R.Z_UNKNOWN=R.Z_DEFAULT_STRATEGY=R.Z_FIXED=R.Z_RLE=R.Z_HUFFMAN_ONLY=R.Z_FILTERED=R.Z_DEFAULT_COMPRESSION=R.Z_BUF_ERROR=R.Z_DATA_ERROR=R.Z_STREAM_ERROR=R.Z_STREAM_END=R.Z_OK=R.Z_BLOCK=R.Z_FINISH=R.Z_FULL_FLUSH=R.Z_PARTIAL_FLUSH=R.Z_NO_FLUSH=void 0;var m=n(i("6BzB")),E=n(i("c5fP")),p=d(i("xlC8")),v=d(i("QV2g")),f=d(i("xSIq"));function d(ye){return ye&&ye.__esModule?ye:{default:ye}}function l(){if(typeof WeakMap!="function")return null;var ye=new WeakMap;return l=function(){return ye},ye}function n(ye){if(ye&&ye.__esModule)return ye;if(ye===null||y(ye)!=="object"&&typeof ye!="function")return{default:ye};var Xt=l();if(Xt&&Xt.has(ye))return Xt.get(ye);var pr={},mt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var nr in ye)if(Object.prototype.hasOwnProperty.call(ye,nr)){var yr=mt?Object.getOwnPropertyDescriptor(ye,nr):null;yr&&(yr.get||yr.set)?Object.defineProperty(pr,nr,yr):pr[nr]=ye[nr]}return pr.default=ye,Xt&&Xt.set(ye,pr),pr}var t=0;R.Z_NO_FLUSH=t;var a=1;R.Z_PARTIAL_FLUSH=a;var s=3;R.Z_FULL_FLUSH=s;var r=4;R.Z_FINISH=r;var c=5;R.Z_BLOCK=c;var e=0;R.Z_OK=e;var o=1;R.Z_STREAM_END=o;var u=-2;R.Z_STREAM_ERROR=u;var h=-3;R.Z_DATA_ERROR=h;var g=-5;R.Z_BUF_ERROR=g;var A=-1;R.Z_DEFAULT_COMPRESSION=A;var w=1;R.Z_FILTERED=w;var x=2;R.Z_HUFFMAN_ONLY=x;var C=3;R.Z_RLE=C;var T=4;R.Z_FIXED=T;var O=0;R.Z_DEFAULT_STRATEGY=O;var S=2;R.Z_UNKNOWN=S;var _=8;R.Z_DEFLATED=_;var L=9,D=15,F=8,j=29,k=256,K=k+1+j,Z=30,B=19,V=2*K+1,z=15,X=3,W=258,q=W+X+1,Y=32,re=42,ne=69,we=73,ie=91,me=103,_e=113,Te=666,We=1,Ae=2,je=3,ee=4,he=3;function Ze(ye,Xt){return ye.msg=f.default[Xt],Xt}function oe(ye){return(ye<<1)-(ye>4?9:0)}function Q(ye){for(var Xt=ye.length;--Xt>=0;)ye[Xt]=0}function G(ye){var Xt=ye.state,pr=Xt.pending;if(pr>ye.avail_out&&(pr=ye.avail_out),pr===0)return;m.arraySet(ye.output,Xt.pending_buf,Xt.pending_out,pr,ye.next_out),ye.next_out+=pr,Xt.pending_out+=pr,ye.total_out+=pr,ye.avail_out-=pr,Xt.pending-=pr,Xt.pending===0&&(Xt.pending_out=0)}function te(ye,Xt){E._tr_flush_block(ye,ye.block_start>=0?ye.block_start:-1,ye.strstart-ye.block_start,Xt),ye.block_start=ye.strstart,G(ye.strm)}function xe(ye,Xt){ye.pending_buf[ye.pending++]=Xt}function fe(ye,Xt){ye.pending_buf[ye.pending++]=Xt>>>8&255,ye.pending_buf[ye.pending++]=Xt&255}function Be(ye,Xt,pr,mt){var nr=ye.avail_in;return nr>mt&&(nr=mt),nr===0?0:(ye.avail_in-=nr,m.arraySet(Xt,ye.input,ye.next_in,nr,pr),ye.state.wrap===1?ye.adler=(0,p.default)(ye.adler,Xt,nr,pr):ye.state.wrap===2&&(ye.adler=(0,v.default)(ye.adler,Xt,nr,pr)),ye.next_in+=nr,ye.total_in+=nr,nr)}function Ne(ye,Xt){var pr=ye.max_chain_length,mt=ye.strstart,nr,yr,gn=ye.prev_length,_r=ye.nice_match,ur=ye.strstart>ye.w_size-q?ye.strstart-(ye.w_size-q):0,zt=ye.window,bt=ye.w_mask,ot=ye.prev,lr=ye.strstart+W,jr=zt[mt+gn-1],Rr=zt[mt+gn];ye.prev_length>=ye.good_match&&(pr>>=2),_r>ye.lookahead&&(_r=ye.lookahead);do{if(nr=Xt,zt[nr+gn]!==Rr||zt[nr+gn-1]!==jr||zt[nr]!==zt[mt]||zt[++nr]!==zt[mt+1])continue;mt+=2,nr++;do;while(zt[++mt]===zt[++nr]&&zt[++mt]===zt[++nr]&&zt[++mt]===zt[++nr]&&zt[++mt]===zt[++nr]&&zt[++mt]===zt[++nr]&&zt[++mt]===zt[++nr]&&zt[++mt]===zt[++nr]&&zt[++mt]===zt[++nr]&&mt<lr);if(yr=W-(lr-mt),mt=lr-W,yr>gn){if(ye.match_start=Xt,gn=yr,yr>=_r)break;jr=zt[mt+gn-1],Rr=zt[mt+gn]}}while((Xt=ot[Xt&bt])>ur&&--pr!==0);return gn<=ye.lookahead?gn:ye.lookahead}function de(ye){var Xt=ye.w_size,pr,mt,nr,yr,gn;do{if(yr=ye.window_size-ye.lookahead-ye.strstart,ye.strstart>=Xt+(Xt-q)){m.arraySet(ye.window,ye.window,Xt,Xt,0),ye.match_start-=Xt,ye.strstart-=Xt,ye.block_start-=Xt,mt=ye.hash_size,pr=mt;do nr=ye.head[--pr],ye.head[pr]=nr>=Xt?nr-Xt:0;while(--mt);mt=Xt,pr=mt;do nr=ye.prev[--pr],ye.prev[pr]=nr>=Xt?nr-Xt:0;while(--mt);yr+=Xt}if(ye.strm.avail_in===0)break;if(mt=Be(ye.strm,ye.window,ye.strstart+ye.lookahead,yr),ye.lookahead+=mt,ye.lookahead+ye.insert>=X)for(gn=ye.strstart-ye.insert,ye.ins_h=ye.window[gn],ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[gn+1])&ye.hash_mask;ye.insert&&!(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[gn+X-1])&ye.hash_mask,ye.prev[gn&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=gn,gn++,ye.insert--,ye.lookahead+ye.insert<X););}while(ye.lookahead<q&&ye.strm.avail_in!==0)}function ve(ye,Xt){var pr=65535;for(pr>ye.pending_buf_size-5&&(pr=ye.pending_buf_size-5);;){if(ye.lookahead<=1){if(de(ye),ye.lookahead===0&&Xt===t)return We;if(ye.lookahead===0)break}ye.strstart+=ye.lookahead,ye.lookahead=0;var mt=ye.block_start+pr;if((ye.strstart===0||ye.strstart>=mt)&&(ye.lookahead=ye.strstart-mt,ye.strstart=mt,te(ye,!1),ye.strm.avail_out===0))return We;if(ye.strstart-ye.block_start>=ye.w_size-q&&(te(ye,!1),ye.strm.avail_out===0))return We}return ye.insert=0,Xt===r?(te(ye,!0),ye.strm.avail_out===0?je:ee):(ye.strstart>ye.block_start&&(te(ye,!1),ye.strm.avail_out===0),We)}function Me(ye,Xt){for(var pr,mt;;){if(ye.lookahead<q){if(de(ye),ye.lookahead<q&&Xt===t)return We;if(ye.lookahead===0)break}if(pr=0,ye.lookahead>=X&&(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+X-1])&ye.hash_mask,pr=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart),pr!==0&&ye.strstart-pr<=ye.w_size-q&&(ye.match_length=Ne(ye,pr)),ye.match_length>=X)if(mt=E._tr_tally(ye,ye.strstart-ye.match_start,ye.match_length-X),ye.lookahead-=ye.match_length,ye.match_length<=ye.max_lazy_match&&ye.lookahead>=X){ye.match_length--;do ye.strstart++,ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+X-1])&ye.hash_mask,pr=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart;while(--ye.match_length!==0);ye.strstart++}else ye.strstart+=ye.match_length,ye.match_length=0,ye.ins_h=ye.window[ye.strstart],ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+1])&ye.hash_mask;else mt=E._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++;if(mt&&(te(ye,!1),ye.strm.avail_out===0))return We}return ye.insert=ye.strstart<X-1?ye.strstart:X-1,Xt===r?(te(ye,!0),ye.strm.avail_out===0?je:ee):ye.last_lit&&(te(ye,!1),ye.strm.avail_out===0)?We:Ae}function qe(ye,Xt){for(var pr,mt,nr;;){if(ye.lookahead<q){if(de(ye),ye.lookahead<q&&Xt===t)return We;if(ye.lookahead===0)break}if(pr=0,ye.lookahead>=X&&(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+X-1])&ye.hash_mask,pr=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart),ye.prev_length=ye.match_length,ye.prev_match=ye.match_start,ye.match_length=X-1,pr!==0&&ye.prev_length<ye.max_lazy_match&&ye.strstart-pr<=ye.w_size-q&&(ye.match_length=Ne(ye,pr),ye.match_length<=5&&(ye.strategy===w||ye.match_length===X&&ye.strstart-ye.match_start>4096)&&(ye.match_length=X-1)),ye.prev_length>=X&&ye.match_length<=ye.prev_length){nr=ye.strstart+ye.lookahead-X,mt=E._tr_tally(ye,ye.strstart-1-ye.prev_match,ye.prev_length-X),ye.lookahead-=ye.prev_length-1,ye.prev_length-=2;do++ye.strstart<=nr&&(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+X-1])&ye.hash_mask,pr=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart);while(--ye.prev_length!==0);if(ye.match_available=0,ye.match_length=X-1,ye.strstart++,mt&&(te(ye,!1),ye.strm.avail_out===0))return We}else if(ye.match_available){if(mt=E._tr_tally(ye,0,ye.window[ye.strstart-1]),mt&&te(ye,!1),ye.strstart++,ye.lookahead--,ye.strm.avail_out===0)return We}else ye.match_available=1,ye.strstart++,ye.lookahead--}return ye.match_available&&(mt=E._tr_tally(ye,0,ye.window[ye.strstart-1]),ye.match_available=0),ye.insert=ye.strstart<X-1?ye.strstart:X-1,Xt===r?(te(ye,!0),ye.strm.avail_out===0?je:ee):ye.last_lit&&(te(ye,!1),ye.strm.avail_out===0)?We:Ae}function gt(ye,Xt){for(var pr,mt,nr,yr,gn=ye.window;;){if(ye.lookahead<=W){if(de(ye),ye.lookahead<=W&&Xt===t)return We;if(ye.lookahead===0)break}if(ye.match_length=0,ye.lookahead>=X&&ye.strstart>0&&(nr=ye.strstart-1,mt=gn[nr],mt===gn[++nr]&&mt===gn[++nr]&&mt===gn[++nr])){yr=ye.strstart+W;do;while(mt===gn[++nr]&&mt===gn[++nr]&&mt===gn[++nr]&&mt===gn[++nr]&&mt===gn[++nr]&&mt===gn[++nr]&&mt===gn[++nr]&&mt===gn[++nr]&&nr<yr);ye.match_length=W-(yr-nr),ye.match_length>ye.lookahead&&(ye.match_length=ye.lookahead)}if(ye.match_length>=X?(pr=E._tr_tally(ye,1,ye.match_length-X),ye.lookahead-=ye.match_length,ye.strstart+=ye.match_length,ye.match_length=0):(pr=E._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++),pr&&(te(ye,!1),ye.strm.avail_out===0))return We}return ye.insert=0,Xt===r?(te(ye,!0),ye.strm.avail_out===0?je:ee):ye.last_lit&&(te(ye,!1),ye.strm.avail_out===0)?We:Ae}function ht(ye,Xt){for(var pr;;){if(ye.lookahead===0&&(de(ye),ye.lookahead===0)){if(Xt===t)return We;break}if(ye.match_length=0,pr=E._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++,pr&&(te(ye,!1),ye.strm.avail_out===0))return We}return ye.insert=0,Xt===r?(te(ye,!0),ye.strm.avail_out===0?je:ee):ye.last_lit&&(te(ye,!1),ye.strm.avail_out===0)?We:Ae}function Pe(ye,Xt,pr,mt,nr){this.good_length=ye,this.max_lazy=Xt,this.nice_length=pr,this.max_chain=mt,this.func=nr}var It;It=[new Pe(0,0,0,0,ve),new Pe(4,4,8,4,Me),new Pe(4,5,16,8,Me),new Pe(4,6,32,32,Me),new Pe(4,4,16,16,qe),new Pe(8,16,32,32,qe),new Pe(8,16,128,128,qe),new Pe(8,32,128,256,qe),new Pe(32,128,258,1024,qe),new Pe(32,258,258,4096,qe)];function nt(ye){ye.window_size=2*ye.w_size,Q(ye.head),ye.max_lazy_match=It[ye.level].max_lazy,ye.good_match=It[ye.level].good_length,ye.nice_match=It[ye.level].nice_length,ye.max_chain_length=It[ye.level].max_chain,ye.strstart=0,ye.block_start=0,ye.lookahead=0,ye.insert=0,ye.match_length=ye.prev_length=X-1,ye.match_available=0,ye.ins_h=0}function Nt(){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=_,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 m.Buf16(V*2),this.dyn_dtree=new m.Buf16((2*Z+1)*2),this.bl_tree=new m.Buf16((2*B+1)*2),Q(this.dyn_ltree),Q(this.dyn_dtree),Q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new m.Buf16(z+1),this.heap=new m.Buf16(2*K+1),Q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new m.Buf16(2*K+1),Q(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Bt(ye){var Xt;return!ye||!ye.state?Ze(ye,u):(ye.total_in=ye.total_out=0,ye.data_type=S,Xt=ye.state,Xt.pending=0,Xt.pending_out=0,Xt.wrap<0&&(Xt.wrap=-Xt.wrap),Xt.status=Xt.wrap?re:_e,ye.adler=Xt.wrap===2?0:1,Xt.last_flush=t,E._tr_init(Xt),e)}function Pt(ye){var Xt=Bt(ye);return Xt===e&&nt(ye.state),Xt}function jt(ye,Xt){return!ye||!ye.state||ye.state.wrap!==2?u:(ye.state.gzhead=Xt,e)}function er(ye,Xt,pr,mt,nr,yr){if(!ye)return u;var gn=1;if(Xt===A&&(Xt=6),mt<0?(gn=0,mt=-mt):mt>15&&(gn=2,mt-=16),nr<1||nr>L||pr!==_||mt<8||mt>15||Xt<0||Xt>9||yr<0||yr>T)return Ze(ye,u);mt===8&&(mt=9);var _r=new Nt;return ye.state=_r,_r.strm=ye,_r.wrap=gn,_r.gzhead=null,_r.w_bits=mt,_r.w_size=1<<_r.w_bits,_r.w_mask=_r.w_size-1,_r.hash_bits=nr+7,_r.hash_size=1<<_r.hash_bits,_r.hash_mask=_r.hash_size-1,_r.hash_shift=~~((_r.hash_bits+X-1)/X),_r.window=new m.Buf8(_r.w_size*2),_r.head=new m.Buf16(_r.hash_size),_r.prev=new m.Buf16(_r.w_size),_r.lit_bufsize=1<<nr+6,_r.pending_buf_size=_r.lit_bufsize*4,_r.pending_buf=new m.Buf8(_r.pending_buf_size),_r.d_buf=1*_r.lit_bufsize,_r.l_buf=(1+2)*_r.lit_bufsize,_r.level=Xt,_r.strategy=yr,_r.method=pr,Pt(ye)}function at(ye,Xt){return er(ye,Xt,_,D,F,O)}function Ce(ye,Xt){var pr,mt,nr,yr;if(!ye||!ye.state||Xt>c||Xt<0)return ye?Ze(ye,u):u;if(mt=ye.state,!ye.output||!ye.input&&ye.avail_in!==0||mt.status===Te&&Xt!==r)return Ze(ye,ye.avail_out===0?g:u);if(mt.strm=ye,pr=mt.last_flush,mt.last_flush=Xt,mt.status===re)if(mt.wrap===2)ye.adler=0,xe(mt,31),xe(mt,139),xe(mt,8),mt.gzhead?(xe(mt,(mt.gzhead.text?1:0)+(mt.gzhead.hcrc?2:0)+(mt.gzhead.extra?4:0)+(mt.gzhead.name?8:0)+(mt.gzhead.comment?16:0)),xe(mt,mt.gzhead.time&255),xe(mt,mt.gzhead.time>>8&255),xe(mt,mt.gzhead.time>>16&255),xe(mt,mt.gzhead.time>>24&255),xe(mt,mt.level===9?2:mt.strategy>=x||mt.level<2?4:0),xe(mt,mt.gzhead.os&255),mt.gzhead.extra&&mt.gzhead.extra.length&&(xe(mt,mt.gzhead.extra.length&255),xe(mt,mt.gzhead.extra.length>>8&255)),mt.gzhead.hcrc&&(ye.adler=(0,v.default)(ye.adler,mt.pending_buf,mt.pending,0)),mt.gzindex=0,mt.status=ne):(xe(mt,0),xe(mt,0),xe(mt,0),xe(mt,0),xe(mt,0),xe(mt,mt.level===9?2:mt.strategy>=x||mt.level<2?4:0),xe(mt,he),mt.status=_e);else{var gn=_+(mt.w_bits-8<<4)<<8,_r=-1;mt.strategy>=x||mt.level<2?_r=0:mt.level<6?_r=1:mt.level===6?_r=2:_r=3,gn|=_r<<6,mt.strstart!==0&&(gn|=Y),gn+=31-gn%31,mt.status=_e,fe(mt,gn),mt.strstart!==0&&(fe(mt,ye.adler>>>16),fe(mt,ye.adler&65535)),ye.adler=1}if(mt.status===ne)if(mt.gzhead.extra){for(nr=mt.pending;mt.gzindex<(mt.gzhead.extra.length&65535)&&!(mt.pending===mt.pending_buf_size&&(mt.gzhead.hcrc&&mt.pending>nr&&(ye.adler=(0,v.default)(ye.adler,mt.pending_buf,mt.pending-nr,nr)),G(ye),nr=mt.pending,mt.pending===mt.pending_buf_size));)xe(mt,mt.gzhead.extra[mt.gzindex]&255),mt.gzindex++;mt.gzhead.hcrc&&mt.pending>nr&&(ye.adler=(0,v.default)(ye.adler,mt.pending_buf,mt.pending-nr,nr)),mt.gzindex===mt.gzhead.extra.length&&(mt.gzindex=0,mt.status=we)}else mt.status=we;if(mt.status===we)if(mt.gzhead.name){nr=mt.pending;do{if(mt.pending===mt.pending_buf_size&&(mt.gzhead.hcrc&&mt.pending>nr&&(ye.adler=(0,v.default)(ye.adler,mt.pending_buf,mt.pending-nr,nr)),G(ye),nr=mt.pending,mt.pending===mt.pending_buf_size)){yr=1;break}mt.gzindex<mt.gzhead.name.length?yr=mt.gzhead.name.charCodeAt(mt.gzindex++)&255:yr=0,xe(mt,yr)}while(yr!==0);mt.gzhead.hcrc&&mt.pending>nr&&(ye.adler=(0,v.default)(ye.adler,mt.pending_buf,mt.pending-nr,nr)),yr===0&&(mt.gzindex=0,mt.status=ie)}else mt.status=ie;if(mt.status===ie)if(mt.gzhead.comment){nr=mt.pending;do{if(mt.pending===mt.pending_buf_size&&(mt.gzhead.hcrc&&mt.pending>nr&&(ye.adler=(0,v.default)(ye.adler,mt.pending_buf,mt.pending-nr,nr)),G(ye),nr=mt.pending,mt.pending===mt.pending_buf_size)){yr=1;break}mt.gzindex<mt.gzhead.comment.length?yr=mt.gzhead.comment.charCodeAt(mt.gzindex++)&255:yr=0,xe(mt,yr)}while(yr!==0);mt.gzhead.hcrc&&mt.pending>nr&&(ye.adler=(0,v.default)(ye.adler,mt.pending_buf,mt.pending-nr,nr)),yr===0&&(mt.status=me)}else mt.status=me;if(mt.status===me&&(mt.gzhead.hcrc?(mt.pending+2>mt.pending_buf_size&&G(ye),mt.pending+2<=mt.pending_buf_size&&(xe(mt,ye.adler&255),xe(mt,ye.adler>>8&255),ye.adler=0,mt.status=_e)):mt.status=_e),mt.pending!==0){if(G(ye),ye.avail_out===0)return mt.last_flush=-1,e}else if(ye.avail_in===0&&oe(Xt)<=oe(pr)&&Xt!==r)return Ze(ye,g);if(mt.status===Te&&ye.avail_in!==0)return Ze(ye,g);if(ye.avail_in!==0||mt.lookahead!==0||Xt!==t&&mt.status!==Te){var ur=mt.strategy===x?ht(mt,Xt):mt.strategy===C?gt(mt,Xt):It[mt.level].func(mt,Xt);if((ur===je||ur===ee)&&(mt.status=Te),ur===We||ur===je)return ye.avail_out===0&&(mt.last_flush=-1),e;if(ur===Ae&&(Xt===a?E._tr_align(mt):Xt!==c&&(E._tr_stored_block(mt,0,0,!1),Xt===s&&(Q(mt.head),mt.lookahead===0&&(mt.strstart=0,mt.block_start=0,mt.insert=0))),G(ye),ye.avail_out===0))return mt.last_flush=-1,e}return Xt!==r?e:mt.wrap<=0?o:(mt.wrap===2?(xe(mt,ye.adler&255),xe(mt,ye.adler>>8&255),xe(mt,ye.adler>>16&255),xe(mt,ye.adler>>24&255),xe(mt,ye.total_in&255),xe(mt,ye.total_in>>8&255),xe(mt,ye.total_in>>16&255),xe(mt,ye.total_in>>24&255)):(fe(mt,ye.adler>>>16),fe(mt,ye.adler&65535)),G(ye),mt.wrap>0&&(mt.wrap=-mt.wrap),mt.pending!==0?e:o)}function ue(ye){var Xt;return!ye||!ye.state?u:(Xt=ye.state.status,Xt!==re&&Xt!==ne&&Xt!==we&&Xt!==ie&&Xt!==me&&Xt!==_e&&Xt!==Te?Ze(ye,u):(ye.state=null,Xt===_e?Ze(ye,h):e))}function Dt(ye,Xt){var pr=Xt.length,mt,nr,yr,gn,_r,ur,zt,bt;if(!ye||!ye.state)return u;if(mt=ye.state,gn=mt.wrap,gn===2||gn===1&&mt.status!==re||mt.lookahead)return u;for(gn===1&&(ye.adler=(0,p.default)(ye.adler,Xt,pr,0)),mt.wrap=0,pr>=mt.w_size&&(gn===0&&(Q(mt.head),mt.strstart=0,mt.block_start=0,mt.insert=0),bt=new m.Buf8(mt.w_size),m.arraySet(bt,Xt,pr-mt.w_size,mt.w_size,0),Xt=bt,pr=mt.w_size),_r=ye.avail_in,ur=ye.next_in,zt=ye.input,ye.avail_in=pr,ye.next_in=0,ye.input=Xt,de(mt);mt.lookahead>=X;){nr=mt.strstart,yr=mt.lookahead-(X-1);do mt.ins_h=(mt.ins_h<<mt.hash_shift^mt.window[nr+X-1])&mt.hash_mask,mt.prev[nr&mt.w_mask]=mt.head[mt.ins_h],mt.head[mt.ins_h]=nr,nr++;while(--yr);mt.strstart=nr,mt.lookahead=X-1,de(mt)}return mt.strstart+=mt.lookahead,mt.block_start=mt.strstart,mt.insert=mt.lookahead,mt.lookahead=0,mt.match_length=mt.prev_length=X-1,mt.match_available=0,ye.next_in=ur,ye.input=zt,ye.avail_in=_r,mt.wrap=gn,e}var rt="pako deflate (from Nodeca project)";R.deflateInfo=rt},lOQZ:function(U,R,i){var y=i("QBsz"),m=i("U/Mo"),E=m.getSymbolSize,p=m.getNodeGlobalScale,v=Math.PI,f=[];function d(n,t){var a=n.coordinateSystem;if(a&&a.type!=="view")return;var s=a.getBoundingRect(),r=n.getData(),c=r.graph,e=s.width/2+s.x,o=s.height/2+s.y,u=Math.min(s.width,s.height)/2,h=r.count();if(r.setLayout({cx:e,cy:o}),!h)return;l[t](n,a,c,r,u,e,o,h),c.eachEdge(function(g){var A=g.getModel().get("lineStyle.curveness")||0,w=y.clone(g.node1.getLayout()),x=y.clone(g.node2.getLayout()),C,T=(w[0]+x[0])/2,O=(w[1]+x[1])/2;+A&&(A*=3,C=[e*A+T*(1-A),o*A+O*(1-A)]),g.setLayout([w,x,C])})}var l={value:function(n,t,a,s,r,c,e,o){var u=0,h=s.getSum("value"),g=Math.PI*2/(h||o);a.eachNode(function(A){var w=A.getValue("value"),x=g*(h?w:1)/2;u+=x,A.setLayout([r*Math.cos(u)+c,r*Math.sin(u)+e]),u+=x})},symbolSize:function(n,t,a,s,r,c,e,o){var u=0;f.length=o;var h=p(n);a.eachNode(function(w){var x=E(w);isNaN(x)&&(x=2),x<0&&(x=0),x*=h;var C=Math.asin(x/2/r);isNaN(C)&&(C=v/2),f[w.dataIndex]=C,u+=C*2});var g=(2*v-u)/o/2,A=0;a.eachNode(function(w){var x=g+f[w.dataIndex];A+=x,w.setLayout([r*Math.cos(A)+c,r*Math.sin(A)+e]),A+=x})}};R.circularLayout=d},lUTK:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("x54q"),p=i.n(E),v=i("5Dmo")},lZu9:function(U,R,i){(function(y){y(i("VrN/"),i("1eCo"),i("8EBN"))})(function(y){"use strict";y.defineMode("markdown",function(m,E){var p=y.getMode(m,"text/html"),v=p.name=="null";function f(z){if(y.findModeByName){var X=y.findModeByName(z);X&&(z=X.mime||X.mimes[0])}var W=y.getMode(m,z);return W.name=="null"?null:W}E.highlightFormatting===void 0&&(E.highlightFormatting=!1),E.maxBlockquoteDepth===void 0&&(E.maxBlockquoteDepth=0),E.taskLists===void 0&&(E.taskLists=!1),E.strikethrough===void 0&&(E.strikethrough=!1),E.emoji===void 0&&(E.emoji=!1),E.fencedCodeBlockHighlighting===void 0&&(E.fencedCodeBlockHighlighting=!0),E.fencedCodeBlockDefaultMode===void 0&&(E.fencedCodeBlockDefaultMode="text/plain"),E.xml===void 0&&(E.xml=!0),E.tokenTypeOverrides===void 0&&(E.tokenTypeOverrides={});var d={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 l in d)d.hasOwnProperty(l)&&E.tokenTypeOverrides[l]&&(d[l]=E.tokenTypeOverrides[l]);var n=/^([*\-_])(?:\s*\1){2,}\s*$/,t=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,a=/^\[(x| )\](?=\s)/i,s=E.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,r=/^ {0,3}(?:\={1,}|-{2,})\s*$/,c=/^[^#!\[\]*_\\<>` "'(~:]+/,e=/^(~~~+|```+)[ \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 g(z,X,W){return X.f=X.inline=W,W(z,X)}function A(z,X,W){return X.f=X.block=W,W(z,X)}function w(z){return!z||!/\S/.test(z.string)}function x(z){if(z.linkTitle=!1,z.linkHref=!1,z.linkText=!1,z.em=!1,z.strong=!1,z.strikethrough=!1,z.quote=0,z.indentedCode=!1,z.f==T){var X=v;if(!X){var W=y.innerMode(p,z.htmlState);X=W.mode.name=="xml"&&W.state.tagStart===null&&!W.state.context&&W.state.tokenize.isInText}X&&(z.f=L,z.block=C,z.htmlState=null)}return z.trailingSpace=0,z.trailingSpaceNewLine=!1,z.prevLine=z.thisLine,z.thisLine={stream:null},null}function C(z,X){var W=z.column()===X.indentation,q=w(X.prevLine.stream),Y=X.indentedCode,re=X.prevLine.hr,ne=X.list!==!1,we=(X.listStack[X.listStack.length-1]||0)+3;X.indentedCode=!1;var ie=X.indentation;if(X.indentationDiff===null&&(X.indentationDiff=X.indentation,ne)){for(X.list=null;ie<X.listStack[X.listStack.length-1];)X.listStack.pop(),X.listStack.length?X.indentation=X.listStack[X.listStack.length-1]:X.list=!1;X.list!==!1&&(X.indentationDiff=ie-X.listStack[X.listStack.length-1])}var me=!q&&!re&&!X.prevLine.header&&(!ne||!Y)&&!X.prevLine.fencedCodeEnd,_e=(X.list===!1||re||q)&&X.indentation<=we&&z.match(n),Te=null;if(X.indentationDiff>=4&&(Y||X.prevLine.fencedCodeEnd||X.prevLine.header||q))return z.skipToEnd(),X.indentedCode=!0,d.code;if(z.eatSpace())return null;if(W&&X.indentation<=we&&(Te=z.match(s))&&Te[1].length<=6)return X.quote=0,X.header=Te[1].length,X.thisLine.header=!0,E.highlightFormatting&&(X.formatting="header"),X.f=X.inline,S(X);if(X.indentation<=we&&z.eat(">"))return X.quote=W?1:X.quote+1,E.highlightFormatting&&(X.formatting="quote"),z.eatSpace(),S(X);if(!_e&&!X.setext&&W&&X.indentation<=we&&(Te=z.match(t))){var We=Te[1]?"ol":"ul";return X.indentation=ie+z.current().length,X.list=!0,X.quote=0,X.listStack.push(X.indentation),X.em=!1,X.strong=!1,X.code=!1,X.strikethrough=!1,E.taskLists&&z.match(a,!1)&&(X.taskList=!0),X.f=X.inline,E.highlightFormatting&&(X.formatting=["list","list-"+We]),S(X)}else{if(W&&X.indentation<=we&&(Te=z.match(e,!0)))return X.quote=0,X.fencedEndRE=new RegExp(Te[1]+"+ *$"),X.localMode=E.fencedCodeBlockHighlighting&&f(Te[2]||E.fencedCodeBlockDefaultMode),X.localMode&&(X.localState=y.startState(X.localMode)),X.f=X.block=O,E.highlightFormatting&&(X.formatting="code-block"),X.code=-1,S(X);if(X.setext||(!me||!ne)&&!X.quote&&X.list===!1&&!X.code&&!_e&&!o.test(z.string)&&(Te=z.lookAhead(1))&&(Te=Te.match(r)))return X.setext?(X.header=X.setext,X.setext=0,z.skipToEnd(),E.highlightFormatting&&(X.formatting="header")):(X.header=Te[0].charAt(0)=="="?1:2,X.setext=X.header),X.thisLine.header=!0,X.f=X.inline,S(X);if(_e)return z.skipToEnd(),X.hr=!0,X.thisLine.hr=!0,d.hr;if(z.peek()==="[")return g(z,X,K)}return g(z,X,X.inline)}function T(z,X){var W=p.token(z,X.htmlState);if(!v){var q=y.innerMode(p,X.htmlState);(q.mode.name=="xml"&&q.state.tagStart===null&&!q.state.context&&q.state.tokenize.isInText||X.md_inside&&z.current().indexOf(">")>-1)&&(X.f=L,X.block=C,X.htmlState=null)}return W}function O(z,X){var W=X.listStack[X.listStack.length-1]||0,q=X.indentation<W,Y=W+3;if(X.fencedEndRE&&X.indentation<=Y&&(q||z.match(X.fencedEndRE))){E.highlightFormatting&&(X.formatting="code-block");var re;return q||(re=S(X)),X.localMode=X.localState=null,X.block=C,X.f=L,X.fencedEndRE=null,X.code=0,X.thisLine.fencedCodeEnd=!0,q?A(z,X,X.block):re}else return X.localMode?X.localMode.token(z,X.localState):(z.skipToEnd(),d.code)}function S(z){var X=[];if(z.formatting){X.push(d.formatting),typeof z.formatting=="string"&&(z.formatting=[z.formatting]);for(var W=0;W<z.formatting.length;W++)X.push(d.formatting+"-"+z.formatting[W]),z.formatting[W]==="header"&&X.push(d.formatting+"-"+z.formatting[W]+"-"+z.header),z.formatting[W]==="quote"&&(!E.maxBlockquoteDepth||E.maxBlockquoteDepth>=z.quote?X.push(d.formatting+"-"+z.formatting[W]+"-"+z.quote):X.push("error"))}if(z.taskOpen)return X.push("meta"),X.length?X.join(" "):null;if(z.taskClosed)return X.push("property"),X.length?X.join(" "):null;if(z.linkHref?X.push(d.linkHref,"url"):(z.strong&&X.push(d.strong),z.em&&X.push(d.em),z.strikethrough&&X.push(d.strikethrough),z.emoji&&X.push(d.emoji),z.linkText&&X.push(d.linkText),z.code&&X.push(d.code),z.image&&X.push(d.image),z.imageAltText&&X.push(d.imageAltText,"link"),z.imageMarker&&X.push(d.imageMarker)),z.header&&X.push(d.header,d.header+"-"+z.header),z.quote&&(X.push(d.quote),!E.maxBlockquoteDepth||E.maxBlockquoteDepth>=z.quote?X.push(d.quote+"-"+z.quote):X.push(d.quote+"-"+E.maxBlockquoteDepth)),z.list!==!1){var q=(z.listStack.length-1)%3;q?q===1?X.push(d.list2):X.push(d.list3):X.push(d.list1)}return z.trailingSpaceNewLine?X.push("trailing-space-new-line"):z.trailingSpace&&X.push("trailing-space-"+(z.trailingSpace%2?"a":"b")),X.length?X.join(" "):null}function _(z,X){return z.match(c,!0)?S(X):void 0}function L(z,X){var W=X.text(z,X);if(typeof W!="undefined")return W;if(X.list)return X.list=null,S(X);if(X.taskList){var q=z.match(a,!0)[1]===" ";return q?X.taskOpen=!0:X.taskClosed=!0,E.highlightFormatting&&(X.formatting="task"),X.taskList=!1,S(X)}if(X.taskOpen=!1,X.taskClosed=!1,X.header&&z.match(/^#+$/,!0))return E.highlightFormatting&&(X.formatting="header"),S(X);var Y=z.next();if(X.linkTitle){X.linkTitle=!1;var re=Y;Y==="("&&(re=")"),re=(re+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ne="^\\s*(?:[^"+re+"\\\\]+|\\\\\\\\|\\\\.)"+re;if(z.match(new RegExp(ne),!0))return d.linkHref}if(Y==="`"){var we=X.formatting;E.highlightFormatting&&(X.formatting="code"),z.eatWhile("`");var ie=z.current().length;if(X.code==0&&(!X.quote||ie==1))return X.code=ie,S(X);if(ie==X.code){var me=S(X);return X.code=0,me}else return X.formatting=we,S(X)}else if(X.code)return S(X);if(Y==="\\"&&(z.next(),E.highlightFormatting)){var _e=S(X),Te=d.formatting+"-escape";return _e?_e+" "+Te:Te}if(Y==="!"&&z.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return X.imageMarker=!0,X.image=!0,E.highlightFormatting&&(X.formatting="image"),S(X);if(Y==="["&&X.imageMarker&&z.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return X.imageMarker=!1,X.imageAltText=!0,E.highlightFormatting&&(X.formatting="image"),S(X);if(Y==="]"&&X.imageAltText){E.highlightFormatting&&(X.formatting="image");var _e=S(X);return X.imageAltText=!1,X.image=!1,X.inline=X.f=F,_e}if(Y==="["&&!X.image)return X.linkText&&z.match(/^.*?\]/)||(X.linkText=!0,E.highlightFormatting&&(X.formatting="link")),S(X);if(Y==="]"&&X.linkText){E.highlightFormatting&&(X.formatting="link");var _e=S(X);return X.linkText=!1,X.inline=X.f=z.match(/\(.*?\)| ?\[.*?\]/,!1)?F:L,_e}if(Y==="<"&&z.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){X.f=X.inline=D,E.highlightFormatting&&(X.formatting="link");var _e=S(X);return _e?_e+=" ":_e="",_e+d.linkInline}if(Y==="<"&&z.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){X.f=X.inline=D,E.highlightFormatting&&(X.formatting="link");var _e=S(X);return _e?_e+=" ":_e="",_e+d.linkEmail}if(E.xml&&Y==="<"&&z.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var We=z.string.indexOf(">",z.pos);if(We!=-1){var Ae=z.string.substring(z.start,We);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ae)&&(X.md_inside=!0)}return z.backUp(1),X.htmlState=y.startState(p),A(z,X,T)}if(E.xml&&Y==="<"&&z.match(/^\/\w*?>/))return X.md_inside=!1,"tag";if(Y==="*"||Y==="_"){for(var je=1,ee=z.pos==1?" ":z.string.charAt(z.pos-2);je<3&&z.eat(Y);)je++;var he=z.peek()||" ",Ze=!/\s/.test(he)&&(!u.test(he)||/\s/.test(ee)||u.test(ee)),oe=!/\s/.test(ee)&&(!u.test(ee)||/\s/.test(he)||u.test(he)),Q=null,G=null;if(je%2&&(!X.em&&Ze&&(Y==="*"||!oe||u.test(ee))?Q=!0:X.em==Y&&oe&&(Y==="*"||!Ze||u.test(he))&&(Q=!1)),je>1&&(!X.strong&&Ze&&(Y==="*"||!oe||u.test(ee))?G=!0:X.strong==Y&&oe&&(Y==="*"||!Ze||u.test(he))&&(G=!1)),G!=null||Q!=null){E.highlightFormatting&&(X.formatting=Q==null?"strong":G==null?"em":"strong em"),Q===!0&&(X.em=Y),G===!0&&(X.strong=Y);var me=S(X);return Q===!1&&(X.em=!1),G===!1&&(X.strong=!1),me}}else if(Y===" "&&(z.eat("*")||z.eat("_"))){if(z.peek()===" ")return S(X);z.backUp(1)}if(E.strikethrough){if(Y==="~"&&z.eatWhile(Y)){if(X.strikethrough){E.highlightFormatting&&(X.formatting="strikethrough");var me=S(X);return X.strikethrough=!1,me}else if(z.match(/^[^\s]/,!1))return X.strikethrough=!0,E.highlightFormatting&&(X.formatting="strikethrough"),S(X)}else if(Y===" "&&z.match(/^~~/,!0)){if(z.peek()===" ")return S(X);z.backUp(2)}}if(E.emoji&&Y===":"&&z.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){X.emoji=!0,E.highlightFormatting&&(X.formatting="emoji");var te=S(X);return X.emoji=!1,te}return Y===" "&&(z.match(/^ +$/,!1)?X.trailingSpace++:X.trailingSpace&&(X.trailingSpaceNewLine=!0)),S(X)}function D(z,X){var W=z.next();if(W===">"){X.f=X.inline=L,E.highlightFormatting&&(X.formatting="link");var q=S(X);return q?q+=" ":q="",q+d.linkInline}return z.match(/^[^>]+/,!0),d.linkInline}function F(z,X){if(z.eatSpace())return null;var W=z.next();return W==="("||W==="["?(X.f=X.inline=k(W==="("?")":"]"),E.highlightFormatting&&(X.formatting="link-string"),X.linkHref=!0,S(X)):"error"}var j={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function k(z){return function(X,W){var q=X.next();if(q===z){W.f=W.inline=L,E.highlightFormatting&&(W.formatting="link-string");var Y=S(W);return W.linkHref=!1,Y}return X.match(j[z]),W.linkHref=!0,S(W)}}function K(z,X){return z.match(/^([^\]\\]|\\.)*\]:/,!1)?(X.f=Z,z.next(),E.highlightFormatting&&(X.formatting="link"),X.linkText=!0,S(X)):g(z,X,L)}function Z(z,X){if(z.match(/^\]:/,!0)){X.f=X.inline=B,E.highlightFormatting&&(X.formatting="link");var W=S(X);return X.linkText=!1,W}return z.match(/^([^\]\\]|\\.)+/,!0),d.linkText}function B(z,X){return z.eatSpace()?null:(z.match(/^[^\s]+/,!0),z.peek()===void 0?X.linkTitle=!0:z.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),X.f=X.inline=L,d.linkHref+" url")}var V={startState:function(){return{f:C,prevLine:{stream:null},thisLine:{stream:null},block:C,htmlState:null,indentation:0,inline:L,text:_,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(X){return{f:X.f,prevLine:X.prevLine,thisLine:X.thisLine,block:X.block,htmlState:X.htmlState&&y.copyState(p,X.htmlState),indentation:X.indentation,localMode:X.localMode,localState:X.localMode?y.copyState(X.localMode,X.localState):null,inline:X.inline,text:X.text,formatting:!1,linkText:X.linkText,linkTitle:X.linkTitle,linkHref:X.linkHref,code:X.code,em:X.em,strong:X.strong,strikethrough:X.strikethrough,emoji:X.emoji,header:X.header,setext:X.setext,hr:X.hr,taskList:X.taskList,list:X.list,listStack:X.listStack.slice(0),quote:X.quote,indentedCode:X.indentedCode,trailingSpace:X.trailingSpace,trailingSpaceNewLine:X.trailingSpaceNewLine,md_inside:X.md_inside,fencedEndRE:X.fencedEndRE}},token:function(X,W){if(W.formatting=!1,X!=W.thisLine.stream){if(W.header=0,W.hr=!1,X.match(/^\s*$/,!0))return x(W),null;if(W.prevLine=W.thisLine,W.thisLine={stream:X},W.taskList=!1,W.trailingSpace=0,W.trailingSpaceNewLine=!1,!W.localState&&(W.f=W.block,W.f!=T)){var q=X.match(/^\s*/,!0)[0].replace(/\t/g,h).length;if(W.indentation=q,W.indentationDiff=null,q>0)return null}}return W.f(X,W)},innerMode:function(X){return X.block==T?{state:X.htmlState,mode:p}:X.localState?{state:X.localState,mode:X.localMode}:{state:X,mode:V}},indent:function(X,W,q){return X.block==T&&p.indent?p.indent(X.htmlState,W,q):X.localState&&X.localMode.indent?X.localMode.indent(X.localState,W,q):y.Pass},blankLine:x,getType:S,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return V},"xml"),y.defineMIME("text/markdown","markdown"),y.defineMIME("text/x-markdown","markdown")})},laiN:function(U,R,i){var y=i("ProS");i("GVMX"),i("MH26"),y.registerPreprocessor(function(m){m.markLine=m.markLine||{}})},lnY3:function(U,R,i){},loD1:function(U,R){function i(y,m,E,p,v,f,d){if(v===0)return!1;var l=v,n=0,t=y;if(d>m+l&&d>p+l||d<m-l&&d<p-l||f>y+l&&f>E+l||f<y-l&&f<E-l)return!1;if(y!==E)n=(m-p)/(y-E),t=(y*p-E*m)/(y-E);else return Math.abs(f-y)<=l/2;var a=n*f-d+t,s=a*a/(n*n+1);return s<=l/2*l/2}R.containStroke=i},lrIw:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("cDf5"),p=i.n(E),v=i("J4zp"),f=i.n(v),d=i("q1tI"),l=i.n(d),n=i("Zm9Q"),t=i("TSYQ"),a=i.n(t),s=i("BGR+"),r=i("2fM7"),c=i("H84U"),e=i("uaoM"),o=i("0n0R"),u=r.a.Option,h=r.a;function g(x){return x&&x.type&&(x.type.isSelectOption||x.type.isSelectOptGroup)}var A=function(C,T){var O=C.prefixCls,S=C.className,_=C.children,L=C.dataSource,D=Object(n.a)(_),F=d.useRef();d.useImperativeHandle(T,function(){return F.current});var j;if(D.length===1&&Object(o.b)(D[0])&&!g(D[0])){var k=f()(D,1);j=k[0]}var K=function(){return j},Z;return D.length&&g(D[0])?Z=_:Z=L?L.map(function(B){if(Object(o.b)(B))return B;switch(p()(B)){case"string":return d.createElement(u,{key:B,value:B},B);case"object":{var V=B.value;return d.createElement(u,{key:V,value:V},B.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],d.useEffect(function(){Object(e.a)(!("dataSource"in C),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(e.a)(!j||!("size"in C),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),d.createElement(c.a,null,function(B){var V=B.getPrefixCls,z=V("select",O);return d.createElement(h,m()({ref:F},Object(s.default)(C,["dataSource"]),{prefixCls:z,className:a()(S,"".concat(z,"-auto-complete")),mode:r.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:K}),Z)})},w=d.forwardRef(A);w.Option=u,R.a=w},lwQL:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("9wZj"),p=i("c8qY"),v=i("SgGq"),f=i("Ae+d"),d=i("xSat"),l=d.onIrrelevantElement,n=i("IwbS"),t=i("SA8n"),a=i("U/Mo"),s=a.getNodeGlobalScale,r="__focusNodeAdjacency",c="__unfocusNodeAdjacency",e=["itemStyle","opacity"],o=["lineStyle","opacity"];function u(w,x){var C=w.getVisual("opacity");return C!=null?C:w.getModel().get(x)}function h(w,x,C){var T=w.getGraphicEl(),O=u(w,x);C!=null&&(O==null&&(O=1),O*=C),T.downplay&&T.downplay(),T.traverse(function(S){if(!S.isGroup){var _=S.lineLabelOriginalOpacity;(_==null||C!=null)&&(_=O),S.setStyle("opacity",_)}})}function g(w,x){var C=u(w,x),T=w.getGraphicEl();T.traverse(function(O){!O.isGroup&&O.setStyle("opacity",C)}),T.highlight&&T.highlight()}var A=y.extendChartView({type:"graph",init:function(w,x){var C=new E,T=new p,O=this.group;this._controller=new v(x.getZr()),this._controllerHost={target:O},O.add(C.group),O.add(T.group),this._symbolDraw=C,this._lineDraw=T,this._firstRender=!0},render:function(w,x,C){var T=this,O=w.coordinateSystem;this._model=w;var S=this._symbolDraw,_=this._lineDraw,L=this.group;if(O.type==="view"){var D={position:O.position,scale:O.scale};this._firstRender?L.attr(D):n.updateProps(L,D,w)}t(w.getGraph(),s(w));var F=w.getData();S.updateData(F);var j=w.getEdgeData();_.updateData(j),this._updateNodeAndLinkScale(),this._updateController(w,x,C),clearTimeout(this._layoutTimeout);var k=w.forceLayout,K=w.get("force.layoutAnimation");k&&this._startForceLayoutIteration(k,K),F.eachItemGraphicEl(function(z,X){var W=F.getItemModel(X);z.off("drag").off("dragend");var q=W.get("draggable");q&&z.on("drag",function(){k&&(k.warmUp(),!this._layouting&&this._startForceLayoutIteration(k,K),k.setFixed(X),F.setItemLayout(X,z.position))},this).on("dragend",function(){k&&k.setUnfixed(X)},this),z.setDraggable(q&&k),z[r]&&z.off("mouseover",z[r]),z[c]&&z.off("mouseout",z[c]),W.get("focusNodeAdjacency")&&(z.on("mouseover",z[r]=function(){T._clearTimer(),C.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,dataIndex:z.dataIndex})}),z.on("mouseout",z[c]=function(){T._dispatchUnfocus(C)}))},this),F.graph.eachEdge(function(z){var X=z.getGraphicEl();X[r]&&X.off("mouseover",X[r]),X[c]&&X.off("mouseout",X[c]),z.getModel().get("focusNodeAdjacency")&&(X.on("mouseover",X[r]=function(){T._clearTimer(),C.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,edgeDataIndex:z.dataIndex})}),X.on("mouseout",X[c]=function(){T._dispatchUnfocus(C)}))});var Z=w.get("layout")==="circular"&&w.get("circular.rotateLabel"),B=F.getLayout("cx"),V=F.getLayout("cy");F.eachItemGraphicEl(function(z,X){var W=F.getItemModel(X),q=W.get("label.rotate")||0,Y=z.getSymbolPath();if(Z){var re=F.getItemLayout(X),ne=Math.atan2(re[1]-V,re[0]-B);ne<0&&(ne=Math.PI*2+ne);var we=re[0]<B;we&&(ne=ne-Math.PI);var ie=we?"left":"right";n.modifyLabelStyle(Y,{textRotation:-ne,textPosition:ie,textOrigin:"center"},{textPosition:ie})}else n.modifyLabelStyle(Y,{textRotation:q*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(w,x){var C=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){C._unfocusDelayTimer=null,w.dispatchAction({type:"unfocusNodeAdjacency",seriesId:C._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(w,x,C,T){var O=w.getData(),S=O.graph,_=T.dataIndex,L=T.edgeDataIndex,D=S.getNodeByIndex(_),F=S.getEdgeByIndex(L);if(!D&&!F)return;S.eachNode(function(j){h(j,e,.1)}),S.eachEdge(function(j){h(j,o,.1)}),D&&(g(D,e),m.each(D.edges,function(j){if(j.dataIndex<0)return;g(j,o),g(j.node1,e),g(j.node2,e)})),F&&(g(F,o),g(F.node1,e),g(F.node2,e))},unfocusNodeAdjacency:function(w,x,C,T){var O=w.getData().graph;O.eachNode(function(S){h(S,e)}),O.eachEdge(function(S){h(S,o)})},_startForceLayoutIteration:function(w,x){var C=this;(function T(){w.step(function(O){C.updateLayout(C._model),(C._layouting=!O)&&(x?C._layoutTimeout=setTimeout(T,16):T())})})()},_updateController:function(w,x,C){var T=this._controller,O=this._controllerHost,S=this.group;if(T.setPointerChecker(function(_,L,D){var F=S.getBoundingRect();return F.applyTransform(S.transform),F.contain(L,D)&&!l(_,C,w)}),w.coordinateSystem.type!=="view"){T.disable();return}T.enable(w.get("roam")),O.zoomLimit=w.get("scaleLimit"),O.zoom=w.coordinateSystem.getZoom(),T.off("pan").off("zoom").on("pan",function(_){f.updateViewOnPan(O,_.dx,_.dy),C.dispatchAction({seriesId:w.id,type:"graphRoam",dx:_.dx,dy:_.dy})}).on("zoom",function(_){f.updateViewOnZoom(O,_.scale,_.originX,_.originY),C.dispatchAction({seriesId:w.id,type:"graphRoam",zoom:_.scale,originX:_.originX,originY:_.originY}),this._updateNodeAndLinkScale(),t(w.getGraph(),s(w)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var w=this._model,x=w.getData(),C=s(w),T=[C,C];x.eachItemGraphicEl(function(O,S){O.attr("scale",T)})},updateLayout:function(w){t(w.getGraph(),s(w)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(w,x){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});U.exports=A},m9t5:function(U,R,i){var y=i("KCsZ"),m=y([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),E={getAreaStyle:function(p,v){return m(this,p,v)}};U.exports=E},mFDi:function(U,R,i){var y=i("QBsz"),m=i("Fofx"),E=y.applyTransform,p=Math.min,v=Math.max;function f(l,n,t,a){t<0&&(l=l+t,t=-t),a<0&&(n=n+a,a=-a),this.x=l,this.y=n,this.width=t,this.height=a}f.prototype={constructor:f,union:function(n){var t=p(n.x,this.x),a=p(n.y,this.y);this.width=v(n.x+n.width,this.x+this.width)-t,this.height=v(n.y+n.height,this.y+this.height)-a,this.x=t,this.y=a},applyTransform:function(){var l=[],n=[],t=[],a=[];return function(s){if(!s)return;l[0]=t[0]=this.x,l[1]=a[1]=this.y,n[0]=a[0]=this.x+this.width,n[1]=t[1]=this.y+this.height,E(l,l,s),E(n,n,s),E(t,t,s),E(a,a,s),this.x=p(l[0],n[0],t[0],a[0]),this.y=p(l[1],n[1],t[1],a[1]);var r=v(l[0],n[0],t[0],a[0]),c=v(l[1],n[1],t[1],a[1]);this.width=r-this.x,this.height=c-this.y}}(),calculateTransform:function(n){var t=this,a=n.width/t.width,s=n.height/t.height,r=m.create();return m.translate(r,r,[-t.x,-t.y]),m.scale(r,r,[a,s]),m.translate(r,r,[n.x,n.y]),r},intersect:function(n){if(!n)return!1;n instanceof f||(n=f.create(n));var t=this,a=t.x,s=t.x+t.width,r=t.y,c=t.y+t.height,e=n.x,o=n.x+n.width,u=n.y,h=n.y+n.height;return!(s<e||o<a||c<u||h<r)},contain:function(n,t){var a=this;return n>=a.x&&n<=a.x+a.width&&t>=a.y&&t<=a.y+a.height},clone:function(){return new f(this.x,this.y,this.width,this.height)},copy:function(n){this.x=n.x,this.y=n.y,this.width=n.width,this.height=n.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},f.create=function(l){return new f(l.x,l.y,l.width,l.height)};var d=f;U.exports=d},mHUz:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y={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};R.default=y},mLcG:function(U,R){var i=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(y){setTimeout(y,16)};U.exports=i},"mO/d":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("I9Y+"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},mOdp:function(U,R,i){var y=i("bYtY"),m=y.createHashMap;function E(p){return{getTargetSeries:function(v){var f={},d=m();return v.eachSeriesByType(p,function(l){l.__paletteScope=f,d.set(l.uid,l)}),d},reset:function(v,f){var d=v.getRawData(),l={},n=v.getData();n.each(function(t){var a=n.getRawIndex(t);l[a]=t}),d.each(function(t){var a=l[t],s=a!=null&&n.getItemVisual(a,"color",!0),r=a!=null&&n.getItemVisual(a,"borderColor",!0),c;if((!s||!r)&&(c=d.getItemModel(t)),!s){var e=c.get("itemStyle.color")||v.getColorFromPalette(d.getName(t)||t+"",v.__paletteScope,d.count());a!=null&&n.setItemVisual(a,"color",e)}if(!r){var o=c.get("itemStyle.borderColor");a!=null&&n.setItemVisual(a,"borderColor",o)}})}}}U.exports=E},mTgk:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("mHUz"));function m(l){return l&&l.__esModule?l:{default:l}}var E={};function p(l,n){if(n===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(l in E)throw new Error('Duplicate entry for key "'+l+'"');E[l]=[n,n,n,n]}function v(l,n,t){if(n===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(t===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(l in E)throw new Error('Duplicate entry for key "'+l+'"');E[l]=[n,n,t,n]}function f(l,n,t){if(n===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(t===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(l in E)throw new Error('Duplicate entry for key "'+l+'"');E[l]=[n,n,n,t]}v("Alt",y.default.XK_Alt_L,y.default.XK_Alt_R),p("AltGraph",y.default.XK_ISO_Level3_Shift),p("CapsLock",y.default.XK_Caps_Lock),v("Control",y.default.XK_Control_L,y.default.XK_Control_R),v("Meta",y.default.XK_Super_L,y.default.XK_Super_R),p("NumLock",y.default.XK_Num_Lock),p("ScrollLock",y.default.XK_Scroll_Lock),v("Shift",y.default.XK_Shift_L,y.default.XK_Shift_R),f("Enter",y.default.XK_Return,y.default.XK_KP_Enter),p("Tab",y.default.XK_Tab),f(" ",y.default.XK_space,y.default.XK_KP_Space),f("ArrowDown",y.default.XK_Down,y.default.XK_KP_Down),f("ArrowUp",y.default.XK_Up,y.default.XK_KP_Up),f("ArrowLeft",y.default.XK_Left,y.default.XK_KP_Left),f("ArrowRight",y.default.XK_Right,y.default.XK_KP_Right),f("End",y.default.XK_End,y.default.XK_KP_End),f("Home",y.default.XK_Home,y.default.XK_KP_Home),f("PageDown",y.default.XK_Next,y.default.XK_KP_Next),f("PageUp",y.default.XK_Prior,y.default.XK_KP_Prior),p("Backspace",y.default.XK_BackSpace),f("Clear",y.default.XK_Clear,y.default.XK_KP_Begin),p("Copy",y.default.XF86XK_Copy),p("Cut",y.default.XF86XK_Cut),f("Delete",y.default.XK_Delete,y.default.XK_KP_Delete),f("Insert",y.default.XK_Insert,y.default.XK_KP_Insert),p("Paste",y.default.XF86XK_Paste),p("Redo",y.default.XK_Redo),p("Undo",y.default.XK_Undo),p("Cancel",y.default.XK_Cancel),p("ContextMenu",y.default.XK_Menu),p("Escape",y.default.XK_Escape),p("Execute",y.default.XK_Execute),p("Find",y.default.XK_Find),p("Help",y.default.XK_Help),p("Pause",y.default.XK_Pause),p("Select",y.default.XK_Select),p("ZoomIn",y.default.XF86XK_ZoomIn),p("ZoomOut",y.default.XF86XK_ZoomOut),p("BrightnessDown",y.default.XF86XK_MonBrightnessDown),p("BrightnessUp",y.default.XF86XK_MonBrightnessUp),p("Eject",y.default.XF86XK_Eject),p("LogOff",y.default.XF86XK_LogOff),p("Power",y.default.XF86XK_PowerOff),p("PowerOff",y.default.XF86XK_PowerDown),p("PrintScreen",y.default.XK_Print),p("Hibernate",y.default.XF86XK_Hibernate),p("Standby",y.default.XF86XK_Standby),p("WakeUp",y.default.XF86XK_WakeUp),p("AllCandidates",y.default.XK_MultipleCandidate),p("Alphanumeric",y.default.XK_Eisu_Shift),p("CodeInput",y.default.XK_Codeinput),p("Compose",y.default.XK_Multi_key),p("Convert",y.default.XK_Henkan),p("GroupFirst",y.default.XK_ISO_First_Group),p("GroupLast",y.default.XK_ISO_Last_Group),p("GroupNext",y.default.XK_ISO_Next_Group),p("GroupPrevious",y.default.XK_ISO_Prev_Group),p("NonConvert",y.default.XK_Muhenkan),p("PreviousCandidate",y.default.XK_PreviousCandidate),p("SingleCandidate",y.default.XK_SingleCandidate),p("HangulMode",y.default.XK_Hangul),p("HanjaMode",y.default.XK_Hangul_Hanja),p("JunjuaMode",y.default.XK_Hangul_Jeonja),p("Eisu",y.default.XK_Eisu_toggle),p("Hankaku",y.default.XK_Hankaku),p("Hiragana",y.default.XK_Hiragana),p("HiraganaKatakana",y.default.XK_Hiragana_Katakana),p("KanaMode",y.default.XK_Kana_Shift),p("KanjiMode",y.default.XK_Kanji),p("Katakana",y.default.XK_Katakana),p("Romaji",y.default.XK_Romaji),p("Zenkaku",y.default.XK_Zenkaku),p("ZenkakuHanaku",y.default.XK_Zenkaku_Hankaku),p("F1",y.default.XK_F1),p("F2",y.default.XK_F2),p("F3",y.default.XK_F3),p("F4",y.default.XK_F4),p("F5",y.default.XK_F5),p("F6",y.default.XK_F6),p("F7",y.default.XK_F7),p("F8",y.default.XK_F8),p("F9",y.default.XK_F9),p("F10",y.default.XK_F10),p("F11",y.default.XK_F11),p("F12",y.default.XK_F12),p("F13",y.default.XK_F13),p("F14",y.default.XK_F14),p("F15",y.default.XK_F15),p("F16",y.default.XK_F16),p("F17",y.default.XK_F17),p("F18",y.default.XK_F18),p("F19",y.default.XK_F19),p("F20",y.default.XK_F20),p("F21",y.default.XK_F21),p("F22",y.default.XK_F22),p("F23",y.default.XK_F23),p("F24",y.default.XK_F24),p("F25",y.default.XK_F25),p("F26",y.default.XK_F26),p("F27",y.default.XK_F27),p("F28",y.default.XK_F28),p("F29",y.default.XK_F29),p("F30",y.default.XK_F30),p("F31",y.default.XK_F31),p("F32",y.default.XK_F32),p("F33",y.default.XK_F33),p("F34",y.default.XK_F34),p("F35",y.default.XK_F35),p("Close",y.default.XF86XK_Close),p("MailForward",y.default.XF86XK_MailForward),p("MailReply",y.default.XF86XK_Reply),p("MailSend",y.default.XF86XK_Send),p("MediaFastForward",y.default.XF86XK_AudioForward),p("MediaPause",y.default.XF86XK_AudioPause),p("MediaPlay",y.default.XF86XK_AudioPlay),p("MediaRecord",y.default.XF86XK_AudioRecord),p("MediaRewind",y.default.XF86XK_AudioRewind),p("MediaStop",y.default.XF86XK_AudioStop),p("MediaTrackNext",y.default.XF86XK_AudioNext),p("MediaTrackPrevious",y.default.XF86XK_AudioPrev),p("New",y.default.XF86XK_New),p("Open",y.default.XF86XK_Open),p("Print",y.default.XK_Print),p("Save",y.default.XF86XK_Save),p("SpellCheck",y.default.XF86XK_Spell),p("AudioVolumeDown",y.default.XF86XK_AudioLowerVolume),p("AudioVolumeUp",y.default.XF86XK_AudioRaiseVolume),p("AudioVolumeMute",y.default.XF86XK_AudioMute),p("MicrophoneVolumeMute",y.default.XF86XK_AudioMicMute),p("LaunchApplication1",y.default.XF86XK_MyComputer),p("LaunchApplication2",y.default.XF86XK_Calculator),p("LaunchCalendar",y.default.XF86XK_Calendar),p("LaunchMail",y.default.XF86XK_Mail),p("LaunchMediaPlayer",y.default.XF86XK_AudioMedia),p("LaunchMusicPlayer",y.default.XF86XK_Music),p("LaunchPhone",y.default.XF86XK_Phone),p("LaunchScreenSaver",y.default.XF86XK_ScreenSaver),p("LaunchSpreadsheet",y.default.XF86XK_Excel),p("LaunchWebBrowser",y.default.XF86XK_WWW),p("LaunchWebCam",y.default.XF86XK_WebCam),p("LaunchWordProcessor",y.default.XF86XK_Word),p("BrowserBack",y.default.XF86XK_Back),p("BrowserFavorites",y.default.XF86XK_Favorites),p("BrowserForward",y.default.XF86XK_Forward),p("BrowserHome",y.default.XF86XK_HomePage),p("BrowserRefresh",y.default.XF86XK_Refresh),p("BrowserSearch",y.default.XF86XK_Search),p("BrowserStop",y.default.XF86XK_Stop),p("Dimmer",y.default.XF86XK_BrightnessAdjust),p("MediaAudioTrack",y.default.XF86XK_AudioCycleTrack),p("RandomToggle",y.default.XF86XK_AudioRandomPlay),p("SplitScreenToggle",y.default.XF86XK_SplitScreen),p("Subtitle",y.default.XF86XK_Subtitle),p("VideoModeNext",y.default.XF86XK_Next_VMode),f("=",y.default.XK_equal,y.default.XK_KP_Equal),f("+",y.default.XK_plus,y.default.XK_KP_Add),f("-",y.default.XK_minus,y.default.XK_KP_Subtract),f("*",y.default.XK_asterisk,y.default.XK_KP_Multiply),f("/",y.default.XK_slash,y.default.XK_KP_Divide),f(".",y.default.XK_period,y.default.XK_KP_Decimal),f(",",y.default.XK_comma,y.default.XK_KP_Separator),f("0",y.default.XK_0,y.default.XK_KP_0),f("1",y.default.XK_1,y.default.XK_KP_1),f("2",y.default.XK_2,y.default.XK_KP_2),f("3",y.default.XK_3,y.default.XK_KP_3),f("4",y.default.XK_4,y.default.XK_KP_4),f("5",y.default.XK_5,y.default.XK_KP_5),f("6",y.default.XK_6,y.default.XK_KP_6),f("7",y.default.XK_7,y.default.XK_KP_7),f("8",y.default.XK_8,y.default.XK_KP_8),f("9",y.default.XK_9,y.default.XK_KP_9);var d=E;R.default=d},mYwL:function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E=i("6GrX"),p=Math.PI;function v(f,d){d=d||{},y.defaults(d,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var l=new m.Group,n=new m.Rect({style:{fill:d.maskColor},zlevel:d.zlevel,z:1e4});l.add(n);var t=d.fontSize+" sans-serif",a=new m.Rect({style:{fill:"none",text:d.text,font:t,textPosition:"right",textDistance:10,textFill:d.textColor},zlevel:d.zlevel,z:10001});if(l.add(a),d.showSpinner){var s=new m.Arc({shape:{startAngle:-p/2,endAngle:-p/2+.1,r:d.spinnerRadius},style:{stroke:d.color,lineCap:"round",lineWidth:d.lineWidth},zlevel:d.zlevel,z:10001});s.animateShape(!0).when(1e3,{endAngle:p*3/2}).start("circularInOut"),s.animateShape(!0).when(1e3,{startAngle:p*3/2}).delay(300).start("circularInOut"),l.add(s)}return l.resize=function(){var r=E.getWidth(d.text,t),c=d.showSpinner?d.spinnerRadius:0,e=(f.getWidth()-c*2-(d.showSpinner&&r?10:0)-r)/2-(d.showSpinner?0:r/2),o=f.getHeight()/2;d.showSpinner&&s.setShape({cx:e,cy:o}),a.setShape({x:e-c,y:o-c,width:c*2,height:c*2}),n.setShape({x:0,y:0,width:f.getWidth(),height:f.getHeight()})},l.resize(),l}U.exports=v},mdZa:function(U,R,i){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(m,E){"use strict";if(m==null)throw new TypeError("Cannot convert undefined or null to object");for(var p=Object(m),v=1;v<arguments.length;v++){var f=arguments[v];if(f!=null)for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&(p[d]=f[d])}return p},writable:!0,configurable:!0}),function(){function y(m,E){E=E||{bubbles:!1,cancelable:!1,detail:void 0};var p=document.createEvent("CustomEvent");return p.initCustomEvent(m,E.bubbles,E.cancelable,E.detail),p}y.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=y)}(),Number.isInteger=Number.isInteger||function(m){return typeof m=="number"&&isFinite(m)&&Math.floor(m)===m}},mr32:function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("J4zp"),f=i.n(v),d=i("q1tI"),l=i("TSYQ"),n=i.n(l),t=i("BGR+"),a=i("V/uB"),s=i.n(a),r=i("H84U"),c=function(O,S){var _={};for(var L in O)Object.prototype.hasOwnProperty.call(O,L)&&S.indexOf(L)<0&&(_[L]=O[L]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,L=Object.getOwnPropertySymbols(O);D<L.length;D++)S.indexOf(L[D])<0&&Object.prototype.propertyIsEnumerable.call(O,L[D])&&(_[L[D]]=O[L[D]]);return _},e=function(S){var _,L=d.useContext(r.b),D=L.getPrefixCls,F=function(X){var W=S.checked,q=S.onChange,Y=S.onClick;q&&q(!W),Y&&Y(X)},j=S.prefixCls,k=S.className,K=S.checked,Z=c(S,["prefixCls","className","checked"]),B=D("tag",j),V=n()(B,(_={},m()(_,"".concat(B,"-checkable"),!0),m()(_,"".concat(B,"-checkable-checked"),K),_),k);return delete Z.onChange,d.createElement("span",p()({},Z,{className:V,onClick:F}))},o=e,u=i("09Wf"),h=i("g0mS"),g=function(O,S){var _={};for(var L in O)Object.prototype.hasOwnProperty.call(O,L)&&S.indexOf(L)<0&&(_[L]=O[L]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,L=Object.getOwnPropertySymbols(O);D<L.length;D++)S.indexOf(L[D])<0&&Object.prototype.propertyIsEnumerable.call(O,L[D])&&(_[L[D]]=O[L[D]]);return _},A=new RegExp("^(".concat(u.a.join("|"),")(-inverse)?$")),w=new RegExp("^(".concat(u.b.join("|"),")$")),x=function(S,_){var L,D=S.prefixCls,F=S.className,j=S.style,k=S.children,K=S.icon,Z=S.color,B=S.onClose,V=S.closeIcon,z=S.closable,X=z===void 0?!1:z,W=g(S,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),q=d.useContext(r.b),Y=q.getPrefixCls,re=q.direction,ne=d.useState(!0),we=f()(ne,2),ie=we[0],me=we[1];d.useEffect(function(){"visible"in W&&me(W.visible)},[W.visible]);var _e=function(){return Z?A.test(Z)||w.test(Z):!1},Te=p()({backgroundColor:Z&&!_e()?Z:void 0},j),We=_e(),Ae=Y("tag",D),je=n()(Ae,(L={},m()(L,"".concat(Ae,"-").concat(Z),We),m()(L,"".concat(Ae,"-has-color"),Z&&!We),m()(L,"".concat(Ae,"-hidden"),!ie),m()(L,"".concat(Ae,"-rtl"),re==="rtl"),L),F),ee=function(fe){if(fe.stopPropagation(),B&&B(fe),fe.defaultPrevented)return;"visible"in W||me(!1)},he=function(){return X?V?d.createElement("div",{className:"".concat(Ae,"-close-icon"),onClick:ee},V):d.createElement(s.a,{className:"".concat(Ae,"-close-icon"),onClick:ee}):null},Ze="onClick"in W||k&&k.type==="a",oe=Object(t.default)(W,["visible"]),Q=K||null,G=Q?d.createElement(d.Fragment,null,Q,d.createElement("span",null,k)):k,te=d.createElement("span",p()({},oe,{ref:_,className:je,style:Te}),G,he());return Ze?d.createElement(h.a,null,te):te},C=d.forwardRef(x);C.displayName="Tag",C.CheckableTag=o;var T=R.a=C},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(U){if(!0)module.exports=U();else var R})(function(){var define,module,exports;return function(){function U(R,i,y){function m(v,f){if(!i[v]){if(!R[v]){var d=typeof require=="function"&&require;if(!f&&d)return require(v,!0);if(E)return E(v,!0);var l=new Error("Cannot find module '"+v+"'");throw l.code="MODULE_NOT_FOUND",l}var n=i[v]={exports:{}};R[v][0].call(n.exports,function(t){var a=R[v][1][t];return m(a||t)},n,n.exports,U,R,i,y)}return i[v].exports}for(var E=typeof require=="function"&&require,p=0;p<y.length;p++)m(y[p]);return m}return U}()({1:[function(U,R,i){"use strict";var y=U("./browser/client");y.Buffer=U("buffer").Buffer,y.urllib=U("../shims/xhr"),y.version=U("./browser/version").version,R.exports=y},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(U,R,i){(function(y,m){"use strict";var E=U("babel-runtime/core-js/promise"),p=n(E),v=U("babel-runtime/regenerator"),f=n(v),d=U("babel-runtime/core-js/object/assign"),l=n(d);function n(K){return K&&K.__esModule?K:{default:K}}var t=U("debug")("ali-oss"),a=U("copy-to"),s=U("xml2js"),r=U("agentkeepalive"),c=U("merge-descriptors"),e=U("url"),o=U("is-type-of"),u=U("platform"),h=U("utility"),g=U("urllib"),A=U("./version"),w=U("bowser"),x=U("../common/signUtils"),C=U("../common/utils/isIP"),T=C.isIP,O=U("../common/client/initOptions"),S=U("../common/utils/createRequest"),_=S.createRequest,L=new r;function D(){var K=u.name,Z=u.version;K&&K.toLowerCase&&K.toLowerCase()==="ie"&&Z.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function F(){return location&&location.protocol==="https:"}function j(K,Z){if(D(),!(this instanceof j))return new j(K,Z);K&&K.inited?this.options=K:this.options=j.initOptions(K),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=g,this.agent=this.options.agent||L),this.ctx=Z,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}R.exports=j,j.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 B=(0,l.default)({secure:F(),useFetch:!1},Z);return O(B)};var k=j.prototype;k.debug=t,c(k,U("./object")),c(k,U("../common/bucket/getBucketWebsite")),c(k,U("../common/bucket/putBucketWebsite")),c(k,U("../common/bucket/deleteBucketWebsite")),c(k,U("../common/bucket/getBucketLifecycle")),c(k,U("../common/bucket/putBucketLifecycle")),c(k,U("../common/bucket/deleteBucketLifecycle")),c(k,U("../common/bucket/putBucketVersioning")),c(k,U("../common/bucket/getBucketVersioning")),c(k,U("./managed-upload")),c(k,U("../common/multipart")),c(k,U("../common/parallel")),k.signature=function(Z){return this.debug("authorization stringToSign: %s",Z,"info"),x.computeSignature(this.options.accessKeySecret,Z)},k.authorization=function(Z,B,V,z){var X=x.buildCanonicalString(Z.toUpperCase(),B,{headers:z,parameters:V});return x.authorization(this.options.accessKeyId,this.options.accessKeySecret,X)},k.request=function(Z){var B,V,z,X,W,q;return f.default.async(function(re){for(;;)switch(re.prev=re.next){case 0:return B=_.call(this,Z),this.options.useFetch||(B.params.mode="disable-fetch"),V=void 0,z=void 0,X=!!Z.stream,re.prev=5,re.next=8,f.default.awrap(this.urllib.request(B.url,B.params));case 8:V=re.sent,this.debug("response %s %s, got %s, headers: %j",Z.method,B.url,V.status,V.headers,"info"),re.next=15;break;case 12:re.prev=12,re.t0=re.catch(5),z=re.t0;case 15:if(W=void 0,!(V&&Z.successStatuses&&Z.successStatuses.indexOf(V.status)===-1)){re.next=28;break}return re.next=19,f.default.awrap(this.requestError(V));case 19:if(W=re.sent,!(W.code==="RequestTimeTooSkewed"&&!X)){re.next=25;break}return this.options.amendTimeSkewed=+new Date(W.serverTime)-new Date,re.next=24,f.default.awrap(this.request(Z));case 24:return re.abrupt("return",re.sent);case 25:W.params=Z,re.next=32;break;case 28:if(!z){re.next=32;break}return re.next=31,f.default.awrap(this.requestError(z));case 31:W=re.sent;case 32:if(!W){re.next=34;break}throw W;case 34:if(!Z.xmlResponse){re.next=39;break}return re.next=37,f.default.awrap(this.parseXML(V.data));case 37:q=re.sent,V.data=q;case 39:return re.abrupt("return",V);case 40:case"end":return re.stop()}},null,this,[[5,12]])},k._getResource=function(Z){var B="/";return Z.bucket&&(B+=Z.bucket+"/"),Z.object&&(B+=Z.object),B},k._isIP=T,k._escape=function(Z){return h.encodeURIComponent(Z).replace(/%2F/g,"/")},k._getReqUrl=function(Z){var B={};a(this.options.endpoint).to(B);var V=this._isIP(B.hostname),z=this.options.cname;Z.bucket&&!z&&!V&&(B.host=Z.bucket+"."+B.host);var X="/";Z.bucket&&V&&(X+=Z.bucket+"/"),Z.object&&(X+=this._escape(Z.object).replace(/\+/g,"%2B")),B.pathname=X;var W={};if(Z.query&&c(W,Z.query),Z.subres){var q={};o.string(Z.subres)?q[Z.subres]="":o.array(Z.subres)?Z.subres.forEach(function(Y){q[Y]=""}):q=Z.subres,c(W,q)}return B.query=W,e.format(B)},k._getUserAgent=function(){var Z=m&&m.browser?"js":"nodejs",B="aliyun-sdk-"+Z+"/"+A.version,V=u.description;return!V&&m&&(V="Node.js "+m.version.slice(1)+" on "+m.platform+" "+m.arch),this._checkUserAgent(B+" "+V)},k._checkUserAgent=function(Z){var B=Z.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return B},k.checkBrowserAndVersion=function(Z,B){return w.name===Z&&w.version.split(".")[0]===B},k.parseXML=function(Z){return new p.default(function(B,V){y.isBuffer(Z)&&(Z=Z.toString()),s.parseString(Z,{explicitRoot:!1,explicitArray:!1},function(z,X){z?V(z):B(X)})})},k.requestError=function(Z){var B,V,z,X;return f.default.async(function(q){for(;;)switch(q.prev=q.next){case 0:if(B=null,!(!Z.data||!Z.data.length)){q.next=5;break}Z.status===-1||Z.status===-2?(B=new Error(Z.message),B.name=Z.name,B.status=Z.status,B.code=Z.name):(Z.status===404?(B=new Error("Object not exists"),B.name="NoSuchKeyError",B.status=404,B.code="NoSuchKey"):Z.status===412?(B=new Error("Pre condition failed"),B.name="PreconditionFailedError",B.status=412,B.code="PreconditionFailed"):(B=new Error("Unknow error, status: "+Z.status),B.name="UnknowError",B.status=Z.status),B.requestId=Z.headers["x-oss-request-id"],B.host=""),q.next=33;break;case 5:return V=String(Z.data),this.debug("request response error data: %s",V,"error"),z=void 0,q.prev=8,q.next=11,f.default.awrap(this.parseXML(V));case 11:if(q.t0=q.sent,q.t0){q.next=14;break}q.t0={};case 14:z=q.t0,q.next=24;break;case 17:return q.prev=17,q.t1=q.catch(8),this.debug(V,"error"),q.t1.message+=`
|
|
|
raw xml: `+V,q.t1.status=Z.status,q.t1.requestId=Z.headers["x-oss-request-id"],q.abrupt("return",q.t1);case 24:X=z.Message||"unknow request error, status: "+Z.status,z.Condition&&(X+=" (condition: "+z.Condition+")"),B=new Error(X),B.name=z.Code?z.Code+"Error":"UnknowError",B.status=Z.status,B.code=z.Code,B.requestId=z.RequestId,B.hostId=z.HostId,B.serverTime=z.ServerTime;case 33:return this.debug("generate error %j",B,"error"),q.abrupt("return",B);case 35:case"end":return q.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:U("../../node_modules/is-buffer/index.js")},U("_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(U,R,i){(function(y){"use strict";var m=U("babel-runtime/core-js/array/from"),E=l(m),p=U("babel-runtime/core-js/promise"),v=l(p),f=U("babel-runtime/regenerator"),d=l(f);function l(x){return x&&x.__esModule?x:{default:x}}var n=U("is-type-of"),t=U("util"),a=U("path"),s=U("mime"),r=U("copy-to"),c=U("../common/utils/isBlob"),e=c.isBlob,o=U("../common/utils/isFile"),u=o.isFile,h=i;h.multipartUpload=function(C,T,O){var S,_,L,D,F,j,k,K,Z;return d.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:if(this.resetCancelFlag(),O=O||{},!(O.checkpoint&&O.checkpoint.uploadId)){V.next=6;break}return V.next=5,d.default.awrap(this._resumeMultipart(O.checkpoint,O));case 5:return V.abrupt("return",V.sent);case 6:return S=100*1024,O.mime||(u(T)?O.mime=s.getType(a.extname(T.name)):e(T)?O.mime=T.type:O.mime=s.getType(a.extname(T))),O.headers=O.headers||{},this._convertMetaToHeaders(O.meta,O.headers),V.next=12,d.default.awrap(this._getFileSize(T));case 12:if(_=V.sent,!(_<S)){V.next=25;break}return L=this._createStream(T,0,_),O.contentLength=_,V.next=18,d.default.awrap(this.putStream(C,L,O));case 18:if(D=V.sent,!(O&&O.progress)){V.next=22;break}return V.next=22,d.default.awrap(O.progress(1));case 22:return F={res:D.res,bucket:this.options.bucket,name:C,etag:D.res.headers.etag},(O.headers&&O.headers["x-oss-callback"]||O.callback)&&(F.data=D.data),V.abrupt("return",F);case 25:if(!(O.partSize&&!(parseInt(O.partSize,10)===O.partSize))){V.next=27;break}throw new Error("partSize must be int number");case 27:if(!(O.partSize&&O.partSize<S)){V.next=29;break}throw new Error("partSize must not be smaller than "+S);case 29:return V.next=31,d.default.awrap(this.initMultipartUpload(C,O));case 31:if(j=V.sent,k=j.uploadId,K=this._getPartSize(_,O.partSize),Z={file:T,name:C,fileSize:_,partSize:K,uploadId:k,doneParts:[]},!(O&&O.progress)){V.next=38;break}return V.next=38,d.default.awrap(O.progress(0,Z,j.res));case 38:return V.next=40,d.default.awrap(this._resumeMultipart(Z,O));case 40:return V.abrupt("return",V.sent);case 41:case"end":return V.stop()}},null,this)},h._resumeMultipart=function(C,T){var O,S,_,L,D,F,j,k,K,Z,B,V,z,X,W,q,Y,re;return d.default.async(function(we){for(;;)switch(we.prev=we.next){case 0:if(O=this,!this.isCancel()){we.next=3;break}throw this._makeCancelEvent();case 3:return S=C.file,_=C.fileSize,L=C.partSize,D=C.uploadId,F=C.doneParts,j=C.name,k=[],F.length>0&&r(F).to(k),K=this._divideParts(_,L),Z=K.length,B=!1,V=function(me,_e){var Te=this;return new v.default(function(Ae,je){var ee,he,Ze,oe;return d.default.async(function(G){for(;;)switch(G.prev=G.next){case 0:if(G.prev=0,me.isCancel()){G.next=18;break}return ee=K[_e-1],he={stream:me._createStream(S,ee.start,ee.end),size:ee.end-ee.start},G.next=6,d.default.awrap(me._uploadPart(j,D,_e,he));case 6:if(Ze=G.sent,!(!me.isCancel()&&!B)){G.next=15;break}if(C.doneParts.push({number:_e,etag:Ze.res.headers.etag}),!T.progress){G.next=12;break}return G.next=12,d.default.awrap(T.progress(F.length/Z,C,Ze.res));case 12:Ae({number:_e,etag:Ze.res.headers.etag}),G.next=16;break;case 15:Ae();case 16:G.next=19;break;case 18:Ae();case 19:G.next=30;break;case 21:G.prev=21,G.t0=G.catch(0),oe=new Error,oe.name=G.t0.name,oe.message=G.t0.message,oe.stack=G.t0.stack,oe.partNum=_e,r(G.t0).to(oe),je(oe);case 30:case"end":return G.stop()}},null,Te,[[0,21]])})},z=(0,E.default)(new Array(Z),function(ie,me){return me+1}),X=k.map(function(ie){return ie.number}),W=z.filter(function(ie){return X.indexOf(ie)<0}),q=5,Y=T.parallel||q,we.next=17,d.default.awrap(this._parallel(W,Y,function(ie){return new v.default(function(me,_e){V(O,ie).then(function(Te){Te&&k.push(Te),me()}).catch(function(Te){_e(Te)})})}));case 17:if(re=we.sent,B=!0,!this.isCancel()){we.next=22;break}throw V=null,this._makeCancelEvent();case 22:if(!(re&&re.length>0)){we.next=25;break}throw re[0].message="Failed to upload some parts with error: "+re[0].toString()+" part_num: "+re[0].partNum,re[0];case 25:return we.next=27,d.default.awrap(this.completeMultipartUpload(j,D,k,T));case 27:return we.abrupt("return",we.sent);case 28:case"end":return we.stop()}},null,this)},h._getFileSize=function(C){return d.default.async(function(O){for(;;)switch(O.prev=O.next){case 0:if(!n.buffer(C)){O.next=4;break}return O.abrupt("return",C.length);case 4:if(!(e(C)||u(C))){O.next=6;break}return O.abrupt("return",C.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return O.stop()}},null,this)};var g=U("stream"),A=g.Readable;function w(x,C){if(!(this instanceof w))return new w(x,C);A.call(this,C),this.file=x,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}t.inherits(w,A),w.prototype.readFileAndPush=function(C){if(this.fileBuffer)for(var T=!0;T&&this.fileBuffer&&this.start<this.fileBuffer.length;){var O=this.start,S=O+C;S=S>this.fileBuffer.length?this.fileBuffer.length:S,this.start=S,T=this.push(this.fileBuffer.slice(O,S))}},w.prototype._read=function(C){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var T=16*1024;C=C||T;var O=this;this.reader.onload=function(_){O.fileBuffer=y.from(new Uint8Array(_.target.result)),O.file=null,O.readFileAndPush(C)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(C)},h._createStream=function(C,T,O){if(e(C)||u(C))return new w(C.slice(T,O));throw new Error("_createStream requires File/Blob.")},h._getPartSize=function(C,T){var O=10*1e3,S=1024*1024;return T?Math.max(Math.ceil(C/O),T):S},h._divideParts=function(C,T){for(var O=Math.ceil(C/T),S=[],_=0;_<O;_++){var L=T*_,D=Math.min(L+T,C);S.push({start:L,end:D})}return S}}).call(this,U("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(U,R,i){"use strict";var y=U("babel-runtime/core-js/promise"),m=n(y),E=U("babel-runtime/core-js/object/keys"),p=n(E),v=U("babel-runtime/core-js/object/assign"),f=n(v),d=U("babel-runtime/regenerator"),l=n(d);function n(O){return O&&O.__esModule?O:{default:O}}var t=U("utility"),a=U("fs"),s=U("is-type-of"),r=U("url"),c=U("copy-to"),e=U("path"),o=U("mime"),u=U("../common/callback"),h=U("../common/signUtils"),g=U("merge-descriptors"),A=U("../common/utils/isBlob"),w=A.isBlob,x=U("../common/utils/isFile"),C=x.isFile,T=i;T.append=function(S,_,L){var D;return l.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:return L=L||{},L.position===void 0&&(L.position="0"),L.subres={append:"",position:L.position},L.method="POST",j.next=6,l.default.awrap(this.put(S,_,L));case 6:return D=j.sent,D.nextAppendPosition=D.res.headers["x-oss-next-append-position"],j.abrupt("return",D);case 9:case"end":return j.stop()}},null,this)},T.put=function(S,_,L){var D,F,j,k,K,Z,B;return l.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:if(D=void 0,L=L||{},S=this._objectName(S),!s.buffer(_)){z.next=7;break}D=_,z.next=33;break;case 7:if(!(w(_)||C(_))){z.next=32;break}return L.mime||(C(_)?L.mime=o.getType(e.extname(_.name)):L.mime=_.type),F=this._createStream(_,0,_.size),z.next=12,l.default.awrap(this._getFileSize(_));case 12:return L.contentLength=z.sent,z.prev=13,z.next=16,l.default.awrap(this.putStream(S,F,L));case 16:return j=z.sent,z.abrupt("return",j);case 20:if(z.prev=20,z.t0=z.catch(13),!(z.t0.code==="RequestTimeTooSkewed")){z.next=29;break}return this.options.amendTimeSkewed=+new Date(z.t0.serverTime)-new Date,z.next=26,l.default.awrap(this.put(S,_,L));case 26:return z.abrupt("return",z.sent);case 29:throw z.t0;case 30:z.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return L.headers=L.headers||{},this._convertMetaToHeaders(L.meta,L.headers),k=L.method||"PUT",K=this._objectRequestParams(k,S,L),u.encodeCallback(K,L),K.mime=L.mime,K.content=D,K.successStatuses=[200],z.next=43,l.default.awrap(this.request(K));case 43:return Z=z.sent,B={name:S,url:this._objectUrl(S),res:Z.res},K.headers&&K.headers["x-oss-callback"]&&(B.data=JSON.parse(Z.data.toString())),z.abrupt("return",B);case 47:case"end":return z.stop()}},null,this,[[13,20]])},T.putStream=function(S,_,L){var D,F,j,k;return l.default.async(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return L=L||{},L.headers=L.headers||{},S=this._objectName(S),L.contentLength?L.headers["Content-Length"]=L.contentLength:L.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(L.meta,L.headers),D=L.method||"PUT",F=this._objectRequestParams(D,S,L),u.encodeCallback(F,L),F.mime=L.mime,F.stream=_,F.successStatuses=[200],Z.next=13,l.default.awrap(this.request(F));case 13:return j=Z.sent,k={name:S,url:this._objectUrl(S),res:j.res},F.headers&&F.headers["x-oss-callback"]&&(k.data=JSON.parse(j.data.toString())),Z.abrupt("return",k);case 17:case"end":return Z.stop()}},null,this)},g(T,U("../common/object/copyObject")),g(T,U("../common/object/getObjectTagging")),g(T,U("../common/object/putObjectTagging")),g(T,U("../common/object/deleteObjectTagging")),g(T,U("../common/image")),g(T,U("../common/object/getBucketVersions")),g(T,U("../common/object/getACL")),g(T,U("../common/object/putACL")),g(T,U("../common/object/head")),g(T,U("../common/object/delete")),g(T,U("../common/object/get")),g(T,U("../common/object/putSymlink")),g(T,U("../common/object/getSymlink")),g(T,U("../common/object/deleteMulti")),g(T,U("../common/object/getObjectMeta")),T.putMeta=function(S,_,L){var D;return l.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,l.default.awrap(this.copy(S,S,{meta:_||{},timeout:L&&L.timeout,ctx:L&&L.ctx}));case 2:return D=j.sent,j.abrupt("return",D);case 4:case"end":return j.stop()}},null,this)},T.list=function(S,_){var L,D,F,j,k;return l.default.async(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return L=this._objectRequestParams("GET","",_),L.query=S,L.xmlResponse=!0,L.successStatuses=[200],Z.next=6,l.default.awrap(this.request(L));case 6:return D=Z.sent,F=D.data.Contents,j=this,F&&(Array.isArray(F)||(F=[F]),F=F.map(function(B){return{name:B.Key,url:j._objectUrl(B.Key),lastModified:B.LastModified,etag:B.ETag,type:B.Type,size:Number(B.Size),storageClass:B.StorageClass,owner:{id:B.Owner.ID,displayName:B.Owner.DisplayName}}})),k=D.data.CommonPrefixes||null,k&&(Array.isArray(k)||(k=[k]),k=k.map(function(B){return B.Prefix})),Z.abrupt("return",{res:D.res,objects:F,prefixes:k,nextMarker:D.data.NextMarker||null,isTruncated:D.data.IsTruncated==="true"});case 13:case"end":return Z.stop()}},null,this)},T.restore=function(S,_){var L,D;return l.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:return _=_||{},_.subres=(0,f.default)({restore:""},_.subres),_.versionId&&(_.subres.versionId=_.versionId),L=this._objectRequestParams("POST",S,_),L.successStatuses=[202],j.next=7,l.default.awrap(this.request(L));case 7:return D=j.sent,j.abrupt("return",{res:D.res});case 9:case"end":return j.stop()}},null,this)},T.signatureUrl=function(S,_){_=_||{},S=this._objectName(S),_.method=_.method||"GET";var L=t.timestamp()+(_.expires||1800),D={bucket:this.options.bucket,object:S},F=this._getResource(D);this.options.stsToken&&(_["security-token"]=this.options.stsToken);var j=h._signatureForURL(this.options.accessKeySecret,_,F,L),k=r.parse(this._getReqUrl(D));return k.query={OSSAccessKeyId:this.options.accessKeyId,Expires:L,Signature:j.Signature},c(j.subResource).to(k.query),k.format()},T.getObjectUrl=function(S,_){return _?_[_.length-1]!=="/"&&(_+="/"):_=this.options.endpoint.format(),_+this._escape(this._objectName(S))},T._objectUrl=function(S){return this._getReqUrl({bucket:this.options.bucket,object:S})},T.generateObjectUrl=function(O,S){if(S)S[S.length-1]!=="/"&&(S+="/");else{S=this.options.endpoint.format();var _=r.parse(S),L=this.options.bucket;_.hostname=L+"."+_.hostname,_.host=L+"."+_.host,S=_.format()}return S+this._escape(this._objectName(O))},T._objectRequestParams=function(S,_,L){if(!this.options.bucket)throw new Error("Please create a bucket first");L=L||{},_=this._objectName(_);var D={object:_,bucket:this.options.bucket,method:S,subres:L&&L.subres,timeout:L&&L.timeout,ctx:L&&L.ctx};return L.headers&&(D.headers={},c(L.headers).to(D.headers)),D},T._objectName=function(S){return S.replace(/^\/+/,"")},T._convertMetaToHeaders=function(S,_){if(!S)return;(0,p.default)(S).forEach(function(L){_["x-oss-meta-"+L]=S[L]})},T._deleteFileSafe=function(S){var _=this;return new m.default(function(L){a.exists(S,function(D){D?a.unlink(S,function(F){F&&_.debug("unlink %j error: %s",S,F,"error"),L()}):L()})})}},{"../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(U,R,i){"use strict";i.version="6.10.0"},{}],6:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}var p=U("../utils/checkBucketName"),v=p.checkBucketName,f=i;f.deleteBucketLifecycle=function(l,n){var t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return v(l),t=this._bucketRequestParams("DELETE",l,"lifecycle",n),t.successStatuses=[204],r.next=5,m.default.awrap(this.request(t));case 5:return a=r.sent,r.abrupt("return",{res:a.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}var p=U("../utils/checkBucketName"),v=p.checkBucketName,f=i;f.deleteBucketWebsite=function(l,n){var t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return v(l),t=this._bucketRequestParams("DELETE",l,"website",n),t.successStatuses=[204],r.next=5,m.default.awrap(this.request(t));case 5:return a=r.sent,r.abrupt("return",{res:a.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(a){return a&&a.__esModule?a:{default:a}}var p=U("../utils/checkBucketName"),v=p.checkBucketName,f=U("../utils/isArray"),d=f.isArray,l=U("../utils/formatObjKey"),n=l.formatObjKey,t=i;t.getBucketLifecycle=function(s,r){var c,e,o;return m.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return v(s),c=this._bucketRequestParams("GET",s,"lifecycle",r),c.successStatuses=[200],c.xmlResponse=!0,h.next=6,m.default.awrap(this.request(c));case 6:return e=h.sent,o=e.data.Rule||null,o&&(d(o)||(o=[o]),o=o.map(function(g){return g.ID&&(g.id=g.ID,delete g.ID),g.Tag&&!d(g.Tag)&&(g.Tag=[g.Tag]),n(g,"firstLowerCase")})),h.abrupt("return",{rules:o,res:e.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(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}var p=U("../utils/checkBucketName"),v=p.checkBucketName,f=i;f.getBucketVersioning=function(l,n){var t,a,s;return m.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return v(l),t=this._bucketRequestParams("GET",l,"versioning",n),t.xmlResponse=!0,t.successStatuses=[200],c.next=6,m.default.awrap(this.request(t));case 6:return a=c.sent,s=a.data.Status,c.abrupt("return",{status:a.status,versionStatus:s,res:a.res});case 9:case"end":return c.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(n){return n&&n.__esModule?n:{default:n}}var p=U("../utils/checkBucketName"),v=p.checkBucketName,f=U("../utils/isObject"),d=f.isObject,l=i;l.getBucketWebsite=function(t,a){var s,r,c;return m.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return v(t),s=this._bucketRequestParams("GET",t,"website",a),s.successStatuses=[200],s.xmlResponse=!0,o.next=6,m.default.awrap(this.request(s));case 6:return r=o.sent,c=[],r.data.RoutingRules&&r.data.RoutingRules.RoutingRule&&(d(r.data.RoutingRules.RoutingRule)?c=[r.data.RoutingRules.RoutingRule]:c=r.data.RoutingRules.RoutingRule),o.abrupt("return",{index:r.data.IndexDocument&&r.data.IndexDocument.Suffix||"",supportSubDir:r.data.IndexDocument&&r.data.IndexDocument.SupportSubDir||"false",type:r.data.IndexDocument&&r.data.IndexDocument.Type,routingRules:c,error:r.data.ErrorDocument&&r.data.ErrorDocument.Key||null,res:r.res});case 10:case"end":return o.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(C){return C&&C.__esModule?C:{default:C}}var p=U("../utils/checkBucketName"),v=p.checkBucketName,f=U("../utils/isArray"),d=f.isArray,l=U("../utils/deepCopy"),n=l.deepCopy,t=U("../utils/isObject"),a=t.isObject,s=U("../utils/obj2xml"),r=s.obj2xml,c=U("../utils/checkObjectTag"),e=c.checkObjectTag,o=U("../utils/getStrBytesCount"),u=o.getStrBytesCount,h=i;h.putBucketLifecycle=function(T,O,S){var _,L,D,F,j;return m.default.async(function(K){for(;;)switch(K.prev=K.next){case 0:if(v(T),d(O)){K.next=3;break}throw new Error("rules must be Array");case 3:return _=this._bucketRequestParams("PUT",T,"lifecycle",S),L=[],D={LifecycleConfiguration:{Rule:L}},O.forEach(function(Z){g(Z),x(Z),Z.id&&(Z.ID=Z.id,delete Z.id),L.push(Z)}),F=r(D,{headers:!0,firstUpperCase:!0}),_.content=F,_.mime="xml",_.successStatuses=[200],K.next=13,m.default.awrap(this.request(_));case 13:return j=K.sent,K.abrupt("return",{res:j.res});case 15:case"end":return K.stop()}},null,this)};function g(C){C.days&&(C.expiration={days:C.days}),C.date&&(C.expiration={createdBeforeDate:C.date})}function A(C,T){var O=C.days,S=C.createdBeforeDate;if(!O&&!S)throw new Error(T+" must includes days or createdBeforeDate");if(O&&!/^[1-9][0-9]*$/.test(O))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 w(C){if(!d(C)&&!a(C))throw new Error("tag must be Object or Array");C=a(C)?[C]:C;var T={},O=n(C);O.forEach(function(S){T[S.key]=S.value}),e(T)}function x(C){if(C.id&&u(C.id)>255)throw new Error("ID is composed of 255 bytes at most");if(C.prefix===""||C.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(C.status))throw new Error("Status must be Enabled or Disabled");if(C.transition){if(!["IA","Archive"].includes(C.transition.storageClass))throw new Error("StorageClass must be IA or Archive");A(C.transition,"Transition")}if(C.expiration){if(!C.expiration.expiredObjectDeleteMarker)A(C.expiration,"Expiration");else if(C.expiration.days||C.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(C.abortMultipartUpload&&A(C.abortMultipartUpload,"AbortMultipartUpload"),!C.expiration&&!C.abortMultipartUpload&&!C.transition&&!C.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(C.tag){if(C.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");w(C.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(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(n){return n&&n.__esModule?n:{default:n}}var p=U("../utils/checkBucketName"),v=p.checkBucketName,f=U("../utils/obj2xml"),d=f.obj2xml,l=i;l.putBucketVersioning=function(t,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,c,e;return m.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(v(t),["Enabled","Suspended"].includes(a)){u.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return r=this._bucketRequestParams("PUT",t,"versioning",s),c={VersioningConfiguration:{Status:a}},r.mime="xml",r.content=d(c,{headers:!0}),u.next=9,m.default.awrap(this.request(r));case 9:return e=u.sent,u.abrupt("return",{res:e.res,status:e.status});case 11:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(a){return a&&a.__esModule?a:{default:a}}var p=U("../utils/checkBucketName"),v=p.checkBucketName,f=U("../utils/obj2xml"),d=f.obj2xml,l=U("../utils/isArray"),n=l.isArray,t=i;t.putBucketWebsite=function(s){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=arguments[2],e,o,u,h,g;return m.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:if(v(s),e=this._bucketRequestParams("PUT",s,"website",c),o={Suffix:r.index||"index.html"},u={IndexDocument:o},h={WebsiteConfiguration:u},r.supportSubDir&&(o.SupportSubDir=r.supportSubDir),r.type&&(o.Type=r.type),r.error&&(u.ErrorDocument={Key:r.error}),!(r.routingRules!==void 0)){w.next=12;break}if(n(r.routingRules)){w.next=11;break}throw new Error("RoutingRules must be Array");case 11:u.RoutingRules={RoutingRule:r.routingRules};case 12:return h=d(h),e.content=h,e.mime="xml",e.successStatuses=[200],w.next=18,m.default.awrap(this.request(e));case 18:return g=w.sent,w.abrupt("return",{res:g.res});case 20:case"end":return w.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(U,R,i){(function(y){"use strict";var m=U("babel-runtime/core-js/object/keys"),E=f(m),p=U("babel-runtime/core-js/json/stringify"),v=f(p);function f(d){return d&&d.__esModule?d:{default:d}}i.encodeCallback=function(l,n){if(l.headers=l.headers||{},!Object.prototype.hasOwnProperty.call(l.headers,"x-oss-callback")&&n.callback){var t={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};n.callback.host&&(t.callbackHost=n.callback.host),n.callback.contentType&&(t.callbackBodyType=n.callback.contentType);var a=y.from((0,v.default)(t)).toString("base64");if(l.headers["x-oss-callback"]=a,n.callback.customValue){var s={};(0,E.default)(n.callback.customValue).forEach(function(r){s["x:"+r]=n.callback.customValue[r]}),l.headers["x-oss-callback-var"]=y.from((0,v.default)(s)).toString("base64")}}}}).call(this,U("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/assign"),m=E(y);function E(t){return t&&t.__esModule?t:{default:t}}var p=U("humanize-ms"),v=U("url"),f=U("../utils/checkBucketName"),d=f.checkBucketName;function l(t,a){var s=v.parse(t);if(s.protocol||(s=v.parse("http"+(a?"s":"")+"://"+t)),s.protocol!=="http:"&&s.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return s}function n(t,a,s){var r=s?"https://":"http://",c=a?"-internal.aliyuncs.com":".aliyuncs.com",e="vpc100-oss-cn-";return t.substr(0,e.length)===e&&(c=".aliyuncs.com"),v.parse(r+t+c)}R.exports=function(t){if(!t||!t.accessKeyId||!t.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");t.bucket&&d(t.bucket);var a=(0,m.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},t);if(a.accessKeyId=a.accessKeyId.trim(),a.accessKeySecret=a.accessKeySecret.trim(),a.timeout&&(a.timeout=p(a.timeout)),a.endpoint)a.endpoint=l(a.endpoint,a.secure);else if(a.region)a.endpoint=n(a.region,a.internal,a.secure);else throw new Error("require options.endpoint or options.region");return a.inited=!0,a}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(U,R,i){"use strict";var y=U("merge-descriptors"),m=i;y(m,U("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(a){return a&&a.__esModule?a:{default:a}}var p=U("../utils/checkBucketName"),v=p.checkBucketName,f=U("querystring"),d=U("js-base64"),l=d.Base64.encode,n=i;n.processObjectSave=function(s,r,c,e){var o,u,h,g;return m.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return t(s,"sourceObject"),t(r,"targetObject"),t(c,"process"),r=this._objectName(r),e&&v(e),o=this._objectRequestParams("POST",s,{subres:"x-oss-process"}),u=e?",b_"+l(e):"",r=l(r),h={"x-oss-process":c+"|sys/saveas,o_"+r+u},o.content=f.stringify(h),w.next=12,m.default.awrap(this.request(o));case 12:return g=w.sent,w.abrupt("return",{res:g.res,status:g.res.status});case 14:case"end":return w.stop()}},null,this)};function t(a,s){if(!a)throw new Error(s+" is required");if(typeof a!="string")throw new Error(s+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=E(y);function E(n){return n&&n.__esModule?n:{default:n}}var p=U("copy-to"),v=U("./callback"),f=U("./utils/deepCopy"),d=f.deepCopy,l=i;l.listUploads=function(t,a){var s,r,c,e;return m.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return a=a||{},s={},p(a).to(s),s.subres="uploads",r=this._objectRequestParams("GET","",s),r.query=t,r.xmlResponse=!0,r.successStatuses=[200],u.next=10,m.default.awrap(this.request(r));case 10:return c=u.sent,e=c.data.Upload||[],Array.isArray(e)||(e=[e]),e=e.map(function(h){return{name:h.Key,uploadId:h.UploadId,initiated:h.Initiated}}),u.abrupt("return",{res:c.res,uploads:e,bucket:c.data.Bucket,nextKeyMarker:c.data.NextKeyMarker,nextUploadIdMarker:c.data.NextUploadIdMarker,isTruncated:c.data.IsTruncated==="true"});case 15:case"end":return u.stop()}},null,this)},l.listParts=function(t,a,s,r){var c,e,o;return m.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return r=r||{},c={},p(r).to(c),c.subres={uploadId:a},e=this._objectRequestParams("GET",t,c),e.query=s,e.xmlResponse=!0,e.successStatuses=[200],h.next=10,m.default.awrap(this.request(e));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)},l.abortMultipartUpload=function(t,a,s){var r,c,e;return m.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return this._stop(),s=s||{},r={},p(s).to(r),r.subres={uploadId:a},c=this._objectRequestParams("DELETE",t,r),c.successStatuses=[204],u.next=9,m.default.awrap(this.request(c));case 9:return e=u.sent,u.abrupt("return",{res:e.res});case 11:case"end":return u.stop()}},null,this)},l.initMultipartUpload=function(t,a){var s,r,c;return m.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return a=a||{},s={},p(a).to(s),s.headers=s.headers||{},this._convertMetaToHeaders(a.meta,s.headers),s.subres="uploads",r=this._objectRequestParams("POST",t,s),r.mime=a.mime,r.xmlResponse=!0,r.successStatuses=[200],o.next=12,m.default.awrap(this.request(r));case 12:return c=o.sent,o.abrupt("return",{res:c.res,bucket:c.data.Bucket,name:c.data.Key,uploadId:c.data.UploadId});case 14:case"end":return o.stop()}},null,this)},l.uploadPart=function(t,a,s,r,c,e,o){var u;return m.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:return u={stream:this._createStream(r,c,e),size:e-c},g.next=3,m.default.awrap(this._uploadPart(t,a,s,u,o));case 3:return g.abrupt("return",g.sent);case 4:case"end":return g.stop()}},null,this)},l.completeMultipartUpload=function(t,a,s,r){var c,e,o,u,h,g,A,w;return m.default.async(function(C){for(;;)switch(C.prev=C.next){case 0:for(c=s.concat().sort(function(T,O){return T.number-O.number}).filter(function(T,O,S){return!O||T.number!==S[O-1].number}),e=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,o=0;o<c.length;o++)u=c[o],e+=`<Part>
|
|
|
`,e+="<PartNumber>"+u.number+`</PartNumber>
|
|
|
`,e+="<ETag>"+u.etag+`</ETag>
|
|
|
`,e+=`</Part>
|
|
|
`;return e+="</CompleteMultipartUpload>",r=r||{},h={},h=d(r),h.headers&&delete h.headers["x-oss-server-side-encryption"],h.subres={uploadId:a},g=this._objectRequestParams("POST",t,h),v.encodeCallback(g,h),g.mime="xml",g.content=e,g.headers&&g.headers["x-oss-callback"]||(g.xmlResponse=!0),g.successStatuses=[200],C.next=17,m.default.awrap(this.request(g));case 17:return A=C.sent,w={res:A.res,bucket:g.bucket,name:t,etag:A.res.headers.etag},g.headers&&g.headers["x-oss-callback"]&&(w.data=JSON.parse(A.data.toString())),C.abrupt("return",w);case 21:case"end":return C.stop()}},null,this)},l._uploadPart=function(t,a,s,r,c){var e,o,u;return m.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:return c=c||{},e={},p(c).to(e),e.headers={"Content-Length":r.size},e.subres={partNumber:s,uploadId:a},o=this._objectRequestParams("PUT",t,e),o.mime=e.mime,o.stream=r.stream,o.successStatuses=[200],g.next=11,m.default.awrap(this.request(o));case 11:if(u=g.sent,u.res.headers.etag){g.next=14;break}throw new Error(`Please set the etag of expose-headers in OSS
|
|
|
https://help.aliyun.com/document_detail/32069.html`);case 14:return r.stream=null,o.stream=null,g.abrupt("return",{name:t,etag:u.res.headers.etag,res:u.res});case 17:case"end":return g.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=d(y),E=U("babel-runtime/core-js/object/keys"),p=d(E),v=U("babel-runtime/helpers/typeof"),f=d(v);function d(a){return a&&a.__esModule?a:{default:a}}var l=U("../utils/checkBucketName"),n=l.checkBucketName,t=i;t.copy=function(s,r,c,e){var o,u,h;return m.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return(typeof c=="undefined"?"undefined":(0,f.default)(c))==="object"&&(e=c),e=e||{},e.headers=e.headers||{},(0,p.default)(e.headers).forEach(function(w){e.headers["x-oss-copy-source-"+w.toLowerCase()]=e.headers[w]}),e.meta&&(e.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(e.meta,e.headers),r=this._getSourceName(r,c),e.versionId&&(r=r+"?versionId="+e.versionId),e.headers["x-oss-copy-source"]=r,o=this._objectRequestParams("PUT",s,e),o.xmlResponse=!0,o.successStatuses=[200,304],A.next=14,m.default.awrap(this.request(o));case 14:return u=A.sent,h=u.data,h&&(h={etag:h.ETag,lastModified:h.LastModified}),A.abrupt("return",{data:h,res:u.res});case 18:case"end":return A.stop()}},null,this)},t._getSourceName=function(s,r){return typeof r=="string"?s=this._objectName(s):s[0]!=="/"?r=this.options.bucket:(r=s.replace(/\/(.+?)(\/.*)/,"$1"),s=s.replace(/(\/.+?\/)(.*)/,"$2")),n(r),s=encodeURI(s),s="/"+r+"/"+s,s}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.delete=function(l){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return n.subres=(0,p.default)({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectRequestParams("DELETE",l,n),t.successStatuses=[204],r.next=6,m.default.awrap(this.request(t));case 6:return a=r.sent,r.abrupt("return",{res:a.res});case 8:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(t){return t&&t.__esModule?t:{default:t}}var f=U("utility"),d=U("../utils/obj2xml"),l=d.obj2xml,n=i;n.deleteMulti=function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,c,e,o,u,h,g,A,w,x,C,T;return m.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(r=[],!(!a||!a.length)){S.next=3;break}throw new Error("names is required");case 3:for(c=0;c<a.length;c++)e={},typeof a[c]=="string"?e.Key=f.escape(this._objectName(a[c])):(o=a[c],u=o.key,h=o.versionId,e.Key=f.escape(this._objectName(u)),e.VersionId=h),r.push(e);return g={Delete:{Quiet:!!s.quiet,Object:r}},A=l(g,{headers:!0}),s.subres=(0,p.default)({delete:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),w=this._objectRequestParams("POST","",s),w.mime="xml",w.content=A,w.xmlResponse=!0,w.successStatuses=[200],S.next=15,m.default.awrap(this.request(w));case 15:return x=S.sent,C=x.data,T=C&&C.Deleted||null,T&&(Array.isArray(T)||(T=[T])),S.abrupt("return",{res:x.res,deleted:T||[]});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(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.deleteObjectTagging=function(l){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return n.subres=(0,p.default)({tagging:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),l=this._objectName(l),t=this._objectRequestParams("DELETE",l,n),t.successStatuses=[204],r.next=7,m.default.awrap(this.request(t));case 7:return a=r.sent,r.abrupt("return",{status:a.status,res:a.res});case 9:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(n){return n&&n.__esModule?n:{default:n}}var f=U("fs"),d=U("is-type-of"),l=i;l.get=function(t,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,c,e,o;return m.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return r=null,c=!1,d.writableStream(a)?r=a:d.string(a)?(r=f.createWriteStream(a),c=!0):s=a,s=s||{},s.subres=(0,p.default)({},s.subres),s.versionId&&(s.subres.versionId=s.versionId),s.process&&(s.subres["x-oss-process"]=s.process),e=void 0,h.prev=8,o=this._objectRequestParams("GET",t,s),o.writeStream=r,o.successStatuses=[200,206,304],h.next=14,m.default.awrap(this.request(o));case 14:e=h.sent,c&&r.destroy(),h.next=25;break;case 18:if(h.prev=18,h.t0=h.catch(8),!c){h.next=24;break}return r.destroy(),h.next=24,m.default.awrap(this._deleteFileSafe(a));case 24:throw h.t0;case 25:return h.abrupt("return",{res:e.res,content:e.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(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.getACL=function(l){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return n.subres=(0,p.default)({acl:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),l=this._objectName(l),t=this._objectRequestParams("GET",l,n),t.successStatuses=[200],t.xmlResponse=!0,r.next=8,m.default.awrap(this.request(t));case 8:return a=r.sent,r.abrupt("return",{acl:a.data.AccessControlList.Grant,owner:{id:a.data.Owner.ID,displayName:a.data.Owner.DisplayName},res:a.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/keys"),m=d(y),E=U("babel-runtime/regenerator"),p=d(E),v=U("babel-runtime/core-js/object/assign"),f=d(v);function d(o){return o&&o.__esModule?o:{default:o}}var l=i,n=U("../utils/isObject"),t=n.isObject,a=U("../utils/isArray"),s=a.isArray;l.getBucketVersions=r,l.listObjectVersions=r;function r(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h,g,A,w,x,C;return p.default.async(function(O){for(;;)switch(O.prev=O.next){case 0:if(!(o.versionIdMarker&&o.keyMarker===void 0)){O.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return u.subres=(0,f.default)({versions:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),h=this._objectRequestParams("GET","",u),h.xmlResponse=!0,h.successStatuses=[200],h.query=e(o),O.next=10,p.default.awrap(this.request(h));case 10:return g=O.sent,A=g.data.Version||[],w=g.data.DeleteMarker||[],x=this,A&&(Array.isArray(A)||(A=[A]),A=A.map(function(S){return{name:S.Key,url:x._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}}})),w&&(s(w)||(w=[w]),w=w.map(function(S){return{name:S.Key,lastModified:S.LastModified,versionId:S.VersionId,owner:{id:S.Owner.ID,displayName:S.Owner.DisplayName}}})),C=g.data.CommonPrefixes||null,C&&(s(C)||(C=[C]),C=C.map(function(S){return S.Prefix})),O.abrupt("return",{res:g.res,objects:A,deleteMarker:w,prefixes:C,nextMarker:g.data.NextMarker||null,NextVersionIdMarker:g.data.NextVersionIdMarker||null,isTruncated:g.data.IsTruncated==="true"});case 19:case"end":return O.stop()}},null,this)}function c(o){return o.replace(/([A-Z])/g,"-$1").toLowerCase()}function e(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u={};return t(o)&&(0,m.default)(o).forEach(function(h){u[c(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(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.getObjectMeta=function(l,n){var t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return n=n||{},l=this._objectName(l),n.subres=(0,p.default)({objectMeta:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectRequestParams("HEAD",l,n),t.successStatuses=[200],r.next=8,m.default.awrap(this.request(t));case 8:return a=r.sent,r.abrupt("return",{status:a.status,res:a.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(n){return n&&n.__esModule?n:{default:n}}var f=i,d=U("../utils/isObject"),l=d.isObject;f.getObjectTagging=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,r,c,e,o;return m.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return a.subres=(0,p.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),t=this._objectName(t),s=this._objectRequestParams("GET",t,a),s.successStatuses=[200],h.next=7,m.default.awrap(this.request(s));case 7:return r=h.sent,h.next=10,m.default.awrap(this.parseXML(r.data));case 10:return c=h.sent,e=c.TagSet.Tag,e=e&&l(e)?[e]:e||[],o={},e.forEach(function(g){o[g.Key]=g.Value}),h.abrupt("return",{status:r.status,res:r.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(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.getSymlink=function(l){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a,s;return m.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return n.subres=(0,p.default)({symlink:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),l=this._objectName(l),t=this._objectRequestParams("GET",l,n),t.successStatuses=[200],c.next=7,m.default.awrap(this.request(t));case 7:return a=c.sent,s=a.res.headers["x-oss-symlink-target"],c.abrupt("return",{targetName:decodeURIComponent(s),res:a.res});case 10:case"end":return c.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=d(y),E=U("babel-runtime/core-js/object/keys"),p=d(E),v=U("babel-runtime/core-js/object/assign"),f=d(v);function d(n){return n&&n.__esModule?n:{default:n}}var l=i;l.head=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,r,c;return m.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return a.subres=(0,f.default)({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),s=this._objectRequestParams("HEAD",t,a),s.successStatuses=[200,304],o.next=6,m.default.awrap(this.request(s));case 6:return r=o.sent,c={meta:null,res:r.res,status:r.status},r.status===200&&(0,p.default)(r.headers).forEach(function(u){u.indexOf("x-oss-meta-")===0&&(c.meta||(c.meta={}),c.meta[u.substring(11)]=r.headers[u])}),o.abrupt("return",c);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(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.putACL=function(l,n,t){var a,s;return m.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return t=t||{},t.subres=(0,p.default)({acl:""},t.subres),t.versionId&&(t.subres.versionId=t.versionId),t.headers=t.headers||{},t.headers["x-oss-object-acl"]=n,l=this._objectName(l),a=this._objectRequestParams("PUT",l,t),a.successStatuses=[200],c.next=10,m.default.awrap(this.request(a));case 10:return s=c.sent,c.abrupt("return",{res:s.res});case 12:case"end":return c.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=d(y),E=U("babel-runtime/core-js/object/keys"),p=d(E),v=U("babel-runtime/core-js/object/assign"),f=d(v);function d(r){return r&&r.__esModule?r:{default:r}}var l=U("../utils/obj2xml"),n=l.obj2xml,t=U("../utils/checkObjectTag"),a=t.checkObjectTag,s=i;s.putObjectTagging=function(c,e){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,h,g;return m.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return a(e),o.subres=(0,f.default)({tagging:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),c=this._objectName(c),u=this._objectRequestParams("PUT",c,o),u.successStatuses=[200],e=(0,p.default)(e).map(function(x){return{Key:x,Value:e[x]}}),h={Tagging:{TagSet:{Tag:e}}},u.mime="xml",u.content=n(h),w.next=12,m.default.awrap(this.request(u));case 12:return g=w.sent,w.abrupt("return",{res:g.res,status:g.status});case 14:case"end":return w.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(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.putSymlink=function(l,n,t){var a,s;return m.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return t=t||{},t.headers=t.headers||{},n=this._escape(this._objectName(n)),this._convertMetaToHeaders(t.meta,t.headers),t.headers["x-oss-symlink-target"]=n,t.subres=(0,p.default)({symlink:""},t.subres),t.versionId&&(t.subres.versionId=t.versionId),t.storageClass&&(t.headers["x-oss-storage-class"]=t.storageClass),l=this._objectName(l),a=this._objectRequestParams("PUT",l,t),a.successStatuses=[200],c.next=13,m.default.awrap(this.request(a));case 13:return s=c.sent,c.abrupt("return",{res:s.res});case 15:case"end":return c.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(U,R,i){"use strict";var y=U("babel-runtime/regenerator"),m=v(y),E=U("babel-runtime/core-js/promise"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f._parallelNode=function(l,n,t,a){var s,r,c,e,o,u,h,g;return m.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:s=this,r=[],c=[],e=l.length/n,o=l.length%n,u=o===0?e:(l.length-o)/n+1,h=1,g=0;case 8:if(!(g<l.length)){w.next=26;break}if(!s.isCancel()){w.next=11;break}return w.abrupt("break",26);case 11:if(a?c.push(t(s,l[g],a)):c.push(t(s,l[g])),!(c.length===n||h===u&&g===l.length-1)){w.next=23;break}return w.prev=13,h+=1,w.next=17,m.default.awrap(p.default.all(c));case 17:w.next=22;break;case 19:w.prev=19,w.t0=w.catch(13),r.push(w.t0);case 22:c=[];case 23:g++,w.next=8;break;case 26:return w.abrupt("return",r);case 27:case"end":return w.stop()}},null,this,[[13,19]])},f._parallel=function(l,n,t){var a=this;return new p.default(function(s){var r=[];if(n<=0||!l){s(r);return}function c(C){return function(){if(C===null)throw new Error("Callback was already called.");var T=C;C=null;for(var O=arguments.length,S=Array(O),_=0;_<O;_++)S[_]=arguments[_];T.apply(this,S)}}function e(C){var T=-1,O=C.length;return function(){return++T<O&&!a.isCancel()?{value:C[T],key:T}:null}}var o=e(l),u=!1,h=0,g=!1;function A(C,T){h-=1,C?(u=!0,r.push(C),s(r)):T==={}||u&&h<=0?(u=!0,s(r)):g||(a.isCancel()?s(r):x())}function w(C,T){t(C).then(function(O){T(null,O)}).catch(function(O){T(O)})}function x(){for(g=!0;h<n&&!u&&!a.isCancel();){var C=o();if(C===null||r.length>0){u=!0,h<=0&&s(r);return}h+=1,w(C.value,c(A))}g=!1}x()})},f.cancel=function(l){this.options.cancelFlag=!0,l&&this.abortMultipartUpload(l.name,l.uploadId,l.options)},f.isCancel=function(){return this.options.cancelFlag},f.resetCancelFlag=function(){this.options.cancelFlag=!1},f._stop=function(){this.options.cancelFlag=!0},f._makeCancelEvent=function(){var l={status:0,name:"cancel"};return l}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(U,R,i){(function(y){"use strict";var m=U("babel-runtime/core-js/json/stringify"),E=f(m),p=U("babel-runtime/core-js/object/keys"),v=f(p);function f(n){return n&&n.__esModule?n:{default:n}}var d=U("./../../shims/crypto/crypto.js"),l=U("is-type-of");i.buildCanonicalizedResource=function(t,a){var s=""+t,r="?";if(l.string(a)&&a.trim()!=="")s+=r+a;else if(l.array(a))a.sort(),s+=r+a.join("&");else if(a){var c=function(u,h){return u[0]>h[0]?1:u[0]<h[0]?-1:0},e=function(u){s+=r+u,a[u]&&(s+="="+a[u]),r="&"};(0,v.default)(a).sort(c).forEach(e)}return s},i.buildCanonicalString=function(t,a,s,r){s=s||{};var c=s.headers||{},e="x-oss-",o=[],u={},h=[t.toUpperCase(),c["Content-Md5"]||"",c["Content-Type"]||c["Content-Type".toLowerCase()],r||c["x-oss-date"]];return(0,v.default)(c).forEach(function(g){var A=g.toLowerCase();A.indexOf(e)===0&&(u[A]=String(c[g]).trim())}),(0,v.default)(u).sort().forEach(function(g){o.push(g+":"+u[g])}),h=h.concat(o),h.push(this.buildCanonicalizedResource(a,s.parameters)),h.join(`
|
|
|
`)},i.computeSignature=function(t,a){var s=d.createHmac("sha1",t);return s.update(y.from(a,"utf8")).digest("base64")},i.authorization=function(t,a,s){return"OSS "+t+":"+this.computeSignature(a,s)},i._signatureForURL=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments[2],r=arguments[3],c={},e=a.subResource,o=e===void 0?{}:e;if(a.process){var u="x-oss-process";o[u]=a.process}if(a.trafficLimit){var h="x-oss-traffic-limit";o[h]=a.trafficLimit}if(a.response&&(0,v.default)(a.response).forEach(function(x){var C="response-"+x.toLowerCase();o[C]=a.response[x]}),(0,v.default)(a).forEach(function(x){var C=x.toLowerCase(),T=a[x];C.indexOf("x-oss-")===0?c[C]=T:(C.indexOf("content-md5")===0||C.indexOf("content-type")===0)&&(c[x]=T)}),Object.prototype.hasOwnProperty.call(a,"security-token")&&(o["security-token"]=a["security-token"]),Object.prototype.hasOwnProperty.call(a,"callback")){var g={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};if(a.callback.host&&(g.callbackHost=a.callback.host),a.callback.contentType&&(g.callbackBodyType=a.callback.contentType),o.callback=y.from((0,E.default)(g)).toString("base64"),a.callback.customValue){var A={};(0,v.default)(a.callback.customValue).forEach(function(x){A["x:"+x]=a.callback.customValue[x]}),o["callback-var"]=y.from((0,E.default)(A)).toString("base64")}}var w=this.buildCanonicalString(a.method,s,{headers:c,parameters:o},r.toString());return{Signature:this.computeSignature(t,w),subResource:o}}}).call(this,U("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(U,R,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.checkBucketName=void 0,i.checkBucketName=function(y,m){var E=m?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!E.test(y))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/entries"),m=E(y);function E(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(i,"__esModule",{value:!0}),i.checkObjectTag=void 0;var p=U("./checkValid"),v=p.checkValid,f=U("./isObject"),d=f.isObject,l=[{validator:function(s){if(typeof s!="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 (/)"}],n={key:[].concat(l,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(l,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function t(a){if(!d(a))throw new Error("tag must be Object");var s=(0,m.default)(a);if(s.length>10)throw new Error("maximum of 10 tags for a object");var r=["key","value"];s.forEach(function(c){c.forEach(function(e,o){v(e,n[r[o]])})})}i.checkObjectTag=t},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(U,R,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.checkValid=void 0;function y(m,E){E.forEach(function(p){if(p.validator)p.validator(m);else if(p.pattern&&!p.pattern.test(m))throw new Error(p.msg)})}i.checkValid=y},{}],38:[function(U,R,i){(function(y){"use strict";var m=U("babel-runtime/core-js/object/assign"),E=p(m);function p(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(i,"__esModule",{value:!0}),i.createRequest=void 0;var v=U("./../../../shims/crypto/crypto.js"),f=U("debug")("ali-oss"),d=U("mime"),l=U("dateformat"),n=U("copy-to"),t=U("path");function a(c,e){return c[e]||c[e.toLowerCase()]}function s(c,e){delete c[e],delete c[e.toLowerCase()]}function r(c){var e=new Date;this.options.amendTimeSkewed&&(e=+new Date+this.options.amendTimeSkewed);var o={"x-oss-date":l(e,"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,E.default)(o,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(o["x-oss-security-token"]=this.options.stsToken),n(c.headers).to(o),a(o,"Content-Type")||(c.mime&&c.mime.indexOf("/")>0?o["Content-Type"]=c.mime:o["Content-Type"]=d.getType(c.mime||t.extname(c.object||""))),a(o,"Content-Type")||s(o,"Content-Type"),c.content&&(o["Content-Md5"]=v.createHash("md5").update(y.from(c.content,"utf8")).digest("base64"),o["Content-Length"]||(o["Content-Length"]=c.content.length));var u=this._getResource(c);o.authorization=this.authorization(c.method,u,c.subres,o);var h=this._getReqUrl(c);f("request %s %s, with headers %j, !!stream: %s",c.method,h,o,!!c.stream);var g=c.timeout||this.options.timeout,A={method:c.method,content:c.content,stream:c.stream,headers:o,timeout:g,writeStream:c.writeStream,customResponse:c.customResponse,ctx:c.ctx||this.ctx};return this.agent&&(A.agent=this.agent),this.httpsAgent&&(A.httpsAgent=this.httpsAgent),{url:h,params:A}}i.createRequest=r}).call(this,U("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(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/keys"),m=v(y),E=U("babel-runtime/helpers/typeof"),p=v(E);function v(f){return f&&f.__esModule?f:{default:f}}Object.defineProperty(i,"__esModule",{value:!0}),i.deepCopy=void 0,i.deepCopy=function(f){if(f===null||(typeof f=="undefined"?"undefined":(0,p.default)(f))!=="object")return f;var d=Array.isArray(f)?[]:{};return(0,m.default)(f).forEach(function(l){d[l]=i.deepCopy(f[l])}),d}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/keys"),m=v(y),E=U("babel-runtime/helpers/typeof"),p=v(E);function v(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(i,"__esModule",{value:!0}),i.formatObjKey=void 0;function f(l,n){if(l===null||(typeof l=="undefined"?"undefined":(0,p.default)(l))!=="object")return l;var t=void 0;if(Array.isArray(l)){t=[];for(var a=0;a<l.length;a++)t.push(f(l[a],n))}else t={},(0,m.default)(l).forEach(function(s){t[d(s,n)]=f(l[s],n)});return t}i.formatObjKey=f;function d(l,n){return n==="firstUpperCase"?l=l.replace(/^./,function(t){return t.toUpperCase()}):n==="firstLowerCase"&&(l=l.replace(/^./,function(t){return t.toLowerCase()})),l}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(U,R,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getStrBytesCount=void 0;function y(m){for(var E=0,p=0;p<m.length;p++){var v=m.charAt(p);/^[\u00-\uff]$/.test(v)?E+=1:E+=2}return E}i.getStrBytesCount=y},{}],42:[function(U,R,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isArray=void 0,i.isArray=function(y){return Object.prototype.toString.call(y)==="[object Array]"}},{}],43:[function(U,R,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isBlob=void 0;function y(m){return typeof Blob!="undefined"&&m instanceof Blob}i.isBlob=y},{}],44:[function(U,R,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isFile=void 0,i.isFile=function(y){return typeof File!="undefined"&&y instanceof File}},{}],45:[function(U,R,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isIP=void 0,i.isIP=function(y){var m=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,E=/^\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 m.test(y)||E.test(y)}},{}],46:[function(U,R,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isObject=void 0,i.isObject=function(y){return Object.prototype.toString.call(y)==="[object Object]"}},{}],47:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/keys"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(i,"__esModule",{value:!0}),i.obj2xml=void 0;var p=U("./formatObjKey");function v(d){return Object.prototype.toString.call(d).replace(/(.*? |])/g,"").toLowerCase()}function f(d,l){var n="";return l&&l.headers&&(n=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),l&&l.firstUpperCase&&(d=p.formatObjKey(d,"firstUpperCase")),v(d)==="object"?(0,m.default)(d).forEach(function(t){v(d[t])==="string"||v(d[t])==="number"?n+="<"+t+">"+d[t]+"</"+t+">":v(d[t])==="object"?n+="<"+t+">"+f(d[t])+"</"+t+">":v(d[t])==="array"?n+=d[t].map(function(a){return"<"+t+">"+f(a)+"</"+t+">"}).join(""):n+="<"+t+">"+d[t].toString()+"</"+t+">"}):n+=d.toString(),n}i.obj2xml=f},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(U,R,i){R.exports=y,R.exports.HttpsAgent=y;function y(){}},{}],49:[function(U,R,i){R.exports=U("./register")().Promise},{"./register":51}],50:[function(U,R,i){"use strict";var y="@@any-promise/REGISTRATION",m=null;R.exports=function(E,p){return function(f,d){f=f||null,d=d||{};var l=d.global!==!1;if(m===null&&l&&(m=E[y]||null),m!==null&&f!==null&&m.implementation!==f)throw new Error('any-promise already defined as "'+m.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return m===null&&(f!==null&&typeof d.Promise!="undefined"?m={Promise:d.Promise,implementation:f}:m=p(f),l&&(E[y]=m)),m}}},{}],51:[function(U,R,i){"use strict";R.exports=U("./loader")(window,y);function y(){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(U,R,i){R.exports={default:U("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(U,R,i){R.exports={default:U("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(U,R,i){R.exports={default:U("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(U,R,i){R.exports={default:U("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(U,R,i){R.exports={default:U("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(U,R,i){R.exports={default:U("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(U,R,i){R.exports={default:U("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(U,R,i){R.exports={default:U("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(U,R,i){R.exports={default:U("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(U,R,i){R.exports={default:U("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(U,R,i){R.exports={default:U("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(U,R,i){R.exports={default:U("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(U,R,i){R.exports={default:U("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(U,R,i){R.exports={default:U("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(U,R,i){R.exports={default:U("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(U,R,i){"use strict";i.__esModule=!0;var y=U("../core-js/symbol/iterator"),m=f(y),E=U("../core-js/symbol"),p=f(E),v=typeof p.default=="function"&&typeof m.default=="symbol"?function(d){return typeof d}:function(d){return d&&typeof p.default=="function"&&d.constructor===p.default&&d!==p.default.prototype?"symbol":typeof d};function f(d){return d&&d.__esModule?d:{default:d}}i.default=typeof p.default=="function"&&v(m.default)==="symbol"?function(d){return typeof d=="undefined"?"undefined":v(d)}:function(d){return d&&typeof p.default=="function"&&d.constructor===p.default&&d!==p.default.prototype?"symbol":typeof d=="undefined"?"undefined":v(d)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(U,R,i){R.exports=U("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(U,R,i){"use strict";i.byteLength=l,i.toByteArray=t,i.fromByteArray=r;for(var y=[],m=[],E=typeof Uint8Array!="undefined"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,f=p.length;v<f;++v)y[v]=p[v],m[p.charCodeAt(v)]=v;m["-".charCodeAt(0)]=62,m["_".charCodeAt(0)]=63;function d(c){var e=c.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=c.indexOf("=");o===-1&&(o=e);var u=o===e?0:4-o%4;return[o,u]}function l(c){var e=d(c),o=e[0],u=e[1];return(o+u)*3/4-u}function n(c,e,o){return(e+o)*3/4-o}function t(c){var e,o=d(c),u=o[0],h=o[1],g=new E(n(c,u,h)),A=0,w=h>0?u-4:u,x;for(x=0;x<w;x+=4)e=m[c.charCodeAt(x)]<<18|m[c.charCodeAt(x+1)]<<12|m[c.charCodeAt(x+2)]<<6|m[c.charCodeAt(x+3)],g[A++]=e>>16&255,g[A++]=e>>8&255,g[A++]=e&255;return h===2&&(e=m[c.charCodeAt(x)]<<2|m[c.charCodeAt(x+1)]>>4,g[A++]=e&255),h===1&&(e=m[c.charCodeAt(x)]<<10|m[c.charCodeAt(x+1)]<<4|m[c.charCodeAt(x+2)]>>2,g[A++]=e>>8&255,g[A++]=e&255),g}function a(c){return y[c>>18&63]+y[c>>12&63]+y[c>>6&63]+y[c&63]}function s(c,e,o){for(var u,h=[],g=e;g<o;g+=3)u=(c[g]<<16&16711680)+(c[g+1]<<8&65280)+(c[g+2]&255),h.push(a(u));return h.join("")}function r(c){for(var e,o=c.length,u=o%3,h=[],g=16383,A=0,w=o-u;A<w;A+=g)h.push(s(c,A,A+g>w?w:A+g));return u===1?(e=c[o-1],h.push(y[e>>2]+y[e<<4&63]+"==")):u===2&&(e=(c[o-2]<<8)+c[o-1],h.push(y[e>>10]+y[e>>4&63]+y[e<<2&63]+"=")),h.join("")}},{}],70:[function(U,R,i){/*!
|
|
|
* Bowser - a browser detector
|
|
|
* https://github.com/ded/bowser
|
|
|
* MIT License | (c) Dustin Diaz 2015
|
|
|
*/!function(y,m,E){typeof R!="undefined"&&R.exports?R.exports=E():typeof define=="function"&&define.amd?define(m,E):y[m]=E()}(this,"bowser",function(){var y=!0;function m(n){function t(V){var z=n.match(V);return z&&z.length>1&&z[1]||""}function a(V){var z=n.match(V);return z&&z.length>1&&z[2]||""}var s=t(/(ipod|iphone|ipad)/i).toLowerCase(),r=/like android/i.test(n),c=!r&&/android/i.test(n),e=/nexus\s*[0-6]\s*/i.test(n),o=!e&&/nexus\s*[0-9]+/i.test(n),u=/CrOS/.test(n),h=/silk/i.test(n),g=/sailfish/i.test(n),A=/tizen/i.test(n),w=/(web|hpw)(o|0)s/i.test(n),x=/windows phone/i.test(n),C=/SamsungBrowser/i.test(n),T=!x&&/windows/i.test(n),O=!s&&!h&&/macintosh/i.test(n),S=!c&&!g&&!A&&!w&&/linux/i.test(n),_=a(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),L=t(/version\/(\d+(\.\d+)?)/i),D=/tablet/i.test(n)&&!/tablet pc/i.test(n),F=!D&&/[^-]mobi/i.test(n),j=/xbox/i.test(n),k;/opera/i.test(n)?k={name:"Opera",opera:y,version:L||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(n)?k={name:"Opera",opera:y,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||L}:/SamsungBrowser/i.test(n)?k={name:"Samsung Internet for Android",samsungBrowser:y,version:L||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(n)?k={name:"NAVER Whale browser",whale:y,version:t(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(n)?k={name:"MZ Browser",mzbrowser:y,version:t(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(n)?k={name:"Opera Coast",coast:y,version:L||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(n)?k={name:"Focus",focus:y,version:t(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(n)?k={name:"Yandex Browser",yandexbrowser:y,version:L||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(n)?k={name:"UC Browser",ucbrowser:y,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(n)?k={name:"Maxthon",maxthon:y,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(n)?k={name:"Epiphany",epiphany:y,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(n)?k={name:"Puffin",puffin:y,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(n)?k={name:"Sleipnir",sleipnir:y,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(n)?k={name:"K-Meleon",kMeleon:y,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:x?(k={name:"Windows Phone",osname:"Windows Phone",windowsphone:y},_?(k.msedge=y,k.version=_):(k.msie=y,k.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(n)?k={name:"Internet Explorer",msie:y,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?k={name:"Chrome",osname:"Chrome OS",chromeos:y,chromeBook:y,chrome:y,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(n)?k={name:"Microsoft Edge",msedge:y,version:_}:/vivaldi/i.test(n)?k={name:"Vivaldi",vivaldi:y,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||L}:g?k={name:"Sailfish",osname:"Sailfish OS",sailfish:y,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(n)?k={name:"SeaMonkey",seamonkey:y,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(n)?(k={name:"Firefox",firefox:y,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(n)&&(k.firefoxos=y,k.osname="Firefox OS")):h?k={name:"Amazon Silk",silk:y,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(n)?k={name:"PhantomJS",phantom:y,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(n)?k={name:"SlimerJS",slimer:y,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(n)||/rim\stablet/i.test(n)?k={name:"BlackBerry",osname:"BlackBerry OS",blackberry:y,version:L||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:w?(k={name:"WebOS",osname:"WebOS",webos:y,version:L||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(n)&&(k.touchpad=y)):/bada/i.test(n)?k={name:"Bada",osname:"Bada",bada:y,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:A?k={name:"Tizen",osname:"Tizen",tizen:y,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||L}:/qupzilla/i.test(n)?k={name:"QupZilla",qupzilla:y,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||L}:/chromium/i.test(n)?k={name:"Chromium",chromium:y,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||L}:/chrome|crios|crmo/i.test(n)?k={name:"Chrome",chrome:y,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:c?k={name:"Android",version:L}:/safari|applewebkit/i.test(n)?(k={name:"Safari",safari:y},L&&(k.version=L)):s?(k={name:s=="iphone"?"iPhone":s=="ipad"?"iPad":"iPod"},L&&(k.version=L)):/googlebot/i.test(n)?k={name:"Googlebot",googlebot:y,version:t(/googlebot\/(\d+(\.\d+))/i)||L}:k={name:t(/^(.*)\/(.*) /),version:a(/^(.*)\/(.*) /)},!k.msedge&&/(apple)?webkit/i.test(n)?(/(apple)?webkit\/537\.36/i.test(n)?(k.name=k.name||"Blink",k.blink=y):(k.name=k.name||"Webkit",k.webkit=y),!k.version&&L&&(k.version=L)):!k.opera&&/gecko\//i.test(n)&&(k.name=k.name||"Gecko",k.gecko=y,k.version=k.version||t(/gecko\/(\d+(\.\d+)?)/i)),!k.windowsphone&&(c||k.silk)?(k.android=y,k.osname="Android"):!k.windowsphone&&s?(k[s]=y,k.ios=y,k.osname="iOS"):O?(k.mac=y,k.osname="macOS"):j?(k.xbox=y,k.osname="Xbox"):T?(k.windows=y,k.osname="Windows"):S&&(k.linux=y,k.osname="Linux");function K(V){switch(V){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="";k.windows?Z=K(t(/Windows ((NT|XP)( \d\d?.\d)?)/i)):k.windowsphone?Z=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):k.mac?(Z=t(/Mac OS X (\d+([_\.\s]\d+)*)/i),Z=Z.replace(/[_\s]/g,".")):s?(Z=t(/os (\d+([_\s]\d+)*) like mac os x/i),Z=Z.replace(/[_\s]/g,".")):c?Z=t(/android[ \/-](\d+(\.\d+)*)/i):k.webos?Z=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):k.blackberry?Z=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):k.bada?Z=t(/bada\/(\d+(\.\d+)*)/i):k.tizen&&(Z=t(/tizen[\/\s](\d+(\.\d+)*)/i)),Z&&(k.osversion=Z);var B=!k.windows&&Z.split(".")[0];return D||o||s=="ipad"||c&&(B==3||B>=4&&!F)||k.silk?k.tablet=y:(F||s=="iphone"||s=="ipod"||c||e||k.blackberry||k.webos||k.bada)&&(k.mobile=y),k.msedge||k.msie&&k.version>=10||k.yandexbrowser&&k.version>=15||k.vivaldi&&k.version>=1||k.chrome&&k.version>=20||k.samsungBrowser&&k.version>=4||k.whale&&f([k.version,"1.0"])===1||k.mzbrowser&&f([k.version,"6.0"])===1||k.focus&&f([k.version,"1.0"])===1||k.firefox&&k.version>=20||k.safari&&k.version>=6||k.opera&&k.version>=10||k.ios&&k.osversion&&k.osversion.split(".")[0]>=6||k.blackberry&&k.version>=10.1||k.chromium&&k.version>=20?k.a=y:k.msie&&k.version<10||k.chrome&&k.version<20||k.firefox&&k.version<20||k.safari&&k.version<6||k.opera&&k.version<10||k.ios&&k.osversion&&k.osversion.split(".")[0]<6||k.chromium&&k.version<20?k.c=y:k.x=y,k}var E=m(typeof navigator!="undefined"&&navigator.userAgent||"");E.test=function(n){for(var t=0;t<n.length;++t){var a=n[t];if(typeof a=="string"&&a in E)return!0}return!1};function p(n){return n.split(".").length}function v(n,t){var a=[],s;if(Array.prototype.map)return Array.prototype.map.call(n,t);for(s=0;s<n.length;s++)a.push(t(n[s]));return a}function f(n){for(var t=Math.max(p(n[0]),p(n[1])),a=v(n,function(s){var r=t-p(s);return s=s+new Array(r+1).join(".0"),v(s.split("."),function(c){return new Array(20-c.length).join("0")+c}).reverse()});--t>=0;){if(a[0][t]>a[1][t])return 1;if(a[0][t]===a[1][t]){if(t===0)return 0}else return-1}}function d(n,t,a){var s=E;typeof t=="string"&&(a=t,t=void 0),t===void 0&&(t=!1),a&&(s=m(a));var r=""+s.version;for(var c in n)if(n.hasOwnProperty(c)&&s[c]){if(typeof n[c]!="string")throw new Error("Browser version in the minVersion map should be a string: "+c+": "+String(n));return f([r,n[c]])<0}return t}function l(n,t,a){return!d(n,t,a)}return E.isUnsupportedBrowser=d,E.compareVersions=f,E.check=l,E._detect=m,E.detect=m,E})},{}],71:[function(U,R,i){},{}],72:[function(U,R,i){var y=U("buffer").Buffer,m=y.isEncoding||function(l){switch(l&&l.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 E(l){if(l&&!m(l))throw new Error("Unknown encoding: "+l)}var p=i.StringDecoder=function(l){this.encoding=(l||"utf8").toLowerCase().replace(/[-_]/,""),E(l);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=d;break;default:this.write=v;return}this.charBuffer=new y(6),this.charReceived=0,this.charLength=0};p.prototype.write=function(l){for(var n="";this.charLength;){var t=l.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:l.length;if(l.copy(this.charBuffer,this.charReceived,0,t),this.charReceived+=t,this.charReceived<this.charLength)return"";l=l.slice(t,l.length),n=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var s=n.charCodeAt(n.length-1);if(s>=55296&&s<=56319){this.charLength+=this.surrogateSize,n="";continue}if(this.charReceived=this.charLength=0,l.length===0)return n;break}this.detectIncompleteChar(l);var a=l.length;this.charLength&&(l.copy(this.charBuffer,0,l.length-this.charReceived,a),a-=this.charReceived),n+=l.toString(this.encoding,0,a);var a=n.length-1,s=n.charCodeAt(a);if(s>=55296&&s<=56319){var r=this.surrogateSize;return this.charLength+=r,this.charReceived+=r,this.charBuffer.copy(this.charBuffer,r,0,r),l.copy(this.charBuffer,0,0,r),n.substring(0,a)}return n},p.prototype.detectIncompleteChar=function(l){for(var n=l.length>=3?3:l.length;n>0;n--){var t=l[l.length-n];if(n==1&&t>>5==6){this.charLength=2;break}if(n<=2&&t>>4==14){this.charLength=3;break}if(n<=3&&t>>3==30){this.charLength=4;break}}this.charReceived=n},p.prototype.end=function(l){var n="";if(l&&l.length&&(n=this.write(l)),this.charReceived){var t=this.charReceived,a=this.charBuffer,s=this.encoding;n+=a.slice(0,t).toString(s)}return n};function v(l){return l.toString(this.encoding)}function f(l){this.charReceived=l.length%2,this.charLength=this.charReceived?2:0}function d(l){this.charReceived=l.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(U,R,i){(function(y,m){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/"use strict";var E=U("base64-js"),p=U("ieee754"),v=U("isarray");i.Buffer=m,i.SlowBuffer=h,i.INSPECT_MAX_BYTES=50,m.TYPED_ARRAY_SUPPORT=y.TYPED_ARRAY_SUPPORT!==void 0?y.TYPED_ARRAY_SUPPORT:f(),i.kMaxLength=d();function f(){try{var oe=new Uint8Array(1);return oe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},oe.foo()===42&&typeof oe.subarray=="function"&&oe.subarray(1,1).byteLength===0}catch(Q){return!1}}function d(){return m.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(oe,Q){if(d()<Q)throw new RangeError("Invalid typed array length");return m.TYPED_ARRAY_SUPPORT?(oe=new Uint8Array(Q),oe.__proto__=m.prototype):(oe===null&&(oe=new m(Q)),oe.length=Q),oe}function m(oe,Q,G){if(!m.TYPED_ARRAY_SUPPORT&&!(this instanceof m))return new m(oe,Q,G);if(typeof oe=="number"){if(typeof Q=="string")throw new Error("If encoding is specified then the first argument must be a string");return s(this,oe)}return n(this,oe,Q,G)}m.poolSize=8192,m._augment=function(oe){return oe.__proto__=m.prototype,oe};function n(oe,Q,G,te){if(typeof Q=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&Q instanceof ArrayBuffer?e(oe,Q,G,te):typeof Q=="string"?r(oe,Q,G):o(oe,Q)}m.from=function(oe,Q,G){return n(null,oe,Q,G)},m.TYPED_ARRAY_SUPPORT&&(m.prototype.__proto__=Uint8Array.prototype,m.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&m[Symbol.species]===m&&Object.defineProperty(m,Symbol.species,{value:null,configurable:!0}));function t(oe){if(typeof oe!="number")throw new TypeError('"size" argument must be a number');if(oe<0)throw new RangeError('"size" argument must not be negative')}function a(oe,Q,G,te){return t(Q),Q<=0?l(oe,Q):G!==void 0?typeof te=="string"?l(oe,Q).fill(G,te):l(oe,Q).fill(G):l(oe,Q)}m.alloc=function(oe,Q,G){return a(null,oe,Q,G)};function s(oe,Q){if(t(Q),oe=l(oe,Q<0?0:u(Q)|0),!m.TYPED_ARRAY_SUPPORT)for(var G=0;G<Q;++G)oe[G]=0;return oe}m.allocUnsafe=function(oe){return s(null,oe)},m.allocUnsafeSlow=function(oe){return s(null,oe)};function r(oe,Q,G){if((typeof G!="string"||G==="")&&(G="utf8"),!m.isEncoding(G))throw new TypeError('"encoding" must be a valid string encoding');var te=g(Q,G)|0;oe=l(oe,te);var xe=oe.write(Q,G);return xe!==te&&(oe=oe.slice(0,xe)),oe}function c(oe,Q){var G=Q.length<0?0:u(Q.length)|0;oe=l(oe,G);for(var te=0;te<G;te+=1)oe[te]=Q[te]&255;return oe}function e(oe,Q,G,te){if(Q.byteLength,G<0||Q.byteLength<G)throw new RangeError("'offset' is out of bounds");if(Q.byteLength<G+(te||0))throw new RangeError("'length' is out of bounds");return G===void 0&&te===void 0?Q=new Uint8Array(Q):te===void 0?Q=new Uint8Array(Q,G):Q=new Uint8Array(Q,G,te),m.TYPED_ARRAY_SUPPORT?(oe=Q,oe.__proto__=m.prototype):oe=c(oe,Q),oe}function o(oe,Q){if(m.isBuffer(Q)){var G=u(Q.length)|0;return oe=l(oe,G),oe.length===0||Q.copy(oe,0,0,G),oe}if(Q){if(typeof ArrayBuffer!="undefined"&&Q.buffer instanceof ArrayBuffer||"length"in Q)return typeof Q.length!="number"||Ze(Q.length)?l(oe,0):c(oe,Q);if(Q.type==="Buffer"&&v(Q.data))return c(oe,Q.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(oe){if(oe>=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return oe|0}function h(oe){return+oe!=oe&&(oe=0),m.alloc(+oe)}m.isBuffer=function(Q){return!!(Q!=null&&Q._isBuffer)},m.compare=function(Q,G){if(!m.isBuffer(Q)||!m.isBuffer(G))throw new TypeError("Arguments must be Buffers");if(Q===G)return 0;for(var te=Q.length,xe=G.length,fe=0,Be=Math.min(te,xe);fe<Be;++fe)if(Q[fe]!==G[fe]){te=Q[fe],xe=G[fe];break}return te<xe?-1:xe<te?1:0},m.isEncoding=function(Q){switch(String(Q).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},m.concat=function(Q,G){if(!v(Q))throw new TypeError('"list" argument must be an Array of Buffers');if(Q.length===0)return m.alloc(0);var te;if(G===void 0)for(G=0,te=0;te<Q.length;++te)G+=Q[te].length;var xe=m.allocUnsafe(G),fe=0;for(te=0;te<Q.length;++te){var Be=Q[te];if(!m.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(xe,fe),fe+=Be.length}return xe};function g(oe,Q){if(m.isBuffer(oe))return oe.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(oe)||oe instanceof ArrayBuffer))return oe.byteLength;typeof oe!="string"&&(oe=""+oe);var G=oe.length;if(G===0)return 0;for(var te=!1;;)switch(Q){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":case void 0:return We(oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G*2;case"hex":return G>>>1;case"base64":return ee(oe).length;default:if(te)return We(oe).length;Q=(""+Q).toLowerCase(),te=!0}}m.byteLength=g;function A(oe,Q,G){var te=!1;if((Q===void 0||Q<0)&&(Q=0),Q>this.length)return"";if((G===void 0||G>this.length)&&(G=this.length),G<=0)return"";if(G>>>=0,Q>>>=0,G<=Q)return"";for(oe||(oe="utf8");;)switch(oe){case"hex":return V(this,Q,G);case"utf8":case"utf-8":return j(this,Q,G);case"ascii":return Z(this,Q,G);case"latin1":case"binary":return B(this,Q,G);case"base64":return F(this,Q,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,Q,G);default:if(te)throw new TypeError("Unknown encoding: "+oe);oe=(oe+"").toLowerCase(),te=!0}}m.prototype._isBuffer=!0;function w(oe,Q,G){var te=oe[Q];oe[Q]=oe[G],oe[G]=te}m.prototype.swap16=function(){var Q=this.length;if(Q%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var G=0;G<Q;G+=2)w(this,G,G+1);return this},m.prototype.swap32=function(){var Q=this.length;if(Q%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var G=0;G<Q;G+=4)w(this,G,G+3),w(this,G+1,G+2);return this},m.prototype.swap64=function(){var Q=this.length;if(Q%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var G=0;G<Q;G+=8)w(this,G,G+7),w(this,G+1,G+6),w(this,G+2,G+5),w(this,G+3,G+4);return this},m.prototype.toString=function(){var Q=this.length|0;return Q===0?"":arguments.length===0?j(this,0,Q):A.apply(this,arguments)},m.prototype.equals=function(Q){if(!m.isBuffer(Q))throw new TypeError("Argument must be a Buffer");return this===Q?!0:m.compare(this,Q)===0},m.prototype.inspect=function(){var Q="",G=i.INSPECT_MAX_BYTES;return this.length>0&&(Q=this.toString("hex",0,G).match(/.{2}/g).join(" "),this.length>G&&(Q+=" ... ")),"<Buffer "+Q+">"},m.prototype.compare=function(Q,G,te,xe,fe){if(!m.isBuffer(Q))throw new TypeError("Argument must be a Buffer");if(G===void 0&&(G=0),te===void 0&&(te=Q?Q.length:0),xe===void 0&&(xe=0),fe===void 0&&(fe=this.length),G<0||te>Q.length||xe<0||fe>this.length)throw new RangeError("out of range index");if(xe>=fe&&G>=te)return 0;if(xe>=fe)return-1;if(G>=te)return 1;if(G>>>=0,te>>>=0,xe>>>=0,fe>>>=0,this===Q)return 0;for(var Be=fe-xe,Ne=te-G,de=Math.min(Be,Ne),ve=this.slice(xe,fe),Me=Q.slice(G,te),qe=0;qe<de;++qe)if(ve[qe]!==Me[qe]){Be=ve[qe],Ne=Me[qe];break}return Be<Ne?-1:Ne<Be?1:0};function x(oe,Q,G,te,xe){if(oe.length===0)return-1;if(typeof G=="string"?(te=G,G=0):G>2147483647?G=2147483647:G<-2147483648&&(G=-2147483648),G=+G,isNaN(G)&&(G=xe?0:oe.length-1),G<0&&(G=oe.length+G),G>=oe.length){if(xe)return-1;G=oe.length-1}else if(G<0)if(xe)G=0;else return-1;if(typeof Q=="string"&&(Q=m.from(Q,te)),m.isBuffer(Q))return Q.length===0?-1:C(oe,Q,G,te,xe);if(typeof Q=="number")return Q=Q&255,m.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?xe?Uint8Array.prototype.indexOf.call(oe,Q,G):Uint8Array.prototype.lastIndexOf.call(oe,Q,G):C(oe,[Q],G,te,xe);throw new TypeError("val must be string, number or Buffer")}function C(oe,Q,G,te,xe){var fe=1,Be=oe.length,Ne=Q.length;if(te!==void 0&&(te=String(te).toLowerCase(),te==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(oe.length<2||Q.length<2)return-1;fe=2,Be/=2,Ne/=2,G/=2}function de(ht,Pe){return fe===1?ht[Pe]:ht.readUInt16BE(Pe*fe)}var ve;if(xe){var Me=-1;for(ve=G;ve<Be;ve++)if(de(oe,ve)===de(Q,Me===-1?0:ve-Me)){if(Me===-1&&(Me=ve),ve-Me+1===Ne)return Me*fe}else Me!==-1&&(ve-=ve-Me),Me=-1}else for(G+Ne>Be&&(G=Be-Ne),ve=G;ve>=0;ve--){for(var qe=!0,gt=0;gt<Ne;gt++)if(de(oe,ve+gt)!==de(Q,gt)){qe=!1;break}if(qe)return ve}return-1}m.prototype.includes=function(Q,G,te){return this.indexOf(Q,G,te)!==-1},m.prototype.indexOf=function(Q,G,te){return x(this,Q,G,te,!0)},m.prototype.lastIndexOf=function(Q,G,te){return x(this,Q,G,te,!1)};function T(oe,Q,G,te){G=Number(G)||0;var xe=oe.length-G;te?(te=Number(te),te>xe&&(te=xe)):te=xe;var fe=Q.length;if(fe%2!==0)throw new TypeError("Invalid hex string");te>fe/2&&(te=fe/2);for(var Be=0;Be<te;++Be){var Ne=parseInt(Q.substr(Be*2,2),16);if(isNaN(Ne))return Be;oe[G+Be]=Ne}return Be}function O(oe,Q,G,te){return he(We(Q,oe.length-G),oe,G,te)}function S(oe,Q,G,te){return he(Ae(Q),oe,G,te)}function _(oe,Q,G,te){return S(oe,Q,G,te)}function L(oe,Q,G,te){return he(ee(Q),oe,G,te)}function D(oe,Q,G,te){return he(je(Q,oe.length-G),oe,G,te)}m.prototype.write=function(Q,G,te,xe){if(G===void 0)xe="utf8",te=this.length,G=0;else if(te===void 0&&typeof G=="string")xe=G,te=this.length,G=0;else if(isFinite(G))G=G|0,isFinite(te)?(te=te|0,xe===void 0&&(xe="utf8")):(xe=te,te=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var fe=this.length-G;if((te===void 0||te>fe)&&(te=fe),Q.length>0&&(te<0||G<0)||G>this.length)throw new RangeError("Attempt to write outside buffer bounds");xe||(xe="utf8");for(var Be=!1;;)switch(xe){case"hex":return T(this,Q,G,te);case"utf8":case"utf-8":return O(this,Q,G,te);case"ascii":return S(this,Q,G,te);case"latin1":case"binary":return _(this,Q,G,te);case"base64":return L(this,Q,G,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,Q,G,te);default:if(Be)throw new TypeError("Unknown encoding: "+xe);xe=(""+xe).toLowerCase(),Be=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(oe,Q,G){return Q===0&&G===oe.length?E.fromByteArray(oe):E.fromByteArray(oe.slice(Q,G))}function j(oe,Q,G){G=Math.min(oe.length,G);for(var te=[],xe=Q;xe<G;){var fe=oe[xe],Be=null,Ne=fe>239?4:fe>223?3:fe>191?2:1;if(xe+Ne<=G){var de,ve,Me,qe;switch(Ne){case 1:fe<128&&(Be=fe);break;case 2:de=oe[xe+1],(de&192)===128&&(qe=(fe&31)<<6|de&63,qe>127&&(Be=qe));break;case 3:de=oe[xe+1],ve=oe[xe+2],(de&192)===128&&(ve&192)===128&&(qe=(fe&15)<<12|(de&63)<<6|ve&63,qe>2047&&(qe<55296||qe>57343)&&(Be=qe));break;case 4:de=oe[xe+1],ve=oe[xe+2],Me=oe[xe+3],(de&192)===128&&(ve&192)===128&&(Me&192)===128&&(qe=(fe&15)<<18|(de&63)<<12|(ve&63)<<6|Me&63,qe>65535&&qe<1114112&&(Be=qe))}}Be===null?(Be=65533,Ne=1):Be>65535&&(Be-=65536,te.push(Be>>>10&1023|55296),Be=56320|Be&1023),te.push(Be),xe+=Ne}return K(te)}var k=4096;function K(oe){var Q=oe.length;if(Q<=k)return String.fromCharCode.apply(String,oe);for(var G="",te=0;te<Q;)G+=String.fromCharCode.apply(String,oe.slice(te,te+=k));return G}function Z(oe,Q,G){var te="";G=Math.min(oe.length,G);for(var xe=Q;xe<G;++xe)te+=String.fromCharCode(oe[xe]&127);return te}function B(oe,Q,G){var te="";G=Math.min(oe.length,G);for(var xe=Q;xe<G;++xe)te+=String.fromCharCode(oe[xe]);return te}function V(oe,Q,G){var te=oe.length;(!Q||Q<0)&&(Q=0),(!G||G<0||G>te)&&(G=te);for(var xe="",fe=Q;fe<G;++fe)xe+=Te(oe[fe]);return xe}function z(oe,Q,G){for(var te=oe.slice(Q,G),xe="",fe=0;fe<te.length;fe+=2)xe+=String.fromCharCode(te[fe]+te[fe+1]*256);return xe}m.prototype.slice=function(Q,G){var te=this.length;Q=~~Q,G=G===void 0?te:~~G,Q<0?(Q+=te,Q<0&&(Q=0)):Q>te&&(Q=te),G<0?(G+=te,G<0&&(G=0)):G>te&&(G=te),G<Q&&(G=Q);var xe;if(m.TYPED_ARRAY_SUPPORT)xe=this.subarray(Q,G),xe.__proto__=m.prototype;else{var fe=G-Q;xe=new m(fe,void 0);for(var Be=0;Be<fe;++Be)xe[Be]=this[Be+Q]}return xe};function X(oe,Q,G){if(oe%1!==0||oe<0)throw new RangeError("offset is not uint");if(oe+Q>G)throw new RangeError("Trying to access beyond buffer length")}m.prototype.readUIntLE=function(Q,G,te){Q=Q|0,G=G|0,te||X(Q,G,this.length);for(var xe=this[Q],fe=1,Be=0;++Be<G&&(fe*=256);)xe+=this[Q+Be]*fe;return xe},m.prototype.readUIntBE=function(Q,G,te){Q=Q|0,G=G|0,te||X(Q,G,this.length);for(var xe=this[Q+--G],fe=1;G>0&&(fe*=256);)xe+=this[Q+--G]*fe;return xe},m.prototype.readUInt8=function(Q,G){return G||X(Q,1,this.length),this[Q]},m.prototype.readUInt16LE=function(Q,G){return G||X(Q,2,this.length),this[Q]|this[Q+1]<<8},m.prototype.readUInt16BE=function(Q,G){return G||X(Q,2,this.length),this[Q]<<8|this[Q+1]},m.prototype.readUInt32LE=function(Q,G){return G||X(Q,4,this.length),(this[Q]|this[Q+1]<<8|this[Q+2]<<16)+this[Q+3]*16777216},m.prototype.readUInt32BE=function(Q,G){return G||X(Q,4,this.length),this[Q]*16777216+(this[Q+1]<<16|this[Q+2]<<8|this[Q+3])},m.prototype.readIntLE=function(Q,G,te){Q=Q|0,G=G|0,te||X(Q,G,this.length);for(var xe=this[Q],fe=1,Be=0;++Be<G&&(fe*=256);)xe+=this[Q+Be]*fe;return fe*=128,xe>=fe&&(xe-=Math.pow(2,8*G)),xe},m.prototype.readIntBE=function(Q,G,te){Q=Q|0,G=G|0,te||X(Q,G,this.length);for(var xe=G,fe=1,Be=this[Q+--xe];xe>0&&(fe*=256);)Be+=this[Q+--xe]*fe;return fe*=128,Be>=fe&&(Be-=Math.pow(2,8*G)),Be},m.prototype.readInt8=function(Q,G){return G||X(Q,1,this.length),this[Q]&128?(255-this[Q]+1)*-1:this[Q]},m.prototype.readInt16LE=function(Q,G){G||X(Q,2,this.length);var te=this[Q]|this[Q+1]<<8;return te&32768?te|4294901760:te},m.prototype.readInt16BE=function(Q,G){G||X(Q,2,this.length);var te=this[Q+1]|this[Q]<<8;return te&32768?te|4294901760:te},m.prototype.readInt32LE=function(Q,G){return G||X(Q,4,this.length),this[Q]|this[Q+1]<<8|this[Q+2]<<16|this[Q+3]<<24},m.prototype.readInt32BE=function(Q,G){return G||X(Q,4,this.length),this[Q]<<24|this[Q+1]<<16|this[Q+2]<<8|this[Q+3]},m.prototype.readFloatLE=function(Q,G){return G||X(Q,4,this.length),p.read(this,Q,!0,23,4)},m.prototype.readFloatBE=function(Q,G){return G||X(Q,4,this.length),p.read(this,Q,!1,23,4)},m.prototype.readDoubleLE=function(Q,G){return G||X(Q,8,this.length),p.read(this,Q,!0,52,8)},m.prototype.readDoubleBE=function(Q,G){return G||X(Q,8,this.length),p.read(this,Q,!1,52,8)};function W(oe,Q,G,te,xe,fe){if(!m.isBuffer(oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Q>xe||Q<fe)throw new RangeError('"value" argument is out of bounds');if(G+te>oe.length)throw new RangeError("Index out of range")}m.prototype.writeUIntLE=function(Q,G,te,xe){if(Q=+Q,G=G|0,te=te|0,!xe){var fe=Math.pow(2,8*te)-1;W(this,Q,G,te,fe,0)}var Be=1,Ne=0;for(this[G]=Q&255;++Ne<te&&(Be*=256);)this[G+Ne]=Q/Be&255;return G+te},m.prototype.writeUIntBE=function(Q,G,te,xe){if(Q=+Q,G=G|0,te=te|0,!xe){var fe=Math.pow(2,8*te)-1;W(this,Q,G,te,fe,0)}var Be=te-1,Ne=1;for(this[G+Be]=Q&255;--Be>=0&&(Ne*=256);)this[G+Be]=Q/Ne&255;return G+te},m.prototype.writeUInt8=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,1,255,0),m.TYPED_ARRAY_SUPPORT||(Q=Math.floor(Q)),this[G]=Q&255,G+1};function q(oe,Q,G,te){Q<0&&(Q=65535+Q+1);for(var xe=0,fe=Math.min(oe.length-G,2);xe<fe;++xe)oe[G+xe]=(Q&255<<8*(te?xe:1-xe))>>>(te?xe:1-xe)*8}m.prototype.writeUInt16LE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,2,65535,0),m.TYPED_ARRAY_SUPPORT?(this[G]=Q&255,this[G+1]=Q>>>8):q(this,Q,G,!0),G+2},m.prototype.writeUInt16BE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,2,65535,0),m.TYPED_ARRAY_SUPPORT?(this[G]=Q>>>8,this[G+1]=Q&255):q(this,Q,G,!1),G+2};function Y(oe,Q,G,te){Q<0&&(Q=4294967295+Q+1);for(var xe=0,fe=Math.min(oe.length-G,4);xe<fe;++xe)oe[G+xe]=Q>>>(te?xe:3-xe)*8&255}m.prototype.writeUInt32LE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,4,4294967295,0),m.TYPED_ARRAY_SUPPORT?(this[G+3]=Q>>>24,this[G+2]=Q>>>16,this[G+1]=Q>>>8,this[G]=Q&255):Y(this,Q,G,!0),G+4},m.prototype.writeUInt32BE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,4,4294967295,0),m.TYPED_ARRAY_SUPPORT?(this[G]=Q>>>24,this[G+1]=Q>>>16,this[G+2]=Q>>>8,this[G+3]=Q&255):Y(this,Q,G,!1),G+4},m.prototype.writeIntLE=function(Q,G,te,xe){if(Q=+Q,G=G|0,!xe){var fe=Math.pow(2,8*te-1);W(this,Q,G,te,fe-1,-fe)}var Be=0,Ne=1,de=0;for(this[G]=Q&255;++Be<te&&(Ne*=256);)Q<0&&de===0&&this[G+Be-1]!==0&&(de=1),this[G+Be]=(Q/Ne>>0)-de&255;return G+te},m.prototype.writeIntBE=function(Q,G,te,xe){if(Q=+Q,G=G|0,!xe){var fe=Math.pow(2,8*te-1);W(this,Q,G,te,fe-1,-fe)}var Be=te-1,Ne=1,de=0;for(this[G+Be]=Q&255;--Be>=0&&(Ne*=256);)Q<0&&de===0&&this[G+Be+1]!==0&&(de=1),this[G+Be]=(Q/Ne>>0)-de&255;return G+te},m.prototype.writeInt8=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,1,127,-128),m.TYPED_ARRAY_SUPPORT||(Q=Math.floor(Q)),Q<0&&(Q=255+Q+1),this[G]=Q&255,G+1},m.prototype.writeInt16LE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,2,32767,-32768),m.TYPED_ARRAY_SUPPORT?(this[G]=Q&255,this[G+1]=Q>>>8):q(this,Q,G,!0),G+2},m.prototype.writeInt16BE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,2,32767,-32768),m.TYPED_ARRAY_SUPPORT?(this[G]=Q>>>8,this[G+1]=Q&255):q(this,Q,G,!1),G+2},m.prototype.writeInt32LE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,4,2147483647,-2147483648),m.TYPED_ARRAY_SUPPORT?(this[G]=Q&255,this[G+1]=Q>>>8,this[G+2]=Q>>>16,this[G+3]=Q>>>24):Y(this,Q,G,!0),G+4},m.prototype.writeInt32BE=function(Q,G,te){return Q=+Q,G=G|0,te||W(this,Q,G,4,2147483647,-2147483648),Q<0&&(Q=4294967295+Q+1),m.TYPED_ARRAY_SUPPORT?(this[G]=Q>>>24,this[G+1]=Q>>>16,this[G+2]=Q>>>8,this[G+3]=Q&255):Y(this,Q,G,!1),G+4};function re(oe,Q,G,te,xe,fe){if(G+te>oe.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function ne(oe,Q,G,te,xe){return xe||re(oe,Q,G,4,34028234663852886e22,-34028234663852886e22),p.write(oe,Q,G,te,23,4),G+4}m.prototype.writeFloatLE=function(Q,G,te){return ne(this,Q,G,!0,te)},m.prototype.writeFloatBE=function(Q,G,te){return ne(this,Q,G,!1,te)};function we(oe,Q,G,te,xe){return xe||re(oe,Q,G,8,17976931348623157e292,-17976931348623157e292),p.write(oe,Q,G,te,52,8),G+8}m.prototype.writeDoubleLE=function(Q,G,te){return we(this,Q,G,!0,te)},m.prototype.writeDoubleBE=function(Q,G,te){return we(this,Q,G,!1,te)},m.prototype.copy=function(Q,G,te,xe){if(te||(te=0),!xe&&xe!==0&&(xe=this.length),G>=Q.length&&(G=Q.length),G||(G=0),xe>0&&xe<te&&(xe=te),xe===te)return 0;if(Q.length===0||this.length===0)return 0;if(G<0)throw new RangeError("targetStart out of bounds");if(te<0||te>=this.length)throw new RangeError("sourceStart out of bounds");if(xe<0)throw new RangeError("sourceEnd out of bounds");xe>this.length&&(xe=this.length),Q.length-G<xe-te&&(xe=Q.length-G+te);var fe=xe-te,Be;if(this===Q&&te<G&&G<xe)for(Be=fe-1;Be>=0;--Be)Q[Be+G]=this[Be+te];else if(fe<1e3||!m.TYPED_ARRAY_SUPPORT)for(Be=0;Be<fe;++Be)Q[Be+G]=this[Be+te];else Uint8Array.prototype.set.call(Q,this.subarray(te,te+fe),G);return fe},m.prototype.fill=function(Q,G,te,xe){if(typeof Q=="string"){if(typeof G=="string"?(xe=G,G=0,te=this.length):typeof te=="string"&&(xe=te,te=this.length),Q.length===1){var fe=Q.charCodeAt(0);fe<256&&(Q=fe)}if(xe!==void 0&&typeof xe!="string")throw new TypeError("encoding must be a string");if(typeof xe=="string"&&!m.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe)}else typeof Q=="number"&&(Q=Q&255);if(G<0||this.length<G||this.length<te)throw new RangeError("Out of range index");if(te<=G)return this;G=G>>>0,te=te===void 0?this.length:te>>>0,Q||(Q=0);var Be;if(typeof Q=="number")for(Be=G;Be<te;++Be)this[Be]=Q;else{var Ne=m.isBuffer(Q)?Q:We(new m(Q,xe).toString()),de=Ne.length;for(Be=0;Be<te-G;++Be)this[Be+G]=Ne[Be%de]}return this};var ie=/[^+\/0-9A-Za-z-_]/g;function me(oe){if(oe=_e(oe).replace(ie,""),oe.length<2)return"";for(;oe.length%4!==0;)oe=oe+"=";return oe}function _e(oe){return oe.trim?oe.trim():oe.replace(/^\s+|\s+$/g,"")}function Te(oe){return oe<16?"0"+oe.toString(16):oe.toString(16)}function We(oe,Q){Q=Q||Infinity;for(var G,te=oe.length,xe=null,fe=[],Be=0;Be<te;++Be){if(G=oe.charCodeAt(Be),G>55295&&G<57344){if(!xe){if(G>56319){(Q-=3)>-1&&fe.push(239,191,189);continue}else if(Be+1===te){(Q-=3)>-1&&fe.push(239,191,189);continue}xe=G;continue}if(G<56320){(Q-=3)>-1&&fe.push(239,191,189),xe=G;continue}G=(xe-55296<<10|G-56320)+65536}else xe&&((Q-=3)>-1&&fe.push(239,191,189));if(xe=null,G<128){if((Q-=1)<0)break;fe.push(G)}else if(G<2048){if((Q-=2)<0)break;fe.push(G>>6|192,G&63|128)}else if(G<65536){if((Q-=3)<0)break;fe.push(G>>12|224,G>>6&63|128,G&63|128)}else if(G<1114112){if((Q-=4)<0)break;fe.push(G>>18|240,G>>12&63|128,G>>6&63|128,G&63|128)}else throw new Error("Invalid code point")}return fe}function Ae(oe){for(var Q=[],G=0;G<oe.length;++G)Q.push(oe.charCodeAt(G)&255);return Q}function je(oe,Q){for(var G,te,xe,fe=[],Be=0;Be<oe.length&&!((Q-=2)<0);++Be)G=oe.charCodeAt(Be),te=G>>8,xe=G%256,fe.push(xe),fe.push(te);return fe}function ee(oe){return E.toByteArray(me(oe))}function he(oe,Q,G,te){for(var xe=0;xe<te&&!(xe+G>=Q.length||xe>=oe.length);++xe)Q[xe+G]=oe[xe];return xe}function Ze(oe){return oe!==oe}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},U("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(U,R,i){R.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(U,R,i){R.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(U,R,i){/*!
|
|
|
* copy-to - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var y=Array.prototype.slice;R.exports=m;function m(p,v){if(!(this instanceof m))return new m(p,v);this.src=p,this._withAccess=v}m.prototype.withAccess=function(p){return this._withAccess=p!==!1,this},m.prototype.pick=function(p){return Array.isArray(p)||(p=y.call(arguments)),p.length&&(this.keys=p),this},m.prototype.to=function(p){if(p=p||{},!this.src)return p;var v=this.keys||Object.keys(this.src);if(!this._withAccess){for(var f=0;f<v.length;f++){if(d=v[f],p[d]!==void 0)continue;p[d]=this.src[d]}return p}for(var f=0;f<v.length;f++){var d=v[f];if(!E(p,d))continue;var l=this.src.__lookupGetter__(d),n=this.src.__lookupSetter__(d);l&&p.__defineGetter__(d,l),n&&p.__defineSetter__(d,n),!l&&!n&&(p[d]=this.src[d])}return p},m.prototype.toCover=function(p){for(var v=this.keys||Object.keys(this.src),f=0;f<v.length;f++){var d=v[f];delete p[d];var l=this.src.__lookupGetter__(d),n=this.src.__lookupSetter__(d);l&&p.__defineGetter__(d,l),n&&p.__defineSetter__(d,n),!l&&!n&&(p[d]=this.src[d])}},m.prototype.override=m.prototype.toCover,m.prototype.and=function(p){var v={};return this.to(v),this.src=p,this.to(v),this.src=v,this};function E(p,v){return p[v]===void 0&&p.__lookupGetter__(v)===void 0&&p.__lookupSetter__(v)===void 0}},{}],77:[function(U,R,i){U("../../modules/es6.string.iterator"),U("../../modules/es6.array.from"),R.exports=U("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(U,R,i){var y=U("../../modules/_core"),m=y.JSON||(y.JSON={stringify:JSON.stringify});R.exports=function(p){return m.stringify.apply(m,arguments)}},{"../../modules/_core":99}],79:[function(U,R,i){U("../../modules/es6.object.assign"),R.exports=U("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(U,R,i){U("../../modules/es6.object.create");var y=U("../../modules/_core").Object;R.exports=function(E,p){return y.create(E,p)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(U,R,i){U("../../modules/es6.object.define-property");var y=U("../../modules/_core").Object;R.exports=function(E,p,v){return y.defineProperty(E,p,v)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(U,R,i){U("../../modules/es7.object.entries"),R.exports=U("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(U,R,i){U("../../modules/es6.object.get-own-property-names");var y=U("../../modules/_core").Object;R.exports=function(E){return y.getOwnPropertyNames(E)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(U,R,i){U("../../modules/es6.object.get-prototype-of"),R.exports=U("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(U,R,i){U("../../modules/es6.object.keys"),R.exports=U("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(U,R,i){U("../modules/es6.object.to-string"),U("../modules/es6.string.iterator"),U("../modules/web.dom.iterable"),U("../modules/es6.promise"),U("../modules/es7.promise.finally"),U("../modules/es7.promise.try"),R.exports=U("../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(U,R,i){U("../modules/web.immediate"),R.exports=U("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(U,R,i){U("../../modules/es6.string.from-code-point"),R.exports=U("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(U,R,i){U("../../modules/es6.function.has-instance"),R.exports=U("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(U,R,i){U("../../modules/es6.symbol"),U("../../modules/es6.object.to-string"),U("../../modules/es7.symbol.async-iterator"),U("../../modules/es7.symbol.observable"),R.exports=U("../../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(U,R,i){U("../../modules/es6.string.iterator"),U("../../modules/web.dom.iterable"),R.exports=U("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(U,R,i){R.exports=function(y){if(typeof y!="function")throw TypeError(y+" is not a function!");return y}},{}],93:[function(U,R,i){R.exports=function(){}},{}],94:[function(U,R,i){R.exports=function(y,m,E,p){if(!(y instanceof m)||p!==void 0&&p in y)throw TypeError(E+": incorrect invocation!");return y}},{}],95:[function(U,R,i){var y=U("./_is-object");R.exports=function(m){if(!y(m))throw TypeError(m+" is not an object!");return m}},{"./_is-object":119}],96:[function(U,R,i){var y=U("./_to-iobject"),m=U("./_to-length"),E=U("./_to-absolute-index");R.exports=function(p){return function(v,f,d){var l=y(v),n=m(l.length),t=E(d,n),a;if(p&&f!=f){for(;n>t;)if(a=l[t++],a!=a)return!0}else for(;n>t;t++)if((p||t in l)&&l[t]===f)return p||t||0;return!p&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(U,R,i){var y=U("./_cof"),m=U("./_wks")("toStringTag"),E=y(function(){return arguments}())=="Arguments",p=function(f,d){try{return f[d]}catch(l){}};R.exports=function(v){var f,d,l;return v===void 0?"Undefined":v===null?"Null":typeof(d=p(f=Object(v),m))=="string"?d:E?y(f):(l=y(f))=="Object"&&typeof f.callee=="function"?"Arguments":l}},{"./_cof":98,"./_wks":166}],98:[function(U,R,i){var y={}.toString;R.exports=function(m){return y.call(m).slice(8,-1)}},{}],99:[function(U,R,i){var y=R.exports={version:"2.6.11"};typeof __e=="number"&&(__e=y)},{}],100:[function(U,R,i){"use strict";var y=U("./_object-dp"),m=U("./_property-desc");R.exports=function(E,p,v){p in E?y.f(E,p,m(0,v)):E[p]=v}},{"./_object-dp":132,"./_property-desc":146}],101:[function(U,R,i){var y=U("./_a-function");R.exports=function(m,E,p){if(y(m),E===void 0)return m;switch(p){case 1:return function(v){return m.call(E,v)};case 2:return function(v,f){return m.call(E,v,f)};case 3:return function(v,f,d){return m.call(E,v,f,d)}}return function(){return m.apply(E,arguments)}}},{"./_a-function":92}],102:[function(U,R,i){R.exports=function(y){if(y==null)throw TypeError("Can't call method on "+y);return y}},{}],103:[function(U,R,i){R.exports=!U("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(U,R,i){var y=U("./_is-object"),m=U("./_global").document,E=y(m)&&y(m.createElement);R.exports=function(p){return E?m.createElement(p):{}}},{"./_global":110,"./_is-object":119}],105:[function(U,R,i){R.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(U,R,i){var y=U("./_object-keys"),m=U("./_object-gops"),E=U("./_object-pie");R.exports=function(p){var v=y(p),f=m.f;if(f)for(var d=f(p),l=E.f,n=0,t;d.length>n;)l.call(p,t=d[n++])&&v.push(t);return v}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(U,R,i){var y=U("./_global"),m=U("./_core"),E=U("./_ctx"),p=U("./_hide"),v=U("./_has"),f="prototype",d=function l(n,t,a){var s=n&l.F,r=n&l.G,c=n&l.S,e=n&l.P,o=n&l.B,u=n&l.W,h=r?m:m[t]||(m[t]={}),g=h[f],A=r?y:c?y[t]:(y[t]||{})[f],w,x,C;r&&(a=t);for(w in a){if(x=!s&&A&&A[w]!==void 0,x&&v(h,w))continue;C=x?A[w]:a[w],h[w]=r&&typeof A[w]!="function"?a[w]:o&&x?E(C,y):u&&A[w]==C?function(T){var O=function(_,L,D){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(_);case 2:return new T(_,L)}return new T(_,L,D)}return T.apply(this,arguments)};return O[f]=T[f],O}(C):e&&typeof C=="function"?E(Function.call,C):C,e&&((h.virtual||(h.virtual={}))[w]=C,n&l.R&&g&&!g[w]&&p(g,w,C))}};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,R.exports=d},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(U,R,i){R.exports=function(y){try{return!!y()}catch(m){return!0}}},{}],109:[function(U,R,i){var y=U("./_ctx"),m=U("./_iter-call"),E=U("./_is-array-iter"),p=U("./_an-object"),v=U("./_to-length"),f=U("./core.get-iterator-method"),d={},l={},i=R.exports=function(n,t,a,s,r){var c=r?function(){return n}:f(n),e=y(a,s,t?2:1),o=0,u,h,g,A;if(typeof c!="function")throw TypeError(n+" is not iterable!");if(E(c)){for(u=v(n.length);u>o;o++)if(A=t?e(p(h=n[o])[0],h[1]):e(n[o]),A===d||A===l)return A}else for(g=c.call(n);!(h=g.next()).done;)if(A=m(g,e,h.value,t),A===d||A===l)return A};i.BREAK=d,i.RETURN=l},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(U,R,i){var y=R.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=y)},{}],111:[function(U,R,i){var y={}.hasOwnProperty;R.exports=function(m,E){return y.call(m,E)}},{}],112:[function(U,R,i){var y=U("./_object-dp"),m=U("./_property-desc");R.exports=U("./_descriptors")?function(E,p,v){return y.f(E,p,m(1,v))}:function(E,p,v){return E[p]=v,E}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(U,R,i){var y=U("./_global").document;R.exports=y&&y.documentElement},{"./_global":110}],114:[function(U,R,i){R.exports=!U("./_descriptors")&&!U("./_fails")(function(){return Object.defineProperty(U("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(U,R,i){R.exports=function(y,m,E){var p=E===void 0;switch(m.length){case 0:return p?y():y.call(E);case 1:return p?y(m[0]):y.call(E,m[0]);case 2:return p?y(m[0],m[1]):y.call(E,m[0],m[1]);case 3:return p?y(m[0],m[1],m[2]):y.call(E,m[0],m[1],m[2]);case 4:return p?y(m[0],m[1],m[2],m[3]):y.call(E,m[0],m[1],m[2],m[3])}return y.apply(E,m)}},{}],116:[function(U,R,i){var y=U("./_cof");R.exports=Object("z").propertyIsEnumerable(0)?Object:function(m){return y(m)=="String"?m.split(""):Object(m)}},{"./_cof":98}],117:[function(U,R,i){var y=U("./_iterators"),m=U("./_wks")("iterator"),E=Array.prototype;R.exports=function(p){return p!==void 0&&(y.Array===p||E[m]===p)}},{"./_iterators":125,"./_wks":166}],118:[function(U,R,i){var y=U("./_cof");R.exports=Array.isArray||function(E){return y(E)=="Array"}},{"./_cof":98}],119:[function(U,R,i){R.exports=function(y){return typeof y=="object"?y!==null:typeof y=="function"}},{}],120:[function(U,R,i){var y=U("./_an-object");R.exports=function(m,E,p,v){try{return v?E(y(p)[0],p[1]):E(p)}catch(d){var f=m.return;throw f!==void 0&&y(f.call(m)),d}}},{"./_an-object":95}],121:[function(U,R,i){"use strict";var y=U("./_object-create"),m=U("./_property-desc"),E=U("./_set-to-string-tag"),p={};U("./_hide")(p,U("./_wks")("iterator"),function(){return this}),R.exports=function(v,f,d){v.prototype=y(p,{next:m(1,d)}),E(v,f+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(U,R,i){"use strict";var y=U("./_library"),m=U("./_export"),E=U("./_redefine"),p=U("./_hide"),v=U("./_iterators"),f=U("./_iter-create"),d=U("./_set-to-string-tag"),l=U("./_object-gpo"),n=U("./_wks")("iterator"),t=!([].keys&&"next"in[].keys()),a="@@iterator",s="keys",r="values",c=function(){return this};R.exports=function(e,o,u,h,g,A,w){f(u,o,h);var x=function(B){if(!t&&B in S)return S[B];switch(B){case s:return function(){return new u(this,B)};case r:return function(){return new u(this,B)}}return function(){return new u(this,B)}},C=o+" Iterator",T=g==r,O=!1,S=e.prototype,_=S[n]||S[a]||g&&S[g],L=_||x(g),D=g?T?x("entries"):L:void 0,F=o=="Array"&&S.entries||_,j,k,K;if(F&&(K=l(F.call(new e)),K!==Object.prototype&&K.next&&(d(K,C,!0),!y&&typeof K[n]!="function"&&p(K,n,c))),T&&_&&_.name!==r&&(O=!0,L=function(){return _.call(this)}),(!y||w)&&(t||O||!S[n])&&p(S,n,L),v[o]=L,v[C]=c,g)if(j={values:T?L:x(r),keys:A?L:x(s),entries:D},w)for(k in j)k in S||E(S,k,j[k]);else m(m.P+m.F*(t||O),o,j);return j}},{"./_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(U,R,i){var y=U("./_wks")("iterator"),m=!1;try{var E=[7][y]();E.return=function(){m=!0},Array.from(E,function(){throw 2})}catch(p){}R.exports=function(p,v){if(!v&&!m)return!1;var f=!1;try{var d=[7],l=d[y]();l.next=function(){return{done:f=!0}},d[y]=function(){return l},p(d)}catch(n){}return f}},{"./_wks":166}],124:[function(U,R,i){R.exports=function(y,m){return{value:m,done:!!y}}},{}],125:[function(U,R,i){R.exports={}},{}],126:[function(U,R,i){R.exports=!0},{}],127:[function(U,R,i){var y=U("./_uid")("meta"),m=U("./_is-object"),E=U("./_has"),p=U("./_object-dp").f,v=0,f=Object.isExtensible||function(){return!0},d=!U("./_fails")(function(){return f(Object.preventExtensions({}))}),l=function(c){p(c,y,{value:{i:"O"+ ++v,w:{}}})},n=function(c,e){if(!m(c))return typeof c=="symbol"?c:(typeof c=="string"?"S":"P")+c;if(!E(c,y)){if(!f(c))return"F";if(!e)return"E";l(c)}return c[y].i},t=function(c,e){if(!E(c,y)){if(!f(c))return!0;if(!e)return!1;l(c)}return c[y].w},a=function(c){return d&&s.NEED&&f(c)&&!E(c,y)&&l(c),c},s=R.exports={KEY:y,NEED:!1,fastKey:n,getWeak:t,onFreeze:a}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(U,R,i){var y=U("./_global"),m=U("./_task").set,E=y.MutationObserver||y.WebKitMutationObserver,p=y.process,v=y.Promise,f=U("./_cof")(p)=="process";R.exports=function(){var d,l,n,t=function(){var e,o;for(f&&(e=p.domain)&&e.exit();d;){o=d.fn,d=d.next;try{o()}catch(u){throw d?n():l=void 0,u}}l=void 0,e&&e.enter()};if(f)n=function(){p.nextTick(t)};else if(E&&!(y.navigator&&y.navigator.standalone)){var a=!0,s=document.createTextNode("");new E(t).observe(s,{characterData:!0}),n=function(){s.data=a=!a}}else if(v&&v.resolve){var r=v.resolve(void 0);n=function(){r.then(t)}}else n=function(){m.call(y,t)};return function(c){var e={fn:c,next:void 0};l&&(l.next=e),d||(d=e,n()),l=e}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(U,R,i){"use strict";var y=U("./_a-function");function m(E){var p,v;this.promise=new E(function(f,d){if(p!==void 0||v!==void 0)throw TypeError("Bad Promise constructor");p=f,v=d}),this.resolve=y(p),this.reject=y(v)}R.exports.f=function(E){return new m(E)}},{"./_a-function":92}],130:[function(U,R,i){"use strict";var y=U("./_descriptors"),m=U("./_object-keys"),E=U("./_object-gops"),p=U("./_object-pie"),v=U("./_to-object"),f=U("./_iobject"),d=Object.assign;R.exports=!d||U("./_fails")(function(){var l={},n={},t=Symbol(),a="abcdefghijklmnopqrst";return l[t]=7,a.split("").forEach(function(s){n[s]=s}),d({},l)[t]!=7||Object.keys(d({},n)).join("")!=a})?function(n,t){for(var a=v(n),s=arguments.length,r=1,c=E.f,e=p.f;s>r;)for(var o=f(arguments[r++]),u=c?m(o).concat(c(o)):m(o),h=u.length,g=0,A;h>g;)A=u[g++],(!y||e.call(o,A))&&(a[A]=o[A]);return a}:d},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(U,R,i){var y=U("./_an-object"),m=U("./_object-dps"),E=U("./_enum-bug-keys"),p=U("./_shared-key")("IE_PROTO"),v=function(){},f="prototype",d=function(){var n=U("./_dom-create")("iframe"),t=E.length,a="<",s=">",r;for(n.style.display="none",U("./_html").appendChild(n),n.src="javascript:",r=n.contentWindow.document,r.open(),r.write(a+"script"+s+"document.F=Object"+a+"/script"+s),r.close(),d=r.F;t--;)delete d[f][E[t]];return d()};R.exports=Object.create||function(n,t){var a;return n!==null?(v[f]=y(n),a=new v,v[f]=null,a[p]=n):a=d(),t===void 0?a:m(a,t)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(U,R,i){var y=U("./_an-object"),m=U("./_ie8-dom-define"),E=U("./_to-primitive"),p=Object.defineProperty;i.f=U("./_descriptors")?Object.defineProperty:function(f,d,l){if(y(f),d=E(d,!0),y(l),m)try{return p(f,d,l)}catch(n){}if("get"in l||"set"in l)throw TypeError("Accessors not supported!");return"value"in l&&(f[d]=l.value),f}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(U,R,i){var y=U("./_object-dp"),m=U("./_an-object"),E=U("./_object-keys");R.exports=U("./_descriptors")?Object.defineProperties:function(v,f){m(v);for(var d=E(f),l=d.length,n=0,t;l>n;)y.f(v,t=d[n++],f[t]);return v}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(U,R,i){var y=U("./_object-pie"),m=U("./_property-desc"),E=U("./_to-iobject"),p=U("./_to-primitive"),v=U("./_has"),f=U("./_ie8-dom-define"),d=Object.getOwnPropertyDescriptor;i.f=U("./_descriptors")?d:function(n,t){if(n=E(n),t=p(t,!0),f)try{return d(n,t)}catch(a){}if(v(n,t))return m(!y.f.call(n,t),n[t])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(U,R,i){var y=U("./_to-iobject"),m=U("./_object-gopn").f,E={}.toString,p=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(d){try{return m(d)}catch(l){return p.slice()}};R.exports.f=function(d){return p&&E.call(d)=="[object Window]"?v(d):m(y(d))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(U,R,i){var y=U("./_object-keys-internal"),m=U("./_enum-bug-keys").concat("length","prototype");i.f=Object.getOwnPropertyNames||function(p){return y(p,m)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(U,R,i){i.f=Object.getOwnPropertySymbols},{}],138:[function(U,R,i){var y=U("./_has"),m=U("./_to-object"),E=U("./_shared-key")("IE_PROTO"),p=Object.prototype;R.exports=Object.getPrototypeOf||function(v){return v=m(v),y(v,E)?v[E]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?p:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(U,R,i){var y=U("./_has"),m=U("./_to-iobject"),E=U("./_array-includes")(!1),p=U("./_shared-key")("IE_PROTO");R.exports=function(v,f){var d=m(v),l=0,n=[],t;for(t in d)t!=p&&(y(d,t)&&n.push(t));for(;f.length>l;)y(d,t=f[l++])&&(~E(n,t)||n.push(t));return n}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(U,R,i){var y=U("./_object-keys-internal"),m=U("./_enum-bug-keys");R.exports=Object.keys||function(p){return y(p,m)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(U,R,i){i.f={}.propertyIsEnumerable},{}],142:[function(U,R,i){var y=U("./_export"),m=U("./_core"),E=U("./_fails");R.exports=function(p,v){var f=(m.Object||{})[p]||Object[p],d={};d[p]=v(f),y(y.S+y.F*E(function(){f(1)}),"Object",d)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(U,R,i){var y=U("./_descriptors"),m=U("./_object-keys"),E=U("./_to-iobject"),p=U("./_object-pie").f;R.exports=function(v){return function(f){for(var d=E(f),l=m(d),n=l.length,t=0,a=[],s;n>t;)s=l[t++],(!y||p.call(d,s))&&a.push(v?[s,d[s]]:d[s]);return a}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(U,R,i){R.exports=function(y){try{return{e:!1,v:y()}}catch(m){return{e:!0,v:m}}}},{}],145:[function(U,R,i){var y=U("./_an-object"),m=U("./_is-object"),E=U("./_new-promise-capability");R.exports=function(p,v){if(y(p),m(v)&&v.constructor===p)return v;var f=E.f(p),d=f.resolve;return d(v),f.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(U,R,i){R.exports=function(y,m){return{enumerable:!(y&1),configurable:!(y&2),writable:!(y&4),value:m}}},{}],147:[function(U,R,i){var y=U("./_hide");R.exports=function(m,E,p){for(var v in E)p&&m[v]?m[v]=E[v]:y(m,v,E[v]);return m}},{"./_hide":112}],148:[function(U,R,i){R.exports=U("./_hide")},{"./_hide":112}],149:[function(U,R,i){"use strict";var y=U("./_global"),m=U("./_core"),E=U("./_object-dp"),p=U("./_descriptors"),v=U("./_wks")("species");R.exports=function(f){var d=typeof m[f]=="function"?m[f]:y[f];p&&d&&!d[v]&&E.f(d,v,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(U,R,i){var y=U("./_object-dp").f,m=U("./_has"),E=U("./_wks")("toStringTag");R.exports=function(p,v,f){p&&!m(p=f?p:p.prototype,E)&&y(p,E,{configurable:!0,value:v})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(U,R,i){var y=U("./_shared")("keys"),m=U("./_uid");R.exports=function(E){return y[E]||(y[E]=m(E))}},{"./_shared":152,"./_uid":162}],152:[function(U,R,i){var y=U("./_core"),m=U("./_global"),E="__core-js_shared__",p=m[E]||(m[E]={});(R.exports=function(v,f){return p[v]||(p[v]=f!==void 0?f:{})})("versions",[]).push({version:y.version,mode:U("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(U,R,i){var y=U("./_an-object"),m=U("./_a-function"),E=U("./_wks")("species");R.exports=function(p,v){var f=y(p).constructor,d;return f===void 0||(d=y(f)[E])==null?v:m(d)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(U,R,i){var y=U("./_to-integer"),m=U("./_defined");R.exports=function(E){return function(p,v){var f=String(m(p)),d=y(v),l=f.length,n,t;return d<0||d>=l?E?"":void 0:(n=f.charCodeAt(d),n<55296||n>56319||d+1===l||(t=f.charCodeAt(d+1))<56320||t>57343?E?f.charAt(d):n:E?f.slice(d,d+2):(n-55296<<10)+(t-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(U,R,i){var y=U("./_ctx"),m=U("./_invoke"),E=U("./_html"),p=U("./_dom-create"),v=U("./_global"),f=v.process,d=v.setImmediate,l=v.clearImmediate,n=v.MessageChannel,t=v.Dispatch,a=0,s={},r="onreadystatechange",c,e,o,u=function(){var A=+this;if(s.hasOwnProperty(A)){var w=s[A];delete s[A],w()}},h=function(A){u.call(A.data)};(!d||!l)&&(d=function(A){for(var w=[],x=1;arguments.length>x;)w.push(arguments[x++]);return s[++a]=function(){m(typeof A=="function"?A:Function(A),w)},c(a),a},l=function(A){delete s[A]},U("./_cof")(f)=="process"?c=function(A){f.nextTick(y(u,A,1))}:t&&t.now?c=function(A){t.now(y(u,A,1))}:n?(e=new n,o=e.port2,e.port1.onmessage=h,c=y(o.postMessage,o,1)):v.addEventListener&&typeof postMessage=="function"&&!v.importScripts?(c=function(A){v.postMessage(A+"","*")},v.addEventListener("message",h,!1)):r in p("script")?c=function(A){E.appendChild(p("script"))[r]=function(){E.removeChild(this),u.call(A)}}:c=function(A){setTimeout(y(u,A,1),0)}),R.exports={set:d,clear:l}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(U,R,i){var y=U("./_to-integer"),m=Math.max,E=Math.min;R.exports=function(p,v){return p=y(p),p<0?m(p+v,0):E(p,v)}},{"./_to-integer":157}],157:[function(U,R,i){var y=Math.ceil,m=Math.floor;R.exports=function(E){return isNaN(E=+E)?0:(E>0?m:y)(E)}},{}],158:[function(U,R,i){var y=U("./_iobject"),m=U("./_defined");R.exports=function(E){return y(m(E))}},{"./_defined":102,"./_iobject":116}],159:[function(U,R,i){var y=U("./_to-integer"),m=Math.min;R.exports=function(E){return E>0?m(y(E),9007199254740991):0}},{"./_to-integer":157}],160:[function(U,R,i){var y=U("./_defined");R.exports=function(m){return Object(y(m))}},{"./_defined":102}],161:[function(U,R,i){var y=U("./_is-object");R.exports=function(m,E){if(!y(m))return m;var p,v;if(E&&typeof(p=m.toString)=="function"&&!y(v=p.call(m)))return v;if(typeof(p=m.valueOf)=="function"&&!y(v=p.call(m)))return v;if(!E&&typeof(p=m.toString)=="function"&&!y(v=p.call(m)))return v;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(U,R,i){var y=0,m=Math.random();R.exports=function(E){return"Symbol(".concat(E===void 0?"":E,")_",(++y+m).toString(36))}},{}],163:[function(U,R,i){var y=U("./_global"),m=y.navigator;R.exports=m&&m.userAgent||""},{"./_global":110}],164:[function(U,R,i){var y=U("./_global"),m=U("./_core"),E=U("./_library"),p=U("./_wks-ext"),v=U("./_object-dp").f;R.exports=function(f){var d=m.Symbol||(m.Symbol=E?{}:y.Symbol||{});f.charAt(0)!="_"&&!(f in d)&&v(d,f,{value:p.f(f)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(U,R,i){i.f=U("./_wks")},{"./_wks":166}],166:[function(U,R,i){var y=U("./_shared")("wks"),m=U("./_uid"),E=U("./_global").Symbol,p=typeof E=="function",v=R.exports=function(f){return y[f]||(y[f]=p&&E[f]||(p?E:m)("Symbol."+f))};v.store=y},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(U,R,i){var y=U("./_classof"),m=U("./_wks")("iterator"),E=U("./_iterators");R.exports=U("./_core").getIteratorMethod=function(p){if(p!=null)return p[m]||p["@@iterator"]||E[y(p)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(U,R,i){"use strict";var y=U("./_ctx"),m=U("./_export"),E=U("./_to-object"),p=U("./_iter-call"),v=U("./_is-array-iter"),f=U("./_to-length"),d=U("./_create-property"),l=U("./core.get-iterator-method");m(m.S+m.F*!U("./_iter-detect")(function(n){Array.from(n)}),"Array",{from:function(t){var a=E(t),s=typeof this=="function"?this:Array,r=arguments.length,c=r>1?arguments[1]:void 0,e=c!==void 0,o=0,u=l(a),h,g,A,w;if(e&&(c=y(c,r>2?arguments[2]:void 0,2)),u!=null&&!(s==Array&&v(u)))for(w=u.call(a),g=new s;!(A=w.next()).done;o++)d(g,o,e?p(w,c,[A.value,o],!0):A.value);else for(h=f(a.length),g=new s(h);h>o;o++)d(g,o,e?c(a[o],o):a[o]);return g.length=o,g}})},{"./_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(U,R,i){"use strict";var y=U("./_add-to-unscopables"),m=U("./_iter-step"),E=U("./_iterators"),p=U("./_to-iobject");R.exports=U("./_iter-define")(Array,"Array",function(v,f){this._t=p(v),this._i=0,this._k=f},function(){var v=this._t,f=this._k,d=this._i++;return!v||d>=v.length?(this._t=void 0,m(1)):f=="keys"?m(0,d):f=="values"?m(0,v[d]):m(0,[d,v[d]])},"values"),E.Arguments=E.Array,y("keys"),y("values"),y("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(U,R,i){"use strict";var y=U("./_is-object"),m=U("./_object-gpo"),E=U("./_wks")("hasInstance"),p=Function.prototype;E in p||U("./_object-dp").f(p,E,{value:function(f){if(typeof this!="function"||!y(f))return!1;if(!y(this.prototype))return f instanceof this;for(;f=m(f);)if(this.prototype===f)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(U,R,i){var y=U("./_export");y(y.S+y.F,"Object",{assign:U("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(U,R,i){var y=U("./_export");y(y.S,"Object",{create:U("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(U,R,i){var y=U("./_export");y(y.S+y.F*!U("./_descriptors"),"Object",{defineProperty:U("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(U,R,i){U("./_object-sap")("getOwnPropertyNames",function(){return U("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(U,R,i){var y=U("./_to-object"),m=U("./_object-gpo");U("./_object-sap")("getPrototypeOf",function(){return function(p){return m(y(p))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(U,R,i){var y=U("./_to-object"),m=U("./_object-keys");U("./_object-sap")("keys",function(){return function(p){return m(y(p))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(U,R,i){arguments[4][71][0].apply(i,arguments)},{dup:71}],178:[function(U,R,i){"use strict";var y=U("./_library"),m=U("./_global"),E=U("./_ctx"),p=U("./_classof"),v=U("./_export"),f=U("./_is-object"),d=U("./_a-function"),l=U("./_an-instance"),n=U("./_for-of"),t=U("./_species-constructor"),a=U("./_task").set,s=U("./_microtask")(),r=U("./_new-promise-capability"),c=U("./_perform"),e=U("./_user-agent"),o=U("./_promise-resolve"),u="Promise",h=m.TypeError,g=m.process,A=g&&g.versions,w=A&&A.v8||"",x=m[u],C=p(g)=="process",T=function(){},O,S,_,L,D=S=r.f,F=!!function(){try{var X=x.resolve(1),W=(X.constructor={})[U("./_wks")("species")]=function(q){q(T,T)};return(C||typeof PromiseRejectionEvent=="function")&&X.then(T)instanceof W&&w.indexOf("6.6")!==0&&e.indexOf("Chrome/66")===-1}catch(q){}}(),j=function(W){var q;return f(W)&&typeof(q=W.then)=="function"?q:!1},k=function(W,q){if(W._n)return;W._n=!0;var Y=W._c;s(function(){for(var re=W._v,ne=W._s==1,we=0,ie=function(_e){var Te=ne?_e.ok:_e.fail,We=_e.resolve,Ae=_e.reject,je=_e.domain,ee,he,Ze;try{Te?(ne||(W._h==2&&B(W),W._h=1),Te===!0?ee=re:(je&&je.enter(),ee=Te(re),je&&(je.exit(),Ze=!0)),ee===_e.promise?Ae(h("Promise-chain cycle")):(he=j(ee))?he.call(ee,We,Ae):We(ee)):Ae(re)}catch(oe){je&&!Ze&&je.exit(),Ae(oe)}};Y.length>we;)ie(Y[we++]);W._c=[],W._n=!1,q&&!W._h&&K(W)})},K=function(W){a.call(m,function(){var q=W._v,Y=Z(W),re,ne,we;if(Y&&(re=c(function(){C?g.emit("unhandledRejection",q,W):(ne=m.onunhandledrejection)?ne({promise:W,reason:q}):(we=m.console)&&we.error&&we.error("Unhandled promise rejection",q)}),W._h=C||Z(W)?2:1),W._a=void 0,Y&&re.e)throw re.v})},Z=function(W){return W._h!==1&&(W._a||W._c).length===0},B=function(W){a.call(m,function(){var q;C?g.emit("rejectionHandled",W):(q=m.onrejectionhandled)&&q({promise:W,reason:W._v})})},V=function(W){var q=this;if(q._d)return;q._d=!0,q=q._w||q,q._v=W,q._s=2,q._a||(q._a=q._c.slice()),k(q,!0)},z=function X(W){var q=this,Y;if(q._d)return;q._d=!0,q=q._w||q;try{if(q===W)throw h("Promise can't be resolved itself");(Y=j(W))?s(function(){var re={_w:q,_d:!1};try{Y.call(W,E(X,re,1),E(V,re,1))}catch(ne){V.call(re,ne)}}):(q._v=W,q._s=1,k(q,!1))}catch(re){V.call({_w:q,_d:!1},re)}};F||(x=function(W){l(this,x,u,"_h"),d(W),O.call(this);try{W(E(z,this,1),E(V,this,1))}catch(q){V.call(this,q)}},O=function(W){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},O.prototype=U("./_redefine-all")(x.prototype,{then:function(W,q){var Y=D(t(this,x));return Y.ok=typeof W=="function"?W:!0,Y.fail=typeof q=="function"&&q,Y.domain=C?g.domain:void 0,this._c.push(Y),this._a&&this._a.push(Y),this._s&&k(this,!1),Y.promise},catch:function(W){return this.then(void 0,W)}}),_=function(){var W=new O;this.promise=W,this.resolve=E(z,W,1),this.reject=E(V,W,1)},r.f=D=function(W){return W===x||W===L?new _(W):S(W)}),v(v.G+v.W+v.F*!F,{Promise:x}),U("./_set-to-string-tag")(x,u),U("./_set-species")(u),L=U("./_core")[u],v(v.S+v.F*!F,u,{reject:function(W){var q=D(this),Y=q.reject;return Y(W),q.promise}}),v(v.S+v.F*(y||!F),u,{resolve:function(W){return o(y&&this===L?x:this,W)}}),v(v.S+v.F*!(F&&U("./_iter-detect")(function(X){x.all(X).catch(T)})),u,{all:function(W){var q=this,Y=D(q),re=Y.resolve,ne=Y.reject,we=c(function(){var ie=[],me=0,_e=1;n(W,!1,function(Te){var We=me++,Ae=!1;ie.push(void 0),_e++,q.resolve(Te).then(function(je){if(Ae)return;Ae=!0,ie[We]=je,--_e||re(ie)},ne)}),--_e||re(ie)});return we.e&&ne(we.v),Y.promise},race:function(W){var q=this,Y=D(q),re=Y.reject,ne=c(function(){n(W,!1,function(we){q.resolve(we).then(Y.resolve,re)})});return ne.e&&re(ne.v),Y.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(U,R,i){var y=U("./_export"),m=U("./_to-absolute-index"),E=String.fromCharCode,p=String.fromCodePoint;y(y.S+y.F*(!!p&&p.length!=1),"String",{fromCodePoint:function(f){for(var d=[],l=arguments.length,n=0,t;l>n;){if(t=+arguments[n++],m(t,1114111)!==t)throw RangeError(t+" is not a valid code point");d.push(t<65536?E(t):E(((t-=65536)>>10)+55296,t%1024+56320))}return d.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(U,R,i){"use strict";var y=U("./_string-at")(!0);U("./_iter-define")(String,"String",function(m){this._t=String(m),this._i=0},function(){var m=this._t,E=this._i,p;return E>=m.length?{value:void 0,done:!0}:(p=y(m,E),this._i+=p.length,{value:p,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(U,R,i){"use strict";var y=U("./_global"),m=U("./_has"),E=U("./_descriptors"),p=U("./_export"),v=U("./_redefine"),f=U("./_meta").KEY,d=U("./_fails"),l=U("./_shared"),n=U("./_set-to-string-tag"),t=U("./_uid"),a=U("./_wks"),s=U("./_wks-ext"),r=U("./_wks-define"),c=U("./_enum-keys"),e=U("./_is-array"),o=U("./_an-object"),u=U("./_is-object"),h=U("./_to-object"),g=U("./_to-iobject"),A=U("./_to-primitive"),w=U("./_property-desc"),x=U("./_object-create"),C=U("./_object-gopn-ext"),T=U("./_object-gopd"),O=U("./_object-gops"),S=U("./_object-dp"),_=U("./_object-keys"),L=T.f,D=S.f,F=C.f,j=y.Symbol,k=y.JSON,K=k&&k.stringify,Z="prototype",B=a("_hidden"),V=a("toPrimitive"),z={}.propertyIsEnumerable,X=l("symbol-registry"),W=l("symbols"),q=l("op-symbols"),Y=Object[Z],re=typeof j=="function"&&!!O.f,ne=y.QObject,we=!ne||!ne[Z]||!ne[Z].findChild,ie=E&&d(function(){return x(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a!=7})?function(fe,Be,Ne){var de=L(Y,Be);de&&delete Y[Be],D(fe,Be,Ne),de&&fe!==Y&&D(Y,Be,de)}:D,me=function(Be){var Ne=W[Be]=x(j[Z]);return Ne._k=Be,Ne},_e=re&&typeof j.iterator=="symbol"?function(fe){return typeof fe=="symbol"}:function(fe){return fe instanceof j},Te=function(Be,Ne,de){return Be===Y&&Te(q,Ne,de),o(Be),Ne=A(Ne,!0),o(de),m(W,Ne)?(de.enumerable?(m(Be,B)&&Be[B][Ne]&&(Be[B][Ne]=!1),de=x(de,{enumerable:w(0,!1)})):(m(Be,B)||D(Be,B,w(1,{})),Be[B][Ne]=!0),ie(Be,Ne,de)):D(Be,Ne,de)},We=function(Be,Ne){o(Be);for(var de=c(Ne=g(Ne)),ve=0,Me=de.length,qe;Me>ve;)Te(Be,qe=de[ve++],Ne[qe]);return Be},Ae=function(Be,Ne){return Ne===void 0?x(Be):We(x(Be),Ne)},je=function(Be){var Ne=z.call(this,Be=A(Be,!0));return this===Y&&m(W,Be)&&!m(q,Be)?!1:Ne||!m(this,Be)||!m(W,Be)||m(this,B)&&this[B][Be]?Ne:!0},ee=function(Be,Ne){if(Be=g(Be),Ne=A(Ne,!0),Be===Y&&m(W,Ne)&&!m(q,Ne))return;var de=L(Be,Ne);return de&&m(W,Ne)&&!(m(Be,B)&&Be[B][Ne])&&(de.enumerable=!0),de},he=function(Be){for(var Ne=F(g(Be)),de=[],ve=0,Me;Ne.length>ve;)!m(W,Me=Ne[ve++])&&Me!=B&&Me!=f&&de.push(Me);return de},Ze=function(Be){for(var Ne=Be===Y,de=F(Ne?q:g(Be)),ve=[],Me=0,qe;de.length>Me;)m(W,qe=de[Me++])&&(Ne?m(Y,qe):!0)&&ve.push(W[qe]);return ve};re||(j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var Be=t(arguments.length>0?arguments[0]:void 0),Ne=function de(ve){this===Y&&de.call(q,ve),m(this,B)&&m(this[B],Be)&&(this[B][Be]=!1),ie(this,Be,w(1,ve))};return E&&we&&ie(Y,Be,{configurable:!0,set:Ne}),me(Be)},v(j[Z],"toString",function(){return this._k}),T.f=ee,S.f=Te,U("./_object-gopn").f=C.f=he,U("./_object-pie").f=je,O.f=Ze,E&&!U("./_library")&&v(Y,"propertyIsEnumerable",je,!0),s.f=function(fe){return me(a(fe))}),p(p.G+p.W+p.F*!re,{Symbol:j});for(var oe="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Q=0;oe.length>Q;)a(oe[Q++]);for(var G=_(a.store),te=0;G.length>te;)r(G[te++]);p(p.S+p.F*!re,"Symbol",{for:function(Be){return m(X,Be+="")?X[Be]:X[Be]=j(Be)},keyFor:function(Be){if(!_e(Be))throw TypeError(Be+" is not a symbol!");for(var Ne in X)if(X[Ne]===Be)return Ne},useSetter:function(){we=!0},useSimple:function(){we=!1}}),p(p.S+p.F*!re,"Object",{create:Ae,defineProperty:Te,defineProperties:We,getOwnPropertyDescriptor:ee,getOwnPropertyNames:he,getOwnPropertySymbols:Ze});var xe=d(function(){O.f(1)});p(p.S+p.F*xe,"Object",{getOwnPropertySymbols:function(Be){return O.f(h(Be))}}),k&&p(p.S+p.F*(!re||d(function(){var fe=j();return K([fe])!="[null]"||K({a:fe})!="{}"||K(Object(fe))!="{}"})),"JSON",{stringify:function(Be){for(var Ne=[Be],de=1,ve,Me;arguments.length>de;)Ne.push(arguments[de++]);return Me=ve=Ne[1],!u(ve)&&Be===void 0||_e(Be)?void 0:(e(ve)||(ve=function(gt,ht){if(typeof Me=="function"&&(ht=Me.call(this,gt,ht)),!_e(ht))return ht}),Ne[1]=ve,K.apply(k,Ne))}}),j[Z][V]||U("./_hide")(j[Z],V,j[Z].valueOf),n(j,"Symbol"),n(Math,"Math",!0),n(y.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(U,R,i){var y=U("./_export"),m=U("./_object-to-array")(!0);y(y.S,"Object",{entries:function(p){return m(p)}})},{"./_export":107,"./_object-to-array":143}],183:[function(U,R,i){"use strict";var y=U("./_export"),m=U("./_core"),E=U("./_global"),p=U("./_species-constructor"),v=U("./_promise-resolve");y(y.P+y.R,"Promise",{finally:function(d){var l=p(this,m.Promise||E.Promise),n=typeof d=="function";return this.then(n?function(t){return v(l,d()).then(function(){return t})}:d,n?function(t){return v(l,d()).then(function(){throw t})}:d)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(U,R,i){"use strict";var y=U("./_export"),m=U("./_new-promise-capability"),E=U("./_perform");y(y.S,"Promise",{try:function(v){var f=m.f(this),d=E(v);return(d.e?f.reject:f.resolve)(d.v),f.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(U,R,i){U("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(U,R,i){U("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(U,R,i){U("./es6.array.iterator");for(var y=U("./_global"),m=U("./_hide"),E=U("./_iterators"),p=U("./_wks")("toStringTag"),v="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),f=0;f<v.length;f++){var d=v[f],l=y[d],n=l&&l.prototype;n&&!n[p]&&m(n,p,d),E[d]=E.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(U,R,i){var y=U("./_export"),m=U("./_task");y(y.G+y.B,{setImmediate:m.set,clearImmediate:m.clear})},{"./_export":107,"./_task":155}],189:[function(U,R,i){(function(y){"use strict";var m=U("babel-runtime/helpers/typeof"),E=p(m);function p(A){return A&&A.__esModule?A:{default:A}}function v(A){return Array.isArray?Array.isArray(A):g(A)==="[object Array]"}i.isArray=v;function f(A){return typeof A=="boolean"}i.isBoolean=f;function d(A){return A===null}i.isNull=d;function l(A){return A==null}i.isNullOrUndefined=l;function n(A){return typeof A=="number"}i.isNumber=n;function t(A){return typeof A=="string"}i.isString=t;function a(A){return(typeof A=="undefined"?"undefined":(0,E.default)(A))==="symbol"}i.isSymbol=a;function s(A){return A===void 0}i.isUndefined=s;function r(A){return g(A)==="[object RegExp]"}i.isRegExp=r;function c(A){return(typeof A=="undefined"?"undefined":(0,E.default)(A))==="object"&&A!==null}i.isObject=c;function e(A){return g(A)==="[object Date]"}i.isDate=e;function o(A){return g(A)==="[object Error]"||A instanceof Error}i.isError=o;function u(A){return typeof A=="function"}i.isFunction=u;function h(A){return A===null||typeof A=="boolean"||typeof A=="number"||typeof A=="string"||(typeof A=="undefined"?"undefined":(0,E.default)(A))==="symbol"||typeof A=="undefined"}i.isPrimitive=h,i.isBuffer=y.isBuffer;function g(A){return Object.prototype.toString.call(A)}}).call(this,{isBuffer:U("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(U,R,i){"use strict";var y=U("babel-runtime/helpers/typeof"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(p){"use strict";var v=function(){var t=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,a=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,s=/[^-+\dA-Z]/g;return function(r,c,e,o){if(arguments.length===1&&n(r)==="string"&&!/\d/.test(r)&&(c=r,r=void 0),r=r||new Date,r instanceof Date||(r=new Date(r)),isNaN(r))throw TypeError("Invalid date");c=String(v.masks[c]||c||v.masks.default);var u=c.slice(0,4);(u==="UTC:"||u==="GMT:")&&(c=c.slice(4),e=!0,u==="GMT:"&&(o=!0));var h=e?"getUTC":"get",g=r[h+"Date"](),A=r[h+"Day"](),w=r[h+"Month"](),x=r[h+"FullYear"](),C=r[h+"Hours"](),T=r[h+"Minutes"](),O=r[h+"Seconds"](),S=r[h+"Milliseconds"](),_=e?0:r.getTimezoneOffset(),L=d(r),D=l(r),F={d:g,dd:f(g),ddd:v.i18n.dayNames[A],dddd:v.i18n.dayNames[A+7],m:w+1,mm:f(w+1),mmm:v.i18n.monthNames[w],mmmm:v.i18n.monthNames[w+12],yy:String(x).slice(2),yyyy:x,h:C%12||12,hh:f(C%12||12),H:C,HH:f(C),M:T,MM:f(T),s:O,ss:f(O),l:f(S,3),L:f(Math.round(S/10)),t:C<12?"a":"p",tt:C<12?"am":"pm",T:C<12?"A":"P",TT:C<12?"AM":"PM",Z:o?"GMT":e?"UTC":(String(r).match(a)||[""]).pop().replace(s,""),o:(_>0?"-":"+")+f(Math.floor(Math.abs(_)/60)*100+Math.abs(_)%60,4),S:["th","st","nd","rd"][g%10>3?0:(g%100-g%10!=10)*g%10],W:L,N:D};return c.replace(t,function(j){return j in F?F[j]:j.slice(1,j.length-1)})}}();v.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},v.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function f(t,a){for(t=String(t),a=a||2;t.length<a;)t="0"+t;return t}function d(t){var a=new Date(t.getFullYear(),t.getMonth(),t.getDate());a.setDate(a.getDate()-(a.getDay()+6)%7+3);var s=new Date(a.getFullYear(),0,4);s.setDate(s.getDate()-(s.getDay()+6)%7+3);var r=a.getTimezoneOffset()-s.getTimezoneOffset();a.setHours(a.getHours()-r);var c=(a-s)/(864e5*7);return 1+Math.floor(c)}function l(t){var a=t.getDay();return a===0&&(a=7),a}function n(t){return t===null?"null":t===void 0?"undefined":(typeof t=="undefined"?"undefined":(0,m.default)(t))!=="object"?typeof t=="undefined"?"undefined":(0,m.default)(t):Array.isArray(t)?"array":{}.toString.call(t).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return v}):(typeof i=="undefined"?"undefined":(0,m.default)(i))==="object"?R.exports=v:p.dateFormat=v})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(U,R,i){/*!
|
|
|
* escape-html
|
|
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
|
* Copyright(c) 2015 Andreas Lubbe
|
|
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var y=/["'&<>]/;R.exports=m;function m(E){var p=""+E,v=y.exec(p);if(!v)return p;var f,d="",l=0,n=0;for(l=v.index;l<p.length;l++){switch(p.charCodeAt(l)){case 34:f=""";break;case 38:f="&";break;case 39:f="'";break;case 60:f="<";break;case 62:f=">";break;default:continue}n!==l&&(d+=p.substring(n,l)),n=l+1,d+=f}return n!==l?d+p.substring(n,l):d}},{}],192:[function(U,R,i){function y(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}R.exports=y,y.EventEmitter=y,y.prototype._events=void 0,y.prototype._maxListeners=void 0,y.defaultMaxListeners=10,y.prototype.setMaxListeners=function(f){if(!E(f)||f<0||isNaN(f))throw TypeError("n must be a positive number");return this._maxListeners=f,this},y.prototype.emit=function(f){var d,l,n,t,a,s;if(this._events||(this._events={}),f==="error"&&(!this._events.error||p(this._events.error)&&!this._events.error.length)){if(d=arguments[1],d instanceof Error)throw d;var r=new Error('Uncaught, unspecified "error" event. ('+d+")");throw r.context=d,r}if(l=this._events[f],v(l))return!1;if(m(l))switch(arguments.length){case 1:l.call(this);break;case 2:l.call(this,arguments[1]);break;case 3:l.call(this,arguments[1],arguments[2]);break;default:t=Array.prototype.slice.call(arguments,1),l.apply(this,t)}else if(p(l))for(t=Array.prototype.slice.call(arguments,1),s=l.slice(),n=s.length,a=0;a<n;a++)s[a].apply(this,t);return!0},y.prototype.addListener=function(f,d){var l;if(!m(d))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",f,m(d.listener)?d.listener:d),this._events[f]?p(this._events[f])?this._events[f].push(d):this._events[f]=[this._events[f],d]:this._events[f]=d,p(this._events[f])&&!this._events[f].warned&&(v(this._maxListeners)?l=y.defaultMaxListeners:l=this._maxListeners,l&&l>0&&this._events[f].length>l&&(this._events[f].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[f].length),typeof console.trace=="function"&&console.trace())),this},y.prototype.on=y.prototype.addListener,y.prototype.once=function(f,d){if(!m(d))throw TypeError("listener must be a function");var l=!1;function n(){this.removeListener(f,n),l||(l=!0,d.apply(this,arguments))}return n.listener=d,this.on(f,n),this},y.prototype.removeListener=function(f,d){var l,n,t,a;if(!m(d))throw TypeError("listener must be a function");if(!this._events||!this._events[f])return this;if(l=this._events[f],t=l.length,n=-1,l===d||m(l.listener)&&l.listener===d)delete this._events[f],this._events.removeListener&&this.emit("removeListener",f,d);else if(p(l)){for(a=t;a-- >0;)if(l[a]===d||l[a].listener&&l[a].listener===d){n=a;break}if(n<0)return this;l.length===1?(l.length=0,delete this._events[f]):l.splice(n,1),this._events.removeListener&&this.emit("removeListener",f,d)}return this},y.prototype.removeAllListeners=function(f){var d,l;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[f]&&delete this._events[f],this;if(arguments.length===0){for(d in this._events){if(d==="removeListener")continue;this.removeAllListeners(d)}return this.removeAllListeners("removeListener"),this._events={},this}if(l=this._events[f],m(l))this.removeListener(f,l);else if(l)for(;l.length;)this.removeListener(f,l[l.length-1]);return delete this._events[f],this},y.prototype.listeners=function(f){var d;return!this._events||!this._events[f]?d=[]:m(this._events[f])?d=[this._events[f]]:d=this._events[f].slice(),d},y.prototype.listenerCount=function(f){if(this._events){var d=this._events[f];if(m(d))return 1;if(d)return d.length}return 0},y.listenerCount=function(f,d){return f.listenerCount(d)};function m(f){return typeof f=="function"}function E(f){return typeof f=="number"}function p(f){return typeof f=="object"&&f!==null}function v(f){return f===void 0}},{}],193:[function(U,R,i){var y=U("http"),m=R.exports;for(var E in y)y.hasOwnProperty(E)&&(m[E]=y[E]);m.request=function(p,v){return p||(p={}),p.scheme="https",p.protocol="https:",y.request.call(this,p,v)}},{http:231}],194:[function(U,R,i){/*!
|
|
|
* humanize-ms - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var y=U("util"),m=U("ms");R.exports=function(E){if(typeof E=="number")return E;var p=m(E);if(p===void 0){var v=new Error(y.format("humanize-ms(%j) result undefined",E));console.warn(v.stack)}return p}},{ms:204,util:243}],195:[function(U,R,i){i.read=function(y,m,E,p,v){var f,d,l=v*8-p-1,n=(1<<l)-1,t=n>>1,a=-7,s=E?v-1:0,r=E?-1:1,c=y[m+s];for(s+=r,f=c&(1<<-a)-1,c>>=-a,a+=l;a>0;f=f*256+y[m+s],s+=r,a-=8);for(d=f&(1<<-a)-1,f>>=-a,a+=p;a>0;d=d*256+y[m+s],s+=r,a-=8);if(f===0)f=1-t;else{if(f===n)return d?NaN:(c?-1:1)*Infinity;d=d+Math.pow(2,p),f=f-t}return(c?-1:1)*d*Math.pow(2,f-p)},i.write=function(y,m,E,p,v,f){var d,l,n,t=f*8-v-1,a=(1<<t)-1,s=a>>1,r=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=p?0:f-1,e=p?1:-1,o=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===Infinity?(l=isNaN(m)?1:0,d=a):(d=Math.floor(Math.log(m)/Math.LN2),m*(n=Math.pow(2,-d))<1&&(d--,n*=2),d+s>=1?m+=r/n:m+=r*Math.pow(2,1-s),m*n>=2&&(d++,n/=2),d+s>=a?(l=0,d=a):d+s>=1?(l=(m*n-1)*Math.pow(2,v),d=d+s):(l=m*Math.pow(2,s-1)*Math.pow(2,v),d=0));v>=8;y[E+c]=l&255,c+=e,l/=256,v-=8);for(d=d<<v|l,t+=v;t>0;y[E+c]=d&255,c+=e,d/=256,t-=8);y[E+c-e]|=o*128}},{}],196:[function(U,R,i){typeof Object.create=="function"?R.exports=function(m,E){E&&(m.super_=E,m.prototype=Object.create(E.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}))}:R.exports=function(m,E){if(E){m.super_=E;var p=function(){};p.prototype=E.prototype,m.prototype=new p,m.prototype.constructor=m}}},{}],197:[function(U,R,i){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/R.exports=function(E){return E!=null&&(y(E)||m(E)||!!E._isBuffer)};function y(E){return!!E.constructor&&typeof E.constructor.isBuffer=="function"&&E.constructor.isBuffer(E)}function m(E){return typeof E.readFloatLE=="function"&&typeof E.slice=="function"&&y(E.slice(0,0))}},{}],198:[function(U,R,i){var y={}.toString;R.exports=Array.isArray||function(m){return y.call(m)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(U,R){typeof exports=="object"&&typeof module!="undefined"?module.exports=R(U):typeof define=="function"&&define.amd?define(R):R(U)})(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(U){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(U){for(var R={},i=0,y=U.length;i<y;i++)R[U.charAt(i)]=i;return R}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(R){if(R.length<2){var i=R.charCodeAt(0);return i<128?R:i<2048?fromCharCode(192|i>>>6)+fromCharCode(128|i&63):fromCharCode(224|i>>>12&15)+fromCharCode(128|i>>>6&63)+fromCharCode(128|i&63)}else{var i=65536+(R.charCodeAt(0)-55296)*1024+(R.charCodeAt(1)-56320);return fromCharCode(240|i>>>18&7)+fromCharCode(128|i>>>12&63)+fromCharCode(128|i>>>6&63)+fromCharCode(128|i&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(R){return R.replace(re_utob,cb_utob)},cb_encode=function(R){var i=[0,2,1][R.length%3],y=R.charCodeAt(0)<<16|(R.length>1?R.charCodeAt(1):0)<<8|(R.length>2?R.charCodeAt(2):0),m=[b64chars.charAt(y>>>18),b64chars.charAt(y>>>12&63),i>=2?"=":b64chars.charAt(y>>>6&63),i>=1?"=":b64chars.charAt(y&63)];return m.join("")},btoa=global.btoa?function(U){return global.btoa(U)}:function(U){return U.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(R){var i=Object.prototype.toString.call(R)==="[object Uint8Array]";return i?R.toString("base64"):btoa(utob(String(R)))},encode=function(R,i){return i?_encode(String(R)).replace(/[+\/]/g,function(y){return y=="+"?"-":"_"}).replace(/=/g,""):_encode(R)},encodeURI=function(R){return encode(R,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(R){switch(R.length){case 4:var i=(7&R.charCodeAt(0))<<18|(63&R.charCodeAt(1))<<12|(63&R.charCodeAt(2))<<6|63&R.charCodeAt(3),y=i-65536;return fromCharCode((y>>>10)+55296)+fromCharCode((y&1023)+56320);case 3:return fromCharCode((15&R.charCodeAt(0))<<12|(63&R.charCodeAt(1))<<6|63&R.charCodeAt(2));default:return fromCharCode((31&R.charCodeAt(0))<<6|63&R.charCodeAt(1))}},btou=function(R){return R.replace(re_btou,cb_btou)},cb_decode=function(R){var i=R.length,y=i%4,m=(i>0?b64tab[R.charAt(0)]<<18:0)|(i>1?b64tab[R.charAt(1)]<<12:0)|(i>2?b64tab[R.charAt(2)]<<6:0)|(i>3?b64tab[R.charAt(3)]:0),E=[fromCharCode(m>>>16),fromCharCode(m>>>8&255),fromCharCode(m&255)];return E.length-=[0,0,2,1][y],E.join("")},_atob=global.atob?function(U){return global.atob(U)}:function(U){return U.replace(/\S{1,4}/g,cb_decode)},atob=function(R){return _atob(String(R).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(U){return(U.constructor===buffer.constructor?U:buffer.from(U,"base64")).toString()}:function(U){return(U.constructor===buffer.constructor?U:new buffer(U,"base64")).toString()}:function(U){return btou(_atob(U))},decode=function(R){return _decode(String(R).replace(/[-_]/g,function(i){return i=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var R=global.Base64;return global.Base64=_Base64,R};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(R){return{value:R,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(U){return encode(this,U)})),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(U,R,i){/*!
|
|
|
* merge-descriptors
|
|
|
* Copyright(c) 2014 Jonathan Ong
|
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
|
* MIT Licensed
|
|
|
*/"use strict";R.exports=m;var y=Object.prototype.hasOwnProperty;function m(E,p,v){if(!E)throw new TypeError("argument dest is required");if(!p)throw new TypeError("argument src is required");return v===void 0&&(v=!0),Object.getOwnPropertyNames(p).forEach(function(d){if(!v&&y.call(E,d))return;var l=Object.getOwnPropertyDescriptor(p,d);Object.defineProperty(E,d,l)}),E}},{}],201:[function(U,R,i){"use strict";function y(){this._types=Object.create(null),this._extensions=Object.create(null);for(var m=0;m<arguments.length;m++)this.define(arguments[m]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}y.prototype.define=function(m,E){for(var p in m){var v=m[p].map(function(l){return l.toLowerCase()});p=p.toLowerCase();for(var f=0;f<v.length;f++){var d=v[f];if(d[0]=="*")continue;if(!E&&d in this._types)throw new Error('Attempt to change mapping for "'+d+'" extension from "'+this._types[d]+'" to "'+p+'". Pass `force=true` to allow this, otherwise remove "'+d+'" from the list of extensions for "'+p+'".');this._types[d]=p}if(E||!this._extensions[p]){var d=v[0];this._extensions[p]=d[0]!="*"?d:d.substr(1)}}},y.prototype.getType=function(m){m=String(m);var E=m.replace(/^.*[/\\]/,"").toLowerCase(),p=E.replace(/^.*\./,"").toLowerCase(),v=E.length<m.length,f=p.length<E.length-1;return(f||!v)&&this._types[p]||null},y.prototype.getExtension=function(m){return m=/^\s*([^;\s]*)/.test(m)&&RegExp.$1,m&&this._extensions[m.toLowerCase()]||null},R.exports=y},{}],202:[function(U,R,i){"use strict";var y=U("./Mime");R.exports=new y(U("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(U,R,i){R.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(U,R,i){var y=1e3,m=y*60,E=m*60,p=E*24,v=p*7,f=p*365.25;R.exports=function(a,s){s=s||{};var r=typeof a;if(r==="string"&&a.length>0)return d(a);if(r==="number"&&isFinite(a))return s.long?n(a):l(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function d(a){if(a=String(a),a.length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(!s)return;var r=parseFloat(s[1]),c=(s[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return r*f;case"weeks":case"week":case"w":return r*v;case"days":case"day":case"d":return r*p;case"hours":case"hour":case"hrs":case"hr":case"h":return r*E;case"minutes":case"minute":case"mins":case"min":case"m":return r*m;case"seconds":case"second":case"secs":case"sec":case"s":return r*y;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function l(a){var s=Math.abs(a);return s>=p?Math.round(a/p)+"d":s>=E?Math.round(a/E)+"h":s>=m?Math.round(a/m)+"m":s>=y?Math.round(a/y)+"s":a+"ms"}function n(a){var s=Math.abs(a);return s>=p?t(a,s,p,"day"):s>=E?t(a,s,E,"hour"):s>=m?t(a,s,m,"minute"):s>=y?t(a,s,y,"second"):a+" ms"}function t(a,s,r,c){var e=s>=r*1.5;return Math.round(a/r)+" "+c+(e?"s":"")}},{}],205:[function(U,R,i){(function(y){function m(f,d){for(var l=0,n=f.length-1;n>=0;n--){var t=f[n];t==="."?f.splice(n,1):t===".."?(f.splice(n,1),l++):l&&(f.splice(n,1),l--)}if(d)for(;l--;l)f.unshift("..");return f}i.resolve=function(){for(var f="",d=!1,l=arguments.length-1;l>=-1&&!d;l--){var n=l>=0?arguments[l]:y.cwd();if(typeof n!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!n)continue;f=n+"/"+f,d=n.charAt(0)==="/"}return f=m(p(f.split("/"),function(t){return!!t}),!d).join("/"),(d?"/":"")+f||"."},i.normalize=function(f){var d=i.isAbsolute(f),l=v(f,-1)==="/";return f=m(p(f.split("/"),function(n){return!!n}),!d).join("/"),!f&&!d&&(f="."),f&&l&&(f+="/"),(d?"/":"")+f},i.isAbsolute=function(f){return f.charAt(0)==="/"},i.join=function(){var f=Array.prototype.slice.call(arguments,0);return i.normalize(p(f,function(d,l){if(typeof d!="string")throw new TypeError("Arguments to path.join must be strings");return d}).join("/"))},i.relative=function(f,d){f=i.resolve(f).substr(1),d=i.resolve(d).substr(1);function l(e){for(var o=0;o<e.length&&!(e[o]!=="");o++);for(var u=e.length-1;u>=0&&!(e[u]!=="");u--);return o>u?[]:e.slice(o,u-o+1)}for(var n=l(f.split("/")),t=l(d.split("/")),a=Math.min(n.length,t.length),s=a,r=0;r<a;r++)if(n[r]!==t[r]){s=r;break}for(var c=[],r=s;r<n.length;r++)c.push("..");return c=c.concat(t.slice(s)),c.join("/")},i.sep="/",i.delimiter=":",i.dirname=function(f){if(typeof f!="string"&&(f=f+""),f.length===0)return".";for(var d=f.charCodeAt(0),l=d===47,n=-1,t=!0,a=f.length-1;a>=1;--a)if(d=f.charCodeAt(a),d===47){if(!t){n=a;break}}else t=!1;return n===-1?l?"/":".":l&&n===1?"/":f.slice(0,n)};function E(f){typeof f!="string"&&(f=f+"");var d=0,l=-1,n=!0,t;for(t=f.length-1;t>=0;--t)if(f.charCodeAt(t)===47){if(!n){d=t+1;break}}else l===-1&&(n=!1,l=t+1);return l===-1?"":f.slice(d,l)}i.basename=function(f,d){var l=E(f);return d&&l.substr(-1*d.length)===d&&(l=l.substr(0,l.length-d.length)),l},i.extname=function(f){typeof f!="string"&&(f=f+"");for(var d=-1,l=0,n=-1,t=!0,a=0,s=f.length-1;s>=0;--s){var r=f.charCodeAt(s);if(r===47){if(!t){l=s+1;break}continue}n===-1&&(t=!1,n=s+1),r===46?d===-1?d=s:a!==1&&(a=1):d!==-1&&(a=-1)}return d===-1||n===-1||a===0||a===1&&d===n-1&&d===l+1?"":f.slice(d,n)};function p(f,d){if(f.filter)return f.filter(d);for(var l=[],n=0;n<f.length;n++)d(f[n],n,f)&&l.push(f[n]);return l}var v="ab".substr(-1)==="b"?function(f,d,l){return f.substr(d,l)}:function(f,d,l){return d<0&&(d=f.length+d),f.substr(d,l)}}).call(this,U("_process"))},{_process:208}],206:[function(U,R,i){(function(y){/*!
|
|
|
* 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 m={function:!0,object:!0},E=m[typeof window]&&window||this,p=E,v=m[typeof i]&&i,f=m[typeof R]&&R&&!R.nodeType&&R,d=v&&f&&typeof y=="object"&&y;d&&(d.global===d||d.window===d||d.self===d)&&(E=d);var l=Math.pow(2,53)-1,n=/\bOpera/,t=this,a=Object.prototype,s=a.hasOwnProperty,r=a.toString;function c(S){return S=String(S),S.charAt(0).toUpperCase()+S.slice(1)}function e(S,_,L){var D={"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 _&&L&&/^Win/i.test(S)&&!/^Windows Phone /i.test(S)&&(D=D[/[\d.]+$/.exec(S)])&&(S="Windows "+D),S=String(S),_&&L&&(S=S.replace(RegExp(_,"i"),L)),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,_){var L=-1,D=S?S.length:0;if(typeof D=="number"&&D>-1&&D<=l)for(;++L<D;)_(S[L],L,S);else h(S,_)}function u(S){return S=C(S),/^(?:webOS|i(?:OS|P))/.test(S)?S:c(S)}function h(S,_){for(var L in S)s.call(S,L)&&_(S[L],L,S)}function g(S){return S==null?c(S):r.call(S).slice(8,-1)}function A(S,_){var L=S!=null?typeof S[_]:"number";return!/^(?:boolean|number|string|undefined)$/.test(L)&&(L=="object"?!!S[_]:!0)}function w(S){return String(S).replace(/([ -])(?!$)/g,"$1?")}function x(S,_){var L=null;return o(S,function(D,F){L=_(L,D,F,S)}),L}function C(S){return String(S).replace(/^ +| +$/g,"")}function T(S){var _=E,L=S&&typeof S=="object"&&g(S)!="String";L&&(_=S,S=null);var D=_.navigator||{},F=D.userAgent||"";S||(S=F);var j=L||t==p,k=L?!!D.likeChrome:/\bChrome\b/.test(S)&&!/internal|\n/i.test(r.toString()),K="Object",Z=L?K:"ScriptBridgingProxyObject",B=L?K:"Environment",V=L&&_.java?"JavaPackage":g(_.java),z=L?K:"RuntimeObject",X=/\bJava/.test(V)&&_.java,W=X&&g(_.environment)==B,q=X?"a":"\u03B1",Y=X?"b":"\u03B2",re=_.document||{},ne=_.operamini||_.opera,we=n.test(we=L&&ne?ne["[[Class]]"]:g(ne))?we:ne=null,ie,me=S,_e=[],Te=null,We=S==F,Ae=We&&ne&&typeof ne.version=="function"&&ne.version(),je,ee=G([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),he=xe(["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"]),Ze=Be([{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"]),oe=te({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),Q=fe(["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 G(Me){return x(Me,function(qe,gt){return qe||RegExp("\\b"+(gt.pattern||w(gt))+"\\b","i").exec(S)&&(gt.label||gt)})}function te(Me){return x(Me,function(qe,gt,ht){return qe||(gt[Ze]||gt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ze)]||RegExp("\\b"+w(ht)+"(?:\\b|\\w*\\d)","i").exec(S))&&ht})}function xe(Me){return x(Me,function(qe,gt){return qe||RegExp("\\b"+(gt.pattern||w(gt))+"\\b","i").exec(S)&&(gt.label||gt)})}function fe(Me){return x(Me,function(qe,gt){var ht=gt.pattern||w(gt);return!qe&&(qe=RegExp("\\b"+ht+"(?:/[\\d.]+|[ \\w.]*)","i").exec(S))&&(qe=e(qe,ht,gt.label||gt)),qe})}function Be(Me){return x(Me,function(qe,gt){var ht=gt.pattern||w(gt);return!qe&&(qe=RegExp("\\b"+ht+" *\\d+[.\\w_]*","i").exec(S)||RegExp("\\b"+ht+" *\\w+-[\\w]*","i").exec(S)||RegExp("\\b"+ht+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(S))&&((qe=String(gt.label&&!RegExp(ht,"i").test(gt.label)?gt.label:qe).split("/"))[1]&&!/[\d.]+/.test(qe[0])&&(qe[0]+=" "+qe[1]),gt=gt.label||gt,qe=u(qe[0].replace(RegExp(ht,"i"),gt).replace(RegExp("; *(?:"+gt+"[_-])?","i")," ").replace(RegExp("("+gt+")[-_.]?(\\w)","i"),"$1 $2"))),qe})}function Ne(Me){return x(Me,function(qe,gt){return qe||(RegExp(gt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(S)||0)[1]||null})}function de(){return this.description||""}if(ee&&(ee=[ee]),oe&&!Ze&&(Ze=Be([oe])),(ie=/\bGoogle TV\b/.exec(Ze))&&(Ze=ie[0]),/\bSimulator\b/i.test(S)&&(Ze=(Ze?Ze+" ":"")+"Simulator"),he=="Opera Mini"&&/\bOPiOS\b/.test(S)&&_e.push("running in Turbo/Uncompressed mode"),he=="IE"&&/\blike iPhone OS\b/.test(S)?(ie=T(S.replace(/like iPhone OS/,"")),oe=ie.manufacturer,Ze=ie.product):/^iP/.test(Ze)?(he||(he="Safari"),Q="iOS"+((ie=/ OS ([\d_]+)/i.exec(S))?" "+ie[1].replace(/_/g,"."):"")):he=="Konqueror"&&!/buntu/i.test(Q)?Q="Kubuntu":oe&&oe!="Google"&&(/Chrome/.test(he)&&!/\bMobile Safari\b/i.test(S)||/\bVita\b/.test(Ze))||/\bAndroid\b/.test(Q)&&/^Chrome/.test(he)&&/\bVersion\//i.test(S)?(he="Android Browser",Q=/\bAndroid\b/.test(Q)?Q:"Android"):he=="Silk"?(/\bMobi/i.test(S)||(Q="Android",_e.unshift("desktop mode")),/Accelerated *= *true/i.test(S)&&_e.unshift("accelerated")):he=="PaleMoon"&&(ie=/\bFirefox\/([\d.]+)\b/.exec(S))?_e.push("identifying as Firefox "+ie[1]):he=="Firefox"&&(ie=/\b(Mobile|Tablet|TV)\b/i.exec(S))?(Q||(Q="Firefox OS"),Ze||(Ze=ie[1])):!he||(ie=!/\bMinefield\b/i.test(S)&&/\b(?:Firefox|Safari)\b/.exec(he))?(he&&!Ze&&/[\/,]|^[^(]+?\)/.test(S.slice(S.indexOf(ie+"/")+8))&&(he=null),(ie=Ze||oe||Q)&&(Ze||oe||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Q))&&(he=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Q)?Q:ie)+" Browser")):he=="Electron"&&(ie=(/\bChrome\/([\d.]+)\b/.exec(S)||0)[1])&&_e.push("Chromium "+ie),Ae||(Ae=Ne(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",w(he),"(?:Firefox|Minefield|NetFront)"])),(ie=ee=="iCab"&&parseFloat(Ae)>3&&"WebKit"||/\bOpera\b/.test(he)&&(/\bOPR\b/.test(S)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(S)&&!/^(?:Trident|EdgeHTML)$/.test(ee)&&"WebKit"||!ee&&/\bMSIE\b/i.test(S)&&(Q=="Mac OS"?"Tasman":"Trident")||ee=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(he)&&"NetFront")&&(ee=[ie]),he=="IE"&&(ie=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(S)||0)[1])?(he+=" Mobile",Q="Windows Phone "+(/\+$/.test(ie)?ie:ie+".x"),_e.unshift("desktop mode")):/\bWPDesktop\b/i.test(S)?(he="IE Mobile",Q="Windows Phone 8.x",_e.unshift("desktop mode"),Ae||(Ae=(/\brv:([\d.]+)/.exec(S)||0)[1])):he!="IE"&&ee=="Trident"&&(ie=/\brv:([\d.]+)/.exec(S))&&(he&&_e.push("identifying as "+he+(Ae?" "+Ae:"")),he="IE",Ae=ie[1]),We){if(A(_,"global"))if(X&&(ie=X.lang.System,me=ie.getProperty("os.arch"),Q=Q||ie.getProperty("os.name")+" "+ie.getProperty("os.version")),W){try{Ae=_.require("ringo/engine").version.join("."),he="RingoJS"}catch(Me){(ie=_.system)&&ie.global.system==_.system&&(he="Narwhal",Q||(Q=ie[0].os||null))}he||(he="Rhino")}else typeof _.process=="object"&&!_.process.browser&&(ie=_.process)&&(typeof ie.versions=="object"&&(typeof ie.versions.electron=="string"?(_e.push("Node "+ie.versions.node),he="Electron",Ae=ie.versions.electron):typeof ie.versions.nw=="string"&&(_e.push("Chromium "+Ae,"Node "+ie.versions.node),he="NW.js",Ae=ie.versions.nw)),he||(he="Node.js",me=ie.arch,Q=ie.platform,Ae=/[\d.]+/.exec(ie.version),Ae=Ae?Ae[0]:null));else g(ie=_.runtime)==Z?(he="Adobe AIR",Q=ie.flash.system.Capabilities.os):g(ie=_.phantom)==z?(he="PhantomJS",Ae=(ie=ie.version||null)&&ie.major+"."+ie.minor+"."+ie.patch):typeof re.documentMode=="number"&&(ie=/\bTrident\/(\d+)/i.exec(S))?(Ae=[Ae,re.documentMode],(ie=+ie[1]+4)!=Ae[1]&&(_e.push("IE "+Ae[1]+" mode"),ee&&(ee[1]=""),Ae[1]=ie),Ae=he=="IE"?String(Ae[1].toFixed(1)):Ae[0]):typeof re.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(he)&&(_e.push("masking as "+he+" "+Ae),he="IE",Ae="11.0",ee=["Trident"],Q="Windows");Q=Q&&u(Q)}if(Ae&&(ie=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ae)||/(?:alpha|beta)(?: ?\d)?/i.exec(S+";"+(We&&D.appMinorVersion))||/\bMinefield\b/i.test(S)&&"a")&&(Te=/b/i.test(ie)?"beta":"alpha",Ae=Ae.replace(RegExp(ie+"\\+?$"),"")+(Te=="beta"?Y:q)+(/\d+\+?/.exec(ie)||"")),he=="Fennec"||he=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(Q))he="Firefox Mobile";else if(he=="Maxthon"&&Ae)Ae=Ae.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ze))Ze=="Xbox 360"&&(Q=null),Ze=="Xbox 360"&&/\bIEMobile\b/.test(S)&&_e.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(he)||he&&!Ze&&!/Browser|Mobi/.test(he))&&(Q=="Windows CE"||/Mobi/i.test(S)))he+=" Mobile";else if(he=="IE"&&We)try{_.external===null&&_e.unshift("platform preview")}catch(Me){_e.unshift("embedded")}else(/\bBlackBerry\b/.test(Ze)||/\bBB10\b/.test(S))&&(ie=(RegExp(Ze.replace(/ +/g," *")+"/([.\\d]+)","i").exec(S)||0)[1]||Ae)?(ie=[ie,/BB10/.test(S)],Q=(ie[1]?(Ze=null,oe="BlackBerry"):"Device Software")+" "+ie[0],Ae=null):this!=h&&Ze!="Wii"&&(We&&ne||/Opera/.test(he)&&/\b(?:MSIE|Firefox)\b/i.test(S)||he=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Q)||he=="IE"&&(Q&&!/^Win/.test(Q)&&Ae>5.5||/\bWindows XP\b/.test(Q)&&Ae>8||Ae==8&&!/\bTrident\b/.test(S)))&&!n.test(ie=T.call(h,S.replace(n,"")+";"))&&ie.name&&(ie="ing as "+ie.name+((ie=ie.version)?" "+ie:""),n.test(he)?(/\bIE\b/.test(ie)&&Q=="Mac OS"&&(Q=null),ie="identify"+ie):(ie="mask"+ie,we?he=u(we.replace(/([a-z])([A-Z])/g,"$1 $2")):he="Opera",/\bIE\b/.test(ie)&&(Q=null),We||(Ae=null)),ee=["Presto"],_e.push(ie));(ie=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(S)||0)[1])&&(ie=[parseFloat(ie.replace(/\.(\d)$/,".0$1")),ie],he=="Safari"&&ie[1].slice(-1)=="+"?(he="WebKit Nightly",Te="alpha",Ae=ie[1].slice(0,-1)):(Ae==ie[1]||Ae==(ie[2]=(/\bSafari\/([\d.]+\+?)/i.exec(S)||0)[1]))&&(Ae=null),ie[1]=(/\bChrome\/([\d.]+)/i.exec(S)||0)[1],ie[0]==537.36&&ie[2]==537.36&&parseFloat(ie[1])>=28&&ee=="WebKit"&&(ee=["Blink"]),!We||!k&&!ie[1]?(ee&&(ee[1]="like Safari"),ie=(ie=ie[0],ie<400?1:ie<500?2:ie<526?3:ie<533?4:ie<534?"4+":ie<535?5:ie<537?6:ie<538?7:ie<601?8:"8")):(ee&&(ee[1]="like Chrome"),ie=ie[1]||(ie=ie[0],ie<530?1:ie<532?2:ie<532.05?3:ie<533?4:ie<534.03?5:ie<534.07?6:ie<534.1?7:ie<534.13?8:ie<534.16?9:ie<534.24?10:ie<534.3?11:ie<535.01?12:ie<535.02?"13+":ie<535.07?15:ie<535.11?16:ie<535.19?17:ie<536.05?18:ie<536.1?19:ie<537.01?20:ie<537.11?"21+":ie<537.13?23:ie<537.18?24:ie<537.24?25:ie<537.36?26:ee!="Blink"?"27":"28")),ee&&(ee[1]+=" "+(ie+=typeof ie=="number"?".x":/[.+]/.test(ie)?"":"+")),he=="Safari"&&(!Ae||parseInt(Ae)>45)&&(Ae=ie)),he=="Opera"&&(ie=/\bzbov|zvav$/.exec(Q))?(he+=" ",_e.unshift("desktop mode"),ie=="zvav"?(he+="Mini",Ae=null):he+="Mobile",Q=Q.replace(RegExp(" *"+ie+"$"),"")):he=="Safari"&&/\bChrome\b/.exec(ee&&ee[1])&&(_e.unshift("desktop mode"),he="Chrome Mobile",Ae=null,/\bOS X\b/.test(Q)?(oe="Apple",Q="iOS 4.3+"):Q=null),Ae&&Ae.indexOf(ie=/[\d.]+$/.exec(Q))==0&&S.indexOf("/"+ie+"-")>-1&&(Q=C(Q.replace(ie,""))),ee&&!/\b(?:Avant|Nook)\b/.test(he)&&(/Browser|Lunascape|Maxthon/.test(he)||he!="Safari"&&/^iOS/.test(Q)&&/\bSafari\b/.test(ee[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(he)&&ee[1])&&((ie=ee[ee.length-1])&&_e.push(ie)),_e.length&&(_e=["("+_e.join("; ")+")"]),oe&&Ze&&Ze.indexOf(oe)<0&&_e.push("on "+oe),Ze&&_e.push((/^on /.test(_e[_e.length-1])?"":"on ")+Ze),Q&&(ie=/ ([\d.+]+)$/.exec(Q),je=ie&&Q.charAt(Q.length-ie[0].length-1)=="/",Q={architecture:32,family:ie&&!je?Q.replace(ie[0],""):Q,version:ie?ie[1]:null,toString:function(){var qe=this.version;return this.family+(qe&&!je?" "+qe:"")+(this.architecture==64?" 64-bit":"")}}),(ie=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(me))&&!/\bi686\b/i.test(me)?(Q&&(Q.architecture=64,Q.family=Q.family.replace(RegExp(" *"+ie),"")),he&&(/\bWOW64\b/i.test(S)||We&&/\w(?:86|32)$/.test(D.cpuClass||D.platform)&&!/\bWin64; x64\b/i.test(S))&&_e.unshift("32-bit")):Q&&/^OS X/.test(Q.family)&&he=="Chrome"&&parseFloat(Ae)>=39&&(Q.architecture=64),S||(S=null);var ve={};return ve.description=S,ve.layout=ee&&ee[0],ve.manufacturer=oe,ve.name=he,ve.prerelease=Te,ve.product=Ze,ve.ua=S,ve.version=he&&Ae,ve.os=Q||{architecture:null,family:null,version:null,toString:function(){return"null"}},ve.parse=T,ve.toString=de,ve.version&&_e.unshift(Ae),ve.name&&_e.unshift(he),Q&&he&&!(Q==String(Q).split(" ")[0]&&(Q==he.split(" ")[0]||Ze))&&_e.push(Ze?"("+Q+")":"on "+Q),_e.length&&(ve.description=_e.join(" ")),ve}var O=T();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(E.platform=O,define(function(){return O})):v&&f?h(O,function(S,_){v[_]=S}):E.platform=O}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(U,R,i){(function(y){"use strict";typeof y=="undefined"||!y.version||y.version.indexOf("v0.")===0||y.version.indexOf("v1.")===0&&y.version.indexOf("v1.8.")!==0?R.exports={nextTick:m}:R.exports=y;function m(E,p,v,f){if(typeof E!="function")throw new TypeError('"callback" argument must be a function');var d=arguments.length,l,n;switch(d){case 0:case 1:return y.nextTick(E);case 2:return y.nextTick(function(){E.call(null,p)});case 3:return y.nextTick(function(){E.call(null,p,v)});case 4:return y.nextTick(function(){E.call(null,p,v,f)});default:for(l=new Array(d-1),n=0;n<l.length;)l[n++]=arguments[n];return y.nextTick(function(){E.apply(null,l)})}}}).call(this,U("_process"))},{_process:208}],208:[function(U,R,i){var y=R.exports={},m,E;function p(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?m=setTimeout:m=p}catch(o){m=p}try{typeof clearTimeout=="function"?E=clearTimeout:E=v}catch(o){E=v}})();function f(o){if(m===setTimeout)return setTimeout(o,0);if((m===p||!m)&&setTimeout)return m=setTimeout,setTimeout(o,0);try{return m(o,0)}catch(u){try{return m.call(null,o,0)}catch(h){return m.call(this,o,0)}}}function d(o){if(E===clearTimeout)return clearTimeout(o);if((E===v||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(o);try{return E(o)}catch(u){try{return E.call(null,o)}catch(h){return E.call(this,o)}}}var l=[],n=!1,t,a=-1;function s(){if(!n||!t)return;n=!1,t.length?l=t.concat(l):a=-1,l.length&&r()}function r(){if(n)return;var o=f(s);n=!0;for(var u=l.length;u;){for(t=l,l=[];++a<u;)t&&t[a].run();a=-1,u=l.length}t=null,n=!1,d(o)}y.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];l.push(new c(o,u)),l.length===1&&!n&&f(r)};function c(o,u){this.fun=o,this.array=u}c.prototype.run=function(){this.fun.apply(null,this.array)},y.title="browser",y.browser=!0,y.env={},y.argv=[],y.version="",y.versions={};function e(){}y.on=e,y.addListener=e,y.once=e,y.off=e,y.removeListener=e,y.removeAllListeners=e,y.emit=e,y.prependListener=e,y.prependOnceListener=e,y.listeners=function(o){return[]},y.binding=function(o){throw new Error("process.binding is not supported")},y.cwd=function(){return"/"},y.chdir=function(o){throw new Error("process.chdir is not supported")},y.umask=function(){return 0}},{}],209:[function(U,R,i){(function(y){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(m){var E=typeof i=="object"&&i&&!i.nodeType&&i,p=typeof R=="object"&&R&&!R.nodeType&&R,v=typeof y=="object"&&y;(v.global===v||v.window===v||v.self===v)&&(m=v);var f,d=2147483647,l=36,n=1,t=26,a=38,s=700,r=72,c=128,e="-",o=/^xn--/,u=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=l-n,w=Math.floor,x=String.fromCharCode,C;function T(V){throw new RangeError(g[V])}function O(V,z){for(var X=V.length,W=[];X--;)W[X]=z(V[X]);return W}function S(V,z){var X=V.split("@"),W="";X.length>1&&(W=X[0]+"@",V=X[1]),V=V.replace(h,".");var q=V.split("."),Y=O(q,z).join(".");return W+Y}function _(V){for(var z=[],X=0,W=V.length,q,Y;X<W;)q=V.charCodeAt(X++),q>=55296&&q<=56319&&X<W?(Y=V.charCodeAt(X++),(Y&64512)==56320?z.push(((q&1023)<<10)+(Y&1023)+65536):(z.push(q),X--)):z.push(q);return z}function L(V){return O(V,function(z){var X="";return z>65535&&(z-=65536,X+=x(z>>>10&1023|55296),z=56320|z&1023),X+=x(z),X}).join("")}function D(V){return V-48<10?V-22:V-65<26?V-65:V-97<26?V-97:l}function F(V,z){return V+22+75*(V<26)-((z!=0)<<5)}function j(V,z,X){var W=0;for(V=X?w(V/s):V>>1,V+=w(V/z);V>A*t>>1;W+=l)V=w(V/A);return w(W+(A+1)*V/(V+a))}function k(V){var z=[],X=V.length,W,q=0,Y=c,re=r,ne,we,ie,me,_e,Te,We,Ae,je;for(ne=V.lastIndexOf(e),ne<0&&(ne=0),we=0;we<ne;++we)V.charCodeAt(we)>=128&&T("not-basic"),z.push(V.charCodeAt(we));for(ie=ne>0?ne+1:0;ie<X;){for(me=q,_e=1,Te=l;!(ie>=X&&T("invalid-input"),We=D(V.charCodeAt(ie++)),(We>=l||We>w((d-q)/_e))&&T("overflow"),q+=We*_e,Ae=Te<=re?n:Te>=re+t?t:Te-re,We<Ae);Te+=l)je=l-Ae,_e>w(d/je)&&T("overflow"),_e*=je;W=z.length+1,re=j(q-me,W,me==0),w(q/W)>d-Y&&T("overflow"),Y+=w(q/W),q%=W,z.splice(q++,0,Y)}return L(z)}function K(V){var z,X,W,q,Y,re,ne,we,ie,me,_e,Te=[],We,Ae,je,ee;for(V=_(V),We=V.length,z=c,X=0,Y=r,re=0;re<We;++re)_e=V[re],_e<128&&Te.push(x(_e));for(W=q=Te.length,q&&Te.push(e);W<We;){for(ne=d,re=0;re<We;++re)_e=V[re],_e>=z&&_e<ne&&(ne=_e);for(Ae=W+1,ne-z>w((d-X)/Ae)&&T("overflow"),X+=(ne-z)*Ae,z=ne,re=0;re<We;++re)if(_e=V[re],_e<z&&++X>d&&T("overflow"),_e==z){for(we=X,ie=l;!(me=ie<=Y?n:ie>=Y+t?t:ie-Y,we<me);ie+=l)ee=we-me,je=l-me,Te.push(x(F(me+ee%je,0))),we=w(ee/je);Te.push(x(F(we,0))),Y=j(X,Ae,W==q),X=0,++W}++X,++z}return Te.join("")}function Z(V){return S(V,function(z){return o.test(z)?k(z.slice(4).toLowerCase()):z})}function B(V){return S(V,function(z){return u.test(z)?"xn--"+K(z):z})}if(f={version:"1.4.1",ucs2:{decode:_,encode:L},decode:k,encode:K,toASCII:B,toUnicode:Z},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return f});else if(E&&p)if(R.exports==E)p.exports=f;else for(C in f)f.hasOwnProperty(C)&&(E[C]=f[C]);else m.punycode=f})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(U,R,i){"use strict";function y(E,p){return Object.prototype.hasOwnProperty.call(E,p)}R.exports=function(E,p,v,f){p=p||"&",v=v||"=";var d={};if(typeof E!="string"||E.length===0)return d;var l=/\+/g;E=E.split(p);var n=1e3;f&&typeof f.maxKeys=="number"&&(n=f.maxKeys);var t=E.length;n>0&&t>n&&(t=n);for(var a=0;a<t;++a){var s=E[a].replace(l,"%20"),r=s.indexOf(v),c,e,o,u;r>=0?(c=s.substr(0,r),e=s.substr(r+1)):(c=s,e=""),o=decodeURIComponent(c),u=decodeURIComponent(e),y(d,o)?m(d[o])?d[o].push(u):d[o]=[d[o],u]:d[o]=u}return d};var m=Array.isArray||function(E){return Object.prototype.toString.call(E)==="[object Array]"}},{}],211:[function(U,R,i){"use strict";var y=function(f){switch(typeof f){case"string":return f;case"boolean":return f?"true":"false";case"number":return isFinite(f)?f:"";default:return""}};R.exports=function(v,f,d,l){return f=f||"&",d=d||"=",v===null&&(v=void 0),typeof v=="object"?E(p(v),function(n){var t=encodeURIComponent(y(n))+d;return m(v[n])?E(v[n],function(a){return t+encodeURIComponent(y(a))}).join(f):t+encodeURIComponent(y(v[n]))}).join(f):l?encodeURIComponent(y(l))+d+encodeURIComponent(y(v)):""};var m=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"};function E(v,f){if(v.map)return v.map(f);for(var d=[],l=0;l<v.length;l++)d.push(f(v[l],l));return d}var p=Object.keys||function(v){var f=[];for(var d in v)Object.prototype.hasOwnProperty.call(v,d)&&f.push(d);return f}},{}],212:[function(U,R,i){"use strict";i.decode=i.parse=U("./decode"),i.encode=i.stringify=U("./encode")},{"./decode":210,"./encode":211}],213:[function(U,R,i){R.exports=U("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=v(y),E=U("babel-runtime/core-js/object/keys"),p=v(E);function v(u){return u&&u.__esModule?u:{default:u}}var f=U("process-nextick-args"),d=p.default||function(u){var h=[];for(var g in u)h.push(g);return h};R.exports=c;var l=(0,m.default)(U("core-util-is"));l.inherits=U("inherits");var n=U("./_stream_readable"),t=U("./_stream_writable");l.inherits(c,n);for(var a=d(t.prototype),s=0;s<a.length;s++){var r=a[s];c.prototype[r]||(c.prototype[r]=t.prototype[r])}function c(u){if(!(this instanceof c))return new c(u);n.call(this,u),t.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",e)}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function e(){if(this.allowHalfOpen||this._writableState.ended)return;f.nextTick(o,this)}function o(u){u.end()}Object.defineProperty(c.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}}),c.prototype._destroy=function(u,h){this.push(null),this.end(),f.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(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}R.exports=f;var p=U("./_stream_transform"),v=(0,m.default)(U("core-util-is"));v.inherits=U("inherits"),v.inherits(f,p);function f(d){if(!(this instanceof f))return new f(d);p.call(this,d)}f.prototype._transform=function(d,l,n){n(null,d)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(U,R,i){(function(y,m){"use strict";var E=U("babel-runtime/core-js/object/get-prototype-of"),p=d(E),v=U("babel-runtime/core-js/object/create"),f=d(v);function d(ee){return ee&&ee.__esModule?ee:{default:ee}}var l=U("process-nextick-args");R.exports=_;var n=U("isarray"),t;_.ReadableState=S;var a=U("events").EventEmitter,s=function(he,Ze){return he.listeners(Ze).length},r=U("./internal/streams/stream"),c=U("safe-buffer").Buffer,e=m.Uint8Array||function(){};function o(ee){return c.from(ee)}function u(ee){return c.isBuffer(ee)||ee instanceof e}var h=(0,f.default)(U("core-util-is"));h.inherits=U("inherits");var g=U("util"),A=void 0;g&&g.debuglog?A=g.debuglog("stream"):A=function(){};var w=U("./internal/streams/BufferList"),x=U("./internal/streams/destroy"),C;h.inherits(_,r);var T=["error","close","destroy","pause","resume"];function O(ee,he,Ze){if(typeof ee.prependListener=="function")return ee.prependListener(he,Ze);!ee._events||!ee._events[he]?ee.on(he,Ze):n(ee._events[he])?ee._events[he].unshift(Ze):ee._events[he]=[Ze,ee._events[he]]}function S(ee,he){t=t||U("./_stream_duplex"),ee=ee||{};var Ze=he instanceof t;this.objectMode=!!ee.objectMode,Ze&&(this.objectMode=this.objectMode||!!ee.readableObjectMode);var oe=ee.highWaterMark,Q=ee.readableHighWaterMark,G=this.objectMode?16:16*1024;oe||oe===0?this.highWaterMark=oe:Ze&&(Q||Q===0)?this.highWaterMark=Q:this.highWaterMark=G,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new w,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=ee.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ee.encoding&&(C||(C=U("string_decoder/").StringDecoder),this.decoder=new C(ee.encoding),this.encoding=ee.encoding)}function _(ee){if(t=t||U("./_stream_duplex"),!(this instanceof _))return new _(ee);this._readableState=new S(ee,this),this.readable=!0,ee&&(typeof ee.read=="function"&&(this._read=ee.read),typeof ee.destroy=="function"&&(this._destroy=ee.destroy)),r.call(this)}Object.defineProperty(_.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(he){if(!this._readableState)return;this._readableState.destroyed=he}}),_.prototype.destroy=x.destroy,_.prototype._undestroy=x.undestroy,_.prototype._destroy=function(ee,he){this.push(null),he(ee)},_.prototype.push=function(ee,he){var Ze=this._readableState,oe;return Ze.objectMode?oe=!0:typeof ee=="string"&&(he=he||Ze.defaultEncoding,he!==Ze.encoding&&(ee=c.from(ee,he),he=""),oe=!0),L(this,ee,he,!1,oe)},_.prototype.unshift=function(ee){return L(this,ee,null,!0,!1)};function L(ee,he,Ze,oe,Q){var G=ee._readableState;if(he===null)G.reading=!1,B(ee,G);else{var te;Q||(te=F(G,he)),te?ee.emit("error",te):G.objectMode||he&&he.length>0?(typeof he!="string"&&!G.objectMode&&(0,p.default)(he)!==c.prototype&&(he=o(he)),oe?G.endEmitted?ee.emit("error",new Error("stream.unshift() after end event")):D(ee,G,he,!0):G.ended?ee.emit("error",new Error("stream.push() after EOF")):(G.reading=!1,G.decoder&&!Ze?(he=G.decoder.write(he),G.objectMode||he.length!==0?D(ee,G,he,!1):X(ee,G)):D(ee,G,he,!1))):oe||(G.reading=!1)}return j(G)}function D(ee,he,Ze,oe){he.flowing&&he.length===0&&!he.sync?(ee.emit("data",Ze),ee.read(0)):(he.length+=he.objectMode?1:Ze.length,oe?he.buffer.unshift(Ze):he.buffer.push(Ze),he.needReadable&&V(ee)),X(ee,he)}function F(ee,he){var Ze;return!u(he)&&typeof he!="string"&&he!==void 0&&!ee.objectMode&&(Ze=new TypeError("Invalid non-string/buffer chunk")),Ze}function j(ee){return!ee.ended&&(ee.needReadable||ee.length<ee.highWaterMark||ee.length===0)}_.prototype.isPaused=function(){return this._readableState.flowing===!1},_.prototype.setEncoding=function(ee){return C||(C=U("string_decoder/").StringDecoder),this._readableState.decoder=new C(ee),this._readableState.encoding=ee,this};var k=8388608;function K(ee){return ee>=k?ee=k:(ee--,ee|=ee>>>1,ee|=ee>>>2,ee|=ee>>>4,ee|=ee>>>8,ee|=ee>>>16,ee++),ee}function Z(ee,he){return ee<=0||he.length===0&&he.ended?0:he.objectMode?1:ee!==ee?he.flowing&&he.length?he.buffer.head.data.length:he.length:(ee>he.highWaterMark&&(he.highWaterMark=K(ee)),ee<=he.length?ee:he.ended?he.length:(he.needReadable=!0,0))}_.prototype.read=function(ee){A("read",ee),ee=parseInt(ee,10);var he=this._readableState,Ze=ee;if(ee!==0&&(he.emittedReadable=!1),ee===0&&he.needReadable&&(he.length>=he.highWaterMark||he.ended))return A("read: emitReadable",he.length,he.ended),he.length===0&&he.ended?We(this):V(this),null;if(ee=Z(ee,he),ee===0&&he.ended)return he.length===0&&We(this),null;var oe=he.needReadable;A("need readable",oe),(he.length===0||he.length-ee<he.highWaterMark)&&(oe=!0,A("length less than watermark",oe)),he.ended||he.reading?(oe=!1,A("reading or ended",oe)):oe&&(A("do read"),he.reading=!0,he.sync=!0,he.length===0&&(he.needReadable=!0),this._read(he.highWaterMark),he.sync=!1,he.reading||(ee=Z(Ze,he)));var Q;return ee>0?Q=ie(ee,he):Q=null,Q===null?(he.needReadable=!0,ee=0):he.length-=ee,he.length===0&&(he.ended||(he.needReadable=!0),Ze!==ee&&he.ended&&We(this)),Q!==null&&this.emit("data",Q),Q};function B(ee,he){if(he.ended)return;if(he.decoder){var Ze=he.decoder.end();Ze&&Ze.length&&(he.buffer.push(Ze),he.length+=he.objectMode?1:Ze.length)}he.ended=!0,V(ee)}function V(ee){var he=ee._readableState;he.needReadable=!1,he.emittedReadable||(A("emitReadable",he.flowing),he.emittedReadable=!0,he.sync?l.nextTick(z,ee):z(ee))}function z(ee){A("emit readable"),ee.emit("readable"),we(ee)}function X(ee,he){he.readingMore||(he.readingMore=!0,l.nextTick(W,ee,he))}function W(ee,he){for(var Ze=he.length;!he.reading&&!he.flowing&&!he.ended&&he.length<he.highWaterMark&&!(A("maybeReadMore read 0"),ee.read(0),Ze===he.length);)Ze=he.length;he.readingMore=!1}_.prototype._read=function(ee){this.emit("error",new Error("_read() is not implemented"))},_.prototype.pipe=function(ee,he){var Ze=this,oe=this._readableState;switch(oe.pipesCount){case 0:oe.pipes=ee;break;case 1:oe.pipes=[oe.pipes,ee];break;default:oe.pipes.push(ee);break}oe.pipesCount+=1,A("pipe count=%d opts=%j",oe.pipesCount,he);var Q=(!he||he.end!==!1)&&ee!==y.stdout&&ee!==y.stderr,G=Q?xe:ht;oe.endEmitted?l.nextTick(G):Ze.once("end",G),ee.on("unpipe",te);function te(Pe,It){A("onunpipe"),Pe===Ze&&(It&&It.hasUnpiped===!1&&(It.hasUnpiped=!0,Ne()))}function xe(){A("onend"),ee.end()}var fe=q(Ze);ee.on("drain",fe);var Be=!1;function Ne(){A("cleanup"),ee.removeListener("close",qe),ee.removeListener("finish",gt),ee.removeListener("drain",fe),ee.removeListener("error",Me),ee.removeListener("unpipe",te),Ze.removeListener("end",xe),Ze.removeListener("end",ht),Ze.removeListener("data",ve),Be=!0,oe.awaitDrain&&(!ee._writableState||ee._writableState.needDrain)&&fe()}var de=!1;Ze.on("data",ve);function ve(Pe){A("ondata"),de=!1;var It=ee.write(Pe);It===!1&&!de&&((oe.pipesCount===1&&oe.pipes===ee||oe.pipesCount>1&&je(oe.pipes,ee)!==-1)&&!Be&&(A("false write response, pause",Ze._readableState.awaitDrain),Ze._readableState.awaitDrain++,de=!0),Ze.pause())}function Me(Pe){A("onerror",Pe),ht(),ee.removeListener("error",Me),s(ee,"error")===0&&ee.emit("error",Pe)}O(ee,"error",Me);function qe(){ee.removeListener("finish",gt),ht()}ee.once("close",qe);function gt(){A("onfinish"),ee.removeListener("close",qe),ht()}ee.once("finish",gt);function ht(){A("unpipe"),Ze.unpipe(ee)}return ee.emit("pipe",Ze),oe.flowing||(A("pipe resume"),Ze.resume()),ee};function q(ee){return function(){var he=ee._readableState;A("pipeOnDrain",he.awaitDrain),he.awaitDrain&&he.awaitDrain--,he.awaitDrain===0&&s(ee,"data")&&(he.flowing=!0,we(ee))}}_.prototype.unpipe=function(ee){var he=this._readableState,Ze={hasUnpiped:!1};if(he.pipesCount===0)return this;if(he.pipesCount===1)return ee&&ee!==he.pipes?this:(ee||(ee=he.pipes),he.pipes=null,he.pipesCount=0,he.flowing=!1,ee&&ee.emit("unpipe",this,Ze),this);if(!ee){var oe=he.pipes,Q=he.pipesCount;he.pipes=null,he.pipesCount=0,he.flowing=!1;for(var G=0;G<Q;G++)oe[G].emit("unpipe",this,Ze);return this}var te=je(he.pipes,ee);return te===-1?this:(he.pipes.splice(te,1),he.pipesCount-=1,he.pipesCount===1&&(he.pipes=he.pipes[0]),ee.emit("unpipe",this,Ze),this)},_.prototype.on=function(ee,he){var Ze=r.prototype.on.call(this,ee,he);if(ee==="data")this._readableState.flowing!==!1&&this.resume();else if(ee==="readable"){var oe=this._readableState;!oe.endEmitted&&!oe.readableListening&&(oe.readableListening=oe.needReadable=!0,oe.emittedReadable=!1,oe.reading?oe.length&&V(this):l.nextTick(Y,this))}return Ze},_.prototype.addListener=_.prototype.on;function Y(ee){A("readable nexttick read 0"),ee.read(0)}_.prototype.resume=function(){var ee=this._readableState;return ee.flowing||(A("resume"),ee.flowing=!0,re(this,ee)),this};function re(ee,he){he.resumeScheduled||(he.resumeScheduled=!0,l.nextTick(ne,ee,he))}function ne(ee,he){he.reading||(A("resume read 0"),ee.read(0)),he.resumeScheduled=!1,he.awaitDrain=0,ee.emit("resume"),we(ee),he.flowing&&!he.reading&&ee.read(0)}_.prototype.pause=function(){return A("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(A("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function we(ee){var he=ee._readableState;for(A("flow",he.flowing);he.flowing&&ee.read()!==null;);}_.prototype.wrap=function(ee){var he=this,Ze=this._readableState,oe=!1;ee.on("end",function(){if(A("wrapped end"),Ze.decoder&&!Ze.ended){var te=Ze.decoder.end();te&&te.length&&he.push(te)}he.push(null)}),ee.on("data",function(te){if(A("wrapped data"),Ze.decoder&&(te=Ze.decoder.write(te)),Ze.objectMode&&te==null)return;if(!Ze.objectMode&&(!te||!te.length))return;var xe=he.push(te);xe||(oe=!0,ee.pause())});for(var Q in ee)this[Q]===void 0&&typeof ee[Q]=="function"&&(this[Q]=function(te){return function(){return ee[te].apply(ee,arguments)}}(Q));for(var G=0;G<T.length;G++)ee.on(T[G],this.emit.bind(this,T[G]));return this._read=function(te){A("wrapped _read",te),oe&&(oe=!1,ee.resume())},this},Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),_._fromList=ie;function ie(ee,he){if(he.length===0)return null;var Ze;return he.objectMode?Ze=he.buffer.shift():!ee||ee>=he.length?(he.decoder?Ze=he.buffer.join(""):he.buffer.length===1?Ze=he.buffer.head.data:Ze=he.buffer.concat(he.length),he.buffer.clear()):Ze=me(ee,he.buffer,he.decoder),Ze}function me(ee,he,Ze){var oe;return ee<he.head.data.length?(oe=he.head.data.slice(0,ee),he.head.data=he.head.data.slice(ee)):ee===he.head.data.length?oe=he.shift():oe=Ze?_e(ee,he):Te(ee,he),oe}function _e(ee,he){var Ze=he.head,oe=1,Q=Ze.data;for(ee-=Q.length;Ze=Ze.next;){var G=Ze.data,te=ee>G.length?G.length:ee;if(te===G.length?Q+=G:Q+=G.slice(0,ee),ee-=te,ee===0){te===G.length?(++oe,Ze.next?he.head=Ze.next:he.head=he.tail=null):(he.head=Ze,Ze.data=G.slice(te));break}++oe}return he.length-=oe,Q}function Te(ee,he){var Ze=c.allocUnsafe(ee),oe=he.head,Q=1;for(oe.data.copy(Ze),ee-=oe.data.length;oe=oe.next;){var G=oe.data,te=ee>G.length?G.length:ee;if(G.copy(Ze,Ze.length-ee,0,te),ee-=te,ee===0){te===G.length?(++Q,oe.next?he.head=oe.next:he.head=he.tail=null):(he.head=oe,oe.data=G.slice(te));break}++Q}return he.length-=Q,Ze}function We(ee){var he=ee._readableState;if(he.length>0)throw new Error('"endReadable()" called on non-empty stream');he.endEmitted||(he.ended=!0,l.nextTick(Ae,he,ee))}function Ae(ee,he){!ee.endEmitted&&ee.length===0&&(ee.endEmitted=!0,he.readable=!1,he.emit("end"))}function je(ee,he){for(var Ze=0,oe=ee.length;Ze<oe;Ze++)if(ee[Ze]===he)return Ze;return-1}}).call(this,U("_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(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(t){return t&&t.__esModule?t:{default:t}}R.exports=d;var p=U("./_stream_duplex"),v=(0,m.default)(U("core-util-is"));v.inherits=U("inherits"),v.inherits(d,p);function f(t,a){var s=this._transformState;s.transforming=!1;var r=s.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));s.writechunk=null,s.writecb=null,a!=null&&this.push(a),r(t);var c=this._readableState;c.reading=!1,(c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}function d(t){if(!(this instanceof d))return new d(t);p.call(this,t),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",l)}function l(){var t=this;typeof this._flush=="function"?this._flush(function(a,s){n(t,a,s)}):n(this,null,null)}d.prototype.push=function(t,a){return this._transformState.needTransform=!1,p.prototype.push.call(this,t,a)},d.prototype._transform=function(t,a,s){throw new Error("_transform() is not implemented")},d.prototype._write=function(t,a,s){var r=this._transformState;if(r.writecb=s,r.writechunk=t,r.writeencoding=a,!r.transforming){var c=this._readableState;(r.needTransform||c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}},d.prototype._read=function(t){var a=this._transformState;a.writechunk!==null&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0},d.prototype._destroy=function(t,a){var s=this;p.prototype._destroy.call(this,t,function(r){a(r),s.emit("close")})};function n(t,a,s){if(a)return t.emit("error",a);if(s!=null&&t.push(s),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(U,R,i){(function(y,m){"use strict";var E=U("babel-runtime/core-js/object/define-property"),p=r(E),v=U("babel-runtime/core-js/symbol/has-instance"),f=r(v),d=U("babel-runtime/core-js/symbol"),l=r(d),n=U("babel-runtime/core-js/object/create"),t=r(n),a=U("babel-runtime/core-js/set-immediate"),s=r(a);function r(Te){return Te&&Te.__esModule?Te:{default:Te}}var c=U("process-nextick-args");R.exports=F;function e(Te,We,Ae){this.chunk=Te,this.encoding=We,this.callback=Ae,this.next=null}function o(Te){var We=this;this.next=null,this.entry=null,this.finish=function(){_e(We,Te)}}var u=!y.browser&&["v0.10","v0.9."].indexOf(y.version.slice(0,5))>-1?s.default:c.nextTick,h;F.WritableState=L;var g=(0,t.default)(U("core-util-is"));g.inherits=U("inherits");var A={deprecate:U("util-deprecate")},w=U("./internal/streams/stream"),x=U("safe-buffer").Buffer,C=m.Uint8Array||function(){};function T(Te){return x.from(Te)}function O(Te){return x.isBuffer(Te)||Te instanceof C}var S=U("./internal/streams/destroy");g.inherits(F,w);function _(){}function L(Te,We){h=h||U("./_stream_duplex"),Te=Te||{};var Ae=We instanceof h;this.objectMode=!!Te.objectMode,Ae&&(this.objectMode=this.objectMode||!!Te.writableObjectMode);var je=Te.highWaterMark,ee=Te.writableHighWaterMark,he=this.objectMode?16:16*1024;je||je===0?this.highWaterMark=je:Ae&&(ee||ee===0)?this.highWaterMark=ee:this.highWaterMark=he,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 Ze=Te.decodeStrings===!1;this.decodeStrings=!Ze,this.defaultEncoding=Te.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(oe){X(We,oe)},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)}L.prototype.getBuffer=function(){for(var We=this.bufferedRequest,Ae=[];We;)Ae.push(We),We=We.next;return Ae},function(){try{Object.defineProperty(L.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Te){}}();var D;typeof l.default=="function"&&f.default&&typeof Function.prototype[f.default]=="function"?(D=Function.prototype[f.default],(0,p.default)(F,f.default,{value:function(We){return D.call(this,We)?!0:this!==F?!1:We&&We._writableState instanceof L}})):D=function(We){return We instanceof this};function F(Te){if(h=h||U("./_stream_duplex"),!D.call(F,this)&&!(this instanceof h))return new F(Te);this._writableState=new L(Te,this),this.writable=!0,Te&&(typeof Te.write=="function"&&(this._write=Te.write),typeof Te.writev=="function"&&(this._writev=Te.writev),typeof Te.destroy=="function"&&(this._destroy=Te.destroy),typeof Te.final=="function"&&(this._final=Te.final)),w.call(this)}F.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function j(Te,We){var Ae=new Error("write after end");Te.emit("error",Ae),c.nextTick(We,Ae)}function k(Te,We,Ae,je){var ee=!0,he=!1;return Ae===null?he=new TypeError("May not write null values to stream"):typeof Ae!="string"&&Ae!==void 0&&!We.objectMode&&(he=new TypeError("Invalid non-string/buffer chunk")),he&&(Te.emit("error",he),c.nextTick(je,he),ee=!1),ee}F.prototype.write=function(Te,We,Ae){var je=this._writableState,ee=!1,he=!je.objectMode&&O(Te);return he&&!x.isBuffer(Te)&&(Te=T(Te)),typeof We=="function"&&(Ae=We,We=null),he?We="buffer":We||(We=je.defaultEncoding),typeof Ae!="function"&&(Ae=_),je.ended?j(this,Ae):(he||k(this,je,Te,Ae))&&(je.pendingcb++,ee=Z(this,je,he,Te,We,Ae)),ee},F.prototype.cork=function(){var Te=this._writableState;Te.corked++},F.prototype.uncork=function(){var Te=this._writableState;Te.corked&&(Te.corked--,!Te.writing&&!Te.corked&&!Te.finished&&!Te.bufferProcessing&&Te.bufferedRequest&&Y(this,Te))},F.prototype.setDefaultEncoding=function(We){if(typeof We=="string"&&(We=We.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((We+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+We);return this._writableState.defaultEncoding=We,this};function K(Te,We,Ae){return!Te.objectMode&&Te.decodeStrings!==!1&&typeof We=="string"&&(We=x.from(We,Ae)),We}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Z(Te,We,Ae,je,ee,he){if(!Ae){var Ze=K(We,je,ee);je!==Ze&&(Ae=!0,ee="buffer",je=Ze)}var oe=We.objectMode?1:je.length;We.length+=oe;var Q=We.length<We.highWaterMark;if(Q||(We.needDrain=!0),We.writing||We.corked){var G=We.lastBufferedRequest;We.lastBufferedRequest={chunk:je,encoding:ee,isBuf:Ae,callback:he,next:null},G?G.next=We.lastBufferedRequest:We.bufferedRequest=We.lastBufferedRequest,We.bufferedRequestCount+=1}else B(Te,We,!1,oe,je,ee,he);return Q}function B(Te,We,Ae,je,ee,he,Ze){We.writelen=je,We.writecb=Ze,We.writing=!0,We.sync=!0,Ae?Te._writev(ee,We.onwrite):Te._write(ee,he,We.onwrite),We.sync=!1}function V(Te,We,Ae,je,ee){--We.pendingcb,Ae?(c.nextTick(ee,je),c.nextTick(ie,Te,We),Te._writableState.errorEmitted=!0,Te.emit("error",je)):(ee(je),Te._writableState.errorEmitted=!0,Te.emit("error",je),ie(Te,We))}function z(Te){Te.writing=!1,Te.writecb=null,Te.length-=Te.writelen,Te.writelen=0}function X(Te,We){var Ae=Te._writableState,je=Ae.sync,ee=Ae.writecb;if(z(Ae),We)V(Te,Ae,je,We,ee);else{var he=re(Ae);!he&&!Ae.corked&&!Ae.bufferProcessing&&Ae.bufferedRequest&&Y(Te,Ae),je?u(W,Te,Ae,he,ee):W(Te,Ae,he,ee)}}function W(Te,We,Ae,je){Ae||q(Te,We),We.pendingcb--,je(),ie(Te,We)}function q(Te,We){We.length===0&&We.needDrain&&(We.needDrain=!1,Te.emit("drain"))}function Y(Te,We){We.bufferProcessing=!0;var Ae=We.bufferedRequest;if(Te._writev&&Ae&&Ae.next){var je=We.bufferedRequestCount,ee=new Array(je),he=We.corkedRequestsFree;he.entry=Ae;for(var Ze=0,oe=!0;Ae;)ee[Ze]=Ae,Ae.isBuf||(oe=!1),Ae=Ae.next,Ze+=1;ee.allBuffers=oe,B(Te,We,!0,We.length,ee,"",he.finish),We.pendingcb++,We.lastBufferedRequest=null,he.next?(We.corkedRequestsFree=he.next,he.next=null):We.corkedRequestsFree=new o(We),We.bufferedRequestCount=0}else{for(;Ae;){var Q=Ae.chunk,G=Ae.encoding,te=Ae.callback,xe=We.objectMode?1:Q.length;if(B(Te,We,!1,xe,Q,G,te),Ae=Ae.next,We.bufferedRequestCount--,We.writing)break}Ae===null&&(We.lastBufferedRequest=null)}We.bufferedRequest=Ae,We.bufferProcessing=!1}F.prototype._write=function(Te,We,Ae){Ae(new Error("_write() is not implemented"))},F.prototype._writev=null,F.prototype.end=function(Te,We,Ae){var je=this._writableState;typeof Te=="function"?(Ae=Te,Te=null,We=null):typeof We=="function"&&(Ae=We,We=null),Te!=null&&this.write(Te,We),je.corked&&(je.corked=1,this.uncork()),!je.ending&&!je.finished&&me(this,je,Ae)};function re(Te){return Te.ending&&Te.length===0&&Te.bufferedRequest===null&&!Te.finished&&!Te.writing}function ne(Te,We){Te._final(function(Ae){We.pendingcb--,Ae&&Te.emit("error",Ae),We.prefinished=!0,Te.emit("prefinish"),ie(Te,We)})}function we(Te,We){!We.prefinished&&!We.finalCalled&&(typeof Te._final=="function"?(We.pendingcb++,We.finalCalled=!0,c.nextTick(ne,Te,We)):(We.prefinished=!0,Te.emit("prefinish")))}function ie(Te,We){var Ae=re(We);return Ae&&(we(Te,We),We.pendingcb===0&&(We.finished=!0,Te.emit("finish"))),Ae}function me(Te,We,Ae){We.ending=!0,ie(Te,We),Ae&&(We.finished?c.nextTick(Ae):Te.once("finish",Ae)),We.ended=!0,Te.writable=!1}function _e(Te,We,Ae){var je=Te.entry;for(Te.entry=null;je;){var ee=je.callback;We.pendingcb--,ee(Ae),je=je.next}We.corkedRequestsFree?We.corkedRequestsFree.next=Te:We.corkedRequestsFree=Te}Object.defineProperty(F.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(We){if(!this._writableState)return;this._writableState.destroyed=We}}),F.prototype.destroy=S.destroy,F.prototype._undestroy=S.undestroy,F.prototype._destroy=function(Te,We){this.end(),We(Te)}}).call(this,U("_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(U,R,i){"use strict";function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}var m=U("safe-buffer").Buffer,E=U("util");function p(v,f,d){v.copy(f,d)}R.exports=function(){function v(){y(this,v),this.head=null,this.tail=null,this.length=0}return v.prototype.push=function(d){var l={data:d,next:null};this.length>0?this.tail.next=l:this.head=l,this.tail=l,++this.length},v.prototype.unshift=function(d){var l={data:d,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length},v.prototype.shift=function(){if(this.length===0)return;var d=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,d},v.prototype.clear=function(){this.head=this.tail=null,this.length=0},v.prototype.join=function(d){if(this.length===0)return"";for(var l=this.head,n=""+l.data;l=l.next;)n+=d+l.data;return n},v.prototype.concat=function(d){if(this.length===0)return m.alloc(0);if(this.length===1)return this.head.data;for(var l=m.allocUnsafe(d>>>0),n=this.head,t=0;n;)p(n.data,l,t),t+=n.data.length,n=n.next;return l},v}(),E&&E.inspect&&E.inspect.custom&&(R.exports.prototype[E.inspect.custom]=function(){var v=E.inspect({length:this.length});return this.constructor.name+" "+v})},{"safe-buffer":228,util:71}],220:[function(U,R,i){"use strict";var y=U("process-nextick-args");function m(v,f){var d=this,l=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return l||n?(f?f(v):v&&(!this._writableState||!this._writableState.errorEmitted)&&y.nextTick(p,this,v),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(v||null,function(t){!f&&t?(y.nextTick(p,d,t),d._writableState&&(d._writableState.errorEmitted=!0)):f&&f(t)}),this)}function E(){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 p(v,f){v.emit("error",f)}R.exports={destroy:m,undestroy:E}},{"process-nextick-args":207}],221:[function(U,R,i){"use strict";R.exports=U("events").EventEmitter},{events:192}],222:[function(U,R,i){R.exports=U("./readable").PassThrough},{"./readable":223}],223:[function(U,R,i){i=R.exports=U("./lib/_stream_readable.js"),i.Stream=i,i.Readable=i,i.Writable=U("./lib/_stream_writable.js"),i.Duplex=U("./lib/_stream_duplex.js"),i.Transform=U("./lib/_stream_transform.js"),i.PassThrough=U("./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(U,R,i){R.exports=U("./readable").Transform},{"./readable":223}],225:[function(U,R,i){R.exports=U("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(U,R,i){var y=function(){return this}()||Function("return this")(),m=y.regeneratorRuntime&&Object.getOwnPropertyNames(y).indexOf("regeneratorRuntime")>=0,E=m&&y.regeneratorRuntime;if(y.regeneratorRuntime=void 0,R.exports=U("./runtime"),m)y.regeneratorRuntime=E;else try{delete y.regeneratorRuntime}catch(p){y.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(U,R,i){!function(y){"use strict";var m=Object.prototype,E=m.hasOwnProperty,p,v=typeof Symbol=="function"?Symbol:{},f=v.iterator||"@@iterator",d=v.asyncIterator||"@@asyncIterator",l=v.toStringTag||"@@toStringTag",n=typeof R=="object",t=y.regeneratorRuntime;if(t){n&&(R.exports=t);return}t=y.regeneratorRuntime=n?R.exports:{};function a(Z,B,V,z){var X=B&&B.prototype instanceof h?B:h,W=Object.create(X.prototype),q=new j(z||[]);return W._invoke=_(Z,V,q),W}t.wrap=a;function s(Z,B,V){try{return{type:"normal",arg:Z.call(B,V)}}catch(z){return{type:"throw",arg:z}}}var r="suspendedStart",c="suspendedYield",e="executing",o="completed",u={};function h(){}function g(){}function A(){}var w={};w[f]=function(){return this};var x=Object.getPrototypeOf,C=x&&x(x(k([])));C&&C!==m&&E.call(C,f)&&(w=C);var T=A.prototype=h.prototype=Object.create(w);g.prototype=T.constructor=A,A.constructor=g,A[l]=g.displayName="GeneratorFunction";function O(Z){["next","throw","return"].forEach(function(B){Z[B]=function(V){return this._invoke(B,V)}})}t.isGeneratorFunction=function(Z){var B=typeof Z=="function"&&Z.constructor;return B?B===g||(B.displayName||B.name)==="GeneratorFunction":!1},t.mark=function(Z){return Object.setPrototypeOf?Object.setPrototypeOf(Z,A):(Z.__proto__=A,l in Z||(Z[l]="GeneratorFunction")),Z.prototype=Object.create(T),Z},t.awrap=function(Z){return{__await:Z}};function S(Z){function B(X,W,q,Y){var re=s(Z[X],Z,W);if(re.type==="throw")Y(re.arg);else{var ne=re.arg,we=ne.value;return we&&typeof we=="object"&&E.call(we,"__await")?Promise.resolve(we.__await).then(function(ie){B("next",ie,q,Y)},function(ie){B("throw",ie,q,Y)}):Promise.resolve(we).then(function(ie){ne.value=ie,q(ne)},Y)}}var V;function z(X,W){function q(){return new Promise(function(Y,re){B(X,W,Y,re)})}return V=V?V.then(q,q):q()}this._invoke=z}O(S.prototype),S.prototype[d]=function(){return this},t.AsyncIterator=S,t.async=function(Z,B,V,z){var X=new S(a(Z,B,V,z));return t.isGeneratorFunction(B)?X:X.next().then(function(W){return W.done?W.value:X.next()})};function _(Z,B,V){var z=r;return function(W,q){if(z===e)throw new Error("Generator is already running");if(z===o){if(W==="throw")throw q;return K()}for(V.method=W,V.arg=q;;){var Y=V.delegate;if(Y){var re=L(Y,V);if(re){if(re===u)continue;return re}}if(V.method==="next")V.sent=V._sent=V.arg;else if(V.method==="throw"){if(z===r)throw z=o,V.arg;V.dispatchException(V.arg)}else V.method==="return"&&V.abrupt("return",V.arg);z=e;var ne=s(Z,B,V);if(ne.type==="normal"){if(z=V.done?o:c,ne.arg===u)continue;return{value:ne.arg,done:V.done}}else ne.type==="throw"&&(z=o,V.method="throw",V.arg=ne.arg)}}}function L(Z,B){var V=Z.iterator[B.method];if(V===p){if(B.delegate=null,B.method==="throw"){if(Z.iterator.return&&(B.method="return",B.arg=p,L(Z,B),B.method==="throw"))return u;B.method="throw",B.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var z=s(V,Z.iterator,B.arg);if(z.type==="throw")return B.method="throw",B.arg=z.arg,B.delegate=null,u;var X=z.arg;if(!X)return B.method="throw",B.arg=new TypeError("iterator result is not an object"),B.delegate=null,u;if(X.done)B[Z.resultName]=X.value,B.next=Z.nextLoc,B.method!=="return"&&(B.method="next",B.arg=p);else return X;return B.delegate=null,u}O(T),T[l]="Generator",T[f]=function(){return this},T.toString=function(){return"[object Generator]"};function D(Z){var B={tryLoc:Z[0]};1 in Z&&(B.catchLoc=Z[1]),2 in Z&&(B.finallyLoc=Z[2],B.afterLoc=Z[3]),this.tryEntries.push(B)}function F(Z){var B=Z.completion||{};B.type="normal",delete B.arg,Z.completion=B}function j(Z){this.tryEntries=[{tryLoc:"root"}],Z.forEach(D,this),this.reset(!0)}t.keys=function(Z){var B=[];for(var V in Z)B.push(V);return B.reverse(),function z(){for(;B.length;){var X=B.pop();if(X in Z)return z.value=X,z.done=!1,z}return z.done=!0,z}};function k(Z){if(Z){var B=Z[f];if(B)return B.call(Z);if(typeof Z.next=="function")return Z;if(!isNaN(Z.length)){var V=-1,z=function X(){for(;++V<Z.length;)if(E.call(Z,V))return X.value=Z[V],X.done=!1,X;return X.value=p,X.done=!0,X};return z.next=z}}return{next:K}}t.values=k;function K(){return{value:p,done:!0}}j.prototype={constructor:j,reset:function(B){if(this.prev=0,this.next=0,this.sent=this._sent=p,this.done=!1,this.delegate=null,this.method="next",this.arg=p,this.tryEntries.forEach(F),!B)for(var V in this)V.charAt(0)==="t"&&E.call(this,V)&&!isNaN(+V.slice(1))&&(this[V]=p)},stop:function(){this.done=!0;var B=this.tryEntries[0],V=B.completion;if(V.type==="throw")throw V.arg;return this.rval},dispatchException:function(B){if(this.done)throw B;var V=this;function z(ne,we){return q.type="throw",q.arg=B,V.next=ne,we&&(V.method="next",V.arg=p),!!we}for(var X=this.tryEntries.length-1;X>=0;--X){var W=this.tryEntries[X],q=W.completion;if(W.tryLoc==="root")return z("end");if(W.tryLoc<=this.prev){var Y=E.call(W,"catchLoc"),re=E.call(W,"finallyLoc");if(Y&&re){if(this.prev<W.catchLoc)return z(W.catchLoc,!0);if(this.prev<W.finallyLoc)return z(W.finallyLoc)}else if(Y){if(this.prev<W.catchLoc)return z(W.catchLoc,!0)}else if(re){if(this.prev<W.finallyLoc)return z(W.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(B,V){for(var z=this.tryEntries.length-1;z>=0;--z){var X=this.tryEntries[z];if(X.tryLoc<=this.prev&&E.call(X,"finallyLoc")&&this.prev<X.finallyLoc){var W=X;break}}W&&(B==="break"||B==="continue")&&W.tryLoc<=V&&V<=W.finallyLoc&&(W=null);var q=W?W.completion:{};return q.type=B,q.arg=V,W?(this.method="next",this.next=W.finallyLoc,u):this.complete(q)},complete:function(B,V){if(B.type==="throw")throw B.arg;return B.type==="break"||B.type==="continue"?this.next=B.arg:B.type==="return"?(this.rval=this.arg=B.arg,this.method="return",this.next="end"):B.type==="normal"&&V&&(this.next=V),u},finish:function(B){for(var V=this.tryEntries.length-1;V>=0;--V){var z=this.tryEntries[V];if(z.finallyLoc===B)return this.complete(z.completion,z.afterLoc),F(z),u}},catch:function(B){for(var V=this.tryEntries.length-1;V>=0;--V){var z=this.tryEntries[V];if(z.tryLoc===B){var X=z.completion;if(X.type==="throw"){var W=X.arg;F(z)}return W}}throw new Error("illegal catch attempt")},delegateYield:function(B,V,z){return this.delegate={iterator:k(B),resultName:V,nextLoc:z},this.method==="next"&&(this.arg=p),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(U,R,i){var y=U("buffer"),m=y.Buffer;function E(v,f){for(var d in v)f[d]=v[d]}m.from&&m.alloc&&m.allocUnsafe&&m.allocUnsafeSlow?R.exports=y:(E(y,i),i.Buffer=p);function p(v,f,d){return m(v,f,d)}E(m,p),p.from=function(v,f,d){if(typeof v=="number")throw new TypeError("Argument must not be a number");return m(v,f,d)},p.alloc=function(v,f,d){if(typeof v!="number")throw new TypeError("Argument must be a number");var l=m(v);return f!==void 0?typeof d=="string"?l.fill(f,d):l.fill(f):l.fill(0),l},p.allocUnsafe=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return m(v)},p.allocUnsafeSlow=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return y.SlowBuffer(v)}},{buffer:73}],229:[function(U,R,i){(function(y){"use strict";var m=U("babel-runtime/core-js/string/from-code-point"),E=c(m),p=U("babel-runtime/core-js/json/stringify"),v=c(p),f=U("babel-runtime/helpers/typeof"),d=c(f),l=U("babel-runtime/core-js/object/define-property"),n=c(l),t=U("babel-runtime/core-js/object/keys"),a=c(t),s=U("babel-runtime/core-js/object/create"),r=c(s);function c(e){return e&&e.__esModule?e:{default:e}}(function(e){e.parser=function(G,te){return new u(G,te)},e.SAXParser=u,e.SAXStream=T,e.createStream=C,e.MAX_BUFFER_LENGTH=64*1024;var o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function u(G,te){if(!(this instanceof u))return new u(G,te);var xe=this;g(xe),xe.q=xe.c="",xe.bufferCheckPosition=e.MAX_BUFFER_LENGTH,xe.opt=te||{},xe.opt.lowercase=xe.opt.lowercase||xe.opt.lowercasetags,xe.looseCase=xe.opt.lowercase?"toLowerCase":"toUpperCase",xe.tags=[],xe.closed=xe.closedRoot=xe.sawRoot=!1,xe.tag=xe.error=null,xe.strict=!!G,xe.noscript=!!(G||xe.opt.noscript),xe.state=W.BEGIN,xe.strictEntities=xe.opt.strictEntities,xe.ENTITIES=xe.strictEntities?(0,r.default)(e.XML_ENTITIES):(0,r.default)(e.ENTITIES),xe.attribList=[],xe.opt.xmlns&&(xe.ns=(0,r.default)(D)),xe.trackPosition=xe.opt.position!==!1,xe.trackPosition&&(xe.position=xe.line=xe.column=0),Y(xe,"onready")}r.default||(Object.create=function(G){function te(){}te.prototype=G;var xe=new te;return xe}),a.default||(Object.keys=function(G){var te=[];for(var xe in G)G.hasOwnProperty(xe)&&te.push(xe);return te});function h(G){for(var te=Math.max(e.MAX_BUFFER_LENGTH,10),xe=0,fe=0,Be=o.length;fe<Be;fe++){var Ne=G[o[fe]].length;if(Ne>te)switch(o[fe]){case"textNode":ne(G);break;case"cdata":re(G,"oncdata",G.cdata),G.cdata="";break;case"script":re(G,"onscript",G.script),G.script="";break;default:ie(G,"Max buffer length exceeded: "+o[fe])}xe=Math.max(xe,Ne)}var de=e.MAX_BUFFER_LENGTH-xe;G.bufferCheckPosition=de+G.position}function g(G){for(var te=0,xe=o.length;te<xe;te++)G[o[te]]=""}function A(G){ne(G),G.cdata!==""&&(re(G,"oncdata",G.cdata),G.cdata=""),G.script!==""&&(re(G,"onscript",G.script),G.script="")}u.prototype={end:function(){me(this)},write:Q,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){A(this)}};var w;try{w=U("stream").Stream}catch(G){w=function(){}}var x=e.EVENTS.filter(function(G){return G!=="error"&&G!=="end"});function C(G,te){return new T(G,te)}function T(G,te){if(!(this instanceof T))return new T(G,te);w.apply(this),this._parser=new u(G,te),this.writable=!0,this.readable=!0;var xe=this;this._parser.onend=function(){xe.emit("end")},this._parser.onerror=function(fe){xe.emit("error",fe),xe._parser.error=null},this._decoder=null,x.forEach(function(fe){(0,n.default)(xe,"on"+fe,{get:function(){return xe._parser["on"+fe]},set:function(Ne){if(!Ne)return xe.removeAllListeners(fe),xe._parser["on"+fe]=Ne,Ne;xe.on(fe,Ne)},enumerable:!0,configurable:!1})})}T.prototype=(0,r.default)(w.prototype,{constructor:{value:T}}),T.prototype.write=function(G){if(typeof y=="function"&&typeof y.isBuffer=="function"&&y.isBuffer(G)){if(!this._decoder){var te=U("string_decoder").StringDecoder;this._decoder=new te("utf8")}G=this._decoder.write(G)}return this._parser.write(G.toString()),this.emit("data",G),!0},T.prototype.end=function(G){return G&&G.length&&this.write(G),this._parser.end(),!0},T.prototype.on=function(G,te){var xe=this;return!xe._parser["on"+G]&&x.indexOf(G)!==-1&&(xe._parser["on"+G]=function(){var fe=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);fe.splice(0,0,G),xe.emit.apply(xe,fe)}),w.prototype.on.call(xe,G,te)};var O="[CDATA[",S="DOCTYPE",_="http://www.w3.org/XML/1998/namespace",L="http://www.w3.org/2000/xmlns/",D={xml:_,xmlns:L},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]/,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-]/,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]/,K=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function Z(G){return G===" "||G===`
|
|
|
`||G==="\r"||G===" "}function B(G){return G==='"'||G==="'"}function V(G){return G===">"||Z(G)}function z(G,te){return G.test(te)}function X(G,te){return!z(G,te)}var W=0;e.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++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,a.default)(e.ENTITIES).forEach(function(G){var te=e.ENTITIES[G],xe=typeof te=="number"?String.fromCharCode(te):te;e.ENTITIES[G]=xe});for(var q in e.STATE)e.STATE[e.STATE[q]]=q;W=e.STATE;function Y(G,te,xe){G[te]&&G[te](xe)}function re(G,te,xe){G.textNode&&ne(G),Y(G,te,xe)}function ne(G){G.textNode=we(G.opt,G.textNode),G.textNode&&Y(G,"ontext",G.textNode),G.textNode=""}function we(G,te){return G.trim&&(te=te.trim()),G.normalize&&(te=te.replace(/\s+/g," ")),te}function ie(G,te){return ne(G),G.trackPosition&&(te+=`
|
|
|
Line: `+G.line+`
|
|
|
Column: `+G.column+`
|
|
|
Char: `+G.c),te=new Error(te),G.error=te,Y(G,"onerror",te),G}function me(G){return G.sawRoot&&!G.closedRoot&&_e(G,"Unclosed root tag"),G.state!==W.BEGIN&&G.state!==W.BEGIN_WHITESPACE&&G.state!==W.TEXT&&ie(G,"Unexpected end"),ne(G),G.c="",G.closed=!0,Y(G,"onend"),u.call(G,G.strict,G.opt),G}function _e(G,te){if((typeof G=="undefined"?"undefined":(0,d.default)(G))!=="object"||!(G instanceof u))throw new Error("bad call to strictFail");G.strict&&ie(G,te)}function Te(G){G.strict||(G.tagName=G.tagName[G.looseCase]());var te=G.tags[G.tags.length-1]||G,xe=G.tag={name:G.tagName,attributes:{}};G.opt.xmlns&&(xe.ns=te.ns),G.attribList.length=0,re(G,"onopentagstart",xe)}function We(G,te){var xe=G.indexOf(":"),fe=xe<0?["",G]:G.split(":"),Be=fe[0],Ne=fe[1];return te&&G==="xmlns"&&(Be="xmlns",Ne=""),{prefix:Be,local:Ne}}function Ae(G){if(G.strict||(G.attribName=G.attribName[G.looseCase]()),G.attribList.indexOf(G.attribName)!==-1||G.tag.attributes.hasOwnProperty(G.attribName)){G.attribName=G.attribValue="";return}if(G.opt.xmlns){var te=We(G.attribName,!0),xe=te.prefix,fe=te.local;if(xe==="xmlns")if(fe==="xml"&&G.attribValue!==_)_e(G,"xml: prefix must be bound to "+_+`
|
|
|
Actual: `+G.attribValue);else if(fe==="xmlns"&&G.attribValue!==L)_e(G,"xmlns: prefix must be bound to "+L+`
|
|
|
Actual: `+G.attribValue);else{var Be=G.tag,Ne=G.tags[G.tags.length-1]||G;Be.ns===Ne.ns&&(Be.ns=(0,r.default)(Ne.ns)),Be.ns[fe]=G.attribValue}G.attribList.push([G.attribName,G.attribValue])}else G.tag.attributes[G.attribName]=G.attribValue,re(G,"onattribute",{name:G.attribName,value:G.attribValue});G.attribName=G.attribValue=""}function je(G,te){if(G.opt.xmlns){var xe=G.tag,fe=We(G.tagName);xe.prefix=fe.prefix,xe.local=fe.local,xe.uri=xe.ns[fe.prefix]||"",xe.prefix&&!xe.uri&&(_e(G,"Unbound namespace prefix: "+(0,v.default)(G.tagName)),xe.uri=fe.prefix);var Be=G.tags[G.tags.length-1]||G;xe.ns&&Be.ns!==xe.ns&&(0,a.default)(xe.ns).forEach(function(Nt){re(G,"onopennamespace",{prefix:Nt,uri:xe.ns[Nt]})});for(var Ne=0,de=G.attribList.length;Ne<de;Ne++){var ve=G.attribList[Ne],Me=ve[0],qe=ve[1],gt=We(Me,!0),ht=gt.prefix,Pe=gt.local,It=ht===""?"":xe.ns[ht]||"",nt={name:Me,value:qe,prefix:ht,local:Pe,uri:It};ht&&ht!=="xmlns"&&!It&&(_e(G,"Unbound namespace prefix: "+(0,v.default)(ht)),nt.uri=ht),G.tag.attributes[Me]=nt,re(G,"onattribute",nt)}G.attribList.length=0}G.tag.isSelfClosing=!!te,G.sawRoot=!0,G.tags.push(G.tag),re(G,"onopentag",G.tag),te||(!G.noscript&&G.tagName.toLowerCase()==="script"?G.state=W.SCRIPT:G.state=W.TEXT,G.tag=null,G.tagName=""),G.attribName=G.attribValue="",G.attribList.length=0}function ee(G){if(!G.tagName){_e(G,"Weird empty close tag."),G.textNode+="</>",G.state=W.TEXT;return}if(G.script){if(G.tagName!=="script"){G.script+="</"+G.tagName+">",G.tagName="",G.state=W.SCRIPT;return}re(G,"onscript",G.script),G.script=""}var te=G.tags.length,xe=G.tagName;G.strict||(xe=xe[G.looseCase]());for(var fe=xe;te--;){var Be=G.tags[te];if(Be.name!==fe)_e(G,"Unexpected close tag");else break}if(te<0){_e(G,"Unmatched closing tag: "+G.tagName),G.textNode+="</"+G.tagName+">",G.state=W.TEXT;return}G.tagName=xe;for(var Ne=G.tags.length;Ne-- >te;){var de=G.tag=G.tags.pop();G.tagName=G.tag.name,re(G,"onclosetag",G.tagName);var ve={};for(var Me in de.ns)ve[Me]=de.ns[Me];var qe=G.tags[G.tags.length-1]||G;G.opt.xmlns&&de.ns!==qe.ns&&(0,a.default)(de.ns).forEach(function(gt){var ht=de.ns[gt];re(G,"onclosenamespace",{prefix:gt,uri:ht})})}te===0&&(G.closedRoot=!0),G.tagName=G.attribValue=G.attribName="",G.attribList.length=0,G.state=W.TEXT}function he(G){var te=G.entity,xe=te.toLowerCase(),fe,Be="";return G.ENTITIES[te]?G.ENTITIES[te]:G.ENTITIES[xe]?G.ENTITIES[xe]:(te=xe,te.charAt(0)==="#"&&(te.charAt(1)==="x"?(te=te.slice(2),fe=parseInt(te,16),Be=fe.toString(16)):(te=te.slice(1),fe=parseInt(te,10),Be=fe.toString(10))),te=te.replace(/^0+/,""),isNaN(fe)||Be.toLowerCase()!==te?(_e(G,"Invalid character entity"),"&"+G.entity+";"):(0,E.default)(fe))}function Ze(G,te){te==="<"?(G.state=W.OPEN_WAKA,G.startTagPosition=G.position):Z(te)||(_e(G,"Non-whitespace before first tag."),G.textNode=te,G.state=W.TEXT)}function oe(G,te){var xe="";return te<G.length&&(xe=G.charAt(te)),xe}function Q(G){var te=this;if(this.error)throw this.error;if(te.closed)return ie(te,"Cannot write after close. Assign an onready handler.");if(G===null)return me(te);(typeof G=="undefined"?"undefined":(0,d.default)(G))==="object"&&(G=G.toString());for(var xe=0,fe="";!(fe=oe(G,xe++),te.c=fe,!fe);){te.trackPosition&&(te.position++,fe===`
|
|
|
`?(te.line++,te.column=0):te.column++);switch(te.state){case W.BEGIN:if(te.state=W.BEGIN_WHITESPACE,fe==="\uFEFF")continue;Ze(te,fe);continue;case W.BEGIN_WHITESPACE:Ze(te,fe);continue;case W.TEXT:if(te.sawRoot&&!te.closedRoot){for(var Be=xe-1;fe&&fe!=="<"&&fe!=="&";)fe=oe(G,xe++),fe&&te.trackPosition&&(te.position++,fe===`
|
|
|
`?(te.line++,te.column=0):te.column++);te.textNode+=G.substring(Be,xe-1)}fe==="<"&&!(te.sawRoot&&te.closedRoot&&!te.strict)?(te.state=W.OPEN_WAKA,te.startTagPosition=te.position):(!Z(fe)&&(!te.sawRoot||te.closedRoot)&&_e(te,"Text data outside of root node."),fe==="&"?te.state=W.TEXT_ENTITY:te.textNode+=fe);continue;case W.SCRIPT:fe==="<"?te.state=W.SCRIPT_ENDING:te.script+=fe;continue;case W.SCRIPT_ENDING:fe==="/"?te.state=W.CLOSE_TAG:(te.script+="<"+fe,te.state=W.SCRIPT);continue;case W.OPEN_WAKA:if(fe==="!")te.state=W.SGML_DECL,te.sgmlDecl="";else if(!Z(fe))if(z(F,fe))te.state=W.OPEN_TAG,te.tagName=fe;else if(fe==="/")te.state=W.CLOSE_TAG,te.tagName="";else if(fe==="?")te.state=W.PROC_INST,te.procInstName=te.procInstBody="";else{if(_e(te,"Unencoded <"),te.startTagPosition+1<te.position){var Ne=te.position-te.startTagPosition;fe=new Array(Ne).join(" ")+fe}te.textNode+="<"+fe,te.state=W.TEXT}continue;case W.SGML_DECL:(te.sgmlDecl+fe).toUpperCase()===O?(re(te,"onopencdata"),te.state=W.CDATA,te.sgmlDecl="",te.cdata=""):te.sgmlDecl+fe==="--"?(te.state=W.COMMENT,te.comment="",te.sgmlDecl=""):(te.sgmlDecl+fe).toUpperCase()===S?(te.state=W.DOCTYPE,(te.doctype||te.sawRoot)&&_e(te,"Inappropriately located doctype declaration"),te.doctype="",te.sgmlDecl=""):fe===">"?(re(te,"onsgmldeclaration",te.sgmlDecl),te.sgmlDecl="",te.state=W.TEXT):(B(fe)&&(te.state=W.SGML_DECL_QUOTED),te.sgmlDecl+=fe);continue;case W.SGML_DECL_QUOTED:fe===te.q&&(te.state=W.SGML_DECL,te.q=""),te.sgmlDecl+=fe;continue;case W.DOCTYPE:fe===">"?(te.state=W.TEXT,re(te,"ondoctype",te.doctype),te.doctype=!0):(te.doctype+=fe,fe==="["?te.state=W.DOCTYPE_DTD:B(fe)&&(te.state=W.DOCTYPE_QUOTED,te.q=fe));continue;case W.DOCTYPE_QUOTED:te.doctype+=fe,fe===te.q&&(te.q="",te.state=W.DOCTYPE);continue;case W.DOCTYPE_DTD:te.doctype+=fe,fe==="]"?te.state=W.DOCTYPE:B(fe)&&(te.state=W.DOCTYPE_DTD_QUOTED,te.q=fe);continue;case W.DOCTYPE_DTD_QUOTED:te.doctype+=fe,fe===te.q&&(te.state=W.DOCTYPE_DTD,te.q="");continue;case W.COMMENT:fe==="-"?te.state=W.COMMENT_ENDING:te.comment+=fe;continue;case W.COMMENT_ENDING:fe==="-"?(te.state=W.COMMENT_ENDED,te.comment=we(te.opt,te.comment),te.comment&&re(te,"oncomment",te.comment),te.comment=""):(te.comment+="-"+fe,te.state=W.COMMENT);continue;case W.COMMENT_ENDED:fe!==">"?(_e(te,"Malformed comment"),te.comment+="--"+fe,te.state=W.COMMENT):te.state=W.TEXT;continue;case W.CDATA:fe==="]"?te.state=W.CDATA_ENDING:te.cdata+=fe;continue;case W.CDATA_ENDING:fe==="]"?te.state=W.CDATA_ENDING_2:(te.cdata+="]"+fe,te.state=W.CDATA);continue;case W.CDATA_ENDING_2:fe===">"?(te.cdata&&re(te,"oncdata",te.cdata),re(te,"onclosecdata"),te.cdata="",te.state=W.TEXT):fe==="]"?te.cdata+="]":(te.cdata+="]]"+fe,te.state=W.CDATA);continue;case W.PROC_INST:fe==="?"?te.state=W.PROC_INST_ENDING:Z(fe)?te.state=W.PROC_INST_BODY:te.procInstName+=fe;continue;case W.PROC_INST_BODY:if(!te.procInstBody&&Z(fe))continue;fe==="?"?te.state=W.PROC_INST_ENDING:te.procInstBody+=fe;continue;case W.PROC_INST_ENDING:fe===">"?(re(te,"onprocessinginstruction",{name:te.procInstName,body:te.procInstBody}),te.procInstName=te.procInstBody="",te.state=W.TEXT):(te.procInstBody+="?"+fe,te.state=W.PROC_INST_BODY);continue;case W.OPEN_TAG:z(j,fe)?te.tagName+=fe:(Te(te),fe===">"?je(te):fe==="/"?te.state=W.OPEN_TAG_SLASH:(Z(fe)||_e(te,"Invalid character in tag name"),te.state=W.ATTRIB));continue;case W.OPEN_TAG_SLASH:fe===">"?(je(te,!0),ee(te)):(_e(te,"Forward-slash in opening tag not followed by >"),te.state=W.ATTRIB);continue;case W.ATTRIB:if(Z(fe))continue;fe===">"?je(te):fe==="/"?te.state=W.OPEN_TAG_SLASH:z(F,fe)?(te.attribName=fe,te.attribValue="",te.state=W.ATTRIB_NAME):_e(te,"Invalid attribute name");continue;case W.ATTRIB_NAME:fe==="="?te.state=W.ATTRIB_VALUE:fe===">"?(_e(te,"Attribute without value"),te.attribValue=te.attribName,Ae(te),je(te)):Z(fe)?te.state=W.ATTRIB_NAME_SAW_WHITE:z(j,fe)?te.attribName+=fe:_e(te,"Invalid attribute name");continue;case W.ATTRIB_NAME_SAW_WHITE:if(fe==="=")te.state=W.ATTRIB_VALUE;else{if(Z(fe))continue;_e(te,"Attribute without value"),te.tag.attributes[te.attribName]="",te.attribValue="",re(te,"onattribute",{name:te.attribName,value:""}),te.attribName="",fe===">"?je(te):z(F,fe)?(te.attribName=fe,te.state=W.ATTRIB_NAME):(_e(te,"Invalid attribute name"),te.state=W.ATTRIB)}continue;case W.ATTRIB_VALUE:if(Z(fe))continue;B(fe)?(te.q=fe,te.state=W.ATTRIB_VALUE_QUOTED):(_e(te,"Unquoted attribute value"),te.state=W.ATTRIB_VALUE_UNQUOTED,te.attribValue=fe);continue;case W.ATTRIB_VALUE_QUOTED:if(fe!==te.q){fe==="&"?te.state=W.ATTRIB_VALUE_ENTITY_Q:te.attribValue+=fe;continue}Ae(te),te.q="",te.state=W.ATTRIB_VALUE_CLOSED;continue;case W.ATTRIB_VALUE_CLOSED:Z(fe)?te.state=W.ATTRIB:fe===">"?je(te):fe==="/"?te.state=W.OPEN_TAG_SLASH:z(F,fe)?(_e(te,"No whitespace between attributes"),te.attribName=fe,te.attribValue="",te.state=W.ATTRIB_NAME):_e(te,"Invalid attribute name");continue;case W.ATTRIB_VALUE_UNQUOTED:if(!V(fe)){fe==="&"?te.state=W.ATTRIB_VALUE_ENTITY_U:te.attribValue+=fe;continue}Ae(te),fe===">"?je(te):te.state=W.ATTRIB;continue;case W.CLOSE_TAG:if(te.tagName)fe===">"?ee(te):z(j,fe)?te.tagName+=fe:te.script?(te.script+="</"+te.tagName,te.tagName="",te.state=W.SCRIPT):(Z(fe)||_e(te,"Invalid tagname in closing tag"),te.state=W.CLOSE_TAG_SAW_WHITE);else{if(Z(fe))continue;X(F,fe)?te.script?(te.script+="</"+fe,te.state=W.SCRIPT):_e(te,"Invalid tagname in closing tag."):te.tagName=fe}continue;case W.CLOSE_TAG_SAW_WHITE:if(Z(fe))continue;fe===">"?ee(te):_e(te,"Invalid characters in closing tag");continue;case W.TEXT_ENTITY:case W.ATTRIB_VALUE_ENTITY_Q:case W.ATTRIB_VALUE_ENTITY_U:var de,ve;switch(te.state){case W.TEXT_ENTITY:de=W.TEXT,ve="textNode";break;case W.ATTRIB_VALUE_ENTITY_Q:de=W.ATTRIB_VALUE_QUOTED,ve="attribValue";break;case W.ATTRIB_VALUE_ENTITY_U:de=W.ATTRIB_VALUE_UNQUOTED,ve="attribValue";break}fe===";"?(te[ve]+=he(te),te.entity="",te.state=de):z(te.entity.length?K:k,fe)?te.entity+=fe:(_e(te,"Invalid character in entity name"),te[ve]+="&"+te.entity+fe,te.entity="",te.state=de);continue;default:throw new Error(te,"Unknown state: "+te.state)}}return te.position>=te.bufferCheckPosition&&h(te),te}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */E.default||function(){var G=String.fromCharCode,te=Math.floor,xe=function(){var Be=16384,Ne=[],de,ve,Me=-1,qe=arguments.length;if(!qe)return"";for(var gt="";++Me<qe;){var ht=Number(arguments[Me]);if(!isFinite(ht)||ht<0||ht>1114111||te(ht)!==ht)throw RangeError("Invalid code point: "+ht);ht<=65535?Ne.push(ht):(ht-=65536,de=(ht>>10)+55296,ve=ht%1024+56320,Ne.push(de,ve)),(Me+1===qe||Ne.length>Be)&&(gt+=G.apply(null,Ne),Ne.length=0)}return gt};n.default?Object.defineProperty(String,"fromCodePoint",{value:xe,configurable:!0,writable:!0}):String.fromCodePoint=xe}()})(typeof i=="undefined"?(void 0).sax={}:i)}).call(this,U("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(U,R,i){R.exports=E;var y=U("events").EventEmitter,m=U("inherits");m(E,y),E.Readable=U("readable-stream/readable.js"),E.Writable=U("readable-stream/writable.js"),E.Duplex=U("readable-stream/duplex.js"),E.Transform=U("readable-stream/transform.js"),E.PassThrough=U("readable-stream/passthrough.js"),E.Stream=E;function E(){y.call(this)}E.prototype.pipe=function(p,v){var f=this;function d(c){p.writable&&(p.write(c)===!1&&f.pause&&f.pause())}f.on("data",d);function l(){f.readable&&f.resume&&f.resume()}p.on("drain",l),!p._isStdio&&(!v||v.end!==!1)&&(f.on("end",t),f.on("close",a));var n=!1;function t(){if(n)return;n=!0,p.end()}function a(){if(n)return;n=!0,typeof p.destroy=="function"&&p.destroy()}function s(c){if(r(),y.listenerCount(this,"error")===0)throw c}f.on("error",s),p.on("error",s);function r(){f.removeListener("data",d),p.removeListener("drain",l),f.removeListener("end",t),f.removeListener("close",a),f.removeListener("error",s),p.removeListener("error",s),f.removeListener("end",r),f.removeListener("close",r),p.removeListener("close",r)}return f.on("end",r),f.on("close",r),p.on("close",r),p.emit("pipe",f),p}},{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(U,R,i){(function(y){var m=U("./lib/request"),E=U("./lib/response"),p=U("xtend"),v=U("builtin-status-codes"),f=U("url"),d=i;d.request=function(l,n){typeof l=="string"?l=f.parse(l):l=p(l);var t=y.location.protocol.search(/^https?:$/)===-1?"http:":"",a=l.protocol||t,s=l.hostname||l.host,r=l.port,c=l.path||"/";s&&s.indexOf(":")!==-1&&(s="["+s+"]"),l.url=(s?a+"//"+s:"")+(r?":"+r:"")+c,l.method=(l.method||"GET").toUpperCase(),l.headers=l.headers||{};var e=new m(l);return n&&e.on("response",n),e},d.get=function(n,t){var a=d.request(n,t);return a.end(),a},d.ClientRequest=m,d.IncomingMessage=E.IncomingMessage,d.Agent=function(){},d.Agent.defaultMaxSockets=4,d.globalAgent=new d.Agent,d.STATUS_CODES=v,d.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(U,R,i){(function(y){"use strict";i.fetch=d(y.fetch)&&d(y.ReadableStream),i.writableStream=d(y.WritableStream),i.abortController=d(y.AbortController),i.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),i.blobConstructor=!0}catch(l){}var m;function E(){if(m!==void 0)return m;if(y.XMLHttpRequest){m=new y.XMLHttpRequest;try{m.open("GET",y.XDomainRequest?"/":"https://example.com")}catch(l){m=null}}else m=null;return m}function p(l){var n=E();if(!n)return!1;try{return n.responseType=l,n.responseType===l}catch(t){}return!1}var v=typeof y.ArrayBuffer!="undefined",f=v&&d(y.ArrayBuffer.prototype.slice);i.arraybuffer=i.fetch||v&&p("arraybuffer"),i.msstream=!i.fetch&&f&&p("ms-stream"),i.mozchunkedarraybuffer=!i.fetch&&v&&p("moz-chunked-arraybuffer"),i.overrideMimeType=i.fetch||(E()?d(E().overrideMimeType):!1),i.vbArray=d(y.VBArray);function d(l){return typeof l=="function"}m=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(U,R,i){(function(y,m,E){"use strict";var p=U("babel-runtime/core-js/object/keys"),v=f(p);function f(h){return h&&h.__esModule?h:{default:h}}var d=U("./capability"),l=U("inherits"),n=U("./response"),t=U("readable-stream"),a=U("to-arraybuffer"),s=n.IncomingMessage,r=n.readyStates;function c(h,g){return d.fetch&&g?"fetch":d.mozchunkedarraybuffer?"moz-chunked-arraybuffer":d.msstream?"ms-stream":d.arraybuffer&&h?"arraybuffer":d.vbArray&&h?"text:vbarray":"text"}var e=R.exports=function(h){var g=this;t.Writable.call(g),g._opts=h,g._body=[],g._headers={},h.auth&&g.setHeader("Authorization","Basic "+new E(h.auth).toString("base64")),(0,v.default)(h.headers).forEach(function(x){g.setHeader(x,h.headers[x])});var A,w=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!d.abortController)w=!1,A=!0;else if(h.mode==="prefer-streaming")A=!1;else if(h.mode==="allow-wrong-content-type")A=!d.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")A=!0;else throw new Error("Invalid value for opts.mode");g._mode=c(A,w),g._fetchTimer=null,g.on("finish",function(){g._onFinish()})};l(e,t.Writable),e.prototype.setHeader=function(h,g){var A=this,w=h.toLowerCase();if(u.indexOf(w)!==-1)return;A._headers[w]={name:h,value:g}},e.prototype.getHeader=function(h){var g=this._headers[h.toLowerCase()];return g?g.value:null},e.prototype.removeHeader=function(h){var g=this;delete g._headers[h.toLowerCase()]},e.prototype._onFinish=function(){var h=this;if(h._destroyed)return;var g=h._opts,A=h._headers,w=null;g.method!=="GET"&&g.method!=="HEAD"&&(d.arraybuffer?w=a(E.concat(h._body)):d.blobConstructor?w=new m.Blob(h._body.map(function(_){return a(_)}),{type:(A["content-type"]||{}).value||""}):w=E.concat(h._body).toString());var x=[];if((0,v.default)(A).forEach(function(_){var L=A[_].name,D=A[_].value;Array.isArray(D)?D.forEach(function(F){x.push([L,F])}):x.push([L,D])}),h._mode==="fetch"){var C=null,T=null;if(d.abortController){var O=new AbortController;C=O.signal,h._fetchAbortController=O,"requestTimeout"in g&&g.requestTimeout!==0&&(h._fetchTimer=m.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},g.requestTimeout))}m.fetch(h._opts.url,{method:h._opts.method,headers:x,body:w||void 0,mode:"cors",credentials:g.withCredentials?"include":"same-origin",signal:C}).then(function(_){h._fetchResponse=_,h._connect()},function(_){m.clearTimeout(h._fetchTimer),h._destroyed||h.emit("error",_)})}else{var S=h._xhr=new m.XMLHttpRequest;try{S.open(h._opts.method,h._opts.url,!0)}catch(_){y.nextTick(function(){h.emit("error",_)});return}"responseType"in S&&(S.responseType=h._mode.split(":")[0]),"withCredentials"in S&&(S.withCredentials=!!g.withCredentials),h._mode==="text"&&"overrideMimeType"in S&&S.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in g&&(S.timeout=g.requestTimeout,S.ontimeout=function(){h.emit("requestTimeout")}),x.forEach(function(_){S.setRequestHeader(_[0],_[1])}),h._response=null,S.onreadystatechange=function(){switch(S.readyState){case r.LOADING:case r.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(w)}catch(_){y.nextTick(function(){h.emit("error",_)});return}}};function o(h){try{var g=h.status;return g!==null&&g!==0}catch(A){return!1}}e.prototype._onXHRProgress=function(){var h=this;if(!o(h._xhr)||h._destroyed)return;h._response||h._connect(),h._response._onXHRProgress()},e.prototype._connect=function(){var h=this;if(h._destroyed)return;h._response=new s(h._xhr,h._fetchResponse,h._mode,h._fetchTimer),h._response.on("error",function(g){h.emit("error",g)}),h.emit("response",h._response)},e.prototype._write=function(h,g,A){var w=this;w._body.push(h),A()},e.prototype.abort=e.prototype.destroy=function(){var h=this;h._destroyed=!0,m.clearTimeout(h._fetchTimer),h._response&&(h._response._destroyed=!0),h._xhr?h._xhr.abort():h._fetchAbortController&&h._fetchAbortController.abort()},e.prototype.end=function(h,g,A){var w=this;typeof h=="function"&&(A=h,h=void 0),t.Writable.prototype.end.call(w,h,g,A)},e.prototype.flushHeaders=function(){},e.prototype.setTimeout=function(){},e.prototype.setNoDelay=function(){},e.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,U("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},U("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(U,R,i){(function(y,m,E){"use strict";var p=U("babel-runtime/core-js/promise"),v=f(p);function f(s){return s&&s.__esModule?s:{default:s}}var d=U("./capability"),l=U("inherits"),n=U("readable-stream"),t=i.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},a=i.IncomingMessage=function(s,r,c,e){var o=this;if(n.Readable.call(o),o._mode=c,o.headers={},o.rawHeaders=[],o.trailers={},o.rawTrailers=[],o.on("end",function(){y.nextTick(function(){o.emit("close")})}),c==="fetch"){var u=function C(){g.read().then(function(T){if(o._destroyed)return;if(T.done){m.clearTimeout(e),o.push(null);return}o.push(new E(T.value)),C()}).catch(function(T){m.clearTimeout(e),o._destroyed||o.emit("error",T)})};if(o._fetchResponse=r,o.url=r.url,o.statusCode=r.status,o.statusMessage=r.statusText,r.headers.forEach(function(C,T){o.headers[T.toLowerCase()]=C,o.rawHeaders.push(T,C)}),d.writableStream){var h=new WritableStream({write:function(T){return new v.default(function(O,S){o._destroyed?S():o.push(new E(T))?O():o._resumeFetch=O})},close:function(){m.clearTimeout(e),o._destroyed||o.push(null)},abort:function(T){o._destroyed||o.emit("error",T)}});try{r.body.pipeTo(h).catch(function(C){m.clearTimeout(e),o._destroyed||o.emit("error",C)});return}catch(C){}}var g=r.body.getReader();u()}else{o._xhr=s,o._pos=0,o.url=s.responseURL,o.statusCode=s.status,o.statusMessage=s.statusText;var A=s.getAllResponseHeaders().split(/\r?\n/);if(A.forEach(function(C){var T=C.match(/^([^:]+):\s*(.*)/);if(T){var O=T[1].toLowerCase();O==="set-cookie"?(o.headers[O]===void 0&&(o.headers[O]=[]),o.headers[O].push(T[2])):o.headers[O]!==void 0?o.headers[O]+=", "+T[2]:o.headers[O]=T[2],o.rawHeaders.push(T[1],T[2])}}),o._charset="x-user-defined",!d.overrideMimeType){var w=o.rawHeaders["mime-type"];if(w){var x=w.match(/;\s*charset=([^;])(;|$)/);x&&(o._charset=x[1].toLowerCase())}o._charset||(o._charset="utf-8")}}};l(a,n.Readable),a.prototype._read=function(){var s=this,r=s._resumeFetch;r&&(s._resumeFetch=null,r())},a.prototype._onXHRProgress=function(){var s=this,r=s._xhr,c=null;switch(s._mode){case"text:vbarray":if(r.readyState!==t.DONE)break;try{c=new m.VBArray(r.responseBody).toArray()}catch(g){}if(c!==null){s.push(new E(c));break}case"text":try{c=r.responseText}catch(g){s._mode="text:vbarray";break}if(c.length>s._pos){var e=c.substr(s._pos);if(s._charset==="x-user-defined"){for(var o=new E(e.length),u=0;u<e.length;u++)o[u]=e.charCodeAt(u)&255;s.push(o)}else s.push(e,s._charset);s._pos=c.length}break;case"arraybuffer":if(r.readyState!==t.DONE||!r.response)break;c=r.response,s.push(new E(new Uint8Array(c)));break;case"moz-chunked-arraybuffer":if(c=r.response,r.readyState!==t.LOADING||!c)break;s.push(new E(new Uint8Array(c)));break;case"ms-stream":if(c=r.response,r.readyState!==t.LOADING)break;var h=new m.MSStreamReader;h.onprogress=function(){h.result.byteLength>s._pos&&(s.push(new E(new Uint8Array(h.result.slice(s._pos)))),s._pos=h.result.byteLength)},h.onload=function(){s.push(null)},h.readAsArrayBuffer(c);break}s._xhr.readyState===t.DONE&&s._mode!=="ms-stream"&&s.push(null)}}).call(this,U("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},U("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(U,R,i){"use strict";var y=U("safe-buffer").Buffer,m=y.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 E(h){if(!h)return"utf8";for(var g;;)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(g)return;h=(""+h).toLowerCase(),g=!0}}function p(h){var g=E(h);if(typeof g!="string"&&(y.isEncoding===m||!m(h)))throw new Error("Unknown encoding: "+h);return g||h}i.StringDecoder=v;function v(h){this.encoding=p(h);var g;switch(this.encoding){case"utf16le":this.text=s,this.end=r,g=4;break;case"utf8":this.fillLast=n,g=4;break;case"base64":this.text=c,this.end=e,g=3;break;default:this.write=o,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=y.allocUnsafe(g)}v.prototype.write=function(h){if(h.length===0)return"";var g,A;if(this.lastNeed){if(g=this.fillLast(h),g===void 0)return"";A=this.lastNeed,this.lastNeed=0}else A=0;return A<h.length?g?g+this.text(h,A):this.text(h,A):g||""},v.prototype.end=a,v.prototype.text=t,v.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 f(h){return h<=127?0:h>>5===6?2:h>>4===14?3:h>>3===30?4:h>>6===2?-1:-2}function d(h,g,A){var w=g.length-1;if(w<A)return 0;var x=f(g[w]);return x>=0?(x>0&&(h.lastNeed=x-1),x):--w<A||x===-2?0:(x=f(g[w]),x>=0?(x>0&&(h.lastNeed=x-2),x):--w<A||x===-2?0:(x=f(g[w]),x>=0?(x>0&&(x===2?x=0:h.lastNeed=x-3),x):0))}function l(h,g,A){if((g[0]&192)!==128)return h.lastNeed=0,"\uFFFD";if(h.lastNeed>1&&g.length>1){if((g[1]&192)!==128)return h.lastNeed=1,"\uFFFD";if(h.lastNeed>2&&g.length>2&&(g[2]&192)!==128)return h.lastNeed=2,"\uFFFD"}}function n(h){var g=this.lastTotal-this.lastNeed,A=l(this,h,g);if(A!==void 0)return A;if(this.lastNeed<=h.length)return h.copy(this.lastChar,g,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,g,0,h.length),this.lastNeed-=h.length}function t(h,g){var A=d(this,h,g);if(!this.lastNeed)return h.toString("utf8",g);this.lastTotal=A;var w=h.length-(A-this.lastNeed);return h.copy(this.lastChar,0,w),h.toString("utf8",g,w)}function a(h){var g=h&&h.length?this.write(h):"";return this.lastNeed?g+"\uFFFD":g}function s(h,g){if((h.length-g)%2===0){var A=h.toString("utf16le",g);if(A){var w=A.charCodeAt(A.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],A.slice(0,-1)}return A}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",g,h.length-1)}function r(h){var g=h&&h.length?this.write(h):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return g+this.lastChar.toString("utf16le",0,A)}return g}function c(h,g){var A=(h.length-g)%3;return A===0?h.toString("base64",g):(this.lastNeed=3-A,this.lastTotal=3,A===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",g,h.length-A))}function e(h){var g=h&&h.length?this.write(h):"";return this.lastNeed?g+this.lastChar.toString("base64",0,3-this.lastNeed):g}function o(h){return h.toString(this.encoding)}function u(h){return h&&h.length?this.write(h):""}},{"safe-buffer":228}],236:[function(U,R,i){(function(y,m){var E=U("process/browser.js").nextTick,p=Function.prototype.apply,v=Array.prototype.slice,f={},d=0;i.setTimeout=function(){return new l(p.call(setTimeout,window,arguments),clearTimeout)},i.setInterval=function(){return new l(p.call(setInterval,window,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(n){n.close()};function l(n,t){this._id=n,this._clearFn=t}l.prototype.unref=l.prototype.ref=function(){},l.prototype.close=function(){this._clearFn.call(window,this._id)},i.enroll=function(n,t){clearTimeout(n._idleTimeoutId),n._idleTimeout=t},i.unenroll=function(n){clearTimeout(n._idleTimeoutId),n._idleTimeout=-1},i._unrefActive=i.active=function(n){clearTimeout(n._idleTimeoutId);var t=n._idleTimeout;t>=0&&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},t))},i.setImmediate=typeof y=="function"?y:function(n){var t=d++,a=arguments.length<2?!1:v.call(arguments,1);return f[t]=!0,E(function(){f[t]&&(a?n.apply(null,a):n.call(null),i.clearImmediate(t))}),t},i.clearImmediate=typeof m=="function"?m:function(n){delete f[n]}}).call(this,U("timers").setImmediate,U("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(U,R,i){var y=U("buffer").Buffer;R.exports=function(m){if(m instanceof Uint8Array){if(m.byteOffset===0&&m.byteLength===m.buffer.byteLength)return m.buffer;if(typeof m.buffer.slice=="function")return m.buffer.slice(m.byteOffset,m.byteOffset+m.byteLength)}if(y.isBuffer(m)){for(var E=new Uint8Array(m.length),p=m.length,v=0;v<p;v++)E[v]=m[v];return E.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(U,R,i){"use strict";var y=U("punycode"),m=U("./util");i.parse=g,i.resolve=w,i.resolveObject=x,i.format=A,i.Url=E;function E(){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 p=/^([a-z0-9.+-]+:)/i,v=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],l=["{","}","|","\\","^","`"].concat(d),n=["'"].concat(l),t=["%","/","?",";","#"].concat(n),a=["/","?","#"],s=255,r=/^[+a-z0-9A-Z_-]{0,63}$/,c=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,e={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=U("querystring");function g(C,T,O){if(C&&m.isObject(C)&&C instanceof E)return C;var S=new E;return S.parse(C,T,O),S}E.prototype.parse=function(C,T,O){if(!m.isString(C))throw new TypeError("Parameter 'url' must be a string, not "+typeof C);var S=C.indexOf("?"),_=S!==-1&&S<C.indexOf("#")?"?":"#",L=C.split(_),D=/\\/g;L[0]=L[0].replace(D,"/"),C=L.join(_);var F=C;if(F=F.trim(),!O&&C.split("#").length===1){var j=f.exec(F);if(j)return this.path=F,this.href=F,this.pathname=j[1],j[2]?(this.search=j[2],T?this.query=h.parse(this.search.substr(1)):this.query=this.search.substr(1)):T&&(this.search="",this.query={}),this}var k=p.exec(F);if(k){k=k[0];var K=k.toLowerCase();this.protocol=K,F=F.substr(k.length)}if(O||k||F.match(/^\/\/[^@\/]+@[^@\/]+/)){var Z=F.substr(0,2)==="//";Z&&!(k&&o[k])&&(F=F.substr(2),this.slashes=!0)}if(!o[k]&&(Z||k&&!u[k])){for(var B=-1,V=0;V<a.length;V++){var z=F.indexOf(a[V]);z!==-1&&(B===-1||z<B)&&(B=z)}var X,W;B===-1?W=F.lastIndexOf("@"):W=F.lastIndexOf("@",B),W!==-1&&(X=F.slice(0,W),F=F.slice(W+1),this.auth=decodeURIComponent(X)),B=-1;for(var V=0;V<t.length;V++){var z=F.indexOf(t[V]);z!==-1&&(B===-1||z<B)&&(B=z)}B===-1&&(B=F.length),this.host=F.slice(0,B),F=F.slice(B),this.parseHost(),this.hostname=this.hostname||"";var q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!q)for(var Y=this.hostname.split(/\./),V=0,re=Y.length;V<re;V++){var ne=Y[V];if(!ne)continue;if(!ne.match(r)){for(var we="",ie=0,me=ne.length;ie<me;ie++)ne.charCodeAt(ie)>127?we+="x":we+=ne[ie];if(!we.match(r)){var _e=Y.slice(0,V),Te=Y.slice(V+1),We=ne.match(c);We&&(_e.push(We[1]),Te.unshift(We[2])),Te.length&&(F="/"+Te.join(".")+F),this.hostname=_e.join(".");break}}}this.hostname.length>s?this.hostname="":this.hostname=this.hostname.toLowerCase(),q||(this.hostname=y.toASCII(this.hostname));var Ae=this.port?":"+this.port:"",je=this.hostname||"";this.host=je+Ae,this.href+=this.host,q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),F[0]!=="/"&&(F="/"+F))}if(!e[K])for(var V=0,re=n.length;V<re;V++){var ee=n[V];if(F.indexOf(ee)===-1)continue;var he=encodeURIComponent(ee);he===ee&&(he=escape(ee)),F=F.split(ee).join(he)}var Ze=F.indexOf("#");Ze!==-1&&(this.hash=F.substr(Ze),F=F.slice(0,Ze));var oe=F.indexOf("?");if(oe!==-1?(this.search=F.substr(oe),this.query=F.substr(oe+1),T&&(this.query=h.parse(this.query)),F=F.slice(0,oe)):T&&(this.search="",this.query={}),F&&(this.pathname=F),u[K]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ae=this.pathname||"",Q=this.search||"";this.path=Ae+Q}return this.href=this.format(),this};function A(C){return m.isString(C)&&(C=g(C)),C instanceof E?C.format():E.prototype.format.call(C)}E.prototype.format=function(){var C=this.auth||"";C&&(C=encodeURIComponent(C),C=C.replace(/%3A/i,":"),C+="@");var T=this.protocol||"",O=this.pathname||"",S=this.hash||"",_=!1,L="";this.host?_=C+this.host:this.hostname&&(_=C+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(_+=":"+this.port)),this.query&&m.isObject(this.query)&&Object.keys(this.query).length&&(L=h.stringify(this.query));var D=this.search||L&&"?"+L||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||u[T])&&_!==!1?(_="//"+(_||""),O&&O.charAt(0)!=="/"&&(O="/"+O)):_||(_=""),S&&S.charAt(0)!=="#"&&(S="#"+S),D&&D.charAt(0)!=="?"&&(D="?"+D),O=O.replace(/[?#]/g,function(F){return encodeURIComponent(F)}),D=D.replace("#","%23"),T+_+O+D+S};function w(C,T){return g(C,!1,!0).resolve(T)}E.prototype.resolve=function(C){return this.resolveObject(g(C,!1,!0)).format()};function x(C,T){return C?g(C,!1,!0).resolveObject(T):T}E.prototype.resolveObject=function(C){if(m.isString(C)){var T=new E;T.parse(C,!1,!0),C=T}for(var O=new E,S=Object.keys(this),_=0;_<S.length;_++){var L=S[_];O[L]=this[L]}if(O.hash=C.hash,C.href==="")return O.href=O.format(),O;if(C.slashes&&!C.protocol){for(var D=Object.keys(C),F=0;F<D.length;F++){var j=D[F];j!=="protocol"&&(O[j]=C[j])}return u[O.protocol]&&O.hostname&&!O.pathname&&(O.path=O.pathname="/"),O.href=O.format(),O}if(C.protocol&&C.protocol!==O.protocol){if(!u[C.protocol]){for(var k=Object.keys(C),K=0;K<k.length;K++){var Z=k[K];O[Z]=C[Z]}return O.href=O.format(),O}if(O.protocol=C.protocol,!C.host&&!o[C.protocol]){for(var re=(C.pathname||"").split("/");re.length&&!(C.host=re.shift()););C.host||(C.host=""),C.hostname||(C.hostname=""),re[0]!==""&&re.unshift(""),re.length<2&&re.unshift(""),O.pathname=re.join("/")}else O.pathname=C.pathname;if(O.search=C.search,O.query=C.query,O.host=C.host||"",O.auth=C.auth,O.hostname=C.hostname||C.host,O.port=C.port,O.pathname||O.search){var B=O.pathname||"",V=O.search||"";O.path=B+V}return O.slashes=O.slashes||C.slashes,O.href=O.format(),O}var z=O.pathname&&O.pathname.charAt(0)==="/",X=C.host||C.pathname&&C.pathname.charAt(0)==="/",W=X||z||O.host&&C.pathname,q=W,Y=O.pathname&&O.pathname.split("/")||[],re=C.pathname&&C.pathname.split("/")||[],ne=O.protocol&&!u[O.protocol];if(ne&&(O.hostname="",O.port=null,O.host&&(Y[0]===""?Y[0]=O.host:Y.unshift(O.host)),O.host="",C.protocol&&(C.hostname=null,C.port=null,C.host&&(re[0]===""?re[0]=C.host:re.unshift(C.host)),C.host=null),W=W&&(re[0]===""||Y[0]==="")),X)O.host=C.host||C.host===""?C.host:O.host,O.hostname=C.hostname||C.hostname===""?C.hostname:O.hostname,O.search=C.search,O.query=C.query,Y=re;else if(re.length)Y||(Y=[]),Y.pop(),Y=Y.concat(re),O.search=C.search,O.query=C.query;else if(!m.isNullOrUndefined(C.search)){if(ne){O.hostname=O.host=Y.shift();var we=O.host&&O.host.indexOf("@")>0?O.host.split("@"):!1;we&&(O.auth=we.shift(),O.host=O.hostname=we.shift())}return O.search=C.search,O.query=C.query,(!m.isNull(O.pathname)||!m.isNull(O.search))&&(O.path=(O.pathname?O.pathname:"")+(O.search?O.search:"")),O.href=O.format(),O}if(!Y.length)return O.pathname=null,O.search?O.path="/"+O.search:O.path=null,O.href=O.format(),O;for(var ie=Y.slice(-1)[0],me=(O.host||C.host||Y.length>1)&&(ie==="."||ie==="..")||ie==="",_e=0,Te=Y.length;Te>=0;Te--)ie=Y[Te],ie==="."?Y.splice(Te,1):ie===".."?(Y.splice(Te,1),_e++):_e&&(Y.splice(Te,1),_e--);if(!W&&!q)for(;_e--;_e)Y.unshift("..");W&&Y[0]!==""&&(!Y[0]||Y[0].charAt(0)!=="/")&&Y.unshift(""),me&&Y.join("/").substr(-1)!=="/"&&Y.push("");var We=Y[0]===""||Y[0]&&Y[0].charAt(0)==="/";if(ne){O.hostname=O.host=We?"":Y.length?Y.shift():"";var we=O.host&&O.host.indexOf("@")>0?O.host.split("@"):!1;we&&(O.auth=we.shift(),O.host=O.hostname=we.shift())}return W=W||O.host&&Y.length,W&&!We&&Y.unshift(""),Y.length?O.pathname=Y.join("/"):(O.pathname=null,O.path=null),(!m.isNull(O.pathname)||!m.isNull(O.search))&&(O.path=(O.pathname?O.pathname:"")+(O.search?O.search:"")),O.auth=C.auth||O.auth,O.slashes=O.slashes||C.slashes,O.href=O.format(),O},E.prototype.parseHost=function(){var C=this.host,T=v.exec(C);T&&(T=T[0],T!==":"&&(this.port=T.substr(1)),C=C.substr(0,C.length-T.length)),C&&(this.hostname=C)}},{"./util":239,punycode:209,querystring:212}],239:[function(U,R,i){"use strict";R.exports={isString:function(m){return typeof m=="string"},isObject:function(m){return typeof m=="object"&&m!==null},isNull:function(m){return m===null},isNullOrUndefined:function(m){return m==null}}},{}],240:[function(U,R,i){(function(y){R.exports=m;function m(p,v){if(E("noDeprecation"))return p;var f=!1;function d(){if(!f){if(E("throwDeprecation"))throw new Error(v);E("traceDeprecation")?console.trace(v):console.warn(v),f=!0}return p.apply(this,arguments)}return d}function E(p){try{if(!y.localStorage)return!1}catch(f){return!1}var v=y.localStorage[p];return v==null?!1:String(v).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(U,R,i){typeof Object.create=="function"?R.exports=function(m,E){m.super_=E,m.prototype=Object.create(E.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}})}:R.exports=function(m,E){m.super_=E;var p=function(){};p.prototype=E.prototype,m.prototype=new p,m.prototype.constructor=m}},{}],242:[function(U,R,i){R.exports=function(m){return m&&typeof m=="object"&&typeof m.copy=="function"&&typeof m.fill=="function"&&typeof m.readUInt8=="function"}},{}],243:[function(U,R,i){(function(y,m){var E=/%[sdj%]/g;i.format=function(B){if(!w(B)){for(var V=[],z=0;z<arguments.length;z++)V.push(f(arguments[z]));return V.join(" ")}for(var z=1,X=arguments,W=X.length,q=String(B).replace(E,function(re){if(re==="%%")return"%";if(z>=W)return re;switch(re){case"%s":return String(X[z++]);case"%d":return Number(X[z++]);case"%j":try{return JSON.stringify(X[z++])}catch(ne){return"[Circular]"}default:return re}}),Y=X[z];z<W;Y=X[++z])h(Y)||!O(Y)?q+=" "+Y:q+=" "+f(Y);return q},i.deprecate=function(B,V){if(C(m.process))return function(){return i.deprecate(B,V).apply(this,arguments)};if(y.noDeprecation===!0)return B;var z=!1;function X(){if(!z){if(y.throwDeprecation)throw new Error(V);y.traceDeprecation?console.trace(V):console.error(V),z=!0}return B.apply(this,arguments)}return X};var p={},v;i.debuglog=function(B){if(C(v)&&(v=y.env.NODE_DEBUG||""),B=B.toUpperCase(),!p[B])if(new RegExp("\\b"+B+"\\b","i").test(v)){var V=y.pid;p[B]=function(){var z=i.format.apply(i,arguments);console.error("%s %d: %s",B,V,z)}}else p[B]=function(){};return p[B]};function f(B,V){var z={seen:[],stylize:l};return arguments.length>=3&&(z.depth=arguments[2]),arguments.length>=4&&(z.colors=arguments[3]),u(V)?z.showHidden=V:V&&i._extend(z,V),C(z.showHidden)&&(z.showHidden=!1),C(z.depth)&&(z.depth=2),C(z.colors)&&(z.colors=!1),C(z.customInspect)&&(z.customInspect=!0),z.colors&&(z.stylize=d),t(z,B,z.depth)}i.inspect=f,f.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]},f.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function d(B,V){var z=f.styles[V];return z?"["+f.colors[z][0]+"m"+B+"["+f.colors[z][1]+"m":B}function l(B,V){return B}function n(B){var V={};return B.forEach(function(z,X){V[z]=!0}),V}function t(B,V,z){if(B.customInspect&&V&&L(V.inspect)&&V.inspect!==i.inspect&&!(V.constructor&&V.constructor.prototype===V)){var X=V.inspect(z,B);return w(X)||(X=t(B,X,z)),X}var W=a(B,V);if(W)return W;var q=Object.keys(V),Y=n(q);if(B.showHidden&&(q=Object.getOwnPropertyNames(V)),_(V)&&(q.indexOf("message")>=0||q.indexOf("description")>=0))return s(V);if(q.length===0){if(L(V)){var re=V.name?": "+V.name:"";return B.stylize("[Function"+re+"]","special")}if(T(V))return B.stylize(RegExp.prototype.toString.call(V),"regexp");if(S(V))return B.stylize(Date.prototype.toString.call(V),"date");if(_(V))return s(V)}var ne="",we=!1,ie=["{","}"];if(o(V)&&(we=!0,ie=["[","]"]),L(V)){var me=V.name?": "+V.name:"";ne=" [Function"+me+"]"}if(T(V)&&(ne=" "+RegExp.prototype.toString.call(V)),S(V)&&(ne=" "+Date.prototype.toUTCString.call(V)),_(V)&&(ne=" "+s(V)),q.length===0&&(!we||V.length==0))return ie[0]+ne+ie[1];if(z<0)return T(V)?B.stylize(RegExp.prototype.toString.call(V),"regexp"):B.stylize("[Object]","special");B.seen.push(V);var _e;return we?_e=r(B,V,z,Y,q):_e=q.map(function(Te){return c(B,V,z,Y,Te,we)}),B.seen.pop(),e(_e,ne,ie)}function a(B,V){if(C(V))return B.stylize("undefined","undefined");if(w(V)){var z="'"+JSON.stringify(V).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return B.stylize(z,"string")}if(A(V))return B.stylize(""+V,"number");if(u(V))return B.stylize(""+V,"boolean");if(h(V))return B.stylize("null","null")}function s(B){return"["+Error.prototype.toString.call(B)+"]"}function r(B,V,z,X,W){for(var q=[],Y=0,re=V.length;Y<re;++Y)Z(V,String(Y))?q.push(c(B,V,z,X,String(Y),!0)):q.push("");return W.forEach(function(ne){ne.match(/^\d+$/)||q.push(c(B,V,z,X,ne,!0))}),q}function c(B,V,z,X,W,q){var Y,re,ne;if(ne=Object.getOwnPropertyDescriptor(V,W)||{value:V[W]},ne.get?ne.set?re=B.stylize("[Getter/Setter]","special"):re=B.stylize("[Getter]","special"):ne.set&&(re=B.stylize("[Setter]","special")),Z(X,W)||(Y="["+W+"]"),re||(B.seen.indexOf(ne.value)<0?(h(z)?re=t(B,ne.value,null):re=t(B,ne.value,z-1),re.indexOf(`
|
|
|
`)>-1&&(q?re=re.split(`
|
|
|
`).map(function(we){return" "+we}).join(`
|
|
|
`).substr(2):re=`
|
|
|
`+re.split(`
|
|
|
`).map(function(we){return" "+we}).join(`
|
|
|
`))):re=B.stylize("[Circular]","special")),C(Y)){if(q&&W.match(/^\d+$/))return re;Y=JSON.stringify(""+W),Y.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Y=Y.substr(1,Y.length-2),Y=B.stylize(Y,"name")):(Y=Y.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Y=B.stylize(Y,"string"))}return Y+": "+re}function e(B,V,z){var X=0,W=B.reduce(function(q,Y){return X++,Y.indexOf(`
|
|
|
`)>=0&&X++,q+Y.replace(/\u001b\[\d\d?m/g,"").length+1},0);return W>60?z[0]+(V===""?"":V+`
|
|
|
`)+" "+B.join(`,
|
|
|
`)+" "+z[1]:z[0]+V+" "+B.join(", ")+" "+z[1]}function o(B){return Array.isArray(B)}i.isArray=o;function u(B){return typeof B=="boolean"}i.isBoolean=u;function h(B){return B===null}i.isNull=h;function g(B){return B==null}i.isNullOrUndefined=g;function A(B){return typeof B=="number"}i.isNumber=A;function w(B){return typeof B=="string"}i.isString=w;function x(B){return typeof B=="symbol"}i.isSymbol=x;function C(B){return B===void 0}i.isUndefined=C;function T(B){return O(B)&&F(B)==="[object RegExp]"}i.isRegExp=T;function O(B){return typeof B=="object"&&B!==null}i.isObject=O;function S(B){return O(B)&&F(B)==="[object Date]"}i.isDate=S;function _(B){return O(B)&&(F(B)==="[object Error]"||B instanceof Error)}i.isError=_;function L(B){return typeof B=="function"}i.isFunction=L;function D(B){return B===null||typeof B=="boolean"||typeof B=="number"||typeof B=="string"||typeof B=="symbol"||typeof B=="undefined"}i.isPrimitive=D,i.isBuffer=U("./support/isBuffer");function F(B){return Object.prototype.toString.call(B)}function j(B){return B<10?"0"+B.toString(10):B.toString(10)}var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function K(){var B=new Date,V=[j(B.getHours()),j(B.getMinutes()),j(B.getSeconds())].join(":");return[B.getDate(),k[B.getMonth()],V].join(" ")}i.log=function(){console.log("%s - %s",K(),i.format.apply(i,arguments))},i.inherits=U("inherits"),i._extend=function(B,V){if(!V||!O(V))return B;for(var z=Object.keys(V),X=z.length;X--;)B[z[X]]=V[z[X]];return B};function Z(B,V){return Object.prototype.hasOwnProperty.call(B,V)}}).call(this,U("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(U,R,i){"use strict";(function(){"use strict";i.stripBOM=function(y){return y[0]==="\uFEFF"?y.substring(1):y}}).call(void 0)},{}],245:[function(U,R,i){"use strict";var y=U("babel-runtime/helpers/typeof"),m=v(y),E=U("babel-runtime/core-js/object/keys"),p=v(E);function v(f){return f&&f.__esModule?f:{default:f}}(function(){"use strict";var f,d,l,n,t,a={}.hasOwnProperty;f=U("xmlbuilder"),d=U("./defaults").defaults,n=function(r){return typeof r=="string"&&(r.indexOf("&")>=0||r.indexOf(">")>=0||r.indexOf("<")>=0)},t=function(r){return"<![CDATA["+l(r)+"]]>"},l=function(r){return r.replace("]]>","]]]]><![CDATA[>")},i.Builder=function(){function s(r){var c,e,o;this.options={},e=d["0.2"];for(c in e){if(!a.call(e,c))continue;o=e[c],this.options[c]=o}for(c in r){if(!a.call(r,c))continue;o=r[c],this.options[c]=o}}return s.prototype.buildObject=function(r){var c,e,o,u,h;return c=this.options.attrkey,e=this.options.charkey,(0,p.default)(r).length===1&&this.options.rootName===d["0.2"].rootName?(h=(0,p.default)(r)[0],r=r[h]):h=this.options.rootName,o=function(g){return function(A,w){var x,C,T,O,S,_;if((typeof w=="undefined"?"undefined":(0,m.default)(w))!=="object")g.options.cdata&&n(w)?A.raw(t(w)):A.txt(w);else if(Array.isArray(w))for(O in w){if(!a.call(w,O))continue;C=w[O];for(S in C)T=C[S],A=o(A.ele(S),T).up()}else for(S in w){if(!a.call(w,S))continue;if(C=w[S],S===c){if((typeof C=="undefined"?"undefined":(0,m.default)(C))==="object")for(x in C)_=C[x],A=A.att(x,_)}else if(S===e)g.options.cdata&&n(C)?A=A.raw(t(C)):A=A.txt(C);else if(Array.isArray(C))for(O in C){if(!a.call(C,O))continue;T=C[O],typeof T=="string"?g.options.cdata&&n(T)?A=A.ele(S).raw(t(T)).up():A=A.ele(S,T).up():A=o(A.ele(S),T).up()}else(typeof C=="undefined"?"undefined":(0,m.default)(C))==="object"?A=o(A.ele(S),C).up():typeof C=="string"&&g.options.cdata&&n(C)?A=A.ele(S).raw(t(C)).up():(C==null&&(C=""),A=A.ele(S,C.toString()).up())}return A}}(this),u=f.create(h,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),o(u,r).end(this.options.renderOpts)},s}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(U,R,i){"use strict";(function(){i.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(U,R,i){"use strict";var y=U("babel-runtime/core-js/promise"),m=n(y),E=U("babel-runtime/core-js/object/get-own-property-names"),p=n(E),v=U("babel-runtime/core-js/object/keys"),f=n(v),d=U("babel-runtime/helpers/typeof"),l=n(d);function n(t){return t&&t.__esModule?t:{default:t}}(function(){"use strict";var t,a,s,r,c,e,o,u,h=function(x,C){return function(){return x.apply(C,arguments)}},g=function(x,C){for(var T in C)A.call(C,T)&&(x[T]=C[T]);function O(){this.constructor=x}return O.prototype=C.prototype,x.prototype=new O,x.__super__=C.prototype,x},A={}.hasOwnProperty;o=U("sax"),s=U("events"),t=U("./bom"),e=U("./processors"),u=U("timers").setImmediate,a=U("./defaults").defaults,r=function(x){return(typeof x=="undefined"?"undefined":(0,l.default)(x))==="object"&&x!=null&&(0,f.default)(x).length===0},c=function(x,C,T){var O,S,_;for(O=0,S=x.length;O<S;O++)_=x[O],C=_(C,T);return C},i.Parser=function(w){g(x,w);function x(C){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 T,O,S;if(!(this instanceof i.Parser))return new i.Parser(C);this.options={},O=a["0.2"];for(T in O){if(!A.call(O,T))continue;S=O[T],this.options[T]=S}for(T in C){if(!A.call(C,T))continue;S=C[T],this.options[T]=S}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(e.normalize)),this.reset()}return x.prototype.processAsync=function(){var C,T;try{return this.remaining.length<=this.options.chunkSize?(C=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(C),this.saxParser.close()):(C=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(C),u(this.processAsync))}catch(O){if(T=O,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(T)}},x.prototype.assignOrPush=function(C,T,O){return T in C?(C[T]instanceof Array||(C[T]=[C[T]]),C[T].push(O)):this.options.explicitArray?C[T]=[O]:C[T]=O},x.prototype.reset=function(){var C,T,O,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(_){return function(L){if(_.saxParser.resume(),!_.saxParser.errThrown)return _.saxParser.errThrown=!0,_.emit("error",L)}}(this),this.saxParser.onend=function(_){return function(){if(!_.saxParser.ended)return _.saxParser.ended=!0,_.emit("end",_.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,S=[],C=this.options.attrkey,T=this.options.charkey,this.saxParser.onopentag=function(_){return function(L){var D,F,j,k,K;if(j={},j[T]="",!_.options.ignoreAttrs){K=L.attributes;for(D in K){if(!A.call(K,D))continue;!(C in j)&&!_.options.mergeAttrs&&(j[C]={}),F=_.options.attrValueProcessors?c(_.options.attrValueProcessors,L.attributes[D],D):L.attributes[D],k=_.options.attrNameProcessors?c(_.options.attrNameProcessors,D):D,_.options.mergeAttrs?_.assignOrPush(j,k,F):j[C][k]=F}}return j["#name"]=_.options.tagNameProcessors?c(_.options.tagNameProcessors,L.name):L.name,_.options.xmlns&&(j[_.options.xmlnskey]={uri:L.uri,local:L.local}),S.push(j)}}(this),this.saxParser.onclosetag=function(_){return function(){var L,D,F,j,k,K,Z,B,V,z;if(K=S.pop(),k=K["#name"],(!_.options.explicitChildren||!_.options.preserveChildrenOrder)&&delete K["#name"],K.cdata===!0&&(L=K.cdata,delete K.cdata),V=S[S.length-1],K[T].match(/^\s*$/)&&!L?(D=K[T],delete K[T]):(_.options.trim&&(K[T]=K[T].trim()),_.options.normalize&&(K[T]=K[T].replace(/\s{2,}/g," ").trim()),K[T]=_.options.valueProcessors?c(_.options.valueProcessors,K[T],k):K[T],(0,f.default)(K).length===1&&T in K&&!_.EXPLICIT_CHARKEY&&(K=K[T])),r(K)&&(K=_.options.emptyTag!==""?_.options.emptyTag:D),_.options.validator!=null&&(z="/"+function(){var X,W,q;for(q=[],X=0,W=S.length;X<W;X++)j=S[X],q.push(j["#name"]);return q}().concat(k).join("/"),function(){var X;try{return K=_.options.validator(z,V&&V[k],K)}catch(W){return X=W,_.emit("error",X)}}()),_.options.explicitChildren&&!_.options.mergeAttrs&&(typeof K=="undefined"?"undefined":(0,l.default)(K))==="object"){if(!_.options.preserveChildrenOrder)j={},_.options.attrkey in K&&(j[_.options.attrkey]=K[_.options.attrkey],delete K[_.options.attrkey]),!_.options.charsAsChildren&&_.options.charkey in K&&(j[_.options.charkey]=K[_.options.charkey],delete K[_.options.charkey]),(0,p.default)(K).length>0&&(j[_.options.childkey]=K),K=j;else if(V){V[_.options.childkey]=V[_.options.childkey]||[],Z={};for(F in K){if(!A.call(K,F))continue;Z[F]=K[F]}V[_.options.childkey].push(Z),delete K["#name"],(0,f.default)(K).length===1&&T in K&&!_.EXPLICIT_CHARKEY&&(K=K[T])}}return S.length>0?_.assignOrPush(V,k,K):(_.options.explicitRoot&&(B=K,K={},K[k]=B),_.resultObject=K,_.saxParser.ended=!0,_.emit("end",_.resultObject))}}(this),O=function(_){return function(L){var D,F;if(F=S[S.length-1],F)return F[T]+=L,_.options.explicitChildren&&_.options.preserveChildrenOrder&&_.options.charsAsChildren&&(_.options.includeWhiteChars||L.replace(/\\n/g,"").trim()!=="")&&(F[_.options.childkey]=F[_.options.childkey]||[],D={"#name":"__text__"},D[T]=L,_.options.normalize&&(D[T]=D[T].replace(/\s{2,}/g," ").trim()),F[_.options.childkey].push(D)),F}}(this),this.saxParser.ontext=O,this.saxParser.oncdata=function(_){return function(L){var D;if(D=O(L),D)return D.cdata=!0}}(this)},x.prototype.parseString=function(C,T){var O;T!=null&&typeof T=="function"&&(this.on("end",function(S){return this.reset(),T(null,S)}),this.on("error",function(S){return this.reset(),T(S)}));try{return C=C.toString(),C.trim()===""?(this.emit("end",null),!0):(C=t.stripBOM(C),this.options.async?(this.remaining=C,u(this.processAsync),this.saxParser):this.saxParser.write(C).close())}catch(S){if(O=S,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw O}else return this.emit("error",O),this.saxParser.errThrown=!0}},x.prototype.parseStringPromise=function(C){return new m.default(function(T){return function(O,S){return T.parseString(C,function(_,L){return _?S(_):O(L)})}}(this))},x}(s),i.parseString=function(w,x,C){var T,O,S;return C!=null?(typeof C=="function"&&(T=C),(typeof x=="undefined"?"undefined":(0,l.default)(x))==="object"&&(O=x)):(typeof x=="function"&&(T=x),O={}),S=new i.Parser(O),S.parseString(w,T)},i.parseStringPromise=function(w,x){var C,T;return(typeof x=="undefined"?"undefined":(0,l.default)(x))==="object"&&(C=x),T=new i.Parser(C),T.parseStringPromise(w)}}).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(U,R,i){"use strict";(function(){"use strict";var y;y=new RegExp(/(?!xmlns)^.*:/),i.normalize=function(m){return m.toLowerCase()},i.firstCharLowerCase=function(m){return m.charAt(0).toLowerCase()+m.slice(1)},i.stripPrefix=function(m){return m.replace(y,"")},i.parseNumbers=function(m){return isNaN(m)||(m=m%1===0?parseInt(m,10):parseFloat(m)),m},i.parseBooleans=function(m){return/^(?:true|false)$/i.test(m)&&(m=m.toLowerCase()==="true"),m}}).call(void 0)},{}],249:[function(U,R,i){"use strict";(function(){"use strict";var y,m,E,p,v=function(l,n){for(var t in n)f.call(n,t)&&(l[t]=n[t]);function a(){this.constructor=l}return a.prototype=n.prototype,l.prototype=new a,l.__super__=n.prototype,l},f={}.hasOwnProperty;m=U("./defaults"),y=U("./builder"),E=U("./parser"),p=U("./processors"),i.defaults=m.defaults,i.processors=p,i.ValidationError=function(d){v(l,d);function l(n){this.message=n}return l}(Error),i.Builder=y.Builder,i.Parser=E.Parser,i.parseString=E.parseString,i.parseStringPromise=E.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(U,R,i){"use strict";(function(){R.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(U,R,i){"use strict";(function(){R.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(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/get-prototype-of"),m=d(y),E=U("babel-runtime/helpers/typeof"),p=d(E),v=U("babel-runtime/core-js/object/assign"),f=d(v);function d(l){return l&&l.__esModule?l:{default:l}}(function(){var l,n,t,a,s,r,c,e=[].slice,o={}.hasOwnProperty;l=function(){var h,g,A,w,x,C;if(C=arguments[0],x=2<=arguments.length?e.call(arguments,1):[],s(f.default))f.default.apply(null,arguments);else for(h=0,A=x.length;h<A;h++)if(w=x[h],w!=null)for(g in w){if(!o.call(w,g))continue;C[g]=w[g]}return C},s=function(h){return!!h&&Object.prototype.toString.call(h)==="[object Function]"},r=function(h){var g;return!!h&&((g=typeof h=="undefined"?"undefined":(0,p.default)(h))==="function"||g==="object")},t=function(h){return s(Array.isArray)?Array.isArray(h):Object.prototype.toString.call(h)==="[object Array]"},a=function(h){var g;if(t(h))return!h.length;for(g in h){if(!o.call(h,g))continue;return!1}return!0},c=function(h){var g,A;return r(h)&&(A=(0,m.default)(h))&&(g=A.constructor)&&typeof g=="function"&&g instanceof g&&Function.prototype.toString.call(g)===Function.prototype.toString.call(Object)},n=function(h){return s(h.valueOf)?h.valueOf():h},R.exports.assign=l,R.exports.isFunction=s,R.exports.isObject=r,R.exports.isArray=t,R.exports.isEmpty=a,R.exports.isPlainObject=c,R.exports.getValue=n}).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(U,R,i){"use strict";(function(){R.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f;p=U("./NodeType"),f=U("./XMLNode"),R.exports=v=function(){function d(l,n,t){if(this.parent=l,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(t),this.type=p.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(d.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(d.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(d.prototype,"textContent",{get:function(){return this.value},set:function(n){return this.value=n||""}}),Object.defineProperty(d.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(d.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(d.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(d.prototype,"specified",{get:function(){return!0}}),d.prototype.clone=function(){return(0,m.default)(this)},d.prototype.toString=function(l){return this.options.writer.attribute(this,this.options.writer.filterOptions(l))},d.prototype.debugInfo=function(l){return l=l||this.name,l==null?"parent: <"+this.parent.name+">":"attribute: {"+l+"}, parent: <"+this.parent.name+">"},d.prototype.isEqualNode=function(l){return l.namespaceURI!==this.namespaceURI||(l.prefix!==this.prefix||l.localName!==this.localName)?!1:!(l.value!==this.value)},d}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var s in a)l.call(a,s)&&(t[s]=a[s]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=U("./NodeType"),f=U("./XMLCharacterData"),R.exports=v=function(n){d(t,n);function t(a,s){if(t.__super__.constructor.call(this,a),s==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=p.CData,this.value=this.stringify.cdata(s)}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.cdata(this,this.options.writer.filterOptions(a))},t}(f)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f=function(n,t){for(var a in t)d.call(t,a)&&(n[a]=t[a]);function s(){this.constructor=n}return s.prototype=t.prototype,n.prototype=new s,n.__super__=t.prototype,n},d={}.hasOwnProperty;v=U("./XMLNode"),R.exports=p=function(l){f(n,l);function n(t){n.__super__.constructor.call(this,t),this.value=""}return Object.defineProperty(n.prototype,"data",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(n.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(n.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),n.prototype.clone=function(){return(0,m.default)(this)},n.prototype.substringData=function(t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.appendData=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.insertData=function(t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.deleteData=function(t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.replaceData=function(t,a,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.isEqualNode=function(t){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)?!(t.data!==this.data):!1},n}(v)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var s in a)l.call(a,s)&&(t[s]=a[s]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=U("./NodeType"),v=U("./XMLCharacterData"),R.exports=f=function(n){d(t,n);function t(a,s){if(t.__super__.constructor.call(this,a),s==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=p.Comment,this.value=this.stringify.comment(s)}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.comment(this,this.options.writer.filterOptions(a))},t}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/keys"),m=v(y),E=U("babel-runtime/core-js/object/create"),p=v(E);function v(f){return f&&f.__esModule?f:{default:f}}(function(){var f,d,l;d=U("./XMLDOMErrorHandler"),l=U("./XMLDOMStringList"),R.exports=f=function(){function n(){var t;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new d,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=t=(0,p.default)(this.defaultParams)}return Object.defineProperty(n.prototype,"parameterNames",{get:function(){return new l((0,m.default)(this.defaultParams))}}),n.prototype.getParameter=function(t){return this.params.hasOwnProperty(t)?this.params[t]:null},n.prototype.canSetParameter=function(t,a){return!0},n.prototype.setParameter=function(t,a){return a!=null?this.params[t]=a:delete this.params[t]},n}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(U,R,i){"use strict";(function(){var y;R.exports=y=function(){function m(){}return m.prototype.handleError=function(E){throw new Error(E)},m}()}).call(void 0)},{}],260:[function(U,R,i){"use strict";(function(){var y;R.exports=y=function(){function m(){}return m.prototype.hasFeature=function(E,p){return!0},m.prototype.createDocumentType=function(E,p,v){throw new Error("This DOM method is not implemented.")},m.prototype.createDocument=function(E,p,v){throw new Error("This DOM method is not implemented.")},m.prototype.createHTMLDocument=function(E){throw new Error("This DOM method is not implemented.")},m.prototype.getFeature=function(E,p){throw new Error("This DOM method is not implemented.")},m}()}).call(void 0)},{}],261:[function(U,R,i){"use strict";(function(){var y;R.exports=y=function(){function m(E){this.arr=E||[]}return Object.defineProperty(m.prototype,"length",{get:function(){return this.arr.length}}),m.prototype.item=function(E){return this.arr[E]||null},m.prototype.contains=function(E){return this.arr.indexOf(E)!==-1},m}()}).call(void 0)},{}],262:[function(U,R,i){"use strict";(function(){var y,m,E,p=function(d,l){for(var n in l)v.call(l,n)&&(d[n]=l[n]);function t(){this.constructor=d}return t.prototype=l.prototype,d.prototype=new t,d.__super__=l.prototype,d},v={}.hasOwnProperty;E=U("./XMLNode"),y=U("./NodeType"),R.exports=m=function(f){p(d,f);function d(l,n,t,a,s,r){if(d.__super__.constructor.call(this,l),n==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(t==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(n));if(!a)throw new Error("Missing DTD attribute type. "+this.debugInfo(n));if(!s)throw new Error("Missing DTD attribute default. "+this.debugInfo(n));if(s.indexOf("#")!==0&&(s="#"+s),!s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(r&&!s.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.name(n),this.type=y.AttributeDeclaration,this.attributeName=this.stringify.name(t),this.attributeType=this.stringify.dtdAttType(a),r&&(this.defaultValue=this.stringify.dtdAttDefault(r)),this.defaultValueType=s}return d.prototype.toString=function(l){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(l))},d}(E)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(U,R,i){"use strict";(function(){var y,m,E,p=function(d,l){for(var n in l)v.call(l,n)&&(d[n]=l[n]);function t(){this.constructor=d}return t.prototype=l.prototype,d.prototype=new t,d.__super__=l.prototype,d},v={}.hasOwnProperty;E=U("./XMLNode"),y=U("./NodeType"),R.exports=m=function(f){p(d,f);function d(l,n,t){if(d.__super__.constructor.call(this,l),n==null)throw new Error("Missing DTD element name. "+this.debugInfo());t||(t="(#PCDATA)"),Array.isArray(t)&&(t="("+t.join(",")+")"),this.name=this.stringify.name(n),this.type=y.ElementDeclaration,this.value=this.stringify.dtdElementValue(t)}return d.prototype.toString=function(l){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(l))},d}(E)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(U,R,i){"use strict";(function(){var y,m,E,p,v=function(l,n){for(var t in n)f.call(n,t)&&(l[t]=n[t]);function a(){this.constructor=l}return a.prototype=n.prototype,l.prototype=new a,l.__super__=n.prototype,l},f={}.hasOwnProperty;p=U("./Utility").isObject,E=U("./XMLNode"),y=U("./NodeType"),R.exports=m=function(d){v(l,d);function l(n,t,a,s){if(l.__super__.constructor.call(this,n),a==null)throw new Error("Missing DTD entity name. "+this.debugInfo(a));if(s==null)throw new Error("Missing DTD entity value. "+this.debugInfo(a));if(this.pe=!!t,this.name=this.stringify.name(a),this.type=y.EntityDeclaration,!p(s))this.value=this.stringify.dtdEntityValue(s),this.internal=!0;else{if(!s.pubID&&!s.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(a));if(s.pubID&&!s.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(a));if(this.internal=!1,s.pubID!=null&&(this.pubID=this.stringify.dtdPubID(s.pubID)),s.sysID!=null&&(this.sysID=this.stringify.dtdSysID(s.sysID)),s.nData!=null&&(this.nData=this.stringify.dtdNData(s.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(a))}}return Object.defineProperty(l.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(l.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(l.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(l.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(l.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(l.prototype,"xmlVersion",{get:function(){return null}}),l.prototype.toString=function(n){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(n))},l}(E)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(U,R,i){"use strict";(function(){var y,m,E,p=function(d,l){for(var n in l)v.call(l,n)&&(d[n]=l[n]);function t(){this.constructor=d}return t.prototype=l.prototype,d.prototype=new t,d.__super__=l.prototype,d},v={}.hasOwnProperty;E=U("./XMLNode"),y=U("./NodeType"),R.exports=m=function(f){p(d,f);function d(l,n,t){if(d.__super__.constructor.call(this,l),n==null)throw new Error("Missing DTD notation name. "+this.debugInfo(n));if(!t.pubID&&!t.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.name(n),this.type=y.NotationDeclaration,t.pubID!=null&&(this.pubID=this.stringify.dtdPubID(t.pubID)),t.sysID!=null&&(this.sysID=this.stringify.dtdSysID(t.sysID))}return Object.defineProperty(d.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(d.prototype,"systemId",{get:function(){return this.sysID}}),d.prototype.toString=function(l){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(l))},d}(E)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(U,R,i){"use strict";(function(){var y,m,E,p,v=function(l,n){for(var t in n)f.call(n,t)&&(l[t]=n[t]);function a(){this.constructor=l}return a.prototype=n.prototype,l.prototype=new a,l.__super__=n.prototype,l},f={}.hasOwnProperty;p=U("./Utility").isObject,E=U("./XMLNode"),y=U("./NodeType"),R.exports=m=function(d){v(l,d);function l(n,t,a,s){var r;l.__super__.constructor.call(this,n),p(t)&&(r=t,t=r.version,a=r.encoding,s=r.standalone),t||(t="1.0"),this.type=y.Declaration,this.version=this.stringify.xmlVersion(t),a!=null&&(this.encoding=this.stringify.xmlEncoding(a)),s!=null&&(this.standalone=this.stringify.xmlStandalone(s))}return l.prototype.toString=function(n){return this.options.writer.declaration(this,this.options.writer.filterOptions(n))},l}(E)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(U,R,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t=function(r,c){for(var e in c)a.call(c,e)&&(r[e]=c[e]);function o(){this.constructor=r}return o.prototype=c.prototype,r.prototype=new o,r.__super__=c.prototype,r},a={}.hasOwnProperty;n=U("./Utility").isObject,l=U("./XMLNode"),y=U("./NodeType"),m=U("./XMLDTDAttList"),p=U("./XMLDTDEntity"),E=U("./XMLDTDElement"),v=U("./XMLDTDNotation"),d=U("./XMLNamedNodeMap"),R.exports=f=function(s){t(r,s);function r(c,e,o){var u,h,g,A,w,x;if(r.__super__.constructor.call(this,c),this.type=y.DocType,c.children){for(A=c.children,h=0,g=A.length;h<g;h++)if(u=A[h],u.type===y.Element){this.name=u.name;break}}this.documentObject=c,n(e)&&(w=e,e=w.pubID,o=w.sysID),o==null&&(x=[e,o],o=x[0],e=x[1]),e!=null&&(this.pubID=this.stringify.dtdPubID(e)),o!=null&&(this.sysID=this.stringify.dtdSysID(o))}return Object.defineProperty(r.prototype,"entities",{get:function(){var e,o,u,h,g;for(h={},g=this.children,o=0,u=g.length;o<u;o++)e=g[o],e.type===y.EntityDeclaration&&!e.pe&&(h[e.name]=e);return new d(h)}}),Object.defineProperty(r.prototype,"notations",{get:function(){var e,o,u,h,g;for(h={},g=this.children,o=0,u=g.length;o<u;o++)e=g[o],e.type===y.NotationDeclaration&&(h[e.name]=e);return new d(h)}}),Object.defineProperty(r.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(r.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(r.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),r.prototype.element=function(c,e){var o;return o=new E(this,c,e),this.children.push(o),this},r.prototype.attList=function(c,e,o,u,h){var g;return g=new m(this,c,e,o,u,h),this.children.push(g),this},r.prototype.entity=function(c,e){var o;return o=new p(this,!1,c,e),this.children.push(o),this},r.prototype.pEntity=function(c,e){var o;return o=new p(this,!0,c,e),this.children.push(o),this},r.prototype.notation=function(c,e){var o;return o=new v(this,c,e),this.children.push(o),this},r.prototype.toString=function(c){return this.options.writer.docType(this,this.options.writer.filterOptions(c))},r.prototype.ele=function(c,e){return this.element(c,e)},r.prototype.att=function(c,e,o,u,h){return this.attList(c,e,o,u,h)},r.prototype.ent=function(c,e){return this.entity(c,e)},r.prototype.pent=function(c,e){return this.pEntity(c,e)},r.prototype.not=function(c,e){return this.notation(c,e)},r.prototype.up=function(){return this.root()||this.documentObject},r.prototype.isEqualNode=function(c){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(c)?c.name!==this.name||c.publicId!==this.publicId?!1:!(c.systemId!==this.systemId):!1},r}(l)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(U,R,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n=function(s,r){for(var c in r)t.call(r,c)&&(s[c]=r[c]);function e(){this.constructor=s}return e.prototype=r.prototype,s.prototype=new e,s.__super__=r.prototype,s},t={}.hasOwnProperty;l=U("./Utility").isPlainObject,E=U("./XMLDOMImplementation"),m=U("./XMLDOMConfiguration"),v=U("./XMLNode"),y=U("./NodeType"),d=U("./XMLStringifier"),f=U("./XMLStringWriter"),R.exports=p=function(a){n(s,a);function s(r){s.__super__.constructor.call(this,null),this.name="#document",this.type=y.Document,this.documentURI=null,this.domConfig=new m,r||(r={}),r.writer||(r.writer=new f),this.options=r,this.stringify=new d(r)}return Object.defineProperty(s.prototype,"implementation",{value:new E}),Object.defineProperty(s.prototype,"doctype",{get:function(){var c,e,o,u;for(u=this.children,e=0,o=u.length;e<o;e++)if(c=u[e],c.type===y.DocType)return c;return null}}),Object.defineProperty(s.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(s.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(s.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(s.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===y.Declaration?this.children[0].encoding:null}}),Object.defineProperty(s.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===y.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(s.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===y.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(s.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(s.prototype,"origin",{get:function(){return null}}),Object.defineProperty(s.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(s.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(s.prototype,"contentType",{get:function(){return null}}),s.prototype.end=function(r){var c;return c={},r?l(r)&&(c=r,r=this.options.writer):r=this.options.writer,r.document(this,r.filterOptions(c))},s.prototype.toString=function(r){return this.options.writer.document(this,this.options.writer.filterOptions(r))},s.prototype.createElement=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createTextNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createComment=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createCDATASection=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createProcessingInstruction=function(r,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createAttribute=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createEntityReference=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.importNode=function(r,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createElementNS=function(r,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createAttributeNS=function(r,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(r,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementById=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.adoptNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.renameNode=function(r,c,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createEvent=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createNodeIterator=function(r,c,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.createTreeWalker=function(r,c,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},s}(v)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(U,R,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t,a,s,r,c,e,o,u,h,g,A,w,x,C,T,O={}.hasOwnProperty;T=U("./Utility"),x=T.isObject,w=T.isFunction,C=T.isPlainObject,A=T.getValue,y=U("./NodeType"),s=U("./XMLDocument"),c=U("./XMLElement"),p=U("./XMLCData"),v=U("./XMLComment"),o=U("./XMLRaw"),g=U("./XMLText"),e=U("./XMLProcessingInstruction"),t=U("./XMLDeclaration"),a=U("./XMLDocType"),f=U("./XMLDTDAttList"),l=U("./XMLDTDEntity"),d=U("./XMLDTDElement"),n=U("./XMLDTDNotation"),E=U("./XMLAttribute"),h=U("./XMLStringifier"),u=U("./XMLStringWriter"),m=U("./WriterState"),R.exports=r=function(){function S(_,L,D){var F;this.name="?xml",this.type=y.Document,_||(_={}),F={},_.writer?C(_.writer)&&(F=_.writer,_.writer=new u):_.writer=new u,this.options=_,this.writer=_.writer,this.writerOptions=this.writer.filterOptions(F),this.stringify=new h(_),this.onDataCallback=L||function(){},this.onEndCallback=D||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return S.prototype.createChildNode=function(_){var L,D,F,j,k,K,Z,B;switch(_.type){case y.CData:this.cdata(_.value);break;case y.Comment:this.comment(_.value);break;case y.Element:F={},Z=_.attribs;for(D in Z){if(!O.call(Z,D))continue;L=Z[D],F[D]=L.value}this.node(_.name,F);break;case y.Dummy:this.dummy();break;case y.Raw:this.raw(_.value);break;case y.Text:this.text(_.value);break;case y.ProcessingInstruction:this.instruction(_.target,_.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+_.constructor.name)}for(B=_.children,k=0,K=B.length;k<K;k++)j=B[k],this.createChildNode(j),j.type===y.Element&&this.up();return this},S.prototype.dummy=function(){return this},S.prototype.node=function(_,L,D){var F;if(_==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(_));return this.openCurrent(),_=A(_),L==null&&(L={}),L=A(L),x(L)||(F=[L,D],D=F[0],L=F[1]),this.currentNode=new c(this,_,L),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,D!=null&&this.text(D),this},S.prototype.element=function(_,L,D){var F,j,k,K,Z,B;if(this.currentNode&&this.currentNode.type===y.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(_)||x(_)||w(_))for(K=this.options.noValidation,this.options.noValidation=!0,B=new s(this.options).element("TEMP_ROOT"),B.element(_),this.options.noValidation=K,Z=B.children,j=0,k=Z.length;j<k;j++)F=Z[j],this.createChildNode(F),F.type===y.Element&&this.up();else this.node(_,L,D);return this},S.prototype.attribute=function(_,L){var D,F;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(_));if(_!=null&&(_=A(_)),x(_))for(D in _){if(!O.call(_,D))continue;F=_[D],this.attribute(D,F)}else w(L)&&(L=L.apply()),this.options.keepNullAttributes&&L==null?this.currentNode.attribs[_]=new E(this,_,""):L!=null&&(this.currentNode.attribs[_]=new E(this,_,L));return this},S.prototype.text=function(_){var L;return this.openCurrent(),L=new g(this,_),this.onData(this.writer.text(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.cdata=function(_){var L;return this.openCurrent(),L=new p(this,_),this.onData(this.writer.cdata(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.comment=function(_){var L;return this.openCurrent(),L=new v(this,_),this.onData(this.writer.comment(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.raw=function(_){var L;return this.openCurrent(),L=new o(this,_),this.onData(this.writer.raw(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.instruction=function(_,L){var D,F,j,k,K;if(this.openCurrent(),_!=null&&(_=A(_)),L!=null&&(L=A(L)),Array.isArray(_))for(D=0,k=_.length;D<k;D++)F=_[D],this.instruction(F);else if(x(_))for(F in _){if(!O.call(_,F))continue;j=_[F],this.instruction(F,j)}else w(L)&&(L=L.apply()),K=new e(this,_,L),this.onData(this.writer.processingInstruction(K,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},S.prototype.declaration=function(_,L,D){var F;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return F=new t(this,_,L,D),this.onData(this.writer.declaration(F,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.doctype=function(_,L,D){if(this.openCurrent(),_==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new a(this,L,D),this.currentNode.rootNodeName=_,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},S.prototype.dtdElement=function(_,L){var D;return this.openCurrent(),D=new d(this,_,L),this.onData(this.writer.dtdElement(D,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.attList=function(_,L,D,F,j){var k;return this.openCurrent(),k=new f(this,_,L,D,F,j),this.onData(this.writer.dtdAttList(k,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.entity=function(_,L){var D;return this.openCurrent(),D=new l(this,!1,_,L),this.onData(this.writer.dtdEntity(D,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.pEntity=function(_,L){var D;return this.openCurrent(),D=new l(this,!0,_,L),this.onData(this.writer.dtdEntity(D,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},S.prototype.notation=function(_,L){var D;return this.openCurrent(),D=new n(this,_,L),this.onData(this.writer.dtdNotation(D,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(_){var L,D,F,j;if(!_.isOpen){if(!this.root&&this.currentLevel===0&&_.type===y.Element&&(this.root=_),D="",_.type===y.Element){this.writerOptions.state=m.OpenTag,D=this.writer.indent(_,this.writerOptions,this.currentLevel)+"<"+_.name,j=_.attribs;for(F in j){if(!O.call(j,F))continue;L=j[F],D+=this.writer.attribute(L,this.writerOptions,this.currentLevel)}D+=(_.children?">":"/>")+this.writer.endline(_,this.writerOptions,this.currentLevel),this.writerOptions.state=m.InsideTag}else this.writerOptions.state=m.OpenTag,D=this.writer.indent(_,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+_.rootNodeName,_.pubID&&_.sysID?D+=' PUBLIC "'+_.pubID+'" "'+_.sysID+'"':_.sysID&&(D+=' SYSTEM "'+_.sysID+'"'),_.children?(D+=" [",this.writerOptions.state=m.InsideTag):(this.writerOptions.state=m.CloseTag,D+=">"),D+=this.writer.endline(_,this.writerOptions,this.currentLevel);return this.onData(D,this.currentLevel),_.isOpen=!0}},S.prototype.closeNode=function(_){var L;if(!_.isClosed)return L="",this.writerOptions.state=m.CloseTag,_.type===y.Element?L=this.writer.indent(_,this.writerOptions,this.currentLevel)+"</"+_.name+">"+this.writer.endline(_,this.writerOptions,this.currentLevel):L=this.writer.indent(_,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(_,this.writerOptions,this.currentLevel),this.writerOptions.state=m.None,this.onData(L,this.currentLevel),_.isClosed=!0},S.prototype.onData=function(_,L){return this.documentStarted=!0,this.onDataCallback(_,L+1)},S.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},S.prototype.debugInfo=function(_){return _==null?"":"node: <"+_+">"},S.prototype.ele=function(){return this.element.apply(this,arguments)},S.prototype.nod=function(_,L,D){return this.node(_,L,D)},S.prototype.txt=function(_){return this.text(_)},S.prototype.dat=function(_){return this.cdata(_)},S.prototype.com=function(_){return this.comment(_)},S.prototype.ins=function(_,L){return this.instruction(_,L)},S.prototype.dec=function(_,L,D){return this.declaration(_,L,D)},S.prototype.dtd=function(_,L,D){return this.doctype(_,L,D)},S.prototype.e=function(_,L,D){return this.element(_,L,D)},S.prototype.n=function(_,L,D){return this.node(_,L,D)},S.prototype.t=function(_){return this.text(_)},S.prototype.d=function(_){return this.cdata(_)},S.prototype.c=function(_){return this.comment(_)},S.prototype.r=function(_){return this.raw(_)},S.prototype.i=function(_,L){return this.instruction(_,L)},S.prototype.att=function(){return this.currentNode&&this.currentNode.type===y.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},S.prototype.a=function(){return this.currentNode&&this.currentNode.type===y.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},S.prototype.ent=function(_,L){return this.entity(_,L)},S.prototype.pent=function(_,L){return this.pEntity(_,L)},S.prototype.not=function(_,L){return this.notation(_,L)},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(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var s in a)l.call(a,s)&&(t[s]=a[s]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;f=U("./XMLNode"),p=U("./NodeType"),R.exports=v=function(n){d(t,n);function t(a){t.__super__.constructor.call(this,a),this.type=p.Dummy}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return""},t}(f)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d,l,n,t,a,s,r=function(o,u){for(var h in u)c.call(u,h)&&(o[h]=u[h]);function g(){this.constructor=o}return g.prototype=u.prototype,o.prototype=new g,o.__super__=u.prototype,o},c={}.hasOwnProperty;s=U("./Utility"),a=s.isObject,t=s.isFunction,n=s.getValue,l=U("./XMLNode"),p=U("./NodeType"),v=U("./XMLAttribute"),d=U("./XMLNamedNodeMap"),R.exports=f=function(e){r(o,e);function o(u,h,g){var A,w,x,C;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=p.Element,this.attribs={},this.schemaTypeInfo=null,g!=null&&this.attribute(g),u.type===p.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(C=u.children,w=0,x=C.length;w<x;w++)if(A=C[w],A.type===p.DocType){A.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 d(this.attribs)),this.attributeMap}}),o.prototype.clone=function(){var u,h,g,A;g=(0,m.default)(this),g.isRoot&&(g.documentObject=null),g.attribs={},A=this.attribs;for(h in A){if(!c.call(A,h))continue;u=A[h],g.attribs[h]=u.clone()}return g.children=[],this.children.forEach(function(w){var x;return x=w.clone(),x.parent=g,g.children.push(x)}),g},o.prototype.attribute=function(u,h){var g,A;if(u!=null&&(u=n(u)),a(u))for(g in u){if(!c.call(u,g))continue;A=u[g],this.attribute(g,A)}else t(h)&&(h=h.apply()),this.options.keepNullAttributes&&h==null?this.attribs[u]=new v(this,u,""):h!=null&&(this.attribs[u]=new v(this,u,h));return this},o.prototype.removeAttribute=function(u){var h,g,A;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=n(u),Array.isArray(u))for(g=0,A=u.length;g<A;g++)h=u[g],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,g){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,g){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,g,A;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=g=0,A=this.attribs.length-1;0<=A?g<=A:g>=A;h=0<=A?++g:--g)if(!this.attribs[h].isEqualNode(u.attribs[h]))return!1;return!0},o}(l)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/keys"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p;R.exports=p=function(){function v(f){this.nodes=f}return Object.defineProperty(v.prototype,"length",{get:function(){return(0,m.default)(this.nodes).length||0}}),v.prototype.clone=function(){return this.nodes=null},v.prototype.getNamedItem=function(f){return this.nodes[f]},v.prototype.setNamedItem=function(f){var d;return d=this.nodes[f.nodeName],this.nodes[f.nodeName]=f,d||null},v.prototype.removeNamedItem=function(f){var d;return d=this.nodes[f],delete this.nodes[f],d||null},v.prototype.item=function(f){return this.nodes[(0,m.default)(this.nodes)[f]]||null},v.prototype.getNamedItemNS=function(f,d){throw new Error("This DOM method is not implemented.")},v.prototype.setNamedItemNS=function(f){throw new Error("This DOM method is not implemented.")},v.prototype.removeNamedItemNS=function(f,d){throw new Error("This DOM method is not implemented.")},v}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(U,R,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t,a,s,r,c,e,o,u,h,g,A={}.hasOwnProperty;g=U("./Utility"),h=g.isObject,u=g.isFunction,o=g.isEmpty,e=g.getValue,l=null,E=null,p=null,v=null,f=null,r=null,c=null,s=null,d=null,m=null,a=null,n=null,y=null,R.exports=t=function(){function w(x){this.parent=x,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,l||(l=U("./XMLElement"),E=U("./XMLCData"),p=U("./XMLComment"),v=U("./XMLDeclaration"),f=U("./XMLDocType"),r=U("./XMLRaw"),c=U("./XMLText"),s=U("./XMLProcessingInstruction"),d=U("./XMLDummy"),m=U("./NodeType"),a=U("./XMLNodeList"),n=U("./XMLNamedNodeMap"),y=U("./DocumentPosition"))}return Object.defineProperty(w.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(w.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(w.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(w.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(w.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new a(this.children)),this.childNodeList}}),Object.defineProperty(w.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(w.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){var C;return C=this.parent.children.indexOf(this),this.parent.children[C-1]||null}}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){var C;return C=this.parent.children.indexOf(this),this.parent.children[C+1]||null}}),Object.defineProperty(w.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(w.prototype,"textContent",{get:function(){var C,T,O,S,_;if(this.nodeType===m.Element||this.nodeType===m.DocumentFragment){for(_="",S=this.children,T=0,O=S.length;T<O;T++)C=S[T],C.textContent&&(_+=C.textContent);return _}else return null},set:function(C){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),w.prototype.setParent=function(x){var C,T,O,S,_;for(this.parent=x,x&&(this.options=x.options,this.stringify=x.stringify),S=this.children,_=[],T=0,O=S.length;T<O;T++)C=S[T],_.push(C.setParent(this));return _},w.prototype.element=function(x,C,T){var O,S,_,L,D,F,j,k,K,Z,B;if(F=null,C===null&&T==null&&(K=[{},null],C=K[0],T=K[1]),C==null&&(C={}),C=e(C),h(C)||(Z=[C,T],T=Z[0],C=Z[1]),x!=null&&(x=e(x)),Array.isArray(x))for(_=0,j=x.length;_<j;_++)S=x[_],F=this.element(S);else if(u(x))F=this.element(x.apply());else if(h(x))for(D in x){if(!A.call(x,D))continue;if(B=x[D],u(B)&&(B=B.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&D.indexOf(this.stringify.convertAttKey)===0)F=this.attribute(D.substr(this.stringify.convertAttKey.length),B);else if(!this.options.separateArrayItems&&Array.isArray(B)&&o(B))F=this.dummy();else if(h(B)&&o(B))F=this.element(D);else if(!this.options.keepNullNodes&&B==null)F=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(B))for(L=0,k=B.length;L<k;L++)S=B[L],O={},O[D]=S,F=this.element(O);else h(B)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&D.indexOf(this.stringify.convertTextKey)===0?F=this.element(B):(F=this.element(D),F.element(B)):F=this.element(D,B)}else!this.options.keepNullNodes&&T===null?F=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&x.indexOf(this.stringify.convertTextKey)===0?F=this.text(T):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&x.indexOf(this.stringify.convertCDataKey)===0?F=this.cdata(T):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&x.indexOf(this.stringify.convertCommentKey)===0?F=this.comment(T):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&x.indexOf(this.stringify.convertRawKey)===0?F=this.raw(T):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&x.indexOf(this.stringify.convertPIKey)===0?F=this.instruction(x.substr(this.stringify.convertPIKey.length),T):F=this.node(x,C,T);if(F==null)throw new Error("Could not create any elements with: "+x+". "+this.debugInfo());return F},w.prototype.insertBefore=function(x,C,T){var O,S,_,L,D;if(x!=null?x.type:void 0)return _=x,L=C,_.setParent(this),L?(S=children.indexOf(L),D=children.splice(S),children.push(_),Array.prototype.push.apply(children,D)):children.push(_),_;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(x));return S=this.parent.children.indexOf(this),D=this.parent.children.splice(S),O=this.parent.element(x,C,T),Array.prototype.push.apply(this.parent.children,D),O},w.prototype.insertAfter=function(x,C,T){var O,S,_;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(x));return S=this.parent.children.indexOf(this),_=this.parent.children.splice(S+1),O=this.parent.element(x,C,T),Array.prototype.push.apply(this.parent.children,_),O},w.prototype.remove=function(){var x,C;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return x=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[x,x-x+1].concat(C=[])),this.parent},w.prototype.node=function(x,C,T){var O,S;return x!=null&&(x=e(x)),C||(C={}),C=e(C),h(C)||(S=[C,T],T=S[0],C=S[1]),O=new l(this,x,C),T!=null&&O.text(T),this.children.push(O),O},w.prototype.text=function(x){var C;return h(x)&&this.element(x),C=new c(this,x),this.children.push(C),this},w.prototype.cdata=function(x){var C;return C=new E(this,x),this.children.push(C),this},w.prototype.comment=function(x){var C;return C=new p(this,x),this.children.push(C),this},w.prototype.commentBefore=function(x){var C,T,O;return T=this.parent.children.indexOf(this),O=this.parent.children.splice(T),C=this.parent.comment(x),Array.prototype.push.apply(this.parent.children,O),this},w.prototype.commentAfter=function(x){var C,T,O;return T=this.parent.children.indexOf(this),O=this.parent.children.splice(T+1),C=this.parent.comment(x),Array.prototype.push.apply(this.parent.children,O),this},w.prototype.raw=function(x){var C;return C=new r(this,x),this.children.push(C),this},w.prototype.dummy=function(){var x;return x=new d(this),x},w.prototype.instruction=function(x,C){var T,O,S,_,L;if(x!=null&&(x=e(x)),C!=null&&(C=e(C)),Array.isArray(x))for(_=0,L=x.length;_<L;_++)T=x[_],this.instruction(T);else if(h(x))for(T in x){if(!A.call(x,T))continue;O=x[T],this.instruction(T,O)}else u(C)&&(C=C.apply()),S=new s(this,x,C),this.children.push(S);return this},w.prototype.instructionBefore=function(x,C){var T,O,S;return O=this.parent.children.indexOf(this),S=this.parent.children.splice(O),T=this.parent.instruction(x,C),Array.prototype.push.apply(this.parent.children,S),this},w.prototype.instructionAfter=function(x,C){var T,O,S;return O=this.parent.children.indexOf(this),S=this.parent.children.splice(O+1),T=this.parent.instruction(x,C),Array.prototype.push.apply(this.parent.children,S),this},w.prototype.declaration=function(x,C,T){var O,S;return O=this.document(),S=new v(O,x,C,T),O.children.length===0?O.children.unshift(S):O.children[0].type===m.Declaration?O.children[0]=S:O.children.unshift(S),O.root()||O},w.prototype.dtd=function(x,C){var T,O,S,_,L,D,F,j,k,K;for(O=this.document(),S=new f(O,x,C),k=O.children,_=L=0,F=k.length;L<F;_=++L)if(T=k[_],T.type===m.DocType)return O.children[_]=S,S;for(K=O.children,_=D=0,j=K.length;D<j;_=++D)if(T=K[_],T.isRoot)return O.children.splice(_,0,S),S;return O.children.push(S),S},w.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},w.prototype.root=function(){var x;for(x=this;x;){if(x.type===m.Document)return x.rootObject;if(x.isRoot)return x;x=x.parent}},w.prototype.document=function(){var x;for(x=this;x;){if(x.type===m.Document)return x;x=x.parent}},w.prototype.end=function(x){return this.document().end(x)},w.prototype.prev=function(){var x;if(x=this.parent.children.indexOf(this),x<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[x-1]},w.prototype.next=function(){var x;if(x=this.parent.children.indexOf(this),x===-1||x===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[x+1]},w.prototype.importDocument=function(x){var C;return C=x.root().clone(),C.parent=this,C.isRoot=!1,this.children.push(C),this},w.prototype.debugInfo=function(x){var C,T;return x=x||this.name,x==null&&!((C=this.parent)!=null?C.name:void 0)?"":x==null?"parent: <"+this.parent.name+">":((T=this.parent)!=null?T.name:void 0)?"node: <"+x+">, parent: <"+this.parent.name+">":"node: <"+x+">"},w.prototype.ele=function(x,C,T){return this.element(x,C,T)},w.prototype.nod=function(x,C,T){return this.node(x,C,T)},w.prototype.txt=function(x){return this.text(x)},w.prototype.dat=function(x){return this.cdata(x)},w.prototype.com=function(x){return this.comment(x)},w.prototype.ins=function(x,C){return this.instruction(x,C)},w.prototype.doc=function(){return this.document()},w.prototype.dec=function(x,C,T){return this.declaration(x,C,T)},w.prototype.e=function(x,C,T){return this.element(x,C,T)},w.prototype.n=function(x,C,T){return this.node(x,C,T)},w.prototype.t=function(x){return this.text(x)},w.prototype.d=function(x){return this.cdata(x)},w.prototype.c=function(x){return this.comment(x)},w.prototype.r=function(x){return this.raw(x)},w.prototype.i=function(x,C){return this.instruction(x,C)},w.prototype.u=function(){return this.up()},w.prototype.importXMLBuilder=function(x){return this.importDocument(x)},w.prototype.replaceChild=function(x,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.removeChild=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.appendChild=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.hasChildNodes=function(){return this.children.length!==0},w.prototype.cloneNode=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isSupported=function(x,C){return!0},w.prototype.hasAttributes=function(){return this.attribs.length!==0},w.prototype.compareDocumentPosition=function(x){var C,T;return C=this,C===x?0:this.document()!==x.document()?(T=y.Disconnected|y.ImplementationSpecific,Math.random()<.5?T|=y.Preceding:T|=y.Following,T):C.isAncestor(x)?y.Contains|y.Preceding:C.isDescendant(x)?y.Contains|y.Following:C.isPreceding(x)?y.Preceding:y.Following},w.prototype.isSameNode=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.lookupPrefix=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isDefaultNamespace=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.lookupNamespaceURI=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isEqualNode=function(x){var C,T,O;if(x.nodeType!==this.nodeType)return!1;if(x.children.length!==this.children.length)return!1;for(C=T=0,O=this.children.length-1;0<=O?T<=O:T>=O;C=0<=O?++T:--T)if(!this.children[C].isEqualNode(x.children[C]))return!1;return!0},w.prototype.getFeature=function(x,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.setUserData=function(x,C,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.getUserData=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.contains=function(x){return x?x===this||this.isDescendant(x):!1},w.prototype.isDescendant=function(x){var C,T,O,S,_;for(_=this.children,O=0,S=_.length;O<S;O++){if(C=_[O],x===C)return!0;if(T=C.isDescendant(x),T)return!0}return!1},w.prototype.isAncestor=function(x){return x.isDescendant(this)},w.prototype.isPreceding=function(x){var C,T;return C=this.treePosition(x),T=this.treePosition(this),C===-1||T===-1?!1:C<T},w.prototype.isFollowing=function(x){var C,T;return C=this.treePosition(x),T=this.treePosition(this),C===-1||T===-1?!1:C>T},w.prototype.treePosition=function(x){var C,T;return T=0,C=!1,this.foreachTreeNode(this.document(),function(O){if(T++,!C&&O===x)return C=!0}),C?T:-1},w.prototype.foreachTreeNode=function(x,C){var T,O,S,_,L;for(x||(x=this.document()),_=x.children,O=0,S=_.length;O<S;O++){if(T=_[O],L=C(T))return L;if(L=this.foreachTreeNode(T,C),L)return L}},w}()}).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(U,R,i){"use strict";(function(){var y;R.exports=y=function(){function m(E){this.nodes=E}return Object.defineProperty(m.prototype,"length",{get:function(){return this.nodes.length||0}}),m.prototype.clone=function(){return this.nodes=null},m.prototype.item=function(E){return this.nodes[E]||null},m}()}).call(void 0)},{}],275:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var s in a)l.call(a,s)&&(t[s]=a[s]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=U("./NodeType"),v=U("./XMLCharacterData"),R.exports=f=function(n){d(t,n);function t(a,s,r){if(t.__super__.constructor.call(this,a),s==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=p.ProcessingInstruction,this.target=this.stringify.insTarget(s),this.name=this.target,r&&(this.value=this.stringify.insValue(r))}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(a))},t.prototype.isEqualNode=function(a){return t.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)?!(a.target!==this.target):!1},t}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var s in a)l.call(a,s)&&(t[s]=a[s]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=U("./NodeType"),v=U("./XMLNode"),R.exports=f=function(n){d(t,n);function t(a,s){if(t.__super__.constructor.call(this,a),s==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=p.Raw,this.value=this.stringify.raw(s)}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.raw(this,this.options.writer.filterOptions(a))},t}(v)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(U,R,i){"use strict";(function(){var y,m,E,p,v=function(l,n){for(var t in n)f.call(n,t)&&(l[t]=n[t]);function a(){this.constructor=l}return a.prototype=n.prototype,l.prototype=new a,l.__super__=n.prototype,l},f={}.hasOwnProperty;y=U("./NodeType"),p=U("./XMLWriterBase"),m=U("./WriterState"),R.exports=E=function(d){v(l,d);function l(n,t){this.stream=n,l.__super__.constructor.call(this,t)}return l.prototype.endline=function(n,t,a){return n.isLastRootNode&&t.state===m.CloseTag?"":l.__super__.endline.call(this,n,t,a)},l.prototype.document=function(n,t){var a,s,r,c,e,o,u,h,g;for(u=n.children,s=r=0,e=u.length;r<e;s=++r)a=u[s],a.isLastRootNode=s===n.children.length-1;for(t=this.filterOptions(t),h=n.children,g=[],c=0,o=h.length;c<o;c++)a=h[c],g.push(this.writeChildNode(a,t,0));return g},l.prototype.attribute=function(n,t,a){return this.stream.write(l.__super__.attribute.call(this,n,t,a))},l.prototype.cdata=function(n,t,a){return this.stream.write(l.__super__.cdata.call(this,n,t,a))},l.prototype.comment=function(n,t,a){return this.stream.write(l.__super__.comment.call(this,n,t,a))},l.prototype.declaration=function(n,t,a){return this.stream.write(l.__super__.declaration.call(this,n,t,a))},l.prototype.docType=function(n,t,a){var s,r,c,e;if(a||(a=0),this.openNode(n,t,a),t.state=m.OpenTag,this.stream.write(this.indent(n,t,a)),this.stream.write("<!DOCTYPE "+n.root().name),n.pubID&&n.sysID?this.stream.write(' PUBLIC "'+n.pubID+'" "'+n.sysID+'"'):n.sysID&&this.stream.write(' SYSTEM "'+n.sysID+'"'),n.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(n,t,a)),t.state=m.InsideTag,e=n.children,r=0,c=e.length;r<c;r++)s=e[r],this.writeChildNode(s,t,a+1);t.state=m.CloseTag,this.stream.write("]")}return t.state=m.CloseTag,this.stream.write(t.spaceBeforeSlash+">"),this.stream.write(this.endline(n,t,a)),t.state=m.None,this.closeNode(n,t,a)},l.prototype.element=function(n,t,a){var s,r,c,e,o,u,h,g,A,w;a||(a=0),this.openNode(n,t,a),t.state=m.OpenTag,this.stream.write(this.indent(n,t,a)+"<"+n.name),A=n.attribs;for(h in A){if(!f.call(A,h))continue;s=A[h],this.attribute(s,t,a)}if(c=n.children.length,e=c===0?null:n.children[0],c===0||n.children.every(function(x){return(x.type===y.Text||x.type===y.Raw)&&x.value===""}))t.allowEmpty?(this.stream.write(">"),t.state=m.CloseTag,this.stream.write("</"+n.name+">")):(t.state=m.CloseTag,this.stream.write(t.spaceBeforeSlash+"/>"));else if(t.pretty&&c===1&&(e.type===y.Text||e.type===y.Raw)&&e.value!=null)this.stream.write(">"),t.state=m.InsideTag,t.suppressPrettyCount++,g=!0,this.writeChildNode(e,t,a+1),t.suppressPrettyCount--,g=!1,t.state=m.CloseTag,this.stream.write("</"+n.name+">");else{for(this.stream.write(">"+this.endline(n,t,a)),t.state=m.InsideTag,w=n.children,o=0,u=w.length;o<u;o++)r=w[o],this.writeChildNode(r,t,a+1);t.state=m.CloseTag,this.stream.write(this.indent(n,t,a)+"</"+n.name+">")}return this.stream.write(this.endline(n,t,a)),t.state=m.None,this.closeNode(n,t,a)},l.prototype.processingInstruction=function(n,t,a){return this.stream.write(l.__super__.processingInstruction.call(this,n,t,a))},l.prototype.raw=function(n,t,a){return this.stream.write(l.__super__.raw.call(this,n,t,a))},l.prototype.text=function(n,t,a){return this.stream.write(l.__super__.text.call(this,n,t,a))},l.prototype.dtdAttList=function(n,t,a){return this.stream.write(l.__super__.dtdAttList.call(this,n,t,a))},l.prototype.dtdElement=function(n,t,a){return this.stream.write(l.__super__.dtdElement.call(this,n,t,a))},l.prototype.dtdEntity=function(n,t,a){return this.stream.write(l.__super__.dtdEntity.call(this,n,t,a))},l.prototype.dtdNotation=function(n,t,a){return this.stream.write(l.__super__.dtdNotation.call(this,n,t,a))},l}(p)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(U,R,i){"use strict";(function(){var y,m,E=function(f,d){for(var l in d)p.call(d,l)&&(f[l]=d[l]);function n(){this.constructor=f}return n.prototype=d.prototype,f.prototype=new n,f.__super__=d.prototype,f},p={}.hasOwnProperty;m=U("./XMLWriterBase"),R.exports=y=function(v){E(f,v);function f(d){f.__super__.constructor.call(this,d)}return f.prototype.document=function(d,l){var n,t,a,s,r;for(l=this.filterOptions(l),s="",r=d.children,t=0,a=r.length;t<a;t++)n=r[t],s+=this.writeChildNode(n,l,0);return l.pretty&&s.slice(-l.newline.length)===l.newline&&(s=s.slice(0,-l.newline.length)),s},f}(m)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(U,R,i){"use strict";(function(){var y,m=function(v,f){return function(){return v.apply(f,arguments)}},E={}.hasOwnProperty;R.exports=y=function(){function p(v){this.assertLegalName=m(this.assertLegalName,this),this.assertLegalChar=m(this.assertLegalChar,this);var f,d,l;v||(v={}),this.options=v,this.options.version||(this.options.version="1.0"),d=v.stringify||{};for(f in d){if(!E.call(d,f))continue;l=d[f],this[f]=l}}return p.prototype.name=function(v){return this.options.noValidation?v:this.assertLegalName(""+v||"")},p.prototype.text=function(v){return this.options.noValidation?v:this.assertLegalChar(this.textEscape(""+v||""))},p.prototype.cdata=function(v){return this.options.noValidation?v:(v=""+v||"",v=v.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(v))},p.prototype.comment=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+v);return this.assertLegalChar(v)},p.prototype.raw=function(v){return this.options.noValidation?v:""+v||""},p.prototype.attValue=function(v){return this.options.noValidation?v:this.assertLegalChar(this.attEscape(v=""+v||""))},p.prototype.insTarget=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.insValue=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/\?>/))throw new Error("Invalid processing instruction value: "+v);return this.assertLegalChar(v)},p.prototype.xmlVersion=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+v);return v},p.prototype.xmlEncoding=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+v);return this.assertLegalChar(v)},p.prototype.xmlStandalone=function(v){return this.options.noValidation?v:v?"yes":"no"},p.prototype.dtdPubID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdSysID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdElementValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdAttType=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdAttDefault=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdEntityValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdNData=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.convertAttKey="@",p.prototype.convertPIKey="?",p.prototype.convertTextKey="#text",p.prototype.convertCDataKey="#cdata",p.prototype.convertCommentKey="#comment",p.prototype.convertRawKey="#raw",p.prototype.assertLegalChar=function(v){var f,d;if(this.options.noValidation)return v;if(f="",this.options.version==="1.0"){if(f=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=v.match(f))throw new Error("Invalid character in string: "+v+" at index "+d.index)}else if(this.options.version==="1.1"&&(f=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=v.match(f)))throw new Error("Invalid character in string: "+v+" at index "+d.index);return v},p.prototype.assertLegalName=function(v){var f;if(this.options.noValidation)return v;if(this.assertLegalChar(v),f=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!v.match(f))throw new Error("Invalid character in name");return v},p.prototype.textEscape=function(v){var f;return this.options.noValidation?v:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(f,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},p.prototype.attEscape=function(v){var f;return this.options.noValidation?v:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(f,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},p}()}).call(void 0)},{}],280:[function(U,R,i){"use strict";var y=U("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var s in a)l.call(a,s)&&(t[s]=a[s]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=U("./NodeType"),v=U("./XMLCharacterData"),R.exports=f=function(n){d(t,n);function t(a,s){if(t.__super__.constructor.call(this,a),s==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=p.Text,this.value=this.stringify.text(s)}return Object.defineProperty(t.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(t.prototype,"wholeText",{get:function(){var s,r,c;for(c="",r=this.previousSibling;r;)c=r.data+c,r=r.previousSibling;for(c+=this.data,s=this.nextSibling;s;)c=c+s.data,s=s.nextSibling;return c}}),t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.text(this,this.options.writer.filterOptions(a))},t.prototype.splitText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.replaceWholeText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},t}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(U,R,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t,a,s,r,c,e,o,u,h={}.hasOwnProperty;u=U("./Utility").assign,y=U("./NodeType"),n=U("./XMLDeclaration"),t=U("./XMLDocType"),E=U("./XMLCData"),p=U("./XMLComment"),s=U("./XMLElement"),c=U("./XMLRaw"),e=U("./XMLText"),r=U("./XMLProcessingInstruction"),a=U("./XMLDummy"),v=U("./XMLDTDAttList"),f=U("./XMLDTDElement"),d=U("./XMLDTDEntity"),l=U("./XMLDTDNotation"),m=U("./WriterState"),R.exports=o=function(){function g(A){var w,x,C;A||(A={}),this.options=A,x=A.writer||{};for(w in x){if(!h.call(x,w))continue;C=x[w],this["_"+w]=this[w],this[w]=C}}return g.prototype.filterOptions=function(A){var w,x,C,T,O,S,_,L;return A||(A={}),A=u({},this.options,A),w={writer:this},w.pretty=A.pretty||!1,w.allowEmpty=A.allowEmpty||!1,w.indent=(x=A.indent)!=null?x:" ",w.newline=(C=A.newline)!=null?C:`
|
|
|
`,w.offset=(T=A.offset)!=null?T:0,w.dontPrettyTextNodes=(O=(S=A.dontPrettyTextNodes)!=null?S:A.dontprettytextnodes)!=null?O:0,w.spaceBeforeSlash=(_=(L=A.spaceBeforeSlash)!=null?L:A.spacebeforeslash)!=null?_:"",w.spaceBeforeSlash===!0&&(w.spaceBeforeSlash=" "),w.suppressPrettyCount=0,w.user={},w.state=m.None,w},g.prototype.indent=function(A,w,x){var C;return!w.pretty||w.suppressPrettyCount?"":w.pretty&&(C=(x||0)+w.offset+1,C>0)?new Array(C).join(w.indent):""},g.prototype.endline=function(A,w,x){return!w.pretty||w.suppressPrettyCount?"":w.newline},g.prototype.attribute=function(A,w,x){var C;return this.openAttribute(A,w,x),C=" "+A.name+'="'+A.value+'"',this.closeAttribute(A,w,x),C},g.prototype.cdata=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x)+"<![CDATA[",w.state=m.InsideTag,C+=A.value,w.state=m.CloseTag,C+="]]>"+this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.comment=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x)+"<!-- ",w.state=m.InsideTag,C+=A.value,w.state=m.CloseTag,C+=" -->"+this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.declaration=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x)+"<?xml",w.state=m.InsideTag,C+=' version="'+A.version+'"',A.encoding!=null&&(C+=' encoding="'+A.encoding+'"'),A.standalone!=null&&(C+=' standalone="'+A.standalone+'"'),w.state=m.CloseTag,C+=w.spaceBeforeSlash+"?>",C+=this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.docType=function(A,w,x){var C,T,O,S,_;if(x||(x=0),this.openNode(A,w,x),w.state=m.OpenTag,S=this.indent(A,w,x),S+="<!DOCTYPE "+A.root().name,A.pubID&&A.sysID?S+=' PUBLIC "'+A.pubID+'" "'+A.sysID+'"':A.sysID&&(S+=' SYSTEM "'+A.sysID+'"'),A.children.length>0){for(S+=" [",S+=this.endline(A,w,x),w.state=m.InsideTag,_=A.children,T=0,O=_.length;T<O;T++)C=_[T],S+=this.writeChildNode(C,w,x+1);w.state=m.CloseTag,S+="]"}return w.state=m.CloseTag,S+=w.spaceBeforeSlash+">",S+=this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),S},g.prototype.element=function(A,w,x){var C,T,O,S,_,L,D,F,j,k,K,Z,B,V;x||(x=0),k=!1,K="",this.openNode(A,w,x),w.state=m.OpenTag,K+=this.indent(A,w,x)+"<"+A.name,Z=A.attribs;for(j in Z){if(!h.call(Z,j))continue;C=Z[j],K+=this.attribute(C,w,x)}if(O=A.children.length,S=O===0?null:A.children[0],O===0||A.children.every(function(z){return(z.type===y.Text||z.type===y.Raw)&&z.value===""}))w.allowEmpty?(K+=">",w.state=m.CloseTag,K+="</"+A.name+">"+this.endline(A,w,x)):(w.state=m.CloseTag,K+=w.spaceBeforeSlash+"/>"+this.endline(A,w,x));else if(w.pretty&&O===1&&(S.type===y.Text||S.type===y.Raw)&&S.value!=null)K+=">",w.state=m.InsideTag,w.suppressPrettyCount++,k=!0,K+=this.writeChildNode(S,w,x+1),w.suppressPrettyCount--,k=!1,w.state=m.CloseTag,K+="</"+A.name+">"+this.endline(A,w,x);else{if(w.dontPrettyTextNodes){for(B=A.children,_=0,D=B.length;_<D;_++)if(T=B[_],(T.type===y.Text||T.type===y.Raw)&&T.value!=null){w.suppressPrettyCount++,k=!0;break}}for(K+=">"+this.endline(A,w,x),w.state=m.InsideTag,V=A.children,L=0,F=V.length;L<F;L++)T=V[L],K+=this.writeChildNode(T,w,x+1);w.state=m.CloseTag,K+=this.indent(A,w,x)+"</"+A.name+">",k&&w.suppressPrettyCount--,K+=this.endline(A,w,x),w.state=m.None}return this.closeNode(A,w,x),K},g.prototype.writeChildNode=function(A,w,x){switch(A.type){case y.CData:return this.cdata(A,w,x);case y.Comment:return this.comment(A,w,x);case y.Element:return this.element(A,w,x);case y.Raw:return this.raw(A,w,x);case y.Text:return this.text(A,w,x);case y.ProcessingInstruction:return this.processingInstruction(A,w,x);case y.Dummy:return"";case y.Declaration:return this.declaration(A,w,x);case y.DocType:return this.docType(A,w,x);case y.AttributeDeclaration:return this.dtdAttList(A,w,x);case y.ElementDeclaration:return this.dtdElement(A,w,x);case y.EntityDeclaration:return this.dtdEntity(A,w,x);case y.NotationDeclaration:return this.dtdNotation(A,w,x);default:throw new Error("Unknown XML node type: "+A.constructor.name)}},g.prototype.processingInstruction=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x)+"<?",w.state=m.InsideTag,C+=A.target,A.value&&(C+=" "+A.value),w.state=m.CloseTag,C+=w.spaceBeforeSlash+"?>",C+=this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.raw=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x),w.state=m.InsideTag,C+=A.value,w.state=m.CloseTag,C+=this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.text=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x),w.state=m.InsideTag,C+=A.value,w.state=m.CloseTag,C+=this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.dtdAttList=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x)+"<!ATTLIST",w.state=m.InsideTag,C+=" "+A.elementName+" "+A.attributeName+" "+A.attributeType,A.defaultValueType!=="#DEFAULT"&&(C+=" "+A.defaultValueType),A.defaultValue&&(C+=' "'+A.defaultValue+'"'),w.state=m.CloseTag,C+=w.spaceBeforeSlash+">"+this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.dtdElement=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x)+"<!ELEMENT",w.state=m.InsideTag,C+=" "+A.name+" "+A.value,w.state=m.CloseTag,C+=w.spaceBeforeSlash+">"+this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.dtdEntity=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x)+"<!ENTITY",w.state=m.InsideTag,A.pe&&(C+=" %"),C+=" "+A.name,A.value?C+=' "'+A.value+'"':(A.pubID&&A.sysID?C+=' PUBLIC "'+A.pubID+'" "'+A.sysID+'"':A.sysID&&(C+=' SYSTEM "'+A.sysID+'"'),A.nData&&(C+=" NDATA "+A.nData)),w.state=m.CloseTag,C+=w.spaceBeforeSlash+">"+this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.dtdNotation=function(A,w,x){var C;return this.openNode(A,w,x),w.state=m.OpenTag,C=this.indent(A,w,x)+"<!NOTATION",w.state=m.InsideTag,C+=" "+A.name,A.pubID&&A.sysID?C+=' PUBLIC "'+A.pubID+'" "'+A.sysID+'"':A.pubID?C+=' PUBLIC "'+A.pubID+'"':A.sysID&&(C+=' SYSTEM "'+A.sysID+'"'),w.state=m.CloseTag,C+=w.spaceBeforeSlash+">"+this.endline(A,w,x),w.state=m.None,this.closeNode(A,w,x),C},g.prototype.openNode=function(A,w,x){},g.prototype.closeNode=function(A,w,x){},g.prototype.openAttribute=function(A,w,x){},g.prototype.closeAttribute=function(A,w,x){},g}()}).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(U,R,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t;t=U("./Utility"),l=t.assign,n=t.isFunction,E=U("./XMLDOMImplementation"),p=U("./XMLDocument"),v=U("./XMLDocumentCB"),d=U("./XMLStringWriter"),f=U("./XMLStreamWriter"),y=U("./NodeType"),m=U("./WriterState"),R.exports.create=function(a,s,r,c){var e,o;if(a==null)throw new Error("Root element needs a name.");return c=l({},s,r,c),e=new p(c),o=e.element(a),c.headless||(e.declaration(c),(c.pubID!=null||c.sysID!=null)&&e.dtd(c)),o},R.exports.begin=function(a,s,r){var c;return n(a)&&(c=[a,s],s=c[0],r=c[1],a={}),s?new v(a,s,r):new p(a)},R.exports.stringWriter=function(a){return new d(a)},R.exports.streamWriter=function(a,s){return new f(a,s)},R.exports.implementation=new E,R.exports.nodeType=y,R.exports.writerState=m}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(U,R,i){R.exports=m;var y=Object.prototype.hasOwnProperty;function m(){for(var E={},p=0;p<arguments.length;p++){var v=arguments[p];for(var f in v)y.call(v,f)&&(E[f]=v[f])}return E}},{}],284:[function(U,R,i){"use strict";var y=U("buffer").Buffer,m=U("./sha"),E=U("./md5"),p={sha1:m,md5:E},v=64,f=y.alloc(v);f.fill(0);function d(t,a,s){y.isBuffer(a)||(a=y.from(a)),y.isBuffer(s)||(s=y.from(s)),a.length>v?a=t(a):a.length<v&&(a=y.concat([a,f],v));for(var r=y.alloc(v),c=y.alloc(v),e=0;e<v;e++)r[e]=a[e]^54,c[e]=a[e]^92;var o=t(y.concat([r,s]));return t(y.concat([c,o]))}function l(t,a){t=t||"sha1";var s=p[t],r=[],c=0;return s||n("algorithm:",t,"is not yet supported"),{update:function(o){return y.isBuffer(o)||(o=y.from(o)),r.push(o),c+=o.length,this},digest:function(o){var u=y.concat(r),h=a?d(s,a,u):s(u);return r=null,o?h.toString(o):h}}}function n(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}i.createHash=function(t){return l(t)},i.createHmac=function(t,a){return l(t,a)},i.createCredentials=function(){n("sorry,createCredentials is not implemented yet")},i.createCipher=function(){n("sorry,createCipher is not implemented yet")},i.createCipheriv=function(){n("sorry,createCipheriv is not implemented yet")},i.createDecipher=function(){n("sorry,createDecipher is not implemented yet")},i.createDecipheriv=function(){n("sorry,createDecipheriv is not implemented yet")},i.createSign=function(){n("sorry,createSign is not implemented yet")},i.createVerify=function(){n("sorry,createVerify is not implemented yet")},i.createDiffieHellman=function(){n("sorry,createDiffieHellman is not implemented yet")},i.pbkdf2=function(){n("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(U,R,i){"use strict";var y=U("buffer").Buffer,m=4,E=y.alloc(m);E.fill(0);var p=8;function v(l,n){if(l.length%m!==0){var t=l.length+(m-l.length%m);l=y.concat([l,E],t)}for(var a=[],s=n?l.readInt32BE:l.readInt32LE,r=0;r<l.length;r+=m)a.push(s.call(l,r));return a}function f(l,n,t){for(var a=y.alloc(n),s=t?a.writeInt32BE:a.writeInt32LE,r=0;r<l.length;r++)s.call(a,l[r],r*4,!0);return a}function d(l,n,t,a){y.isBuffer(l)||(l=y.from(l));var s=n(v(l,a),l.length*p);return f(s,t,a)}R.exports={hash:d}},{buffer:73}],286:[function(U,R,i){"use strict";var y=U("./helpers");function m(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function E(a,s){a[s>>5]|=128<<s%32,a[(s+64>>>9<<4)+14]=s;for(var r=1732584193,c=-271733879,e=-1732584194,o=271733878,u=0;u<a.length;u+=16){var h=r,g=c,A=e,w=o;r=v(r,c,e,o,a[u+0],7,-680876936),o=v(o,r,c,e,a[u+1],12,-389564586),e=v(e,o,r,c,a[u+2],17,606105819),c=v(c,e,o,r,a[u+3],22,-1044525330),r=v(r,c,e,o,a[u+4],7,-176418897),o=v(o,r,c,e,a[u+5],12,1200080426),e=v(e,o,r,c,a[u+6],17,-1473231341),c=v(c,e,o,r,a[u+7],22,-45705983),r=v(r,c,e,o,a[u+8],7,1770035416),o=v(o,r,c,e,a[u+9],12,-1958414417),e=v(e,o,r,c,a[u+10],17,-42063),c=v(c,e,o,r,a[u+11],22,-1990404162),r=v(r,c,e,o,a[u+12],7,1804603682),o=v(o,r,c,e,a[u+13],12,-40341101),e=v(e,o,r,c,a[u+14],17,-1502002290),c=v(c,e,o,r,a[u+15],22,1236535329),r=f(r,c,e,o,a[u+1],5,-165796510),o=f(o,r,c,e,a[u+6],9,-1069501632),e=f(e,o,r,c,a[u+11],14,643717713),c=f(c,e,o,r,a[u+0],20,-373897302),r=f(r,c,e,o,a[u+5],5,-701558691),o=f(o,r,c,e,a[u+10],9,38016083),e=f(e,o,r,c,a[u+15],14,-660478335),c=f(c,e,o,r,a[u+4],20,-405537848),r=f(r,c,e,o,a[u+9],5,568446438),o=f(o,r,c,e,a[u+14],9,-1019803690),e=f(e,o,r,c,a[u+3],14,-187363961),c=f(c,e,o,r,a[u+8],20,1163531501),r=f(r,c,e,o,a[u+13],5,-1444681467),o=f(o,r,c,e,a[u+2],9,-51403784),e=f(e,o,r,c,a[u+7],14,1735328473),c=f(c,e,o,r,a[u+12],20,-1926607734),r=d(r,c,e,o,a[u+5],4,-378558),o=d(o,r,c,e,a[u+8],11,-2022574463),e=d(e,o,r,c,a[u+11],16,1839030562),c=d(c,e,o,r,a[u+14],23,-35309556),r=d(r,c,e,o,a[u+1],4,-1530992060),o=d(o,r,c,e,a[u+4],11,1272893353),e=d(e,o,r,c,a[u+7],16,-155497632),c=d(c,e,o,r,a[u+10],23,-1094730640),r=d(r,c,e,o,a[u+13],4,681279174),o=d(o,r,c,e,a[u+0],11,-358537222),e=d(e,o,r,c,a[u+3],16,-722521979),c=d(c,e,o,r,a[u+6],23,76029189),r=d(r,c,e,o,a[u+9],4,-640364487),o=d(o,r,c,e,a[u+12],11,-421815835),e=d(e,o,r,c,a[u+15],16,530742520),c=d(c,e,o,r,a[u+2],23,-995338651),r=l(r,c,e,o,a[u+0],6,-198630844),o=l(o,r,c,e,a[u+7],10,1126891415),e=l(e,o,r,c,a[u+14],15,-1416354905),c=l(c,e,o,r,a[u+5],21,-57434055),r=l(r,c,e,o,a[u+12],6,1700485571),o=l(o,r,c,e,a[u+3],10,-1894986606),e=l(e,o,r,c,a[u+10],15,-1051523),c=l(c,e,o,r,a[u+1],21,-2054922799),r=l(r,c,e,o,a[u+8],6,1873313359),o=l(o,r,c,e,a[u+15],10,-30611744),e=l(e,o,r,c,a[u+6],15,-1560198380),c=l(c,e,o,r,a[u+13],21,1309151649),r=l(r,c,e,o,a[u+4],6,-145523070),o=l(o,r,c,e,a[u+11],10,-1120210379),e=l(e,o,r,c,a[u+2],15,718787259),c=l(c,e,o,r,a[u+9],21,-343485551),r=n(r,h),c=n(c,g),e=n(e,A),o=n(o,w)}return Array(r,c,e,o)}function p(a,s,r,c,e,o){return n(t(n(n(s,a),n(c,o)),e),r)}function v(a,s,r,c,e,o,u){return p(s&r|~s&c,a,s,e,o,u)}function f(a,s,r,c,e,o,u){return p(s&c|r&~c,a,s,e,o,u)}function d(a,s,r,c,e,o,u){return p(s^r^c,a,s,e,o,u)}function l(a,s,r,c,e,o,u){return p(r^(s|~c),a,s,e,o,u)}function n(a,s){var r=(a&65535)+(s&65535),c=(a>>16)+(s>>16)+(r>>16);return c<<16|r&65535}function t(a,s){return a<<s|a>>>32-s}R.exports=function(s){return y.hash(s,E,16)}},{"./helpers":285}],287:[function(U,R,i){"use strict";var y=U("./helpers");function m(d,l){d[l>>5]|=128<<24-l%32,d[(l+64>>9<<4)+15]=l;for(var n=Array(80),t=1732584193,a=-271733879,s=-1732584194,r=271733878,c=-1009589776,e=0;e<d.length;e+=16){for(var o=t,u=a,h=s,g=r,A=c,w=0;w<80;w++){w<16?n[w]=d[e+w]:n[w]=f(n[w-3]^n[w-8]^n[w-14]^n[w-16],1);var x=v(v(f(t,5),E(w,a,s,r)),v(v(c,n[w]),p(w)));c=r,r=s,s=f(a,30),a=t,t=x}t=v(t,o),a=v(a,u),s=v(s,h),r=v(r,g),c=v(c,A)}return Array(t,a,s,r,c)}function E(d,l,n,t){return d<20?l&n|~l&t:d<40?l^n^t:d<60?l&n|l&t|n&t:l^n^t}function p(d){return d<20?1518500249:d<40?1859775393:d<60?-1894007588:-899497514}function v(d,l){var n=(d&65535)+(l&65535),t=(d>>16)+(l>>16)+(n>>16);return t<<16|n&65535}function f(d,l){return d<<l|d>>>32-l}R.exports=function(l){return y.hash(l,m,20,!0)}},{"./helpers":285}],288:[function(U,R,i){"use strict";R.exports=function(){return function(){}}},{}],289:[function(U,R,i){(function(y){"use strict";var m=U("babel-runtime/helpers/typeof"),E=p(m);function p(t){return t&&t.__esModule?t:{default:t}}var v=U("stream"),f=v.Stream,d=U("../lib/common/utils/isArray"),l=d.isArray;R.exports.string=function(a){return typeof a=="string"},R.exports.array=l,R.exports.buffer=y.isBuffer;function n(t){return t instanceof f}R.exports.writableStream=function(a){return n(a)&&typeof a._write=="function"&&(0,E.default)(a._writableState)==="object"}}).call(this,{isBuffer:U("../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(U,R,i){"use strict";i.encodeURIComponent=function(y){try{return encodeURIComponent(y)}catch(m){return y}},i.escape=U("escape-html"),i.timestamp=function(m){if(m){var E=m;return typeof E=="string"&&(E=Number(E)),String(m).length===10&&(E*=1e3),new Date(E)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(U,R,i){(function(y,m){"use strict";var E=U("babel-runtime/core-js/json/stringify"),p=d(E),v=U("babel-runtime/helpers/typeof"),f=d(v);function d(w){return w&&w.__esModule?w:{default:w}}var l=U("util"),n=U("url"),t=U("http"),a=U("https"),s=U("debug")("urllib"),r=U("humanize-ms"),c,e=0,o=Math.pow(2,31)-10,u=/^https?:\/\//i;function h(w,x){return w===void 0?x:w}function g(w,x){return function(C,T,O){if(C)return x(C);w({data:T,status:O.statusCode,headers:O.headers,res:O})}}i.TIMEOUTS=[r("300s"),r("300s")];var A=["json","text"];i.request=function(x,C,T){return arguments.length===2&&typeof C=="function"&&(T=C,C=null),typeof T=="function"?i.requestWithCallback(x,C,T):(c||(c=U("any-promise")),new c(function(O,S){i.requestWithCallback(x,C,g(O,S))}))},i.requestWithCallback=function(x,C,T){if(!x||typeof x!="string"&&(typeof x=="undefined"?"undefined":(0,f.default)(x))!=="object"){var O=l.format("expect request url to be a string or a http request options, but got %j",x);throw new Error(O)}arguments.length===2&&typeof C=="function"&&(T=C,C=null),C=C||{},e>=o&&(e=0);var S=++e;C.requestUrls=C.requestUrls||[];var _={requestId:S,url:x,args:C,ctx:C.ctx};C.emitter&&C.emitter.emit("request",_),C.timeout=C.timeout||i.TIMEOUTS,C.maxRedirects=C.maxRedirects||10,C.streaming=C.streaming||C.customResponse;var L=Date.now(),D;typeof x=="string"?(u.test(x)||(x="http://"+x),D=n.parse(x)):D=x;var F=(C.type||C.method||D.method||"GET").toUpperCase(),j=D.port||80,k=t,K=h(C.agent,i.agent),Z=C.fixJSONCtlChars;D.protocol==="https:"&&(k=a,K=h(C.httpsAgent,i.httpsAgent),D.port||(j=443));var B={host:D.hostname||D.host||"localhost",path:D.path||"/",method:F,port:j,agent:K,headers:C.headers||{},lookup:C.lookup};Array.isArray(C.timeout)?B.requestTimeout=C.timeout[C.timeout.length-1]:typeof C.timeout!="undefined"&&(B.requestTimeout=C.timeout);for(var V=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],z=0;z<V.length;z++){var X=V[z];C.hasOwnProperty(X)&&(B[X]=C[X])}B.rejectUnauthorized===!1&&!B.hasOwnProperty("secureOptions")&&(B.secureOptions=U("constants").SSL_OP_NO_TLSv1_2);var W=C.auth||D.auth;W&&(B.auth=W);var q=C.content||C.data,Y=F==="GET"||F==="HEAD"||C.dataAsQueryString;if(!C.content&&(q&&!(typeof q=="string"||m.isBuffer(q))))if(Y)q=C.nestedQuerystring?qs.stringify(q):querystring.stringify(q);else{var re=B.headers["Content-Type"]||B.headers["content-type"];re||(C.contentType==="json"?re="application/json":re="application/x-www-form-urlencoded",B.headers["Content-Type"]=re),parseContentType(re).type==="application/json"?q=(0,p.default)(q):q=C.nestedQuerystring?qs.stringify(q):querystring.stringify(q)}Y&&q&&(B.path+=(D.query?"&":"?")+q,q=null);var ne=0;if(q){var we=q.length;m.isBuffer(q)||(we=m.byteLength(q)),ne=B.headers["Content-Length"]=we}C.dataType==="json"&&(B.headers.Accept="application/json"),typeof C.beforeRequest=="function"&&C.beforeRequest(B);var ie=null,me=null,_e=null,Te=!1,We=!1,Ae=0,je=-1,ee=!1,he="",Ze="",oe=null;C.timing&&(oe={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Q(){ie&&(clearTimeout(ie),ie=null)}function G(){me&&(clearTimeout(me),me=null)}function te(Pe,It,nt){if(G(),!T){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),S,y.pid,B.method,x),Pe&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),S,y.pid,Pe.name,Pe.message,Pe.stack);return}var Nt=T;T=null;var Bt={};if(nt&&(je=nt.statusCode,Bt=nt.headers),je===401&&Bt["www-authenticate"]&&(!C.headers||!C.headers.Authorization)&&C.digestAuth){var Pt=Bt["www-authenticate"];if(Pt.indexOf("Digest ")>=0)return s("Request#%d %s: got digest auth header WWW-Authenticate: %s",S,x,Pt),C.headers=C.headers||{},C.headers.Authorization=digestAuthHeader(B.method,B.path,Pt,C.digestAuth),s("Request#%d %s: auth with digest header: %s",S,x,C.headers.Authorization),nt.headers["set-cookie"]&&(C.headers.Cookie=nt.headers["set-cookie"].join(";")),i.requestWithCallback(x,C,Nt)}var jt=Date.now()-L;oe&&(oe.contentDownload=jt),s("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",jt,Ae,je,B.method,B.host,B.path,We,oe);var er={status:je,statusCode:je,headers:Bt,size:Ae,aborted:ee,rt:jt,keepAliveSocket:We,data:It,requestUrls:C.requestUrls,timing:oe,remoteAddress:he,remotePort:Ze};if(Pe){var at="";K&&typeof K.getCurrentStatus=="function"&&(at=", agent status: "+(0,p.default)(K.getCurrentStatus())),Pe.message+=", "+B.method+" "+x+" "+je+" (connected: "+Te+", keepalive socket: "+We+at+`)
|
|
|
headers: `+(0,p.default)(Bt),Pe.data=It,Pe.path=B.path,Pe.status=je,Pe.headers=Bt,Pe.res=er}Nt(Pe,It,C.streaming?nt:er),C.emitter&&(_.url=x,_.socket=gt&>.connection,_.options=B,_.size=ne,C.emitter.emit("response",{requestId:S,error:Pe,ctx:C.ctx,req:_,res:er}))}function xe(Pe){var It=null;if(C.followRedirect&&statuses.redirect[Pe.statusCode]){C._followRedirectCount=(C._followRedirectCount||0)+1;var nt=Pe.headers.location;if(!nt)It=new Error("Got statusCode "+Pe.statusCode+" but cannot resolve next location from headers"),It.name="FollowRedirectError";else if(C._followRedirectCount>C.maxRedirects)It=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+x),It.name="MaxRedirectError";else{var Nt=C.formatRedirectUrl?C.formatRedirectUrl(x,nt):n.resolve(x,nt);s("Request#%d %s: `redirected` from %s to %s",S,B.path,x,Nt),G(),C.headers&&C.headers.Host&&u.test(nt)&&(C.headers.Host=null);var Bt=T;return T=null,i.requestWithCallback(Nt,C,Bt),{redirect:!0,error:null}}}return{redirect:!1,error:It}}!B.headers["User-Agent"]&&!B.headers["user-agent"]&&(B.headers["User-Agent"]=navigator.userAgent),C.gzip&&(!B.headers["Accept-Encoding"]&&!B.headers["accept-encoding"]&&(B.headers["Accept-Encoding"]="gzip"));function fe(Pe,It,nt){var Nt=Pe.headers["content-encoding"];return nt(null,It,Nt)}var Be=C.writeStream;s("Request#%d %s %s with headers %j, options.path: %s",S,F,x,B.headers,B.path),C.requestUrls.push(x);function Ne(Pe){if(oe&&(oe.waiting=Date.now()-L),s("Request#%d %s `req response` event emit: status %d, headers: %j",S,x,Pe.statusCode,Pe.headers),C.streaming){var It=xe(Pe);if(It.redirect){Pe.resume();return}return It.error?(Pe.resume(),te(It.error,null,Pe)):te(null,null,Pe)}if(Pe.on("close",function(){s("Request#%d %s: `res close` event emit, total size %d",S,x,Ae)}),Pe.on("error",function(){s("Request#%d %s: `res error` event emit, total size %d",S,x,Ae)}),Pe.on("aborted",function(){ee=!0,s("Request#%d %s: `res aborted` event emit, total size %d",S,x,Ae)}),Be){var It=xe(Pe);if(It.redirect){Pe.resume();return}return It.error?(Pe.resume(),Be.end(),te(It.error,null,Pe)):(C.consumeWriteStream===!1?Pe.on("end",te.bind(null,null,null,Pe)):isNode010||isNode012?first([[Be,"close"],[Pe,"aborted"]],function(Bt,Pt,jt){s("Request#%d %s: writeStream or res %s event emitted",S,x,jt),te(_e||null,null,Pe)}):Be.on("close",function(){s("Request#%d %s: writeStream close event emitted",S,x),te(_e||null,null,Pe)}),Pe.pipe(Be))}var nt=[];Pe.on("data",function(Nt){s("Request#%d %s: `res data` event emit, size %d",S,x,Nt.length),Ae+=Nt.length,nt.push(Nt)}),Pe.on("end",function(){var Nt=m.concat(nt,Ae);if(s("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",S,x,Ae,Pe._dumped),_e)return te(_e,Nt,Pe);var Bt=xe(Pe);if(Bt.error)return te(Bt.error,Nt,Pe);if(Bt.redirect)return;fe(Pe,Nt,function(Pt,jt,er){if(Pt)return te(Pt,Nt,Pe);if(!er&&A.indexOf(C.dataType)>=0){try{jt=decodeBodyByCharset(jt,Pe)}catch(Ce){return s("decodeBodyByCharset error: %s",Ce),te(null,jt,Pe)}if(C.dataType==="json")if(Ae===0)jt=null;else{var at=parseJSON(jt,Z);at.error?Pt=at.error:jt=at.data}}ee&&s("Request#%d %s: Remote socket was terminated before `response.end()` was called",S,x),te(Pt,jt,Pe)})})}var de,ve;Array.isArray(C.timeout)?(de=r(C.timeout[0]),ve=r(C.timeout[1])):de=ve=r(C.timeout),s("ConnectTimeout: %d, ResponseTimeout: %d",de,ve);function Me(){s("Connect timer ticking, timeout: %d",de),ie=setTimeout(function(){ie=null,je===-1&&(je=-2);var Pe="Connect timeout for "+de+"ms",It="ConnectionTimeoutError";gt.socket||(It="SocketAssignTimeoutError",Pe+=", working sockets is full"),_e=new Error(Pe),_e.name=It,_e.requestId=S,s("ConnectTimeout: Request#%d %s %s: %s, connected: %s",S,x,_e.name,Pe,Te),ht()},de)}function qe(){s("Response timer ticking, timeout: %d",ve),me=setTimeout(function(){me=null;var Pe="Response timeout for "+ve+"ms",It="ResponseTimeoutError";_e=new Error(Pe),_e.name=It,_e.requestId=S,s("ResponseTimeout: Request#%d %s %s: %s, connected: %s",S,x,_e.name,Pe,Te),ht()},ve)}var gt;B.mode=C.mode?C.mode:"";try{gt=k.request(B,Ne)}catch(Pe){return te(Pe)}typeof window=="undefined"?Me():gt.on("requestTimeout",function(){je===-1&&(je=-2);var Pe="Connect timeout for "+de+"ms",It="ConnectionTimeoutError";_e=new Error(Pe),_e.name=It,_e.requestId=S,ht()});function ht(){s("Request#%d %s abort, connected: %s",S,x,Te),gt.socket||(_e.noSocket=!0,te(_e)),gt.abort()}return oe&>.on("finish",function(){oe.requestSent=Date.now()-L}),gt.once("socket",function(Pe){oe&&(oe.queuing=Date.now()-L),isNode010&&Pe.socket&&(Pe=Pe.socket);var It=Pe.readyState;if(It==="opening"){Pe.once("lookup",function(nt,Nt,Bt){s("Request#%d %s lookup: %s, %s, %s",S,x,nt,Nt,Bt),oe&&(oe.dnslookup=Date.now()-L),Nt&&(he=Nt)}),Pe.once("connect",function(){oe&&(oe.connected=Date.now()-L),Q(),qe(),s("Request#%d %s new socket connected",S,x),Te=!0,he||(he=Pe.remoteAddress),Ze=Pe.remotePort});return}s("Request#%d %s reuse socket connected, readyState: %s",S,x,It),Te=!0,We=!0,he||(he=Pe.remoteAddress),Ze=Pe.remotePort,Q(),qe()}),gt.on("error",function(Pe){(Pe.name==="Error"||Pe.name==="TypeError")&&(Pe.name=Te?"ResponseError":"RequestError"),Pe.message+=' (req "error")',s("Request#%d %s `req error` event emit, %s: %s",S,x,Pe.name,Pe.message),te(_e||Pe)}),Be&&Be.once("error",function(Pe){Pe.message+=' (writeStream "error")',_e=Pe,s("Request#%d %s `writeStream error` event emit, %s: %s",S,x,Pe.name,Pe.message),ht()}),C.stream?(C.stream.pipe(gt),C.stream.once("error",function(Pe){Pe.message+=' (stream "error")',_e=Pe,s("Request#%d %s `readStream error` event emit, %s: %s",S,x,Pe.name,Pe.message),ht()})):gt.end(q),gt.requestId=S,gt}}).call(this,U("_process"),U("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(U,R,i){var y=i("hX1E"),m=y.normalizeRadian,E=Math.PI*2;function p(v,f,d,l,n,t,a,s,r){if(a===0)return!1;var c=a;s-=v,r-=f;var e=Math.sqrt(s*s+r*r);if(e-c>d||e+c<d)return!1;if(Math.abs(l-n)%E<1e-4)return!0;if(t){var o=l;l=m(n),n=m(o)}else l=m(l),n=m(n);l>n&&(n+=E);var u=Math.atan2(r,s);return u<0&&(u+=E),u>=l&&u<=n||u+E>=l&&u+E<=n}R.containStroke=p},n4Lv:function(U,R,i){var y=i("7hqr"),m=y.isDimensionStacked,E=i("bYtY"),p=E.map;function v(l,n,t){var a=l.getBaseAxis(),s=l.getOtherAxis(a),r=f(s,t),c=a.dim,e=s.dim,o=n.mapDimension(e),u=n.mapDimension(c),h=e==="x"||e==="radius"?1:0,g=p(l.dimensions,function(x){return n.mapDimension(x)}),A,w=n.getCalculationInfo("stackResultDimension");return(A|=m(n,g[0]))&&(g[0]=w),(A|=m(n,g[1]))&&(g[1]=w),{dataDimsForPoint:g,valueStart:r,valueAxisDim:e,baseAxisDim:c,stacked:!!A,valueDim:o,baseDim:u,baseDataOffset:h,stackedOverDimension:n.getCalculationInfo("stackedOverDimension")}}function f(l,n){var t=0,a=l.scale.getExtent();return n==="start"?t=a[0]:n==="end"?t=a[1]:a[0]>0?t=a[0]:a[1]<0&&(t=a[1]),t}function d(l,n,t,a){var s=NaN;l.stacked&&(s=t.get(t.getCalculationInfo("stackedOverDimension"),a)),isNaN(s)&&(s=l.valueStart);var r=l.baseDataOffset,c=[];return c[r]=t.get(l.baseDim,a),c[1-r]=s,n.dataToPoint(c)}R.prepareDataCoordInfo=v,R.getStackedOnPoint=d},n6Mw:function(U,R,i){var y=i("SrGk"),m=i("bYtY"),E=i("Fofx");function p(f,d){y.call(this,f,d,"clipPath","__clippath_in_use__")}m.inherits(p,y),p.prototype.update=function(f){var d=this.getSvgElement(f);d&&this.updateDom(d,f.__clipPaths,!1);var l=this.getTextSvgElement(f);l&&this.updateDom(l,f.__clipPaths,!0),this.markUsed(f)},p.prototype.updateDom=function(f,d,l){if(d&&d.length>0){var n=this.getDefs(!0),t=d[0],a,s,r=l?"_textDom":"_dom";t[r]?(s=t[r].getAttribute("id"),a=t[r],n.contains(a)||n.appendChild(a)):(s="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,a=this.createElement("clipPath"),a.setAttribute("id",s),n.appendChild(a),t[r]=a);var c=this.getSvgProxy(t);if(t.transform&&t.parent.invTransform&&!l){var e=Array.prototype.slice.call(t.transform);E.mul(t.transform,t.parent.invTransform,t.transform),c.brush(t),t.transform=e}else c.brush(t);var o=this.getSvgElement(t);a.innerHTML="",a.appendChild(o.cloneNode()),f.setAttribute("clip-path","url(#"+s+")"),d.length>1&&this.updateDom(a,d.slice(1),l)}else f&&f.setAttribute("clip-path","none")},p.prototype.markUsed=function(f){var d=this;f.__clipPaths&&m.each(f.__clipPaths,function(l){l._dom&&y.prototype.markUsed.call(d,l._dom),l._textDom&&y.prototype.markUsed.call(d,l._textDom)})};var v=p;U.exports=v},nCxF:function(U,R,i){var y=i("QBsz"),m=y.min,E=y.max,p=y.scale,v=y.distance,f=y.add,d=y.clone,l=y.sub;function n(t,a,s,r){var c=[],e=[],o=[],u=[],h,g,A,w;if(r){A=[Infinity,Infinity],w=[-Infinity,-Infinity];for(var x=0,C=t.length;x<C;x++)m(A,A,t[x]),E(w,w,t[x]);m(A,A,r[0]),E(w,w,r[1])}for(var x=0,C=t.length;x<C;x++){var T=t[x];if(s)h=t[x?x-1:C-1],g=t[(x+1)%C];else if(x===0||x===C-1){c.push(d(t[x]));continue}else h=t[x-1],g=t[x+1];l(e,g,h),p(e,e,a);var O=v(T,h),S=v(T,g),_=O+S;_!==0&&(O/=_,S/=_),p(o,e,-O),p(u,e,S);var L=f([],T,o),D=f([],T,u);r&&(E(L,L,A),m(L,L,w),E(D,D,A),m(D,D,w)),c.push(L),c.push(D)}return s&&c.push(c.shift()),c}U.exports=n},nKiI:function(U,R,i){var y=i("bYtY"),m=i("mFDi"),E=i("OELB"),p=E.parsePercent,v=E.MAX_SAFE_INTEGER,f=i("+TT/"),d=i("VaxA"),l=Math.max,n=Math.min,t=y.retrieve,a=y.each,s=["itemStyle","borderWidth"],r=["itemStyle","gapWidth"],c=["upperLabel","show"],e=["upperLabel","height"],o={seriesType:"treemap",reset:function(L,D,F,j){var k=F.getWidth(),K=F.getHeight(),Z=L.option,B=f.getLayoutRect(L.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()}),V=Z.size||[],z=p(t(B.width,V[0]),k),X=p(t(B.height,V[1]),K),W=j&&j.type,q=["treemapZoomToNode","treemapRootToNode"],Y=d.retrieveTargetInfo(j,q,L),re=W==="treemapRender"||W==="treemapMove"?j.rootRect:null,ne=L.getViewRoot(),we=d.getPathToRoot(ne);if(W!=="treemapMove"){var ie=W==="treemapZoomToNode"?T(L,Y,ne,z,X):re?[re.width,re.height]:[z,X],me=Z.sort;me&&me!=="asc"&&me!=="desc"&&(me="desc");var _e={squareRatio:Z.squareRatio,sort:me,leafDepth:Z.leafDepth};ne.hostTree.clearLayouts();var Te={x:0,y:0,width:ie[0],height:ie[1],area:ie[0]*ie[1]};ne.setLayout(Te),u(ne,_e,!1,0);var Te=ne.getLayout();a(we,function(Ae,je){var ee=(we[je+1]||ne).getValue();Ae.setLayout(y.extend({dataExtent:[ee,ee],borderWidth:0,upperHeight:0},Te))})}var We=L.getData().tree.root;We.setLayout(O(B,re,Y),!0),L.setLayoutInfo(B),S(We,new m(-B.x,-B.y,k,K),we,ne,0)}};function u(L,D,F,j){var k,K;if(L.isRemoved())return;var Z=L.getLayout();k=Z.width,K=Z.height;var B=L.getModel(),V=B.get(s),z=B.get(r)/2,X=_(B),W=Math.max(V,X),q=V-z,Y=W-z,B=L.getModel();L.setLayout({borderWidth:V,upperHeight:W,upperLabelHeight:X},!0),k=l(k-2*q,0),K=l(K-q-Y,0);var re=k*K,ne=h(L,B,re,D,F,j);if(!ne.length)return;var we={x:q,y:Y,width:k,height:K},ie=n(k,K),me=Infinity,_e=[];_e.area=0;for(var Te=0,We=ne.length;Te<We;){var Ae=ne[Te];_e.push(Ae),_e.area+=Ae.getLayout().area;var je=x(_e,ie,D.squareRatio);je<=me?(Te++,me=je):(_e.area-=_e.pop().getLayout().area,C(_e,ie,we,z,!1),ie=n(we.width,we.height),_e.length=_e.area=0,me=Infinity)}if(_e.length&&C(_e,ie,we,z,!0),!F){var ee=B.get("childrenVisibleMin");ee!=null&&re<ee&&(F=!0)}for(var Te=0,We=ne.length;Te<We;Te++)u(ne[Te],D,F,j+1)}function h(L,D,F,j,k,K){var Z=L.children||[],B=j.sort;B!=="asc"&&B!=="desc"&&(B=null);var V=j.leafDepth!=null&&j.leafDepth<=K;if(k&&!V)return L.viewChildren=[];Z=y.filter(Z,function(Y){return!Y.isRemoved()}),A(Z,B);var z=w(D,Z,B);if(z.sum===0)return L.viewChildren=[];if(z.sum=g(D,F,z.sum,B,Z),z.sum===0)return L.viewChildren=[];for(var X=0,W=Z.length;X<W;X++){var q=Z[X].getValue()/z.sum*F;Z[X].setLayout({area:q})}return V&&(Z.length&&L.setLayout({isLeafRoot:!0},!0),Z.length=0),L.viewChildren=Z,L.setLayout({dataExtent:z.dataExtent},!0),Z}function g(L,D,F,j,k){if(!j)return F;for(var K=L.get("visibleMin"),Z=k.length,B=Z,V=Z-1;V>=0;V--){var z=k[j==="asc"?Z-V-1:V].getValue();z/F*D<K&&(B=V,F-=z)}return j==="asc"?k.splice(0,Z-B):k.splice(B,Z-B),F}function A(L,D){return D&&L.sort(function(F,j){var k=D==="asc"?F.getValue()-j.getValue():j.getValue()-F.getValue();return k===0?D==="asc"?F.dataIndex-j.dataIndex:j.dataIndex-F.dataIndex:k}),L}function w(L,D,F){for(var j=0,k=0,K=D.length;k<K;k++)j+=D[k].getValue();var Z=L.get("visualDimension"),B;if(!D||!D.length)B=[NaN,NaN];else if(Z==="value"&&F)B=[D[D.length-1].getValue(),D[0].getValue()],F==="asc"&&B.reverse();else{var B=[Infinity,-Infinity];a(D,function(z){var X=z.getValue(Z);X<B[0]&&(B[0]=X),X>B[1]&&(B[1]=X)})}return{sum:j,dataExtent:B}}function x(L,D,F){for(var j=0,k=Infinity,K=0,Z,B=L.length;K<B;K++)Z=L[K].getLayout().area,Z&&(Z<k&&(k=Z),Z>j&&(j=Z));var V=L.area*L.area,z=D*D*F;return V?l(z*j/V,V/(z*k)):Infinity}function C(L,D,F,j,k){var K=D===F.width?0:1,Z=1-K,B=["x","y"],V=["width","height"],z=F[B[K]],X=D?L.area/D:0;(k||X>F[V[Z]])&&(X=F[V[Z]]);for(var W=0,q=L.length;W<q;W++){var Y=L[W],re={},ne=X?Y.getLayout().area/X:0,we=re[V[Z]]=l(X-2*j,0),ie=F[B[K]]+F[V[K]]-z,me=W===q-1||ie<ne?ie:ne,_e=re[V[K]]=l(me-2*j,0);re[B[Z]]=F[B[Z]]+n(j,we/2),re[B[K]]=z+n(j,_e/2),z+=me,Y.setLayout(re,!0)}F[B[Z]]+=X,F[V[Z]]-=X}function T(L,D,F,j,k){var K=(D||{}).node,Z=[j,k];if(!K||K===F)return Z;for(var B,V=j*k,z=V*L.option.zoomToNodeRatio;B=K.parentNode;){for(var X=0,W=B.children,q=0,Y=W.length;q<Y;q++)X+=W[q].getValue();var re=K.getValue();if(re===0)return Z;z*=X/re;var ne=B.getModel(),we=ne.get(s),ie=Math.max(we,_(ne,we));z+=4*we*we+(3*we+ie)*Math.pow(z,.5),z>v&&(z=v),K=B}z<V&&(z=V);var me=Math.pow(z/V,.5);return[j*me,k*me]}function O(L,D,F){if(D)return{x:D.x,y:D.y};var j={x:0,y:0};if(!F)return j;var k=F.node,K=k.getLayout();if(!K)return j;for(var Z=[K.width/2,K.height/2],B=k;B;){var V=B.getLayout();Z[0]+=V.x,Z[1]+=V.y,B=B.parentNode}return{x:L.width/2-Z[0],y:L.height/2-Z[1]}}function S(L,D,F,j,k){var K=L.getLayout(),Z=F[k],B=Z&&Z===L;if(Z&&!B||k===F.length&&L!==j)return;L.setLayout({isInView:!0,invisible:!B&&!D.intersect(K),isAboveViewRoot:B},!0);var V=new m(D.x-K.x,D.y-K.y,D.width,D.height);a(L.viewChildren||[],function(z){S(z,V,F,j,k+1)})}function _(L){return L.get(c)?L.get(e):0}U.exports=o},nPnh:function(U,R){var i=Math.round;function y(p,v,f){if(!v)return;var d=v.x1,l=v.x2,n=v.y1,t=v.y2;p.x1=d,p.x2=l,p.y1=n,p.y2=t;var a=f&&f.lineWidth;if(!a)return;i(d*2)===i(l*2)&&(p.x1=p.x2=E(d,a,!0)),i(n*2)===i(t*2)&&(p.y1=p.y2=E(n,a,!0))}function m(p,v,f){if(!v)return;var d=v.x,l=v.y,n=v.width,t=v.height;p.x=d,p.y=l,p.width=n,p.height=t;var a=f&&f.lineWidth;if(!a)return;p.x=E(d,a,!0),p.y=E(l,a,!0),p.width=Math.max(E(d+n,a,!1)-p.x,n===0?0:1),p.height=Math.max(E(l+t,a,!1)-p.y,t===0?0:1)}function E(p,v,f){if(!v)return p;var d=i(p*2);return(d+i(v))%2===0?d/2:(d+(f?1:-1))/2}R.subPixelOptimizeLine=y,R.subPixelOptimizeRect=m,R.subPixelOptimize=E},nRaC:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("0fbx"),p=i.n(E),v=i("OaEy"),f=i("R9oj")},nVfU:function(U,R,i){var y=i("bYtY"),m=i("OELB"),E=m.parsePercent,p=i("7hqr"),v=p.isDimensionStacked,f=i("zM3Q"),d="__ec_stack_",l=.5,n=typeof Float32Array!="undefined"?Float32Array:Array;function t(C){return C.get("stack")||d+C.seriesIndex}function a(C){return C.dim+C.index}function s(C){var T=[],O=C.axis,S="axis0";if(O.type!=="category")return;for(var _=O.getBandWidth(),L=0;L<C.count||0;L++)T.push(y.defaults({bandWidth:_,axisKey:S,stackId:d+L},C));for(var D=o(T),F=[],L=0;L<C.count;L++){var j=D[S][d+L];j.offsetCenter=j.offset+j.width/2,F.push(j)}return F}function r(C,T){var O=[];return T.eachSeriesByType(C,function(S){A(S)&&!w(S)&&O.push(S)}),O}function c(C){var T={};y.each(C,function(j){var k=j.coordinateSystem,K=k.getBaseAxis();if(K.type!=="time"&&K.type!=="value")return;for(var Z=j.getData(),B=K.dim+"_"+K.index,V=Z.mapDimension(K.dim),z=0,X=Z.count();z<X;++z){var W=Z.get(V,z);T[B]?T[B].push(W):T[B]=[W]}});var O=[];for(var S in T)if(T.hasOwnProperty(S)){var _=T[S];if(_){_.sort(function(j,k){return j-k});for(var L=null,D=1;D<_.length;++D){var F=_[D]-_[D-1];F>0&&(L=L===null?F:Math.min(L,F))}O[S]=L}}return O}function e(C){var T=c(C),O=[];return y.each(C,function(S){var _=S.coordinateSystem,L=_.getBaseAxis(),D=L.getExtent(),F;if(L.type==="category")F=L.getBandWidth();else if(L.type==="value"||L.type==="time"){var j=L.dim+"_"+L.index,k=T[j],K=Math.abs(D[1]-D[0]),Z=L.scale.getExtent(),B=Math.abs(Z[1]-Z[0]);F=k?K/B*k:K}else{var V=S.getData();F=Math.abs(D[1]-D[0])/V.count()}var z=E(S.get("barWidth"),F),X=E(S.get("barMaxWidth"),F),W=E(S.get("barMinWidth")||1,F),q=S.get("barGap"),Y=S.get("barCategoryGap");O.push({bandWidth:F,barWidth:z,barMaxWidth:X,barMinWidth:W,barGap:q,barCategoryGap:Y,axisKey:a(L),stackId:t(S)})}),o(O)}function o(C){var T={};y.each(C,function(S,_){var L=S.axisKey,D=S.bandWidth,F=T[L]||{bandWidth:D,remainedWidth:D,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},j=F.stacks;T[L]=F;var k=S.stackId;j[k]||F.autoWidthCount++,j[k]=j[k]||{width:0,maxWidth:0};var K=S.barWidth;K&&!j[k].width&&(j[k].width=K,K=Math.min(F.remainedWidth,K),F.remainedWidth-=K);var Z=S.barMaxWidth;Z&&(j[k].maxWidth=Z);var B=S.barMinWidth;B&&(j[k].minWidth=B);var V=S.barGap;V!=null&&(F.gap=V);var z=S.barCategoryGap;z!=null&&(F.categoryGap=z)});var O={};return y.each(T,function(S,_){O[_]={};var L=S.stacks,D=S.bandWidth,F=E(S.categoryGap,D),j=E(S.gap,1),k=S.remainedWidth,K=S.autoWidthCount,Z=(k-F)/(K+(K-1)*j);Z=Math.max(Z,0),y.each(L,function(X){var W=X.maxWidth,q=X.minWidth;if(X.width){var Y=X.width;W&&(Y=Math.min(Y,W)),q&&(Y=Math.max(Y,q)),X.width=Y,k-=Y+j*Y,K--}else{var Y=Z;W&&W<Y&&(Y=Math.min(W,k)),q&&q>Y&&(Y=q),Y!==Z&&(X.width=Y,k-=Y+j*Y,K--)}}),Z=(k-F)/(K+(K-1)*j),Z=Math.max(Z,0);var B=0,V;y.each(L,function(X,W){X.width||(X.width=Z),V=X,B+=X.width*(1+j)}),V&&(B-=V.width*j);var z=-B/2;y.each(L,function(X,W){O[_][W]=O[_][W]||{bandWidth:D,offset:z,width:X.width},z+=X.width*(1+j)})}),O}function u(C,T,O){if(C&&T){var S=C[a(T)];return S!=null&&O!=null&&(S=S[t(O)]),S}}function h(C,T){var O=r(C,T),S=e(O),_={},L={};y.each(O,function(D){var F=D.getData(),j=D.coordinateSystem,k=j.getBaseAxis(),K=t(D),Z=S[a(k)][K],B=Z.offset,V=Z.width,z=j.getOtherAxis(k),X=D.get("barMinHeight")||0;_[K]=_[K]||[],L[K]=L[K]||[],F.setLayout({bandWidth:Z.bandWidth,offset:B,size:V});for(var W=F.mapDimension(z.dim),q=F.mapDimension(k.dim),Y=v(F,W),re=z.isHorizontal(),ne=x(k,z,Y),we=0,ie=F.count();we<ie;we++){var me=F.get(W,we),_e=F.get(q,we),Te=me>=0?"p":"n",We=ne;Y&&(_[K][_e]||(_[K][_e]={p:ne,n:ne}),We=_[K][_e][Te]);var Ae,je,ee,he;if(re){var Ze=j.dataToPoint([me,_e]);Ae=We,je=Ze[1]+B,ee=Ze[0]-ne,he=V,Math.abs(ee)<X&&(ee=(ee<0?-1:1)*X),isNaN(ee)||Y&&(_[K][_e][Te]+=ee)}else{var Ze=j.dataToPoint([_e,me]);Ae=Ze[0]+B,je=We,ee=V,he=Ze[1]-ne,Math.abs(he)<X&&(he=(he<=0?-1:1)*X),isNaN(he)||Y&&(_[K][_e][Te]+=he)}F.setItemLayout(we,{x:Ae,y:je,width:ee,height:he})}},this)}var g={seriesType:"bar",plan:f(),reset:function(C){if(!A(C)||!w(C))return;var T=C.getData(),O=C.coordinateSystem,S=O.grid.getRect(),_=O.getBaseAxis(),L=O.getOtherAxis(_),D=T.mapDimension(L.dim),F=T.mapDimension(_.dim),j=L.isHorizontal(),k=j?0:1,K=u(e([C]),_,C).width;return K>l||(K=l),{progress:Z};function Z(B,V){for(var z=B.count,X=new n(z*2),W=new n(z*2),q=new n(z),Y,re=[],ne=[],we=0,ie=0;(Y=B.next())!=null;)ne[k]=V.get(D,Y),ne[1-k]=V.get(F,Y),re=O.dataToPoint(ne,null,re),W[we]=j?S.x+S.width:re[0],X[we++]=re[0],W[we]=j?re[1]:S.y+S.height,X[we++]=re[1],q[ie++]=Y;V.setLayout({largePoints:X,largeDataIndices:q,largeBackgroundPoints:W,barWidth:K,valueAxisStart:x(_,L,!1),backgroundStart:j?S.x:S.y,valueAxisHorizontal:j})}}};function A(C){return C.coordinateSystem&&C.coordinateSystem.type==="cartesian2d"}function w(C){return C.pipelineContext&&C.pipelineContext.large}function x(C,T,O){return T.toGlobalCoord(T.dataToCoord(T.type==="log"?1:0))}R.getLayoutOnAxis=s,R.prepareLayoutBarSeries=r,R.makeColumnLayout=e,R.retrieveColumnLayout=u,R.layout=h,R.largeLayout=g},ngQI:function(U,R,i){"use strict";i.d(R,"a",function(){return _d}),i.d(R,"b",function(){return Rd}),i.d(R,"c",function(){return Vr});var y=i("q1tI"),m=i.n(y),E=i("dI71"),p=i("wx14"),v=i("ANjH"),f=i("/MKj");function d(Fe,se){if(Fe.length!==se.length)return!1;for(var Ie=0;Ie<Fe.length;Ie++)if(Fe[Ie]!==se[Ie])return!1;return!0}function l(Fe,se){var Ie=Object(y.useState)(function(){return{inputs:se,result:Fe()}})[0],Je=Object(y.useRef)(!0),pt=Object(y.useRef)(Ie),kt=Je.current||Boolean(se&&pt.current.inputs&&d(se,pt.current.inputs)),Wt=kt?pt.current:{inputs:se,result:Fe()};return Object(y.useEffect)(function(){Je.current=!1,pt.current=Wt},[Wt]),Wt.result}function n(Fe,se){return l(function(){return Fe},se)}var t=l,a=n,s=i("9R94"),r=function(se){var Ie=se.top,Je=se.right,pt=se.bottom,kt=se.left,Wt=Je-kt,Kt=pt-Ie,Mr={top:Ie,right:Je,bottom:pt,left:kt,width:Wt,height:Kt,x:kt,y:Ie,center:{x:(Je+kt)/2,y:(pt+Ie)/2}};return Mr},c=function(se,Ie){return{top:se.top-Ie.top,left:se.left-Ie.left,bottom:se.bottom+Ie.bottom,right:se.right+Ie.right}},e=function(se,Ie){return{top:se.top+Ie.top,left:se.left+Ie.left,bottom:se.bottom-Ie.bottom,right:se.right-Ie.right}},o=function(se,Ie){return{top:se.top+Ie.y,left:se.left+Ie.x,bottom:se.bottom+Ie.y,right:se.right+Ie.x}},u={top:0,right:0,bottom:0,left:0},h=function(se){var Ie=se.borderBox,Je=se.margin,pt=Je===void 0?u:Je,kt=se.border,Wt=kt===void 0?u:kt,Kt=se.padding,Mr=Kt===void 0?u:Kt,Kr=r(c(Ie,pt)),Ir=r(e(Ie,Wt)),Er=r(e(Ir,Mr));return{marginBox:Kr,borderBox:r(Ie),paddingBox:Ir,contentBox:Er,margin:pt,border:Wt,padding:Mr}},g=function(se){var Ie=se.slice(0,-2),Je=se.slice(-2);if(Je!=="px")return 0;var pt=Number(Ie);return isNaN(pt)&&Object(s.a)(!1),pt},A=function(){return{x:window.pageXOffset,y:window.pageYOffset}},w=function(se,Ie){var Je=se.borderBox,pt=se.border,kt=se.margin,Wt=se.padding,Kt=o(Je,Ie);return h({borderBox:Kt,border:pt,margin:kt,padding:Wt})},x=function(se,Ie){return Ie===void 0&&(Ie=A()),w(se,Ie)},C=function(se,Ie){var Je={top:g(Ie.marginTop),right:g(Ie.marginRight),bottom:g(Ie.marginBottom),left:g(Ie.marginLeft)},pt={top:g(Ie.paddingTop),right:g(Ie.paddingRight),bottom:g(Ie.paddingBottom),left:g(Ie.paddingLeft)},kt={top:g(Ie.borderTopWidth),right:g(Ie.borderRightWidth),bottom:g(Ie.borderBottomWidth),left:g(Ie.borderLeftWidth)};return h({borderBox:se,margin:Je,padding:pt,border:kt})},T=function(se){var Ie=se.getBoundingClientRect(),Je=window.getComputedStyle(se);return C(Ie,Je)},O=Number.isNaN||function(se){return typeof se=="number"&&se!==se};function S(Fe,se){return Fe===se?!0:!!(O(Fe)&&O(se))}function _(Fe,se){if(Fe.length!==se.length)return!1;for(var Ie=0;Ie<Fe.length;Ie++)if(!S(Fe[Ie],se[Ie]))return!1;return!0}function L(Fe,se){se===void 0&&(se=_);var Ie,Je=[],pt,kt=!1;function Wt(){for(var Kt=[],Mr=0;Mr<arguments.length;Mr++)Kt[Mr]=arguments[Mr];return kt&&Ie===this&&se(Kt,Je)||(pt=Fe.apply(this,Kt),kt=!0,Ie=this,Je=Kt),pt}return Wt}var D=L,F=function(se){var Ie=[],Je=null,pt=function(){for(var Wt=arguments.length,Kt=new Array(Wt),Mr=0;Mr<Wt;Mr++)Kt[Mr]=arguments[Mr];if(Ie=Kt,Je)return;Je=requestAnimationFrame(function(){Je=null,se.apply(void 0,Ie)})};return pt.cancel=function(){if(!Je)return;cancelAnimationFrame(Je),Je=null},pt},j=F,k=i("i8i4"),K=i.n(k),Z=!0,B=/[ \t]{2,}/g,V=/^[ \t]*/gm,z=function(se){return se.replace(B," ").replace(V,"").trim()},X=function(se){return z(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+z(se)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},W=function(se){return[X(se),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},q="__react-beautiful-dnd-disable-dev-warnings";function Y(Fe,se){var Ie;if(Z)return;if(typeof window!="undefined"&&window[q])return;(Ie=console)[Fe].apply(Ie,W(se))}var re=Y.bind(null,"warn"),ne=Y.bind(null,"error");function we(){}function ie(Fe,se){return Object(p.a)({},Fe,{},se)}function me(Fe,se,Ie){var Je=se.map(function(pt){var kt=ie(Ie,pt.options);return Fe.addEventListener(pt.eventName,pt.fn,kt),function(){Fe.removeEventListener(pt.eventName,pt.fn,kt)}});return function(){Je.forEach(function(kt){kt()})}}var _e=!0,Te="Invariant failed";function We(Fe){this.message=Fe}We.prototype.toString=function(){return this.message};function Ae(Fe,se){if(Fe)return;throw _e?new We(Te):new We(Te+": "+(se||""))}var je=function(Fe){Object(E.a)(se,Fe);function se(){for(var Je,pt=arguments.length,kt=new Array(pt),Wt=0;Wt<pt;Wt++)kt[Wt]=arguments[Wt];return Je=Fe.call.apply(Fe,[this].concat(kt))||this,Je.callbacks=null,Je.unbind=we,Je.onWindowError=function(Kt){var Mr=Je.getCallbacks();Mr.isDragging()&&Mr.tryAbort();var Kr=Kt.error;Kr instanceof We&&Kt.preventDefault()},Je.getCallbacks=function(){if(!Je.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return Je.callbacks},Je.setCallbacks=function(Kt){Je.callbacks=Kt},Je}var Ie=se.prototype;return Ie.componentDidMount=function(){this.unbind=me(window,[{eventName:"error",fn:this.onWindowError}])},Ie.componentWillUnmount=function(){this.unbind()},Ie.componentDidCatch=function(pt){if(pt instanceof We){this.setState({});return}throw pt},Ie.render=function(){return this.props.children(this.setCallbacks)},se}(m.a.Component),ee=`
|
|
|
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
|
|
|
`,he=function(se){return se+1},Ze=function(se){return`
|
|
|
You have lifted an item in position `+he(se.source.index)+`
|
|
|
`},oe=function(se,Ie){var Je=se.droppableId===Ie.droppableId,pt=he(se.index),kt=he(Ie.index);return Je?`
|
|
|
You have moved the item from position `+pt+`
|
|
|
to position `+kt+`
|
|
|
`:`
|
|
|
You have moved the item from position `+pt+`
|
|
|
in list `+se.droppableId+`
|
|
|
to list `+Ie.droppableId+`
|
|
|
in position `+kt+`
|
|
|
`},Q=function(se,Ie,Je){var pt=Ie.droppableId===Je.droppableId;return pt?`
|
|
|
The item `+se+`
|
|
|
has been combined with `+Je.draggableId:`
|
|
|
The item `+se+`
|
|
|
in list `+Ie.droppableId+`
|
|
|
has been combined with `+Je.draggableId+`
|
|
|
in list `+Je.droppableId+`
|
|
|
`},G=function(se){var Ie=se.destination;if(Ie)return oe(se.source,Ie);var Je=se.combine;return Je?Q(se.draggableId,se.source,Je):"You are over an area that cannot be dropped on"},te=function(se){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+he(se.index)+`
|
|
|
`},xe=function(se){if(se.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+te(se.source)+`
|
|
|
`;var Ie=se.destination,Je=se.combine;return Ie?`
|
|
|
You have dropped the item.
|
|
|
`+oe(se.source,Ie)+`
|
|
|
`:Je?`
|
|
|
You have dropped the item.
|
|
|
`+Q(se.draggableId,se.source,Je)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+te(se.source)+`
|
|
|
`},fe={dragHandleUsageInstructions:ee,onDragStart:Ze,onDragUpdate:G,onDragEnd:xe},Be={x:0,y:0},Ne=function(se,Ie){return{x:se.x+Ie.x,y:se.y+Ie.y}},de=function(se,Ie){return{x:se.x-Ie.x,y:se.y-Ie.y}},ve=function(se,Ie){return se.x===Ie.x&&se.y===Ie.y},Me=function(se){return{x:se.x!==0?-se.x:0,y:se.y!==0?-se.y:0}},qe=function(se,Ie,Je){var pt;return Je===void 0&&(Je=0),pt={},pt[se]=Ie,pt[se==="x"?"y":"x"]=Je,pt},gt=function(se,Ie){return Math.sqrt(Math.pow(Ie.x-se.x,2)+Math.pow(Ie.y-se.y,2))},ht=function(se,Ie){return Math.min.apply(Math,Ie.map(function(Je){return gt(se,Je)}))},Pe=function(se){return function(Ie){return{x:se(Ie.x),y:se(Ie.y)}}},It=function(se,Ie){var Je=r({top:Math.max(Ie.top,se.top),right:Math.min(Ie.right,se.right),bottom:Math.min(Ie.bottom,se.bottom),left:Math.max(Ie.left,se.left)});return Je.width<=0||Je.height<=0?null:Je},nt=function(se,Ie){return{top:se.top+Ie.y,left:se.left+Ie.x,bottom:se.bottom+Ie.y,right:se.right+Ie.x}},Nt=function(se){return[{x:se.left,y:se.top},{x:se.right,y:se.top},{x:se.left,y:se.bottom},{x:se.right,y:se.bottom}]},Bt={top:0,right:0,bottom:0,left:0},Pt=function(se,Ie){return Ie?nt(se,Ie.scroll.diff.displacement):se},jt=function(se,Ie,Je){if(Je&&Je.increasedBy){var pt;return Object(p.a)({},se,(pt={},pt[Ie.end]=se[Ie.end]+Je.increasedBy[Ie.line],pt))}return se},er=function(se,Ie){return Ie&&Ie.shouldClipSubject?It(Ie.pageMarginBox,se):r(se)},at=function(se){var Ie=se.page,Je=se.withPlaceholder,pt=se.axis,kt=se.frame,Wt=Pt(Ie.marginBox,kt),Kt=jt(Wt,pt,Je),Mr=er(Kt,kt);return{page:Ie,withPlaceholder:Je,active:Mr}},Ce=function(se,Ie){se.frame||Ae(!1);var Je=se.frame,pt=de(Ie,Je.scroll.initial),kt=Me(pt),Wt=Object(p.a)({},Je,{scroll:{initial:Je.scroll.initial,current:Ie,diff:{value:pt,displacement:kt},max:Je.scroll.max}}),Kt=at({page:se.subject.page,withPlaceholder:se.subject.withPlaceholder,axis:se.axis,frame:Wt}),Mr=Object(p.a)({},se,{frame:Wt,subject:Kt});return Mr};function ue(Fe){return Number.isInteger?Number.isInteger(Fe):typeof Fe=="number"&&isFinite(Fe)&&Math.floor(Fe)===Fe}function Dt(Fe){return Object.values?Object.values(Fe):Object.keys(Fe).map(function(se){return Fe[se]})}function rt(Fe,se){if(Fe.findIndex)return Fe.findIndex(se);for(var Ie=0;Ie<Fe.length;Ie++)if(se(Fe[Ie]))return Ie;return-1}function ye(Fe,se){if(Fe.find)return Fe.find(se);var Ie=rt(Fe,se);return Ie!==-1?Fe[Ie]:void 0}function Xt(Fe){return Array.prototype.slice.call(Fe)}var pr=D(function(Fe){return Fe.reduce(function(se,Ie){return se[Ie.descriptor.id]=Ie,se},{})}),mt=D(function(Fe){return Fe.reduce(function(se,Ie){return se[Ie.descriptor.id]=Ie,se},{})}),nr=D(function(Fe){return Dt(Fe)}),yr=D(function(Fe){return Dt(Fe)}),gn=D(function(Fe,se){var Ie=yr(se).filter(function(Je){return Fe===Je.descriptor.droppableId}).sort(function(Je,pt){return Je.descriptor.index-pt.descriptor.index});return Ie});function _r(Fe){return Fe.at&&Fe.at.type==="REORDER"?Fe.at.destination:null}function ur(Fe){return Fe.at&&Fe.at.type==="COMBINE"?Fe.at.combine:null}var zt=D(function(Fe,se){return se.filter(function(Ie){return Ie.descriptor.id!==Fe.descriptor.id})}),bt=function(se){var Ie=se.isMovingForward,Je=se.draggable,pt=se.destination,kt=se.insideDestination,Wt=se.previousImpact;if(!pt.isCombineEnabled)return null;var Kt=_r(Wt);if(!Kt)return null;function Mr(Ki){var Oa={type:"COMBINE",combine:{draggableId:Ki,droppableId:pt.descriptor.id}};return Object(p.a)({},Wt,{at:Oa})}var Kr=Wt.displaced.all,Ir=Kr.length?Kr[0]:null;if(Ie)return Ir?Mr(Ir):null;var Er=zt(Je,kt);if(!Ir){if(!Er.length)return null;var zr=Er[Er.length-1];return Mr(zr.descriptor.id)}var qr=rt(Er,function(Ki){return Ki.descriptor.id===Ir});qr!==-1||Ae(!1);var Nn=qr-1;if(Nn<0)return null;var wi=Er[Nn];return Mr(wi.descriptor.id)},ot=function(se,Ie){return se.descriptor.droppableId===Ie.descriptor.id},lr={point:Be,value:0},jr={invisible:{},visible:{},all:[]},Rr={displaced:jr,displacedBy:lr,at:null},xr=function(se,Ie){return function(Je){return se<=Je&&Je<=Ie}},Vn=function(se){var Ie=xr(se.top,se.bottom),Je=xr(se.left,se.right);return function(pt){var kt=Ie(pt.top)&&Ie(pt.bottom)&&Je(pt.left)&&Je(pt.right);if(kt)return!0;var Wt=Ie(pt.top)||Ie(pt.bottom),Kt=Je(pt.left)||Je(pt.right),Mr=Wt&&Kt;if(Mr)return!0;var Kr=pt.top<se.top&&pt.bottom>se.bottom,Ir=pt.left<se.left&&pt.right>se.right,Er=Kr&&Ir;if(Er)return!0;var zr=Kr&&Kt||Ir&&Wt;return zr}},bn=function(se){var Ie=xr(se.top,se.bottom),Je=xr(se.left,se.right);return function(pt){var kt=Ie(pt.top)&&Ie(pt.bottom)&&Je(pt.left)&&Je(pt.right);return kt}},di={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},lt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ct=function(se){return function(Ie){var Je=xr(Ie.top,Ie.bottom),pt=xr(Ie.left,Ie.right);return function(kt){return se===di?Je(kt.top)&&Je(kt.bottom):pt(kt.left)&&pt(kt.right)}}},Le=function(se,Ie){var Je=Ie.frame?Ie.frame.scroll.diff.displacement:Be;return nt(se,Je)},Ue=function(se,Ie,Je){return Ie.subject.active?Je(Ie.subject.active)(se):!1},Ye=function(se,Ie,Je){return Je(Ie)(se)},ft=function(se){var Ie=se.target,Je=se.destination,pt=se.viewport,kt=se.withDroppableDisplacement,Wt=se.isVisibleThroughFrameFn,Kt=kt?Le(Ie,Je):Ie;return Ue(Kt,Je,Wt)&&Ye(Kt,pt,Wt)},ir=function(se){return ft(Object(p.a)({},se,{isVisibleThroughFrameFn:Vn}))},Yt=function(se){return ft(Object(p.a)({},se,{isVisibleThroughFrameFn:bn}))},rr=function(se){return ft(Object(p.a)({},se,{isVisibleThroughFrameFn:ct(se.destination.axis)}))},Zr=function(se,Ie,Je){if(typeof Je=="boolean")return Je;if(!Ie)return!0;var pt=Ie.invisible,kt=Ie.visible;if(pt[se])return!1;var Wt=kt[se];return Wt?Wt.shouldAnimate:!0};function nn(Fe,se){var Ie=Fe.page.marginBox,Je={top:se.point.y,right:0,bottom:0,left:se.point.x};return r(c(Ie,Je))}function Pn(Fe){var se=Fe.afterDragging,Ie=Fe.destination,Je=Fe.displacedBy,pt=Fe.viewport,kt=Fe.forceShouldAnimate,Wt=Fe.last;return se.reduce(function(Mr,Kr){var Ir=nn(Kr,Je),Er=Kr.descriptor.id;Mr.all.push(Er);var zr=ir({target:Ir,destination:Ie,viewport:pt,withDroppableDisplacement:!0});if(!zr)return Mr.invisible[Kr.descriptor.id]=!0,Mr;var qr=Zr(Er,Wt,kt),Nn={draggableId:Er,shouldAnimate:qr};return Mr.visible[Er]=Nn,Mr},{all:[],visible:{},invisible:{}})}function qt(Fe,se){if(!Fe.length)return 0;var Ie=Fe[Fe.length-1].descriptor.index;return se.inHomeList?Ie:Ie+1}function St(Fe){var se=Fe.insideDestination,Ie=Fe.inHomeList,Je=Fe.displacedBy,pt=Fe.destination,kt=qt(se,{inHomeList:Ie});return{displaced:jr,displacedBy:Je,at:{type:"REORDER",destination:{droppableId:pt.descriptor.id,index:kt}}}}function At(Fe){var se=Fe.draggable,Ie=Fe.insideDestination,Je=Fe.destination,pt=Fe.viewport,kt=Fe.displacedBy,Wt=Fe.last,Kt=Fe.index,Mr=Fe.forceShouldAnimate,Kr=ot(se,Je);if(Kt==null)return St({insideDestination:Ie,inHomeList:Kr,displacedBy:kt,destination:Je});var Ir=ye(Ie,function(wi){return wi.descriptor.index===Kt});if(!Ir)return St({insideDestination:Ie,inHomeList:Kr,displacedBy:kt,destination:Je});var Er=zt(se,Ie),zr=Ie.indexOf(Ir),qr=Er.slice(zr),Nn=Pn({afterDragging:qr,destination:Je,displacedBy:kt,last:Wt,viewport:pt.frame,forceShouldAnimate:Mr});return{displaced:Nn,displacedBy:kt,at:{type:"REORDER",destination:{droppableId:Je.descriptor.id,index:Kt}}}}function cr(Fe,se){return Boolean(se.effected[Fe])}var or=function(se){var Ie=se.isMovingForward,Je=se.destination,pt=se.draggables,kt=se.combine,Wt=se.afterCritical;if(!Je.isCombineEnabled)return null;var Kt=kt.draggableId,Mr=pt[Kt],Kr=Mr.descriptor.index,Ir=cr(Kt,Wt);return Ir?Ie?Kr:Kr-1:Ie?Kr+1:Kr},Tt=function(se){var Ie=se.isMovingForward,Je=se.isInHomeList,pt=se.insideDestination,kt=se.location;if(!pt.length)return null;var Wt=kt.index,Kt=Ie?Wt+1:Wt-1,Mr=pt[0].descriptor.index,Kr=pt[pt.length-1].descriptor.index,Ir=Je?Kr:Kr+1;return Kt<Mr||Kt>Ir?null:Kt},Rt=function(se){var Ie=se.isMovingForward,Je=se.isInHomeList,pt=se.draggable,kt=se.draggables,Wt=se.destination,Kt=se.insideDestination,Mr=se.previousImpact,Kr=se.viewport,Ir=se.afterCritical,Er=Mr.at;if(Er||Ae(!1),Er.type==="REORDER"){var zr=Tt({isMovingForward:Ie,isInHomeList:Je,location:Er.destination,insideDestination:Kt});return zr==null?null:At({draggable:pt,insideDestination:Kt,destination:Wt,viewport:Kr,last:Mr.displaced,displacedBy:Mr.displacedBy,index:zr})}var qr=or({isMovingForward:Ie,destination:Wt,displaced:Mr.displaced,draggables:kt,combine:Er.combine,afterCritical:Ir});return qr==null?null:At({draggable:pt,insideDestination:Kt,destination:Wt,viewport:Kr,last:Mr.displaced,displacedBy:Mr.displacedBy,index:qr})},_t=function(se){var Ie=se.displaced,Je=se.afterCritical,pt=se.combineWith,kt=se.displacedBy,Wt=Boolean(Ie.visible[pt]||Ie.invisible[pt]);return cr(pt,Je)?Wt?Be:Me(kt.point):Wt?kt.point:Be},Zt=function(se){var Ie=se.afterCritical,Je=se.impact,pt=se.draggables,kt=ur(Je);kt||Ae(!1);var Wt=kt.draggableId,Kt=pt[Wt].page.borderBox.center,Mr=_t({displaced:Je.displaced,afterCritical:Ie,combineWith:Wt,displacedBy:Je.displacedBy});return Ne(Kt,Mr)},Nr=function(se,Ie){return Ie.margin[se.start]+Ie.borderBox[se.size]/2},Sr=function(se,Ie){return Ie.margin[se.end]+Ie.borderBox[se.size]/2},br=function(se,Ie,Je){return Ie[se.crossAxisStart]+Je.margin[se.crossAxisStart]+Je.borderBox[se.crossAxisSize]/2},hn=function(se){var Ie=se.axis,Je=se.moveRelativeTo,pt=se.isMoving;return qe(Ie.line,Je.marginBox[Ie.end]+Nr(Ie,pt),br(Ie,Je.marginBox,pt))},fn=function(se){var Ie=se.axis,Je=se.moveRelativeTo,pt=se.isMoving;return qe(Ie.line,Je.marginBox[Ie.start]-Sr(Ie,pt),br(Ie,Je.marginBox,pt))},ni=function(se){var Ie=se.axis,Je=se.moveInto,pt=se.isMoving;return qe(Ie.line,Je.contentBox[Ie.start]+Nr(Ie,pt),br(Ie,Je.contentBox,pt))},mi=function(se){var Ie=se.impact,Je=se.draggable,pt=se.draggables,kt=se.droppable,Wt=se.afterCritical,Kt=gn(kt.descriptor.id,pt),Mr=Je.page,Kr=kt.axis;if(!Kt.length)return ni({axis:Kr,moveInto:kt.page,isMoving:Mr});var Ir=Ie.displaced,Er=Ie.displacedBy,zr=Ir.all[0];if(zr){var qr=pt[zr];if(cr(zr,Wt))return fn({axis:Kr,moveRelativeTo:qr.page,isMoving:Mr});var Nn=w(qr.page,Er.point);return fn({axis:Kr,moveRelativeTo:Nn,isMoving:Mr})}var wi=Kt[Kt.length-1];if(wi.descriptor.id===Je.descriptor.id)return Mr.borderBox.center;if(cr(wi.descriptor.id,Wt)){var Ki=w(wi.page,Me(Wt.displacedBy.point));return hn({axis:Kr,moveRelativeTo:Ki,isMoving:Mr})}return hn({axis:Kr,moveRelativeTo:wi.page,isMoving:Mr})},_i=function(se,Ie){var Je=se.frame;return Je?Ne(Ie,Je.scroll.diff.displacement):Ie},Hi=function(se){var Ie=se.impact,Je=se.draggable,pt=se.droppable,kt=se.draggables,Wt=se.afterCritical,Kt=Je.page.borderBox.center,Mr=Ie.at;return pt&&Mr?Mr.type==="REORDER"?mi({impact:Ie,draggable:Je,draggables:kt,droppable:pt,afterCritical:Wt}):Zt({impact:Ie,draggables:kt,afterCritical:Wt}):Kt},aa=function(se){var Ie=Hi(se),Je=se.droppable,pt=Je?_i(Je,Ie):Ie;return pt},Ra=function(se,Ie){var Je=de(Ie,se.scroll.initial),pt=Me(Je),kt=r({top:Ie.y,bottom:Ie.y+se.frame.height,left:Ie.x,right:Ie.x+se.frame.width}),Wt={frame:kt,scroll:{initial:se.scroll.initial,max:se.scroll.max,current:Ie,diff:{value:Je,displacement:pt}}};return Wt};function it(Fe,se){return Fe.map(function(Ie){return se[Ie]})}function Re(Fe,se){for(var Ie=0;Ie<se.length;Ie++){var Je=se[Ie].visible[Fe];if(Je)return Je}return null}var Ke=function(se){var Ie=se.impact,Je=se.viewport,pt=se.destination,kt=se.draggables,Wt=se.maxScrollChange,Kt=Ra(Je,Ne(Je.scroll.current,Wt)),Mr=pt.frame?Ce(pt,Ne(pt.frame.scroll.current,Wt)):pt,Kr=Ie.displaced,Ir=Pn({afterDragging:it(Kr.all,kt),destination:pt,displacedBy:Ie.displacedBy,viewport:Kt.frame,last:Kr,forceShouldAnimate:!1}),Er=Pn({afterDragging:it(Kr.all,kt),destination:Mr,displacedBy:Ie.displacedBy,viewport:Je.frame,last:Kr,forceShouldAnimate:!1}),zr={},qr={},Nn=[Kr,Ir,Er];Kr.all.forEach(function(Ki){var Oa=Re(Ki,Nn);if(Oa){qr[Ki]=Oa;return}zr[Ki]=!0});var wi=Object(p.a)({},Ie,{displaced:{all:Kr.all,invisible:zr,visible:qr}});return wi},Ge=function(se,Ie){return Ne(se.scroll.diff.displacement,Ie)},et=function(se){var Ie=se.pageBorderBoxCenter,Je=se.draggable,pt=se.viewport,kt=Ge(pt,Ie),Wt=de(kt,Je.page.borderBox.center);return Ne(Je.client.borderBox.center,Wt)},$e=function(se){var Ie=se.draggable,Je=se.destination,pt=se.newPageBorderBoxCenter,kt=se.viewport,Wt=se.withDroppableDisplacement,Kt=se.onlyOnMainAxis,Mr=Kt===void 0?!1:Kt,Kr=de(pt,Ie.page.borderBox.center),Ir=nt(Ie.page.borderBox,Kr),Er={target:Ir,destination:Je,withDroppableDisplacement:Wt,viewport:kt};return Mr?rr(Er):Yt(Er)},st=function(se){var Ie=se.isMovingForward,Je=se.draggable,pt=se.destination,kt=se.draggables,Wt=se.previousImpact,Kt=se.viewport,Mr=se.previousPageBorderBoxCenter,Kr=se.previousClientSelection,Ir=se.afterCritical;if(!pt.isEnabled)return null;var Er=gn(pt.descriptor.id,kt),zr=ot(Je,pt),qr=bt({isMovingForward:Ie,draggable:Je,destination:pt,insideDestination:Er,previousImpact:Wt})||Rt({isMovingForward:Ie,isInHomeList:zr,draggable:Je,draggables:kt,destination:pt,insideDestination:Er,previousImpact:Wt,viewport:Kt,afterCritical:Ir});if(!qr)return null;var Nn=aa({impact:qr,draggable:Je,droppable:pt,draggables:kt,afterCritical:Ir}),wi=$e({draggable:Je,destination:pt,newPageBorderBoxCenter:Nn,viewport:Kt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(wi){var Ki=et({pageBorderBoxCenter:Nn,draggable:Je,viewport:Kt});return{clientSelection:Ki,impact:qr,scrollJumpRequest:null}}var Oa=de(Nn,Mr),ta=Ke({impact:qr,viewport:Kt,destination:pt,draggables:kt,maxScrollChange:Oa});return{clientSelection:Kr,impact:ta,scrollJumpRequest:Oa}},Lt=function(se){var Ie=se.subject.active;return Ie||Ae(!1),Ie},vt=function(se){var Ie=se.isMovingForward,Je=se.pageBorderBoxCenter,pt=se.source,kt=se.droppables,Wt=se.viewport,Kt=pt.subject.active;if(!Kt)return null;var Mr=pt.axis,Kr=xr(Kt[Mr.start],Kt[Mr.end]),Ir=nr(kt).filter(function(zr){return zr!==pt}).filter(function(zr){return zr.isEnabled}).filter(function(zr){return Boolean(zr.subject.active)}).filter(function(zr){return Vn(Wt.frame)(Lt(zr))}).filter(function(zr){var qr=Lt(zr);return Ie?Kt[Mr.crossAxisEnd]<qr[Mr.crossAxisEnd]:qr[Mr.crossAxisStart]<Kt[Mr.crossAxisStart]}).filter(function(zr){var qr=Lt(zr),Nn=xr(qr[Mr.start],qr[Mr.end]);return Kr(qr[Mr.start])||Kr(qr[Mr.end])||Nn(Kt[Mr.start])||Nn(Kt[Mr.end])}).sort(function(zr,qr){var Nn=Lt(zr)[Mr.crossAxisStart],wi=Lt(qr)[Mr.crossAxisStart];return Ie?Nn-wi:wi-Nn}).filter(function(zr,qr,Nn){return Lt(zr)[Mr.crossAxisStart]===Lt(Nn[0])[Mr.crossAxisStart]});if(!Ir.length)return null;if(Ir.length===1)return Ir[0];var Er=Ir.filter(function(zr){var qr=xr(Lt(zr)[Mr.start],Lt(zr)[Mr.end]);return qr(Je[Mr.line])});return Er.length===1?Er[0]:Er.length>1?Er.sort(function(zr,qr){return Lt(zr)[Mr.start]-Lt(qr)[Mr.start]})[0]:Ir.sort(function(zr,qr){var Nn=ht(Je,Nt(Lt(zr))),wi=ht(Je,Nt(Lt(qr)));return Nn!==wi?Nn-wi:Lt(zr)[Mr.start]-Lt(qr)[Mr.start]})[0]},Qt=function(se,Ie){var Je=se.page.borderBox.center;return cr(se.descriptor.id,Ie)?de(Je,Ie.displacedBy.point):Je},Fr=function(se,Ie){var Je=se.page.borderBox;return cr(se.descriptor.id,Ie)?nt(Je,Me(Ie.displacedBy.point)):Je},Lr=function(se){var Ie=se.pageBorderBoxCenter,Je=se.viewport,pt=se.destination,kt=se.insideDestination,Wt=se.afterCritical,Kt=kt.filter(function(Mr){return Yt({target:Fr(Mr,Wt),destination:pt,viewport:Je.frame,withDroppableDisplacement:!0})}).sort(function(Mr,Kr){var Ir=gt(Ie,_i(pt,Qt(Mr,Wt))),Er=gt(Ie,_i(pt,Qt(Kr,Wt)));return Ir<Er?-1:Er<Ir?1:Mr.descriptor.index-Kr.descriptor.index});return Kt[0]||null},Gr=D(function(se,Ie){var Je=Ie[se.line];return{value:Je,point:qe(se.line,Je)}}),$t=function(se,Ie,Je){var pt=se.axis;if(se.descriptor.mode==="virtual")return qe(pt.line,Ie[pt.line]);var kt=se.subject.page.contentBox[pt.size],Wt=gn(se.descriptor.id,Je),Kt=Wt.reduce(function(Ir,Er){return Ir+Er.client.marginBox[pt.size]},0),Mr=Kt+Ie[pt.line],Kr=Mr-kt;return Kr<=0?null:qe(pt.line,Kr)},Rn=function(se,Ie){return Object(p.a)({},se,{scroll:Object(p.a)({},se.scroll,{max:Ie})})},wr=function(se,Ie,Je){var pt=se.frame;ot(Ie,se)&&Ae(!1),se.subject.withPlaceholder&&Ae(!1);var kt=Gr(se.axis,Ie.displaceBy).point,Wt=$t(se,kt,Je),Kt={placeholderSize:kt,increasedBy:Wt,oldFrameMaxScroll:se.frame?se.frame.scroll.max:null};if(!pt){var Mr=at({page:se.subject.page,withPlaceholder:Kt,axis:se.axis,frame:se.frame});return Object(p.a)({},se,{subject:Mr})}var Kr=Wt?Ne(pt.scroll.max,Wt):pt.scroll.max,Ir=Rn(pt,Kr),Er=at({page:se.subject.page,withPlaceholder:Kt,axis:se.axis,frame:Ir});return Object(p.a)({},se,{subject:Er,frame:Ir})},pn=function(se){var Ie=se.subject.withPlaceholder;Ie||Ae(!1);var Je=se.frame;if(!Je){var pt=at({page:se.subject.page,axis:se.axis,frame:null,withPlaceholder:null});return Object(p.a)({},se,{subject:pt})}var kt=Ie.oldFrameMaxScroll;kt||Ae(!1);var Wt=Rn(Je,kt),Kt=at({page:se.subject.page,axis:se.axis,frame:Wt,withPlaceholder:null});return Object(p.a)({},se,{subject:Kt,frame:Wt})},rn=function(se){var Ie=se.previousPageBorderBoxCenter,Je=se.moveRelativeTo,pt=se.insideDestination,kt=se.draggable,Wt=se.draggables,Kt=se.destination,Mr=se.viewport,Kr=se.afterCritical;if(!Je){if(pt.length)return null;var Ir={displaced:jr,displacedBy:lr,at:{type:"REORDER",destination:{droppableId:Kt.descriptor.id,index:0}}},Er=aa({impact:Ir,draggable:kt,droppable:Kt,draggables:Wt,afterCritical:Kr}),zr=ot(kt,Kt)?Kt:wr(Kt,kt,Wt),qr=$e({draggable:kt,destination:zr,newPageBorderBoxCenter:Er,viewport:Mr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return qr?Ir:null}var Nn=Boolean(Ie[Kt.axis.line]<=Je.page.borderBox.center[Kt.axis.line]),wi=function(){var Oa=Je.descriptor.index;return Je.descriptor.id===kt.descriptor.id||Nn?Oa:Oa+1}(),Ki=Gr(Kt.axis,kt.displaceBy);return At({draggable:kt,insideDestination:pt,destination:Kt,viewport:Mr,displacedBy:Ki,last:jr,index:wi})},Br=function(se){var Ie=se.isMovingForward,Je=se.previousPageBorderBoxCenter,pt=se.draggable,kt=se.isOver,Wt=se.draggables,Kt=se.droppables,Mr=se.viewport,Kr=se.afterCritical,Ir=vt({isMovingForward:Ie,pageBorderBoxCenter:Je,source:kt,droppables:Kt,viewport:Mr});if(!Ir)return null;var Er=gn(Ir.descriptor.id,Wt),zr=Lr({pageBorderBoxCenter:Je,viewport:Mr,destination:Ir,insideDestination:Er,afterCritical:Kr}),qr=rn({previousPageBorderBoxCenter:Je,destination:Ir,draggable:pt,draggables:Wt,moveRelativeTo:zr,insideDestination:Er,viewport:Mr,afterCritical:Kr});if(!qr)return null;var Nn=aa({impact:qr,draggable:pt,droppable:Ir,draggables:Wt,afterCritical:Kr}),wi=et({pageBorderBoxCenter:Nn,draggable:pt,viewport:Mr});return{clientSelection:wi,impact:qr,scrollJumpRequest:null}},Yn=function(se){var Ie=se.at;return Ie?Ie.type==="REORDER"?Ie.destination.droppableId:Ie.combine.droppableId:null},xi=function(se,Ie){var Je=Yn(se);return Je?Ie[Je]:null},Li=function(se){var Ie=se.state,Je=se.type,pt=xi(Ie.impact,Ie.dimensions.droppables),kt=Boolean(pt),Wt=Ie.dimensions.droppables[Ie.critical.droppable.id],Kt=pt||Wt,Mr=Kt.axis.direction,Kr=Mr==="vertical"&&(Je==="MOVE_UP"||Je==="MOVE_DOWN")||Mr==="horizontal"&&(Je==="MOVE_LEFT"||Je==="MOVE_RIGHT");if(Kr&&!kt)return null;var Ir=Je==="MOVE_DOWN"||Je==="MOVE_RIGHT",Er=Ie.dimensions.draggables[Ie.critical.draggable.id],zr=Ie.current.page.borderBoxCenter,qr=Ie.dimensions,Nn=qr.draggables,wi=qr.droppables;return Kr?st({isMovingForward:Ir,previousPageBorderBoxCenter:zr,draggable:Er,destination:Kt,draggables:Nn,viewport:Ie.viewport,previousClientSelection:Ie.current.client.selection,previousImpact:Ie.impact,afterCritical:Ie.afterCritical}):Br({isMovingForward:Ir,previousPageBorderBoxCenter:zr,draggable:Er,isOver:Kt,draggables:Nn,droppables:wi,viewport:Ie.viewport,afterCritical:Ie.afterCritical})};function Vi(Fe){return Fe.phase==="DRAGGING"||Fe.phase==="COLLECTING"}function Wi(Fe){var se=xr(Fe.top,Fe.bottom),Ie=xr(Fe.left,Fe.right);return function(pt){return se(pt.y)&&Ie(pt.x)}}function qi(Fe,se){return Fe.left<se.right&&Fe.right>se.left&&Fe.top<se.bottom&&Fe.bottom>se.top}function bi(Fe){var se=Fe.pageBorderBox,Ie=Fe.draggable,Je=Fe.candidates,pt=Ie.page.borderBox.center,kt=Je.map(function(Wt){var Kt=Wt.axis,Mr=qe(Wt.axis.line,se.center[Kt.line],Wt.page.borderBox.center[Kt.crossAxisLine]);return{id:Wt.descriptor.id,distance:gt(pt,Mr)}}).sort(function(Wt,Kt){return Kt.distance-Wt.distance});return kt[0]?kt[0].id:null}function ba(Fe){var se=Fe.pageBorderBox,Ie=Fe.draggable,Je=Fe.droppables,pt=nr(Je).filter(function(kt){if(!kt.isEnabled)return!1;var Wt=kt.subject.active;if(!Wt)return!1;if(!qi(se,Wt))return!1;if(Wi(Wt)(se.center))return!0;var Kt=kt.axis,Mr=Wt.center[Kt.crossAxisLine],Kr=se[Kt.crossAxisStart],Ir=se[Kt.crossAxisEnd],Er=xr(Wt[Kt.crossAxisStart],Wt[Kt.crossAxisEnd]),zr=Er(Kr),qr=Er(Ir);return!zr&&!qr?!0:zr?Kr<Mr:Ir>Mr});return pt.length?pt.length===1?pt[0].descriptor.id:bi({pageBorderBox:se,draggable:Ie,candidates:pt}):null}var Kn=function(se,Ie){return r(nt(se,Ie))},un=function(se,Ie){var Je=se.frame;return Je?Kn(Ie,Je.scroll.diff.value):Ie};function ri(Fe){var se=Fe.displaced,Ie=Fe.id;return Boolean(se.visible[Ie]||se.invisible[Ie])}function Cn(Fe){var se=Fe.draggable,Ie=Fe.closest,Je=Fe.inHomeList;return Ie?Je&&Ie.descriptor.index>se.descriptor.index?Ie.descriptor.index-1:Ie.descriptor.index:null}var ki=function(se){var Ie=se.pageBorderBoxWithDroppableScroll,Je=se.draggable,pt=se.destination,kt=se.insideDestination,Wt=se.last,Kt=se.viewport,Mr=se.afterCritical,Kr=pt.axis,Ir=Gr(pt.axis,Je.displaceBy),Er=Ir.value,zr=Ie[Kr.start],qr=Ie[Kr.end],Nn=zt(Je,kt),wi=ye(Nn,function(Oa){var ta=Oa.descriptor.id,_o=Oa.page.borderBox.center[Kr.line],Wa=cr(ta,Mr),Ko=ri({displaced:Wt,id:ta});return Wa?Ko?qr<=_o:zr<_o-Er:Ko?qr<=_o+Er:zr<_o}),Ki=Cn({draggable:Je,closest:wi,inHomeList:ot(Je,pt)});return At({draggable:Je,insideDestination:kt,destination:pt,viewport:Kt,last:Wt,displacedBy:Ir,index:Ki})},Tn=4,oa=function(se){var Ie=se.draggable,Je=se.pageBorderBoxWithDroppableScroll,pt=se.previousImpact,kt=se.destination,Wt=se.insideDestination,Kt=se.afterCritical;if(!kt.isCombineEnabled)return null;var Mr=kt.axis,Kr=Gr(kt.axis,Ie.displaceBy),Ir=Kr.value,Er=Je[Mr.start],zr=Je[Mr.end],qr=zt(Ie,Wt),Nn=ye(qr,function(Ki){var Oa=Ki.descriptor.id,ta=Ki.page.borderBox,_o=ta[Mr.size],Wa=_o/Tn,Ko=cr(Oa,Kt),Lo=ri({displaced:pt.displaced,id:Oa});return Ko?Lo?zr>ta[Mr.start]+Wa&&zr<ta[Mr.end]-Wa:Er>ta[Mr.start]-Ir+Wa&&Er<ta[Mr.end]-Ir-Wa:Lo?zr>ta[Mr.start]+Ir+Wa&&zr<ta[Mr.end]+Ir-Wa:Er>ta[Mr.start]+Wa&&Er<ta[Mr.end]-Wa});if(!Nn)return null;var wi={displacedBy:Kr,displaced:pt.displaced,at:{type:"COMBINE",combine:{draggableId:Nn.descriptor.id,droppableId:kt.descriptor.id}}};return wi},Ti=function(se){var Ie=se.pageOffset,Je=se.draggable,pt=se.draggables,kt=se.droppables,Wt=se.previousImpact,Kt=se.viewport,Mr=se.afterCritical,Kr=Kn(Je.page.borderBox,Ie),Ir=ba({pageBorderBox:Kr,draggable:Je,droppables:kt});if(!Ir)return Rr;var Er=kt[Ir],zr=gn(Er.descriptor.id,pt),qr=un(Er,Kr);return oa({pageBorderBoxWithDroppableScroll:qr,draggable:Je,previousImpact:Wt,destination:Er,insideDestination:zr,afterCritical:Mr})||ki({pageBorderBoxWithDroppableScroll:qr,draggable:Je,destination:Er,insideDestination:zr,last:Wt.displaced,viewport:Kt,afterCritical:Mr})},li=function(se,Ie){var Je;return Object(p.a)({},se,(Je={},Je[Ie.descriptor.id]=Ie,Je))},Ri=function(se){var Ie=se.previousImpact,Je=se.impact,pt=se.droppables,kt=Yn(Ie),Wt=Yn(Je);if(!kt)return pt;if(kt===Wt)return pt;var Kt=pt[kt];if(!Kt.subject.withPlaceholder)return pt;var Mr=pn(Kt);return li(pt,Mr)},Da=function(se){var Ie=se.draggable,Je=se.draggables,pt=se.droppables,kt=se.previousImpact,Wt=se.impact,Kt=Ri({previousImpact:kt,impact:Wt,droppables:pt}),Mr=Yn(Wt);if(!Mr)return Kt;var Kr=pt[Mr];if(ot(Ie,Kr))return Kt;if(Kr.subject.withPlaceholder)return Kt;var Ir=wr(Kr,Ie,Je);return li(Kt,Ir)},Un=function(se){var Ie=se.state,Je=se.clientSelection,pt=se.dimensions,kt=se.viewport,Wt=se.impact,Kt=se.scrollJumpRequest,Mr=kt||Ie.viewport,Kr=pt||Ie.dimensions,Ir=Je||Ie.current.client.selection,Er=de(Ir,Ie.initial.client.selection),zr={offset:Er,selection:Ir,borderBoxCenter:Ne(Ie.initial.client.borderBoxCenter,Er)},qr={selection:Ne(zr.selection,Mr.scroll.current),borderBoxCenter:Ne(zr.borderBoxCenter,Mr.scroll.current),offset:Ne(zr.offset,Mr.scroll.diff.value)},Nn={client:zr,page:qr};if(Ie.phase==="COLLECTING")return Object(p.a)({phase:"COLLECTING"},Ie,{dimensions:Kr,viewport:Mr,current:Nn});var wi=Kr.draggables[Ie.critical.draggable.id],Ki=Wt||Ti({pageOffset:qr.offset,draggable:wi,draggables:Kr.draggables,droppables:Kr.droppables,previousImpact:Ie.impact,viewport:Mr,afterCritical:Ie.afterCritical}),Oa=Da({draggable:wi,impact:Ki,previousImpact:Ie.impact,draggables:Kr.draggables,droppables:Kr.droppables}),ta=Object(p.a)({},Ie,{current:Nn,dimensions:{draggables:Kr.draggables,droppables:Oa},impact:Ki,viewport:Mr,scrollJumpRequest:Kt||null,forceShouldAnimate:Kt?!1:null});return ta};function on(Fe,se){return Fe.map(function(Ie){return se[Ie]})}var Zn=function(se){var Ie=se.impact,Je=se.viewport,pt=se.draggables,kt=se.destination,Wt=se.forceShouldAnimate,Kt=Ie.displaced,Mr=on(Kt.all,pt),Kr=Pn({afterDragging:Mr,destination:kt,displacedBy:Ie.displacedBy,viewport:Je.frame,forceShouldAnimate:Wt,last:Kt});return Object(p.a)({},Ie,{displaced:Kr})},hi=function(se){var Ie=se.impact,Je=se.draggable,pt=se.droppable,kt=se.draggables,Wt=se.viewport,Kt=se.afterCritical,Mr=aa({impact:Ie,draggable:Je,draggables:kt,droppable:pt,afterCritical:Kt});return et({pageBorderBoxCenter:Mr,draggable:Je,viewport:Wt})},Ni=function(se){var Ie=se.state,Je=se.dimensions,pt=se.viewport;Ie.movementMode==="SNAP"||Ae(!1);var kt=Ie.impact,Wt=pt||Ie.viewport,Kt=Je||Ie.dimensions,Mr=Kt.draggables,Kr=Kt.droppables,Ir=Mr[Ie.critical.draggable.id],Er=Yn(kt);Er||Ae(!1);var zr=Kr[Er],qr=Zn({impact:kt,viewport:Wt,destination:zr,draggables:Mr}),Nn=hi({impact:qr,draggable:Ir,droppable:zr,draggables:Mr,viewport:Wt,afterCritical:Ie.afterCritical});return Un({impact:qr,clientSelection:Nn,state:Ie,dimensions:Kt,viewport:Wt})},zi=function(se){return{index:se.index,droppableId:se.droppableId}},ea=function(se){var Ie=se.draggable,Je=se.home,pt=se.draggables,kt=se.viewport,Wt=Gr(Je.axis,Ie.displaceBy),Kt=gn(Je.descriptor.id,pt),Mr=Kt.indexOf(Ie);Mr!==-1||Ae(!1);var Kr=Kt.slice(Mr+1),Ir=Kr.reduce(function(Nn,wi){return Nn[wi.descriptor.id]=!0,Nn},{}),Er={inVirtualList:Je.descriptor.mode==="virtual",displacedBy:Wt,effected:Ir},zr=Pn({afterDragging:Kr,destination:Je,displacedBy:Wt,last:null,viewport:kt.frame,forceShouldAnimate:!1}),qr={displaced:zr,displacedBy:Wt,at:{type:"REORDER",destination:zi(Ie.descriptor)}};return{impact:qr,afterCritical:Er}},Fi=function(se,Ie){return{draggables:se.draggables,droppables:li(se.droppables,Ie)}},ia=function(se){},Va=function(se){},fo=function(se){var Ie=se.draggable,Je=se.offset,pt=se.initialWindowScroll,kt=w(Ie.client,Je),Wt=x(kt,pt),Kt=Object(p.a)({},Ie,{placeholder:Object(p.a)({},Ie.placeholder,{client:kt}),client:kt,page:Wt});return Kt},ja=function(se){var Ie=se.frame;return Ie||Ae(!1),Ie},Ka=function(se){var Ie=se.additions,Je=se.updatedDroppables,pt=se.viewport,kt=pt.scroll.diff.value;return Ie.map(function(Wt){var Kt=Wt.descriptor.droppableId,Mr=Je[Kt],Kr=ja(Mr),Ir=Kr.scroll.diff.value,Er=Ne(kt,Ir),zr=fo({draggable:Wt,offset:Er,initialWindowScroll:pt.scroll.initial});return zr})},Gi=function(se){var Ie=se.state,Je=se.published;ia();var pt=Je.modified.map(function(Wa){var Ko=Ie.dimensions.droppables[Wa.droppableId],Lo=Ce(Ko,Wa.scroll);return Lo}),kt=Object(p.a)({},Ie.dimensions.droppables,{},pr(pt)),Wt=mt(Ka({additions:Je.additions,updatedDroppables:kt,viewport:Ie.viewport})),Kt=Object(p.a)({},Ie.dimensions.draggables,{},Wt);Je.removals.forEach(function(Wa){delete Kt[Wa]});var Mr={droppables:kt,draggables:Kt},Kr=Yn(Ie.impact),Ir=Kr?Mr.droppables[Kr]:null,Er=Mr.draggables[Ie.critical.draggable.id],zr=Mr.droppables[Ie.critical.droppable.id],qr=ea({draggable:Er,home:zr,draggables:Kt,viewport:Ie.viewport}),Nn=qr.impact,wi=qr.afterCritical,Ki=Ir&&Ir.isCombineEnabled?Ie.impact:Nn,Oa=Ti({pageOffset:Ie.current.page.offset,draggable:Mr.draggables[Ie.critical.draggable.id],draggables:Mr.draggables,droppables:Mr.droppables,previousImpact:Ki,viewport:Ie.viewport,afterCritical:wi});Va();var ta=Object(p.a)({phase:"DRAGGING"},Ie,{phase:"DRAGGING",impact:Oa,onLiftImpact:Nn,dimensions:Mr,afterCritical:wi,forceShouldAnimate:!1});if(Ie.phase==="COLLECTING")return ta;var _o=Object(p.a)({phase:"DROP_PENDING"},ta,{phase:"DROP_PENDING",reason:Ie.reason,isWaiting:!1});return _o},mn=function(se){return se.movementMode==="SNAP"},$i=function(se,Ie,Je){var pt=Fi(se.dimensions,Ie);return!mn(se)||Je?Un({state:se,dimensions:pt}):Ni({state:se,dimensions:pt})};function io(Fe){return Fe.isDragging&&Fe.movementMode==="SNAP"?Object(p.a)({phase:"DRAGGING"},Fe,{scrollJumpRequest:null}):Fe}var La={phase:"IDLE",completed:null,shouldFlush:!1},ao=function(se,Ie){if(se===void 0&&(se=La),Ie.type==="FLUSH")return Object(p.a)({},La,{shouldFlush:!0});if(Ie.type==="INITIAL_PUBLISH"){se.phase==="IDLE"||Ae(!1);var Je=Ie.payload,pt=Je.critical,kt=Je.clientSelection,Wt=Je.viewport,Kt=Je.dimensions,Mr=Je.movementMode,Kr=Kt.draggables[pt.draggable.id],Ir=Kt.droppables[pt.droppable.id],Er={selection:kt,borderBoxCenter:Kr.client.borderBox.center,offset:Be},zr={client:Er,page:{selection:Ne(Er.selection,Wt.scroll.initial),borderBoxCenter:Ne(Er.selection,Wt.scroll.initial),offset:Ne(Er.selection,Wt.scroll.diff.value)}},qr=nr(Kt.droppables).every(function(js){return!js.isFixedOnPage}),Nn=ea({draggable:Kr,home:Ir,draggables:Kt.draggables,viewport:Wt}),wi=Nn.impact,Ki=Nn.afterCritical,Oa={phase:"DRAGGING",isDragging:!0,critical:pt,movementMode:Mr,dimensions:Kt,initial:zr,current:zr,isWindowScrollAllowed:qr,impact:wi,afterCritical:Ki,onLiftImpact:wi,viewport:Wt,scrollJumpRequest:null,forceShouldAnimate:null};return Oa}if(Ie.type==="COLLECTION_STARTING"){if(se.phase==="COLLECTING"||se.phase==="DROP_PENDING")return se;se.phase==="DRAGGING"||Ae(!1);var ta=Object(p.a)({phase:"COLLECTING"},se,{phase:"COLLECTING"});return ta}if(Ie.type==="PUBLISH_WHILE_DRAGGING")return se.phase==="COLLECTING"||se.phase==="DROP_PENDING"||Ae(!1),Gi({state:se,published:Ie.payload});if(Ie.type==="MOVE"){if(se.phase==="DROP_PENDING")return se;Vi(se)||Ae(!1);var _o=Ie.payload.client;return ve(_o,se.current.client.selection)?se:Un({state:se,clientSelection:_o,impact:mn(se)?se.impact:null})}if(Ie.type==="UPDATE_DROPPABLE_SCROLL"){if(se.phase==="DROP_PENDING")return io(se);if(se.phase==="COLLECTING")return io(se);Vi(se)||Ae(!1);var Wa=Ie.payload,Ko=Wa.id,Lo=Wa.newScroll,ds=se.dimensions.droppables[Ko];if(!ds)return se;var Rs=Ce(ds,Lo);return $i(se,Rs,!1)}if(Ie.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(se.phase==="DROP_PENDING")return se;Vi(se)||Ae(!1);var M=Ie.payload,P=M.id,ae=M.isEnabled,le=se.dimensions.droppables[P];le||Ae(!1),le.isEnabled!==ae||Ae(!1);var pe=Object(p.a)({},le,{isEnabled:ae});return $i(se,pe,!0)}if(Ie.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(se.phase==="DROP_PENDING")return se;Vi(se)||Ae(!1);var Ve=Ie.payload,yt=Ve.id,Ut=Ve.isCombineEnabled,sr=se.dimensions.droppables[yt];sr||Ae(!1),sr.isCombineEnabled!==Ut||Ae(!1);var fr=Object(p.a)({},sr,{isCombineEnabled:Ut});return $i(se,fr,!0)}if(Ie.type==="MOVE_BY_WINDOW_SCROLL"){if(se.phase==="DROP_PENDING"||se.phase==="DROP_ANIMATING")return se;Vi(se)||Ae(!1),se.isWindowScrollAllowed||Ae(!1);var xn=Ie.payload.newScroll;if(ve(se.viewport.scroll.current,xn))return io(se);var jn=Ra(se.viewport,xn);return mn(se)?Ni({state:se,viewport:jn}):Un({state:se,viewport:jn})}if(Ie.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Vi(se))return se;var gi=Ie.payload.maxScroll;if(ve(gi,se.viewport.scroll.max))return se;var Si=Object(p.a)({},se.viewport,{scroll:Object(p.a)({},se.viewport.scroll,{max:gi})});return Object(p.a)({phase:"DRAGGING"},se,{viewport:Si})}if(Ie.type==="MOVE_UP"||Ie.type==="MOVE_DOWN"||Ie.type==="MOVE_LEFT"||Ie.type==="MOVE_RIGHT"){if(se.phase==="COLLECTING"||se.phase==="DROP_PENDING")return se;se.phase==="DRAGGING"||Ae(!1);var la=Li({state:se,type:Ie.type});return la?Un({state:se,impact:la.impact,clientSelection:la.clientSelection,scrollJumpRequest:la.scrollJumpRequest}):se}if(Ie.type==="DROP_PENDING"){var Ua=Ie.payload.reason;se.phase==="COLLECTING"||Ae(!1);var eo=Object(p.a)({phase:"DROP_PENDING"},se,{phase:"DROP_PENDING",isWaiting:!0,reason:Ua});return eo}if(Ie.type==="DROP_ANIMATE"){var no=Ie.payload,to=no.completed,So=no.dropDuration,Do=no.newHomeClientOffset;se.phase==="DRAGGING"||se.phase==="DROP_PENDING"||Ae(!1);var xs={phase:"DROP_ANIMATING",completed:to,dropDuration:So,newHomeClientOffset:Do,dimensions:se.dimensions};return xs}if(Ie.type==="DROP_COMPLETE"){var os=Ie.payload.completed;return{phase:"IDLE",completed:os,shouldFlush:!1}}return se},tr=function(se){return{type:"BEFORE_INITIAL_CAPTURE",payload:se}},An=function(se){return{type:"LIFT",payload:se}},_n=function(se){return{type:"INITIAL_PUBLISH",payload:se}},Bn=function(se){return{type:"PUBLISH_WHILE_DRAGGING",payload:se}},tt=function(){return{type:"COLLECTION_STARTING",payload:null}},Ft=function(se){return{type:"UPDATE_DROPPABLE_SCROLL",payload:se}},Cr=function(se){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:se}},gr=function(se){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:se}},Yr=function(se){return{type:"MOVE",payload:se}},en=function(se){return{type:"MOVE_BY_WINDOW_SCROLL",payload:se}},cn=function(se){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:se}},In=function(){return{type:"MOVE_UP",payload:null}},Xn=function(){return{type:"MOVE_DOWN",payload:null}},ii=function(){return{type:"MOVE_RIGHT",payload:null}},fi=function(){return{type:"MOVE_LEFT",payload:null}},ui=function(){return{type:"FLUSH",payload:null}},qn=function(se){return{type:"DROP_ANIMATE",payload:se}},ti=function(se){return{type:"DROP_COMPLETE",payload:se}},oi=function(se){return{type:"DROP",payload:se}},Ci=function(se){return{type:"DROP_PENDING",payload:se}},Mi=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Pi(Fe){if(Fe.length<=1)return;for(var se=Fe.map(function(Kt){return Kt.descriptor.index}),Ie={},Je=1;Je<se.length;Je++){var pt=se[Je],kt=se[Je-1];pt!==kt+1&&(Ie[pt]=!0)}if(!Object.keys(Ie).length)return;var Wt=se.map(function(Kt){var Mr=Boolean(Ie[Kt]);return Mr?"[\u{1F525}"+Kt+"]":""+Kt}).join(", ")}function ca(Fe,se){if(!1)var Ie}var sa=function(se){return function(Ie){var Je=Ie.getState,pt=Ie.dispatch;return function(kt){return function(Wt){if(Wt.type!=="LIFT"){kt(Wt);return}var Kt=Wt.payload,Mr=Kt.id,Kr=Kt.clientSelection,Ir=Kt.movementMode,Er=Je();Er.phase==="DROP_ANIMATING"&&pt(ti({completed:Er.completed})),Je().phase==="IDLE"||Ae(!1),pt(ui()),pt(tr({draggableId:Mr,movementMode:Ir}));var zr={shouldPublishImmediately:Ir==="SNAP"},qr={draggableId:Mr,scrollOptions:zr},Nn=se.startPublishing(qr),wi=Nn.critical,Ki=Nn.dimensions,Oa=Nn.viewport;ca(wi,Ki),pt(_n({critical:wi,dimensions:Ki,clientSelection:Kr,movementMode:Ir,viewport:Oa}))}}}},Na=function(se){return function(){return function(Ie){return function(Je){Je.type==="INITIAL_PUBLISH"&&se.dragging(),Je.type==="DROP_ANIMATE"&&se.dropping(Je.payload.completed.result.reason),(Je.type==="FLUSH"||Je.type==="DROP_COMPLETE")&&se.resting(),Ie(Je)}}}},Pa={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},ya={opacity:{drop:0,combining:.7},scale:{drop:.75}},va={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Ca=va.outOfTheWay+"s "+Pa.outOfTheWay,Ai={fluid:"opacity "+Ca,snap:"transform "+Ca+", opacity "+Ca,drop:function(se){var Ie=se+"s "+Pa.drop;return"transform "+Ie+", opacity "+Ie},outOfTheWay:"transform "+Ca,placeholder:"height "+Ca+", width "+Ca+", margin "+Ca},Aa=function(se){return ve(se,Be)?null:"translate("+se.x+"px, "+se.y+"px)"},za={moveTo:Aa,drop:function(se,Ie){var Je=Aa(se);return Je?Ie?Je+" scale("+ya.scale.drop+")":Je:null}},Or=va.minDropTime,$r=va.maxDropTime,vn=$r-Or,Jr=1500,ar=.6,Hr=function(se){var Ie=se.current,Je=se.destination,pt=se.reason,kt=gt(Ie,Je);if(kt<=0)return Or;if(kt>=Jr)return $r;var Wt=kt/Jr,Kt=Or+vn*Wt,Mr=pt==="CANCEL"?Kt*ar:Kt;return Number(Mr.toFixed(2))},mr=function(se){var Ie=se.impact,Je=se.draggable,pt=se.dimensions,kt=se.viewport,Wt=se.afterCritical,Kt=pt.draggables,Mr=pt.droppables,Kr=Yn(Ie),Ir=Kr?Mr[Kr]:null,Er=Mr[Je.descriptor.droppableId],zr=hi({impact:Ie,draggable:Je,draggables:Kt,afterCritical:Wt,droppable:Ir||Er,viewport:kt}),qr=de(zr,Je.client.borderBox.center);return qr},tn=function(se){var Ie=se.draggables,Je=se.reason,pt=se.lastImpact,kt=se.home,Wt=se.viewport,Kt=se.onLiftImpact;if(!pt.at||Je!=="DROP"){var Mr=Zn({draggables:Ie,impact:Kt,destination:kt,viewport:Wt,forceShouldAnimate:!0});return{impact:Mr,didDropInsideDroppable:!1}}if(pt.at.type==="REORDER")return{impact:pt,didDropInsideDroppable:!0};var Kr=Object(p.a)({},pt,{displaced:jr});return{impact:Kr,didDropInsideDroppable:!0}},sn=function(se){var Ie=se.getState,Je=se.dispatch;return function(pt){return function(kt){if(kt.type!=="DROP"){pt(kt);return}var Wt=Ie(),Kt=kt.payload.reason;if(Wt.phase==="COLLECTING"){Je(Ci({reason:Kt}));return}if(Wt.phase==="IDLE")return;var Mr=Wt.phase==="DROP_PENDING"&&Wt.isWaiting;Mr&&Ae(!1),Wt.phase==="DRAGGING"||Wt.phase==="DROP_PENDING"||Ae(!1);var Kr=Wt.critical,Ir=Wt.dimensions,Er=Ir.draggables[Wt.critical.draggable.id],zr=tn({reason:Kt,lastImpact:Wt.impact,afterCritical:Wt.afterCritical,onLiftImpact:Wt.onLiftImpact,home:Wt.dimensions.droppables[Wt.critical.droppable.id],viewport:Wt.viewport,draggables:Wt.dimensions.draggables}),qr=zr.impact,Nn=zr.didDropInsideDroppable,wi=Nn?_r(qr):null,Ki=Nn?ur(qr):null,Oa={index:Kr.draggable.index,droppableId:Kr.droppable.id},ta={draggableId:Er.descriptor.id,type:Er.descriptor.type,source:Oa,reason:Kt,mode:Wt.movementMode,destination:wi,combine:Ki},_o=mr({impact:qr,draggable:Er,dimensions:Ir,viewport:Wt.viewport,afterCritical:Wt.afterCritical}),Wa={critical:Wt.critical,afterCritical:Wt.afterCritical,result:ta,impact:qr},Ko=!ve(Wt.current.client.offset,_o)||Boolean(ta.combine);if(!Ko){Je(ti({completed:Wa}));return}var Lo=Hr({current:Wt.current.client.offset,destination:_o,reason:Kt}),ds={newHomeClientOffset:_o,dropDuration:Lo,completed:Wa};Je(qn(ds))}}},Hn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ln(Fe){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Ie){if(Ie.target!==window&&Ie.target!==window.document)return;Fe()}}}function Qn(Fe){var se=Fe.onWindowScroll;function Ie(){se(Hn())}var Je=j(Ie),pt=Ln(Je),kt=we;function Wt(){return kt!==we}function Kt(){Wt()&&Ae(!1),kt=me(window,[pt])}function Mr(){Wt()||Ae(!1),Je.cancel(),kt(),kt=we}return{start:Kt,stop:Mr,isActive:Wt}}var yi=function(se){return se.type==="DROP_COMPLETE"||se.type==="DROP_ANIMATE"||se.type==="FLUSH"},Di=function(se){var Ie=Qn({onWindowScroll:function(pt){se.dispatch(en({newScroll:pt}))}});return function(Je){return function(pt){!Ie.isActive()&&pt.type==="INITIAL_PUBLISH"&&Ie.start(),Ie.isActive()&&yi(pt)&&Ie.stop(),Je(pt)}}},Ui=function(se){var Ie=!1,Je=!1,pt=setTimeout(function(){Je=!0}),kt=function(Kt){if(Ie)return;if(Je)return;Ie=!0,se(Kt),clearTimeout(pt)};return kt.wasCalled=function(){return Ie},kt},ua=function(){var se=[],Ie=function(Wt){var Kt=rt(se,function(Ir){return Ir.timerId===Wt});Kt!==-1||Ae(!1);var Mr=se.splice(Kt,1),Kr=Mr[0];Kr.callback()},Je=function(Wt){var Kt=setTimeout(function(){return Ie(Kt)}),Mr={timerId:Kt,callback:Wt};se.push(Mr)},pt=function(){if(!se.length)return;var Wt=[].concat(se);se.length=0,Wt.forEach(function(Kt){clearTimeout(Kt.timerId),Kt.callback()})};return{add:Je,flush:pt}},Xa=function(se,Ie){return se==null&&Ie==null?!0:se==null||Ie==null?!1:se.droppableId===Ie.droppableId&&se.index===Ie.index},vo=function(se,Ie){return se==null&&Ie==null?!0:se==null||Ie==null?!1:se.draggableId===Ie.draggableId&&se.droppableId===Ie.droppableId},wo=function(se,Ie){if(se===Ie)return!0;var Je=se.draggable.id===Ie.draggable.id&&se.draggable.droppableId===Ie.draggable.droppableId&&se.draggable.type===Ie.draggable.type&&se.draggable.index===Ie.draggable.index,pt=se.droppable.id===Ie.droppable.id&&se.droppable.type===Ie.droppable.type;return Je&&pt},ho=function(se,Ie){ia(),Ie(),Va()},yo=function(se,Ie){return{draggableId:se.draggable.id,type:se.droppable.type,source:{droppableId:se.droppable.id,index:se.draggable.index},mode:Ie}},Ga=function(se,Ie,Je,pt){if(!se){Je(pt(Ie));return}var kt=Ui(Je),Wt={announce:kt};se(Ie,Wt),kt.wasCalled()||Je(pt(Ie))},Ma=function(se,Ie){var Je=ua(),pt=null,kt=function(qr,Nn){pt&&Ae(!1),ho("onBeforeCapture",function(){var wi=se().onBeforeCapture;if(wi){var Ki={draggableId:qr,mode:Nn};wi(Ki)}})},Wt=function(qr,Nn){pt&&Ae(!1),ho("onBeforeDragStart",function(){var wi=se().onBeforeDragStart;wi&&wi(yo(qr,Nn))})},Kt=function(qr,Nn){pt&&Ae(!1);var wi=yo(qr,Nn);pt={mode:Nn,lastCritical:qr,lastLocation:wi.source,lastCombine:null},Je.add(function(){ho("onDragStart",function(){return Ga(se().onDragStart,wi,Ie,fe.onDragStart)})})},Mr=function(qr,Nn){var wi=_r(Nn),Ki=ur(Nn);pt||Ae(!1);var Oa=!wo(qr,pt.lastCritical);Oa&&(pt.lastCritical=qr);var ta=!Xa(pt.lastLocation,wi);ta&&(pt.lastLocation=wi);var _o=!vo(pt.lastCombine,Ki);if(_o&&(pt.lastCombine=Ki),!Oa&&!ta&&!_o)return;var Wa=Object(p.a)({},yo(qr,pt.mode),{combine:Ki,destination:wi});Je.add(function(){ho("onDragUpdate",function(){return Ga(se().onDragUpdate,Wa,Ie,fe.onDragUpdate)})})},Kr=function(){pt||Ae(!1),Je.flush()},Ir=function(qr){pt||Ae(!1),pt=null,ho("onDragEnd",function(){return Ga(se().onDragEnd,qr,Ie,fe.onDragEnd)})},Er=function(){if(!pt)return;var qr=Object(p.a)({},yo(pt.lastCritical,pt.mode),{combine:null,destination:null,reason:"CANCEL"});Ir(qr)};return{beforeCapture:kt,beforeStart:Wt,start:Kt,update:Mr,flush:Kr,drop:Ir,abort:Er}},uo=function(se,Ie){var Je=Ma(se,Ie);return function(pt){return function(kt){return function(Wt){if(Wt.type==="BEFORE_INITIAL_CAPTURE"){Je.beforeCapture(Wt.payload.draggableId,Wt.payload.movementMode);return}if(Wt.type==="INITIAL_PUBLISH"){var Kt=Wt.payload.critical;Je.beforeStart(Kt,Wt.payload.movementMode),kt(Wt),Je.start(Kt,Wt.payload.movementMode);return}if(Wt.type==="DROP_COMPLETE"){var Mr=Wt.payload.completed.result;Je.flush(),kt(Wt),Je.drop(Mr);return}if(kt(Wt),Wt.type==="FLUSH"){Je.abort();return}var Kr=pt.getState();Kr.phase==="DRAGGING"&&Je.update(Kr.critical,Kr.impact)}}}},so=function(se){return function(Ie){return function(Je){if(Je.type!=="DROP_ANIMATION_FINISHED"){Ie(Je);return}var pt=se.getState();pt.phase==="DROP_ANIMATING"||Ae(!1),se.dispatch(ti({completed:pt.completed}))}}},To=function(se){var Ie=null,Je=null;function pt(){Je&&(cancelAnimationFrame(Je),Je=null),Ie&&(Ie(),Ie=null)}return function(kt){return function(Wt){if((Wt.type==="FLUSH"||Wt.type==="DROP_COMPLETE"||Wt.type==="DROP_ANIMATION_FINISHED")&&pt(),kt(Wt),Wt.type!=="DROP_ANIMATE")return;var Kt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Kr=se.getState();Kr.phase==="DROP_ANIMATING"&&se.dispatch(Mi())}};Je=requestAnimationFrame(function(){Je=null,Ie=me(window,[Kt])})}}},No=function(se){return function(){return function(Ie){return function(Je){(Je.type==="DROP_COMPLETE"||Je.type==="FLUSH"||Je.type==="DROP_ANIMATE")&&se.stopPublishing(),Ie(Je)}}}},oo=function(se){var Ie=!1;return function(){return function(Je){return function(pt){if(pt.type==="INITIAL_PUBLISH"){Ie=!0,se.tryRecordFocus(pt.payload.critical.draggable.id),Je(pt),se.tryRestoreFocusRecorded();return}if(Je(pt),!Ie)return;if(pt.type==="FLUSH"){Ie=!1,se.tryRestoreFocusRecorded();return}if(pt.type==="DROP_COMPLETE"){Ie=!1;var kt=pt.payload.completed.result;kt.combine&&se.tryShiftRecord(kt.draggableId,kt.combine.draggableId),se.tryRestoreFocusRecorded()}}}}},Ja=function(se){return se.type==="DROP_COMPLETE"||se.type==="DROP_ANIMATE"||se.type==="FLUSH"},zo=function(se){return function(Ie){return function(Je){return function(pt){if(Ja(pt)){se.stop(),Je(pt);return}if(pt.type==="INITIAL_PUBLISH"){Je(pt);var kt=Ie.getState();kt.phase==="DRAGGING"||Ae(!1),se.start(kt);return}Je(pt),se.scroll(Ie.getState())}}}},Eo=function(se){return function(Ie){return function(Je){if(Ie(Je),Je.type!=="PUBLISH_WHILE_DRAGGING")return;var pt=se.getState();if(pt.phase!=="DROP_PENDING")return;if(pt.isWaiting)return;se.dispatch(oi({reason:pt.reason}))}}},Ea=v.d,jo=function(se){var Ie=se.dimensionMarshal,Je=se.focusMarshal,pt=se.styleMarshal,kt=se.getResponders,Wt=se.announce,Kt=se.autoScroller;return Object(v.e)(ao,Ea(Object(v.a)(Na(pt),No(Ie),sa(Ie),sn,so,To,Eo,zo(Kt),Di,oo(Je),uo(kt,Wt))))},Zo=function(){return{additions:{},removals:{},modified:{}}};function Za(Fe){var se=Fe.registry,Ie=Fe.callbacks,Je=Zo(),pt=null,kt=function(){if(pt)return;Ie.collectionStarting(),pt=requestAnimationFrame(function(){pt=null,ia();var Ir=Je,Er=Ir.additions,zr=Ir.removals,qr=Ir.modified,Nn=Object.keys(Er).map(function(Oa){return se.draggable.getById(Oa).getDimension(Be)}).sort(function(Oa,ta){return Oa.descriptor.index-ta.descriptor.index}),wi=Object.keys(qr).map(function(Oa){var ta=se.droppable.getById(Oa),_o=ta.callbacks.getScrollWhileDragging();return{droppableId:Oa,scroll:_o}}),Ki={additions:Nn,removals:Object.keys(zr),modified:wi};Je=Zo(),Va(),Ie.publish(Ki)})},Wt=function(Ir){var Er=Ir.descriptor.id;Je.additions[Er]=Ir,Je.modified[Ir.descriptor.droppableId]=!0,Je.removals[Er]&&delete Je.removals[Er],kt()},Kt=function(Ir){var Er=Ir.descriptor;Je.removals[Er.id]=!0,Je.modified[Er.droppableId]=!0,Je.additions[Er.id]&&delete Je.additions[Er.id],kt()},Mr=function(){if(!pt)return;cancelAnimationFrame(pt),pt=null,Je=Zo()};return{add:Wt,remove:Kt,stop:Mr}}var Xo=function(se){var Ie=se.scrollHeight,Je=se.scrollWidth,pt=se.height,kt=se.width,Wt=de({x:Je,y:Ie},{x:kt,y:pt}),Kt={x:Math.max(0,Wt.x),y:Math.max(0,Wt.y)};return Kt},qo=function(){var se=document.documentElement;return se||Ae(!1),se},cs=function(){var se=qo(),Ie=Xo({scrollHeight:se.scrollHeight,scrollWidth:se.scrollWidth,width:se.clientWidth,height:se.clientHeight});return Ie},Oo=function(){var se=Hn(),Ie=cs(),Je=se.y,pt=se.x,kt=qo(),Wt=kt.clientWidth,Kt=kt.clientHeight,Mr=pt+Wt,Kr=Je+Kt,Ir=r({top:Je,left:pt,right:Mr,bottom:Kr}),Er={frame:Ir,scroll:{initial:se,current:se,max:Ie,diff:{value:Be,displacement:Be}}};return Er},ss=function(se){var Ie=se.critical,Je=se.scrollOptions,pt=se.registry;ia();var kt=Oo(),Wt=kt.scroll.current,Kt=Ie.droppable,Mr=pt.droppable.getAllByType(Kt.type).map(function(zr){return zr.callbacks.getDimensionAndWatchScroll(Wt,Je)}),Kr=pt.draggable.getAllByType(Ie.draggable.type).map(function(zr){return zr.getDimension(Wt)}),Ir={draggables:mt(Kr),droppables:pr(Mr)};Va();var Er={dimensions:Ir,critical:Ie,viewport:kt};return Er};function Io(Fe,se,Ie){if(Ie.descriptor.id===se.id)return!1;if(Ie.descriptor.type!==se.type)return!1;var Je=Fe.droppable.getById(Ie.descriptor.droppableId);return!(Je.descriptor.mode!=="virtual")}var lo=function(se,Ie){var Je=null,pt=Za({callbacks:{publish:Ie.publishWhileDragging,collectionStarting:Ie.collectionStarting},registry:se}),kt=function(Nn,wi){if(se.droppable.exists(Nn)||Ae(!1),!Je)return;Ie.updateDroppableIsEnabled({id:Nn,isEnabled:wi})},Wt=function(Nn,wi){if(!Je)return;se.droppable.exists(Nn)||Ae(!1),Ie.updateDroppableIsCombineEnabled({id:Nn,isCombineEnabled:wi})},Kt=function(Nn,wi){if(!Je)return;se.droppable.exists(Nn)||Ae(!1),Ie.updateDroppableScroll({id:Nn,newScroll:wi})},Mr=function(Nn,wi){if(!Je)return;se.droppable.getById(Nn).callbacks.scroll(wi)},Kr=function(){if(!Je)return;pt.stop();var Nn=Je.critical.droppable;se.droppable.getAllByType(Nn.type).forEach(function(wi){return wi.callbacks.dragStopped()}),Je.unsubscribe(),Je=null},Ir=function(Nn){Je||Ae(!1);var wi=Je.critical.draggable;Nn.type==="ADDITION"&&(Io(se,wi,Nn.value)&&pt.add(Nn.value)),Nn.type==="REMOVAL"&&(Io(se,wi,Nn.value)&&pt.remove(Nn.value))},Er=function(Nn){Je&&Ae(!1);var wi=se.draggable.getById(Nn.draggableId),Ki=se.droppable.getById(wi.descriptor.droppableId),Oa={draggable:wi.descriptor,droppable:Ki.descriptor},ta=se.subscribe(Ir);return Je={critical:Oa,unsubscribe:ta},ss({critical:Oa,registry:se,scrollOptions:Nn.scrollOptions})},zr={updateDroppableIsEnabled:kt,updateDroppableIsCombineEnabled:Wt,scrollDroppable:Mr,updateDroppableScroll:Kt,startPublishing:Er,stopPublishing:Kr};return zr},ks=function(se,Ie){return se.phase==="IDLE"?!0:se.phase!=="DROP_ANIMATING"||se.completed.result.draggableId===Ie?!1:se.completed.result.reason==="DROP"},As=function(se){window.scrollBy(se.x,se.y)},ko=D(function(Fe){return nr(Fe).filter(function(se){return se.isEnabled?!!se.frame:!1})}),ys=function(se,Ie){var Je=ye(ko(Ie),function(pt){return pt.frame||Ae(!1),Wi(pt.frame.pageMarginBox)(se)});return Je},es=function(se){var Ie=se.center,Je=se.destination,pt=se.droppables;if(Je){var kt=pt[Je];return kt.frame?kt:null}var Wt=ys(Ie,pt);return Wt},ts={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(se){return Math.pow(se,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},_s=function(se,Ie){var Je=se[Ie.size]*ts.startFromPercentage,pt=se[Ie.size]*ts.maxScrollAtPercentage,kt={startScrollingFrom:Je,maxScrollValueAt:pt};return kt},Ts=function(se){var Ie=se.startOfRange,Je=se.endOfRange,pt=se.current,kt=Je-Ie;if(kt===0)return 0;var Wt=pt-Ie,Kt=Wt/kt;return Kt},$s=1,Ms=function(se,Ie){if(se>Ie.startScrollingFrom)return 0;if(se<=Ie.maxScrollValueAt)return ts.maxPixelScroll;if(se===Ie.startScrollingFrom)return $s;var Je=Ts({startOfRange:Ie.maxScrollValueAt,endOfRange:Ie.startScrollingFrom,current:se}),pt=1-Je,kt=ts.maxPixelScroll*ts.ease(pt);return Math.ceil(kt)},Fs=ts.durationDampening.accelerateAt,as=ts.durationDampening.stopDampeningAt,vs=function(se,Ie){var Je=Ie,pt=as,kt=Date.now(),Wt=kt-Je;if(Wt>=as)return se;if(Wt<Fs)return $s;var Kt=Ts({startOfRange:Fs,endOfRange:pt,current:Wt}),Mr=se*ts.ease(Kt);return Math.ceil(Mr)},Ho=function(se){var Ie=se.distanceToEdge,Je=se.thresholds,pt=se.dragStartTime,kt=se.shouldUseTimeDampening,Wt=Ms(Ie,Je);return Wt===0?0:kt?Math.max(vs(Wt,pt),$s):Wt},Ns=function(se){var Ie=se.container,Je=se.distanceToEdges,pt=se.dragStartTime,kt=se.axis,Wt=se.shouldUseTimeDampening,Kt=_s(Ie,kt),Mr=Je[kt.end]<Je[kt.start];return Mr?Ho({distanceToEdge:Je[kt.end],thresholds:Kt,dragStartTime:pt,shouldUseTimeDampening:Wt}):-1*Ho({distanceToEdge:Je[kt.start],thresholds:Kt,dragStartTime:pt,shouldUseTimeDampening:Wt})},Us=function(se){var Ie=se.container,Je=se.subject,pt=se.proposedScroll,kt=Je.height>Ie.height,Wt=Je.width>Ie.width;return!Wt&&!kt?pt:Wt&&kt?null:{x:Wt?0:pt.x,y:kt?0:pt.y}},ka=Pe(function(Fe){return Fe===0?0:Fe}),Go=function(se){var Ie=se.dragStartTime,Je=se.container,pt=se.subject,kt=se.center,Wt=se.shouldUseTimeDampening,Kt={top:kt.y-Je.top,right:Je.right-kt.x,bottom:Je.bottom-kt.y,left:kt.x-Je.left},Mr=Ns({container:Je,distanceToEdges:Kt,dragStartTime:Ie,axis:di,shouldUseTimeDampening:Wt}),Kr=Ns({container:Je,distanceToEdges:Kt,dragStartTime:Ie,axis:lt,shouldUseTimeDampening:Wt}),Ir=ka({x:Kr,y:Mr});if(ve(Ir,Be))return null;var Er=Us({container:Je,subject:pt,proposedScroll:Ir});return Er?ve(Er,Be)?null:Er:null},xl=Pe(function(Fe){return Fe===0?0:Fe>0?1:-1}),ul=function(){var Fe=function(Ie,Je){return Ie<0?Ie:Ie>Je?Ie-Je:0};return function(se){var Ie=se.current,Je=se.max,pt=se.change,kt=Ne(Ie,pt),Wt={x:Fe(kt.x,Je.x),y:Fe(kt.y,Je.y)};return ve(Wt,Be)?null:Wt}}(),gl=function(se){var Ie=se.max,Je=se.current,pt=se.change,kt={x:Math.max(Je.x,Ie.x),y:Math.max(Je.y,Ie.y)},Wt=xl(pt),Kt=ul({max:kt,current:Je,change:Wt});return Kt?Wt.x!==0&&Kt.x===0?!0:Wt.y!==0&&Kt.y===0:!0},_l=function(se,Ie){return gl({current:se.scroll.current,max:se.scroll.max,change:Ie})},Xs=function(se,Ie){if(!_l(se,Ie))return null;var Je=se.scroll.max,pt=se.scroll.current;return ul({current:pt,max:Je,change:Ie})},Yo=function(se,Ie){var Je=se.frame;return Je?gl({current:Je.scroll.current,max:Je.scroll.max,change:Ie}):!1},al=function(se,Ie){var Je=se.frame;return Je&&Yo(se,Ie)?ul({current:Je.scroll.current,max:Je.scroll.max,change:Ie}):null},Wl=function(se){var Ie=se.viewport,Je=se.subject,pt=se.center,kt=se.dragStartTime,Wt=se.shouldUseTimeDampening,Kt=Go({dragStartTime:kt,container:Ie.frame,subject:Je,center:pt,shouldUseTimeDampening:Wt});return Kt&&_l(Ie,Kt)?Kt:null},Ps=function(se){var Ie=se.droppable,Je=se.subject,pt=se.center,kt=se.dragStartTime,Wt=se.shouldUseTimeDampening,Kt=Ie.frame;if(!Kt)return null;var Mr=Go({dragStartTime:kt,container:Kt.pageMarginBox,subject:Je,center:pt,shouldUseTimeDampening:Wt});return Mr&&Yo(Ie,Mr)?Mr:null},nl=function(se){var Ie=se.state,Je=se.dragStartTime,pt=se.shouldUseTimeDampening,kt=se.scrollWindow,Wt=se.scrollDroppable,Kt=Ie.current.page.borderBoxCenter,Mr=Ie.dimensions.draggables[Ie.critical.draggable.id],Kr=Mr.page.marginBox;if(Ie.isWindowScrollAllowed){var Ir=Ie.viewport,Er=Wl({dragStartTime:Je,viewport:Ir,subject:Kr,center:Kt,shouldUseTimeDampening:pt});if(Er){kt(Er);return}}var zr=es({center:Kt,destination:Yn(Ie.impact),droppables:Ie.dimensions.droppables});if(!zr)return;var qr=Ps({dragStartTime:Je,droppable:zr,subject:Kr,center:Kt,shouldUseTimeDampening:pt});qr&&Wt(zr.descriptor.id,qr)},$o=function(se){var Ie=se.scrollWindow,Je=se.scrollDroppable,pt=j(Ie),kt=j(Je),Wt=null,Kt=function(Er){Wt||Ae(!1);var zr=Wt,qr=zr.shouldUseTimeDampening,Nn=zr.dragStartTime;nl({state:Er,scrollWindow:pt,scrollDroppable:kt,dragStartTime:Nn,shouldUseTimeDampening:qr})},Mr=function(Er){ia(),Wt&&Ae(!1);var zr=Date.now(),qr=!1,Nn=function(){qr=!0};nl({state:Er,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Nn,scrollDroppable:Nn}),Wt={dragStartTime:zr,shouldUseTimeDampening:qr},Va(),qr&&Kt(Er)},Kr=function(){if(!Wt)return;pt.cancel(),kt.cancel(),Wt=null};return{start:Mr,stop:Kr,scroll:Kt}},Sl=function(se){var Ie=se.move,Je=se.scrollDroppable,pt=se.scrollWindow,kt=function(Ir,Er){var zr=Ne(Ir.current.client.selection,Er);Ie({client:zr})},Wt=function(Ir,Er){if(!Yo(Ir,Er))return Er;var zr=al(Ir,Er);if(!zr)return Je(Ir.descriptor.id,Er),null;var qr=de(Er,zr);Je(Ir.descriptor.id,qr);var Nn=de(Er,qr);return Nn},Kt=function(Ir,Er,zr){if(!Ir)return zr;if(!_l(Er,zr))return zr;var qr=Xs(Er,zr);if(!qr)return pt(zr),null;var Nn=de(zr,qr);pt(Nn);var wi=de(zr,Nn);return wi},Mr=function(Ir){var Er=Ir.scrollJumpRequest;if(!Er)return;var zr=Yn(Ir.impact);zr||Ae(!1);var qr=Wt(Ir.dimensions.droppables[zr],Er);if(!qr)return;var Nn=Ir.viewport,wi=Kt(Ir.isWindowScrollAllowed,Nn,qr);if(!wi)return;kt(Ir,wi)};return Mr},Pc=function(se){var Ie=se.scrollDroppable,Je=se.scrollWindow,pt=se.move,kt=$o({scrollWindow:Je,scrollDroppable:Ie}),Wt=Sl({move:pt,scrollWindow:Je,scrollDroppable:Ie}),Kt=function(Ir){if(Ir.phase!=="DRAGGING")return;if(Ir.movementMode==="FLUID"){kt.scroll(Ir);return}if(!Ir.scrollJumpRequest)return;Wt(Ir)},Mr={scroll:Kt,start:kt.start,stop:kt.stop};return Mr},nc="data-rbd",hc=function(){var Fe=nc+"-drag-handle";return{base:Fe,draggableId:Fe+"-draggable-id",contextId:Fe+"-context-id"}}(),ic=function(){var Fe=nc+"-draggable";return{base:Fe,contextId:Fe+"-context-id",id:Fe+"-id"}}(),Jl=function(){var Fe=nc+"-droppable";return{base:Fe,contextId:Fe+"-context-id",id:Fe+"-id"}}(),Yl={contextId:nc+"-scroll-container-context-id"},Al=function(se){return function(Ie){return"["+Ie+'="'+se+'"]'}},zs=function(se,Ie){return se.map(function(Je){var pt=Je.styles[Ie];return pt?Je.selector+" { "+pt+" }":""}).join(" ")},Tl="pointer-events: none;",vl=function(se){var Ie=Al(se),Je=function(){var Mr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:Ie(hc.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:Mr,dragging:Tl,dropAnimating:Mr}}}(),pt=function(){var Mr=`
|
|
|
transition: `+Ai.outOfTheWay+`;
|
|
|
`;return{selector:Ie(ic.contextId),styles:{dragging:Mr,dropAnimating:Mr,userCancel:Mr}}}(),kt={selector:Ie(Jl.contextId),styles:{always:"overflow-anchor: none;"}},Wt={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;
|
|
|
`}},Kt=[pt,Je,kt,Wt];return{always:zs(Kt,"always"),resting:zs(Kt,"resting"),dragging:zs(Kt,"dragging"),dropAnimating:zs(Kt,"dropAnimating"),userCancel:zs(Kt,"userCancel")}},Cl=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,dn=function(){var se=document.querySelector("head");return se||Ae(!1),se},bl=function(se){var Ie=document.createElement("style");return se&&Ie.setAttribute("nonce",se),Ie.type="text/css",Ie};function Lc(Fe,se){var Ie=t(function(){return vl(Fe)},[Fe]),Je=Object(y.useRef)(null),pt=Object(y.useRef)(null),kt=a(D(function(Er){var zr=pt.current;zr||Ae(!1),zr.textContent=Er}),[]),Wt=a(function(Er){var zr=Je.current;zr||Ae(!1),zr.textContent=Er},[]);Cl(function(){!Je.current&&!pt.current||Ae(!1);var Er=bl(se),zr=bl(se);return Je.current=Er,pt.current=zr,Er.setAttribute(nc+"-always",Fe),zr.setAttribute(nc+"-dynamic",Fe),dn().appendChild(Er),dn().appendChild(zr),Wt(Ie.always),kt(Ie.resting),function(){var qr=function(wi){var Ki=wi.current;Ki||Ae(!1),dn().removeChild(Ki),wi.current=null};qr(Je),qr(pt)}},[se,Wt,kt,Ie.always,Ie.resting,Fe]);var Kt=a(function(){return kt(Ie.dragging)},[kt,Ie.dragging]),Mr=a(function(Er){if(Er==="DROP"){kt(Ie.dropAnimating);return}kt(Ie.userCancel)},[kt,Ie.dropAnimating,Ie.userCancel]),Kr=a(function(){if(!pt.current)return;kt(Ie.resting)},[kt,Ie.resting]),Ir=t(function(){return{dragging:Kt,dropping:Mr,resting:Kr}},[Kt,Mr,Kr]);return Ir}var bc=function(se){return se&&se.ownerDocument?se.ownerDocument.defaultView:window};function pc(Fe){return Fe instanceof bc(Fe).HTMLElement}function fs(Fe,se){var Ie="["+hc.contextId+'="'+Fe+'"]',Je=Xt(document.querySelectorAll(Ie));if(!Je.length)return null;var pt=ye(Je,function(kt){return kt.getAttribute(hc.draggableId)===se});return pt&&pc(pt)?pt:null}function Ks(Fe){var se=Object(y.useRef)({}),Ie=Object(y.useRef)(null),Je=Object(y.useRef)(null),pt=Object(y.useRef)(!1),kt=a(function(zr,qr){var Nn={id:zr,focus:qr};return se.current[zr]=Nn,function(){var Ki=se.current,Oa=Ki[zr];Oa!==Nn&&delete Ki[zr]}},[]),Wt=a(function(zr){var qr=fs(Fe,zr);qr&&qr!==document.activeElement&&qr.focus()},[Fe]),Kt=a(function(zr,qr){Ie.current===zr&&(Ie.current=qr)},[]),Mr=a(function(){if(Je.current)return;if(!pt.current)return;Je.current=requestAnimationFrame(function(){Je.current=null;var zr=Ie.current;zr&&Wt(zr)})},[Wt]),Kr=a(function(zr){Ie.current=null;var qr=document.activeElement;if(!qr)return;if(qr.getAttribute(hc.draggableId)!==zr)return;Ie.current=zr},[]);Cl(function(){return pt.current=!0,function(){pt.current=!1;var zr=Je.current;zr&&cancelAnimationFrame(zr)}},[]);var Ir=t(function(){return{register:kt,tryRecordFocus:Kr,tryRestoreFocusRecorded:Mr,tryShiftRecord:Kt}},[kt,Kr,Mr,Kt]);return Ir}function Ol(){var Fe={draggables:{},droppables:{}},se=[];function Ie(Er){return se.push(Er),function(){var qr=se.indexOf(Er);if(qr===-1)return;se.splice(qr,1)}}function Je(Er){se.length&&se.forEach(function(zr){return zr(Er)})}function pt(Er){return Fe.draggables[Er]||null}function kt(Er){var zr=pt(Er);return zr||Ae(!1),zr}var Wt={register:function(zr){Fe.draggables[zr.descriptor.id]=zr,Je({type:"ADDITION",value:zr})},update:function(zr,qr){var Nn=Fe.draggables[qr.descriptor.id];if(!Nn)return;if(Nn.uniqueId!==zr.uniqueId)return;delete Fe.draggables[qr.descriptor.id],Fe.draggables[zr.descriptor.id]=zr},unregister:function(zr){var qr=zr.descriptor.id,Nn=pt(qr);if(!Nn)return;if(zr.uniqueId!==Nn.uniqueId)return;delete Fe.draggables[qr],Je({type:"REMOVAL",value:zr})},getById:kt,findById:pt,exists:function(zr){return Boolean(pt(zr))},getAllByType:function(zr){return Dt(Fe.draggables).filter(function(qr){return qr.descriptor.type===zr})}};function Kt(Er){return Fe.droppables[Er]||null}function Mr(Er){var zr=Kt(Er);return zr||Ae(!1),zr}var Kr={register:function(zr){Fe.droppables[zr.descriptor.id]=zr},unregister:function(zr){var qr=Kt(zr.descriptor.id);if(!qr)return;if(zr.uniqueId!==qr.uniqueId)return;delete Fe.droppables[zr.descriptor.id]},getById:Mr,findById:Kt,exists:function(zr){return Boolean(Kt(zr))},getAllByType:function(zr){return Dt(Fe.droppables).filter(function(qr){return qr.descriptor.type===zr})}};function Ir(){Fe.draggables={},Fe.droppables={},se.length=0}return{draggable:Wt,droppable:Kr,subscribe:Ie,clean:Ir}}function Hs(){var Fe=t(Ol,[]);return Object(y.useEffect)(function(){return function(){requestAnimationFrame(Fe.clean)}},[Fe]),Fe}var ol=m.a.createContext(null),Gs=function(){var se=document.body;return se||Ae(!1),se},Il={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Uc=function(se){return"rbd-announcement-"+se};function mc(Fe){var se=t(function(){return Uc(Fe)},[Fe]),Ie=Object(y.useRef)(null);Object(y.useEffect)(function(){var kt=document.createElement("div");return Ie.current=kt,kt.id=se,kt.setAttribute("aria-live","assertive"),kt.setAttribute("aria-atomic","true"),Object(p.a)(kt.style,Il),Gs().appendChild(kt),function(){setTimeout(function(){var Mr=Gs();Mr.contains(kt)&&Mr.removeChild(kt),kt===Ie.current&&(Ie.current=null)})}},[se]);var Je=a(function(pt){var kt=Ie.current;if(kt){kt.textContent=pt;return}},[]);return Je}var yc=0,ac={separator:"::"};function Ql(){yc=0}function gc(Fe,se){return se===void 0&&(se=ac),t(function(){return""+Fe+se.separator+yc++},[se.separator,Fe])}function Mt(Fe){var se=Fe.contextId,Ie=Fe.uniqueId;return"rbd-hidden-text-"+se+"-"+Ie}function Vt(Fe){var se=Fe.contextId,Ie=Fe.text,Je=gc("hidden-text",{separator:"-"}),pt=t(function(){return Mt({contextId:se,uniqueId:Je})},[Je,se]);return Object(y.useEffect)(function(){var Wt=document.createElement("div");return Wt.id=pt,Wt.textContent=Ie,Wt.style.display="none",Gs().appendChild(Wt),function(){var Mr=Gs();Mr.contains(Wt)&&Mr.removeChild(Wt)}},[pt,Ie]),pt}var wn=m.a.createContext(null),ci={react:"^16.8.5","react-dom":"^16.8.5"},Et=/(\d+)\.(\d+)\.(\d+)/,ce=function(se){var Ie=Et.exec(se);Ie!=null||Ae(!1);var Je=Number(Ie[1]),pt=Number(Ie[2]),kt=Number(Ie[3]);return{major:Je,minor:pt,patch:kt,raw:se}},Se=function(se,Ie){return Ie.major>se.major?!0:Ie.major<se.major?!1:Ie.minor>se.minor?!0:Ie.minor<se.minor?!1:Ie.patch>=se.patch},Oe=function(se,Ie){var Je=ce(se),pt=ce(Ie);if(Se(Je,pt))return},Xe=`
|
|
|
We expect a html5 doctype: <!doctype html>
|
|
|
This is to ensure consistent browser layout and measurement
|
|
|
|
|
|
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
|
|
|
`,wt=function(se){var Ie=se.doctype;if(!Ie)return;Ie.name.toLowerCase()!=="html",Ie.publicId!==""};function Ht(Fe){}function Pr(Fe,se){Ht(function(){Object(y.useEffect)(function(){try{Fe()}catch(Ie){ne(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+Ie.message+`
|
|
|
`)}},se)})}function Xr(){Pr(function(){Oe(ci.react,m.a.version),wt(document)},[])}function yn(Fe){var se=Object(y.useRef)(Fe);return Object(y.useEffect)(function(){se.current=Fe}),se}function Jn(){var Fe=null;function se(){return Boolean(Fe)}function Ie(Wt){return Wt===Fe}function Je(Wt){Fe&&Ae(!1);var Kt={abandon:Wt};return Fe=Kt,Kt}function pt(){Fe||Ae(!1),Fe=null}function kt(){Fe&&(Fe.abandon(),pt())}return{isClaimed:se,isActive:Ie,claim:Je,release:pt,tryAbandon:kt}}var Ei=9,Ji=13,wa=27,Ya=32,mo=33,Mo=34,us=35,ws=36,Os=37,il=38,Ys=39,ro=40,Ws,bs=(Ws={},Ws[Ji]=!0,Ws[Ei]=!0,Ws),Rl=function(se){bs[se.keyCode]&&se.preventDefault()},sl=function(){var Fe="visibilitychange";if(typeof document=="undefined")return Fe;var se=[Fe,"ms"+Fe,"webkit"+Fe,"moz"+Fe,"o"+Fe],Ie=ye(se,function(Je){return"on"+Je in document});return Ie||Fe}(),el=0,dl=5;function $l(Fe,se){return Math.abs(se.x-Fe.x)>=dl||Math.abs(se.y-Fe.y)>=dl}var zl={type:"IDLE"};function Kl(Fe){var se=Fe.cancel,Ie=Fe.completed,Je=Fe.getPhase,pt=Fe.setPhase;return[{eventName:"mousemove",fn:function(Wt){var Kt=Wt.button,Mr=Wt.clientX,Kr=Wt.clientY;if(Kt!==el)return;var Ir={x:Mr,y:Kr},Er=Je();if(Er.type==="DRAGGING"){Wt.preventDefault(),Er.actions.move(Ir);return}Er.type==="PENDING"||Ae(!1);var zr=Er.point;if(!$l(zr,Ir))return;Wt.preventDefault();var qr=Er.actions.fluidLift(Ir);pt({type:"DRAGGING",actions:qr})}},{eventName:"mouseup",fn:function(Wt){var Kt=Je();if(Kt.type!=="DRAGGING"){se();return}Wt.preventDefault(),Kt.actions.drop({shouldBlockNextClick:!0}),Ie()}},{eventName:"mousedown",fn:function(Wt){Je().type==="DRAGGING"&&Wt.preventDefault(),se()}},{eventName:"keydown",fn:function(Wt){var Kt=Je();if(Kt.type==="PENDING"){se();return}if(Wt.keyCode===wa){Wt.preventDefault(),se();return}Rl(Wt)}},{eventName:"resize",fn:se},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){Je().type==="PENDING"&&se()}},{eventName:"webkitmouseforcedown",fn:function(Wt){var Kt=Je();if(Kt.type!=="IDLE"||Ae(!1),Kt.actions.shouldRespectForcePress()){se();return}Wt.preventDefault()}},{eventName:sl,fn:se}]}function ql(Fe){var se=Object(y.useRef)(zl),Ie=Object(y.useRef)(we),Je=t(function(){return{eventName:"mousedown",fn:function(Er){if(Er.defaultPrevented)return;if(Er.button!==el)return;if(Er.ctrlKey||Er.metaKey||Er.shiftKey||Er.altKey)return;var zr=Fe.findClosestDraggableId(Er);if(!zr)return;var qr=Fe.tryGetLock(zr,Wt,{sourceEvent:Er});if(!qr)return;Er.preventDefault();var Nn={x:Er.clientX,y:Er.clientY};Ie.current(),Kr(qr,Nn)}}},[Fe]),pt=t(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Er){if(Er.defaultPrevented)return;var zr=Fe.findClosestDraggableId(Er);if(!zr)return;var qr=Fe.findOptionsForDraggable(zr);if(!qr)return;if(qr.shouldRespectForcePress)return;if(!Fe.canGetLock(zr))return;Er.preventDefault()}}},[Fe]),kt=a(function(){var Er={passive:!1,capture:!0};Ie.current=me(window,[pt,Je],Er)},[pt,Je]),Wt=a(function(){var Ir=se.current;if(Ir.type==="IDLE")return;se.current=zl,Ie.current(),kt()},[kt]),Kt=a(function(){var Ir=se.current;Wt(),Ir.type==="DRAGGING"&&Ir.actions.cancel({shouldBlockNextClick:!0}),Ir.type==="PENDING"&&Ir.actions.abort()},[Wt]),Mr=a(function(){var Er={capture:!0,passive:!1},zr=Kl({cancel:Kt,completed:Wt,getPhase:function(){return se.current},setPhase:function(Nn){se.current=Nn}});Ie.current=me(window,zr,Er)},[Kt,Wt]),Kr=a(function(Er,zr){se.current.type==="IDLE"||Ae(!1),se.current={type:"PENDING",point:zr,actions:Er},Mr()},[Mr]);Cl(function(){return kt(),function(){Ie.current()}},[kt])}var Vl;function Nc(){}var Zc=(Vl={},Vl[Mo]=!0,Vl[mo]=!0,Vl[ws]=!0,Vl[us]=!0,Vl);function Zl(Fe,se){function Ie(){se(),Fe.cancel()}function Je(){se(),Fe.drop()}return[{eventName:"keydown",fn:function(kt){if(kt.keyCode===wa){kt.preventDefault(),Ie();return}if(kt.keyCode===Ya){kt.preventDefault(),Je();return}if(kt.keyCode===ro){kt.preventDefault(),Fe.moveDown();return}if(kt.keyCode===il){kt.preventDefault(),Fe.moveUp();return}if(kt.keyCode===Ys){kt.preventDefault(),Fe.moveRight();return}if(kt.keyCode===Os){kt.preventDefault(),Fe.moveLeft();return}if(Zc[kt.keyCode]){kt.preventDefault();return}Rl(kt)}},{eventName:"mousedown",fn:Ie},{eventName:"mouseup",fn:Ie},{eventName:"click",fn:Ie},{eventName:"touchstart",fn:Ie},{eventName:"resize",fn:Ie},{eventName:"wheel",fn:Ie,options:{passive:!0}},{eventName:sl,fn:Ie}]}function ll(Fe){var se=Object(y.useRef)(Nc),Ie=t(function(){return{eventName:"keydown",fn:function(kt){if(kt.defaultPrevented)return;if(kt.keyCode!==Ya)return;var Wt=Fe.findClosestDraggableId(kt);if(!Wt)return;var Kt=Fe.tryGetLock(Wt,Ir,{sourceEvent:kt});if(!Kt)return;kt.preventDefault();var Mr=!0,Kr=Kt.snapLift();se.current();function Ir(){Mr||Ae(!1),Mr=!1,se.current(),Je()}se.current=me(window,Zl(Kr,Ir),{capture:!0,passive:!1})}}},[Fe]),Je=a(function(){var kt={passive:!1,capture:!0};se.current=me(window,[Ie],kt)},[Ie]);Cl(function(){return Je(),function(){se.current()}},[Je])}var Fl={type:"IDLE"},Mc=120,fc=.15;function Cc(Fe){var se=Fe.cancel,Ie=Fe.getPhase;return[{eventName:"orientationchange",fn:se},{eventName:"resize",fn:se},{eventName:"contextmenu",fn:function(pt){pt.preventDefault()}},{eventName:"keydown",fn:function(pt){if(Ie().type!=="DRAGGING"){se();return}pt.keyCode===wa&&pt.preventDefault(),se()}},{eventName:sl,fn:se}]}function Oc(Fe){var se=Fe.cancel,Ie=Fe.completed,Je=Fe.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(kt){var Wt=Je();if(Wt.type!=="DRAGGING"){se();return}Wt.hasMoved=!0;var Kt=kt.touches[0],Mr=Kt.clientX,Kr=Kt.clientY,Ir={x:Mr,y:Kr};kt.preventDefault(),Wt.actions.move(Ir)}},{eventName:"touchend",fn:function(kt){var Wt=Je();if(Wt.type!=="DRAGGING"){se();return}kt.preventDefault(),Wt.actions.drop({shouldBlockNextClick:!0}),Ie()}},{eventName:"touchcancel",fn:function(kt){if(Je().type!=="DRAGGING"){se();return}kt.preventDefault(),se()}},{eventName:"touchforcechange",fn:function(kt){var Wt=Je();Wt.type!=="IDLE"||Ae(!1);var Kt=kt.touches[0];if(!Kt)return;var Mr=Kt.force>=fc;if(!Mr)return;var Kr=Wt.actions.shouldRespectForcePress();if(Wt.type==="PENDING"){Kr&&se();return}if(Kr){if(Wt.hasMoved){kt.preventDefault();return}se();return}kt.preventDefault()}},{eventName:sl,fn:se}]}function Ac(Fe){var se=Object(y.useRef)(Fl),Ie=Object(y.useRef)(we),Je=a(function(){return se.current},[]),pt=a(function(qr){se.current=qr},[]),kt=t(function(){return{eventName:"touchstart",fn:function(qr){if(qr.defaultPrevented)return;var Nn=Fe.findClosestDraggableId(qr);if(!Nn)return;var wi=Fe.tryGetLock(Nn,Kt,{sourceEvent:qr});if(!wi)return;var Ki=qr.touches[0],Oa=Ki.clientX,ta=Ki.clientY,_o={x:Oa,y:ta};Ie.current(),Er(wi,_o)}}},[Fe]),Wt=a(function(){var qr={capture:!0,passive:!1};Ie.current=me(window,[kt],qr)},[kt]),Kt=a(function(){var zr=se.current;if(zr.type==="IDLE")return;zr.type==="PENDING"&&clearTimeout(zr.longPressTimerId),pt(Fl),Ie.current(),Wt()},[Wt,pt]),Mr=a(function(){var zr=se.current;Kt(),zr.type==="DRAGGING"&&zr.actions.cancel({shouldBlockNextClick:!0}),zr.type==="PENDING"&&zr.actions.abort()},[Kt]),Kr=a(function(){var qr={capture:!0,passive:!1},Nn={cancel:Mr,completed:Kt,getPhase:Je},wi=me(window,Oc(Nn),qr),Ki=me(window,Cc(Nn),qr);Ie.current=function(){wi(),Ki()}},[Mr,Je,Kt]),Ir=a(function(){var qr=Je();qr.type==="PENDING"||Ae(!1);var Nn=qr.actions.fluidLift(qr.point);pt({type:"DRAGGING",actions:Nn,hasMoved:!1})},[Je,pt]),Er=a(function(qr,Nn){Je().type==="IDLE"||Ae(!1);var wi=setTimeout(Ir,Mc);pt({type:"PENDING",point:Nn,actions:qr,longPressTimerId:wi}),Kr()},[Kr,Je,pt,Ir]);Cl(function(){return Wt(),function(){Ie.current();var Nn=Je();Nn.type==="PENDING"&&(clearTimeout(Nn.longPressTimerId),pt(Fl))}},[Je,Wt,pt]),Cl(function(){var qr=me(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return qr},[])}function Wc(Fe){Ht(function(){var se=yn(Fe);Pr(function(){se.current.length===Fe.length||Ae(!1)})})}var Dc={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function jc(Fe,se){if(se==null)return!1;var Ie=Boolean(Dc[se.tagName.toLowerCase()]);if(Ie)return!0;var Je=se.getAttribute("contenteditable");return Je==="true"||Je===""?!0:se===Fe?!1:jc(Fe,se.parentElement)}function wc(Fe,se){var Ie=se.target;return pc(Ie)?jc(Fe,Ie):!1}var ps=function(se){return r(se.getBoundingClientRect()).center};function xo(Fe){return Fe instanceof bc(Fe).Element}var ls=function(){var Fe="matches";if(typeof document=="undefined")return Fe;var se=[Fe,"msMatchesSelector","webkitMatchesSelector"],Ie=ye(se,function(Je){return Je in Element.prototype});return Ie||Fe}();function Ds(Fe,se){return Fe==null?null:Fe[ls](se)?Fe:Ds(Fe.parentElement,se)}function Nl(Fe,se){return Fe.closest?Fe.closest(se):Ds(Fe,se)}function vc(Fe){return"["+hc.contextId+'="'+Fe+'"]'}function ec(Fe,se){var Ie=se.target;if(!xo(Ie))return null;var Je=vc(Fe),pt=Nl(Ie,Je);return pt&&pc(pt)?pt:null}function Xl(Fe,se){var Ie=ec(Fe,se);return Ie?Ie.getAttribute(hc.draggableId):null}function hl(Fe,se){var Ie="["+ic.contextId+'="'+Fe+'"]',Je=Xt(document.querySelectorAll(Ie)),pt=ye(Je,function(kt){return kt.getAttribute(ic.id)===se});return pt&&pc(pt)?pt:null}function tl(Fe){Fe.preventDefault()}function Ll(Fe){var se=Fe.expected,Ie=Fe.phase,Je=Fe.isLockActive,pt=Fe.shouldWarn;return Je()?!(se!==Ie):!1}function Qs(Fe){var se=Fe.lockAPI,Ie=Fe.store,Je=Fe.registry,pt=Fe.draggableId;if(se.isClaimed())return!1;var kt=Je.draggable.findById(pt);return kt&&kt.options.isEnabled?!!ks(Ie.getState(),pt):!1}function xc(Fe){var se=Fe.lockAPI,Ie=Fe.contextId,Je=Fe.store,pt=Fe.registry,kt=Fe.draggableId,Wt=Fe.forceSensorStop,Kt=Fe.sourceEvent,Mr=Qs({lockAPI:se,store:Je,registry:pt,draggableId:kt});if(!Mr)return null;var Kr=pt.draggable.getById(kt),Ir=hl(Ie,Kr.descriptor.id);if(!Ir)return null;if(Kt&&!Kr.options.canDragInteractiveElements&&wc(Ir,Kt))return null;var Er=se.claim(Wt||we),zr="PRE_DRAG";function qr(){return Kr.options.shouldRespectForcePress}function Nn(){return se.isActive(Er)}function wi(Lo,ds){Ll({expected:Lo,phase:zr,isLockActive:Nn,shouldWarn:!0})&&Je.dispatch(ds())}var Ki=wi.bind(null,"DRAGGING");function Oa(Lo){function ds(){se.release(),zr="COMPLETED"}zr!=="PRE_DRAG"&&(ds(),zr==="PRE_DRAG"||Ae(!1)),Je.dispatch(An(Lo.liftActionArgs)),zr="DRAGGING";function Rs(M,P){if(P===void 0&&(P={shouldBlockNextClick:!1}),Lo.cleanup(),P.shouldBlockNextClick){var ae=me(window,[{eventName:"click",fn:tl,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ae)}ds(),Je.dispatch(oi({reason:M}))}return Object(p.a)({isActive:function(){return Ll({expected:"DRAGGING",phase:zr,isLockActive:Nn,shouldWarn:!1})},shouldRespectForcePress:qr,drop:function(P){return Rs("DROP",P)},cancel:function(P){return Rs("CANCEL",P)}},Lo.actions)}function ta(Lo){var ds=j(function(M){Ki(function(){return Yr({client:M})})}),Rs=Oa({liftActionArgs:{id:kt,clientSelection:Lo,movementMode:"FLUID"},cleanup:function(){return ds.cancel()},actions:{move:ds}});return Object(p.a)({},Rs,{move:ds})}function _o(){var Lo={moveUp:function(){return Ki(In)},moveRight:function(){return Ki(ii)},moveDown:function(){return Ki(Xn)},moveLeft:function(){return Ki(fi)}};return Oa({liftActionArgs:{id:kt,clientSelection:ps(Ir),movementMode:"SNAP"},cleanup:we,actions:Lo})}function Wa(){var Lo=Ll({expected:"PRE_DRAG",phase:zr,isLockActive:Nn,shouldWarn:!0});Lo&&se.release()}var Ko={isActive:function(){return Ll({expected:"PRE_DRAG",phase:zr,isLockActive:Nn,shouldWarn:!1})},shouldRespectForcePress:qr,fluidLift:ta,snapLift:_o,abort:Wa};return Ko}var ku=[ql,ll,Ac];function $c(Fe){var se=Fe.contextId,Ie=Fe.store,Je=Fe.registry,pt=Fe.customSensors,kt=Fe.enableDefaultSensors,Wt=[].concat(kt?ku:[],pt||[]),Kt=Object(y.useState)(function(){return Jn()})[0],Mr=a(function(ta,_o){ta.isDragging&&!_o.isDragging&&Kt.tryAbandon()},[Kt]);Cl(function(){var ta=Ie.getState(),_o=Ie.subscribe(function(){var Wa=Ie.getState();Mr(ta,Wa),ta=Wa});return _o},[Kt,Ie,Mr]),Cl(function(){return Kt.tryAbandon},[Kt.tryAbandon]);var Kr=a(function(Oa){return Qs({lockAPI:Kt,registry:Je,store:Ie,draggableId:Oa})},[Kt,Je,Ie]),Ir=a(function(Oa,ta,_o){return xc({lockAPI:Kt,registry:Je,contextId:se,store:Ie,draggableId:Oa,forceSensorStop:ta,sourceEvent:_o&&_o.sourceEvent?_o.sourceEvent:null})},[se,Kt,Je,Ie]),Er=a(function(Oa){return Xl(se,Oa)},[se]),zr=a(function(Oa){var ta=Je.draggable.findById(Oa);return ta?ta.options:null},[Je.draggable]),qr=a(function(){if(!Kt.isClaimed())return;Kt.tryAbandon(),Ie.getState().phase!=="IDLE"&&Ie.dispatch(ui())},[Kt,Ie]),Nn=a(Kt.isClaimed,[Kt]),wi=t(function(){return{canGetLock:Kr,tryGetLock:Ir,findClosestDraggableId:Er,findOptionsForDraggable:zr,tryReleaseLock:qr,isLockClaimed:Nn}},[Kr,Ir,Er,zr,qr,Nn]);Wc(Wt);for(var Ki=0;Ki<Wt.length;Ki++)Wt[Ki](wi)}var hu=function(se){return{onBeforeCapture:se.onBeforeCapture,onBeforeDragStart:se.onBeforeDragStart,onDragStart:se.onDragStart,onDragEnd:se.onDragEnd,onDragUpdate:se.onDragUpdate}};function Rc(Fe){return Fe.current||Ae(!1),Fe.current}function fu(Fe){var se=Fe.contextId,Ie=Fe.setCallbacks,Je=Fe.sensors,pt=Fe.nonce,kt=Fe.dragHandleUsageInstructions,Wt=Object(y.useRef)(null);Xr();var Kt=yn(Fe),Mr=a(function(){return hu(Kt.current)},[Kt]),Kr=mc(se),Ir=Vt({contextId:se,text:kt}),Er=Lc(se,pt),zr=a(function(M){Rc(Wt).dispatch(M)},[]),qr=t(function(){return Object(v.b)({publishWhileDragging:Bn,updateDroppableScroll:Ft,updateDroppableIsEnabled:Cr,updateDroppableIsCombineEnabled:gr,collectionStarting:tt},zr)},[zr]),Nn=Hs(),wi=t(function(){return lo(Nn,qr)},[Nn,qr]),Ki=t(function(){return Pc(Object(p.a)({scrollWindow:As,scrollDroppable:wi.scrollDroppable},Object(v.b)({move:Yr},zr)))},[wi.scrollDroppable,zr]),Oa=Ks(se),ta=t(function(){return jo({announce:Kr,autoScroller:Ki,dimensionMarshal:wi,focusMarshal:Oa,getResponders:Mr,styleMarshal:Er})},[Kr,Ki,wi,Oa,Mr,Er]);Wt.current=ta;var _o=a(function(){var M=Rc(Wt),P=M.getState();P.phase!=="IDLE"&&M.dispatch(ui())},[]),Wa=a(function(){var M=Rc(Wt).getState();return M.isDragging||M.phase==="DROP_ANIMATING"},[]),Ko=t(function(){return{isDragging:Wa,tryAbort:_o}},[Wa,_o]);Ie(Ko);var Lo=a(function(M){return ks(Rc(Wt).getState(),M)},[]),ds=a(function(){return Vi(Rc(Wt).getState())},[]),Rs=t(function(){return{marshal:wi,focus:Oa,contextId:se,canLift:Lo,isMovementAllowed:ds,dragHandleUsageInstructionsId:Ir,registry:Nn}},[se,wi,Ir,Oa,Lo,ds,Nn]);return $c({contextId:se,store:ta,registry:Nn,customSensors:Je,enableDefaultSensors:Fe.enableDefaultSensors!==!1}),Object(y.useEffect)(function(){return _o},[_o]),m.a.createElement(wn.Provider,{value:Rs},m.a.createElement(f.a,{context:ol,store:ta},Fe.children))}var au=0;function Cd(){au=0}function od(){return t(function(){return""+au++},[])}function Ed(){Cd(),Ql()}function _d(Fe){var se=od(),Ie=Fe.dragHandleUsageInstructions||fe.dragHandleUsageInstructions;return m.a.createElement(je,null,function(Je){return m.a.createElement(fu,{nonce:Fe.nonce,contextId:se,setCallbacks:Je,dragHandleUsageInstructions:Ie,enableDefaultSensors:Fe.enableDefaultSensors,sensors:Fe.sensors,onBeforeCapture:Fe.onBeforeCapture,onBeforeDragStart:Fe.onBeforeDragStart,onDragStart:Fe.onDragStart,onDragUpdate:Fe.onDragUpdate,onDragEnd:Fe.onDragEnd},Fe.children)})}var Xu=function(se){return function(Ie){return se===Ie}},Ec=Xu("scroll"),Gl=Xu("auto"),Bc=Xu("visible"),Fu=function(se,Ie){return Ie(se.overflowX)||Ie(se.overflowY)},sd=function(se,Ie){return Ie(se.overflowX)&&Ie(se.overflowY)},ld=function(se){var Ie=window.getComputedStyle(se),Je={overflowX:Ie.overflowX,overflowY:Ie.overflowY};return Fu(Je,Ec)||Fu(Je,Gl)},Gu=function(){return!1;var se,Ie;if(!ld(se))return!1;var Je,pt;if(sd(pt,Bc))return!1},Tu=function Fe(se){return se==null?null:se===document.body?Gu()?se:null:se===document.documentElement?null:ld(se)?se:Fe(se.parentElement)},jd=function(se){if(!se)return;var Ie=Tu(se.parentElement);if(!Ie)return},cd=function(se){return{x:se.scrollLeft,y:se.scrollTop}},Td=function Fe(se){if(!se)return!1;var Ie=window.getComputedStyle(se);return Ie.position==="fixed"?!0:Fe(se.parentElement)},qc=function(se){var Ie=Tu(se),Je=Td(se);return{closestScrollable:Ie,isFixedOnPage:Je}},ou=function(se){var Ie=se.descriptor,Je=se.isEnabled,pt=se.isCombineEnabled,kt=se.isFixedOnPage,Wt=se.direction,Kt=se.client,Mr=se.page,Kr=se.closest,Ir=function(){if(!Kr)return null;var Nn=Kr.scrollSize,wi=Kr.client,Ki=Xo({scrollHeight:Nn.scrollHeight,scrollWidth:Nn.scrollWidth,height:wi.paddingBox.height,width:wi.paddingBox.width});return{pageMarginBox:Kr.page.marginBox,frameClient:wi,scrollSize:Nn,shouldClipSubject:Kr.shouldClipSubject,scroll:{initial:Kr.scroll,current:Kr.scroll,max:Ki,diff:{value:Be,displacement:Be}}}}(),Er=Wt==="vertical"?di:lt,zr=at({page:Mr,withPlaceholder:null,axis:Er,frame:Ir}),qr={descriptor:Ie,isCombineEnabled:pt,isFixedOnPage:kt,axis:Er,isEnabled:Je,client:Kt,page:Mr,frame:Ir,subject:zr};return qr},Pu=function(se,Ie){var Je=T(se);if(!Ie)return Je;if(se!==Ie)return Je;var pt=Je.paddingBox.top-Ie.scrollTop,kt=Je.paddingBox.left-Ie.scrollLeft,Wt=pt+Ie.scrollHeight,Kt=kt+Ie.scrollWidth,Mr={top:pt,right:Kt,bottom:Wt,left:kt},Kr=c(Mr,Je.border),Ir=h({borderBox:Kr,margin:Je.margin,border:Je.border,padding:Je.padding});return Ir},Ou=function(se){var Ie=se.ref,Je=se.descriptor,pt=se.env,kt=se.windowScroll,Wt=se.direction,Kt=se.isDropDisabled,Mr=se.isCombineEnabled,Kr=se.shouldClipSubject,Ir=pt.closestScrollable,Er=Pu(Ie,Ir),zr=x(Er,kt),qr=function(){if(!Ir)return null;var wi=T(Ir),Ki={scrollHeight:Ir.scrollHeight,scrollWidth:Ir.scrollWidth};return{client:wi,page:x(wi,kt),scroll:cd(Ir),scrollSize:Ki,shouldClipSubject:Kr}}(),Nn=ou({descriptor:Je,isEnabled:!Kt,isCombineEnabled:Mr,isFixedOnPage:pt.isFixedOnPage,direction:Wt,client:Er,page:zr,closest:qr});return Nn},eu={passive:!1},Sc={passive:!0},Uu=function(se){return se.shouldPublishImmediately?eu:Sc};function su(Fe){var se=Object(y.useContext)(Fe);return se||Ae(!1),se}var Yu=function(se){return se&&se.env.closestScrollable||null};function Od(Fe){var se=Object(y.useRef)(null),Ie=su(wn),Je=gc("droppable"),pt=Ie.registry,kt=Ie.marshal,Wt=yn(Fe),Kt=t(function(){return{id:Fe.droppableId,type:Fe.type,mode:Fe.mode}},[Fe.droppableId,Fe.mode,Fe.type]),Mr=Object(y.useRef)(Kt),Kr=t(function(){return D(function(Wa,Ko){se.current||Ae(!1);var Lo={x:Wa,y:Ko};kt.updateDroppableScroll(Kt.id,Lo)})},[Kt.id,kt]),Ir=a(function(){var Wa=se.current;return!Wa||!Wa.env.closestScrollable?Be:cd(Wa.env.closestScrollable)},[]),Er=a(function(){var Wa=Ir();Kr(Wa.x,Wa.y)},[Ir,Kr]),zr=t(function(){return j(Er)},[Er]),qr=a(function(){var Wa=se.current,Ko=Yu(Wa);Wa&&Ko||Ae(!1);var Lo=Wa.scrollOptions;if(Lo.shouldPublishImmediately){Er();return}zr()},[zr,Er]),Nn=a(function(Wa,Ko){se.current&&Ae(!1);var Lo=Wt.current,ds=Lo.getDroppableRef();ds||Ae(!1);var Rs=qc(ds),M={ref:ds,descriptor:Kt,env:Rs,scrollOptions:Ko};se.current=M;var P=Ou({ref:ds,descriptor:Kt,env:Rs,windowScroll:Wa,direction:Lo.direction,isDropDisabled:Lo.isDropDisabled,isCombineEnabled:Lo.isCombineEnabled,shouldClipSubject:!Lo.ignoreContainerClipping}),ae=Rs.closestScrollable;return ae&&(ae.setAttribute(Yl.contextId,Ie.contextId),ae.addEventListener("scroll",qr,Uu(M.scrollOptions))),P},[Ie.contextId,Kt,qr,Wt]),wi=a(function(){var Wa=se.current,Ko=Yu(Wa);return Wa&&Ko||Ae(!1),cd(Ko)},[]),Ki=a(function(){var Wa=se.current;Wa||Ae(!1);var Ko=Yu(Wa);if(se.current=null,!Ko)return;zr.cancel(),Ko.removeAttribute(Yl.contextId),Ko.removeEventListener("scroll",qr,Uu(Wa.scrollOptions))},[qr,zr]),Oa=a(function(Wa){var Ko=se.current;Ko||Ae(!1);var Lo=Yu(Ko);Lo||Ae(!1),Lo.scrollTop+=Wa.y,Lo.scrollLeft+=Wa.x},[]),ta=t(function(){return{getDimensionAndWatchScroll:Nn,getScrollWhileDragging:wi,dragStopped:Ki,scroll:Oa}},[Ki,Nn,wi,Oa]),_o=t(function(){return{uniqueId:Je,descriptor:Kt,callbacks:ta}},[ta,Kt,Je]);Cl(function(){return Mr.current=_o.descriptor,pt.droppable.register(_o),function(){se.current&&Ki(),pt.droppable.unregister(_o)}},[ta,Kt,Ki,_o,kt,pt.droppable]),Cl(function(){if(!se.current)return;kt.updateDroppableIsEnabled(Mr.current.id,!Fe.isDropDisabled)},[Fe.isDropDisabled,kt]),Cl(function(){if(!se.current)return;kt.updateDroppableIsCombineEnabled(Mr.current.id,Fe.isCombineEnabled)},[Fe.isCombineEnabled,kt])}function ju(){}var Iu={width:0,height:0,margin:Bt},pu=function(se){var Ie=se.isAnimatingOpenOnMount,Je=se.placeholder,pt=se.animate;return Ie||pt==="close"?Iu:{height:Je.client.borderBox.height,width:Je.client.borderBox.width,margin:Je.client.margin}},Lu=function(se){var Ie=se.isAnimatingOpenOnMount,Je=se.placeholder,pt=se.animate,kt=pu({isAnimatingOpenOnMount:Ie,placeholder:Je,animate:pt});return{display:Je.display,boxSizing:"border-box",width:kt.width,height:kt.height,marginTop:kt.margin.top,marginRight:kt.margin.right,marginBottom:kt.margin.bottom,marginLeft:kt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:pt!=="none"?Ai.placeholder:null}};function Id(Fe){var se=Object(y.useRef)(null),Ie=a(function(){if(!se.current)return;clearTimeout(se.current),se.current=null},[]),Je=Fe.animate,pt=Fe.onTransitionEnd,kt=Fe.onClose,Wt=Fe.contextId,Kt=Object(y.useState)(Fe.animate==="open"),Mr=Kt[0],Kr=Kt[1];Object(y.useEffect)(function(){return Mr?Je!=="open"?(Ie(),Kr(!1),ju):se.current?ju:(se.current=setTimeout(function(){se.current=null,Kr(!1)}),Ie):ju},[Je,Mr,Ie]);var Ir=a(function(zr){if(zr.propertyName!=="height")return;pt(),Je==="close"&&kt()},[Je,kt,pt]),Er=Lu({isAnimatingOpenOnMount:Mr,animate:Fe.animate,placeholder:Fe.placeholder});return m.a.createElement(Fe.placeholder.tagName,{style:Er,"data-rbd-placeholder-context-id":Wt,onTransitionEnd:Ir,ref:Fe.innerRef})}var ud=m.a.memo(Id),dd=m.a.createContext(null);function Hu(Fe){Fe&&pc(Fe)||Ae(!1)}function hd(Fe){return typeof Fe=="boolean"}function fd(Fe,se){se.forEach(function(Ie){return Ie(Fe)})}var Ld=[function(se){var Ie=se.props;Ie.droppableId||Ae(!1),typeof Ie.droppableId=="string"||Ae(!1)},function(se){var Ie=se.props;hd(Ie.isDropDisabled)||Ae(!1),hd(Ie.isCombineEnabled)||Ae(!1),hd(Ie.ignoreContainerClipping)||Ae(!1)},function(se){var Ie=se.getDroppableRef;Hu(Ie())}],Xc=[function(se){var Ie=se.props,Je=se.getPlaceholderRef;if(!Ie.placeholder)return;var pt=Je();if(pt)return}],Gc=[function(se){var Ie=se.props;Ie.renderClone||Ae(!1)},function(se){var Ie=se.getPlaceholderRef;Ie()&&Ae(!1)}];function Jc(Fe){Pr(function(){fd(Fe,Ld),Fe.props.mode==="standard"&&fd(Fe,Xc),Fe.props.mode==="virtual"&&fd(Fe,Gc)})}var Qu=function(Fe){Object(E.a)(se,Fe);function se(){for(var Je,pt=arguments.length,kt=new Array(pt),Wt=0;Wt<pt;Wt++)kt[Wt]=arguments[Wt];return Je=Fe.call.apply(Fe,[this].concat(kt))||this,Je.state={isVisible:Boolean(Je.props.on),data:Je.props.on,animate:Je.props.shouldAnimate&&Je.props.on?"open":"none"},Je.onClose=function(){if(Je.state.animate!=="close")return;Je.setState({isVisible:!1})},Je}se.getDerivedStateFromProps=function(pt,kt){return pt.shouldAnimate?pt.on?{isVisible:!0,data:pt.on,animate:"open"}:kt.isVisible?{isVisible:!0,data:kt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(pt.on),data:pt.on,animate:"none"}};var Ie=se.prototype;return Ie.render=function(){if(!this.state.isVisible)return null;var pt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(pt)},se}(m.a.PureComponent),pd={dragging:5e3,dropAnimating:4500},lu=function(se,Ie){return Ie?Ai.drop(Ie.duration):se?Ai.snap:Ai.fluid},Yc=function(se,Ie){return se?Ie?ya.opacity.drop:ya.opacity.combining:null},Wu=function(se){return se.forceShouldAnimate!=null?se.forceShouldAnimate:se.mode==="SNAP"};function Zu(Fe){var se=Fe.dimension,Ie=se.client,Je=Fe.offset,pt=Fe.combineWith,kt=Fe.dropping,Wt=Boolean(pt),Kt=Wu(Fe),Mr=Boolean(kt),Kr=Mr?za.drop(Je,Wt):za.moveTo(Je),Ir={position:"fixed",top:Ie.marginBox.top,left:Ie.marginBox.left,boxSizing:"border-box",width:Ie.borderBox.width,height:Ie.borderBox.height,transition:lu(Kt,kt),transform:Kr,opacity:Yc(Wt,Mr),zIndex:Mr?pd.dropAnimating:pd.dragging,pointerEvents:"none"};return Ir}function Hd(Fe){return{transform:za.moveTo(Fe.offset),transition:Fe.shouldAnimateDisplacement?null:"none"}}function md(Fe){return Fe.type==="DRAGGING"?Zu(Fe):Hd(Fe)}function Ju(Fe,se,Ie){Ie===void 0&&(Ie=Be);var Je=window.getComputedStyle(se),pt=se.getBoundingClientRect(),kt=C(pt,Je),Wt=x(kt,Ie),Kt={client:kt,tagName:se.tagName.toLowerCase(),display:Je.display},Mr={x:kt.marginBox.width,y:kt.marginBox.height},Kr={descriptor:Fe,placeholder:Kt,displaceBy:Mr,client:kt,page:Wt};return Kr}function $u(Fe){var se=gc("draggable"),Ie=Fe.descriptor,Je=Fe.registry,pt=Fe.getDraggableRef,kt=Fe.canDragInteractiveElements,Wt=Fe.shouldRespectForcePress,Kt=Fe.isEnabled,Mr=t(function(){return{canDragInteractiveElements:kt,shouldRespectForcePress:Wt,isEnabled:Kt}},[kt,Kt,Wt]),Kr=a(function(qr){var Nn=pt();return Nn||Ae(!1),Ju(Ie,Nn,qr)},[Ie,pt]),Ir=t(function(){return{uniqueId:se,descriptor:Ie,options:Mr,getDimension:Kr}},[Ie,Kr,Mr,se]),Er=Object(y.useRef)(Ir),zr=Object(y.useRef)(!0);Cl(function(){return Je.draggable.register(Er.current),function(){return Je.draggable.unregister(Er.current)}},[Je.draggable]),Cl(function(){if(zr.current){zr.current=!1;return}var qr=Er.current;Er.current=Ir,Je.draggable.update(Ir,qr)},[Ir,Je.draggable])}function qu(Fe,se,Ie){Pr(function(){function Je(kt){return"Draggable[id: "+kt+"]: "}var pt=Fe.draggableId;if(pt||Ae(!1),typeof pt=="string"||Ae(!1),ue(Fe.index)||Ae(!1),Fe.mapped.type==="DRAGGING")return;Hu(Ie()),Fe.isEnabled&&(fs(se,pt)||Ae(!1))})}function tu(Fe){Ht(function(){var se=Object(y.useRef)(Fe);Pr(function(){Fe===se.current||Ae(!1)},[Fe])})}function cu(Fe){Fe.preventDefault()}function ru(Fe){var se=Object(y.useRef)(null),Ie=a(function(M){se.current=M},[]),Je=a(function(){return se.current},[]),pt=su(wn),kt=pt.contextId,Wt=pt.dragHandleUsageInstructionsId,Kt=pt.registry,Mr=su(dd),Kr=Mr.type,Ir=Mr.droppableId,Er=t(function(){return{id:Fe.draggableId,index:Fe.index,type:Kr,droppableId:Ir}},[Fe.draggableId,Fe.index,Kr,Ir]),zr=Fe.children,qr=Fe.draggableId,Nn=Fe.isEnabled,wi=Fe.shouldRespectForcePress,Ki=Fe.canDragInteractiveElements,Oa=Fe.isClone,ta=Fe.mapped,_o=Fe.dropAnimationFinished;if(qu(Fe,kt,Je),tu(Oa),!Oa){var Wa=t(function(){return{descriptor:Er,registry:Kt,getDraggableRef:Je,canDragInteractiveElements:Ki,shouldRespectForcePress:wi,isEnabled:Nn}},[Er,Kt,Je,Ki,wi,Nn]);$u(Wa)}var Ko=t(function(){return Nn?{tabIndex:0,role:"button","aria-describedby":Wt,"data-rbd-drag-handle-draggable-id":qr,"data-rbd-drag-handle-context-id":kt,draggable:!1,onDragStart:cu}:null},[kt,Wt,qr,Nn]),Lo=a(function(M){if(ta.type!=="DRAGGING")return;if(!ta.dropping)return;if(M.propertyName!=="transform")return;_o()},[_o,ta]),ds=t(function(){var M=md(ta),P=ta.type==="DRAGGING"&&ta.dropping?Lo:null,ae={innerRef:Ie,draggableProps:{"data-rbd-draggable-context-id":kt,"data-rbd-draggable-id":qr,style:M,onTransitionEnd:P},dragHandleProps:Ko};return ae},[kt,Ko,qr,ta,Lo,Ie]),Rs=t(function(){return{draggableId:Er.id,type:Er.type,source:{index:Er.index,droppableId:Er.droppableId}}},[Er.droppableId,Er.id,Er.index,Er.type]);return zr(ds,ta.snapshot,Rs)}var zu=function(se,Ie){return se===Ie},nu=function(se){var Ie=se.combine,Je=se.destination;return Je?Je.droppableId:Ie?Ie.droppableId:null},$d=function(se){return se.combine?se.combine.draggableId:null},Wd=function(se){return se.at&&se.at.type==="COMBINE"?se.at.combine.draggableId:null};function zd(){var Fe=D(function(pt,kt){return{x:pt,y:kt}}),se=D(function(pt,kt,Wt,Kt,Mr){return{isDragging:!0,isClone:kt,isDropAnimating:Boolean(Mr),dropAnimation:Mr,mode:pt,draggingOver:Wt,combineWith:Kt,combineTargetFor:null}}),Ie=D(function(pt,kt,Wt,Kt,Mr,Kr,Ir){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Mr,combineWith:Kr,mode:kt,offset:pt,dimension:Wt,forceShouldAnimate:Ir,snapshot:se(kt,Kt,Mr,Kr,null)}}}),Je=function(kt,Wt){if(kt.isDragging){if(kt.critical.draggable.id!==Wt.draggableId)return null;var Kt=kt.current.client.offset,Mr=kt.dimensions.draggables[Wt.draggableId],Kr=Yn(kt.impact),Ir=Wd(kt.impact),Er=kt.forceShouldAnimate;return Ie(Fe(Kt.x,Kt.y),kt.movementMode,Mr,Wt.isClone,Kr,Ir,Er)}if(kt.phase==="DROP_ANIMATING"){var zr=kt.completed;if(zr.result.draggableId!==Wt.draggableId)return null;var qr=Wt.isClone,Nn=kt.dimensions.draggables[Wt.draggableId],wi=zr.result,Ki=wi.mode,Oa=nu(wi),ta=$d(wi),_o=kt.dropDuration,Wa={duration:_o,curve:Pa.drop,moveTo:kt.newHomeClientOffset,opacity:ta?ya.opacity.drop:null,scale:ta?ya.scale.drop:null};return{mapped:{type:"DRAGGING",offset:kt.newHomeClientOffset,dimension:Nn,dropping:Wa,draggingOver:Oa,combineWith:ta,mode:Ki,forceShouldAnimate:null,snapshot:se(Ki,qr,Oa,ta,Wa)}}}return null};return Je}function mu(Fe){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Fe,combineWith:null}}var Nd={mapped:{type:"SECONDARY",offset:Be,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:mu(null)}};function gd(){var Fe=D(function(Wt,Kt){return{x:Wt,y:Kt}}),se=D(mu),Ie=D(function(Wt,Kt,Mr){return Kt===void 0&&(Kt=null),{mapped:{type:"SECONDARY",offset:Wt,combineTargetFor:Kt,shouldAnimateDisplacement:Mr,snapshot:se(Kt)}}}),Je=function(Kt){return Kt?Ie(Be,Kt,!0):null},pt=function(Kt,Mr,Kr,Ir){var Er=Kr.displaced.visible[Kt],zr=Boolean(Ir.inVirtualList&&Ir.effected[Kt]),qr=ur(Kr),Nn=qr&&qr.draggableId===Kt?Mr:null;if(!Er){if(!zr)return Je(Nn);if(Kr.displaced.invisible[Kt])return null;var wi=Me(Ir.displacedBy.point),Ki=Fe(wi.x,wi.y);return Ie(Ki,Nn,!0)}if(zr)return Je(Nn);var Oa=Kr.displacedBy.point,ta=Fe(Oa.x,Oa.y);return Ie(ta,Nn,Er.shouldAnimate)},kt=function(Kt,Mr){if(Kt.isDragging)return Kt.critical.draggable.id===Mr.draggableId?null:pt(Mr.draggableId,Kt.critical.draggable.id,Kt.impact,Kt.afterCritical);if(Kt.phase==="DROP_ANIMATING"){var Kr=Kt.completed;return Kr.result.draggableId===Mr.draggableId?null:pt(Mr.draggableId,Kr.result.draggableId,Kr.impact,Kr.afterCritical)}return null};return kt}var Ad=function(){var se=zd(),Ie=gd(),Je=function(kt,Wt){return se(kt,Wt)||Ie(kt,Wt)||Nd};return Je},Md={dropAnimationFinished:Mi},Dd=Object(f.c)(Ad,Md,null,{context:ol,pure:!0,areStatePropsEqual:zu})(ru);function ed(Fe){var se=su(dd),Ie=se.isUsingCloneFor;return Ie===Fe.draggableId&&!Fe.isClone?null:m.a.createElement(Dd,Fe)}function Rd(Fe){var se=typeof Fe.isDragDisabled=="boolean"?!Fe.isDragDisabled:!0,Ie=Boolean(Fe.disableInteractiveElementBlocking),Je=Boolean(Fe.shouldRespectForcePress);return m.a.createElement(ed,Object(p.a)({},Fe,{isClone:!1,isEnabled:se,canDragInteractiveElements:Ie,shouldRespectForcePress:Je}))}function gu(Fe){var se=Object(y.useContext)(wn);se||Ae(!1);var Ie=se.contextId,Je=se.isMovementAllowed,pt=Object(y.useRef)(null),kt=Object(y.useRef)(null),Wt=Fe.children,Kt=Fe.droppableId,Mr=Fe.type,Kr=Fe.mode,Ir=Fe.direction,Er=Fe.ignoreContainerClipping,zr=Fe.isDropDisabled,qr=Fe.isCombineEnabled,Nn=Fe.snapshot,wi=Fe.useClone,Ki=Fe.updateViewportMaxScroll,Oa=Fe.getContainerForClone,ta=a(function(){return pt.current},[]),_o=a(function(le){pt.current=le},[]),Wa=a(function(){return kt.current},[]),Ko=a(function(le){kt.current=le},[]);Jc({props:Fe,getDroppableRef:ta,getPlaceholderRef:Wa});var Lo=a(function(){Je()&&Ki({maxScroll:cs()})},[Je,Ki]);Od({droppableId:Kt,type:Mr,mode:Kr,direction:Ir,isDropDisabled:zr,isCombineEnabled:qr,ignoreContainerClipping:Er,getDroppableRef:ta});var ds=m.a.createElement(Qu,{on:Fe.placeholder,shouldAnimate:Fe.shouldAnimatePlaceholder},function(le){var pe=le.onClose,Ve=le.data,yt=le.animate;return m.a.createElement(ud,{placeholder:Ve,onClose:pe,innerRef:Ko,animate:yt,contextId:Ie,onTransitionEnd:Lo})}),Rs=t(function(){return{innerRef:_o,placeholder:ds,droppableProps:{"data-rbd-droppable-id":Kt,"data-rbd-droppable-context-id":Ie}}},[Ie,Kt,ds,_o]),M=wi?wi.dragging.draggableId:null,P=t(function(){return{droppableId:Kt,type:Mr,isUsingCloneFor:M}},[Kt,M,Mr]);function ae(){if(!wi)return null;var le=wi.dragging,pe=wi.render,Ve=m.a.createElement(ed,{draggableId:le.draggableId,index:le.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(yt,Ut){return pe(yt,Ut,le)});return K.a.createPortal(Ve,Oa())}return m.a.createElement(dd.Provider,{value:P},Wt(Rs,Nn),ae())}var Nu=function(se,Ie){return se===Ie.droppable.type},Ee=function(se,Ie){return Ie.draggables[se.draggable.id]},Qe=function(){var se={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Ie=Object(p.a)({},se,{shouldAnimatePlaceholder:!1}),Je=D(function(Wt){return{draggableId:Wt.id,type:Wt.type,source:{index:Wt.index,droppableId:Wt.droppableId}}}),pt=D(function(Wt,Kt,Mr,Kr,Ir,Er){var zr=Ir.descriptor.id,qr=Ir.descriptor.droppableId===Wt;if(qr){var Nn=Er?{render:Er,dragging:Je(Ir.descriptor)}:null,wi={isDraggingOver:Mr,draggingOverWith:Mr?zr:null,draggingFromThisWith:zr,isUsingPlaceholder:!0};return{placeholder:Ir.placeholder,shouldAnimatePlaceholder:!1,snapshot:wi,useClone:Nn}}if(!Kt)return Ie;if(!Kr)return se;var Ki={isDraggingOver:Mr,draggingOverWith:zr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Ir.placeholder,shouldAnimatePlaceholder:!0,snapshot:Ki,useClone:null}}),kt=function(Kt,Mr){var Kr=Mr.droppableId,Ir=Mr.type,Er=!Mr.isDropDisabled,zr=Mr.renderClone;if(Kt.isDragging){var qr=Kt.critical;if(!Nu(Ir,qr))return Ie;var Nn=Ee(qr,Kt.dimensions),wi=Yn(Kt.impact)===Kr;return pt(Kr,Er,wi,wi,Nn,zr)}if(Kt.phase==="DROP_ANIMATING"){var Ki=Kt.completed;if(!Nu(Ir,Ki.critical))return Ie;var Oa=Ee(Ki.critical,Kt.dimensions);return pt(Kr,Er,nu(Ki.result)===Kr,Yn(Ki.impact)===Kr,Oa,zr)}if(Kt.phase==="IDLE"&&Kt.completed&&!Kt.shouldFlush){var ta=Kt.completed;if(!Nu(Ir,ta.critical))return Ie;var _o=Yn(ta.impact)===Kr,Wa=Boolean(ta.impact.at&&ta.impact.at.type==="COMBINE"),Ko=ta.critical.droppable.id===Kr;return _o?Wa?se:Ie:Ko?se:Ie}return Ie};return kt},xt={updateViewportMaxScroll:cn};function Jt(){return document.body||Ae(!1),document.body}var Tr={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Jt},Vr=Object(f.c)(Qe,xt,null,{context:ol,pure:!0,areStatePropsEqual:zu})(gu);Vr.defaultProps=Tr},ni6a:function(U,R,i){var y=i("pzxd"),m=i("mFDi"),E=i("gut8"),p=E.WILL_BE_RESTORED,v=new m,f=function(){};f.prototype={constructor:f,drawRectText:function(n,t){var a=this.style;t=a.textRect||t,this.__dirty&&y.normalizeTextStyle(a,!0);var s=a.text;if(s!=null&&(s+=""),!y.needDrawText(s,a))return;n.save();var r=this.transform;a.transformText?this.setTransform(n):r&&(v.copy(t),v.applyTransform(r),t=v),y.renderText(this,n,s,a,t,p),n.restore()}};var d=f;U.exports=d},nkfE:function(U,R,i){var y=i("bYtY"),m=i("ca2m"),E=i("bLfw"),p=i("+TT/"),v=p.getLayoutParams,f=p.mergeLayoutParam,d=i("jkPA"),l=["value","category","time","log"];function n(t,a,s,r){y.each(l,function(c){a.extend({type:t+"Axis."+c,mergeDefaultAndTheme:function(e,o){var u=this.layoutMode,h=u?v(e):{},g=o.getTheme();y.merge(e,g.get(c+"Axis")),y.merge(e,this.getDefaultOption()),e.type=s(t,e),u&&f(e,h,u)},optionUpdated:function(){var e=this.option;e.type==="category"&&(this.__ordinalMeta=d.createByAxisModel(this))},getCategories:function(e){var o=this.option;if(o.type==="category")return e?o.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:y.mergeAll([{},m[c+"Axis"],r],!0)})}),E.registerSubTypeDefaulter(t+"Axis",y.curry(s,t))}U.exports=n},noeP:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("UOVi");y.registerAction("dataZoom",function(p,v){var f=E.createLinkedNodesFinder(m.bind(v.eachComponent,v,"dataZoom"),E.eachAxisDim,function(l,n){return l.get(n.axisIndex)}),d=[];v.eachComponent({mainType:"dataZoom",query:p},function(l,n){d.push.apply(d,f(l).nodes)}),m.each(d,function(l,n){l.setRawRange({start:p.start,end:p.end,startValue:p.startValue,endValue:p.endValue})})})},o40c:function(U,R,i){var y=i("IwbS"),m=i("OS9S"),E=i("loD1"),p=i("aKvl"),v=y.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(n,t){var a=t.segs,s=t.curveness;if(t.polyline)for(var r=0;r<a.length;){var c=a[r++];if(c>0){n.moveTo(a[r++],a[r++]);for(var e=1;e<c;e++)n.lineTo(a[r++],a[r++])}}else for(var r=0;r<a.length;){var o=a[r++],u=a[r++],h=a[r++],g=a[r++];if(n.moveTo(o,u),s>0){var A=(o+h)/2-(u-g)*s,w=(u+g)/2-(h-o)*s;n.quadraticCurveTo(A,w,h,g)}else n.lineTo(h,g)}},findDataIndex:function(n,t){var a=this.shape,s=a.segs,r=a.curveness;if(a.polyline)for(var c=0,e=0;e<s.length;){var o=s[e++];if(o>0)for(var u=s[e++],h=s[e++],g=1;g<o;g++){var A=s[e++],w=s[e++];if(E.containStroke(u,h,A,w))return c}c++}else for(var c=0,e=0;e<s.length;){var u=s[e++],h=s[e++],A=s[e++],w=s[e++];if(r>0){var x=(u+A)/2-(h-w)*r,C=(h+w)/2-(A-u)*r;if(p.containStroke(u,h,x,C,A,w))return c}else if(E.containStroke(u,h,A,w))return c;c++}return-1}});function f(){this.group=new y.Group}var d=f.prototype;d.isPersistent=function(){return!this._incremental},d.updateData=function(n){this.group.removeAll();var t=new v({rectHover:!0,cursor:"default"});t.setShape({segs:n.getLayout("linesPoints")}),this._setCommon(t,n),this.group.add(t),this._incremental=null},d.incrementalPrepareUpdate=function(n){this.group.removeAll(),this._clearIncremental(),n.count()>5e5?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},d.incrementalUpdate=function(n,t){var a=new v;a.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(a,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(a,!0):(a.rectHover=!0,a.cursor="default",a.__startIndex=n.start,this.group.add(a))},d.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},d._setCommon=function(n,t,a){var s=t.hostModel;n.setShape({polyline:s.get("polyline"),curveness:s.get("lineStyle.curveness")}),n.useStyle(s.getModel("lineStyle").getLineStyle()),n.style.strokeNoScale=!0;var r=t.getVisual("color");r&&n.setStyle("stroke",r),n.setStyle("fill"),a||(n.seriesIndex=s.seriesIndex,n.on("mousemove",function(c){n.dataIndex=null;var e=n.findDataIndex(c.offsetX,c.offsetY);e>0&&(n.dataIndex=e+n.__startIndex)}))},d._clearIncremental=function(){var n=this._incremental;n&&n.clearDisplaybles()};var l=f;U.exports=l},oBaM:function(U,R,i){var y=i("T4UG"),m=i("5GtS"),E=i("bYtY"),p=i("7aKB"),v=p.encodeHTML,f=i("xKMd"),d=y.extend({type:"series.radar",dependencies:["radar"],init:function(n){d.superApply(this,"init",arguments),this.legendVisualProvider=new f(E.bind(this.getData,this),E.bind(this.getRawData,this))},getInitialData:function(n,t){return m(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(n){var t=this.getData(),a=this.coordinateSystem,s=a.getIndicatorAxes(),r=this.getData().getName(n);return v(r===""?this.name:r)+"<br/>"+E.map(s,function(c,e){var o=t.get(t.mapDimension(c.dim),n);return v(c.name+" : "+o)}).join("<br />")},getTooltipPosition:function(n){if(n!=null){for(var t=this.getData(),a=this.coordinateSystem,s=t.getValues(E.map(a.dimensions,function(o){return t.mapDimension(o)}),n,!0),r=0,c=s.length;r<c;r++)if(!isNaN(s[r])){var e=a.getIndicatorAxes();return a.coordToPoint(e[r].dataToCoord(s[r]),r)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),l=d;U.exports=l},oE7X:function(U,R,i){var y=i("bLfw");y.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(U,R,i){},oVpE:function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E=i("mFDi"),p=i("6GrX"),v=p.calculateTextPosition,f=m.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(o,u){var h=u.cx,g=u.cy,A=u.width/2,w=u.height/2;o.moveTo(h,g-w),o.lineTo(h+A,g+w),o.lineTo(h-A,g+w),o.closePath()}}),d=m.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(o,u){var h=u.cx,g=u.cy,A=u.width/2,w=u.height/2;o.moveTo(h,g-w),o.lineTo(h+A,g),o.lineTo(h,g+w),o.lineTo(h-A,g),o.closePath()}}),l=m.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(o,u){var h=u.x,g=u.y,A=u.width/5*3,w=Math.max(A,u.height),x=A/2,C=x*x/(w-x),T=g-w+x+C,O=Math.asin(C/x),S=Math.cos(O)*x,_=Math.sin(O),L=Math.cos(O),D=x*.6,F=x*.7;o.moveTo(h-S,T+C),o.arc(h,T,x,Math.PI-O,Math.PI*2+O),o.bezierCurveTo(h+S-_*D,T+C+L*D,h,g-F,h,g),o.bezierCurveTo(h,g-F,h-S+_*D,T+C+L*D,h-S,T+C),o.closePath()}}),n=m.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(o,u){var h=u.height,g=u.width,A=u.x,w=u.y,x=g/3*2;o.moveTo(A,w),o.lineTo(A+x,w+h),o.lineTo(A,w+h/4*3),o.lineTo(A-x,w+h),o.lineTo(A,w),o.closePath()}}),t={line:m.Line,rect:m.Rect,roundRect:m.Rect,square:m.Rect,circle:m.Circle,diamond:d,pin:l,arrow:n,triangle:f},a={line:function(o,u,h,g,A){A.x1=o,A.y1=u+g/2,A.x2=o+h,A.y2=u+g/2},rect:function(o,u,h,g,A){A.x=o,A.y=u,A.width=h,A.height=g},roundRect:function(o,u,h,g,A){A.x=o,A.y=u,A.width=h,A.height=g,A.r=Math.min(h,g)/4},square:function(o,u,h,g,A){var w=Math.min(h,g);A.x=o,A.y=u,A.width=w,A.height=w},circle:function(o,u,h,g,A){A.cx=o+h/2,A.cy=u+g/2,A.r=Math.min(h,g)/2},diamond:function(o,u,h,g,A){A.cx=o+h/2,A.cy=u+g/2,A.width=h,A.height=g},pin:function(o,u,h,g,A){A.x=o+h/2,A.y=u+g/2,A.width=h,A.height=g},arrow:function(o,u,h,g,A){A.x=o+h/2,A.y=u+g/2,A.width=h,A.height=g},triangle:function(o,u,h,g,A){A.cx=o+h/2,A.cy=u+g/2,A.width=h,A.height=g}},s={};y.each(t,function(o,u){s[u]=new o});var r=m.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(o,u,h){var g=v(o,u,h),A=this.shape;return A&&A.symbolType==="pin"&&u.textPosition==="inside"&&(g.y=h.y+h.height*.4),g},buildPath:function(o,u,h){var g=u.symbolType;if(g!=="none"){var A=s[g];A||(g="rect",A=s[g]),a[g](u.x,u.y,u.width,u.height,A.shape),A.buildPath(o,A.shape,h)}}});function c(o,u){if(this.type!=="image"){var h=this.style,g=this.shape;g&&g.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 e(o,u,h,g,A,w,x){var C=o.indexOf("empty")===0;C&&(o=o.substr(5,1).toLowerCase()+o.substr(6));var T;return o.indexOf("image://")===0?T=m.makeImage(o.slice(8),new E(u,h,g,A),x?"center":"cover"):o.indexOf("path://")===0?T=m.makePath(o.slice(7),{},new E(u,h,g,A),x?"center":"cover"):T=new r({shape:{symbolType:o,x:u,y:h,width:g,height:A}}),T.__isEmptyBrush=C,T.setColor=c,T.setColor(w),T}R.createSymbol=e},oY9F:function(U,R,i){var y=i("OlYY"),m=y.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});U.exports=m},osHv:function(U,R,i){(function(y){y(i("VrN/"))})(function(y){"use strict";var m=y.Pos;function E(u,h){return u.line-h.line||u.ch-h.ch}var p="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",v=p+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",f=new RegExp("<(/?)(["+p+"]["+v+"]*)","g");function d(u,h,g,A){this.line=h,this.ch=g,this.cm=u,this.text=u.getLine(h),this.min=A?Math.max(A.from,u.firstLine()):u.firstLine(),this.max=A?Math.min(A.to-1,u.lastLine()):u.lastLine()}function l(u,h){var g=u.cm.getTokenTypeAt(m(u.line,h));return g&&/\btag\b/.test(g)}function n(u){return u.line>=u.max?void 0:(u.ch=0,u.text=u.cm.getLine(++u.line),!0)}function t(u){return u.line<=u.min?void 0:(u.text=u.cm.getLine(--u.line),u.ch=u.text.length,!0)}function a(u){for(;;){var h=u.text.indexOf(">",u.ch);if(h==-1){if(n(u))continue;return}if(!l(u,h+1)){u.ch=h+1;continue}var g=u.text.lastIndexOf("/",h),A=g>-1&&!/\S/.test(u.text.slice(g+1,h));return u.ch=h+1,A?"selfClose":"regular"}}function s(u){for(;;){var h=u.ch?u.text.lastIndexOf("<",u.ch-1):-1;if(h==-1){if(t(u))continue;return}if(!l(u,h+1)){u.ch=h;continue}f.lastIndex=h,u.ch=h;var g=f.exec(u.text);if(g&&g.index==h)return g}}function r(u){for(;;){f.lastIndex=u.ch;var h=f.exec(u.text);if(!h){if(n(u))continue;return}if(!l(u,h.index+1)){u.ch=h.index+1;continue}return u.ch=h.index+h[0].length,h}}function c(u){for(;;){var h=u.ch?u.text.lastIndexOf(">",u.ch-1):-1;if(h==-1){if(t(u))continue;return}if(!l(u,h+1)){u.ch=h;continue}var g=u.text.lastIndexOf("/",h),A=g>-1&&!/\S/.test(u.text.slice(g+1,h));return u.ch=h+1,A?"selfClose":"regular"}}function e(u,h){for(var g=[];;){var A=r(u),w,x=u.line,C=u.ch-(A?A[0].length:0);if(!A||!(w=a(u)))return;if(w=="selfClose")continue;if(A[1]){for(var T=g.length-1;T>=0;--T)if(g[T]==A[2]){g.length=T;break}if(T<0&&(!h||h==A[2]))return{tag:A[2],from:m(x,C),to:m(u.line,u.ch)}}else g.push(A[2])}}function o(u,h){for(var g=[];;){var A=c(u);if(!A)return;if(A=="selfClose"){s(u);continue}var w=u.line,x=u.ch,C=s(u);if(!C)return;if(C[1])g.push(C[2]);else{for(var T=g.length-1;T>=0;--T)if(g[T]==C[2]){g.length=T;break}if(T<0&&(!h||h==C[2]))return{tag:C[2],from:m(u.line,u.ch),to:m(w,x)}}}}y.registerHelper("fold","xml",function(u,h){for(var g=new d(u,h.line,0);;){var A=r(g);if(!A||g.line!=h.line)return;var w=a(g);if(!w)return;if(!A[1]&&w!="selfClose"){var x=m(g.line,g.ch),C=e(g,A[2]);return C&&E(C.from,x)>0?{from:x,to:C.from}:null}}}),y.findMatchingTag=function(u,h,g){var A=new d(u,h.line,h.ch,g);if(A.text.indexOf(">")==-1&&A.text.indexOf("<")==-1)return;var w=a(A),x=w&&m(A.line,A.ch),C=w&&s(A);if(!w||!C||E(A,h)>0)return;var T={from:m(A.line,A.ch),to:x,tag:C[2]};return w=="selfClose"?{open:T,close:null,at:"open"}:C[1]?{open:o(A,C[2]),close:T,at:"close"}:(A=new d(u,x.line,x.ch,g),{open:T,close:e(A,C[2]),at:"open"})},y.findEnclosingTag=function(u,h,g,A){for(var w=new d(u,h.line,h.ch,g);;){var x=o(w,A);if(!x)break;var C=new d(u,h.line,h.ch,g),T=e(C,x.tag);if(T)return{open:x,close:T}}},y.scanForClosingTag=function(u,h,g,A){var w=new d(u,h.line,h.ch,A?{from:0,to:A}:null);return e(w,g)}})},ozfa:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("KxFI"),p=i.n(E)},"p+If":function(U,R,i){var y=i("ProS");i("cpOr"),i("rkZ5");var m=i("ZYIC"),E=i("7ph2");y.registerLayout(m),y.registerVisual(E)},"p/La":function(U,R){var i=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function y(m,E){m==="china"&&E.name==="\u53F0\u6E7E"&&E.geometries.push({type:"polygon",exterior:i[0]})}U.exports=y},p1MT:function(U,R,i){var y=i("Hw7h"),m=i("IwbS"),E=i("6Ic6"),p=i("OELB"),v=p.parsePercent,f=p.round,d=p.linearMap;function l(r,c){var e=r.get("center"),o=c.getWidth(),u=c.getHeight(),h=Math.min(o,u),g=v(e[0],c.getWidth()),A=v(e[1],c.getHeight()),w=v(r.get("radius"),h/2);return{cx:g,cy:A,r:w}}function n(r,c){return c&&(typeof c=="string"?r=c.replace("{value}",r!=null?r:""):typeof c=="function"&&(r=c(r))),r}var t=Math.PI*2,a=E.extend({type:"gauge",render:function(r,c,e){this.group.removeAll();var o=r.get("axisLine.lineStyle.color"),u=l(r,e);this._renderMain(r,c,e,o,u)},dispose:function(){},_renderMain:function(r,c,e,o,u){for(var h=this.group,g=r.getModel("axisLine"),A=g.getModel("lineStyle"),w=r.get("clockwise"),x=-r.get("startAngle")/180*Math.PI,C=-r.get("endAngle")/180*Math.PI,T=(C-x)%t,O=x,S=A.get("width"),_=g.get("show"),L=0;_&&L<o.length;L++){var D=Math.min(Math.max(o[L][0],0),1),C=x+T*D,F=new m.Sector({shape:{startAngle:O,endAngle:C,cx:u.cx,cy:u.cy,clockwise:w,r0:u.r-S,r:u.r},silent:!0});F.setStyle({fill:o[L][1]}),F.setStyle(A.getLineStyle(["color","borderWidth","borderColor"])),h.add(F),O=C}var j=function(K){if(K<=0)return o[0][1];for(var Z=0;Z<o.length;Z++)if(o[Z][0]>=K&&(Z===0?0:o[Z-1][0])<K)return o[Z][1];return o[Z-1][1]};if(!w){var k=x;x=C,C=k}this._renderTicks(r,c,e,j,u,x,C,w),this._renderPointer(r,c,e,j,u,x,C,w),this._renderTitle(r,c,e,j,u),this._renderDetail(r,c,e,j,u)},_renderTicks:function(r,c,e,o,u,h,g,A){for(var w=this.group,x=u.cx,C=u.cy,T=u.r,O=+r.get("min"),S=+r.get("max"),_=r.getModel("splitLine"),L=r.getModel("axisTick"),D=r.getModel("axisLabel"),F=r.get("splitNumber"),j=L.get("splitNumber"),k=v(_.get("length"),T),K=v(L.get("length"),T),Z=h,B=(g-h)/F,V=B/j,z=_.getModel("lineStyle").getLineStyle(),X=L.getModel("lineStyle").getLineStyle(),W=0;W<=F;W++){var q=Math.cos(Z),Y=Math.sin(Z);if(_.get("show")){var re=new m.Line({shape:{x1:q*T+x,y1:Y*T+C,x2:q*(T-k)+x,y2:Y*(T-k)+C},style:z,silent:!0});z.stroke==="auto"&&re.setStyle({stroke:o(W/F)}),w.add(re)}if(D.get("show")){var ne=n(f(W/F*(S-O)+O),D.get("formatter")),we=D.get("distance"),ie=o(W/F);w.add(new m.Text({style:m.setTextStyle({},D,{text:ne,x:q*(T-k-we)+x,y:Y*(T-k-we)+C,textVerticalAlign:Y<-.4?"top":Y>.4?"bottom":"middle",textAlign:q<-.4?"left":q>.4?"right":"center"},{autoColor:ie}),silent:!0}))}if(L.get("show")&&W!==F){for(var me=0;me<=j;me++){var q=Math.cos(Z),Y=Math.sin(Z),_e=new m.Line({shape:{x1:q*T+x,y1:Y*T+C,x2:q*(T-K)+x,y2:Y*(T-K)+C},silent:!0,style:X});X.stroke==="auto"&&_e.setStyle({stroke:o((W+me/j)/F)}),w.add(_e),Z+=V}Z-=V}else Z+=B}},_renderPointer:function(r,c,e,o,u,h,g,A){var w=this.group,x=this._data;if(!r.get("pointer.show")){x&&x.eachItemGraphicEl(function(_){w.remove(_)});return}var C=[+r.get("min"),+r.get("max")],T=[h,g],O=r.getData(),S=O.mapDimension("value");O.diff(x).add(function(_){var L=new y({shape:{angle:h}});m.initProps(L,{shape:{angle:d(O.get(S,_),C,T,!0)}},r),w.add(L),O.setItemGraphicEl(_,L)}).update(function(_,L){var D=x.getItemGraphicEl(L);m.updateProps(D,{shape:{angle:d(O.get(S,_),C,T,!0)}},r),w.add(D),O.setItemGraphicEl(_,D)}).remove(function(_){var L=x.getItemGraphicEl(_);w.remove(L)}).execute(),O.eachItemGraphicEl(function(_,L){var D=O.getItemModel(L),F=D.getModel("pointer");_.setShape({x:u.cx,y:u.cy,width:v(F.get("width"),u.r),r:v(F.get("length"),u.r)}),_.useStyle(D.getModel("itemStyle").getItemStyle()),_.style.fill==="auto"&&_.setStyle("fill",o(d(O.get(S,L),C,[0,1],!0))),m.setHoverStyle(_,D.getModel("emphasis.itemStyle").getItemStyle())}),this._data=O},_renderTitle:function(r,c,e,o,u){var h=r.getData(),g=h.mapDimension("value"),A=r.getModel("title");if(A.get("show")){var w=A.get("offsetCenter"),x=u.cx+v(w[0],u.r),C=u.cy+v(w[1],u.r),T=+r.get("min"),O=+r.get("max"),S=r.getData().get(g,0),_=o(d(S,[T,O],[0,1],!0));this.group.add(new m.Text({silent:!0,style:m.setTextStyle({},A,{x,y:C,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:_,forceRich:!0})}))}},_renderDetail:function(r,c,e,o,u){var h=r.getModel("detail"),g=+r.get("min"),A=+r.get("max");if(h.get("show")){var w=h.get("offsetCenter"),x=u.cx+v(w[0],u.r),C=u.cy+v(w[1],u.r),T=v(h.get("width"),u.r),O=v(h.get("height"),u.r),S=r.getData(),_=S.get(S.mapDimension("value"),0),L=o(d(_,[g,A],[0,1],!0));this.group.add(new m.Text({silent:!0,style:m.setTextStyle({},h,{x,y:C,text:n(_,h.get("formatter")),textWidth:isNaN(T)?null:T,textHeight:isNaN(O)?null:O,textAlign:"center",textVerticalAlign:"middle"},{autoColor:L,forceRich:!0})}))}}}),s=a;U.exports=s},"p77/":function(U,R,i){},pC0b:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("xzDV"),p=i.n(E),v=i("5Dmo")},"pED+":function(U,R,i){},pG52:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("WXVj"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},pLH3:function(U,R,i){var y=i("ProS");i("ALo7"),i("TWL2");var m=i("mOdp"),E=i("JLnu"),p=i("0/Rx");y.registerVisual(m("funnel")),y.registerLayout(E),y.registerProcessor(p("funnel"))},pP6R:function(U,R,i){var y=i("ProS"),m="\0_ec_interaction_mutex";function E(d,l,n){var t=f(d);t[l]=n}function p(d,l,n){var t=f(d),a=t[l];a===n&&(t[l]=null)}function v(d,l){return!!f(d)[l]}function f(d){return d[m]||(d[m]={})}y.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),R.take=E,R.release=p,R.isTaken=v},pmaE:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("DEFe"),v="__seriesMapHighDown",f="__seriesMapCallKey",d=y.extendChartView({type:"map",render:function(t,a,s,r){if(r&&r.type==="mapToggleSelect"&&r.from===this.uid)return;var c=this.group;if(c.removeAll(),t.getHostGeoModel())return;if(r&&r.type==="geoRoam"&&r.componentType==="series"&&r.seriesId===t.id){var e=this._mapDraw;e&&c.add(e.group)}else if(t.needsDrawMap){var e=this._mapDraw||new p(s,!0);c.add(e.group),e.draw(t,a,s,this,r),this._mapDraw=e}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&a.getComponent("legend")&&this._renderSymbols(t,a,s)},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(t,a,s){var r=t.originalData,c=this.group;r.each(r.mapDimension("value"),function(e,o){if(isNaN(e))return;var u=r.getItemLayout(o);if(!u||!u.point)return;var h=u.point,g=u.offset,A=new E.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:h[0]+g*9,cy:h[1],r:3},silent:!0,z2:8+(g?0:E.Z2_EMPHASIS_LIFT+1)});if(!g){var w=t.mainSeries.getData(),x=r.getName(o),C=w.indexOfName(x),T=r.getItemModel(o),O=T.getModel("label"),S=T.getModel("emphasis.label"),_=w.getItemGraphicEl(C),L=m.retrieve2(t.getFormattedLabel(C,"normal"),x),D=m.retrieve2(t.getFormattedLabel(C,"emphasis"),L),F=_[v],j=Math.random();if(!F){F=_[v]={};var k=m.curry(l,!0),K=m.curry(l,!1);_.on("mouseover",k).on("mouseout",K).on("emphasis",k).on("normal",K)}_[f]=j,m.extend(F,{recordVersion:j,circle:A,labelModel:O,hoverLabelModel:S,emphasisText:D,normalText:L}),n(F,!1)}c.add(A)})}});function l(t){var a=this[v];a&&a.recordVersion===this[f]&&n(a,t)}function n(t,a){var s=t.circle,r=t.labelModel,c=t.hoverLabelModel,e=t.emphasisText,o=t.normalText;a?(s.style.extendFrom(E.setTextStyle({},c,{text:c.get("show")?e:null},{isRectText:!0,useInsideStyle:!1},!0)),s.__mapOriginalZ2=s.z2,s.z2+=E.Z2_EMPHASIS_LIFT):(E.setTextStyle(s.style,r,{text:r.get("show")?o:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),s.dirty(!1),s.__mapOriginalZ2!=null&&(s.z2=s.__mapOriginalZ2,s.__mapOriginalZ2=null))}U.exports=d},pwpV:function(U,R,i){},pzxd:function(U,R,i){var y=i("bYtY"),m=y.retrieve2,E=y.retrieve3,p=y.each,v=y.normalizeCssArray,f=y.isString,d=y.isObject,l=i("6GrX"),n=i("VpOo"),t=i("Xnb7"),a=i("fW2E"),s=i("gut8"),r=s.ContextCachedBy,c=s.WILL_BE_RESTORED,e=l.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"]],g={},A={};function w(W){return x(W),p(W.rich,x),W}function x(W){if(W){W.font=l.makeFont(W);var q=W.textAlign;q==="middle"&&(q="center"),W.textAlign=q==null||o[q]?q:"left";var Y=W.textVerticalAlign||W.textBaseline;Y==="center"&&(Y="middle"),W.textVerticalAlign=Y==null||u[Y]?Y:"top";var re=W.textPadding;re&&(W.textPadding=v(W.textPadding))}}function C(W,q,Y,re,ne,we){re.rich?O(W,q,Y,re,ne,we):T(W,q,Y,re,ne,we)}function T(W,q,Y,re,ne,we){"use strict";var ie=D(re),me,_e=!1,Te=q.__attrCachedBy===r.PLAIN_TEXT;we!==c?(we&&(me=we.style,_e=!ie&&Te&&me),q.__attrCachedBy=ie?r.NONE:r.PLAIN_TEXT):Te&&(q.__attrCachedBy=r.NONE);var We=re.font||e;(!_e||We!==(me.font||e))&&(q.font=We);var Ae=W.__computedFont;W.__styleFont!==We&&(W.__styleFont=We,Ae=W.__computedFont=q.font);var je=re.textPadding,ee=re.textLineHeight,he=W.__textCotentBlock;(!he||W.__dirtyText)&&(he=W.__textCotentBlock=l.parsePlainText(Y,Ae,je,ee,re.truncate));var Ze=he.outerHeight,oe=he.lines,Q=he.lineHeight,G=k(A,W,re,ne),te=G.baseX,xe=G.baseY,fe=G.textAlign||"left",Be=G.textVerticalAlign;_(q,re,ne,te,xe);var Ne=l.adjustTextY(xe,Ze,Be),de=te,ve=Ne;if(ie||je){var Me=l.getWidth(Y,Ae),qe=Me;je&&(qe+=je[1]+je[3]);var gt=l.adjustTextX(te,qe,fe);ie&&F(W,q,re,gt,Ne,qe,Ze),je&&(de=z(te,fe,je),ve+=je[0])}q.textAlign=fe,q.textBaseline="middle",q.globalAlpha=re.opacity||1;for(var ht=0;ht<h.length;ht++){var Pe=h[ht],It=Pe[0],nt=Pe[1],Nt=re[It];(!_e||Nt!==me[It])&&(q[nt]=a(q,nt,Nt||Pe[2]))}ve+=Q/2;var Bt=re.textStrokeWidth,Pt=_e?me.textStrokeWidth:null,jt=!_e||Bt!==Pt,er=!_e||jt||re.textStroke!==me.textStroke,at=Z(re.textStroke,Bt),Ce=B(re.textFill);if(at&&(jt&&(q.lineWidth=Bt),er&&(q.strokeStyle=at)),Ce&&((!_e||re.textFill!==me.textFill)&&(q.fillStyle=Ce)),oe.length===1)at&&q.strokeText(oe[0],de,ve),Ce&&q.fillText(oe[0],de,ve);else for(var ht=0;ht<oe.length;ht++)at&&q.strokeText(oe[ht],de,ve),Ce&&q.fillText(oe[ht],de,ve),ve+=Q}function O(W,q,Y,re,ne,we){we!==c&&(q.__attrCachedBy=r.NONE);var ie=W.__textCotentBlock;(!ie||W.__dirtyText)&&(ie=W.__textCotentBlock=l.parseRichText(Y,re)),S(W,q,ie,re,ne)}function S(W,q,Y,re,ne){var we=Y.width,ie=Y.outerWidth,me=Y.outerHeight,_e=re.textPadding,Te=k(A,W,re,ne),We=Te.baseX,Ae=Te.baseY,je=Te.textAlign,ee=Te.textVerticalAlign;_(q,re,ne,We,Ae);var he=l.adjustTextX(We,ie,je),Ze=l.adjustTextY(Ae,me,ee),oe=he,Q=Ze;_e&&(oe+=_e[3],Q+=_e[0]);var G=oe+we;D(re)&&F(W,q,re,he,Ze,ie,me);for(var te=0;te<Y.lines.length;te++){for(var xe=Y.lines[te],fe=xe.tokens,Be=fe.length,Ne=xe.lineHeight,de=xe.width,ve=0,Me=oe,qe=G,gt=Be-1,ht;ve<Be&&(ht=fe[ve],!ht.textAlign||ht.textAlign==="left");)L(W,q,ht,re,Ne,Q,Me,"left"),de-=ht.width,Me+=ht.width,ve++;for(;gt>=0&&(ht=fe[gt],ht.textAlign==="right");)L(W,q,ht,re,Ne,Q,qe,"right"),de-=ht.width,qe-=ht.width,gt--;for(Me+=(we-(Me-oe)-(G-qe)-de)/2;ve<=gt;)ht=fe[ve],L(W,q,ht,re,Ne,Q,Me+ht.width/2,"center"),Me+=ht.width,ve++;Q+=Ne}}function _(W,q,Y,re,ne){if(Y&&q.textRotation){var we=q.textOrigin;we==="center"?(re=Y.width/2+Y.x,ne=Y.height/2+Y.y):we&&(re=we[0]+Y.x,ne=we[1]+Y.y),W.translate(re,ne),W.rotate(-q.textRotation),W.translate(-re,-ne)}}function L(W,q,Y,re,ne,we,ie,me){var _e=re.rich[Y.styleName]||{};_e.text=Y.text;var Te=Y.textVerticalAlign,We=we+ne/2;Te==="top"?We=we+Y.height/2:Te==="bottom"&&(We=we+ne-Y.height/2),!Y.isLineHolder&&D(_e)&&F(W,q,_e,me==="right"?ie-Y.width:me==="center"?ie-Y.width/2:ie,We-Y.height/2,Y.width,Y.height);var Ae=Y.textPadding;Ae&&(ie=z(ie,me,Ae),We-=Y.height/2-Ae[2]-Y.textHeight/2),K(q,"shadowBlur",E(_e.textShadowBlur,re.textShadowBlur,0)),K(q,"shadowColor",_e.textShadowColor||re.textShadowColor||"transparent"),K(q,"shadowOffsetX",E(_e.textShadowOffsetX,re.textShadowOffsetX,0)),K(q,"shadowOffsetY",E(_e.textShadowOffsetY,re.textShadowOffsetY,0)),K(q,"textAlign",me),K(q,"textBaseline","middle"),K(q,"font",Y.font||e);var je=Z(_e.textStroke||re.textStroke,he),ee=B(_e.textFill||re.textFill),he=m(_e.textStrokeWidth,re.textStrokeWidth);je&&(K(q,"lineWidth",he),K(q,"strokeStyle",je),q.strokeText(Y.text,ie,We)),ee&&(K(q,"fillStyle",ee),q.fillText(Y.text,ie,We))}function D(W){return!!(W.textBackgroundColor||W.textBorderWidth&&W.textBorderColor)}function F(W,q,Y,re,ne,we,ie){var me=Y.textBackgroundColor,_e=Y.textBorderWidth,Te=Y.textBorderColor,We=f(me);if(K(q,"shadowBlur",Y.textBoxShadowBlur||0),K(q,"shadowColor",Y.textBoxShadowColor||"transparent"),K(q,"shadowOffsetX",Y.textBoxShadowOffsetX||0),K(q,"shadowOffsetY",Y.textBoxShadowOffsetY||0),We||_e&&Te){q.beginPath();var Ae=Y.textBorderRadius;Ae?n.buildPath(q,{x:re,y:ne,width:we,height:ie,r:Ae}):q.rect(re,ne,we,ie),q.closePath()}if(We)if(K(q,"fillStyle",me),Y.fillOpacity!=null){var je=q.globalAlpha;q.globalAlpha=Y.fillOpacity*Y.opacity,q.fill(),q.globalAlpha=je}else q.fill();else if(d(me)){var ee=me.image;ee=t.createOrUpdateImage(ee,null,W,j,me),ee&&t.isImageReady(ee)&&q.drawImage(ee,re,ne,we,ie)}if(_e&&Te)if(K(q,"lineWidth",_e),K(q,"strokeStyle",Te),Y.strokeOpacity!=null){var je=q.globalAlpha;q.globalAlpha=Y.strokeOpacity*Y.opacity,q.stroke(),q.globalAlpha=je}else q.stroke()}function j(W,q){q.image=W}function k(W,q,Y,re){var ne=Y.x||0,we=Y.y||0,ie=Y.textAlign,me=Y.textVerticalAlign;if(re){var _e=Y.textPosition;if(_e instanceof Array)ne=re.x+V(_e[0],re.width),we=re.y+V(_e[1],re.height);else{var Te=q&&q.calculateTextPosition?q.calculateTextPosition(g,Y,re):l.calculateTextPosition(g,Y,re);ne=Te.x,we=Te.y,ie=ie||Te.textAlign,me=me||Te.textVerticalAlign}var We=Y.textOffset;We&&(ne+=We[0],we+=We[1])}return W=W||{},W.baseX=ne,W.baseY=we,W.textAlign=ie,W.textVerticalAlign=me,W}function K(W,q,Y){return W[q]=a(W,q,Y),W[q]}function Z(W,q){return W==null||q<=0||W==="transparent"||W==="none"?null:W.image||W.colorStops?"#000":W}function B(W){return W==null||W==="none"?null:W.image||W.colorStops?"#000":W}function V(W,q){return typeof W=="string"?W.lastIndexOf("%")>=0?parseFloat(W)/100*q:parseFloat(W):W}function z(W,q,Y){return q==="right"?W-Y[1]:q==="center"?W+Y[3]/2-Y[1]/2:W+Y[3]}function X(W,q){return W!=null&&(W||q.textBackgroundColor||q.textBorderWidth&&q.textBorderColor||q.textPadding)}R.normalizeTextStyle=w,R.renderText=C,R.getBoxPosition=k,R.getStroke=Z,R.getFill=B,R.parsePercent=V,R.needDrawText=X},"q/+u":function(U,R,i){var y=i("ProS"),m=i("9wZj"),E=i("yWXo"),p=i("h8O9");y.extendChartView({type:"scatter",render:function(v,f,d){var l=v.getData(),n=this._updateSymbolDraw(l,v);n.updateData(l,{clipShape:this._getClipShape(v)}),this._finished=!0},incrementalPrepareRender:function(v,f,d){var l=v.getData(),n=this._updateSymbolDraw(l,v);n.incrementalPrepareUpdate(l),this._finished=!1},incrementalRender:function(v,f,d){this._symbolDraw.incrementalUpdate(v,f.getData(),{clipShape:this._getClipShape(f)}),this._finished=v.end===f.getData().count()},updateTransform:function(v,f,d){var l=v.getData();if(this.group.dirty(),!this._finished||l.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var n=p().reset(v);n.progress&&n.progress({start:0,end:l.count()},l),this._symbolDraw.updateLayout(l)},_getClipShape:function(v){var f=v.coordinateSystem,d=f&&f.getArea&&f.getArea();return v.get("clip",!0)?d:null},_updateSymbolDraw:function(v,f){var d=this._symbolDraw,l=f.pipelineContext,n=l.large;return(!d||n!==this._isLargeDraw)&&(d&&d.remove(),d=this._symbolDraw=n?new E:new m,this._isLargeDraw=n,this.group.removeAll()),this.group.add(d.group),d},remove:function(v,f){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(U,R){var i=["lineStyle","normal","opacity"],y={seriesType:"parallel",reset:function(m,E,p){var v=m.getModel("itemStyle"),f=m.getModel("lineStyle"),d=E.get("color"),l=f.get("color")||v.get("color")||d[m.seriesIndex%d.length],n=m.get("inactiveOpacity"),t=m.get("activeOpacity"),a=m.getModel("lineStyle").getLineStyle(),s=m.coordinateSystem,r=m.getData(),c={normal:a.opacity,active:t,inactive:n};r.setVisual("color",l);function e(o,u){s.eachActiveState(u,function(h,g){var A=c[h];if(h==="normal"&&u.hasItemOption){var w=u.getItemModel(g).get(i,!0);w!=null&&(A=w)}u.setItemVisual(g,"opacity",A)},o.start,o.end)}return{progress:e}}};U.exports=y},q4HE:function(U,R){var i="\\ud800-\\udfff",y="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",E="\\u20d0-\\u20ff",p=y+m+E,v="\\ufe0e\\ufe0f",f="["+i+"]",d="["+p+"]",l="\\ud83c[\\udffb-\\udfff]",n="(?:"+d+"|"+l+")",t="[^"+i+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",c=n+"?",e="["+v+"]?",o="(?:"+r+"(?:"+[t,a,s].join("|")+")"+e+c+")*",u=e+c+o,h="(?:"+[t+d+"?",d,a,s,f].join("|")+")",g=RegExp(l+"(?="+l+")|"+h+u,"g");function A(w){for(var x=g.lastIndex=0;g.test(w);)++x;return x}U.exports=A},q7KB:function(U,R,i){},qH13:function(U,R,i){var y=i("ItGF"),m=i("QBsz"),E=m.applyTransform,p=i("mFDi"),v=i("Qe9p"),f=i("6GrX"),d=i("pzxd"),l=i("ni6a"),n=i("Gev7"),t=i("Dagg"),a=i("dqUG"),s=i("y+Vt"),r=i("IMiH"),c=i("QuXc"),e=i("06Qe"),o=r.CMD,u=Math.round,h=Math.sqrt,g=Math.abs,A=Math.cos,w=Math.sin,x=Math.max;if(!y.canvasSupported){var C=",",T="progid:DXImageTransform.Microsoft",O=21600,S=O/2,_=1e5,L=1e3,D=function(xe){xe.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",xe.coordsize=O+","+O,xe.coordorigin="0,0"},F=function(xe){return String(xe).replace(/&/g,"&").replace(/"/g,""")},j=function(xe,fe,Be){return"rgb("+[xe,fe,Be].join(",")+")"},k=function(xe,fe){fe&&xe&&fe.parentNode!==xe&&xe.appendChild(fe)},K=function(xe,fe){fe&&xe&&fe.parentNode===xe&&xe.removeChild(fe)},Z=function(xe,fe,Be){return(parseFloat(xe)||0)*_+(parseFloat(fe)||0)*L+Be},B=d.parsePercent,V=function(xe,fe,Be){var Ne=v.parse(fe);Be=+Be,isNaN(Be)&&(Be=1),Ne&&(xe.color=j(Ne[0],Ne[1],Ne[2]),xe.opacity=Be*Ne[3])},z=function(xe){var fe=v.parse(xe);return[j(fe[0],fe[1],fe[2]),fe[3]]},X=function(xe,fe,Be){var Ne=fe.fill;if(Ne!=null)if(Ne instanceof c){var de,ve=0,Me=[0,0],qe=0,gt=1,ht=Be.getBoundingRect(),Pe=ht.width,It=ht.height;if(Ne.type==="linear"){de="gradient";var nt=Be.transform,Nt=[Ne.x*Pe,Ne.y*It],Bt=[Ne.x2*Pe,Ne.y2*It];nt&&(E(Nt,Nt,nt),E(Bt,Bt,nt));var Pt=Bt[0]-Nt[0],jt=Bt[1]-Nt[1];ve=Math.atan2(Pt,jt)*180/Math.PI,ve<0&&(ve+=360),ve<1e-6&&(ve=0)}else{de="gradientradial";var Nt=[Ne.x*Pe,Ne.y*It],nt=Be.transform,er=Be.scale,at=Pe,Ce=It;Me=[(Nt[0]-ht.x)/at,(Nt[1]-ht.y)/Ce],nt&&E(Nt,Nt,nt),at/=er[0]*O,Ce/=er[1]*O;var ue=x(at,Ce);qe=2*0/ue,gt=2*Ne.r/ue-qe}var Dt=Ne.colorStops.slice();Dt.sort(function(zt,bt){return zt.offset-bt.offset});for(var rt=Dt.length,ye=[],Xt=[],pr=0;pr<rt;pr++){var mt=Dt[pr],nr=z(mt.color);Xt.push(mt.offset*gt+qe+" "+nr[0]),(pr===0||pr===rt-1)&&ye.push(nr)}if(rt>=2){var yr=ye[0][0],gn=ye[1][0],_r=ye[0][1]*fe.opacity,ur=ye[1][1]*fe.opacity;xe.type=de,xe.method="none",xe.focus="100%",xe.angle=ve,xe.color=yr,xe.color2=gn,xe.colors=Xt.join(","),xe.opacity=ur,xe.opacity2=_r}de==="radial"&&(xe.focusposition=Me.join(","))}else V(xe,Ne,fe.opacity)},W=function(xe,fe){fe.lineDash&&(xe.dashstyle=fe.lineDash.join(" ")),fe.stroke!=null&&!(fe.stroke instanceof c)&&V(xe,fe.stroke,fe.opacity)},q=function(xe,fe,Be,Ne){var de=fe==="fill",ve=xe.getElementsByTagName(fe)[0];Be[fe]!=null&&Be[fe]!=="none"&&(de||!de&&Be.lineWidth)?(xe[de?"filled":"stroked"]="true",Be[fe]instanceof c&&K(xe,ve),ve||(ve=e.createNode(fe)),de?X(ve,Be,Ne):W(ve,Be),k(xe,ve)):(xe[de?"filled":"stroked"]="false",K(xe,ve))},Y=[[],[],[]],re=function(xe,fe){var Be=o.M,Ne=o.C,de=o.L,ve=o.A,Me=o.Q,qe=[],gt,ht,Pe,It,nt,Nt,Bt=xe.data,Pt=xe.len();for(It=0;It<Pt;){Pe=Bt[It++],ht="",gt=0;switch(Pe){case Be:ht=" m ",gt=1,nt=Bt[It++],Nt=Bt[It++],Y[0][0]=nt,Y[0][1]=Nt;break;case de:ht=" l ",gt=1,nt=Bt[It++],Nt=Bt[It++],Y[0][0]=nt,Y[0][1]=Nt;break;case Me:case Ne:ht=" c ",gt=3;var jt=Bt[It++],er=Bt[It++],at=Bt[It++],Ce=Bt[It++],ue,Dt;Pe===Me?(ue=at,Dt=Ce,at=(at+2*jt)/3,Ce=(Ce+2*er)/3,jt=(nt+2*jt)/3,er=(Nt+2*er)/3):(ue=Bt[It++],Dt=Bt[It++]),Y[0][0]=jt,Y[0][1]=er,Y[1][0]=at,Y[1][1]=Ce,Y[2][0]=ue,Y[2][1]=Dt,nt=ue,Nt=Dt;break;case ve:var rt=0,ye=0,Xt=1,pr=1,mt=0;fe&&(rt=fe[4],ye=fe[5],Xt=h(fe[0]*fe[0]+fe[1]*fe[1]),pr=h(fe[2]*fe[2]+fe[3]*fe[3]),mt=Math.atan2(-fe[1]/pr,fe[0]/Xt));var nr=Bt[It++],yr=Bt[It++],gn=Bt[It++],_r=Bt[It++],ur=Bt[It++]+mt,zt=Bt[It++]+ur+mt;It++;var bt=Bt[It++],ot=nr+A(ur)*gn,lr=yr+w(ur)*_r,jt=nr+A(zt)*gn,er=yr+w(zt)*_r,jr=bt?" wa ":" at ";Math.abs(ot-jt)<1e-4&&(Math.abs(zt-ur)>.01?bt&&(ot+=270/O):Math.abs(lr-yr)<1e-4?bt&&ot<nr||!bt&&ot>nr?er-=270/O:er+=270/O:bt&&lr<yr||!bt&&lr>yr?jt+=270/O:jt-=270/O),qe.push(jr,u(((nr-gn)*Xt+rt)*O-S),C,u(((yr-_r)*pr+ye)*O-S),C,u(((nr+gn)*Xt+rt)*O-S),C,u(((yr+_r)*pr+ye)*O-S),C,u((ot*Xt+rt)*O-S),C,u((lr*pr+ye)*O-S),C,u((jt*Xt+rt)*O-S),C,u((er*pr+ye)*O-S)),nt=jt,Nt=er;break;case o.R:var Rr=Y[0],xr=Y[1];Rr[0]=Bt[It++],Rr[1]=Bt[It++],xr[0]=Rr[0]+Bt[It++],xr[1]=Rr[1]+Bt[It++],fe&&(E(Rr,Rr,fe),E(xr,xr,fe)),Rr[0]=u(Rr[0]*O-S),xr[0]=u(xr[0]*O-S),Rr[1]=u(Rr[1]*O-S),xr[1]=u(xr[1]*O-S),qe.push(" m ",Rr[0],C,Rr[1]," l ",xr[0],C,Rr[1]," l ",xr[0],C,xr[1]," l ",Rr[0],C,xr[1]);break;case o.Z:qe.push(" x ")}if(gt>0){qe.push(ht);for(var Vn=0;Vn<gt;Vn++){var bn=Y[Vn];fe&&E(bn,bn,fe),qe.push(u(bn[0]*O-S),C,u(bn[1]*O-S),Vn<gt-1?C:"")}}}return qe.join("")};s.prototype.brushVML=function(te){var xe=this.style,fe=this._vmlEl;fe||(fe=e.createNode("shape"),D(fe),this._vmlEl=fe),q(fe,"fill",xe,this),q(fe,"stroke",xe,this);var Be=this.transform,Ne=Be!=null,de=fe.getElementsByTagName("stroke")[0];if(de){var ve=xe.lineWidth;if(Ne&&!xe.strokeNoScale){var Me=Be[0]*Be[3]-Be[1]*Be[2];ve*=h(g(Me))}de.weight=ve+"px"}var qe=this.path||(this.path=new r);this.__dirtyPath&&(qe.beginPath(),qe.subPixelOptimize=!1,this.buildPath(qe,this.shape),qe.toStatic(),this.__dirtyPath=!1),fe.path=re(qe,this.transform),fe.style.zIndex=Z(this.zlevel,this.z,this.z2),k(te,fe),xe.text!=null?this.drawRectText(te,this.getBoundingRect()):this.removeRectText(te)},s.prototype.onRemove=function(te){K(te,this._vmlEl),this.removeRectText(te)},s.prototype.onAdd=function(te){k(te,this._vmlEl),this.appendRectText(te)};var ne=function(xe){return typeof xe=="object"&&xe.tagName&&xe.tagName.toUpperCase()==="IMG"};t.prototype.brushVML=function(te){var xe=this.style,fe=xe.image,Be,Ne;if(ne(fe)){var de=fe.src;if(de===this._imageSrc)Be=this._imageWidth,Ne=this._imageHeight;else{var ve=fe.runtimeStyle,Me=ve.width,qe=ve.height;ve.width="auto",ve.height="auto",Be=fe.width,Ne=fe.height,ve.width=Me,ve.height=qe,this._imageSrc=de,this._imageWidth=Be,this._imageHeight=Ne}fe=de}else fe===this._imageSrc&&(Be=this._imageWidth,Ne=this._imageHeight);if(!fe)return;var gt=xe.x||0,ht=xe.y||0,Pe=xe.width,It=xe.height,nt=xe.sWidth,Nt=xe.sHeight,Bt=xe.sx||0,Pt=xe.sy||0,jt=nt&&Nt,er=this._vmlEl;er||(er=e.doc.createElement("div"),D(er),this._vmlEl=er);var at=er.style,Ce=!1,ue,Dt=1,rt=1;if(this.transform&&(ue=this.transform,Dt=h(ue[0]*ue[0]+ue[1]*ue[1]),rt=h(ue[2]*ue[2]+ue[3]*ue[3]),Ce=ue[1]||ue[2]),Ce){var ye=[gt,ht],Xt=[gt+Pe,ht],pr=[gt,ht+It],mt=[gt+Pe,ht+It];E(ye,ye,ue),E(Xt,Xt,ue),E(pr,pr,ue),E(mt,mt,ue);var nr=x(ye[0],Xt[0],pr[0],mt[0]),yr=x(ye[1],Xt[1],pr[1],mt[1]),gn=[];gn.push("M11=",ue[0]/Dt,C,"M12=",ue[2]/rt,C,"M21=",ue[1]/Dt,C,"M22=",ue[3]/rt,C,"Dx=",u(gt*Dt+ue[4]),C,"Dy=",u(ht*rt+ue[5])),at.padding="0 "+u(nr)+"px "+u(yr)+"px 0",at.filter=T+".Matrix("+gn.join("")+", SizingMethod=clip)"}else ue&&(gt=gt*Dt+ue[4],ht=ht*rt+ue[5]),at.filter="",at.left=u(gt)+"px",at.top=u(ht)+"px";var _r=this._imageEl,ur=this._cropEl;_r||(_r=e.doc.createElement("div"),this._imageEl=_r);var zt=_r.style;if(jt){if(Be&&Ne)zt.width=u(Dt*Be*Pe/nt)+"px",zt.height=u(rt*Ne*It/Nt)+"px";else{var bt=new Image,ot=this;bt.onload=function(){bt.onload=null,Be=bt.width,Ne=bt.height,zt.width=u(Dt*Be*Pe/nt)+"px",zt.height=u(rt*Ne*It/Nt)+"px",ot._imageWidth=Be,ot._imageHeight=Ne,ot._imageSrc=fe},bt.src=fe}ur||(ur=e.doc.createElement("div"),ur.style.overflow="hidden",this._cropEl=ur);var lr=ur.style;lr.width=u((Pe+Bt*Pe/nt)*Dt),lr.height=u((It+Pt*It/Nt)*rt),lr.filter=T+".Matrix(Dx="+-Bt*Pe/nt*Dt+",Dy="+-Pt*It/Nt*rt+")",ur.parentNode||er.appendChild(ur),_r.parentNode!==ur&&ur.appendChild(_r)}else zt.width=u(Dt*Pe)+"px",zt.height=u(rt*It)+"px",er.appendChild(_r),ur&&ur.parentNode&&(er.removeChild(ur),this._cropEl=null);var jr="",Rr=xe.opacity;Rr<1&&(jr+=".Alpha(opacity="+u(Rr*100)+") "),jr+=T+".AlphaImageLoader(src="+fe+", SizingMethod=scale)",zt.filter=jr,er.style.zIndex=Z(this.zlevel,this.z,this.z2),k(te,er),xe.text!=null&&this.drawRectText(te,this.getBoundingRect())},t.prototype.onRemove=function(te){K(te,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(te)},t.prototype.onAdd=function(te){k(te,this._vmlEl),this.appendRectText(te)};var we="normal",ie={},me=0,_e=100,Te=document.createElement("div"),We=function(xe){var fe=ie[xe];if(!fe){me>_e&&(me=0,ie={});var Be=Te.style,Ne;try{Be.font=xe,Ne=Be.fontFamily.split(",")[0]}catch(de){}fe={style:Be.fontStyle||we,variant:Be.fontVariant||we,weight:Be.fontWeight||we,size:parseFloat(Be.fontSize||12)|0,family:Ne||"Microsoft YaHei"},ie[xe]=fe,me++}return fe},Ae;f.$override("measureText",function(te,xe){var fe=e.doc;Ae||(Ae=fe.createElement("div"),Ae.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",e.doc.body.appendChild(Ae));try{Ae.style.font=xe}catch(Be){}return Ae.innerHTML="",Ae.appendChild(fe.createTextNode(te)),{width:Ae.offsetWidth}});for(var je=new p,ee=function(xe,fe,Be,Ne){var de=this.style;this.__dirty&&d.normalizeTextStyle(de,!0);var ve=de.text;if(ve!=null&&(ve+=""),!ve)return;if(de.rich){var Me=f.parseRichText(ve,de);ve=[];for(var qe=0;qe<Me.lines.length;qe++){for(var gt=Me.lines[qe].tokens,ht=[],Pe=0;Pe<gt.length;Pe++)ht.push(gt[Pe].text);ve.push(ht.join(""))}ve=ve.join(`
|
|
|
`)}var It,nt,Nt=de.textAlign,Bt=de.textVerticalAlign,Pt=We(de.font),jt=Pt.style+" "+Pt.variant+" "+Pt.weight+" "+Pt.size+'px "'+Pt.family+'"';Be=Be||f.getBoundingRect(ve,jt,Nt,Bt,de.textPadding,de.textLineHeight);var er=this.transform;if(er&&!Ne&&(je.copy(fe),je.applyTransform(er),fe=je),Ne)It=fe.x,nt=fe.y;else{var at=de.textPosition;if(at instanceof Array)It=fe.x+B(at[0],fe.width),nt=fe.y+B(at[1],fe.height),Nt=Nt||"left";else{var Ce=this.calculateTextPosition?this.calculateTextPosition({},de,fe):f.calculateTextPosition({},de,fe);It=Ce.x,nt=Ce.y,Nt=Nt||Ce.textAlign,Bt=Bt||Ce.textVerticalAlign}}It=f.adjustTextX(It,Be.width,Nt),nt=f.adjustTextY(nt,Be.height,Bt),nt+=Be.height/2;var ue=e.createNode,Dt=this._textVmlEl,rt,ye,Xt;Dt?(Xt=Dt.firstChild,rt=Xt.nextSibling,ye=rt.nextSibling):(Dt=ue("line"),rt=ue("path"),ye=ue("textpath"),Xt=ue("skew"),ye.style["v-text-align"]="left",D(Dt),rt.textpathok=!0,ye.on=!0,Dt.from="0 0",Dt.to="1000 0.05",k(Dt,Xt),k(Dt,rt),k(Dt,ye),this._textVmlEl=Dt);var pr=[It,nt],mt=Dt.style;er&&Ne?(E(pr,pr,er),Xt.on=!0,Xt.matrix=er[0].toFixed(3)+C+er[2].toFixed(3)+C+er[1].toFixed(3)+C+er[3].toFixed(3)+",0,0",Xt.offset=(u(pr[0])||0)+","+(u(pr[1])||0),Xt.origin="0 0",mt.left="0px",mt.top="0px"):(Xt.on=!1,mt.left=u(It)+"px",mt.top=u(nt)+"px"),ye.string=F(ve);try{ye.style.font=jt}catch(nr){}q(Dt,"fill",{fill:de.textFill,opacity:de.opacity},this),q(Dt,"stroke",{stroke:de.textStroke,opacity:de.opacity,lineDash:de.lineDash||null},this),Dt.style.zIndex=Z(this.zlevel,this.z,this.z2),k(xe,Dt)},he=function(xe){K(xe,this._textVmlEl),this._textVmlEl=null},Ze=function(xe){k(xe,this._textVmlEl)},oe=[l,n,t,s,a],Q=0;Q<oe.length;Q++){var G=oe[Q].prototype;G.drawRectText=ee,G.removeRectText=he,G.appendRectText=Ze}a.prototype.brushVML=function(te){var xe=this.style;xe.text!=null?this.drawRectText(te,{x:xe.x||0,y:xe.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(te)},a.prototype.onRemove=function(te){this.removeRectText(te)},a.prototype.onAdd=function(te){this.appendRectText(te)}}},qJCg:function(U,R,i){var y=i("BlVb"),m=i("mFDi"),E=i("IwbS"),p=E.linePolygonIntersect,v={lineX:f(0),lineY:f(1),rect:{point:function(n,t,a){return n&&a.boundingRect.contain(n[0],n[1])},rect:function(n,t,a){return n&&a.boundingRect.intersect(n)}},polygon:{point:function(n,t,a){return n&&a.boundingRect.contain(n[0],n[1])&&y.contain(a.range,n[0],n[1])},rect:function(n,t,a){var s=a.range;if(!n||s.length<=1)return!1;var r=n.x,c=n.y,e=n.width,o=n.height,u=s[0];if(y.contain(s,r,c)||y.contain(s,r+e,c)||y.contain(s,r,c+o)||y.contain(s,r+e,c+o)||m.create(n).contain(u[0],u[1])||p(r,c,r+e,c,s)||p(r,c,r,c+o,s)||p(r+e,c,r+e,c+o,s)||p(r,c+o,r+e,c+o,s))return!0}}};function f(n){var t=["x","y"],a=["width","height"];return{point:function(s,r,c){if(s){var e=c.range,o=s[n];return d(o,e)}},rect:function(s,r,c){if(s){var e=c.range,o=[s[t[n]],s[t[n]]+s[a[n]]];return o[1]<o[0]&&o.reverse(),d(o[0],e)||d(o[1],e)||d(e[0],o)||d(e[1],o)}}}}function d(n,t){return t[0]<=n&&n<=t[1]}var l=v;U.exports=l},qMZE:function(U,R,i){var y=i("JEkh"),m=y.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}}}});U.exports=m},qNPg:function(U,R,i){"use strict";i.d(R,"a",function(){return Y});var y=i("rePB"),m=i("VTBJ"),E=i("KQm4"),p=i("ODXe"),v=i("Ff2n"),f=i("q1tI"),d=i("4IlW"),l=i("TSYQ"),n=i.n(l),t=i("6cGi"),a=i("bX4T"),s=i("8XRh"),r=i("8OUc"),c=i("c+Xe"),e=function(ne,we){var ie=ne.prefixCls,me=ne.id,_e=ne.inputElement,Te=ne.disabled,We=ne.tabIndex,Ae=ne.autoFocus,je=ne.autoComplete,ee=ne.editable,he=ne.accessibilityIndex,Ze=ne.value,oe=ne.onKeyDown,Q=ne.onMouseDown,G=ne.onChange,te=ne.onPaste,xe=ne.onCompositionStart,fe=ne.onCompositionEnd,Be=ne.open,Ne=ne.attrs,de=_e||f.createElement("input",null),ve=de,Me=ve.ref,qe=ve.props,gt=qe.onKeyDown,ht=qe.onChange,Pe=qe.onMouseDown,It=qe.onCompositionStart,nt=qe.onCompositionEnd,Nt=qe.style;return de=f.cloneElement(de,Object(m.a)(Object(m.a)({id:me,ref:Object(c.a)(we,Me),disabled:Te,tabIndex:We,autoComplete:je||"off",autoFocus:Ae,className:"".concat(ie,"-selection-search-input"),style:Object(m.a)(Object(m.a)({},Nt),{},{opacity:ee?null:0}),role:"combobox","aria-expanded":Be,"aria-haspopup":"listbox","aria-owns":"".concat(me,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(me,"_list"),"aria-activedescendant":"".concat(me,"_list_").concat(he)},Ne),{},{value:ee?Ze:"",readOnly:!ee,unselectable:ee?null:"on",onKeyDown:function(Pt){oe(Pt),gt&>(Pt)},onMouseDown:function(Pt){Q(Pt),Pe&&Pe(Pt)},onChange:function(Pt){G(Pt),ht&&ht(Pt)},onCompositionStart:function(Pt){xe(Pt),It&&It(Pt)},onCompositionEnd:function(Pt){fe(Pt),nt&&nt(Pt)},onPaste:te})),de},o=f.forwardRef(e);o.displayName="Input";var u=o,h=i("WKfj");function g(re,ne){h.b?f.useLayoutEffect(re,ne):f.useEffect(re,ne)}var A="__RC_SELECT_MAX_REST_COUNT__",w=function(ne){var we=ne.id,ie=ne.prefixCls,me=ne.values,_e=ne.open,Te=ne.searchValue,We=ne.inputRef,Ae=ne.placeholder,je=ne.disabled,ee=ne.mode,he=ne.showSearch,Ze=ne.autoFocus,oe=ne.autoComplete,Q=ne.accessibilityIndex,G=ne.tabIndex,te=ne.removeIcon,xe=ne.choiceTransitionName,fe=ne.maxTagCount,Be=ne.maxTagTextLength,Ne=ne.maxTagPlaceholder,de=Ne===void 0?function(nr){return"+ ".concat(nr.length," ...")}:Ne,ve=ne.tagRender,Me=ne.onSelect,qe=ne.onInputChange,gt=ne.onInputPaste,ht=ne.onInputKeyDown,Pe=ne.onInputMouseDown,It=ne.onInputCompositionStart,nt=ne.onInputCompositionEnd,Nt=f.useState(!1),Bt=Object(p.a)(Nt,2),Pt=Bt[0],jt=Bt[1],er=f.useRef(null),at=f.useState(0),Ce=Object(p.a)(at,2),ue=Ce[0],Dt=Ce[1];f.useEffect(function(){jt(!0)},[]);var rt=_e||ee==="tags"?Te:"",ye=ee==="tags"||_e&&he;g(function(){Dt(er.current.scrollWidth)},[rt]);var Xt=me,pr;typeof fe=="number"&&(pr=me.length-fe,Xt=me.slice(0,fe)),typeof Be=="number"&&(Xt=Xt.map(function(nr){var yr=nr.label,gn=Object(v.a)(nr,["label"]),_r=yr;if(typeof yr=="string"||typeof yr=="number"){var ur=String(_r);ur.length>Be&&(_r="".concat(ur.slice(0,Be),"..."))}return Object(m.a)(Object(m.a)({},gn),{},{label:_r})})),pr>0&&Xt.push({key:A,label:typeof de=="function"?de(me.slice(fe)):de});var mt=f.createElement(s.CSSMotionList,{component:!1,keys:Xt,motionName:xe,motionAppear:Pt},function(nr){var yr=nr.key,gn=nr.label,_r=nr.value,ur=nr.disabled,zt=nr.className,bt=nr.style,ot=yr||_r,lr=yr!==A&&!ur,jr=function(Vn){Vn.preventDefault(),Vn.stopPropagation()},Rr=function(Vn){Vn&&Vn.stopPropagation(),Me(_r,{selected:!1})};return typeof ve=="function"?f.createElement("span",{key:ot,onMouseDown:jr,className:zt,style:bt},ve({label:gn,value:_r,disabled:ur,closable:lr,onClose:Rr})):f.createElement("span",{key:ot,className:n()(zt,"".concat(ie,"-selection-item"),Object(y.a)({},"".concat(ie,"-selection-item-disabled"),ur)),style:bt},f.createElement("span",{className:"".concat(ie,"-selection-item-content")},gn),lr&&f.createElement(r.a,{className:"".concat(ie,"-selection-item-remove"),onMouseDown:jr,onClick:Rr,customizeIcon:te},"\xD7"))});return f.createElement(f.Fragment,null,mt,f.createElement("span",{className:"".concat(ie,"-selection-search"),style:{width:ue}},f.createElement(u,{ref:We,open:_e,prefixCls:ie,id:we,inputElement:null,disabled:je,autoFocus:Ze,autoComplete:oe,editable:ye,accessibilityIndex:Q,value:rt,onKeyDown:ht,onMouseDown:Pe,onChange:qe,onPaste:gt,onCompositionStart:It,onCompositionEnd:nt,tabIndex:G,attrs:Object(a.a)(ne,!0)}),f.createElement("span",{ref:er,className:"".concat(ie,"-selection-search-mirror"),"aria-hidden":!0},rt,"\xA0")),!me.length&&!rt&&f.createElement("span",{className:"".concat(ie,"-selection-placeholder")},Ae))},x=w,C=function(ne){var we=ne.inputElement,ie=ne.prefixCls,me=ne.id,_e=ne.inputRef,Te=ne.disabled,We=ne.autoFocus,Ae=ne.autoComplete,je=ne.accessibilityIndex,ee=ne.mode,he=ne.open,Ze=ne.values,oe=ne.placeholder,Q=ne.tabIndex,G=ne.showSearch,te=ne.searchValue,xe=ne.activeValue,fe=ne.onInputKeyDown,Be=ne.onInputMouseDown,Ne=ne.onInputChange,de=ne.onInputPaste,ve=ne.onInputCompositionStart,Me=ne.onInputCompositionEnd,qe=f.useState(!1),gt=Object(p.a)(qe,2),ht=gt[0],Pe=gt[1],It=ee==="combobox",nt=It||G&&he,Nt=Ze[0],Bt=te||"";It&&xe&&!ht&&(Bt=xe),f.useEffect(function(){It&&Pe(!1)},[It,xe]);var Pt=ee!=="combobox"&&!he?!1:!!Bt,jt=Nt&&(typeof Nt.label=="string"||typeof Nt.label=="number")?Nt.label.toString():void 0;return f.createElement(f.Fragment,null,f.createElement("span",{className:"".concat(ie,"-selection-search")},f.createElement(u,{ref:_e,prefixCls:ie,id:me,open:he,inputElement:we,disabled:Te,autoFocus:We,autoComplete:Ae,editable:nt,accessibilityIndex:je,value:Bt,onKeyDown:fe,onMouseDown:Be,onChange:function(at){Pe(!0),Ne(at)},onPaste:de,onCompositionStart:ve,onCompositionEnd:Me,tabIndex:Q,attrs:Object(a.a)(ne,!0)})),!It&&Nt&&!Pt&&f.createElement("span",{className:"".concat(ie,"-selection-item"),title:jt},Nt.label),!Nt&&!Pt&&f.createElement("span",{className:"".concat(ie,"-selection-placeholder")},oe))},T=C;function O(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,ne=f.useRef(null),we=f.useRef(null);f.useEffect(function(){return function(){window.clearTimeout(we.current)}},[]);function ie(me){(me||ne.current===null)&&(ne.current=me),window.clearTimeout(we.current),we.current=window.setTimeout(function(){ne.current=null},re)}return[function(){return ne.current},ie]}var S=function(ne,we){var ie=Object(f.useRef)(null),me=Object(f.useRef)(!1),_e=ne.prefixCls,Te=ne.multiple,We=ne.open,Ae=ne.mode,je=ne.showSearch,ee=ne.tokenWithEnter,he=ne.onSearch,Ze=ne.onSearchSubmit,oe=ne.onToggleOpen,Q=ne.onInputKeyDown,G=ne.domRef;f.useImperativeHandle(we,function(){return{focus:function(){ie.current.focus()},blur:function(){ie.current.blur()}}});var te=O(0),xe=Object(p.a)(te,2),fe=xe[0],Be=xe[1],Ne=function(Pt){var jt=Pt.which;(jt===d.a.UP||jt===d.a.DOWN)&&Pt.preventDefault(),Q&&Q(Pt),jt===d.a.ENTER&&Ae==="tags"&&!me.current&&!We&&Ze(Pt.target.value),[d.a.SHIFT,d.a.TAB,d.a.BACKSPACE,d.a.ESC].includes(jt)||oe(!0)},de=function(){Be(!0)},ve=Object(f.useRef)(null),Me=function(Pt){he(Pt,!0,me.current)!==!1&&oe(!0)},qe=function(){me.current=!0},gt=function(){me.current=!1},ht=function(Pt){var jt=Pt.target.value;if(ee&&ve.current&&/[\r\n]/.test(ve.current)){var er=ve.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");jt=jt.replace(er,ve.current)}ve.current=null,Me(jt)},Pe=function(Pt){var jt=Pt.clipboardData,er=jt.getData("text");ve.current=er},It=function(Pt){var jt=fe();if(Pt.target!==ie.current){jt||Pt.preventDefault();var er=document.body.style.msTouchAction!==void 0;er?setTimeout(function(){ie.current.focus()}):ie.current.focus()}(Ae!=="combobox"&&(!je||!jt)||!We)&&(We&&he("",!0,!1),oe())},nt={inputRef:ie,onInputKeyDown:Ne,onInputMouseDown:de,onInputChange:ht,onInputPaste:Pe,onInputCompositionStart:qe,onInputCompositionEnd:gt},Nt=Te?f.createElement(x,Object.assign({},ne,nt)):f.createElement(T,Object.assign({},ne,nt));return f.createElement("div",{ref:G,className:"".concat(_e,"-selector"),onMouseDown:It},Nt)},_=f.forwardRef(S);_.displayName="Selector";var L=_,D=i("uciX"),F=function(ne){var we=typeof ne!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:we,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:we,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:we,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:we,adjustY:1}}}},j=function(ne,we){var ie=ne.prefixCls,me=ne.disabled,_e=ne.visible,Te=ne.children,We=ne.popupElement,Ae=ne.containerWidth,je=ne.animation,ee=ne.transitionName,he=ne.dropdownStyle,Ze=ne.dropdownClassName,oe=ne.direction,Q=oe===void 0?"ltr":oe,G=ne.dropdownMatchSelectWidth,te=G===void 0?!0:G,xe=ne.dropdownRender,fe=ne.dropdownAlign,Be=ne.getPopupContainer,Ne=ne.empty,de=ne.getTriggerDOMNode,ve=Object(v.a)(ne,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Me="".concat(ie,"-dropdown"),qe=We;xe&&(qe=xe(We));var gt=f.useMemo(function(){return F(te)},[te]),ht=je?"".concat(Me,"-").concat(je):ee,Pe=f.useRef(null);f.useImperativeHandle(we,function(){return{getPopupElement:function(){return Pe.current}}});var It=Object(m.a)({minWidth:Ae},he);return typeof te=="number"?It.width=te:te&&(It.width=Ae),f.createElement(D.a,Object.assign({},ve,{showAction:[],hideAction:[],popupPlacement:Q==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:gt,prefixCls:Me,popupTransitionName:ht,popup:f.createElement("div",{ref:Pe},qe),popupAlign:fe,popupVisible:_e,getPopupContainer:Be,popupClassName:n()(Ze,Object(y.a)({},"".concat(Me,"-empty"),Ne)),popupStyle:It,getTriggerDOMNode:de}),Te)},k=f.forwardRef(j);k.displayName="SelectTrigger";var K=k,Z=i("wPlo");function B(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ne=f.useState(!1),we=Object(p.a)(ne,2),ie=we[0],me=we[1],_e=f.useRef(null),Te=function(){window.clearTimeout(_e.current)};f.useEffect(function(){return Te},[]);var We=function(je,ee){Te(),_e.current=window.setTimeout(function(){me(je),ee&&ee()},re)};return[ie,We,Te]}var V=i("2Qr1");function z(re,ne,we){var ie=f.useRef(null);ie.current={elements:re.filter(function(me){return me}),open:ne,triggerOpen:we},f.useEffect(function(){function me(_e){var Te=_e.target;ie.current.open&&ie.current.elements.every(function(We){return!We.contains(Te)&&We!==Te})&&ie.current.triggerOpen(!1)}return window.addEventListener("mousedown",me),function(){return window.removeEventListener("mousedown",me)}},[])}function X(re){var ne=f.useRef(re),we=f.useMemo(function(){var ie=new Map;ne.current.forEach(function(_e){var Te=_e.value,We=_e.label;Te!==We&&ie.set(Te,We)});var me=re.map(function(_e){var Te=ie.get(_e.value);return _e.value===_e.label&&Te?Object(m.a)(Object(m.a)({},_e),{},{label:Te}):_e});return ne.current=me,me},[re]);return we}function W(re,ne){var we=f.useRef(null),ie=f.useMemo(function(){var _e=new Map;return ne.forEach(function(Te){var We=Te.data.value;_e.set(We,Te)}),_e},[re,ne]);we.current=ie;var me=function(Te){return Te.map(function(We){return we.current.get(We)}).filter(Boolean)};return me}var q=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function Y(re){var ne=re.prefixCls,we=re.components.optionList,ie=re.convertChildrenToData,me=re.flattenOptions,_e=re.getLabeledValue,Te=re.filterOptions,We=re.isValueDisabled,Ae=re.findValueOption,je=re.warningProps,ee=re.fillOptionsWithMissingValue,he=re.omitDOMProps;function Ze(Q,G){var te,xe=Q.prefixCls,fe=xe===void 0?ne:xe,Be=Q.className,Ne=Q.id,de=Q.open,ve=Q.defaultOpen,Me=Q.options,qe=Q.children,gt=Q.mode,ht=Q.value,Pe=Q.defaultValue,It=Q.labelInValue,nt=Q.showSearch,Nt=Q.inputValue,Bt=Q.searchValue,Pt=Q.filterOption,jt=Q.optionFilterProp,er=jt===void 0?"value":jt,at=Q.autoClearSearchValue,Ce=at===void 0?!0:at,ue=Q.onSearch,Dt=Q.allowClear,rt=Q.clearIcon,ye=Q.showArrow,Xt=Q.inputIcon,pr=Q.menuItemSelectedIcon,mt=Q.disabled,nr=Q.loading,yr=Q.defaultActiveFirstOption,gn=Q.notFoundContent,_r=gn===void 0?"Not Found":gn,ur=Q.optionLabelProp,zt=Q.backfill,bt=Q.getInputElement,ot=Q.getPopupContainer,lr=Q.listHeight,jr=lr===void 0?200:lr,Rr=Q.listItemHeight,xr=Rr===void 0?20:Rr,Vn=Q.animation,bn=Q.transitionName,di=Q.virtual,lt=Q.dropdownStyle,ct=Q.dropdownClassName,Le=Q.dropdownMatchSelectWidth,Ue=Q.dropdownRender,Ye=Q.dropdownAlign,ft=Q.showAction,ir=ft===void 0?[]:ft,Yt=Q.direction,rr=Q.tokenSeparators,Zr=Q.tagRender,nn=Q.onPopupScroll,Pn=Q.onDropdownVisibleChange,qt=Q.onFocus,St=Q.onBlur,At=Q.onKeyUp,cr=Q.onKeyDown,or=Q.onMouseDown,Tt=Q.onChange,Rt=Q.onSelect,_t=Q.onDeselect,Zt=Q.onClear,Nr=Q.internalProps,Sr=Nr===void 0?{}:Nr,br=Object(v.a)(Q,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),hn=Sr.mark===Z.a,fn=he?he(br):br;q.forEach(function(Ai){delete fn[Ai]});var ni=Object(f.useRef)(null),mi=Object(f.useRef)(null),_i=Object(f.useRef)(null),Hi=Object(f.useRef)(null),aa=Object(f.useMemo)(function(){return(rr||[]).some(function(Ai){return[`
|
|
|
`,`\r
|
|
|
`].includes(Ai)})},[rr]),Ra=B(),it=Object(p.a)(Ra,3),Re=it[0],Ke=it[1],Ge=it[2],et=Object(f.useState)(),$e=Object(p.a)(et,2),st=$e[0],Lt=$e[1];Object(f.useEffect)(function(){Lt("rc_select_".concat(Object(h.a)()))},[]);var vt=Ne||st,Qt=ur;Qt===void 0&&(Qt=Me?"label":"children");var Fr=gt==="combobox"?!1:It,Lr=gt==="tags"||gt==="multiple",Gr=nt!==void 0?nt:Lr||gt==="combobox",$t=Object(f.useRef)(null);f.useImperativeHandle(G,function(){return{focus:_i.current.focus,blur:_i.current.blur}});var Rn=Object(t.a)(Pe,{value:ht}),wr=Object(p.a)(Rn,2),pn=wr[0],rn=wr[1],Br=Object(f.useMemo)(function(){return Object(h.e)(pn,{labelInValue:Fr,combobox:gt==="combobox"})},[pn,Fr]),Yn=Object(f.useMemo)(function(){return new Set(Br)},[Br]),xi=Object(f.useState)(null),Li=Object(p.a)(xi,2),Vi=Li[0],Wi=Li[1],qi=Object(f.useState)(""),bi=Object(p.a)(qi,2),ba=bi[0],Kn=bi[1],un=ba;gt==="combobox"&&pn!==void 0?un=pn:Bt!==void 0?un=Bt:Nt&&(un=Nt);var ri=Object(f.useMemo)(function(){var Ai=Me;return Ai===void 0&&(Ai=ie(qe)),gt==="tags"&&ee&&(Ai=ee(Ai,pn,Qt,It)),Ai||[]},[Me,qe,gt,pn]),Cn=Object(f.useMemo)(function(){return me(ri,Q)},[ri]),ki=W(Br,Cn),Tn=Object(f.useMemo)(function(){if(!un||!Gr)return Object(E.a)(ri);var Ai=Te(un,ri,{optionFilterProp:er,filterOption:gt==="combobox"&&Pt===void 0?function(){return!0}:Pt});return gt==="tags"&&Ai.every(function(Aa){return Aa[er]!==un})&&Ai.unshift({value:un,label:un,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Ai},[ri,un,gt,Gr]),oa=Object(f.useMemo)(function(){return me(Tn,Q)},[Tn]);Object(f.useEffect)(function(){Hi.current&&Hi.current.scrollTo&&Hi.current.scrollTo(0)},[un]);var Ti=Object(f.useMemo)(function(){var Ai=Br.map(function(Aa){var za=ki([Aa]),Or=_e(Aa,{options:za,prevValue:pn,labelInValue:Fr,optionLabelProp:Qt});return Object(m.a)(Object(m.a)({},Or),{},{disabled:We(Aa,za)})});return!gt&&Ai.length===1&&Ai[0].value===null&&Ai[0].label===null?[]:Ai},[pn,ri,gt]);Ti=X(Ti);var li=function(Aa,za,Or){var $r=ki([Aa]),vn=Ae([Aa],$r)[0];if(!Sr.skipTriggerSelect){var Jr=Fr?_e(Aa,{options:$r,prevValue:pn,labelInValue:Fr,optionLabelProp:Qt}):Aa;za&&Rt?Rt(Jr,vn):!za&&_t&&_t(Jr,vn)}hn&&(za&&Sr.onRawSelect?Sr.onRawSelect(Aa,vn,Or):!za&&Sr.onRawDeselect&&Sr.onRawDeselect(Aa,vn,Or))},Ri=Object(f.useState)([]),Da=Object(p.a)(Ri,2),Un=Da[0],on=Da[1],Zn=function(Aa){if(hn&&Sr.skipTriggerChange)return;var za=ki(Aa),Or=Object(h.f)(Array.from(Aa),{labelInValue:Fr,options:za,getLabeledValue:_e,prevValue:pn,optionLabelProp:Qt}),$r=Lr?Or:Or[0];if(Tt&&(Br.length!==0||Or.length!==0)){var vn=Ae(Aa,za,{prevValueOptions:Un});on(vn.map(function(Jr,ar){var Hr=Object(m.a)({},Jr);return Object.defineProperty(Hr,"_INTERNAL_OPTION_VALUE_",{get:function(){return Aa[ar]}}),Hr})),Tt($r,Lr?vn:vn[0])}rn($r)},hi=function(Aa,za){var Or=za.selected,$r=za.source;if(mt)return;var vn;Lr?(vn=new Set(Br),Or?vn.add(Aa):vn.delete(Aa)):(vn=new Set,vn.add(Aa)),(Lr||!Lr&&Array.from(Br)[0]!==Aa)&&Zn(Array.from(vn)),li(Aa,!Lr||Or,$r),gt==="combobox"?(Kn(String(Aa)),Wi("")):(!Lr||Ce)&&(Kn(""),Wi(""))},Ni=function(Aa,za){hi(Aa,Object(m.a)(Object(m.a)({},za),{},{source:"option"}))},zi=function(Aa,za){hi(Aa,Object(m.a)(Object(m.a)({},za),{},{source:"selection"}))},ea=gt==="combobox"&&bt&&bt()||null,Fi=Object(t.a)(void 0,{defaultValue:ve,value:de}),ia=Object(p.a)(Fi,2),Va=ia[0],fo=ia[1],ja=Va,Ka=!_r&&!Tn.length;(mt||Ka&&ja&>==="combobox")&&(ja=!1);var Gi=Ka?!1:ja,mn=function(Aa){var za=Aa!==void 0?Aa:!ja;Va!==za&&!mt&&(fo(za),Pn&&Pn(za))};z([ni.current,mi.current&&mi.current.getPopupElement()],Gi,mn);var $i=function(Aa,za,Or){var $r=!0,vn=Aa;Wi(null);var Jr=Or?null:Object(V.f)(Aa,rr),ar=Jr;if(gt==="combobox")za&&Zn([vn]);else if(Jr){vn="",gt!=="tags"&&(ar=Jr.map(function(mr){var tn=Cn.find(function(sn){var Hn=sn.data;return Hn[Qt]===mr});return tn?tn.data.value:null}).filter(function(mr){return mr!==null}));var Hr=Array.from(new Set([].concat(Object(E.a)(Br),Object(E.a)(ar))));Zn(Hr),Hr.forEach(function(mr){li(mr,!0,"input")}),mn(!1),$r=!1}return Kn(vn),ue&&un!==vn&&ue(vn),$r},io=function(Aa){var za=Array.from(new Set([].concat(Object(E.a)(Br),[Aa])));Zn(za),za.forEach(function(Or){li(Or,!0,"input")}),Kn("")};Object(f.useEffect)(function(){Va&&!!mt&&fo(!1)},[mt]),Object(f.useEffect)(function(){!ja&&!Lr&>!=="combobox"&&$i("",!1,!1)},[ja]);var La=O(),ao=Object(p.a)(La,2),tr=ao[0],An=ao[1],_n=function(Aa){var za=tr(),Or=Aa.which;if(!ja&&Or===d.a.ENTER&&mn(!0),An(!!un),Or===d.a.BACKSPACE&&!za&&Lr&&!un&&Br.length){var $r=Object(h.c)(Ti,Br);$r.removedValue!==null&&(Zn($r.values),li($r.removedValue,!1,"input"))}for(var vn=arguments.length,Jr=new Array(vn>1?vn-1:0),ar=1;ar<vn;ar++)Jr[ar-1]=arguments[ar];if(ja&&Hi.current){var Hr;(Hr=Hi.current).onKeyDown.apply(Hr,[Aa].concat(Jr))}cr&&cr.apply(void 0,[Aa].concat(Jr))},Bn=function(Aa){for(var za=arguments.length,Or=new Array(za>1?za-1:0),$r=1;$r<za;$r++)Or[$r-1]=arguments[$r];if(ja&&Hi.current){var vn;(vn=Hi.current).onKeyUp.apply(vn,[Aa].concat(Or))}At&&At.apply(void 0,[Aa].concat(Or))},tt=Object(f.useRef)(!1),Ft=function(){Ke(!0),mt||(qt&&!tt.current&&qt.apply(void 0,arguments),ir.includes("focus")&&mn(!0)),tt.current=!0},Cr=function(){if(Ke(!1,function(){tt.current=!1,mn(!1)}),mt)return;un&&(gt==="tags"?($i("",!1,!1),Zn(Array.from(new Set([].concat(Object(E.a)(Br),[un]))))):gt==="multiple"&&Kn("")),St&&St.apply(void 0,arguments)},gr=[];Object(f.useEffect)(function(){return function(){gr.forEach(function(Ai){return clearTimeout(Ai)}),gr.splice(0,gr.length)}},[]);var Yr=function(Aa){var za=Aa.target,Or=mi.current&&mi.current.getPopupElement();if(Or&&Or.contains(za)){var $r=setTimeout(function(){var Hr=gr.indexOf($r);Hr!==-1&&gr.splice(Hr,1),Ge(),Or.contains(document.activeElement)||_i.current.focus()});gr.push($r)}if(or){for(var vn=arguments.length,Jr=new Array(vn>1?vn-1:0),ar=1;ar<vn;ar++)Jr[ar-1]=arguments[ar];or.apply(void 0,[Aa].concat(Jr))}},en=Object(f.useState)(0),cn=Object(p.a)(en,2),In=cn[0],Xn=cn[1],ii=yr!==void 0?yr:gt!=="combobox",fi=function(Aa,za){Xn(za),zt&>==="combobox"&&Aa!==null&&Wi(String(Aa))},ui=Object(f.useState)(null),qn=Object(p.a)(ui,2),ti=qn[0],oi=qn[1],Ci=Object(f.useState)({}),Mi=Object(p.a)(Ci,2),Pi=Mi[1];function ca(){Pi({})}g(function(){if(Gi){var Ai=Math.ceil(ni.current.offsetWidth);ti!==Ai&&oi(Ai)}},[Gi]);var sa=f.createElement(we,{ref:Hi,prefixCls:fe,id:vt,open:ja,childrenAsData:!Me,options:Tn,flattenOptions:oa,multiple:Lr,values:Yn,height:jr,itemHeight:xr,onSelect:Ni,onToggleOpen:mn,onActiveValue:fi,defaultActiveFirstOption:ii,notFoundContent:_r,onScroll:nn,searchValue:un,menuItemSelectedIcon:pr,virtual:di!==!1&&Le!==!1,onMouseEnter:ca}),Na,Pa=function(){hn&&Sr.onClear&&Sr.onClear(),Zt&&Zt(),Zn([]),$i("",!1,!1)};!mt&&Dt&&(Br.length||un)&&(Na=f.createElement(r.a,{className:"".concat(fe,"-clear"),onMouseDown:Pa,customizeIcon:rt},"\xD7"));var ya=ye!==void 0?ye:nr||!Lr&>!=="combobox",va;ya&&(va=f.createElement(r.a,{className:n()("".concat(fe,"-arrow"),Object(y.a)({},"".concat(fe,"-arrow-loading"),nr)),customizeIcon:Xt,customizeIconProps:{loading:nr,searchValue:un,open:ja,focused:Re,showSearch:Gr}}));var Ca=n()(fe,Be,(te={},Object(y.a)(te,"".concat(fe,"-focused"),Re),Object(y.a)(te,"".concat(fe,"-multiple"),Lr),Object(y.a)(te,"".concat(fe,"-single"),!Lr),Object(y.a)(te,"".concat(fe,"-allow-clear"),Dt),Object(y.a)(te,"".concat(fe,"-show-arrow"),ya),Object(y.a)(te,"".concat(fe,"-disabled"),mt),Object(y.a)(te,"".concat(fe,"-loading"),nr),Object(y.a)(te,"".concat(fe,"-open"),ja),Object(y.a)(te,"".concat(fe,"-customize-input"),ea),Object(y.a)(te,"".concat(fe,"-show-search"),Gr),te));return f.createElement("div",Object.assign({className:Ca},fn,{ref:ni,onMouseDown:Yr,onKeyDown:_n,onKeyUp:Bn,onFocus:Ft,onBlur:Cr}),Re&&!ja&&f.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Br.join(", "))),f.createElement(K,{ref:mi,disabled:mt,prefixCls:fe,visible:Gi,popupElement:sa,containerWidth:ti,animation:Vn,transitionName:bn,dropdownStyle:lt,dropdownClassName:ct,direction:Yt,dropdownMatchSelectWidth:Le,dropdownRender:Ue,dropdownAlign:Ye,getPopupContainer:ot,empty:!ri.length,getTriggerDOMNode:function(){return $t.current}},f.createElement(L,Object.assign({},Q,{domRef:$t,prefixCls:fe,inputElement:ea,ref:_i,id:vt,showSearch:Gr,mode:gt,accessibilityIndex:In,multiple:Lr,tagRender:Zr,values:Ti,open:ja,onToggleOpen:mn,searchValue:un,activeValue:Vi,onSearch:$i,onSearchSubmit:io,onSelect:zi,tokenWithEnter:aa}))),va,Na)}var oe=f.forwardRef(Ze);return oe}},qPY4:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("u4NN"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},qWUW:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("DL4k")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CaretDownOutlined";var l=p.forwardRef(d);R.default=l},qWt2:function(U,R,i){var y=i("ProS"),m=y.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}}});U.exports=m},qZFw:function(U,R,i){var y=i("bYtY"),m=i("6GrX"),E=i("hM6l"),p=i("4NO4"),v=p.makeInner,f=v();function d(n,t){t=t||[0,360],E.call(this,"angle",n,t),this.type="category"}d.prototype={constructor:d,pointToData:function(n,t){return this.polar.pointToData(n,t)[this.dim==="radius"?0:1]},dataToAngle:E.prototype.dataToCoord,angleToData:E.prototype.coordToData,calculateCategoryInterval:function(){var n=this,t=n.getLabelModel(),a=n.scale,s=a.getExtent(),r=a.count();if(s[1]-s[0]<1)return 0;var c=s[0],e=n.dataToCoord(c+1)-n.dataToCoord(c),o=Math.abs(e),u=m.getBoundingRect(c,t.getFont(),"center","top"),h=Math.max(u.height,7),g=h/o;isNaN(g)&&(g=Infinity);var A=Math.max(0,Math.floor(g)),w=f(n.model),x=w.lastAutoInterval,C=w.lastTickCount;return x!=null&&C!=null&&Math.abs(x-A)<=1&&Math.abs(C-r)<=1&&x>A?A=x:(w.lastTickCount=r,w.lastAutoInterval=A),A}},y.inherits(d,E);var l=d;U.exports=l},qgGe:function(U,R,i){var y=i("bYtY"),m=i("T4UG"),E=i("Bsck"),p=i("VaxA"),v=p.wrapTreePathInfo,f=m.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(l,n){var t={name:l.name,children:l.data};d(t);var a=l.levels||[],s={};return s.levels=a,E.createTree(t,this,s).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(l){var n=m.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(l);return n.treePathInfo=v(t,this),n},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(l){l?this._viewRoot=l:l=this._viewRoot;var n=this.getRawData().tree.root;(!l||l!==n&&!n.contains(l))&&(this._viewRoot=n)}});function d(l){var n=0;y.each(l.children,function(a){d(a);var s=a.value;y.isArray(s)&&(s=s[0]),n+=s});var t=l.value;y.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=n),t<0&&(t=0),y.isArray(l.value)?l.value[0]=t:l.value=t}U.exports=f},qj72:function(U,R,i){var y=i("bYtY");function m(p,v){return v=v||[0,0],y.map(["x","y"],function(f,d){var l=this.getAxis(f),n=v[d],t=p[d]/2;return l.type==="category"?l.getBandWidth():Math.abs(l.dataToCoord(n-t)-l.dataToCoord(n+t))},this)}function E(p){var v=p.grid.getRect();return{coordSys:{type:"cartesian2d",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(f){return p.dataToPoint(f)},size:y.bind(m,p)}}}U.exports=E},"qt/9":function(U,R,i){var y=i("ProS"),m=i("bYtY");i("Wqna"),i("1tlw"),i("Mylv");var E=i("nVfU"),p=E.layout,v=i("f5Yq");i("Ae16"),y.registerLayout(m.curry(p,"pictorialBar")),y.registerVisual(v("pictorialBar","roundRect"))},quyA:function(U,R){var i="\\ud800-\\udfff",y="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",E="\\u20d0-\\u20ff",p=y+m+E,v="\\ufe0e\\ufe0f",f="\\u200d",d=RegExp("["+f+i+p+v+"]");function l(n){return d.test(n)}U.exports=l},qwVE:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("K4ya"),p=i("XxSj"),v=y.PRIORITY.VISUAL.COMPONENT;y.registerVisual(v,{createOnAllSeries:!0,reset:function(d,l){var n=[];return l.eachComponent("visualMap",function(t){var a=d.pipelineContext;if(!t.isTargetSeries(d)||a&&a.large)return;n.push(E.incrementalApplyVisual(t.stateList,t.targetVisuals,m.bind(t.getValueState,t),t.getDataDimension(d.getData())))}),n}}),y.registerVisual(v,{createOnAllSeries:!0,reset:function(d,l){var n=d.getData(),t=[];l.eachComponent("visualMap",function(a){if(a.isTargetSeries(d)){var s=a.getVisualMeta(m.bind(f,null,d,a))||{stops:[],outerColors:[]},r=a.getDataDimension(n),c=n.getDimensionInfo(r);c!=null&&(s.dimension=c.index,t.push(s))}}),d.getData().setVisual("visualMeta",t)}});function f(d,l,n,t){for(var a=l.targetVisuals[t],s=p.prepareVisualTypes(a),r={color:d.getData().getVisual("color")},c=0,e=s.length;c<e;c++){var o=s[c],u=a[o==="opacity"?"__alphaForOpacity":o];u&&u.applyVisual(n,h,g)}return r.color;function h(A){return r[A]}function g(A,w){r[A]=w}}},"r+aA":function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("s2MQ")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="EyeInvisibleOutlined";var l=p.forwardRef(d);R.default=l},"r/2G":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("+Zaj"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},r6Bn:function(U,R,i){var y=i("bYtY"),m=i("ItGF"),E=i("4fz+"),p=i("BPZU");function v(l,n){return l.zlevel===n.zlevel?l.z===n.z?l.z2-n.z2:l.z-n.z:l.zlevel-n.zlevel}var f=function(){this._roots=[],this._displayList=[],this._displayListLen=0};f.prototype={constructor:f,traverse:function(n,t){for(var a=0;a<this._roots.length;a++)this._roots[a].traverse(n,t)},getDisplayList:function(n,t){return t=t||!1,n&&this.updateDisplayList(t),this._displayList},updateDisplayList:function(n){this._displayListLen=0;for(var t=this._roots,a=this._displayList,s=0,r=t.length;s<r;s++)this._updateAndAddDisplayable(t[s],null,n);a.length=this._displayListLen,m.canvasSupported&&p(a,v)},_updateAndAddDisplayable:function(n,t,a){if(n.ignore&&!a)return;n.beforeUpdate(),n.__dirty&&n.update(),n.afterUpdate();var s=n.clipPath;if(s){t?t=t.slice():t=[];for(var r=s,c=n;r;)r.parent=c,r.updateTransform(),t.push(r),c=r,r=r.clipPath}if(n.isGroup){for(var e=n._children,o=0;o<e.length;o++){var u=e[o];n.__dirty&&(u.__dirty=!0),this._updateAndAddDisplayable(u,t,a)}n.__dirty=!1}else n.__clipPaths=t,this._displayList[this._displayListLen++]=n},addRoot:function(n){if(n.__storage===this)return;n instanceof E&&n.addChildrenToStorage(this),this.addToStorage(n),this._roots.push(n)},delRoot:function(n){if(n==null){for(var t=0;t<this._roots.length;t++){var a=this._roots[t];a instanceof E&&a.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(n instanceof Array){for(var t=0,s=n.length;t<s;t++)this.delRoot(n[t]);return}var r=y.indexOf(this._roots,n);r>=0&&(this.delFromStorage(n),this._roots.splice(r,1),n instanceof E&&n.delChildrenFromStorage(this))},addToStorage:function(n){return n&&(n.__storage=this,n.dirty(!1)),this},delFromStorage:function(n){return n&&(n.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:v};var d=f;U.exports=d},rA99:function(U,R,i){var y=i("y+Vt"),m=i("QBsz"),E=i("Sj9i"),p=E.quadraticSubdivide,v=E.cubicSubdivide,f=E.quadraticAt,d=E.cubicAt,l=E.quadraticDerivativeAt,n=E.cubicDerivativeAt,t=[];function a(r,c,e){var o=r.cpx2,u=r.cpy2;return o===null||u===null?[(e?n:d)(r.x1,r.cpx1,r.cpx2,r.x2,c),(e?n:d)(r.y1,r.cpy1,r.cpy2,r.y2,c)]:[(e?l:f)(r.x1,r.cpx1,r.x2,c),(e?l:f)(r.y1,r.cpy1,r.y2,c)]}var s=y.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(c,e){var o=e.x1,u=e.y1,h=e.x2,g=e.y2,A=e.cpx1,w=e.cpy1,x=e.cpx2,C=e.cpy2,T=e.percent;if(T===0)return;c.moveTo(o,u),x==null||C==null?(T<1&&(p(o,A,h,T,t),A=t[1],h=t[2],p(u,w,g,T,t),w=t[1],g=t[2]),c.quadraticCurveTo(A,w,h,g)):(T<1&&(v(o,A,x,h,T,t),A=t[1],x=t[2],h=t[3],v(u,w,C,g,T,t),w=t[1],C=t[2],g=t[3]),c.bezierCurveTo(A,w,x,C,h,g))},pointAt:function(c){return a(this.shape,c,!1)},tangentAt:function(c){var e=a(this.shape,c,!0);return m.normalize(e,e)}});U.exports=s},rHrb:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.CopyToClipboard=void 0;var y=E(i("q1tI")),m=E(i("+QRC"));function E(g){return g&&g.__esModule?g:{default:g}}function p(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(w){return typeof w}:p=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},p(g)}function v(g,A){var w=Object.keys(g);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(g);A&&(x=x.filter(function(C){return Object.getOwnPropertyDescriptor(g,C).enumerable})),w.push.apply(w,x)}return w}function f(g){for(var A=1;A<arguments.length;A++){var w=arguments[A]!=null?arguments[A]:{};A%2?v(w,!0).forEach(function(x){u(g,x,w[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(w)):v(w).forEach(function(x){Object.defineProperty(g,x,Object.getOwnPropertyDescriptor(w,x))})}return g}function d(g,A){if(g==null)return{};var w=l(g,A),x,C;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(g);for(C=0;C<T.length;C++){if(x=T[C],A.indexOf(x)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(g,x))continue;w[x]=g[x]}}return w}function l(g,A){if(g==null)return{};var w={},x=Object.keys(g),C,T;for(T=0;T<x.length;T++){if(C=x[T],A.indexOf(C)>=0)continue;w[C]=g[C]}return w}function n(g,A){if(!(g instanceof A))throw new TypeError("Cannot call a class as a function")}function t(g,A){for(var w=0;w<A.length;w++){var x=A[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(g,x.key,x)}}function a(g,A,w){return A&&t(g.prototype,A),w&&t(g,w),g}function s(g,A){return A&&(p(A)==="object"||typeof A=="function")?A:c(g)}function r(g){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},r(g)}function c(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function e(g,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(A&&A.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),A&&o(g,A)}function o(g,A){return o=Object.setPrototypeOf||function(x,C){return x.__proto__=C,x},o(g,A)}function u(g,A,w){return A in g?Object.defineProperty(g,A,{value:w,enumerable:!0,configurable:!0,writable:!0}):g[A]=w,g}var h=function(g){e(A,g);function A(){var w,x;n(this,A);for(var C=arguments.length,T=new Array(C),O=0;O<C;O++)T[O]=arguments[O];return x=s(this,(w=r(A)).call.apply(w,[this].concat(T))),u(c(x),"onClick",function(S){var _=x.props,L=_.text,D=_.onCopy,F=_.children,j=_.options,k=y.default.Children.only(F),K=(0,m.default)(L,j);D&&D(L,K),k&&k.props&&typeof k.props.onClick=="function"&&k.props.onClick(S)}),x}return a(A,[{key:"render",value:function(){var x=this.props,C=x.text,T=x.onCopy,O=x.options,S=x.children,_=d(x,["text","onCopy","options","children"]),L=y.default.Children.only(S);return y.default.cloneElement(L,f({},_,{onClick:this.onClick}))}}]),A}(y.default.PureComponent);R.CopyToClipboard=h,u(h,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="ReloadOutlined";var d=R.a=m.forwardRef(f)},rUJ1:function(U,R){var i=/[&<>"']/,y=/[&<>"']/g,m=/[<>"']|&(?!#?\w+;)/,E=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},v=function(S){return p[S]};function f(O,S){if(S){if(i.test(O))return O.replace(y,v)}else if(m.test(O))return O.replace(E,v);return O}var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function l(O){return O.replace(d,function(S,_){return _=_.toLowerCase(),_==="colon"?":":_.charAt(0)==="#"?_.charAt(1)==="x"?String.fromCharCode(parseInt(_.substring(2),16)):String.fromCharCode(+_.substring(1)):""})}var n=/(^|[^\[])\^/g;function t(O,S){O=O.source||O,S=S||"";var _={replace:function(D,F){return F=F.source||F,F=F.replace(n,"$1"),O=O.replace(D,F),_},getRegex:function(){return new RegExp(O,S)}};return _}var a=/[^\w:]/g,s=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function r(O,S,_){if(O){var L;try{L=decodeURIComponent(l(_)).replace(a,"").toLowerCase()}catch(D){return null}if(L.indexOf("javascript:")===0||L.indexOf("vbscript:")===0||L.indexOf("data:")===0)return null}S&&!s.test(_)&&(_=h(S,_));try{_=encodeURI(_).replace(/%25/g,"%")}catch(D){return null}return _}var c={},e=/^[^:]+:\/*[^/]*$/,o=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function h(O,S){c[" "+O]||(e.test(O)?c[" "+O]=O+"/":c[" "+O]=x(O,"/",!0)),O=c[" "+O];var _=O.indexOf(":")===-1;return S.substring(0,2)==="//"?_?S:O.replace(o,"$1")+S:S.charAt(0)==="/"?_?S:O.replace(u,"$1")+S:O+S}var g={exec:function(){}};function A(O){for(var S=1,_,L;S<arguments.length;S++){_=arguments[S];for(L in _)Object.prototype.hasOwnProperty.call(_,L)&&(O[L]=_[L])}return O}function w(O,S){var _=O.replace(/\|/g,function(F,j,k){for(var K=!1,Z=j;--Z>=0&&k[Z]==="\\";)K=!K;return K?"|":" |"}),L=_.split(/ \|/),D=0;if(L.length>S)L.splice(S);else for(;L.length<S;)L.push("");for(;D<L.length;D++)L[D]=L[D].trim().replace(/\\\|/g,"|");return L}function x(O,S,_){var L=O.length;if(L===0)return"";for(var D=0;D<L;){var F=O.charAt(L-D-1);if(F===S&&!_)D++;else if(F!==S&&_)D++;else break}return O.substr(0,L-D)}function C(O,S){if(O.indexOf(S[1])===-1)return-1;for(var _=O.length,L=0,D=0;D<_;D++)if(O[D]==="\\")D++;else if(O[D]===S[0])L++;else if(O[D]===S[1]&&(L--,L<0))return D;return-1}function T(O){O&&O.sanitize&&!O.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")}U.exports={escape:f,unescape:l,edit:t,cleanUrl:r,resolveUrl:h,noopTest:g,merge:A,splitCells:w,rtrim:x,findClosingBracket:C,checkSanitizeDeprecation:T}},rdUC:function(U,R,i){var y=i("MFOe"),m=y.Global;U.exports={name:"localStorage",read:p,write:v,each:f,remove:d,clearAll:l};function E(){return m.localStorage}function p(n){return E().getItem(n)}function v(n,t){return E().setItem(n,t)}function f(n){for(var t=E().length-1;t>=0;t--){var a=E().key(t);n(p(a),a)}}function d(n){return E().removeItem(n)}function l(){return E().clear()}},rdor:function(U,R,i){var y=i("lOQZ"),m=y.circularLayout;function E(p){p.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&m(v,"symbolSize")})}U.exports=E},rfSb:function(U,R,i){var y=i("T4UG"),m=i("sdST"),E=i("L0Ub"),p=E.getDimensionTypeByAxis,v=i("YXkt"),f=i("bYtY"),d=i("4NO4"),l=d.groupData,n=i("7aKB"),t=n.encodeHTML,a=i("xKMd"),s=2,r=y.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){r.superApply(this,"init",arguments),this.legendVisualProvider=new a(f.bind(this.getData,this),f.bind(this.getRawData,this))},fixData:function(e){var o=e.length,u=l(e,function(k){return k[2]}),h=[];u.buckets.each(function(k,K){h.push({name:K,dataList:k})});for(var g=h.length,A=-1,w=-1,x=0;x<g;++x){var C=h[x].dataList.length;C>A&&(A=C,w=x)}for(var T=0;T<g;++T){if(T===w)continue;for(var O=h[T].name,S=0;S<A;++S){for(var _=h[w].dataList[S][0],L=h[T].dataList.length,D=-1,F=0;F<L;++F){var j=h[T].dataList[F][0];if(j===_){D=F;break}}D===-1&&(e[o]=[],e[o][0]=_,e[o][1]=0,e[o][2]=O,o++)}}return e},getInitialData:function(e,o){for(var u=o.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],h=u.get("type"),g=f.filter(e.data,function(_){return _[2]!==void 0}),A=this.fixData(g||[]),w=[],x=this.nameMap=f.createHashMap(),C=0,T=0;T<A.length;++T)w.push(A[T][s]),x.get(A[T][s])||(x.set(A[T][s],C),C++);var O=m(A,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:p(h)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),S=new v(O,this);return S.initData(A),S},getLayerSeries:function(){for(var e=this.getData(),o=e.count(),u=[],h=0;h<o;++h)u[h]=h;var g=e.mapDimension("single"),A=l(u,function(x){return e.get("name",x)}),w=[];return A.buckets.each(function(x,C){x.sort(function(T,O){return e.get(g,T)-e.get(g,O)}),w.push({name:C,indices:x})}),w},getAxisTooltipData:function(e,o,u){f.isArray(e)||(e=e?[e]:[]);for(var h=this.getData(),g=this.getLayerSeries(),A=[],w=g.length,x,C=0;C<w;++C){for(var T=Number.MAX_VALUE,O=-1,S=g[C].indices.length,_=0;_<S;++_){var L=h.get(e[0],g[C].indices[_]),D=Math.abs(L-o);D<=T&&(x=L,T=D,O=g[C].indices[_])}A.push(O)}return{dataIndices:A,nestestValue:x}},formatTooltip:function(e){var o=this.getData(),u=o.getName(e),h=o.get(o.mapDimension("value"),e);return(isNaN(h)||h==null)&&(h="-"),t(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}}}}),c=r;U.exports=c},rkZ5:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("c8qY"),v=i("D9ME"),f=i("fls0"),d=i("RSch"),l=i("akwb"),n=i("o40c"),t=i("ZYIC"),a=i("sK/D"),s=a.createClipPath,r=E.extendChartView({type:"lines",init:function(){},render:function(c,e,o){var u=c.getData(),h=this._updateLineDraw(u,c),g=c.get("zlevel"),A=c.get("effect.trailLength"),w=o.getZr(),x=w.painter.getType()==="svg";x||w.painter.getLayer(g).clear(!0),this._lastZlevel!=null&&!x&&w.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(c)&&A&&(x||w.configLayer(g,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(A/10+.9,1),0)})),h.updateData(u);var C=c.get("clip",!0)&&s(c.coordinateSystem,!1,c);C?this.group.setClipPath(C):this.group.removeClipPath(),this._lastZlevel=g,this._finished=!0},incrementalPrepareRender:function(c,e,o){var u=c.getData(),h=this._updateLineDraw(u,c);h.incrementalPrepareUpdate(u),this._clearLayer(o),this._finished=!1},incrementalRender:function(c,e,o){this._lineDraw.incrementalUpdate(c,e.getData()),this._finished=c.end===e.getData().count()},updateTransform:function(c,e,o){var u=c.getData(),h=c.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var g=t.reset(c);g.progress&&g.progress({start:0,end:u.count()},u),this._lineDraw.updateLayout(),this._clearLayer(o)},_updateLineDraw:function(c,e){var o=this._lineDraw,u=this._showEffect(e),h=!!e.get("polyline"),g=e.pipelineContext,A=g.large;return(!o||u!==this._hasEffet||h!==this._isPolyline||A!==this._isLargeDraw)&&(o&&o.remove(),o=this._lineDraw=A?new n:new p(h?u?l:d:u?v:f),this._hasEffet=u,this._isPolyline=h,this._isLargeDraw=A,this.group.removeAll()),this.group.add(o.group),o},_showEffect:function(c){return!!c.get("effect.show")},_clearLayer:function(c){var e=c.getZr(),o=e.painter.getType()==="svg";!o&&this._lastZlevel!=null&&e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(c,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});U.exports=r},rmlV:function(U,R,i){var y=i("y+Vt"),m=y.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(p,v){var f=.5522848,d=v.cx,l=v.cy,n=v.rx,t=v.ry,a=n*f,s=t*f;p.moveTo(d-n,l),p.bezierCurveTo(d-n,l-s,d-a,l-t,d,l-t),p.bezierCurveTo(d+a,l-t,d+n,l-s,d+n,l),p.bezierCurveTo(d+n,l+s,d+a,l+t,d,l+t),p.bezierCurveTo(d-a,l+t,d-n,l+s,d-n,l),p.closePath()}});U.exports=m},rnVJ:function(U,R,i){var y=i("bYtY"),m=["rect","polygon","keep","clear"];function E(v,f){var d=v&&v.brush;if(y.isArray(d)||(d=d?[d]:[]),!d.length)return;var l=[];y.each(d,function(r){var c=r.hasOwnProperty("toolbox")?r.toolbox:[];c instanceof Array&&(l=l.concat(c))});var n=v&&v.toolbox;y.isArray(n)&&(n=n[0]),n||(n={feature:{}},v.toolbox=[n]);var t=n.feature||(n.feature={}),a=t.brush||(t.brush={}),s=a.type||(a.type=[]);s.push.apply(s,l),p(s),f&&!s.length&&s.push.apply(s,m)}function p(v){var f={};y.each(v,function(d){f[d]=1}),v.length=0,y.each(f,function(d,l){v.push(l)})}U.exports=E},rwxt:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=i("GdRQ");function m(d,l){if(!(d instanceof l))throw new TypeError("Cannot call a class as a function")}function E(d,l){for(var n=0;n<l.length;n++){var t=l[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}function p(d,l,n){return l&&E(d.prototype,l),n&&E(d,n),d}var v=!y.supportsCursorURIs||y.isTouchDevice,f=function(){function d(){m(this,d),this._target=null,this._canvas=document.createElement("canvas"),v&&(this._canvas.style.position="fixed",this._canvas.style.zIndex="65535",this._canvas.style.pointerEvents="none",this._canvas.style.visibility="hidden"),this._position={x:0,y:0},this._hotSpot={x:0,y:0},this._eventHandlers={mouseover:this._handleMouseOver.bind(this),mouseleave:this._handleMouseLeave.bind(this),mousemove:this._handleMouseMove.bind(this),mouseup:this._handleMouseUp.bind(this)}}return p(d,[{key:"attach",value:function(n){if(this._target&&this.detach(),this._target=n,v){document.body.appendChild(this._canvas);var t={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,t),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,t),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,t),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,t)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(v){var n={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,n),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,n),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,n),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,n),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(n,t,a,s,r){if(s===0||r===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-t,this._position.y=this._position.y+this._hotSpot.y-a,this._hotSpot.x=t,this._hotSpot.y=a;var c=this._canvas.getContext("2d");this._canvas.width=s,this._canvas.height=r;var e;try{e=new ImageData(new Uint8ClampedArray(n),s,r)}catch(u){e=c.createImageData(s,r),e.data.set(new Uint8ClampedArray(n))}if(c.clearRect(0,0,s,r),c.putImageData(e,0,0),v)this._updatePosition();else{var o=this._canvas.toDataURL();this._target.style.cursor="url("+o+")"+t+" "+a+", default"}}},{key:"clear",value:function(){this._target.style.cursor="none",this._canvas.width=0,this._canvas.height=0,this._position.x=this._position.x+this._hotSpot.x,this._position.y=this._position.y+this._hotSpot.y,this._hotSpot.x=0,this._hotSpot.y=0}},{key:"move",value:function(n,t){if(!v)return;window.visualViewport?(this._position.x=n+window.visualViewport.offsetLeft,this._position.y=t+window.visualViewport.offsetTop):(this._position.x=n,this._position.y=t),this._updatePosition();var a=document.elementFromPoint(n,t);this._updateVisibility(a)}},{key:"_handleMouseOver",value:function(n){this._handleMouseMove(n)}},{key:"_handleMouseLeave",value:function(n){this._updateVisibility(n.relatedTarget)}},{key:"_handleMouseMove",value:function(n){this._updateVisibility(n.target),this._position.x=n.clientX-this._hotSpot.x,this._position.y=n.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(n){var t=this,a=document.elementFromPoint(n.clientX,n.clientY);this._updateVisibility(a),this._captureIsActive()&&window.setTimeout(function(){if(!t._target)return;a=document.elementFromPoint(n.clientX,n.clientY),t._updateVisibility(a)},0)}},{key:"_showCursor",value:function(){this._canvas.style.visibility==="hidden"&&(this._canvas.style.visibility="")}},{key:"_hideCursor",value:function(){this._canvas.style.visibility!=="hidden"&&(this._canvas.style.visibility="hidden")}},{key:"_shouldShowCursor",value:function(n){return n?n===this._target?!0:this._target.contains(n)?!(window.getComputedStyle(n).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(n){this._captureIsActive()&&(n=document.captureElement),this._shouldShowCursor(n)?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)}}]),d}();R.default=f},rySg:function(U,R,i){i("SMc4"),i("8nMs")},s2MQ:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},s2lz:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("gPAo"),v=i("VaxA"),f=i("9hCq"),d=i("SgGq"),l=i("mFDi"),n=i("Fofx"),t=i("5s0K"),a=i("KCsZ"),s=i("7aKB"),r=s.windowOpen,c=m.bind,e=E.Group,o=E.Rect,u=m.each,h=3,g=["label"],A=["emphasis","label"],w=["upperLabel"],x=["emphasis","upperLabel"],C=10,T=1,O=2,S=a([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),_=function(k){var K=S(k);return K.stroke=K.fill=K.lineWidth=null,K},L=y.extendChartView({type:"treemap",init:function(k,K){this._containerGroup,this._storage=D(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(k,K,Z,B){var V=K.findComponents({mainType:"series",subType:"treemap",query:B});if(m.indexOf(V,k)<0)return;this.seriesModel=k,this.api=Z,this.ecModel=K;var z=["treemapZoomToNode","treemapRootToNode"],X=v.retrieveTargetInfo(B,z,k),W=B&&B.type,q=k.layoutInfo,Y=!this._oldTree,re=this._storage,ne=W==="treemapRootToNode"&&X&&re?{rootNodeGroup:re.nodeGroup[X.node.getRawIndex()],direction:B.direction}:null,we=this._giveContainerGroup(q),ie=this._doRender(we,k,ne);!Y&&(!W||W==="treemapZoomToNode"||W==="treemapRootToNode")?this._doAnimation(we,ie,k,ne):ie.renderFinally(),this._resetController(Z),this._renderBreadcrumb(k,Z,X)},_giveContainerGroup:function(k){var K=this._containerGroup;return K||(K=this._containerGroup=new e,this._initEvents(K),this.group.add(K)),K.attr("position",[k.x,k.y]),K},_doRender:function(k,K,Z){var B=K.getData().tree,V=this._oldTree,z=D(),X=D(),W=this._storage,q=[],Y=m.curry(F,K,X,W,Z,z,q);ne(B.root?[B.root]:[],V&&V.root?[V.root]:[],k,B===V||!V,0);var re=we(W);return this._oldTree=B,this._storage=X,{lastsForAnimation:z,willDeleteEls:re,renderFinally:ie};function ne(me,_e,Te,We,Ae){We?(_e=me,u(me,function(he,Ze){!he.isRemoved()&&ee(Ze,Ze)})):new p(_e,me,je,je).add(ee).update(ee).remove(m.curry(ee,null)).execute();function je(he){return he.getId()}function ee(he,Ze){var oe=he!=null?me[he]:null,Q=Ze!=null?_e[Ze]:null,G=Y(oe,Q,Te,Ae);G&&ne(oe&&oe.viewChildren||[],Q&&Q.viewChildren||[],G,We,Ae+1)}}function we(me){var _e=D();return me&&u(me,function(Te,We){var Ae=_e[We];u(Te,function(je){je&&(Ae.push(je),je.__tmWillDelete=1)})}),_e}function ie(){u(re,function(me){u(me,function(_e){_e.parent&&_e.parent.remove(_e)})}),u(q,function(me){me.invisible=!0,me.dirty()})}},_doAnimation:function(k,K,Z,B){if(!Z.get("animation"))return;var V=Z.get("animationDurationUpdate"),z=Z.get("animationEasing"),X=t.createWrap();u(K.willDeleteEls,function(W,q){u(W,function(Y,re){if(Y.invisible)return;var ne=Y.parent,we;if(B&&B.direction==="drillDown")we=ne===B.rootNodeGroup?{shape:{x:0,y:0,width:ne.__tmNodeWidth,height:ne.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var ie=0,me=0;ne.__tmWillDelete||(ie=ne.__tmNodeWidth/2,me=ne.__tmNodeHeight/2),we=q==="nodeGroup"?{position:[ie,me],style:{opacity:0}}:{shape:{x:ie,y:me,width:0,height:0},style:{opacity:0}}}we&&X.add(Y,we,V,z)})}),u(this._storage,function(W,q){u(W,function(Y,re){var ne=K.lastsForAnimation[q][re],we={};if(!ne)return;q==="nodeGroup"?ne.old&&(we.position=Y.position.slice(),Y.attr("position",ne.old)):(ne.old&&(we.shape=m.extend({},Y.shape),Y.setShape(ne.old)),ne.fadein?(Y.setStyle("opacity",0),we.style={opacity:1}):Y.style.opacity!==1&&(we.style={opacity:1})),X.add(Y,we,V,z)})},this),this._state="animating",X.done(c(function(){this._state="ready",K.renderFinally()},this)).start()},_resetController:function(k){var K=this._controller;K||(K=this._controller=new d(k.getZr()),K.enable(this.seriesModel.get("roam")),K.on("pan",c(this._onPan,this)),K.on("zoom",c(this._onZoom,this)));var Z=new l(0,0,k.getWidth(),k.getHeight());K.setPointerChecker(function(B,V,z){return Z.contain(V,z)})},_clearController:function(){var k=this._controller;k&&(k.dispose(),k=null)},_onPan:function(k){if(this._state!=="animating"&&(Math.abs(k.dx)>h||Math.abs(k.dy)>h)){var K=this.seriesModel.getData().tree.root;if(!K)return;var Z=K.getLayout();if(!Z)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:Z.x+k.dx,y:Z.y+k.dy,width:Z.width,height:Z.height}})}},_onZoom:function(k){var K=k.originX,Z=k.originY;if(this._state!=="animating"){var B=this.seriesModel.getData().tree.root;if(!B)return;var V=B.getLayout();if(!V)return;var z=new l(V.x,V.y,V.width,V.height),X=this.seriesModel.layoutInfo;K-=X.x,Z-=X.y;var W=n.create();n.translate(W,W,[-K,-Z]),n.scale(W,W,[k.scale,k.scale]),n.translate(W,W,[K,Z]),z.applyTransform(W),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:z.x,y:z.y,width:z.width,height:z.height}})}},_initEvents:function(k){k.on("click",function(K){if(this._state!=="ready")return;var Z=this.seriesModel.get("nodeClick",!0);if(!Z)return;var B=this.findTarget(K.offsetX,K.offsetY);if(!B)return;var V=B.node;if(V.getLayout().isLeafRoot)this._rootToNode(B);else if(Z==="zoomToNode")this._zoomToNode(B);else if(Z==="link"){var z=V.hostTree.data.getItemModel(V.dataIndex),X=z.get("link",!0),W=z.get("target",!0)||"blank";X&&r(X,W)}},this)},_renderBreadcrumb:function(k,K,Z){Z||(Z=k.get("leafDepth",!0)!=null?{node:k.getViewRoot()}:this.findTarget(K.getWidth()/2,K.getHeight()/2),Z||(Z={node:k.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new f(this.group))).render(k,K,Z.node,c(B,this));function B(V){this._state!=="animating"&&(v.aboveViewRoot(k.getViewRoot(),V)?this._rootToNode({node:V}):this._zoomToNode({node:V}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=D(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(k){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:k.node})},_rootToNode:function(k){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:k.node})},findTarget:function(k,K){var Z,B=this.seriesModel.getViewRoot();return B.eachNode({attr:"viewChildren",order:"preorder"},function(V){var z=this._storage.background[V.getRawIndex()];if(z){var X=z.transformCoordToLocal(k,K),W=z.shape;if(W.x<=X[0]&&X[0]<=W.x+W.width&&W.y<=X[1]&&X[1]<=W.y+W.height)Z={node:V,offsetX:X[0],offsetY:X[1]};else return!1}},this),Z}});function D(){return{nodeGroup:[],background:[],content:[]}}function F(k,K,Z,B,V,z,X,W,q,Y){if(!X)return;var re=X.getLayout(),ne=k.getData();if(ne.setItemGraphicEl(X.dataIndex,null),!re||!re.isInView)return;var we=re.width,ie=re.height,me=re.borderWidth,_e=re.invisible,Te=X.getRawIndex(),We=W&&W.getRawIndex(),Ae=X.viewChildren,je=re.upperHeight,ee=Ae&&Ae.length,he=X.getModel("itemStyle"),Ze=X.getModel("emphasis.itemStyle"),oe=ve("nodeGroup",e);if(!oe)return;if(q.add(oe),oe.attr("position",[re.x||0,re.y||0]),oe.__tmNodeWidth=we,oe.__tmNodeHeight=ie,re.isAboveViewRoot)return oe;var Q=X.getModel(),G=ve("background",o,Y,T);if(G&&xe(oe,G,ee&&re.upperLabelHeight),ee)E.isHighDownDispatcher(oe)&&E.setAsHighDownDispatcher(oe,!1),G&&(E.setAsHighDownDispatcher(G,!0),ne.setItemGraphicEl(X.dataIndex,G));else{var te=ve("content",o,Y,O);te&&fe(oe,te),G&&E.isHighDownDispatcher(G)&&E.setAsHighDownDispatcher(G,!1),E.setAsHighDownDispatcher(oe,!0),ne.setItemGraphicEl(X.dataIndex,oe)}return oe;function xe(gt,ht,Pe){if(ht.dataIndex=X.dataIndex,ht.seriesIndex=k.seriesIndex,ht.setShape({x:0,y:0,width:we,height:ie}),_e)Be(ht);else{ht.invisible=!1;var It=X.getVisual("borderColor",!0),nt=Ze.get("borderColor"),Nt=_(he);Nt.fill=It;var Bt=S(Ze);if(Bt.fill=nt,Pe){var Pt=we-2*me;Ne(Nt,Bt,It,Pt,je,{x:me,y:0,width:Pt,height:je})}else Nt.text=Bt.text=null;ht.setStyle(Nt),E.setElementHoverStyle(ht,Bt)}gt.add(ht)}function fe(gt,ht){ht.dataIndex=X.dataIndex,ht.seriesIndex=k.seriesIndex;var Pe=Math.max(we-2*me,0),It=Math.max(ie-2*me,0);if(ht.culling=!0,ht.setShape({x:me,y:me,width:Pe,height:It}),_e)Be(ht);else{ht.invisible=!1;var nt=X.getVisual("color",!0),Nt=_(he);Nt.fill=nt;var Bt=S(Ze);Ne(Nt,Bt,nt,Pe,It),ht.setStyle(Nt),E.setElementHoverStyle(ht,Bt)}gt.add(ht)}function Be(gt){!gt.invisible&&z.push(gt)}function Ne(gt,ht,Pe,It,nt,Nt){var Bt=Q.get("name"),Pt=Q.getModel(Nt?w:g),jt=Q.getModel(Nt?x:A),er=Pt.getShallow("show");E.setLabelStyle(gt,ht,Pt,jt,{defaultText:er?Bt:null,autoColor:Pe,isRectText:!0,labelFetcher:k,labelDataIndex:X.dataIndex,labelProp:Nt?"upperLabel":"label"}),de(gt,Nt,re),de(ht,Nt,re),Nt&&(gt.textRect=m.clone(Nt)),gt.truncate=er&&Pt.get("ellipsis")?{outerWidth:It,outerHeight:nt,minChar:2}:null}function de(gt,ht,Pe){var It=gt.text;if(!ht&&Pe.isLeafRoot&&It!=null){var nt=k.get("drillDownIcon",!0);gt.text=nt?nt+" "+It:It}}function ve(gt,ht,Pe,It){var nt=We!=null&&Z[gt][We],Nt=V[gt];return nt?(Z[gt][We]=null,Me(Nt,nt,gt)):_e||(nt=new ht({z:j(Pe,It)}),nt.__tmDepth=Pe,nt.__tmStorageName=gt,qe(Nt,nt,gt)),K[gt][Te]=nt}function Me(gt,ht,Pe){var It=gt[Te]={};It.old=Pe==="nodeGroup"?ht.position.slice():m.extend({},ht.shape)}function qe(gt,ht,Pe){var It=gt[Te]={},nt=X.parentNode;if(nt&&(!B||B.direction==="drillDown")){var Nt=0,Bt=0,Pt=V.background[nt.getRawIndex()];!B&&Pt&&Pt.old&&(Nt=Pt.old.width,Bt=Pt.old.height),It.old=Pe==="nodeGroup"?[0,Bt]:{x:Nt,y:Bt,width:0,height:0}}It.fadein=Pe!=="nodeGroup"}}function j(k,K){var Z=k*C+K;return(Z-1)/Z}U.exports=L},sAZ8:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("+rIm"),p=i("/IIm"),v=i("9KIM"),f=i("IwbS"),d=["axisLine","axisTickLabel","axisName"],l=y.extendComponentView({type:"parallelAxis",init:function(r,c){l.superApply(this,"init",arguments),(this._brushController=new p(c.getZr())).on("brush",m.bind(this._onBrush,this))},render:function(r,c,e,o){if(n(r,c,o))return;this.axisModel=r,this.api=e,this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!r.get("show"))return;var h=a(r,c),g=h.coordinateSystem,A=r.getAreaSelectStyle(),w=A.width,x=r.axis.dim,C=g.getAxisLayout(x),T=m.extend({strokeContainThreshold:w},C),O=new E(r,T);m.each(d,O.add,O),this._axisGroup.add(O.getGroup()),this._refreshBrushController(T,A,r,h,w,e);var S=o&&o.animation===!1?null:r;f.groupTransition(u,this._axisGroup,S)},_refreshBrushController:function(r,c,e,o,u,h){var g=e.axis.getExtent(),A=g[1]-g[0],w=Math.min(30,Math.abs(A)*.1),x=f.BoundingRect.create({x:g[0],y:-u/2,width:A,height:u});x.x-=w,x.width+=2*w,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,position:r.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(x),isTargetByCursor:v.makeRectIsTargetByCursor(x,h,o),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(x,0)}]).enableBrush({brushType:"lineX",brushStyle:c,removeOnClick:!0}).updateCovers(t(e))},_onBrush:function(r,c){var e=this.axisModel,o=e.axis,u=m.map(r,function(h){return[o.coordToData(h.range[0],!0),o.coordToData(h.range[1],!0)]});(!e.option.realtime===c.isEnd||c.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:e.id,intervals:u})},dispose:function(){this._brushController.dispose()}});function n(r,c,e){return e&&e.type==="axisAreaSelect"&&c.findComponents({mainType:"parallelAxis",query:e})[0]===r}function t(r){var c=r.axis;return m.map(r.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[c.dataToCoord(e[0],!0),c.dataToCoord(e[1],!0)]}})}function a(r,c){return c.getComponent("parallel",r.get("parallelIndex"))}var s=l;U.exports=s},sE09:function(U,R,i){},sGsY:function(U,R,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i("TSYQ"),d=i.n(f),l=i("H84U"),n=i("B6l+"),t=i.n(n),a=function(X){var W=X.value,q=X.formatter,Y=X.precision,re=X.decimalSeparator,ne=X.groupSeparator,we=ne===void 0?"":ne,ie=X.prefixCls,me;if(typeof q=="function")me=q(W);else{var _e=String(W),Te=_e.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Te||_e==="-")me=_e;else{var We=Te[1],Ae=Te[2]||"0",je=Te[4]||"";Ae=Ae.replace(/\B(?=(\d{3})+(?!\d))/g,we),typeof Y=="number"&&(je=t()(je,Y,"0").slice(0,Y)),je&&(je="".concat(re).concat(je)),me=[v.createElement("span",{key:"int",className:"".concat(ie,"-content-value-int")},We,Ae),je&&v.createElement("span",{key:"decimal",className:"".concat(ie,"-content-value-decimal")},je)]}}return v.createElement("span",{className:"".concat(ie,"-content-value")},me)},s=a,r=function(X){var W=X.prefixCls,q=X.className,Y=X.style,re=X.valueStyle,ne=X.value,we=ne===void 0?0:ne,ie=X.title,me=X.valueRender,_e=X.prefix,Te=X.suffix,We=X.direction,Ae=X.onMouseEnter,je=X.onMouseLeave,ee=v.createElement(s,p()({},X,{value:we})),he=d()(W,q,m()({},"".concat(W,"-rtl"),We==="rtl"));return v.createElement("div",{className:he,style:Y,onMouseEnter:Ae,onMouseLeave:je},ie&&v.createElement("div",{className:"".concat(W,"-title")},ie),v.createElement("div",{style:re,className:"".concat(W,"-content")},_e&&v.createElement("span",{className:"".concat(W,"-content-prefix")},_e),me?me(ee):ee,Te&&v.createElement("span",{className:"".concat(W,"-content-suffix")},Te)))};r.defaultProps={decimalSeparator:".",groupSeparator:","};var c=Object(l.c)({prefixCls:"statistic"})(r),e=c,o=i("lwsE"),u=i.n(o),h=i("W8MJ"),g=i.n(h),A=i("7W2i"),w=i.n(A),x=i("LQ03"),C=i.n(x),T=i("J4zp"),O=i.n(T),S=i("QQZ/"),_=i.n(S),L=[["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 D(z,X){var W=z,q=/\[[^\]]*]/g,Y=(X.match(q)||[]).map(function(ie){return ie.slice(1,-1)}),re=X.replace(q,"[]"),ne=L.reduce(function(ie,me){var _e=O()(me,2),Te=_e[0],We=_e[1];if(ie.indexOf(Te)!==-1){var Ae=Math.floor(W/We);return W-=Ae*We,ie.replace(new RegExp("".concat(Te,"+"),"g"),function(je){var ee=je.length;return _()(Ae.toString(),ee,"0")})}return ie},re),we=0;return ne.replace(q,function(){var ie=Y[we];return we+=1,ie})}function F(z,X){var W=X.format,q=W===void 0?"":W,Y=new Date(z).getTime(),re=Date.now(),ne=Math.max(Y-re,0);return D(ne,q)}var j=i("0n0R"),k=1e3/30;function K(z){return new Date(z).getTime()}var Z=function(z){w()(W,z);var X=C()(W);function W(){var q;return u()(this,W),q=X.apply(this,arguments),q.syncTimer=function(){var Y=q.props.value,re=K(Y);re>=Date.now()?q.startTimer():q.stopTimer()},q.startTimer=function(){if(q.countdownId)return;q.countdownId=window.setInterval(function(){q.forceUpdate()},k)},q.stopTimer=function(){var Y=q.props,re=Y.onFinish,ne=Y.value;if(q.countdownId){clearInterval(q.countdownId),q.countdownId=void 0;var we=K(ne);re&&we<Date.now()&&re()}},q.formatCountdown=function(Y,re){var ne=q.props.format;return F(Y,p()(p()({},re),{format:ne}))},q.valueRender=function(Y){return Object(j.a)(Y,{title:void 0})},q}return g()(W,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return v.createElement(e,p()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),W}(v.Component);Z.defaultProps={format:"HH:mm:ss"};var B=Z;e.Countdown=B;var V=R.a=e},"sK/D":function(U,R,i){var y=i("IwbS"),m=i("OELB"),E=m.round;function p(d,l,n){var t=d.getArea(),a=d.getBaseAxis().isHorizontal(),s=t.x,r=t.y,c=t.width,e=t.height,o=n.get("lineStyle.width")||2;s-=o/2,r-=o/2,c+=o,e+=o,s=Math.floor(s),c=Math.round(c);var u=new y.Rect({shape:{x:s,y:r,width:c,height:e}});return l&&(u.shape[a?"width":"height"]=0,y.initProps(u,{shape:{width:c,height:e}},n)),u}function v(d,l,n){var t=d.getArea(),a=new y.Sector({shape:{cx:E(d.cx,1),cy:E(d.cy,1),r0:E(t.r0,1),r:E(t.r,1),startAngle:t.startAngle,endAngle:t.endAngle,clockwise:t.clockwise}});return l&&(a.shape.endAngle=t.startAngle,y.initProps(a,{shape:{endAngle:t.endAngle}},n)),a}function f(d,l,n){if(d){if(d.type==="polar")return v(d,l,n);if(d.type==="cartesian2d")return p(d,l,n)}else return null;return null}R.createGridClipPath=p,R.createPolarClipPath=v,R.createClipPath=f},sKgW:function(U,R){var i=9007199254740991,y=Math.floor;function m(E,p){var v="";if(!E||p<1||p>i)return v;do p%2&&(v+=E),p=y(p/2),p&&(E+=E);while(p);return v}U.exports=m},sPJy:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("AOa7"),p=i.n(E),v=i("lUTK"),f=i("qVdP")},sPtV:function(U,R,i){"use strict";i.d(R,"a",function(){return p});var y=i("q1tI"),m=i.n(y),E=i("hkKa");function p(v){var f=y.useRef(v),d=Object(E.a)();return[function(){return f.current},function(l){f.current=l,d()}]}},sRwP:function(U,R,i){i("jsU+"),i("2548"),i("Tp9H"),i("06DH"),i("dnwI"),i("fE02"),i("33Ds")},"sS/r":function(U,R,i){var y=i("4fz+"),m=i("iRjW"),E=i("Yl7c"),p=function(){this.group=new y,this.uid=m.getUID("viewComponent")};p.prototype={constructor:p,init:function(d,l){},render:function(d,l,n,t){},dispose:function(){},filterForExposedEvent:null};var v=p.prototype;v.updateView=v.updateLayout=v.updateVisual=function(d,l,n,t){},E.enableClassExtend(p),E.enableClassManagement(p,{registerWhenExtend:!0});var f=p;U.exports=f},"sW+o":function(U,R,i){var y=i("SrGk"),m=i("bYtY"),E=i("SUKs"),p=i("Qe9p");function v(d,l){y.call(this,d,l,["linearGradient","radialGradient"],"__gradient_in_use__")}m.inherits(v,y),v.prototype.addWithoutUpdate=function(d,l){if(l&&l.style){var n=this;m.each(["fill","stroke"],function(t){if(l.style[t]&&(l.style[t].type==="linear"||l.style[t].type==="radial")){var a=l.style[t],s=n.getDefs(!0),r;a._dom?(r=a._dom,s.contains(a._dom)||n.addDom(r)):r=n.add(a),n.markUsed(l);var c=r.getAttribute("id");d.setAttribute(t,"url(#"+c+")")}})}},v.prototype.add=function(d){var l;if(d.type==="linear")l=this.createElement("linearGradient");else if(d.type==="radial")l=this.createElement("radialGradient");else return E("Illegal gradient type."),null;return d.id=d.id||this.nextId++,l.setAttribute("id","zr"+this._zrId+"-gradient-"+d.id),this.updateDom(d,l),this.addDom(l),l},v.prototype.update=function(d){var l=this;y.prototype.update.call(this,d,function(){var n=d.type,t=d._dom.tagName;n==="linear"&&t==="linearGradient"||n==="radial"&&t==="radialGradient"?l.updateDom(d,d._dom):(l.removeDom(d),l.add(d))})},v.prototype.updateDom=function(d,l){if(d.type==="linear")l.setAttribute("x1",d.x),l.setAttribute("y1",d.y),l.setAttribute("x2",d.x2),l.setAttribute("y2",d.y2);else if(d.type==="radial")l.setAttribute("cx",d.x),l.setAttribute("cy",d.y),l.setAttribute("r",d.r);else{E("Illegal gradient type.");return}d.global?l.setAttribute("gradientUnits","userSpaceOnUse"):l.setAttribute("gradientUnits","objectBoundingBox"),l.innerHTML="";for(var n=d.colorStops,t=0,a=n.length;t<a;++t){var s=this.createElement("stop");s.setAttribute("offset",n[t].offset*100+"%");var r=n[t].color;if(r.indexOf("rgba">-1)){var c=p.parse(r)[3],e=p.toHex(r);s.setAttribute("stop-color","#"+e),s.setAttribute("stop-opacity",c)}else s.setAttribute("stop-color",n[t].color);l.appendChild(s)}d._dom=l},v.prototype.markUsed=function(d){if(d.style){var l=d.style.fill;l&&l._dom&&y.prototype.markUsed.call(this,l._dom),l=d.style.stroke,l&&l._dom&&y.prototype.markUsed.call(this,l._dom)}};var f=v;U.exports=f},sboe:function(U,R,i){"use strict";i.d(R,"a",function(){return E});var y=i("q1tI"),m=i.n(y),E=y.createContext(null)},sdST:function(U,R,i){var y=i("hi0g");function m(E,p){return p=p||{},y(p.coordDimensions||[],E,{dimsDef:p.dimensionsDefine||E.dimensionsDefine,encodeDef:p.encodeDefine||E.encodeDefine,dimCount:p.dimensionsCount,encodeDefaulter:p.encodeDefaulter,generateCoord:p.generateCoord,generateCoordCount:p.generateCoordCount})}U.exports=m},sjKO:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=E;var y=30,m=12;function E(p,v){var f,d,l,n,t,a,s,r,c,e,o,u,h,g,A,w,x,C,T,O,S,_,L,D,F;f=p.state,d=p.next_in,D=p.input,l=d+(p.avail_in-5),n=p.next_out,F=p.output,t=n-(v-p.avail_out),a=n+(p.avail_out-257),s=f.dmax,r=f.wsize,c=f.whave,e=f.wnext,o=f.window,u=f.hold,h=f.bits,g=f.lencode,A=f.distcode,w=(1<<f.lenbits)-1,x=(1<<f.distbits)-1;e:do{h<15&&(u+=D[d++]<<h,h+=8,u+=D[d++]<<h,h+=8),C=g[u&w];t:for(;;){if(T=C>>>24,u>>>=T,h-=T,T=C>>>16&255,T===0)F[n++]=C&65535;else if(T&16){O=C&65535,T&=15,T&&(h<T&&(u+=D[d++]<<h,h+=8),O+=u&(1<<T)-1,u>>>=T,h-=T),h<15&&(u+=D[d++]<<h,h+=8,u+=D[d++]<<h,h+=8),C=A[u&x];r:for(;;){if(T=C>>>24,u>>>=T,h-=T,T=C>>>16&255,T&16){if(S=C&65535,T&=15,h<T&&(u+=D[d++]<<h,h+=8,h<T&&(u+=D[d++]<<h,h+=8)),S+=u&(1<<T)-1,S>s){p.msg="invalid distance too far back",f.mode=y;break e}if(u>>>=T,h-=T,T=n-t,S>T){if(T=S-T,T>c&&f.sane){p.msg="invalid distance too far back",f.mode=y;break e}if(_=0,L=o,e===0){if(_+=r-T,T<O){O-=T;do F[n++]=o[_++];while(--T);_=n-S,L=F}}else if(e<T){if(_+=r+e-T,T-=e,T<O){O-=T;do F[n++]=o[_++];while(--T);if(_=0,e<O){T=e,O-=T;do F[n++]=o[_++];while(--T);_=n-S,L=F}}}else if(_+=e-T,T<O){O-=T;do F[n++]=o[_++];while(--T);_=n-S,L=F}for(;O>2;)F[n++]=L[_++],F[n++]=L[_++],F[n++]=L[_++],O-=3;O&&(F[n++]=L[_++],O>1&&(F[n++]=L[_++]))}else{_=n-S;do F[n++]=F[_++],F[n++]=F[_++],F[n++]=F[_++],O-=3;while(O>2);O&&(F[n++]=F[_++],O>1&&(F[n++]=F[_++]))}}else if((T&64)===0){C=A[(C&65535)+(u&(1<<T)-1)];continue r}else{p.msg="invalid distance code",f.mode=y;break e}break}}else if((T&64)===0){C=g[(C&65535)+(u&(1<<T)-1)];continue t}else if(T&32){f.mode=m;break e}else{p.msg="invalid literal/length code",f.mode=y;break e}break}}while(d<l&&n<a);O=h>>3,d-=O,h-=O<<3,u&=(1<<h)-1,p.next_in=d,p.next_out=n,p.avail_in=d<l?5+(l-d):5-(d-l),p.avail_out=n<a?257+(a-n):257-(n-a),f.hold=u,f.bits=h;return}},szbU:function(U,R,i){var y=i("bYtY"),m=y.each;function E(v){var f=v&&v.visualMap;y.isArray(f)||(f=f?[f]:[]),m(f,function(d){if(!d)return;p(d,"splitList")&&!p(d,"pieces")&&(d.pieces=d.splitList,delete d.splitList);var l=d.pieces;l&&y.isArray(l)&&m(l,function(n){y.isObject(n)&&(p(n,"start")&&!p(n,"min")&&(n.min=n.start),p(n,"end")&&!p(n,"max")&&(n.max=n.end))})})}function p(v,f){return v&&v.hasOwnProperty&&v.hasOwnProperty(f)}U.exports=E},t23M:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("1OyB"),E=i("vuIU"),p=i("Ji7U"),v=i("LK+K"),f=i("q1tI"),d=i.n(f),l=i("m+aA"),n=i("Zm9Q"),t=i("Kwbf"),a=i("c+Xe"),s=i("bdgK"),r="rc-observer-key",c=function(e){Object(p.a)(u,e);var o=Object(v.a)(u);function u(){var h;return Object(m.a)(this,u),h=o.apply(this,arguments),h.resizeObserver=null,h.childNode=null,h.currentElement=null,h.state={width:0,height:0,offsetHeight:0,offsetWidth:0},h.onResize=function(g){var A=h.props.onResize,w=g[0].target,x=w.getBoundingClientRect(),C=x.width,T=x.height,O=w.offsetWidth,S=w.offsetHeight,_=Math.floor(C),L=Math.floor(T);if(h.state.width!==_||h.state.height!==L||h.state.offsetWidth!==O||h.state.offsetHeight!==S){var D={width:_,height:L,offsetWidth:O,offsetHeight:S};h.setState(D),A&&Promise.resolve().then(function(){A(Object(y.a)(Object(y.a)({},D),{},{offsetWidth:O,offsetHeight:S}))})}},h.setChildNode=function(g){h.childNode=g},h}return Object(E.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 g=this.props.disabled;if(g){this.destroyObserver();return}var A=Object(l.a)(this.childNode||this),w=A!==this.currentElement;w&&(this.destroyObserver(),this.currentElement=A),!this.resizeObserver&&A&&(this.resizeObserver=new s.default(this.onResize),this.resizeObserver.observe(A))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var g=this.props.children,A=Object(n.a)(g);if(A.length>1)Object(t.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(A.length===0)return Object(t.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var w=A[0];if(f.isValidElement(w)&&Object(a.c)(w)){var x=w.ref;A[0]=f.cloneElement(w,{ref:Object(a.a)(x,this.setChildNode)})}return A.length===1?A[0]:A.map(function(C,T){return!f.isValidElement(C)||"key"in C&&C.key!==null?C:f.cloneElement(C,{key:"".concat(r,"-").concat(T)})})}}]),u}(f.Component);c.displayName="ResizeObserver",R.a=c},t3Fx:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=Object.assign||function(o){for(var u=1;u<arguments.length;u++){var h=arguments[u];for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&(o[g]=h[g])}return o},m=function(){function o(u,h){for(var g=0;g<h.length;g++){var A=h[g];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(u,A.key,A)}}return function(u,h,g){return h&&o(u.prototype,h),g&&o(u,g),u}}(),E=i("q1tI"),p=a(E),v=i("17x9"),f=a(v),d=i("tkwv"),l=a(d),n=i("u3os"),t=i("kzFp");function a(o){return o&&o.__esModule?o:{default:o}}function s(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}function r(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 c(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 e=function(o){c(u,o);function u(h){s(this,u);var g=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,h));return g.getEchartsInstance=function(){return g.echartsLib.getInstanceByDom(g.echartsElement)||g.echartsLib.init(g.echartsElement,g.props.theme,g.props.opts)},g.dispose=function(){if(g.echartsElement){try{(0,n.clear)(g.echartsElement)}catch(A){console.warn(A)}g.echartsLib.dispose(g.echartsElement)}},g.rerender=function(){var A=g.props,w=A.onEvents,x=A.onChartReady,C=g.renderEchartDom();g.bindEvents(C,w||{}),typeof x=="function"&&g.props.onChartReady(C),g.echartsElement&&(0,n.bind)(g.echartsElement,function(){try{C.resize()}catch(T){console.warn(T)}})},g.bindEvents=function(A,w){var x=function(O,S){typeof O=="string"&&typeof S=="function"&&A.on(O,function(_){S(_,A)})};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&x(C,w[C])},g.renderEchartDom=function(){var A=g.getEchartsInstance();return A.setOption(g.props.option,g.props.notMerge||!1,g.props.lazyUpdate||!1),g.props.showLoading?A.showLoading(g.props.loadingOption||null):A.hideLoading(),A},g.echartsLib=h.echarts,g.echartsElement=null,g}return m(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(g){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(g,this.props))return;if(!(0,l.default)(g.theme,this.props.theme)||!(0,l.default)(g.opts,this.props.opts)||!(0,l.default)(g.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var A=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,l.default)((0,t.pick)(this.props,A),(0,t.pick)(g,A)))return;var w=this.renderEchartDom();if(!(0,l.default)(g.style,this.props.style)||!(0,l.default)(g.className,this.props.className))try{w.resize()}catch(x){console.warn(x)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var g=this,A=this.props,w=A.style,x=A.className,C=y({height:300},w);return p.default.createElement("div",{ref:function(O){g.echartsElement=O},style:C,className:"echarts-for-react "+x})}}]),u}(E.Component);R.default=e,e.propTypes={option:f.default.object.isRequired,echarts:f.default.object,notMerge:f.default.bool,lazyUpdate:f.default.bool,style:f.default.object,className:f.default.string,theme:f.default.oneOfType([f.default.string,f.default.object]),onChartReady:f.default.func,showLoading:f.default.bool,loadingOption:f.default.object,onEvents:f.default.object,opts:f.default.shape({devicePixelRatio:f.default.number,renderer:f.default.oneOf(["canvas","svg"]),width:f.default.oneOfType([f.default.number,f.default.oneOf([null,void 0,"auto"])]),height:f.default.oneOfType([f.default.number,f.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:f.default.func},e.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(U,R,i){var y=i("bYtY"),m=i("IwbS"),E=i("Qxkt"),p=i("Znkb"),v=i("+rIm"),f=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function d(a,s,r){s[1]>s[0]&&(s=s.slice().reverse());var c=a.coordToPoint([s[0],r]),e=a.coordToPoint([s[1],r]);return{x1:c[0],y1:c[1],x2:e[0],y2:e[1]}}function l(a){var s=a.getRadiusAxis();return s.inverse?0:1}function n(a){var s=a[0],r=a[a.length-1];s&&r&&Math.abs(Math.abs(s.coord-r.coord)-360)<1e-4&&a.pop()}var t=p.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(a,s){if(this.group.removeAll(),!a.get("show"))return;var r=a.axis,c=r.polar,e=c.getRadiusAxis().getExtent(),o=r.getTicksCoords(),u=r.getMinorTicksCoords(),h=y.map(r.getViewLabels(),function(g){var g=y.clone(g);return g.coord=r.dataToCoord(g.tickValue),g});n(h),n(o),y.each(f,function(g){a.get(g+".show")&&(!r.scale.isBlank()||g==="axisLine")&&this["_"+g](a,c,o,u,e,h)},this)},_axisLine:function(a,s,r,c,e){var o=a.getModel("axisLine.lineStyle"),u=l(s),h=u?0:1,g;e[h]===0?g=new m.Circle({shape:{cx:s.cx,cy:s.cy,r:e[u]},style:o.getLineStyle(),z2:1,silent:!0}):g=new m.Ring({shape:{cx:s.cx,cy:s.cy,r:e[u],r0:e[h]},style:o.getLineStyle(),z2:1,silent:!0}),g.style.fill=null,this.group.add(g)},_axisTick:function(a,s,r,c,e){var o=a.getModel("axisTick"),u=(o.get("inside")?-1:1)*o.get("length"),h=e[l(s)],g=y.map(r,function(A){return new m.Line({shape:d(s,[h,h+u],A.coord)})});this.group.add(m.mergePath(g,{style:y.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")})}))},_minorTick:function(a,s,r,c,e){if(!c.length)return;for(var o=a.getModel("axisTick"),u=a.getModel("minorTick"),h=(o.get("inside")?-1:1)*u.get("length"),g=e[l(s)],A=[],w=0;w<c.length;w++)for(var x=0;x<c[w].length;x++)A.push(new m.Line({shape:d(s,[g,g+h],c[w][x].coord)}));this.group.add(m.mergePath(A,{style:y.defaults(u.getModel("lineStyle").getLineStyle(),y.defaults(o.getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(a,s,r,c,e,o){var u=a.getCategories(!0),h=a.getModel("axisLabel"),g=h.get("margin"),A=a.get("triggerEvent");y.each(o,function(w,x){var C=h,T=w.tickValue,O=e[l(s)],S=s.coordToPoint([O+g,w.coord]),_=s.cx,L=s.cy,D=Math.abs(S[0]-_)/O<.3?"center":S[0]>_?"left":"right",F=Math.abs(S[1]-L)/O<.3?"middle":S[1]>L?"top":"bottom";u&&u[T]&&u[T].textStyle&&(C=new E(u[T].textStyle,h,h.ecModel));var j=new m.Text({silent:v.isLabelSilent(a)});this.group.add(j),m.setTextStyle(j.style,C,{x:S[0],y:S[1],textFill:C.getTextColor()||a.get("axisLine.lineStyle.color"),text:w.formattedLabel,textAlign:D,textVerticalAlign:F}),A&&(j.eventData=v.makeAxisEventDataBase(a),j.eventData.targetType="axisLabel",j.eventData.value=w.rawLabel)},this)},_splitLine:function(a,s,r,c,e){var o=a.getModel("splitLine"),u=o.getModel("lineStyle"),h=u.get("color"),g=0;h=h instanceof Array?h:[h];for(var A=[],w=0;w<r.length;w++){var x=g++%h.length;A[x]=A[x]||[],A[x].push(new m.Line({shape:d(s,e,r[w].coord)}))}for(var w=0;w<A.length;w++)this.group.add(m.mergePath(A[w],{style:y.defaults({stroke:h[w%h.length]},u.getLineStyle()),silent:!0,z:a.get("z")}))},_minorSplitLine:function(a,s,r,c,e){if(!c.length)return;for(var o=a.getModel("minorSplitLine"),u=o.getModel("lineStyle"),h=[],g=0;g<c.length;g++)for(var A=0;A<c[g].length;A++)h.push(new m.Line({shape:d(s,e,c[g][A].coord)}));this.group.add(m.mergePath(h,{style:u.getLineStyle(),silent:!0,z:a.get("z")}))},_splitArea:function(a,s,r,c,e){if(!r.length)return;var o=a.getModel("splitArea"),u=o.getModel("areaStyle"),h=u.get("color"),g=0;h=h instanceof Array?h:[h];for(var A=[],w=Math.PI/180,x=-r[0].coord*w,C=Math.min(e[0],e[1]),T=Math.max(e[0],e[1]),O=a.get("clockwise"),S=1;S<r.length;S++){var _=g++%h.length;A[_]=A[_]||[],A[_].push(new m.Sector({shape:{cx:s.cx,cy:s.cy,r0:C,r:T,startAngle:x,endAngle:-r[S].coord*w,clockwise:O},silent:!0})),x=-r[S].coord*w}for(var S=0;S<A.length;S++)this.group.add(m.mergePath(A[S],{style:y.defaults({fill:h[S%h.length]},u.getAreaStyle()),silent:!0}))}});U.exports=t},tSko:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("SRve")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="PlusOutlined";var l=p.forwardRef(d);R.default=l},tceW:function(U,R,i){var y=i("KCsZ"),m=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),E={getBarItemStyle:function(p){var v=m(this,p);if(this.getBorderLineDash){var f=this.getBorderLineDash();f&&(v.lineDash=f)}return v}};U.exports=E},tkwv:function(U,R,i){"use strict";var y=Array.isArray,m=Object.keys,E=Object.prototype.hasOwnProperty;U.exports=function p(v,f){if(v===f)return!0;if(v&&f&&typeof v=="object"&&typeof f=="object"){var d=y(v),l=y(f),n,t,a;if(d&&l){if(t=v.length,t!=f.length)return!1;for(n=t;n--!==0;)if(!p(v[n],f[n]))return!1;return!0}if(d!=l)return!1;var s=v instanceof Date,r=f instanceof Date;if(s!=r)return!1;if(s&&r)return v.getTime()==f.getTime();var c=v instanceof RegExp,e=f instanceof RegExp;if(c!=e)return!1;if(c&&e)return v.toString()==f.toString();var o=m(v);if(t=o.length,t!==m(f).length)return!1;for(n=t;n--!==0;)if(!E.call(f,o[n]))return!1;for(n=t;n--!==0;)if(a=o[n],!p(v[a],f[a]))return!1;return!0}return v!==v&&f!==f}},txkQ:function(U,R,i){var y=i("aX58");R.zrender=y;var m=i("Fofx");R.matrix=m;var E=i("QBsz");R.vector=E;var p=i("bYtY"),v=i("Qe9p");R.color=v;var f=i("IwbS"),d=i("OELB");R.number=d;var l=i("7aKB");R.format=l;var n=i("iLNv"),t=n.throttle;R.throttle=n.throttle;var a=i("FUi9");R.helper=a;var s=i("vafp");R.parseGeoJSON=s;var r=i("YXkt");R.List=r;var c=i("Qxkt");R.Model=c;var e=i("hM6l");R.Axis=e;var o=i("ItGF");R.env=o;var u=s,h={};p.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(A){h[A]=p[A]});var g={};p.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(A){g[A]=f[A]}),R.parseGeoJson=u,R.util=h,R.graphic=g},u3DP:function(U,R,i){var y=i("6GrX"),m=i("OELB"),E=m.parsePercent,p=Math.PI/180;function v(n,t,a,s,r,c,e,o,u,h){n.sort(function(D,F){return D.y-F.y});function g(D,F,j,k){for(var K=D;K<F&&!(n[K].y+j>u+e);K++)if(n[K].y+=j,K>D&&K+1<F&&n[K+1].y>n[K].y+n[K].height){A(K,j/2);return}A(F-1,j/2)}function A(D,F){for(var j=D;j>=0&&!(n[j].y-F<u);j--)if(n[j].y-=F,j>0&&n[j].y>n[j-1].y+n[j-1].height)break}function w(D,F,j,k,K,Z){for(var B=(Z>0,F?Number.MAX_VALUE:0),V=0,z=D.length;V<z;V++){if(D[V].labelAlignTo!=="none")continue;var X=Math.abs(D[V].y-k),W=D[V].len,q=D[V].len2,Y=X<K+W?Math.sqrt((K+W+q)*(K+W+q)-X*X):Math.abs(D[V].x-j);F&&Y>=B&&(Y=B-10),!F&&Y<=B&&(Y=B+10),D[V].x=j+Y*Z,B=Y}}for(var x=0,C,T=n.length,O=[],S=[],_=0;_<T;_++){if(n[_].position==="outer"&&n[_].labelAlignTo==="labelLine"){var L=n[_].x-h;n[_].linePoints[1][0]+=L,n[_].x=h}C=n[_].y-x,C<0&&g(_,T,-C,r),x=n[_].y+n[_].height}e-x<0&&A(T-1,x-e);for(var _=0;_<T;_++)n[_].y>=a?S.push(n[_]):O.push(n[_]);w(O,!1,t,a,s,r),w(S,!0,t,a,s,r)}function f(n,t,a,s,r,c,e,o){for(var u=[],h=[],g=Number.MAX_VALUE,A=-Number.MAX_VALUE,w=0;w<n.length;w++){if(d(n[w]))continue;n[w].x<t?(g=Math.min(g,n[w].x),u.push(n[w])):(A=Math.max(A,n[w].x),h.push(n[w]))}v(h,t,a,s,1,r,c,e,o,A),v(u,t,a,s,-1,r,c,e,o,g);for(var w=0;w<n.length;w++){var x=n[w];if(d(x))continue;var C=x.linePoints;if(C){var T=x.labelAlignTo==="edge",O=x.textRect.width,S;T?x.x<t?S=C[2][0]-x.labelDistance-e-x.labelMargin:S=e+r-x.labelMargin-C[2][0]-x.labelDistance:x.x<t?S=x.x-e-x.bleedMargin:S=e+r-x.x-x.bleedMargin,S<x.textRect.width&&(x.text=y.truncateText(x.text,S,x.font),x.labelAlignTo==="edge"&&(O=y.getWidth(x.text,x.font)));var _=C[1][0]-C[2][0];T?x.x<t?C[2][0]=e+x.labelMargin+O+x.labelDistance:C[2][0]=e+r-x.labelMargin-O-x.labelDistance:(x.x<t?C[2][0]=x.x+x.labelDistance:C[2][0]=x.x-x.labelDistance,C[1][0]=C[2][0]+_),C[1][1]=C[2][1]=x.y}}}function d(n){return n.position==="center"}function l(n,t,a,s,r,c){var e=n.getData(),o=[],u,h,g=!1,A=(n.get("minShowLabelAngle")||0)*p;e.each(function(w){var x=e.getItemLayout(w),C=e.getItemModel(w),T=C.getModel("label"),O=T.get("position")||C.get("emphasis.label.position"),S=T.get("distanceToLabelLine"),_=T.get("alignTo"),L=E(T.get("margin"),a),D=T.get("bleedMargin"),F=T.getFont(),j=C.getModel("labelLine"),k=j.get("length");k=E(k,a);var K=j.get("length2");if(K=E(K,a),x.angle<A)return;var Z=(x.startAngle+x.endAngle)/2,B=Math.cos(Z),V=Math.sin(Z),z,X,W,q;u=x.cx,h=x.cy;var Y=n.getFormattedLabel(w,"normal")||e.getName(w),re=y.getBoundingRect(Y,F,q,"top"),ne=O==="inside"||O==="inner";if(O==="center")z=x.cx,X=x.cy,q="center";else{var we=(ne?(x.r+x.r0)/2*B:x.r*B)+u,ie=(ne?(x.r+x.r0)/2*V:x.r*V)+h;if(z=we+B*3,X=ie+V*3,!ne){var me=we+B*(k+t-x.r),_e=ie+V*(k+t-x.r),Te=me+(B<0?-1:1)*K,We=_e;_==="edge"?z=B<0?r+L:r+a-L:z=Te+(B<0?-S:S),X=We,W=[[we,ie],[me,_e],[Te,We]]}q=ne?"center":_==="edge"?B>0?"right":"left":B>0?"left":"right"}var Ae,je=T.get("rotate");typeof je=="number"?Ae=je*(Math.PI/180):Ae=je?B<0?-Z+Math.PI:-Z:0,g=!!Ae,x.label={x:z,y:X,position:O,height:re.height,len:k,len2:K,linePoints:W,textAlign:q,verticalAlign:"middle",rotation:Ae,inside:ne,labelDistance:S,labelAlignTo:_,labelMargin:L,bleedMargin:D,textRect:re,text:Y,font:F},ne||o.push(x.label)}),!g&&n.get("avoidLabelOverlap")&&f(o,u,h,t,a,s,r,c)}U.exports=l},u3os:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.ver=R.clear=R.bind=void 0;var y=i("P4Qj"),m=function(f,d){var l=(0,y.getSensor)(f);return l.bind(d),function(){l.unbind(d)}};R.bind=m;var E=function(f){var d=(0,y.getSensor)(f);(0,y.removeSensor)(d)};R.clear=E;var p="1.0.1";R.ver=p},u4NN:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("Uc92")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="EyeOutlined";var l=p.forwardRef(d);R.default=l},u9fO:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("b80e"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},uAnK:function(U,R,i){var y=i("bYtY"),m=i("Kagy"),E=i("KxfA"),p=E.retrieveRawValue;function v(f,d){var l=d.getModel("aria");if(l.get("show")){if(l.get("description")){f.setAttribute("aria-label",l.get("description"));return}}else return;var n=0;d.eachSeries(function(w,x){++n},this);var t=l.get("data.maxCount")||10,a=l.get("series.maxCount")||10,s=Math.min(n,a),r;if(n<1)return;var c=g();c?r=u(h("general.withTitle"),{title:c}):r=h("general.withoutTitle");var e=[],o=n>1?"series.multiple.prefix":"series.single.prefix";r+=u(h(o),{seriesCount:n}),d.eachSeries(function(w,x){if(x<s){var C,T=w.get("name"),O="series."+(n>1?"multiple":"single")+".";C=h(T?O+"withName":O+"withoutName"),C=u(C,{seriesId:w.seriesIndex,seriesName:w.get("name"),seriesType:A(w.subType)});var S=w.getData();window.data=S,S.count()>t?C+=u(h("data.partialData"),{displayCnt:t}):C+=h("data.allData");for(var _=[],L=0;L<S.count();L++)if(L<t){var D=S.getName(L),F=p(S,L);_.push(u(h(D?"data.withName":"data.withoutName"),{name:D,value:F}))}C+=_.join(h("data.separator.middle"))+h("data.separator.end"),e.push(C)}}),r+=e.join(h("series.multiple.separator.middle"))+h("series.multiple.separator.end"),f.setAttribute("aria-label",r);function u(w,x){if(typeof w!="string")return w;var C=w;return y.each(x,function(T,O){C=C.replace(new RegExp("\\{\\s*"+O+"\\s*\\}","g"),T)}),C}function h(w){var x=l.get(w);if(x==null){for(var C=w.split("."),T=m.aria,O=0;O<C.length;++O)T=T[C[O]];return T}else return x}function g(){var w=d.getModel("title").option;return w&&w.length&&(w=w[0]),w&&w.text}function A(w){return m.series.typeNames[w]||"\u81EA\u5B9A\u4E49\u56FE"}}U.exports=v},uK0f:function(U,R,i){(function(y,m){U.exports=m()})(this,function(){"use strict";function y(m,E,p){p=p||{},p.childrenKeyName=p.childrenKeyName||"children";var v=m||[],f=[],d=0;do{var l=v.filter(function(n){return E(n,d)})[0];if(!l)break;f.push(l),v=l[p.childrenKeyName]||[],d+=1}while(v.length>0);return f}return y})},uOyE:function(U,R,i){var y=i("ProS");y.registerAction({type:"brush",event:"brush"},function(m,E){E.eachComponent({mainType:"brush",query:m},function(p){p.setAreas(m.areas)})}),y.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),y.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(U,R,i){U.exports=y;function y(){return i("gaXo"),{}}},ugBc:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},v3Qx:function(U,R){var i={}.toString;U.exports=Array.isArray||function(y){return i.call(y)=="[object Array]"}},v56E:function(U,R,i){},v5uJ:function(U,R,i){var y=i("ProS"),m=i("2B6p"),E=m.updateCenterAndZoom;y.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(p,v){v.eachComponent({mainType:"series",subType:"tree",query:p},function(f){var d=p.dataIndex,l=f.getData().tree,n=l.getNodeByDataIndex(d);n.isExpand=!n.isExpand})}),y.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(p,v){v.eachComponent({mainType:"series",subType:"tree",query:p},function(f){var d=f.coordinateSystem,l=E(d,p);f.setCenter&&f.setCenter(l.center),f.setZoom&&f.setZoom(l.zoom)})})},"vF/C":function(U,R,i){var y=i("bLfw");y.registerSubTypeDefaulter("visualMap",function(m){return!m.categories&&(!(m.pieces?m.pieces.length>0:m.splitNumber>0)||m.calculable)?"continuous":"piecewise"})},vKoX:function(U,R,i){var y=i("SrGk"),m=i("bYtY");function E(f,d){y.call(this,f,d,["filter"],"__filter_in_use__","_shadowDom")}m.inherits(E,y),E.prototype.addWithoutUpdate=function(f,d){if(d&&p(d.style)){var l;if(d._shadowDom){l=d._shadowDom;var n=this.getDefs(!0);n.contains(d._shadowDom)||this.addDom(l)}else l=this.add(d);this.markUsed(d);var t=l.getAttribute("id");f.style.filter="url(#"+t+")"}},E.prototype.add=function(f){var d=this.createElement("filter");return f._shadowDomId=f._shadowDomId||this.nextId++,d.setAttribute("id","zr"+this._zrId+"-shadow-"+f._shadowDomId),this.updateDom(f,d),this.addDom(d),d},E.prototype.update=function(f,d){var l=d.style;if(p(l)){var n=this;y.prototype.update.call(this,d,function(){n.updateDom(d,d._shadowDom)})}else this.remove(f,d)},E.prototype.remove=function(f,d){d._shadowDomId!=null&&(this.removeDom(f),f.style.filter="")},E.prototype.updateDom=function(f,d){var l=d.getElementsByTagName("feDropShadow");l.length===0?l=this.createElement("feDropShadow"):l=l[0];var n=f.style,t=f.scale&&f.scale[0]||1,a=f.scale&&f.scale[1]||1,s,r,c,e;if(n.shadowBlur||n.shadowOffsetX||n.shadowOffsetY)s=n.shadowOffsetX||0,r=n.shadowOffsetY||0,c=n.shadowBlur,e=n.shadowColor;else if(n.textShadowBlur)s=n.textShadowOffsetX||0,r=n.textShadowOffsetY||0,c=n.textShadowBlur,e=n.textShadowColor;else{this.removeDom(d,n);return}l.setAttribute("dx",s/t),l.setAttribute("dy",r/a),l.setAttribute("flood-color",e);var o=c/2/t,u=c/2/a,h=o+" "+u;l.setAttribute("stdDeviation",h),d.setAttribute("x","-100%"),d.setAttribute("y","-100%"),d.setAttribute("width",Math.ceil(c/2*200)+"%"),d.setAttribute("height",Math.ceil(c/2*200)+"%"),d.appendChild(l),f._shadowDom=d},E.prototype.markUsed=function(f){f._shadowDom&&y.prototype.markUsed.call(this,f._shadowDom)};function p(f){return f&&(f.shadowBlur||f.shadowOffsetX||f.shadowOffsetY||f.textShadowBlur||f.textShadowOffsetX||f.textShadowOffsetY)}var v=E;U.exports=v},vL6D:function(U,R,i){var y=i("bYtY"),m=i("+rIm"),E=i("IwbS"),p=i("7bkD"),v=i("Znkb"),f=i("WN+l"),d=f.rectCoordAxisBuildSplitArea,l=f.rectCoordAxisHandleRemove,n=["axisLine","axisTickLabel","axisName"],t=["splitArea","splitLine"],a=v.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,c,e,o){var u=this.group;u.removeAll();var h=this._axisGroup;this._axisGroup=new E.Group;var g=p.layout(r),A=new m(r,g);y.each(n,A.add,A),u.add(this._axisGroup),u.add(A.getGroup()),y.each(t,function(w){r.get(w+".show")&&this["_"+w](r)},this),E.groupTransition(h,this._axisGroup,r),a.superCall(this,"render",r,c,e,o)},remove:function(){l(this)},_splitLine:function(r){var c=r.axis;if(c.scale.isBlank())return;var e=r.getModel("splitLine"),o=e.getModel("lineStyle"),u=o.get("width"),h=o.get("color");h=h instanceof Array?h:[h];for(var g=r.coordinateSystem.getRect(),A=c.isHorizontal(),w=[],x=0,C=c.getTicksCoords({tickModel:e}),T=[],O=[],S=0;S<C.length;++S){var _=c.toGlobalCoord(C[S].coord);A?(T[0]=_,T[1]=g.y,O[0]=_,O[1]=g.y+g.height):(T[0]=g.x,T[1]=_,O[0]=g.x+g.width,O[1]=_);var L=x++%h.length;w[L]=w[L]||[],w[L].push(new E.Line({subPixelOptimize:!0,shape:{x1:T[0],y1:T[1],x2:O[0],y2:O[1]},style:{lineWidth:u},silent:!0}))}for(var S=0;S<w.length;++S)this.group.add(E.mergePath(w[S],{style:{stroke:h[S%h.length],lineDash:o.getLineDash(u),lineWidth:u},silent:!0}))},_splitArea:function(r){d(this,this._axisGroup,r,r)}}),s=a;U.exports=s},vWvF:function(U,R,i){var y=i("Bq2U"),m=i("SUKs"),E=i("bYtY"),p=E.isString,v=E.isFunction,f=E.isObject,d=E.isArrayLike,l=E.indexOf,n=function(){this.animators=[]};n.prototype={constructor:n,animate:function(e,o){var u,h=!1,g=this,A=this.__zr;if(e){var w=e.split("."),x=g;h=w[0]==="shape";for(var C=0,T=w.length;C<T;C++){if(!x)continue;x=x[w[C]]}x&&(u=x)}else u=g;if(!u){m('Property "'+e+'" is not existed in element '+g.id);return}var O=g.animators,S=new y(u,o);return S.during(function(_){g.dirty(h)}).done(function(){O.splice(l(O,S),1)}),O.push(S),A&&A.animation.addAnimator(S),S},stopAnimation:function(e){for(var o=this.animators,u=o.length,h=0;h<u;h++)o[h].stop(e);return o.length=0,this},animateTo:function(e,o,u,h,g,A){t(this,e,o,u,h,g,A)},animateFrom:function(e,o,u,h,g,A){t(this,e,o,u,h,g,A,!0)}};function t(c,e,o,u,h,g,A,w){p(u)?(g=h,h=u,u=0):v(h)?(g=h,h="linear",u=0):v(u)?(g=u,u=0):v(o)?(g=o,o=500):o||(o=500),c.stopAnimation(),a(c,"",c,e,o,u,w);var x=c.animators.slice(),C=x.length;function T(){C--,C||g&&g()}C||g&&g();for(var O=0;O<x.length;O++)x[O].done(T).start(h,A)}function a(c,e,o,u,h,g,A){var w={},x=0;for(var C in u){if(!u.hasOwnProperty(C))continue;o[C]!=null?f(u[C])&&!d(u[C])?a(c,e?e+"."+C:C,o[C],u[C],h,g,A):(A?(w[C]=o[C],s(c,e,C,u[C])):w[C]=u[C],x++):u[C]!=null&&!A&&s(c,e,C,u[C])}x>0&&c.animate(e,!1).when(h==null?500:h,w).delay(g||0)}function s(c,e,o,u){if(!e)c.attr(o,u);else{var h={};h[e]={},h[e][o]=u,c.attr(h)}}var r=n;U.exports=r},vZ6x:function(U,R,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("IwbS"),v=i("4NO4"),f=i("9KIM"),d=E.each,l=E.indexOf,n=E.curry,t=["dataToPoint","pointToData"],a=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function s(S,_,L){var D=this._targetInfoList=[],F={},j=e(_,S);d(o,function(k,K){(!L||!L.include||l(L.include,K)>=0)&&k(j,D,F)})}var r=s.prototype;r.setOutputRanges=function(S,_){this.matchOutputRanges(S,_,function(L,D,F){if((L.coordRanges||(L.coordRanges=[])).push(D),!L.coordRange){L.coordRange=D;var j=g[L.brushType](0,F,D);L.__rangeOffset={offset:w[L.brushType](j.values,L.range,[1,1]),xyMinMax:j.xyMinMax}}})},r.matchOutputRanges=function(S,_,L){d(S,function(D){var F=this.findTargetInfo(D,_);F&&F!==!0&&E.each(F.coordSyses,function(j){var k=g[D.brushType](1,j,D.range);L(D,k.values,j,_)})},this)},r.setInputRanges=function(S,_){d(S,function(L){var D=this.findTargetInfo(L,_);if(L.range=L.range||[],D&&D!==!0){L.panelId=D.panelId;var F=g[L.brushType](0,D.coordSys,L.coordRange),j=L.__rangeOffset;L.range=j?w[L.brushType](F.values,j.offset,C(F.xyMinMax,j.xyMinMax)):F.values}},this)},r.makePanelOpts=function(S,_){return E.map(this._targetInfoList,function(L){var D=L.getPanelRect();return{panelId:L.panelId,defaultBrushType:_&&_(L),clipPath:f.makeRectPanelClipPath(D),isTargetByCursor:f.makeRectIsTargetByCursor(D,S,L.coordSysModel),getLinearBrushOtherExtent:f.makeLinearBrushOtherExtent(D)}})},r.controlSeries=function(S,_,L){var D=this.findTargetInfo(S,L);return D===!0||D&&l(D.coordSyses,_.coordinateSystem)>=0},r.findTargetInfo=function(S,_){for(var L=this._targetInfoList,D=e(_,S),F=0;F<L.length;F++){var j=L[F],k=S.panelId;if(k){if(j.panelId===k)return j}else for(var F=0;F<u.length;F++)if(u[F](D,j))return j}return!0};function c(S){return S[0]>S[1]&&S.reverse(),S}function e(S,_){return v.parseFinder(S,_,{includeMainTypes:a})}var o={grid:function(S,_){var L=S.xAxisModels,D=S.yAxisModels,F=S.gridModels,j=E.createHashMap(),k={},K={};if(!L&&!D&&!F)return;d(L,function(Z){var B=Z.axis.grid.model;j.set(B.id,B),k[B.id]=!0}),d(D,function(Z){var B=Z.axis.grid.model;j.set(B.id,B),K[B.id]=!0}),d(F,function(Z){j.set(Z.id,Z),k[Z.id]=!0,K[Z.id]=!0}),j.each(function(Z){var B=Z.coordinateSystem,V=[];d(B.getCartesians(),function(z,X){(l(L,z.getAxis("x").model)>=0||l(D,z.getAxis("y").model)>=0)&&V.push(z)}),_.push({panelId:"grid--"+Z.id,gridModel:Z,coordSysModel:Z,coordSys:V[0],coordSyses:V,getPanelRect:h.grid,xAxisDeclared:k[Z.id],yAxisDeclared:K[Z.id]})})},geo:function(S,_){d(S.geoModels,function(L){var D=L.coordinateSystem;_.push({panelId:"geo--"+L.id,geoModel:L,coordSysModel:L,coordSys:D,coordSyses:[D],getPanelRect:h.geo})})}},u=[function(S,_){var L=S.xAxisModel,D=S.yAxisModel,F=S.gridModel;return!F&&L&&(F=L.axis.grid.model),!F&&D&&(F=D.axis.grid.model),F&&F===_.gridModel},function(S,_){var L=S.geoModel;return L&&L===_.geoModel}],h={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var S=this.coordSys,_=S.getBoundingRect().clone();return _.applyTransform(p.getTransform(S)),_}},g={lineX:n(A,0),lineY:n(A,1),rect:function(S,_,L){var D=_[t[S]]([L[0][0],L[1][0]]),F=_[t[S]]([L[0][1],L[1][1]]),j=[c([D[0],F[0]]),c([D[1],F[1]])];return{values:j,xyMinMax:j}},polygon:function(S,_,L){var D=[[Infinity,-Infinity],[Infinity,-Infinity]],F=E.map(L,function(j){var k=_[t[S]](j);return D[0][0]=Math.min(D[0][0],k[0]),D[1][0]=Math.min(D[1][0],k[1]),D[0][1]=Math.max(D[0][1],k[0]),D[1][1]=Math.max(D[1][1],k[1]),k});return{values:F,xyMinMax:D}}};function A(S,_,L,D){var F=L.getAxis(["x","y"][S]),j=c(E.map([0,1],function(K){return _?F.coordToData(F.toLocalCoord(D[K])):F.toGlobalCoord(F.dataToCoord(D[K]))})),k=[];return k[S]=j,k[1-S]=[NaN,NaN],{values:j,xyMinMax:k}}var w={lineX:n(x,0),lineY:n(x,1),rect:function(S,_,L){return[[S[0][0]-L[0]*_[0][0],S[0][1]-L[0]*_[0][1]],[S[1][0]-L[1]*_[1][0],S[1][1]-L[1]*_[1][1]]]},polygon:function(S,_,L){return E.map(S,function(D,F){return[D[0]-L[0]*_[F][0],D[1]-L[1]*_[F][1]]})}};function x(S,_,L,D){return[_[0]-D[S]*L[0],_[1]-D[S]*L[1]]}function C(S,_){var L=T(S),D=T(_),F=[L[0]/D[0],L[1]/D[1]];return isNaN(F[0])&&(F[0]=1),isNaN(F[1])&&(F[1]=1),F}function T(S){return S?[S[0][1]-S[0][0],S[1][1]-S[1][0]]:[NaN,NaN]}var O=s;U.exports=O},vZI5:function(U,R,i){var y=i("bYtY"),m=i("T4UG"),E=i("5GhG"),p=E.seriesModelMixin,v=m.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(d,l,n){var t=l.getItemLayout(d);return t&&n.rect(t.brushRect)}});y.mixin(v,p,!0);var f=v;U.exports=f},vafp:function(U,R,i){var y=i("bYtY"),m=i("8nly");function E(f){if(!f.UTF8Encoding)return f;var d=f.UTF8Scale;d==null&&(d=1024);for(var l=f.features,n=0;n<l.length;n++)for(var t=l[n],a=t.geometry,s=a.coordinates,r=a.encodeOffsets,c=0;c<s.length;c++){var e=s[c];if(a.type==="Polygon")s[c]=p(e,r[c],d);else if(a.type==="MultiPolygon")for(var o=0;o<e.length;o++){var u=e[o];e[o]=p(u,r[c][o],d)}}return f.UTF8Encoding=!1,f}function p(f,d,l){for(var n=[],t=d[0],a=d[1],s=0;s<f.length;s+=2){var r=f.charCodeAt(s)-64,c=f.charCodeAt(s+1)-64;r=r>>1^-(r&1),c=c>>1^-(c&1),r+=t,c+=a,t=r,a=c,n.push([r/l,c/l])}return n}function v(f,d){return E(f),y.map(y.filter(f.features,function(l){return l.geometry&&l.properties&&l.geometry.coordinates.length>0}),function(l){var n=l.properties,t=l.geometry,a=t.coordinates,s=[];t.type==="Polygon"&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),t.type==="MultiPolygon"&&y.each(a,function(c){c[0]&&s.push({type:"polygon",exterior:c[0],interiors:c.slice(1)})});var r=new m(n[d||"name"],s,n.cp);return r.properties=n,r})}U.exports=v},vcCh:function(U,R,i){var y=i("ProS");i("0qV/"),y.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(m,E){E.eachComponent({mainType:"series",subType:"sankey",query:m},function(p){p.setNodePosition(m.dataIndex,[m.localX,m.localY])})})},vewr:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.getPointerEvent=y,R.stopEvent=m,R.setCapture=l,R.releaseCapture=n;function y(t){return t.changedTouches?t.changedTouches[0]:t.touches?t.touches[0]:t}function m(t){t.stopPropagation(),t.preventDefault()}var E=!1,p=null;document.captureElement=null;function v(t){if(E)return;var a=new t.constructor(t.type,t);E=!0,document.captureElement?document.captureElement.dispatchEvent(a):p.dispatchEvent(a),E=!1,t.stopPropagation(),a.defaultPrevented&&t.preventDefault(),t.type==="mouseup"&&n()}function f(){var t=document.getElementById("noVNC_mouse_capture_elem");t.style.cursor=window.getComputedStyle(document.captureElement).cursor}var d=new MutationObserver(f);function l(t){if(t.setCapture)t.setCapture(),document.captureElement=t,t.addEventListener("mouseup",n);else{n();var a=document.getElementById("noVNC_mouse_capture_elem");a===null&&(a=document.createElement("div"),a.id="noVNC_mouse_capture_elem",a.style.position="fixed",a.style.top="0px",a.style.left="0px",a.style.width="100%",a.style.height="100%",a.style.zIndex=1e4,a.style.display="none",document.body.appendChild(a),a.addEventListener("contextmenu",v),a.addEventListener("mousemove",v),a.addEventListener("mouseup",v)),document.captureElement=t,d.observe(t,{attributes:!0}),f(),a.style.display="",window.addEventListener("mousemove",v),window.addEventListener("mouseup",v)}}function n(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;p=document.captureElement,document.captureElement=null,d.disconnect();var t=document.getElementById("noVNC_mouse_capture_elem");t.style.display="none",window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",v)}}},vg9a:function(U,R,i){},"vk+C":function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("RZPm"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},w5pM:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="PlusCircleOutlined";var d=R.a=m.forwardRef(f)},w6Tc:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("apAg"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;R.default=E,U.exports=E},wCAj:function(U,R,i){"use strict";var y=i("cDf5"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("J4zp"),f=i.n(v),d=i("pVnL"),l=i.n(d),n=i("q1tI"),t=i("TSYQ"),a=i.n(t),s=i("BGR+"),r=i("rePB"),c=i("VTBJ"),e=i("KQm4"),o=i("U8pU"),u=i("ODXe"),h=i("Gytx"),g=i.n(h),A=i("Kwbf"),w=i("t23M"),x=i("qx4F");function C(tr){return null}var T=C;function O(tr){return null}var S=O,_=i("Ff2n"),L=i("c+Xe"),D="RC_TABLE_KEY";function F(tr){return tr==null?[]:Array.isArray(tr)?tr:[tr]}function j(tr,An){if(!An&&typeof An!="number")return tr;for(var _n=F(An),Bn=tr,tt=0;tt<_n.length;tt+=1){if(!Bn)return null;var Ft=_n[tt];Bn=Bn[Ft]}return Bn}function k(tr){var An=[],_n={};return tr.forEach(function(Bn){for(var tt=Bn||{},Ft=tt.key,Cr=tt.dataIndex,gr=Ft||F(Cr).join("-")||D;_n[gr];)gr="".concat(gr,"_next");_n[gr]=!0,An.push(gr)}),An}function K(){var tr={};function An(Ft,Cr){Cr&&Object.keys(Cr).forEach(function(gr){var Yr=Cr[gr];Yr&&Object(o.a)(Yr)==="object"?(Ft[gr]=Ft[gr]||{},An(Ft[gr],Yr)):Ft[gr]=Yr})}for(var _n=arguments.length,Bn=new Array(_n),tt=0;tt<_n;tt++)Bn[tt]=arguments[tt];return Bn.forEach(function(Ft){An(tr,Ft)}),tr}function Z(tr){return tr!=null}function B(tr){return tr&&Object(o.a)(tr)==="object"&&!Array.isArray(tr)&&!n.isValidElement(tr)}function V(tr){return typeof tr=="string"?!0:Object(L.c)(tr)}function z(tr,An){var _n,Bn=tr.prefixCls,tt=tr.className,Ft=tr.record,Cr=tr.index,gr=tr.dataIndex,Yr=tr.render,en=tr.children,cn=tr.component,In=cn===void 0?"td":cn,Xn=tr.colSpan,ii=tr.rowSpan,fi=tr.fixLeft,ui=tr.fixRight,qn=tr.firstFixLeft,ti=tr.lastFixLeft,oi=tr.firstFixRight,Ci=tr.lastFixRight,Mi=tr.appendNode,Pi=tr.additionalProps,ca=Pi===void 0?{}:Pi,sa=tr.ellipsis,Na=tr.align,Pa=tr.rowType,ya=tr.isSticky,va="".concat(Bn,"-cell"),Ca,Ai;if(en)Ai=en;else{var Aa=j(Ft,gr);if(Ai=Aa,Yr){var za=Yr(Aa,Ft,Cr);B(za)?(Ai=za.children,Ca=za.props):Ai=za}}Object(o.a)(Ai)==="object"&&!Array.isArray(Ai)&&!n.isValidElement(Ai)&&(Ai=null),sa&&(ti||oi)&&(Ai=n.createElement("span",{className:"".concat(va,"-content")},Ai));var Or=Ca||{},$r=Or.colSpan,vn=Or.rowSpan,Jr=Or.style,ar=Or.className,Hr=Object(_.a)(Or,["colSpan","rowSpan","style","className"]),mr=$r!==void 0?$r:Xn,tn=vn!==void 0?vn:ii;if(mr===0||tn===0)return null;var sn={},Hn=typeof fi=="number",Ln=typeof ui=="number";Hn&&(sn.position="sticky",sn.left=fi),Ln&&(sn.position="sticky",sn.right=ui);var Qn={};Na&&(Qn.textAlign=Na);var yi,Di=sa===!0?{showTitle:!0}:sa;Di&&(Di.showTitle||Pa==="header")&&(typeof Ai=="string"||typeof Ai=="number"?yi=Ai.toString():n.isValidElement(Ai)&&typeof Ai.props.children=="string"&&(yi=Ai.props.children));var Ui=Object(c.a)(Object(c.a)(Object(c.a)({title:yi},Hr),ca),{},{colSpan:mr&&mr!==1?mr:null,rowSpan:tn&&tn!==1?tn:null,className:a()(va,tt,(_n={},Object(r.a)(_n,"".concat(va,"-fix-left"),Hn),Object(r.a)(_n,"".concat(va,"-fix-left-first"),qn),Object(r.a)(_n,"".concat(va,"-fix-left-last"),ti),Object(r.a)(_n,"".concat(va,"-fix-right"),Ln),Object(r.a)(_n,"".concat(va,"-fix-right-first"),oi),Object(r.a)(_n,"".concat(va,"-fix-right-last"),Ci),Object(r.a)(_n,"".concat(va,"-ellipsis"),sa),Object(r.a)(_n,"".concat(va,"-with-append"),Mi),Object(r.a)(_n,"".concat(va,"-fix-sticky"),(Hn||Ln)&&ya),_n),ca.className,ar),style:Object(c.a)(Object(c.a)(Object(c.a)(Object(c.a)({},ca.style),Qn),sn),Jr),ref:V(In)?An:null});return n.createElement(In,Object.assign({},Ui),Mi,Ai)}var X=n.forwardRef(z);X.displayName="Cell";var W=n.memo(X,function(tr,An){return An.shouldCellUpdate?!An.shouldCellUpdate(An.record,tr.record):!1}),q=W,Y=n.createContext(null),re=Y;function ne(tr,An,_n,Bn,tt){var Ft=_n[tr]||{},Cr=_n[An]||{},gr,Yr;Ft.fixed==="left"?gr=Bn.left[tr]:Cr.fixed==="right"&&(Yr=Bn.right[An]);var en=!1,cn=!1,In=!1,Xn=!1,ii=_n[An+1],fi=_n[tr-1];if(tt==="rtl"){if(gr!==void 0){var ui=fi&&fi.fixed==="left";Xn=!ui}else if(Yr!==void 0){var qn=ii&&ii.fixed==="right";In=!qn}}else if(gr!==void 0){var ti=ii&&ii.fixed==="left";en=!ti}else if(Yr!==void 0){var oi=fi&&fi.fixed==="right";cn=!oi}return{fixLeft:gr,fixRight:Yr,lastFixLeft:en,firstFixRight:cn,lastFixRight:In,firstFixLeft:Xn,isSticky:Bn.isSticky}}function we(tr){var An=tr.cells,_n=tr.stickyOffsets,Bn=tr.flattenColumns,tt=tr.rowComponent,Ft=tr.cellComponent,Cr=tr.onHeaderRow,gr=tr.index,Yr=n.useContext(re),en=Yr.prefixCls,cn=Yr.direction,In;Cr&&(In=Cr(An.map(function(ii){return ii.column}),gr));var Xn=k(An.map(function(ii){return ii.column}));return n.createElement(tt,Object.assign({},In),An.map(function(ii,fi){var ui=ii.column,qn=ne(ii.colStart,ii.colEnd,Bn,_n,cn),ti;return ui&&ui.onHeaderCell&&(ti=ii.column.onHeaderCell(ui)),n.createElement(q,Object.assign({},ii,{ellipsis:ui.ellipsis,align:ui.align,component:Ft,prefixCls:en,key:Xn[fi]},qn,{additionalProps:ti,rowType:"header"}))}))}we.displayName="HeaderRow";var ie=we;function me(tr){var An=[];function _n(Cr,gr){var Yr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;An[Yr]=An[Yr]||[];var en=gr,cn=Cr.filter(Boolean).map(function(In){var Xn={key:In.key,className:In.className||"",children:In.title,column:In,colStart:en},ii=1,fi=In.children;return fi&&fi.length>0&&(ii=_n(fi,en,Yr+1).reduce(function(ui,qn){return ui+qn},0),Xn.hasSubColumns=!0),"colSpan"in In&&(ii=In.colSpan),"rowSpan"in In&&(Xn.rowSpan=In.rowSpan),Xn.colSpan=ii,Xn.colEnd=Xn.colStart+ii-1,An[Yr].push(Xn),en+=ii,ii});return cn}_n(tr,0);for(var Bn=An.length,tt=function(gr){An[gr].forEach(function(Yr){!("rowSpan"in Yr)&&!Yr.hasSubColumns&&(Yr.rowSpan=Bn-gr)})},Ft=0;Ft<Bn;Ft+=1)tt(Ft);return An}function _e(tr){var An=tr.stickyOffsets,_n=tr.columns,Bn=tr.flattenColumns,tt=tr.onHeaderRow,Ft=n.useContext(re),Cr=Ft.prefixCls,gr=Ft.getComponent,Yr=n.useMemo(function(){return me(_n)},[_n]),en=gr(["header","wrapper"],"thead"),cn=gr(["header","row"],"tr"),In=gr(["header","cell"],"th");return n.createElement(en,{className:"".concat(Cr,"-thead")},Yr.map(function(Xn,ii){var fi=n.createElement(ie,{key:ii,flattenColumns:Bn,cells:Xn,stickyOffsets:An,rowComponent:cn,cellComponent:In,onHeaderRow:tt,index:ii});return fi}))}var Te=_e,We="RC_TABLE_INTERNAL_COL_DEFINE";function Ae(tr){var An=tr.expandable,_n=Object(_.a)(tr,["expandable"]);return"expandable"in tr?Object(c.a)(Object(c.a)({},_n),An):_n}function je(tr){return Object.keys(tr).reduce(function(An,_n){return(_n.substr(0,5)==="data-"||_n.substr(0,5)==="aria-")&&(An[_n]=tr[_n]),An},{})}function ee(tr){for(var An=tr.colWidths,_n=tr.columns,Bn=tr.columCount,tt=[],Ft=Bn||_n.length,Cr=!1,gr=Ft-1;gr>=0;gr-=1){var Yr=An[gr],en=_n&&_n[gr],cn=en&&en[We];(Yr||cn||Cr)&&(tt.unshift(n.createElement("col",Object.assign({key:gr,style:{width:Yr,minWidth:Yr}},cn))),Cr=!0)}return n.createElement("colgroup",null,tt)}var he=ee;function Ze(tr,An){return Object(n.useMemo)(function(){for(var _n=[],Bn=0;Bn<An;Bn+=1){var tt=tr[Bn];if(tt!==void 0)_n[Bn]=tt;else return null}return _n},[tr.join("_"),An])}var oe=n.forwardRef(function(tr,An){var _n=tr.noData,Bn=tr.columns,tt=tr.flattenColumns,Ft=tr.colWidths,Cr=tr.columCount,gr=tr.stickyOffsets,Yr=tr.direction,en=tr.fixHeader,cn=tr.offsetHeader,In=tr.stickyClassName,Xn=tr.onScroll,ii=Object(_.a)(tr,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),fi=n.useContext(re),ui=fi.prefixCls,qn=fi.scrollbarSize,ti=fi.isSticky,oi=ti&&!en?0:qn,Ci=n.useRef(null),Mi=n.useCallback(function(va){Object(L.b)(An,va),Object(L.b)(Ci,va)},[]);n.useEffect(function(){var va;function Ca(Ai){var Aa=Ai.currentTarget,za=Ai.deltaX;za&&(Xn({currentTarget:Aa,scrollLeft:Aa.scrollLeft+za}),Ai.preventDefault())}return(va=Ci.current)===null||va===void 0||va.addEventListener("wheel",Ca),function(){var Ai;(Ai=Ci.current)===null||Ai===void 0||Ai.removeEventListener("wheel",Ca)}},[]);var Pi=tt[tt.length-1],ca={fixed:Pi?Pi.fixed:null,onHeaderCell:function(){return{className:"".concat(ui,"-cell-scrollbar")}}},sa=Object(n.useMemo)(function(){return oi?[].concat(Object(e.a)(Bn),[ca]):Bn},[oi,Bn]),Na=Object(n.useMemo)(function(){return oi?[].concat(Object(e.a)(tt),[ca]):tt},[oi,tt]),Pa=Object(n.useMemo)(function(){var va=gr.right,Ca=gr.left;return Object(c.a)(Object(c.a)({},gr),{},{left:Yr==="rtl"?[].concat(Object(e.a)(Ca.map(function(Ai){return Ai+oi})),[0]):Ca,right:Yr==="rtl"?va:[].concat(Object(e.a)(va.map(function(Ai){return Ai+oi})),[0]),isSticky:ti})},[oi,gr,ti]),ya=Ze(Ft,Cr);return n.createElement("div",{style:Object(c.a)({overflow:"hidden"},ti?{top:cn}:{}),ref:Mi,className:a()("".concat(ui,"-header"),Object(r.a)({},In,!!In))},n.createElement("table",{style:{tableLayout:"fixed",visibility:_n||ya?null:"hidden"}},n.createElement(he,{colWidths:ya?[].concat(Object(e.a)(ya),[oi]):[],columCount:Cr+1,columns:Na}),n.createElement(Te,Object.assign({},ii,{stickyOffsets:Pa,columns:sa,flattenColumns:Na}))))});oe.displayName="FixedHeader";var Q=oe,G=n.createContext(null),te=G;function xe(tr){var An=tr.prefixCls,_n=tr.children,Bn=tr.component,tt=tr.cellComponent,Ft=tr.fixHeader,Cr=tr.fixColumn,gr=tr.horizonScroll,Yr=tr.className,en=tr.expanded,cn=tr.componentWidth,In=tr.colSpan,Xn=n.useContext(re),ii=Xn.scrollbarSize;return n.useMemo(function(){var fi=_n;return Cr&&(fi=n.createElement("div",{style:{width:cn-(Ft?ii:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(An,"-expanded-row-fixed")},fi)),n.createElement(Bn,{className:Yr,style:{display:en?null:"none"}},n.createElement(q,{component:tt,prefixCls:An,colSpan:In},fi))},[_n,Bn,Ft,gr,Yr,en,cn,In,ii])}var fe=xe;function Be(tr){var An=tr.className,_n=tr.style,Bn=tr.record,tt=tr.index,Ft=tr.rowKey,Cr=tr.getRowKey,gr=tr.rowExpandable,Yr=tr.expandedKeys,en=tr.onRow,cn=tr.indent,In=cn===void 0?0:cn,Xn=tr.rowComponent,ii=tr.cellComponent,fi=tr.childrenColumnName,ui=n.useContext(re),qn=ui.prefixCls,ti=ui.fixedInfoList,oi=n.useContext(te),Ci=oi.fixHeader,Mi=oi.fixColumn,Pi=oi.horizonScroll,ca=oi.componentWidth,sa=oi.flattenColumns,Na=oi.expandableType,Pa=oi.expandRowByClick,ya=oi.onTriggerExpand,va=oi.rowClassName,Ca=oi.expandedRowClassName,Ai=oi.indentSize,Aa=oi.expandIcon,za=oi.expandedRowRender,Or=oi.expandIconColumnIndex,$r=n.useState(!1),vn=Object(u.a)($r,2),Jr=vn[0],ar=vn[1],Hr=Yr&&Yr.has(tr.recordKey);n.useEffect(function(){Hr&&ar(!0)},[Hr]);var mr=Na==="row"&&(!gr||gr(Bn)),tn=Na==="nest",sn=fi&&Bn&&Bn[fi],Hn=mr||tn,Ln;en&&(Ln=en(Bn,tt));var Qn=function(yo){if(Pa&&Hn&&ya(Bn,yo),Ln&&Ln.onClick){for(var Ga,Ma=arguments.length,uo=new Array(Ma>1?Ma-1:0),so=1;so<Ma;so++)uo[so-1]=arguments[so];(Ga=Ln).onClick.apply(Ga,[yo].concat(uo))}},yi;typeof va=="string"?yi=va:typeof va=="function"&&(yi=va(Bn,tt,In));var Di=k(sa),Ui=n.createElement(Xn,Object.assign({},Ln,{"data-row-key":Ft,className:a()(An,"".concat(qn,"-row"),"".concat(qn,"-row-level-").concat(In),yi,Ln&&Ln.className),style:Object(c.a)(Object(c.a)({},_n),Ln?Ln.style:null),onClick:Qn}),sa.map(function(ho,yo){var Ga=ho.render,Ma=ho.dataIndex,uo=ho.className,so=Di[yo],To=ti[yo],No;yo===(Or||0)&&tn&&(No=n.createElement(n.Fragment,null,n.createElement("span",{style:{paddingLeft:"".concat(Ai*In,"px")},className:"".concat(qn,"-row-indent indent-level-").concat(In)}),Aa({prefixCls:qn,expanded:Hr,expandable:sn,record:Bn,onExpand:ya})));var oo;return ho.onCell&&(oo=ho.onCell(Bn,tt)),n.createElement(q,Object.assign({className:uo,ellipsis:ho.ellipsis,align:ho.align,component:ii,prefixCls:qn,key:so,record:Bn,index:tt,dataIndex:Ma,render:Ga,shouldCellUpdate:ho.shouldCellUpdate},To,{appendNode:No,additionalProps:oo}))})),ua;if(mr&&(Jr||Hr)){var Xa=za(Bn,tt,In+1,Hr),vo=Ca&&Ca(Bn,tt,In);ua=n.createElement(fe,{expanded:Hr,className:a()("".concat(qn,"-expanded-row"),"".concat(qn,"-expanded-row-level-").concat(In+1),vo),prefixCls:qn,fixHeader:Ci,fixColumn:Mi,horizonScroll:Pi,component:Xn,componentWidth:ca,cellComponent:ii,colSpan:sa.length},Xa)}var wo;return sn&&Hr&&(wo=(Bn[fi]||[]).map(function(ho,yo){var Ga=Cr(ho,yo);return n.createElement(Be,Object.assign({},tr,{key:Ga,rowKey:Ga,record:ho,recordKey:Ga,index:yo,indent:In+1}))})),n.createElement(n.Fragment,null,Ui,ua,wo)}Be.displayName="BodyRow";var Ne=Be,de=n.createContext(null),ve=de;function Me(tr){var An=tr.columnKey,_n=tr.onColumnResize,Bn=n.useRef();return n.useEffect(function(){Bn.current&&_n(An,Bn.current.offsetWidth)},[]),n.createElement(w.a,{onResize:function(Ft){var Cr=Ft.offsetWidth;_n(An,Cr)}},n.createElement("td",{ref:Bn,style:{padding:0,border:0,height:0}},n.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function qe(tr){var An=tr.data,_n=tr.getRowKey,Bn=tr.measureColumnWidth,tt=tr.expandedKeys,Ft=tr.onRow,Cr=tr.rowExpandable,gr=tr.emptyNode,Yr=tr.childrenColumnName,en=n.useContext(ve),cn=en.onColumnResize,In=n.useContext(re),Xn=In.prefixCls,ii=In.getComponent,fi=n.useContext(te),ui=fi.fixHeader,qn=fi.horizonScroll,ti=fi.flattenColumns,oi=fi.componentWidth;return n.useMemo(function(){var Ci=ii(["body","wrapper"],"tbody"),Mi=ii(["body","row"],"tr"),Pi=ii(["body","cell"],"td"),ca;An.length?ca=An.map(function(Na,Pa){var ya=_n(Na,Pa);return n.createElement(Ne,{key:ya,rowKey:ya,record:Na,recordKey:ya,index:Pa,rowComponent:Mi,cellComponent:Pi,expandedKeys:tt,onRow:Ft,getRowKey:_n,rowExpandable:Cr,childrenColumnName:Yr})}):ca=n.createElement(fe,{expanded:!0,className:"".concat(Xn,"-placeholder"),prefixCls:Xn,fixHeader:ui,fixColumn:qn,horizonScroll:qn,component:Mi,componentWidth:oi,cellComponent:Pi,colSpan:ti.length},gr);var sa=k(ti);return n.createElement(Ci,{className:"".concat(Xn,"-tbody")},Bn&&n.createElement("tr",{"aria-hidden":"true",className:"".concat(Xn,"-measure-row"),style:{height:0}},sa.map(function(Na){return n.createElement(Me,{key:Na,columnKey:Na,onColumnResize:cn})})),ca)},[An,Xn,Ft,Bn,tt,_n,ii,oi,gr,ti])}var gt=n.memo(qe);gt.displayName="Body";var ht=gt,Pe=i("Zm9Q");function It(tr){return Object(Pe.a)(tr).filter(function(An){return n.isValidElement(An)}).map(function(An){var _n=An.key,Bn=An.props,tt=Bn.children,Ft=Object(_.a)(Bn,["children"]),Cr=Object(c.a)({key:_n},Ft);return tt&&(Cr.children=It(tt)),Cr})}function nt(tr){return tr.reduce(function(An,_n){var Bn=_n.fixed,tt=Bn===!0?"left":Bn,Ft=_n.children;return Ft&&Ft.length>0?[].concat(Object(e.a)(An),Object(e.a)(nt(Ft).map(function(Cr){return Object(c.a)({fixed:tt},Cr)}))):[].concat(Object(e.a)(An),[Object(c.a)(Object(c.a)({},_n),{},{fixed:tt})])},[])}function Nt(tr){for(var An=!0,_n=0;_n<tr.length;_n+=1){var Bn=tr[_n];if(An&&Bn.fixed!=="left")An=!1;else if(!An&&Bn.fixed==="left"){Object(A.a)(!1,"Index ".concat(_n-1," of `columns` missing `fixed='left'` prop."));break}}for(var tt=!0,Ft=tr.length-1;Ft>=0;Ft-=1){var Cr=tr[Ft];if(tt&&Cr.fixed!=="right")tt=!1;else if(!tt&&Cr.fixed==="right"){Object(A.a)(!1,"Index ".concat(Ft+1," of `columns` missing `fixed='right'` prop."));break}}}function Bt(tr){return tr.map(function(An){var _n=An.fixed,Bn=Object(_.a)(An,["fixed"]),tt=_n;return _n==="left"?tt="right":_n==="right"&&(tt="left"),Object(c.a)({fixed:tt},Bn)})}function Pt(tr,An){var _n=tr.prefixCls,Bn=tr.columns,tt=tr.children,Ft=tr.expandable,Cr=tr.expandedKeys,gr=tr.getRowKey,Yr=tr.onTriggerExpand,en=tr.expandIcon,cn=tr.rowExpandable,In=tr.expandIconColumnIndex,Xn=tr.direction,ii=tr.expandRowByClick,fi=n.useMemo(function(){return Bn||It(tt)},[Bn,tt]),ui=n.useMemo(function(){if(Ft){var oi,Ci=In||0,Mi=fi[Ci],Pi=(oi={},Object(r.a)(oi,We,{className:"".concat(_n,"-expand-icon-col")}),Object(r.a)(oi,"title",""),Object(r.a)(oi,"fixed",Mi?Mi.fixed:null),Object(r.a)(oi,"className","".concat(_n,"-row-expand-icon-cell")),Object(r.a)(oi,"render",function(Na,Pa,ya){var va=gr(Pa,ya),Ca=Cr.has(va),Ai=cn?cn(Pa):!0,Aa=en({prefixCls:_n,expanded:Ca,expandable:Ai,record:Pa,onExpand:Yr});return ii?n.createElement("span",{onClick:function(Or){return Or.stopPropagation()}},Aa):Aa}),oi),ca=fi.slice();return Ci>=0&&ca.splice(Ci,0,Pi),ca}return fi},[Ft,fi,gr,Cr,en,Xn]),qn=n.useMemo(function(){var oi=ui;return An&&(oi=An(oi)),oi.length||(oi=[{render:function(){return null}}]),oi},[An,ui,Xn]),ti=n.useMemo(function(){return Xn==="rtl"?Bt(nt(qn)):nt(qn)},[qn,Xn]);return[qn,ti]}var jt=Pt,er=i("xEkU"),at=i.n(er);function Ce(tr){var An=Object(n.useRef)(tr),_n=Object(n.useState)({}),Bn=Object(u.a)(_n,2),tt=Bn[1],Ft=Object(n.useRef)(null),Cr=Object(n.useRef)([]);function gr(Yr){Ft.current===null&&(Cr.current=[],Ft.current=at()(function(){Cr.current.forEach(function(en){An.current=en(An.current)}),Ft.current=null,tt({})})),Cr.current.push(Yr)}return Object(n.useEffect)(function(){return function(){at.a.cancel(Ft.current)}},[]),[An.current,gr]}function ue(tr){var An=Object(n.useRef)(tr),_n=Object(n.useRef)(null);function Bn(){window.clearTimeout(_n.current)}function tt(Cr){An.current=Cr,Bn(),_n.current=window.setTimeout(function(){An.current=null,_n.current=null},100)}function Ft(){return An.current}return Object(n.useEffect)(function(){return Bn},[]),[tt,Ft]}function Dt(tr,An,_n){var Bn=Object(n.useMemo)(function(){for(var tt=[],Ft=[],Cr=0,gr=0,Yr=0;Yr<An;Yr+=1)if(_n==="rtl"){Ft[Yr]=gr,gr+=tr[Yr]||0;var en=An-Yr-1;tt[en]=Cr,Cr+=tr[en]||0}else{tt[Yr]=Cr,Cr+=tr[Yr]||0;var cn=An-Yr-1;Ft[cn]=gr,gr+=tr[cn]||0}return{left:tt,right:Ft}},[tr,An,_n]);return Bn}var rt=Dt;function ye(tr){var An=tr.className,_n=tr.children;return n.createElement("div",{className:An},_n)}var Xt=ye;function pr(tr){var An=tr.className,_n=tr.index,Bn=tr.children,tt=tr.colSpan,Ft=tr.rowSpan,Cr=n.useContext(re),gr=Cr.prefixCls,Yr=Cr.fixedInfoList,en=Yr[_n];return n.createElement(q,Object.assign({className:An,index:_n,component:"td",prefixCls:gr,record:null,dataIndex:null,render:function(){return{children:Bn,props:{colSpan:tt,rowSpan:Ft}}}},en))}function mt(tr){return n.createElement("tr",Object.assign({},tr))}function nr(tr){var An=tr.children,_n=n.useContext(re),Bn=_n.prefixCls;return n.createElement("tfoot",{className:"".concat(Bn,"-summary")},An)}var yr=nr,gn={Cell:pr,Row:mt};function _r(tr){var An,_n=tr.prefixCls,Bn=tr.record,tt=tr.onExpand,Ft=tr.expanded,Cr=tr.expandable,gr="".concat(_n,"-row-expand-icon");if(!Cr)return n.createElement("span",{className:a()(gr,"".concat(_n,"-row-spaced"))});var Yr=function(cn){tt(Bn,cn),cn.stopPropagation()};return n.createElement("span",{className:a()(gr,(An={},Object(r.a)(An,"".concat(_n,"-row-expanded"),Ft),Object(r.a)(An,"".concat(_n,"-row-collapsed"),!Ft),An)),onClick:Yr})}function ur(tr,An,_n){var Bn=[];function tt(Ft){(Ft||[]).forEach(function(Cr,gr){Bn.push(An(Cr,gr)),tt(Cr[_n])})}return tt(tr),Bn}var zt=i("zT1h"),bt=i("y0+3"),ot=function(An,_n){var Bn,tt,Ft=An.scrollBodyRef,Cr=An.onScroll,gr=An.offsetScroll,Yr=n.useContext(re),en=Yr.prefixCls,cn=((Bn=Ft.current)===null||Bn===void 0?void 0:Bn.scrollWidth)||0,In=((tt=Ft.current)===null||tt===void 0?void 0:tt.clientWidth)||0,Xn=cn&&In*(In/cn),ii=n.useRef(),fi=Ce({scrollLeft:0,isHiddenScrollBar:!1}),ui=Object(u.a)(fi,2),qn=ui[0],ti=ui[1],oi=n.useRef({delta:0,x:0}),Ci=n.useState(!1),Mi=Object(u.a)(Ci,2),Pi=Mi[0],ca=Mi[1],sa=function(){ca(!1)},Na=function(Ai){Ai.persist(),oi.current.delta=Ai.pageX-qn.scrollLeft,oi.current.x=0,ca(!0),Ai.preventDefault()},Pa=function(Ai){var Aa,za=Ai||((Aa=window)===null||Aa===void 0?void 0:Aa.event),Or=za.buttons;if(!Pi||Or===0){Pi&&ca(!1);return}var $r=oi.current.x+Ai.pageX-oi.current.x-oi.current.delta;$r<=0&&($r=0),$r+Xn>=In&&($r=In-Xn),Cr({scrollLeft:$r/In*(cn+2)}),oi.current.x=Ai.pageX},ya=function(){var Ai=Object(bt.b)(Ft.current).top,Aa=Ai+Ft.current.offsetHeight,za=document.documentElement.scrollTop+window.innerHeight;Aa-Object(x.a)()<=za||Ai>=za-gr?ti(function(Or){return Object(c.a)(Object(c.a)({},Or),{},{isHiddenScrollBar:!0})}):ti(function(Or){return Object(c.a)(Object(c.a)({},Or),{},{isHiddenScrollBar:!1})})},va=function(Ai){ti(function(Aa){return Object(c.a)(Object(c.a)({},Aa),{},{scrollLeft:Ai/cn*In||0})})};return n.useImperativeHandle(_n,function(){return{setScrollLeft:va}}),n.useEffect(function(){var Ca=Object(zt.a)(document.body,"mouseup",sa,!1),Ai=Object(zt.a)(document.body,"mousemove",Pa,!1);return ya(),function(){Ca.remove(),Ai.remove()}},[Xn,Pi]),n.useEffect(function(){var Ca=Object(zt.a)(window,"scroll",ya,!1),Ai=Object(zt.a)(window,"resize",ya,!1);return function(){Ca.remove(),Ai.remove()}},[]),n.useEffect(function(){qn.isHiddenScrollBar||ti(function(Ca){var Ai,Aa;return Object(c.a)(Object(c.a)({},Ca),{},{scrollLeft:Ft.current.scrollLeft/((Ai=Ft.current)===null||Ai===void 0?void 0:Ai.scrollWidth)*((Aa=Ft.current)===null||Aa===void 0?void 0:Aa.clientWidth)})})},[qn.isHiddenScrollBar]),cn<=In||!Xn||qn.isHiddenScrollBar?null:n.createElement("div",{style:{height:Object(x.a)(),width:In,bottom:gr},className:"".concat(en,"-sticky-scroll")},n.createElement("div",{onMouseDown:Na,ref:ii,className:a()("".concat(en,"-sticky-scroll-bar"),Object(r.a)({},"".concat(en,"-sticky-scroll-bar-active"),Pi)),style:{width:"".concat(Xn,"px"),transform:"translate3d(".concat(qn.scrollLeft,"px, 0, 0)")}}))},lr=n.forwardRef(ot);function jr(tr,An){return n.useMemo(function(){var _n=!!tr;return{isSticky:_n,stickyClassName:_n?"".concat(An,"-sticky-header"):"",offsetHeader:Object(o.a)(tr)==="object"&&tr.offsetHeader||0,offsetScroll:Object(o.a)(tr)==="object"&&tr.offsetScroll||0}},[tr,An])}var Rr=[],xr={},Vn="rc-table-internal-hook",bn=n.memo(function(tr){var An=tr.children;return An},function(tr,An){return g()(tr.props,An.props)?tr.pingLeft!==An.pingLeft||tr.pingRight!==An.pingRight:!1});function di(tr){var An,_n=tr.prefixCls,Bn=tr.className,tt=tr.rowClassName,Ft=tr.style,Cr=tr.data,gr=tr.rowKey,Yr=tr.scroll,en=tr.tableLayout,cn=tr.direction,In=tr.title,Xn=tr.footer,ii=tr.summary,fi=tr.id,ui=tr.showHeader,qn=tr.components,ti=tr.emptyText,oi=tr.onRow,Ci=tr.onHeaderRow,Mi=tr.internalHooks,Pi=tr.transformColumns,ca=tr.internalRefs,sa=tr.sticky,Na=Cr||Rr,Pa=!!Na.length,ya=n.useState(0),va=Object(u.a)(ya,2),Ca=va[0],Ai=va[1];n.useEffect(function(){Ai(Object(x.a)())});var Aa=n.useMemo(function(){return K(qn,{})},[qn]),za=n.useCallback(function(fs,Ks){return j(Aa,fs)||Ks},[Aa]),Or=n.useMemo(function(){return typeof gr=="function"?gr:function(fs){var Ks=fs&&fs[gr];return Ks}},[gr]),$r=Ae(tr),vn=$r.expandIcon,Jr=$r.expandedRowKeys,ar=$r.defaultExpandedRowKeys,Hr=$r.defaultExpandAllRows,mr=$r.expandedRowRender,tn=$r.onExpand,sn=$r.onExpandedRowsChange,Hn=$r.expandRowByClick,Ln=$r.rowExpandable,Qn=$r.expandIconColumnIndex,yi=$r.expandedRowClassName,Di=$r.childrenColumnName,Ui=$r.indentSize,ua=vn||_r,Xa=Di||"children",vo=n.useMemo(function(){return mr?"row":tr.expandable&&Mi===Vn&&tr.expandable.__PARENT_RENDER_ICON__||Na.some(function(fs){return fs&&Object(o.a)(fs)==="object"&&fs[Xa]})?"nest":!1},[!!mr,Na]),wo=n.useState(function(){return ar||(Hr?ur(Na,Or,Xa):[])}),ho=Object(u.a)(wo,2),yo=ho[0],Ga=ho[1],Ma=n.useMemo(function(){return new Set(Jr||yo||[])},[Jr,yo]),uo=n.useCallback(function(fs){var Ks=Or(fs,Na.indexOf(fs)),Ol,Hs=Ma.has(Ks);Hs?(Ma.delete(Ks),Ol=Object(e.a)(Ma)):Ol=[].concat(Object(e.a)(Ma),[Ks]),Ga(Ol),tn&&tn(!Hs,fs),sn&&sn(Ol)},[Or,Ma,Na,tn,sn]),so=n.useState(0),To=Object(u.a)(so,2),No=To[0],oo=To[1],Ja=jt(Object(c.a)(Object(c.a)(Object(c.a)({},tr),$r),{},{expandable:!!mr,expandedKeys:Ma,getRowKey:Or,onTriggerExpand:uo,expandIcon:ua,expandIconColumnIndex:Qn,direction:cn}),Mi===Vn?Pi:null),zo=Object(u.a)(Ja,2),Eo=zo[0],Ea=zo[1],jo=n.useMemo(function(){return{columns:Eo,flattenColumns:Ea}},[Eo,Ea]),Zo=n.useRef(),Za=n.useRef(),Xo=n.useRef(),qo=n.useState(!1),cs=Object(u.a)(qo,2),Oo=cs[0],ss=cs[1],Io=n.useState(!1),lo=Object(u.a)(Io,2),ks=lo[0],As=lo[1],ko=Ce(new Map),ys=Object(u.a)(ko,2),es=ys[0],ts=ys[1],_s=k(Ea),Ts=_s.map(function(fs){return es.get(fs)}),$s=n.useMemo(function(){return Ts},[Ts.join("_")]),Ms=rt($s,Ea.length,cn),Fs=Yr&&Z(Yr.y),as=Yr&&Z(Yr.x),vs=as&&Ea.some(function(fs){var Ks=fs.fixed;return Ks}),Ho=n.useRef(),Ns=jr(sa,_n),Us=Ns.isSticky,ka=Ns.offsetHeader,Go=Ns.offsetScroll,xl=Ns.stickyClassName,ul,gl,_l;Fs&&(gl={overflowY:"scroll",maxHeight:Yr.y}),as&&(ul={overflowX:"auto"},Fs||(gl={overflowY:"hidden"}),_l={width:Yr.x===!0?"auto":Yr.x,minWidth:"100%"});var Xs=n.useCallback(function(fs,Ks){ts(function(Ol){var Hs=new Map(Ol);return Hs.set(fs,Ks),Hs})},[]),Yo=ue(null),al=Object(u.a)(Yo,2),Wl=al[0],Ps=al[1];function nl(fs,Ks){if(!Ks)return;typeof Ks=="function"?Ks(fs):Ks.scrollLeft!==fs&&(Ks.scrollLeft=fs)}var $o=function(Ks){var Ol=Ks.currentTarget,Hs=Ks.scrollLeft,ol=typeof Hs=="number"?Hs:Ol.scrollLeft,Gs=Ol||xr;if(!Ps()||Ps()===Gs){var Il;Wl(Gs),nl(ol,Za.current),nl(ol,Xo.current),nl(ol,(Il=Ho.current)===null||Il===void 0?void 0:Il.setScrollLeft)}if(Ol){var Uc=Ol.scrollWidth,mc=Ol.clientWidth;ss(ol>0),As(ol<Uc-mc)}},Sl=function(){Xo.current&&$o({currentTarget:Xo.current})},Pc=function(Ks){var Ol=Ks.width;Sl(),oo(Zo.current?Zo.current.offsetWidth:Ol)};n.useEffect(function(){return Sl},[]),n.useEffect(function(){as&&Sl()},[as]),n.useEffect(function(){Mi===Vn&&ca&&(ca.body.current=Xo.current)});var nc=za(["table"],"table"),hc=n.useMemo(function(){return en||(vs?Yr.x==="max-content"?"auto":"fixed":Fs||Ea.some(function(fs){var Ks=fs.ellipsis;return Ks})?"fixed":"auto")},[Fs,vs,Ea,en]),ic,Jl={colWidths:$s,columCount:Ea.length,stickyOffsets:Ms,onHeaderRow:Ci,fixHeader:Fs},Yl=n.useMemo(function(){return Pa?null:typeof ti=="function"?ti():ti},[Pa,ti]),Al=n.createElement(ht,{data:Na,measureColumnWidth:Fs||as||Us,expandedKeys:Ma,rowExpandable:Ln,getRowKey:Or,onRow:oi,emptyNode:Yl,childrenColumnName:Xa}),zs=n.createElement(he,{colWidths:Ea.map(function(fs){var Ks=fs.width;return Ks}),columns:Ea}),Tl=ii&&n.createElement(yr,null,ii(Na)),vl=za(["body"]);if(Fs||Us){var Cl;typeof vl=="function"?(Cl=vl(Na,{scrollbarSize:Ca,ref:Xo,onScroll:$o}),Jl.colWidths=Ea.map(function(fs,Ks){var Ol=fs.width,Hs=Ks===Eo.length-1?Ol-Ca:Ol;return typeof Hs=="number"&&!Number.isNaN(Hs)?Hs:(Object(A.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):Cl=n.createElement("div",{style:Object(c.a)(Object(c.a)({},ul),gl),onScroll:$o,ref:Xo,className:a()("".concat(_n,"-body"))},n.createElement(nc,{style:Object(c.a)(Object(c.a)({},_l),{},{tableLayout:hc})},zs,Al,Tl),Us&&n.createElement(lr,{ref:Ho,offsetScroll:Go,scrollBodyRef:Xo,onScroll:$o})),ic=n.createElement(n.Fragment,null,ui!==!1&&n.createElement(Q,Object.assign({noData:!Na.length},Jl,jo,{direction:cn,offsetHeader:ka,stickyClassName:xl,ref:Za,onScroll:$o})),Cl)}else ic=n.createElement("div",{style:Object(c.a)(Object(c.a)({},ul),gl),className:a()("".concat(_n,"-content")),onScroll:$o,ref:Xo},n.createElement(nc,{style:Object(c.a)(Object(c.a)({},_l),{},{tableLayout:hc})},zs,ui!==!1&&n.createElement(Te,Object.assign({},Jl,jo)),Al,Tl));var dn=je(tr),bl=n.createElement("div",Object.assign({className:a()(_n,Bn,(An={},Object(r.a)(An,"".concat(_n,"-rtl"),cn==="rtl"),Object(r.a)(An,"".concat(_n,"-ping-left"),Oo),Object(r.a)(An,"".concat(_n,"-ping-right"),ks),Object(r.a)(An,"".concat(_n,"-layout-fixed"),en==="fixed"),Object(r.a)(An,"".concat(_n,"-fixed-header"),Fs),Object(r.a)(An,"".concat(_n,"-fixed-column"),vs),Object(r.a)(An,"".concat(_n,"-scroll-horizontal"),as),Object(r.a)(An,"".concat(_n,"-has-fix-left"),Ea[0]&&Ea[0].fixed),Object(r.a)(An,"".concat(_n,"-has-fix-right"),Ea[Ea.length-1]&&Ea[Ea.length-1].fixed==="right"),An)),style:Ft,id:fi,ref:Zo},dn),n.createElement(bn,{pingLeft:Oo,pingRight:ks,props:Object(c.a)(Object(c.a)({},tr),{},{stickyOffsets:Ms,mergedExpandedKeys:Ma})},In&&n.createElement(Xt,{className:"".concat(_n,"-title")},In(Na)),n.createElement("div",{className:"".concat(_n,"-container")},ic),Xn&&n.createElement(Xt,{className:"".concat(_n,"-footer")},Xn(Na))));as&&(bl=n.createElement(w.a,{onResize:Pc},bl));var Lc=n.useMemo(function(){return{prefixCls:_n,getComponent:za,scrollbarSize:Ca,direction:cn,fixedInfoList:Ea.map(function(fs,Ks){return ne(Ks,Ks,Ea,Ms,cn)}),isSticky:Us}},[_n,za,Ca,cn,Ea,Ms,cn,Us]),bc=n.useMemo(function(){return Object(c.a)(Object(c.a)({},jo),{},{tableLayout:hc,rowClassName:tt,expandedRowClassName:yi,componentWidth:No,fixHeader:Fs,fixColumn:vs,horizonScroll:as,expandIcon:ua,expandableType:vo,expandRowByClick:Hn,expandedRowRender:mr,onTriggerExpand:uo,expandIconColumnIndex:Qn,indentSize:Ui})},[jo,hc,tt,yi,No,Fs,vs,as,ua,vo,Hn,mr,uo,Qn,Ui]),pc=n.useMemo(function(){return{onColumnResize:Xs}},[Xs]);return n.createElement(re.Provider,{value:Lc},n.createElement(te.Provider,{value:bc},n.createElement(ve.Provider,{value:pc},bl)))}di.Column=S,di.ColumnGroup=T,di.Summary=gn,di.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var lt=di,ct=lt,Le=i("W9HT"),Ue=i("NUBc"),Ye=i("H84U"),ft=function(tr,An){var _n={};for(var Bn in tr)Object.prototype.hasOwnProperty.call(tr,Bn)&&An.indexOf(Bn)<0&&(_n[Bn]=tr[Bn]);if(tr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Bn=Object.getOwnPropertySymbols(tr);tt<Bn.length;tt++)An.indexOf(Bn[tt])<0&&Object.prototype.propertyIsEnumerable.call(tr,Bn[tt])&&(_n[Bn[tt]]=tr[Bn[tt]]);return _n},ir=10;function Yt(tr,An){var _n={current:An.current,pageSize:An.pageSize},Bn=tr&&m()(tr)==="object"?tr:{};return Object.keys(Bn).forEach(function(tt){var Ft=An[tt];typeof Ft!="function"&&(_n[tt]=Ft)}),_n}function rr(){for(var tr={},An=arguments.length,_n=new Array(An),Bn=0;Bn<An;Bn++)_n[Bn]=arguments[Bn];return _n.forEach(function(tt){tt&&Object.keys(tt).forEach(function(Ft){var Cr=tt[Ft];Cr!==void 0&&(tr[Ft]=Cr)})}),tr}function Zr(tr,An,_n){var Bn=An&&m()(An)==="object"?An:{},tt=Bn.total,Ft=tt===void 0?0:tt,Cr=ft(Bn,["total"]),gr=Object(n.useState)(function(){return{current:"defaultCurrent"in Cr?Cr.defaultCurrent:1,pageSize:"defaultPageSize"in Cr?Cr.defaultPageSize:ir}}),Yr=f()(gr,2),en=Yr[0],cn=Yr[1],In=rr(en,Cr,{total:Ft>0?Ft:tr});if(!Ft){var Xn=Math.ceil(tr/In.pageSize);Xn<In.current&&(In.current=1)}var ii=function(){var qn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,ti=arguments.length>1?arguments[1]:void 0;cn(l()(l()({},In),{current:qn,pageSize:ti||In.pageSize}))},fi=function(qn,ti){var oi=In==null?void 0:In.pageSize;ti&&ti!==oi&&(qn=1,An&&An.onShowSizeChange&&An.onShowSizeChange(qn,ti)),An&&An.onChange&&An.onChange(qn,ti),ii(qn,ti),_n(qn,ti||oi)};return An===!1?[{},function(){}]:[l()(l()({},In),{onChange:fi}),ii]}function nn(tr,An,_n){var Bn=n.useRef({});function tt(Ft){if(!Bn.current||Bn.current.data!==tr||Bn.current.childrenColumnName!==An||Bn.current.getRowKey!==_n){var Cr=function Yr(en){en.forEach(function(cn,In){var Xn=_n(cn,In);gr.set(Xn,cn),cn&&m()(cn)==="object"&&An in cn&&Yr(cn[An]||[])})},gr=new Map;Cr(tr),Bn.current={data:tr,childrenColumnName:An,kvMap:gr,getRowKey:_n}}return Bn.current.kvMap.get(Ft)}return[tt]}var Pn=i("SA+Z"),qt=i.n(Pn),St=i("RIqP"),At=i.n(St),cr=i("HQEm"),or=i.n(cr),Tt=i("815F"),Rt=i("NvD2"),_t=i("OZM5"),Zt=i("6cGi"),Nr=i("kaz8"),Sr=i("jsC+"),br=i("BvKs"),hn=i("9yH6"),fn=i("uaoM"),ni="SELECT_ALL",mi="SELECT_INVERT";function _i(tr){return tr&&tr.fixed}function Hi(tr,An){var _n=[];return(tr||[]).forEach(function(Bn){_n.push(Bn),Bn&&m()(Bn)==="object"&&An in Bn&&(_n=[].concat(At()(_n),At()(Hi(Bn[An],An))))}),_n}function aa(tr,An){var _n=tr||{},Bn=_n.preserveSelectedRowKeys,tt=_n.selectedRowKeys,Ft=_n.getCheckboxProps,Cr=_n.onChange,gr=_n.onSelect,Yr=_n.onSelectAll,en=_n.onSelectInvert,cn=_n.onSelectMultiple,In=_n.columnWidth,Xn=_n.type,ii=_n.selections,fi=_n.fixed,ui=_n.renderCell,qn=_n.hideSelectAll,ti=_n.checkStrictly,oi=ti===void 0?!0:ti,Ci=An.prefixCls,Mi=An.data,Pi=An.pageData,ca=An.getRecordByKey,sa=An.getRowKey,Na=An.expandType,Pa=An.childrenColumnName,ya=An.locale,va=An.expandIconColumnIndex,Ca=An.getPopupContainer,Ai=n.useRef(new Map),Aa=Object(Zt.a)(tt||[],{value:tt}),za=f()(Aa,2),Or=za[0],$r=za[1],vn=Object(n.useMemo)(function(){return oi?{keyEntities:null}:Object(Tt.a)(Mi,void 0,sa)},[Mi,sa,oi]),Jr=vn.keyEntities,ar=Object(n.useMemo)(function(){return Hi(Pi,Pa)},[Pi,Pa]),Hr=Object(n.useMemo)(function(){var Ga=new Map;return ar.forEach(function(Ma,uo){var so=sa(Ma,uo),To=(Ft?Ft(Ma):null)||{};Ga.set(so,To)}),Ga},[ar,sa,Ft]),mr=Object(n.useCallback)(function(Ga){var Ma;return!!((Ma=Hr.get(sa(Ga)))===null||Ma===void 0?void 0:Ma.disabled)},[Hr,sa]),tn=Object(n.useMemo)(function(){if(oi)return[Or,[]];var Ga=Object(Rt.a)(Or,!0,Jr,mr),Ma=Ga.checkedKeys,uo=Ga.halfCheckedKeys;return[Ma,uo]},[Or,oi,Jr,mr]),sn=f()(tn,2),Hn=sn[0],Ln=sn[1],Qn=Object(n.useMemo)(function(){var Ga=Xn==="radio"?Hn.slice(0,1):Hn;return new Set(Ga)},[Hn,Xn]),yi=Object(n.useMemo)(function(){return Xn==="radio"?new Set:new Set(Ln)},[Ln,Xn]),Di=Object(n.useState)(null),Ui=f()(Di,2),ua=Ui[0],Xa=Ui[1];n.useEffect(function(){tr||$r([])},[!!tr]);var vo=Object(n.useCallback)(function(Ga){var Ma,uo;if(Bn){var so=new Map;Ma=Ga,uo=Ga.map(function(To){var No=ca(To);return!No&&Ai.current.has(To)&&(No=Ai.current.get(To)),so.set(To,No),No}),Ai.current=so}else Ma=[],uo=[],Ga.forEach(function(To){var No=ca(To);No!==void 0&&(Ma.push(To),uo.push(No))});$r(Ma),Cr&&Cr(Ma,uo)},[$r,ca,Cr,Bn]),wo=Object(n.useCallback)(function(Ga,Ma,uo,so){if(gr){var To=uo.map(function(No){return ca(No)});gr(ca(Ga),Ma,To,so)}vo(uo)},[gr,ca,vo]),ho=Object(n.useMemo)(function(){if(!ii||qn)return null;var Ga=ii===!0?[ni,mi]:ii;return Ga.map(function(Ma){return Ma===ni?{key:"all",text:ya.selectionAll,onSelect:function(){vo(Mi.map(function(so,To){return sa(so,To)}))}}:Ma===mi?{key:"invert",text:ya.selectInvert,onSelect:function(){var so=new Set(Qn);Pi.forEach(function(No,oo){var Ja=sa(No,oo);so.has(Ja)?so.delete(Ja):so.add(Ja)});var To=Array.from(so);vo(To),en&&(Object(fn.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),en(To))}}:Ma})},[ii,Qn,Pi,sa,en,vo]),yo=Object(n.useCallback)(function(Ga){if(!tr)return Ga;var Ma=new Set(Qn),uo=ar.map(sa).filter(function(Oo){return!Hr.get(Oo).disabled}),so=uo.every(function(Oo){return Ma.has(Oo)}),To=uo.some(function(Oo){return Ma.has(Oo)}),No=function(){var ss=[];so?uo.forEach(function(lo){Ma.delete(lo),ss.push(lo)}):uo.forEach(function(lo){Ma.has(lo)||(Ma.add(lo),ss.push(lo))});var Io=Array.from(Ma);vo(Io),Yr&&Yr(!so,Io.map(function(lo){return ca(lo)}),ss.map(function(lo){return ca(lo)}))},oo;if(Xn!=="radio"){var Ja;if(ho){var zo=n.createElement(br.a,{getPopupContainer:Ca},ho.map(function(Oo,ss){var Io=Oo.key,lo=Oo.text,ks=Oo.onSelect;return n.createElement(br.a.Item,{key:Io||ss,onClick:function(){ks&&ks(uo)}},lo)}));Ja=n.createElement("div",{className:"".concat(Ci,"-selection-extra")},n.createElement(Sr.a,{overlay:zo,getPopupContainer:Ca},n.createElement("span",null,n.createElement(or.a,null))))}var Eo=ar.every(function(Oo,ss){var Io=sa(Oo,ss),lo=Hr.get(Io)||{};return lo.disabled});oo=!qn&&n.createElement("div",{className:"".concat(Ci,"-selection")},n.createElement(Nr.a,{checked:!Eo&&!!ar.length&&so,indeterminate:!so&&To,onChange:No,disabled:ar.length===0||Eo}),Ja)}var Ea;Xn==="radio"?Ea=function(ss,Io,lo){var ks=sa(Io,lo),As=Ma.has(ks);return{node:n.createElement(hn.a,l()({},Hr.get(ks),{checked:As,onClick:function(ys){return ys.stopPropagation()},onChange:function(ys){Ma.has(ks)||wo(ks,!0,[ks],ys.nativeEvent)}})),checked:As}}:Ea=function(ss,Io,lo){var ks,As=sa(Io,lo),ko=Ma.has(As),ys=yi.has(As),es=Hr.get(As),ts;return Na==="nest"?(ts=ys,Object(fn.a)(!(typeof(es==null?void 0:es.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):ts=(ks=es==null?void 0:es.indeterminate)!==null&&ks!==void 0?ks:ys,{node:n.createElement(Nr.a,l()({},es,{indeterminate:ts,checked:ko,onClick:function(Ts){return Ts.stopPropagation()},onChange:function(Ts){var $s=Ts.nativeEvent,Ms=$s.shiftKey,Fs=-1,as=-1;if(Ms&&oi){var vs=new Set([ua,As]);uo.some(function(Yo,al){if(vs.has(Yo))if(Fs===-1)Fs=al;else return as=al,!0;return!1})}if(as!==-1&&Fs!==as&&oi){var Ho=uo.slice(Fs,as+1),Ns=[];ko?Ho.forEach(function(Yo){Ma.has(Yo)&&(Ns.push(Yo),Ma.delete(Yo))}):Ho.forEach(function(Yo){Ma.has(Yo)||(Ns.push(Yo),Ma.add(Yo))});var Us=Array.from(Ma);vo(Us),cn&&cn(!ko,Us.map(function(Yo){return ca(Yo)}),Ns.map(function(Yo){return ca(Yo)}))}else{var ka=Hn;if(oi){var Go=ko?Object(_t.b)(ka,As):Object(_t.a)(ka,As);wo(As,!ko,Go,$s)}else{var xl=Object(Rt.a)([].concat(At()(ka),[As]),!0,Jr,mr),ul=xl.checkedKeys,gl=xl.halfCheckedKeys,_l=ul;if(ko){var Xs=new Set(ul);Xs.delete(As),_l=Object(Rt.a)(Array.from(Xs),{checked:!1,halfCheckedKeys:gl},Jr,mr).checkedKeys}wo(As,!ko,_l,$s)}}Xa(As)}})),checked:ko}};var jo=function(ss,Io,lo){var ks=Ea(ss,Io,lo),As=ks.node,ko=ks.checked;return ui?ui(ko,Io,lo,As):As},Zo=p()({width:In,className:"".concat(Ci,"-selection-column"),title:tr.columnTitle||oo,render:jo},We,{className:"".concat(Ci,"-selection-col")});if(Na==="row"&&Ga.length&&!va){var Za=qt()(Ga),Xo=Za[0],qo=Za.slice(1),cs=fi||_i(qo[0]);return cs&&(Xo.fixed=cs),[Xo,l()(l()({},Zo),{fixed:cs})].concat(At()(qo))}return[l()(l()({},Zo),{fixed:fi||_i(Ga[0])})].concat(At()(Ga))},[sa,ar,tr,Hn,Qn,yi,In,ho,Na,ua,Hr,cn,wo,mr]);return[yo,Qn]}var Ra=i("6SEX"),it=i.n(Ra),Re=i("i8CU"),Ke=i.n(Re),Ge=i("3S7+");function et(tr,An){return"key"in tr&&tr.key!==void 0&&tr.key!==null?tr.key:tr.dataIndex?Array.isArray(tr.dataIndex)?tr.dataIndex.join("."):tr.dataIndex:An}function $e(tr,An){return An?"".concat(An,"-").concat(tr):"".concat(tr)}function st(tr,An){return typeof tr=="function"?tr(An):tr}var Lt="ascend",vt="descend";function Qt(tr){return m()(tr.sorter)==="object"&&typeof tr.sorter.multiple=="number"?tr.sorter.multiple:!1}function Fr(tr){return typeof tr=="function"?tr:tr&&m()(tr)==="object"&&tr.compare?tr.compare:!1}function Lr(tr,An){return An?tr[tr.indexOf(An)+1]:tr[0]}function Gr(tr,An,_n){var Bn=[];function tt(Ft,Cr){Bn.push({column:Ft,key:et(Ft,Cr),multiplePriority:Qt(Ft),sortOrder:Ft.sortOrder})}return(tr||[]).forEach(function(Ft,Cr){var gr=$e(Cr,_n);Ft.children?("sortOrder"in Ft&&tt(Ft,gr),Bn=[].concat(At()(Bn),At()(Gr(Ft.children,An,gr)))):Ft.sorter&&("sortOrder"in Ft?tt(Ft,gr):An&&Ft.defaultSortOrder&&Bn.push({column:Ft,key:et(Ft,gr),multiplePriority:Qt(Ft),sortOrder:Ft.defaultSortOrder}))}),Bn}function $t(tr,An,_n,Bn,tt,Ft,Cr,gr){return(An||[]).map(function(Yr,en){var cn=$e(en,gr),In=Yr;if(In.sorter){var Xn=In.sortDirections||tt,ii=In.showSorterTooltip===void 0?Cr:In.showSorterTooltip,fi=et(In,cn),ui=_n.find(function(Pa){var ya=Pa.key;return ya===fi}),qn=ui?ui.sortOrder:null,ti=Lr(Xn,qn),oi=Xn.includes(Lt)&&n.createElement(Ke.a,{className:a()("".concat(tr,"-column-sorter-up"),{active:qn===Lt})}),Ci=Xn.includes(vt)&&n.createElement(it.a,{className:a()("".concat(tr,"-column-sorter-down"),{active:qn===vt})}),Mi=Ft||{},Pi=Mi.cancelSort,ca=Mi.triggerAsc,sa=Mi.triggerDesc,Na=Pi;ti===vt?Na=sa:ti===Lt&&(Na=ca),In=l()(l()({},In),{className:a()(In.className,p()({},"".concat(tr,"-column-sort"),qn)),title:function(ya){var va=n.createElement("div",{className:"".concat(tr,"-column-sorters")},n.createElement("span",null,st(Yr.title,ya)),n.createElement("span",{className:a()("".concat(tr,"-column-sorter"),p()({},"".concat(tr,"-column-sorter-full"),oi&&Ci))},n.createElement("span",{className:"".concat(tr,"-column-sorter-inner")},oi,Ci)));return ii?n.createElement(Ge.a,{title:Na},n.createElement("div",{className:"".concat(tr,"-column-sorters-with-tooltip")},va)):va},onHeaderCell:function(ya){var va=Yr.onHeaderCell&&Yr.onHeaderCell(ya)||{},Ca=va.onClick;return va.onClick=function(Ai){Bn({column:Yr,key:fi,sortOrder:ti,multiplePriority:Qt(Yr)}),Ca&&Ca(Ai)},va.className=a()(va.className,"".concat(tr,"-column-has-sorters")),va}})}return"children"in In&&(In=l()(l()({},In),{children:$t(tr,In.children,_n,Bn,tt,Ft,Cr,cn)})),In})}function Rn(tr){var An=tr.column,_n=tr.sortOrder;return{column:An,order:_n,field:An.dataIndex,columnKey:An.key}}function wr(tr){var An=tr.filter(function(_n){var Bn=_n.sortOrder;return Bn}).map(Rn);return An.length===0&&tr.length?l()(l()({},Rn(tr[tr.length-1])),{column:void 0}):An.length<=1?An[0]||{}:An}function pn(tr,An,_n){var Bn=An.slice().sort(function(Cr,gr){return gr.multiplePriority-Cr.multiplePriority}),tt=tr.slice(),Ft=Bn.filter(function(Cr){var gr=Cr.column.sorter,Yr=Cr.sortOrder;return Fr(gr)&&Yr});return Ft.length?tt.sort(function(Cr,gr){for(var Yr=0;Yr<Ft.length;Yr+=1){var en=Ft[Yr],cn=en.column.sorter,In=en.sortOrder,Xn=Fr(cn);if(Xn&&In){var ii=Xn(Cr,gr,In);if(ii!==0)return In===Lt?ii:-ii}}return 0}).map(function(Cr){var gr=Cr[_n];return gr?l()(l()({},Cr),p()({},_n,pn(gr,An,_n))):Cr}):tt}function rn(tr){var An=tr.prefixCls,_n=tr.mergedColumns,Bn=tr.onSorterChange,tt=tr.sortDirections,Ft=tr.tableLocale,Cr=tr.showSorterTooltip,gr=n.useState(Gr(_n,!0)),Yr=f()(gr,2),en=Yr[0],cn=Yr[1],In=n.useMemo(function(){var qn=!0,ti=Gr(_n,!1);if(!ti.length)return en;var oi=[];function Ci(Pi){qn?oi.push(Pi):oi.push(l()(l()({},Pi),{sortOrder:null}))}var Mi=null;return ti.forEach(function(Pi){Mi===null?(Ci(Pi),Pi.sortOrder&&(Pi.multiplePriority===!1?qn=!1:Mi=!0)):(Mi&&Pi.multiplePriority!==!1||(qn=!1),Ci(Pi))}),oi},[_n,en]),Xn=n.useMemo(function(){var qn=In.map(function(ti){var oi=ti.column,Ci=ti.sortOrder;return{column:oi,order:Ci}});return{sortColumns:qn,sortColumn:qn[0]&&qn[0].column,sortOrder:qn[0]&&qn[0].order}},[In]);function ii(qn){var ti;qn.multiplePriority===!1||!In.length||In[0].multiplePriority===!1?ti=[qn]:ti=[].concat(At()(In.filter(function(oi){var Ci=oi.key;return Ci!==qn.key})),[qn]),cn(ti),Bn(wr(ti),ti)}var fi=function(ti){return $t(An,ti,In,ii,tt,Ft,Cr)},ui=function(){return wr(In)};return[fi,In,Xn,ui]}var Br=i("Y+p1"),Yn=i.n(Br),xi=i("5Uyt"),Li=i.n(xi),Vi=i("2/Rp"),Wi=i("ECub"),qi=function(An){return n.createElement("div",{className:An.className,onClick:function(Bn){return Bn.stopPropagation()}},An.children)},bi=qi,ba=i("sPtV"),Kn=br.a.SubMenu,un=br.a.Item;function ri(tr){return tr.some(function(An){var _n=An.children;return _n})}function Cn(tr){var An=tr.filters,_n=tr.prefixCls,Bn=tr.filteredKeys,tt=tr.filterMultiple,Ft=tr.locale;return An.length===0?n.createElement(n.Fragment,null,n.createElement(Wi.a,{image:Wi.a.PRESENTED_IMAGE_SIMPLE,description:Ft.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):An.map(function(Cr,gr){var Yr=String(Cr.value);if(Cr.children)return n.createElement(Kn,{key:Yr||gr,title:Cr.text,popupClassName:"".concat(_n,"-dropdown-submenu")},Cn({filters:Cr.children,prefixCls:_n,filteredKeys:Bn,filterMultiple:tt,locale:Ft}));var en=tt?Nr.a:hn.a;return n.createElement(un,{key:Cr.value!==void 0?Yr:gr},n.createElement(en,{checked:Bn.includes(Yr)}),n.createElement("span",null,Cr.text))})}function ki(tr){var An,_n=tr.prefixCls,Bn=tr.column,tt=tr.dropdownPrefixCls,Ft=tr.columnKey,Cr=tr.filterMultiple,gr=tr.filterState,Yr=tr.triggerFilter,en=tr.locale,cn=tr.children,In=tr.getPopupContainer,Xn=Bn.filterDropdownVisible,ii=Bn.onFilterDropdownVisibleChange,fi=n.useState(!1),ui=f()(fi,2),qn=ui[0],ti=ui[1],oi=!!(gr&&(((An=gr.filteredKeys)===null||An===void 0?void 0:An.length)||gr.forceFiltered)),Ci=function(Ui){ti(Ui),ii&&ii(Ui)},Mi=typeof Xn=="boolean"?Xn:qn,Pi=gr&&gr.filteredKeys,ca=Object(ba.a)(Pi||[]),sa=f()(ca,2),Na=sa[0],Pa=sa[1],ya=function(Ui){var ua=Ui.selectedKeys;Pa(ua)};n.useEffect(function(){ya({selectedKeys:Pi||[]})},[Pi]);var va=n.useState([]),Ca=f()(va,2),Ai=Ca[0],Aa=Ca[1],za=n.useRef(),Or=function(Ui){za.current=window.setTimeout(function(){Aa(Ui)})},$r=function(){window.clearTimeout(za.current)};n.useEffect(function(){return function(){window.clearTimeout(za.current)}},[]);var vn=function(Ui){Ci(!1);var ua=Ui&&Ui.length?Ui:null;if(ua===null&&(!gr||!gr.filteredKeys))return null;if(Yn()(ua,gr==null?void 0:gr.filteredKeys))return null;Yr({column:Bn,key:Ft,filteredKeys:ua})},Jr=function(){vn(Na())},ar=function(){Pa([]),vn([])},Hr=function(Ui){Ui&&Pi!==void 0&&Pa(Pi||[]),Ci(Ui),!Ui&&!Bn.filterDropdown&&Jr()},mr=a()(p()({},"".concat(tt,"-menu-without-submenu"),!ri(Bn.filters||[]))),tn;if(typeof Bn.filterDropdown=="function")tn=Bn.filterDropdown({prefixCls:"".concat(tt,"-custom"),setSelectedKeys:function(Ui){return ya({selectedKeys:Ui})},selectedKeys:Na(),confirm:Jr,clearFilters:ar,filters:Bn.filters,visible:Mi});else if(Bn.filterDropdown)tn=Bn.filterDropdown;else{var sn=Na()||[];tn=n.createElement(n.Fragment,null,n.createElement(br.a,{multiple:Cr,prefixCls:"".concat(tt,"-menu"),className:mr,onClick:$r,onSelect:ya,onDeselect:ya,selectedKeys:sn,getPopupContainer:In,openKeys:Ai,onOpenChange:Or},Cn({filters:Bn.filters||[],prefixCls:_n,filteredKeys:Na(),filterMultiple:Cr,locale:en})),n.createElement("div",{className:"".concat(_n,"-dropdown-btns")},n.createElement(Vi.a,{type:"link",size:"small",disabled:sn.length===0,onClick:ar},en.filterReset),n.createElement(Vi.a,{type:"primary",size:"small",onClick:Jr},en.filterConfirm)))}var Hn=n.createElement(bi,{className:"".concat(_n,"-dropdown")},tn),Ln;typeof Bn.filterIcon=="function"?Ln=Bn.filterIcon(oi):Bn.filterIcon?Ln=Bn.filterIcon:Ln=n.createElement(Li.a,null);var Qn=n.useContext(Ye.b),yi=Qn.direction;return n.createElement("div",{className:a()("".concat(_n,"-column"))},n.createElement("span",{className:"".concat(_n,"-column-title")},cn),n.createElement("span",{className:a()("".concat(_n,"-trigger-container"),p()({},"".concat(_n,"-trigger-container-open"),Mi)),onClick:function(Ui){Ui.stopPropagation()}},n.createElement(Sr.a,{overlay:Hn,trigger:["click"],visible:Mi,onVisibleChange:Hr,getPopupContainer:In,placement:yi==="rtl"?"bottomLeft":"bottomRight"},n.createElement("span",{role:"button",tabIndex:-1,className:a()("".concat(_n,"-trigger"),{active:oi})},Ln))))}var Tn=ki;function oa(tr,An,_n){var Bn=[];return(tr||[]).forEach(function(tt,Ft){var Cr=$e(Ft,_n);"children"in tt?Bn=[].concat(At()(Bn),At()(oa(tt.children,An,Cr))):(tt.filters||"filterDropdown"in tt||"onFilter"in tt)&&("filteredValue"in tt?Bn.push({column:tt,key:et(tt,Cr),filteredKeys:tt.filteredValue,forceFiltered:tt.filtered}):Bn.push({column:tt,key:et(tt,Cr),filteredKeys:An&&tt.defaultFilteredValue?tt.defaultFilteredValue:void 0,forceFiltered:tt.filtered}))}),Bn}function Ti(tr,An,_n,Bn,tt,Ft,Cr,gr){return _n.map(function(Yr,en){var cn=$e(en,gr),In=Yr.filterMultiple,Xn=In===void 0?!0:In;if(Yr.filters||"filterDropdown"in Yr){var ii=et(Yr,cn),fi=Bn.find(function(ui){var qn=ui.key;return ii===qn});return l()(l()({},Yr),{title:function(qn){return n.createElement(Tn,{prefixCls:"".concat(tr,"-filter"),dropdownPrefixCls:An,column:Yr,columnKey:ii,filterState:fi,filterMultiple:Xn,triggerFilter:tt,locale:Cr,getPopupContainer:Ft},st(Yr.title,qn))}})}return"children"in Yr?l()(l()({},Yr),{children:Ti(tr,An,Yr.children,Bn,tt,Ft,Cr,cn)}):Yr})}function li(tr){var An={};return tr.forEach(function(_n){var Bn=_n.key,tt=_n.filteredKeys;An[Bn]=tt||null}),An}function Ri(tr){var An=[];return(tr||[]).forEach(function(_n){var Bn=_n.value,tt=_n.children;An.push(Bn),tt&&(An=[].concat(At()(An),At()(Ri(tt))))}),An}function Da(tr,An){return An.reduce(function(_n,Bn){var tt=Bn.column,Ft=tt.onFilter,Cr=tt.filters,gr=Bn.filteredKeys;return Ft&&gr&&gr.length?_n.filter(function(Yr){return gr.some(function(en){var cn=Ri(Cr),In=cn.findIndex(function(ii){return String(ii)===String(en)}),Xn=In!==-1?cn[In]:en;return Ft(Xn,Yr)})}):_n},tr)}function Un(tr){var An=tr.prefixCls,_n=tr.dropdownPrefixCls,Bn=tr.mergedColumns,tt=tr.onFilterChange,Ft=tr.getPopupContainer,Cr=tr.locale,gr=n.useState(oa(Bn,!0)),Yr=f()(gr,2),en=Yr[0],cn=Yr[1],In=n.useMemo(function(){var ui=oa(Bn,!1);return ui.every(function(qn){var ti=qn.filteredKeys;return ti===void 0})?en:ui},[Bn,en]),Xn=n.useCallback(function(){return li(In)},[In]),ii=function(qn){var ti=In.filter(function(oi){var Ci=oi.key;return Ci!==qn.key});ti.push(qn),cn(ti),tt(li(ti),ti)},fi=function(qn){return Ti(An,_n,qn,In,ii,Ft,Cr)};return[fi,In,Xn]}var on=Un;function Zn(tr,An){return tr.map(function(_n){var Bn=l()({},_n);return Bn.title=st(_n.title,An),"children"in Bn&&(Bn.children=Zn(Bn.children,An)),Bn})}function hi(tr){var An=n.useCallback(function(_n){return Zn(_n,tr)},[tr]);return[An]}function Ni(tr){return function(_n){var Bn,tt=_n.prefixCls,Ft=_n.onExpand,Cr=_n.record,gr=_n.expanded,Yr=_n.expandable,en="".concat(tt,"-row-expand-icon");return n.createElement("button",{type:"button",onClick:function(In){Ft(Cr,In),In.stopPropagation()},className:a()(en,(Bn={},p()(Bn,"".concat(en,"-spaced"),!Yr),p()(Bn,"".concat(en,"-expanded"),Yr&&gr),p()(Bn,"".concat(en,"-collapsed"),Yr&&!gr),Bn)),"aria-label":gr?tr.collapse:tr.expand})}}var zi=Ni,ea=i("zAh6"),Fi=i("ZvpZ"),ia=Fi.a,Va=i("3Nzz");function fo(tr){return null}var ja=fo;function Ka(tr){return null}var Gi=Ka,mn=i("5OYt"),$i=[];function io(tr){var An,_n=tr.prefixCls,Bn=tr.className,tt=tr.style,Ft=tr.size,Cr=tr.bordered,gr=tr.dropdownPrefixCls,Yr=tr.dataSource,en=tr.pagination,cn=tr.rowSelection,In=tr.rowKey,Xn=tr.rowClassName,ii=tr.columns,fi=tr.children,ui=tr.childrenColumnName,qn=tr.onChange,ti=tr.getPopupContainer,oi=tr.loading,Ci=tr.expandIcon,Mi=tr.expandable,Pi=tr.expandedRowRender,ca=tr.expandIconColumnIndex,sa=tr.indentSize,Na=tr.scroll,Pa=tr.sortDirections,ya=tr.locale,va=tr.showSorterTooltip,Ca=va===void 0?!0:va;Object(fn.a)(!(typeof In=="function"&&In.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var Ai=Object(mn.a)(),Aa=n.useMemo(function(){var Xs=new Set(Object.keys(Ai).filter(function(Yo){return Ai[Yo]}));return(ii||It(fi)).filter(function(Yo){return!Yo.responsive||Yo.responsive.some(function(al){return Xs.has(al)})})},[fi,ii,Ai]),za=Object(s.default)(tr,["className","style","columns"]),Or=n.useContext(Va.b),$r=n.useContext(Ye.b),vn=$r.locale,Jr=vn===void 0?ia:vn,ar=$r.renderEmpty,Hr=$r.direction,mr=Ft||Or,tn=l()(l()({},Jr.Table),ya),sn=Yr||$i,Hn=n.useContext(Ye.b),Ln=Hn.getPrefixCls,Qn=Ln("table",_n),yi=Ln("dropdown",gr),Di=l()({childrenColumnName:ui,expandIconColumnIndex:ca},Mi),Ui=Di.childrenColumnName,ua=Ui===void 0?"children":Ui,Xa=n.useMemo(function(){return sn.some(function(Xs){var Yo;return(Yo=Xs)===null||Yo===void 0?void 0:Yo[ua]})?"nest":Pi||Mi&&Mi.expandedRowRender?"row":null},[sn]),vo={body:n.useRef()},wo=n.useMemo(function(){return typeof In=="function"?In:function(Xs){var Yo;return(Yo=Xs)===null||Yo===void 0?void 0:Yo[In]}},[In]),ho=nn(sn,ua,wo),yo=f()(ho,1),Ga=yo[0],Ma={},uo=function(Yo,al){var Wl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ps=l()(l()({},Ma),Yo);Wl&&(Ma.resetPagination(),Ps.pagination.current&&(Ps.pagination.current=1),en&&en.onChange&&en.onChange(1,Ps.pagination.pageSize)),Na&&Na.scrollToFirstRowOnChange!==!1&&vo.body.current&&Object(ea.a)(0,{getContainer:function(){return vo.body.current}}),qn&&qn(Ps.pagination,Ps.filters,Ps.sorter,{currentDataSource:Da(pn(sn,Ps.sorterStates,ua),Ps.filterStates),action:al})},so=function(Yo,al){uo({sorter:Yo,sorterStates:al},"sort",!1)},To=rn({prefixCls:Qn,mergedColumns:Aa,onSorterChange:so,sortDirections:Pa||["ascend","descend"],tableLocale:tn,showSorterTooltip:Ca}),No=f()(To,4),oo=No[0],Ja=No[1],zo=No[2],Eo=No[3],Ea=n.useMemo(function(){return pn(sn,Ja,ua)},[sn,Ja]);Ma.sorter=Eo(),Ma.sorterStates=Ja;var jo=function(Yo,al){uo({filters:Yo,filterStates:al},"filter",!0)},Zo=on({prefixCls:Qn,locale:tn,dropdownPrefixCls:yi,mergedColumns:Aa,onFilterChange:jo,getPopupContainer:ti}),Za=f()(Zo,3),Xo=Za[0],qo=Za[1],cs=Za[2],Oo=Da(Ea,qo);Ma.filters=cs(),Ma.filterStates=qo;var ss=n.useMemo(function(){return l()({},zo)},[zo]),Io=hi(ss),lo=f()(Io,1),ks=lo[0],As=function(Yo,al){uo({pagination:l()(l()({},Ma.pagination),{current:Yo,pageSize:al})},"paginate")},ko=Zr(Oo.length,en,As),ys=f()(ko,2),es=ys[0],ts=ys[1];Ma.pagination=en===!1?{}:Yt(en,es),Ma.resetPagination=ts;var _s=n.useMemo(function(){if(en===!1||!es.pageSize)return Oo;var Xs=es.current,Yo=Xs===void 0?1:Xs,al=es.total,Wl=es.pageSize,Ps=Wl===void 0?ir:Wl;return Oo.length<al?Oo.length>Ps?(Object(fn.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."),Oo.slice((Yo-1)*Ps,Yo*Ps)):Oo:Oo.slice((Yo-1)*Ps,Yo*Ps)},[!!en,Oo,es&&es.current,es&&es.pageSize,es&&es.total]),Ts=aa(cn,{prefixCls:Qn,data:Oo,pageData:_s,getRowKey:wo,getRecordByKey:Ga,expandType:Xa,childrenColumnName:ua,locale:tn,expandIconColumnIndex:Di.expandIconColumnIndex,getPopupContainer:ti}),$s=f()(Ts,2),Ms=$s[0],Fs=$s[1],as=function(Yo,al,Wl){var Ps;return typeof Xn=="function"?Ps=a()(Xn(Yo,al,Wl)):Ps=a()(Xn),a()(p()({},"".concat(Qn,"-row-selected"),Fs.has(wo(Yo,al))),Ps)};Di.__PARENT_RENDER_ICON__=Di.expandIcon,Di.expandIcon=Di.expandIcon||Ci||zi(tn),Xa==="nest"&&Di.expandIconColumnIndex===void 0?Di.expandIconColumnIndex=cn?1:0:Di.expandIconColumnIndex>0&&cn&&(Di.expandIconColumnIndex-=1),typeof Di.indentSize!="number"&&(Di.indentSize=typeof sa=="number"?sa:15);var vs=n.useCallback(function(Xs){return ks(Ms(Xo(oo(Xs))))},[oo,Xo,Ms]),Ho,Ns;if(en!==!1){var Us;es.size?Us=es.size:Us=mr==="small"||mr==="middle"?"small":void 0;var ka=function(Yo){return n.createElement(Ue.a,l()({className:"".concat(Qn,"-pagination ").concat(Qn,"-pagination-").concat(Yo)},es,{size:Us}))},Go=Hr==="rtl"?"left":"right";if(es.position!==null&&Array.isArray(es.position)){var xl=es.position.find(function(Xs){return Xs.indexOf("top")!==-1}),ul=es.position.find(function(Xs){return Xs.indexOf("bottom")!==-1});!xl&&!ul?Ns=ka(Go):(xl&&(Ho=ka(xl.toLowerCase().replace("top",""))),ul&&(Ns=ka(ul.toLowerCase().replace("bottom",""))))}else Ns=ka(Go)}var gl;typeof oi=="boolean"?gl={spinning:oi}:m()(oi)==="object"&&(gl=l()({spinning:!0},oi));var _l=a()("".concat(Qn,"-wrapper"),Bn,p()({},"".concat(Qn,"-wrapper-rtl"),Hr==="rtl"));return n.createElement("div",{className:_l,style:tt},n.createElement(Le.a,l()({spinning:!1},gl),Ho,n.createElement(ct,l()({},za,{columns:Aa,direction:Hr,expandable:Di,prefixCls:Qn,className:a()((An={},p()(An,"".concat(Qn,"-middle"),mr==="middle"),p()(An,"".concat(Qn,"-small"),mr==="small"),p()(An,"".concat(Qn,"-bordered"),Cr),p()(An,"".concat(Qn,"-empty"),sn.length===0),An)),data:_s,rowKey:wo,rowClassName:as,emptyText:ya&&ya.emptyText||ar("Table"),internalHooks:Vn,internalRefs:vo,transformColumns:vs})),Oo&&Oo.length>0&&Ns))}io.defaultProps={rowKey:"key"},io.SELECTION_ALL=ni,io.SELECTION_INVERT=mi,io.Column=ja,io.ColumnGroup=Gi,io.Summary=gn;var La=io,ao=R.a=La},wDdD:function(U,R,i){var y=i("ProS"),m=i("bYtY");i("98bh"),i("GrNh");var E=i("d4KN"),p=i("mOdp"),v=i("KS52"),f=i("0/Rx");E("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),y.registerVisual(p("pie")),y.registerLayout(m.curry(v,"pie")),y.registerProcessor(f("pie"))},wOnQ:function(U,R,i){/*!
|
|
|
* html2canvas 1.4.0 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(y,m){U.exports=m()})(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 y=function(ge,De){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ze,ut){ze.__proto__=ut}||function(ze,ut){for(var Gt in ut)Object.prototype.hasOwnProperty.call(ut,Gt)&&(ze[Gt]=ut[Gt])},y(ge,De)};function m(hr,ge){if(typeof ge!="function"&&ge!==null)throw new TypeError("Class extends value "+String(ge)+" is not a constructor or null");y(hr,ge);function De(){this.constructor=hr}hr.prototype=ge===null?Object.create(ge):(De.prototype=ge.prototype,new De)}var E=function(){return E=Object.assign||function(De){for(var ze,ut=1,Gt=arguments.length;ut<Gt;ut++){ze=arguments[ut];for(var Wr in ze)Object.prototype.hasOwnProperty.call(ze,Wr)&&(De[Wr]=ze[Wr])}return De},E.apply(this,arguments)};function p(hr,ge,De,ze){function ut(Gt){return Gt instanceof De?Gt:new De(function(Wr){Wr(Gt)})}return new(De||(De=Promise))(function(Gt,Wr){function ln(ji){try{zn(ze.next(ji))}catch(Oi){Wr(Oi)}}function Sn(ji){try{zn(ze.throw(ji))}catch(Oi){Wr(Oi)}}function zn(ji){ji.done?Gt(ji.value):ut(ji.value).then(ln,Sn)}zn((ze=ze.apply(hr,ge||[])).next())})}function v(hr,ge){var De={label:0,sent:function(){if(Gt[0]&1)throw Gt[1];return Gt[1]},trys:[],ops:[]},ze,ut,Gt,Wr;return Wr={next:ln(0),throw:ln(1),return:ln(2)},typeof Symbol=="function"&&(Wr[Symbol.iterator]=function(){return this}),Wr;function ln(zn){return function(ji){return Sn([zn,ji])}}function Sn(zn){if(ze)throw new TypeError("Generator is already executing.");for(;De;)try{if(ze=1,ut&&(Gt=zn[0]&2?ut.return:zn[0]?ut.throw||((Gt=ut.return)&&Gt.call(ut),0):ut.next)&&!(Gt=Gt.call(ut,zn[1])).done)return Gt;(ut=0,Gt)&&(zn=[zn[0]&2,Gt.value]);switch(zn[0]){case 0:case 1:Gt=zn;break;case 4:return De.label++,{value:zn[1],done:!1};case 5:De.label++,ut=zn[1],zn=[0];continue;case 7:zn=De.ops.pop(),De.trys.pop();continue;default:if(!(Gt=De.trys,Gt=Gt.length>0&&Gt[Gt.length-1])&&(zn[0]===6||zn[0]===2)){De=0;continue}if(zn[0]===3&&(!Gt||zn[1]>Gt[0]&&zn[1]<Gt[3])){De.label=zn[1];break}if(zn[0]===6&&De.label<Gt[1]){De.label=Gt[1],Gt=zn;break}if(Gt&&De.label<Gt[2]){De.label=Gt[2],De.ops.push(zn);break}Gt[2]&&De.ops.pop(),De.trys.pop();continue}zn=ge.call(hr,De)}catch(ji){zn=[6,ji],ut=0}finally{ze=Gt=0}if(zn[0]&5)throw zn[1];return{value:zn[0]?zn[1]:void 0,done:!0}}}function f(hr,ge,De){if(De||arguments.length===2)for(var ze=0,ut=ge.length,Gt;ze<ut;ze++)(Gt||!(ze in ge))&&(Gt||(Gt=Array.prototype.slice.call(ge,0,ze)),Gt[ze]=ge[ze]);return hr.concat(Gt||ge)}for(var d=function(){function hr(ge,De,ze,ut){this.left=ge,this.top=De,this.width=ze,this.height=ut}return hr.prototype.add=function(ge,De,ze,ut){return new hr(this.left+ge,this.top+De,this.width+ze,this.height+ut)},hr.fromClientRect=function(ge,De){return new hr(De.left+ge.windowBounds.left,De.top+ge.windowBounds.top,De.width,De.height)},hr.fromDOMRectList=function(ge,De){var ze=Array.from(De).find(function(ut){return ut.width!==0});return ze?new hr(ze.x+ge.windowBounds.left,ze.y+ge.windowBounds.top,ze.width,ze.height):hr.EMPTY},hr.EMPTY=new hr(0,0,0,0),hr}(),l=function(ge,De){return d.fromClientRect(ge,De.getBoundingClientRect())},n=function(ge){var De=ge.body,ze=ge.documentElement;if(!De||!ze)throw new Error("Unable to get document size");var ut=Math.max(Math.max(De.scrollWidth,ze.scrollWidth),Math.max(De.offsetWidth,ze.offsetWidth),Math.max(De.clientWidth,ze.clientWidth)),Gt=Math.max(Math.max(De.scrollHeight,ze.scrollHeight),Math.max(De.offsetHeight,ze.offsetHeight),Math.max(De.clientHeight,ze.clientHeight));return new d(0,0,ut,Gt)},t=function(ge){for(var De=[],ze=0,ut=ge.length;ze<ut;){var Gt=ge.charCodeAt(ze++);if(Gt>=55296&&Gt<=56319&&ze<ut){var Wr=ge.charCodeAt(ze++);(Wr&64512)===56320?De.push(((Gt&1023)<<10)+(Wr&1023)+65536):(De.push(Gt),ze--)}else De.push(Gt)}return De},a=function(){for(var ge=[],De=0;De<arguments.length;De++)ge[De]=arguments[De];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ge);var ze=ge.length;if(!ze)return"";for(var ut=[],Gt=-1,Wr="";++Gt<ze;){var ln=ge[Gt];ln<=65535?ut.push(ln):(ln-=65536,ut.push((ln>>10)+55296,ln%1024+56320)),(Gt+1===ze||ut.length>16384)&&(Wr+=String.fromCharCode.apply(String,ut),ut.length=0)}return Wr},s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),c=0;c<s.length;c++)r[s.charCodeAt(c)]=c;var e=function(ge){var De=ge.length*.75,ze=ge.length,ut,Gt=0,Wr,ln,Sn,zn;ge[ge.length-1]==="="&&(De--,ge[ge.length-2]==="="&&De--);var ji=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(De):new Array(De),Oi=Array.isArray(ji)?ji:new Uint8Array(ji);for(ut=0;ut<ze;ut+=4)Wr=r[ge.charCodeAt(ut)],ln=r[ge.charCodeAt(ut+1)],Sn=r[ge.charCodeAt(ut+2)],zn=r[ge.charCodeAt(ut+3)],Oi[Gt++]=Wr<<2|ln>>4,Oi[Gt++]=(ln&15)<<4|Sn>>2,Oi[Gt++]=(Sn&3)<<6|zn&63;return ji},o=function(ge){for(var De=ge.length,ze=[],ut=0;ut<De;ut+=2)ze.push(ge[ut+1]<<8|ge[ut]);return ze},u=function(ge){for(var De=ge.length,ze=[],ut=0;ut<De;ut+=4)ze.push(ge[ut+3]<<24|ge[ut+2]<<16|ge[ut+1]<<8|ge[ut]);return ze},h=5,g=6+5,A=2,w=g-h,x=65536>>h,C=1<<h,T=C-1,O=1024>>h,S=x+O,_=S,L=2048>>6,D=_+L,F=65536>>g,j=1<<w,k=j-1,K=function(ge,De,ze){return ge.slice?ge.slice(De,ze):new Uint16Array(Array.prototype.slice.call(ge,De,ze))},Z=function(ge,De,ze){return ge.slice?ge.slice(De,ze):new Uint32Array(Array.prototype.slice.call(ge,De,ze))},B=function(ge){var De=e(ge),ze=Array.isArray(De)?u(De):new Uint32Array(De),ut=Array.isArray(De)?o(De):new Uint16Array(De),Gt=24,Wr=K(ut,Gt/2,ze[4]/2),ln=ze[5]===2?K(ut,(Gt+ze[4])/2):Z(ze,Math.ceil((Gt+ze[4])/4));return new V(ze[0],ze[1],ze[2],ze[3],Wr,ln)},V=function(){function hr(ge,De,ze,ut,Gt,Wr){this.initialValue=ge,this.errorValue=De,this.highStart=ze,this.highValueIndex=ut,this.index=Gt,this.data=Wr}return hr.prototype.get=function(ge){var De;if(ge>=0){if(ge<55296||ge>56319&&ge<=65535)return De=this.index[ge>>h],De=(De<<A)+(ge&T),this.data[De];if(ge<=65535)return De=this.index[x+(ge-55296>>h)],De=(De<<A)+(ge&T),this.data[De];if(ge<this.highStart)return De=D-F+(ge>>g),De=this.index[De],De+=ge>>h&k,De=this.index[De],De=(De<<A)+(ge&T),this.data[De];if(ge<=1114111)return this.data[this.highValueIndex]}return this.errorValue},hr}(),z="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==",X=50,W=1,q=2,Y=3,re=4,ne=5,we=7,ie=8,me=9,_e=10,Te=11,We=12,Ae=13,je=14,ee=15,he=16,Ze=17,oe=18,Q=19,G=20,te=21,xe=22,fe=23,Be=24,Ne=25,de=26,ve=27,Me=28,qe=29,gt=30,ht=31,Pe=32,It=33,nt=34,Nt=35,Bt=36,Pt=37,jt=38,er=39,at=40,Ce=41,ue=42,Dt=43,rt=[9001,65288],ye="!",Xt="\xD7",pr="\xF7",mt=B(z),nr=[gt,Bt],yr=[W,q,Y,ne],gn=[_e,ie],_r=[ve,de],ur=yr.concat(gn),zt=[jt,er,at,nt,Nt],bt=[ee,Ae],ot=function(ge,De){De===void 0&&(De="strict");var ze=[],ut=[],Gt=[];return ge.forEach(function(Wr,ln){var Sn=mt.get(Wr);if(Sn>X?(Gt.push(!0),Sn-=X):Gt.push(!1),["normal","auto","loose"].indexOf(De)!==-1&&[8208,8211,12316,12448].indexOf(Wr)!==-1)return ut.push(ln),ze.push(he);if(Sn===re||Sn===Te){if(ln===0)return ut.push(ln),ze.push(gt);var zn=ze[ln-1];return ur.indexOf(zn)===-1?(ut.push(ut[ln-1]),ze.push(zn)):(ut.push(ln),ze.push(gt))}if(ut.push(ln),Sn===ht)return ze.push(De==="strict"?te:Pt);if(Sn===ue)return ze.push(gt);if(Sn===qe)return ze.push(gt);if(Sn===Dt)return Wr>=131072&&Wr<=196605||Wr>=196608&&Wr<=262141?ze.push(Pt):ze.push(gt);ze.push(Sn)}),[ut,ze,Gt]},lr=function(ge,De,ze,ut){var Gt=ut[ze];if(Array.isArray(ge)?ge.indexOf(Gt)!==-1:ge===Gt)for(var Wr=ze;Wr<=ut.length;){Wr++;var ln=ut[Wr];if(ln===De)return!0;if(ln!==_e)break}if(Gt===_e)for(var Wr=ze;Wr>0;){Wr--;var Sn=ut[Wr];if(Array.isArray(ge)?ge.indexOf(Sn)!==-1:ge===Sn)for(var zn=ze;zn<=ut.length;){zn++;var ln=ut[zn];if(ln===De)return!0;if(ln!==_e)break}if(Sn!==_e)break}return!1},jr=function(ge,De){for(var ze=ge;ze>=0;){var ut=De[ze];if(ut===_e)ze--;else return ut}return 0},Rr=function(ge,De,ze,ut,Gt){if(ze[ut]===0)return Xt;var Wr=ut-1;if(Array.isArray(Gt)&&Gt[Wr]===!0)return Xt;var ln=Wr-1,Sn=Wr+1,zn=De[Wr],ji=ln>=0?De[ln]:0,Oi=De[Sn];if(zn===q&&Oi===Y)return Xt;if(yr.indexOf(zn)!==-1)return ye;if(yr.indexOf(Oi)!==-1)return Xt;if(gn.indexOf(Oi)!==-1)return Xt;if(jr(Wr,De)===ie)return pr;if(mt.get(ge[Wr])===Te)return Xt;if((zn===Pe||zn===It)&&mt.get(ge[Sn])===Te)return Xt;if(zn===we||Oi===we)return Xt;if(zn===me)return Xt;if([_e,Ae,ee].indexOf(zn)===-1&&Oi===me)return Xt;if([Ze,oe,Q,Be,Me].indexOf(Oi)!==-1)return Xt;if(jr(Wr,De)===xe)return Xt;if(lr(fe,xe,Wr,De))return Xt;if(lr([Ze,oe],te,Wr,De))return Xt;if(lr(We,We,Wr,De))return Xt;if(zn===_e)return pr;if(zn===fe||Oi===fe)return Xt;if(Oi===he||zn===he)return pr;if([Ae,ee,te].indexOf(Oi)!==-1||zn===je)return Xt;if(ji===Bt&&bt.indexOf(zn)!==-1)return Xt;if(zn===Me&&Oi===Bt)return Xt;if(Oi===G)return Xt;if(nr.indexOf(Oi)!==-1&&zn===Ne||nr.indexOf(zn)!==-1&&Oi===Ne)return Xt;if(zn===ve&&[Pt,Pe,It].indexOf(Oi)!==-1||[Pt,Pe,It].indexOf(zn)!==-1&&Oi===de)return Xt;if(nr.indexOf(zn)!==-1&&_r.indexOf(Oi)!==-1||_r.indexOf(zn)!==-1&&nr.indexOf(Oi)!==-1)return Xt;if([ve,de].indexOf(zn)!==-1&&(Oi===Ne||[xe,ee].indexOf(Oi)!==-1&&De[Sn+1]===Ne)||[xe,ee].indexOf(zn)!==-1&&Oi===Ne||zn===Ne&&[Ne,Me,Be].indexOf(Oi)!==-1)return Xt;if([Ne,Me,Be,Ze,oe].indexOf(Oi)!==-1)for(var Zi=Wr;Zi>=0;){var po=De[Zi];if(po===Ne)return Xt;if([Me,Be].indexOf(po)!==-1)Zi--;else break}if([ve,de].indexOf(Oi)!==-1)for(var Zi=[Ze,oe].indexOf(zn)!==-1?ln:Wr;Zi>=0;){var po=De[Zi];if(po===Ne)return Xt;if([Me,Be].indexOf(po)!==-1)Zi--;else break}if(jt===zn&&[jt,er,nt,Nt].indexOf(Oi)!==-1||[er,nt].indexOf(zn)!==-1&&[er,at].indexOf(Oi)!==-1||[at,Nt].indexOf(zn)!==-1&&Oi===at)return Xt;if(zt.indexOf(zn)!==-1&&[G,de].indexOf(Oi)!==-1||zt.indexOf(Oi)!==-1&&zn===ve)return Xt;if(nr.indexOf(zn)!==-1&&nr.indexOf(Oi)!==-1)return Xt;if(zn===Be&&nr.indexOf(Oi)!==-1)return Xt;if(nr.concat(Ne).indexOf(zn)!==-1&&Oi===xe&&rt.indexOf(ge[Sn])===-1||nr.concat(Ne).indexOf(Oi)!==-1&&zn===oe)return Xt;if(zn===Ce&&Oi===Ce){for(var Ao=ze[Wr],Fo=1;Ao>0&&(Ao--,De[Ao]===Ce);)Fo++;if(Fo%2!==0)return Xt}return zn===Pe&&Oi===It?Xt:pr},xr=function(ge,De){De||(De={lineBreak:"normal",wordBreak:"normal"});var ze=ot(ge,De.lineBreak),ut=ze[0],Gt=ze[1],Wr=ze[2];(De.wordBreak==="break-all"||De.wordBreak==="break-word")&&(Gt=Gt.map(function(Sn){return[Ne,gt,ue].indexOf(Sn)!==-1?Pt:Sn}));var ln=De.wordBreak==="keep-all"?Wr.map(function(Sn,zn){return Sn&&ge[zn]>=19968&&ge[zn]<=40959}):void 0;return[ut,Gt,ln]},Vn=function(){function hr(ge,De,ze,ut){this.codePoints=ge,this.required=De===ye,this.start=ze,this.end=ut}return hr.prototype.slice=function(){return a.apply(void 0,this.codePoints.slice(this.start,this.end))},hr}(),bn=function(ge,De){var ze=t(ge),ut=xr(ze,De),Gt=ut[0],Wr=ut[1],ln=ut[2],Sn=ze.length,zn=0,ji=0;return{next:function(){if(ji>=Sn)return{done:!0,value:null};for(var Zi=Xt;ji<Sn&&(Zi=Rr(ze,Wr,Gt,++ji,ln))===Xt;);if(Zi!==Xt||ji===Sn){var po=new Vn(ze,Zi,zn,ji);return zn=ji,{value:po,done:!1}}return{done:!0,value:null}}}},di=1<<0,lt=1<<1,ct=1<<2,Le=1<<3,Ue=10,Ye=47,ft=92,ir=9,Yt=32,rr=34,Zr=61,nn=35,Pn=36,qt=37,St=39,At=40,cr=41,or=95,Tt=45,Rt=33,_t=60,Zt=62,Nr=64,Sr=91,br=93,hn=61,fn=123,ni=63,mi=125,_i=124,Hi=126,aa=128,Ra=65533,it=42,Re=43,Ke=44,Ge=58,et=59,$e=46,st=0,Lt=8,vt=11,Qt=14,Fr=31,Lr=127,Gr=-1,$t=48,Rn=97,wr=101,pn=102,rn=117,Br=122,Yn=65,xi=69,Li=70,Vi=85,Wi=90,qi=function(ge){return ge>=$t&&ge<=57},bi=function(ge){return ge>=55296&&ge<=57343},ba=function(ge){return qi(ge)||ge>=Yn&&ge<=Li||ge>=Rn&&ge<=pn},Kn=function(ge){return ge>=Rn&&ge<=Br},un=function(ge){return ge>=Yn&&ge<=Wi},ri=function(ge){return Kn(ge)||un(ge)},Cn=function(ge){return ge>=aa},ki=function(ge){return ge===Ue||ge===ir||ge===Yt},Tn=function(ge){return ri(ge)||Cn(ge)||ge===or},oa=function(ge){return Tn(ge)||qi(ge)||ge===Tt},Ti=function(ge){return ge>=st&&ge<=Lt||ge===vt||ge>=Qt&&ge<=Fr||ge===Lr},li=function(ge,De){return ge!==ft?!1:De!==Ue},Ri=function(ge,De,ze){return ge===Tt?Tn(De)||li(De,ze):Tn(ge)?!0:!!(ge===ft&&li(ge,De))},Da=function(ge,De,ze){return ge===Re||ge===Tt?qi(De)?!0:De===$e&&qi(ze):ge===$e?qi(De):qi(ge)},Un=function(ge){var De=0,ze=1;(ge[De]===Re||ge[De]===Tt)&&(ge[De]===Tt&&(ze=-1),De++);for(var ut=[];qi(ge[De]);)ut.push(ge[De++]);var Gt=ut.length?parseInt(a.apply(void 0,ut),10):0;ge[De]===$e&&De++;for(var Wr=[];qi(ge[De]);)Wr.push(ge[De++]);var ln=Wr.length,Sn=ln?parseInt(a.apply(void 0,Wr),10):0;(ge[De]===xi||ge[De]===wr)&&De++;var zn=1;(ge[De]===Re||ge[De]===Tt)&&(ge[De]===Tt&&(zn=-1),De++);for(var ji=[];qi(ge[De]);)ji.push(ge[De++]);var Oi=ji.length?parseInt(a.apply(void 0,ji),10):0;return ze*(Gt+Sn*Math.pow(10,-ln))*Math.pow(10,zn*Oi)},on={type:2},Zn={type:3},hi={type:4},Ni={type:13},zi={type:8},ea={type:21},Fi={type:9},ia={type:10},Va={type:11},fo={type:12},ja={type:14},Ka={type:23},Gi={type:1},mn={type:25},$i={type:24},io={type:26},La={type:27},ao={type:28},tr={type:29},An={type:31},_n={type:32},Bn=function(){function hr(){this._value=[]}return hr.prototype.write=function(ge){this._value=this._value.concat(t(ge))},hr.prototype.read=function(){for(var ge=[],De=this.consumeToken();De!==_n;)ge.push(De),De=this.consumeToken();return ge},hr.prototype.consumeToken=function(){var ge=this.consumeCodePoint();switch(ge){case rr:return this.consumeStringToken(rr);case nn:var De=this.peekCodePoint(0),ze=this.peekCodePoint(1),ut=this.peekCodePoint(2);if(oa(De)||li(ze,ut)){var Gt=Ri(De,ze,ut)?lt:di,Wr=this.consumeName();return{type:5,value:Wr,flags:Gt}}break;case Pn:if(this.peekCodePoint(0)===Zr)return this.consumeCodePoint(),Ni;break;case St:return this.consumeStringToken(St);case At:return on;case cr:return Zn;case it:if(this.peekCodePoint(0)===Zr)return this.consumeCodePoint(),ja;break;case Re:if(Da(ge,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ge),this.consumeNumericToken();break;case Ke:return hi;case Tt:var ln=ge,Sn=this.peekCodePoint(0),zn=this.peekCodePoint(1);if(Da(ln,Sn,zn))return this.reconsumeCodePoint(ge),this.consumeNumericToken();if(Ri(ln,Sn,zn))return this.reconsumeCodePoint(ge),this.consumeIdentLikeToken();if(Sn===Tt&&zn===Zt)return this.consumeCodePoint(),this.consumeCodePoint(),$i;break;case $e:if(Da(ge,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ge),this.consumeNumericToken();break;case Ye:if(this.peekCodePoint(0)===it)for(this.consumeCodePoint();;){var ji=this.consumeCodePoint();if(ji===it&&(ji=this.consumeCodePoint(),ji===Ye))return this.consumeToken();if(ji===Gr)return this.consumeToken()}break;case Ge:return io;case et:return La;case _t:if(this.peekCodePoint(0)===Rt&&this.peekCodePoint(1)===Tt&&this.peekCodePoint(2)===Tt)return this.consumeCodePoint(),this.consumeCodePoint(),mn;break;case Nr:var Oi=this.peekCodePoint(0),Zi=this.peekCodePoint(1),po=this.peekCodePoint(2);if(Ri(Oi,Zi,po)){var Wr=this.consumeName();return{type:7,value:Wr}}break;case Sr:return ao;case ft:if(li(ge,this.peekCodePoint(0)))return this.reconsumeCodePoint(ge),this.consumeIdentLikeToken();break;case br:return tr;case hn:if(this.peekCodePoint(0)===Zr)return this.consumeCodePoint(),zi;break;case fn:return Va;case mi:return fo;case rn:case Vi:var Ao=this.peekCodePoint(0),Fo=this.peekCodePoint(1);return Ao===Re&&(ba(Fo)||Fo===ni)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ge),this.consumeIdentLikeToken();case _i:if(this.peekCodePoint(0)===Zr)return this.consumeCodePoint(),Fi;if(this.peekCodePoint(0)===_i)return this.consumeCodePoint(),ea;break;case Hi:if(this.peekCodePoint(0)===Zr)return this.consumeCodePoint(),ia;break;case Gr:return _n}return ki(ge)?(this.consumeWhiteSpace(),An):qi(ge)?(this.reconsumeCodePoint(ge),this.consumeNumericToken()):Tn(ge)?(this.reconsumeCodePoint(ge),this.consumeIdentLikeToken()):{type:6,value:a(ge)}},hr.prototype.consumeCodePoint=function(){var ge=this._value.shift();return typeof ge=="undefined"?-1:ge},hr.prototype.reconsumeCodePoint=function(ge){this._value.unshift(ge)},hr.prototype.peekCodePoint=function(ge){return ge>=this._value.length?-1:this._value[ge]},hr.prototype.consumeUnicodeRangeToken=function(){for(var ge=[],De=this.consumeCodePoint();ba(De)&&ge.length<6;)ge.push(De),De=this.consumeCodePoint();for(var ze=!1;De===ni&&ge.length<6;)ge.push(De),De=this.consumeCodePoint(),ze=!0;if(ze){var ut=parseInt(a.apply(void 0,ge.map(function(Sn){return Sn===ni?$t:Sn})),16),Gt=parseInt(a.apply(void 0,ge.map(function(Sn){return Sn===ni?Li:Sn})),16);return{type:30,start:ut,end:Gt}}var Wr=parseInt(a.apply(void 0,ge),16);if(this.peekCodePoint(0)===Tt&&ba(this.peekCodePoint(1))){this.consumeCodePoint(),De=this.consumeCodePoint();for(var ln=[];ba(De)&&ln.length<6;)ln.push(De),De=this.consumeCodePoint();var Gt=parseInt(a.apply(void 0,ln),16);return{type:30,start:Wr,end:Gt}}else return{type:30,start:Wr,end:Wr}},hr.prototype.consumeIdentLikeToken=function(){var ge=this.consumeName();return ge.toLowerCase()==="url"&&this.peekCodePoint(0)===At?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===At?(this.consumeCodePoint(),{type:19,value:ge}):{type:20,value:ge}},hr.prototype.consumeUrlToken=function(){var ge=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Gr)return{type:22,value:""};var De=this.peekCodePoint(0);if(De===St||De===rr){var ze=this.consumeStringToken(this.consumeCodePoint());return ze.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Gr||this.peekCodePoint(0)===cr)?(this.consumeCodePoint(),{type:22,value:ze.value}):(this.consumeBadUrlRemnants(),Ka)}for(;;){var ut=this.consumeCodePoint();if(ut===Gr||ut===cr)return{type:22,value:a.apply(void 0,ge)};if(ki(ut))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Gr||this.peekCodePoint(0)===cr?(this.consumeCodePoint(),{type:22,value:a.apply(void 0,ge)}):(this.consumeBadUrlRemnants(),Ka);if(ut===rr||ut===St||ut===At||Ti(ut))return this.consumeBadUrlRemnants(),Ka;if(ut===ft)if(li(ut,this.peekCodePoint(0)))ge.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ka;else ge.push(ut)}},hr.prototype.consumeWhiteSpace=function(){for(;ki(this.peekCodePoint(0));)this.consumeCodePoint()},hr.prototype.consumeBadUrlRemnants=function(){for(;;){var ge=this.consumeCodePoint();if(ge===cr||ge===Gr)return;li(ge,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},hr.prototype.consumeStringSlice=function(ge){for(var De=5e4,ze="";ge>0;){var ut=Math.min(De,ge);ze+=a.apply(void 0,this._value.splice(0,ut)),ge-=ut}return this._value.shift(),ze},hr.prototype.consumeStringToken=function(ge){var De="",ze=0;do{var ut=this._value[ze];if(ut===Gr||ut===void 0||ut===ge)return De+=this.consumeStringSlice(ze),{type:0,value:De};if(ut===Ue)return this._value.splice(0,ze),Gi;if(ut===ft){var Gt=this._value[ze+1];Gt!==Gr&&Gt!==void 0&&(Gt===Ue?(De+=this.consumeStringSlice(ze),ze=-1,this._value.shift()):li(ut,Gt)&&(De+=this.consumeStringSlice(ze),De+=a(this.consumeEscapedCodePoint()),ze=-1))}ze++}while(!0)},hr.prototype.consumeNumber=function(){var ge=[],De=ct,ze=this.peekCodePoint(0);for((ze===Re||ze===Tt)&&ge.push(this.consumeCodePoint());qi(this.peekCodePoint(0));)ge.push(this.consumeCodePoint());ze=this.peekCodePoint(0);var ut=this.peekCodePoint(1);if(ze===$e&&qi(ut))for(ge.push(this.consumeCodePoint(),this.consumeCodePoint()),De=Le;qi(this.peekCodePoint(0));)ge.push(this.consumeCodePoint());ze=this.peekCodePoint(0),ut=this.peekCodePoint(1);var Gt=this.peekCodePoint(2);if((ze===xi||ze===wr)&&((ut===Re||ut===Tt)&&qi(Gt)||qi(ut)))for(ge.push(this.consumeCodePoint(),this.consumeCodePoint()),De=Le;qi(this.peekCodePoint(0));)ge.push(this.consumeCodePoint());return[Un(ge),De]},hr.prototype.consumeNumericToken=function(){var ge=this.consumeNumber(),De=ge[0],ze=ge[1],ut=this.peekCodePoint(0),Gt=this.peekCodePoint(1),Wr=this.peekCodePoint(2);if(Ri(ut,Gt,Wr)){var ln=this.consumeName();return{type:15,number:De,flags:ze,unit:ln}}return ut===qt?(this.consumeCodePoint(),{type:16,number:De,flags:ze}):{type:17,number:De,flags:ze}},hr.prototype.consumeEscapedCodePoint=function(){var ge=this.consumeCodePoint();if(ba(ge)){for(var De=a(ge);ba(this.peekCodePoint(0))&&De.length<6;)De+=a(this.consumeCodePoint());ki(this.peekCodePoint(0))&&this.consumeCodePoint();var ze=parseInt(De,16);return ze===0||bi(ze)||ze>1114111?Ra:ze}return ge===Gr?Ra:ge},hr.prototype.consumeName=function(){for(var ge="";;){var De=this.consumeCodePoint();if(oa(De))ge+=a(De);else if(li(De,this.peekCodePoint(0)))ge+=a(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(De),ge}},hr}(),tt=function(){function hr(ge){this._tokens=ge}return hr.create=function(ge){var De=new Bn;return De.write(ge),new hr(De.read())},hr.parseValue=function(ge){return hr.create(ge).parseComponentValue()},hr.parseValues=function(ge){return hr.create(ge).parseComponentValues()},hr.prototype.parseComponentValue=function(){for(var ge=this.consumeToken();ge.type===31;)ge=this.consumeToken();if(ge.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ge);var De=this.consumeComponentValue();do ge=this.consumeToken();while(ge.type===31);if(ge.type===32)return De;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},hr.prototype.parseComponentValues=function(){for(var ge=[];;){var De=this.consumeComponentValue();if(De.type===32)return ge;ge.push(De),ge.push()}},hr.prototype.consumeComponentValue=function(){var ge=this.consumeToken();switch(ge.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ge.type);case 19:return this.consumeFunction(ge)}return ge},hr.prototype.consumeSimpleBlock=function(ge){for(var De={type:ge,values:[]},ze=this.consumeToken();;){if(ze.type===32||ii(ze,ge))return De;this.reconsumeToken(ze),De.values.push(this.consumeComponentValue()),ze=this.consumeToken()}},hr.prototype.consumeFunction=function(ge){for(var De={name:ge.value,values:[],type:18};;){var ze=this.consumeToken();if(ze.type===32||ze.type===3)return De;this.reconsumeToken(ze),De.values.push(this.consumeComponentValue())}},hr.prototype.consumeToken=function(){var ge=this._tokens.shift();return typeof ge=="undefined"?_n:ge},hr.prototype.reconsumeToken=function(ge){this._tokens.unshift(ge)},hr}(),Ft=function(ge){return ge.type===15},Cr=function(ge){return ge.type===17},gr=function(ge){return ge.type===20},Yr=function(ge){return ge.type===0},en=function(ge,De){return gr(ge)&&ge.value===De},cn=function(ge){return ge.type!==31},In=function(ge){return ge.type!==31&&ge.type!==4},Xn=function(ge){var De=[],ze=[];return ge.forEach(function(ut){if(ut.type===4){if(ze.length===0)throw new Error("Error parsing function args, zero tokens for arg");De.push(ze),ze=[];return}ut.type!==31&&ze.push(ut)}),ze.length&&De.push(ze),De},ii=function(ge,De){return De===11&&ge.type===12||De===28&&ge.type===29?!0:De===2&&ge.type===3},fi=function(ge){return ge.type===17||ge.type===15},ui=function(ge){return ge.type===16||fi(ge)},qn=function(ge){return ge.length>1?[ge[0],ge[1]]:[ge[0]]},ti={type:17,number:0,flags:ct},oi={type:16,number:50,flags:ct},Ci={type:16,number:100,flags:ct},Mi=function(ge,De,ze){var ut=ge[0],Gt=ge[1];return[Pi(ut,De),Pi(typeof Gt!="undefined"?Gt:ut,ze)]},Pi=function(ge,De){if(ge.type===16)return ge.number/100*De;if(Ft(ge))switch(ge.unit){case"rem":case"em":return 16*ge.number;case"px":default:return ge.number}return ge.number},ca="deg",sa="grad",Na="rad",Pa="turn",ya={name:"angle",parse:function(ge,De){if(De.type===15)switch(De.unit){case ca:return Math.PI*De.number/180;case sa:return Math.PI/200*De.number;case Na:return De.number;case Pa:return Math.PI*2*De.number}throw new Error("Unsupported angle type")}},va=function(ge){return ge.type===15&&(ge.unit===ca||ge.unit===sa||ge.unit===Na||ge.unit===Pa)},Ca=function(ge){var De=ge.filter(gr).map(function(ze){return ze.value}).join(" ");switch(De){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ti,ti];case"to top":case"bottom":return Ai(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ti,Ci];case"to right":case"left":return Ai(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ci,Ci];case"to bottom":case"top":return Ai(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ci,ti];case"to left":case"right":return Ai(270)}return 0},Ai=function(ge){return Math.PI*ge/180},Aa={name:"color",parse:function(ge,De){if(De.type===18){var ze=mr[De.name];if(typeof ze=="undefined")throw new Error('Attempting to parse an unsupported color function "'+De.name+'"');return ze(ge,De.values)}if(De.type===5){if(De.value.length===3){var ut=De.value.substring(0,1),Gt=De.value.substring(1,2),Wr=De.value.substring(2,3);return $r(parseInt(ut+ut,16),parseInt(Gt+Gt,16),parseInt(Wr+Wr,16),1)}if(De.value.length===4){var ut=De.value.substring(0,1),Gt=De.value.substring(1,2),Wr=De.value.substring(2,3),ln=De.value.substring(3,4);return $r(parseInt(ut+ut,16),parseInt(Gt+Gt,16),parseInt(Wr+Wr,16),parseInt(ln+ln,16)/255)}if(De.value.length===6){var ut=De.value.substring(0,2),Gt=De.value.substring(2,4),Wr=De.value.substring(4,6);return $r(parseInt(ut,16),parseInt(Gt,16),parseInt(Wr,16),1)}if(De.value.length===8){var ut=De.value.substring(0,2),Gt=De.value.substring(2,4),Wr=De.value.substring(4,6),ln=De.value.substring(6,8);return $r(parseInt(ut,16),parseInt(Gt,16),parseInt(Wr,16),parseInt(ln,16)/255)}}if(De.type===20){var Sn=sn[De.value.toUpperCase()];if(typeof Sn!="undefined")return Sn}return sn.TRANSPARENT}},za=function(ge){return(255&ge)===0},Or=function(ge){var De=255&ge,ze=255&ge>>8,ut=255&ge>>16,Gt=255&ge>>24;return De<255?"rgba("+Gt+","+ut+","+ze+","+De/255+")":"rgb("+Gt+","+ut+","+ze+")"},$r=function(ge,De,ze,ut){return(ge<<24|De<<16|ze<<8|Math.round(ut*255)<<0)>>>0},vn=function(ge,De){if(ge.type===17)return ge.number;if(ge.type===16){var ze=De===3?1:255;return De===3?ge.number/100*ze:Math.round(ge.number/100*ze)}return 0},Jr=function(ge,De){var ze=De.filter(In);if(ze.length===3){var ut=ze.map(vn),Gt=ut[0],Wr=ut[1],ln=ut[2];return $r(Gt,Wr,ln,1)}if(ze.length===4){var Sn=ze.map(vn),Gt=Sn[0],Wr=Sn[1],ln=Sn[2],zn=Sn[3];return $r(Gt,Wr,ln,zn)}return 0};function ar(hr,ge,De){return De<0&&(De+=1),De>=1&&(De-=1),De<1/6?(ge-hr)*De*6+hr:De<1/2?ge:De<2/3?(ge-hr)*6*(2/3-De)+hr:hr}var Hr=function(ge,De){var ze=De.filter(In),ut=ze[0],Gt=ze[1],Wr=ze[2],ln=ze[3],Sn=(ut.type===17?Ai(ut.number):ya.parse(ge,ut))/(Math.PI*2),zn=ui(Gt)?Gt.number/100:0,ji=ui(Wr)?Wr.number/100:0,Oi=typeof ln!="undefined"&&ui(ln)?Pi(ln,1):1;if(zn===0)return $r(ji*255,ji*255,ji*255,1);var Zi=ji<=.5?ji*(zn+1):ji+zn-ji*zn,po=ji*2-Zi,Ao=ar(po,Zi,Sn+1/3),Fo=ar(po,Zi,Sn),Bs=ar(po,Zi,Sn-1/3);return $r(Ao*255,Fo*255,Bs*255,Oi)},mr={hsl:Hr,hsla:Hr,rgb:Jr,rgba:Jr},tn=function(ge,De){return Aa.parse(ge,tt.create(De).parseComponentValue())},sn={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},Hn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ge,De){return De.map(function(ze){if(gr(ze))switch(ze.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ln={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Qn=function(ge,De){var ze=Aa.parse(ge,De[0]),ut=De[1];return ut&&ui(ut)?{color:ze,stop:ut}:{color:ze,stop:null}},yi=function(ge,De){var ze=ge[0],ut=ge[ge.length-1];ze.stop===null&&(ze.stop=ti),ut.stop===null&&(ut.stop=Ci);for(var Gt=[],Wr=0,ln=0;ln<ge.length;ln++){var Sn=ge[ln].stop;if(Sn!==null){var zn=Pi(Sn,De);zn>Wr?Gt.push(zn):Gt.push(Wr),Wr=zn}else Gt.push(null)}for(var ji=null,ln=0;ln<Gt.length;ln++){var Oi=Gt[ln];if(Oi===null)ji===null&&(ji=ln);else if(ji!==null){for(var Zi=ln-ji,po=Gt[ji-1],Ao=(Oi-po)/(Zi+1),Fo=1;Fo<=Zi;Fo++)Gt[ji+Fo-1]=Ao*Fo;ji=null}}return ge.map(function(Bs,hs){var is=Bs.color;return{color:is,stop:Math.max(Math.min(1,Gt[hs]/De),0)}})},Di=function(ge,De,ze){var ut=De/2,Gt=ze/2,Wr=Pi(ge[0],De)-ut,ln=Gt-Pi(ge[1],ze);return(Math.atan2(ln,Wr)+Math.PI*2)%(Math.PI*2)},Ui=function(ge,De,ze){var ut=typeof ge=="number"?ge:Di(ge,De,ze),Gt=Math.abs(De*Math.sin(ut))+Math.abs(ze*Math.cos(ut)),Wr=De/2,ln=ze/2,Sn=Gt/2,zn=Math.sin(ut-Math.PI/2)*Sn,ji=Math.cos(ut-Math.PI/2)*Sn;return[Gt,Wr-ji,Wr+ji,ln-zn,ln+zn]},ua=function(ge,De){return Math.sqrt(ge*ge+De*De)},Xa=function(ge,De,ze,ut,Gt){var Wr=[[0,0],[0,De],[ge,0],[ge,De]];return Wr.reduce(function(ln,Sn){var zn=Sn[0],ji=Sn[1],Oi=ua(ze-zn,ut-ji);return(Gt?Oi<ln.optimumDistance:Oi>ln.optimumDistance)?{optimumCorner:Sn,optimumDistance:Oi}:ln},{optimumDistance:Gt?Infinity:-Infinity,optimumCorner:null}).optimumCorner},vo=function(ge,De,ze,ut,Gt){var Wr=0,ln=0;switch(ge.size){case 0:ge.shape===0?Wr=ln=Math.min(Math.abs(De),Math.abs(De-ut),Math.abs(ze),Math.abs(ze-Gt)):ge.shape===1&&(Wr=Math.min(Math.abs(De),Math.abs(De-ut)),ln=Math.min(Math.abs(ze),Math.abs(ze-Gt)));break;case 2:if(ge.shape===0)Wr=ln=Math.min(ua(De,ze),ua(De,ze-Gt),ua(De-ut,ze),ua(De-ut,ze-Gt));else if(ge.shape===1){var Sn=Math.min(Math.abs(ze),Math.abs(ze-Gt))/Math.min(Math.abs(De),Math.abs(De-ut)),zn=Xa(ut,Gt,De,ze,!0),ji=zn[0],Oi=zn[1];Wr=ua(ji-De,(Oi-ze)/Sn),ln=Sn*Wr}break;case 1:ge.shape===0?Wr=ln=Math.max(Math.abs(De),Math.abs(De-ut),Math.abs(ze),Math.abs(ze-Gt)):ge.shape===1&&(Wr=Math.max(Math.abs(De),Math.abs(De-ut)),ln=Math.max(Math.abs(ze),Math.abs(ze-Gt)));break;case 3:if(ge.shape===0)Wr=ln=Math.max(ua(De,ze),ua(De,ze-Gt),ua(De-ut,ze),ua(De-ut,ze-Gt));else if(ge.shape===1){var Sn=Math.max(Math.abs(ze),Math.abs(ze-Gt))/Math.max(Math.abs(De),Math.abs(De-ut)),Zi=Xa(ut,Gt,De,ze,!1),ji=Zi[0],Oi=Zi[1];Wr=ua(ji-De,(Oi-ze)/Sn),ln=Sn*Wr}break}return Array.isArray(ge.size)&&(Wr=Pi(ge.size[0],ut),ln=ge.size.length===2?Pi(ge.size[1],Gt):Wr),[Wr,ln]},wo=function(ge,De){var ze=Ai(180),ut=[];return Xn(De).forEach(function(Gt,Wr){if(Wr===0){var ln=Gt[0];if(ln.type===20&&ln.value==="to"){ze=Ca(Gt);return}else if(va(ln)){ze=ya.parse(ge,ln);return}}var Sn=Qn(ge,Gt);ut.push(Sn)}),{angle:ze,stops:ut,type:1}},ho=function(ge,De){var ze=Ai(180),ut=[];return Xn(De).forEach(function(Gt,Wr){if(Wr===0){var ln=Gt[0];if(ln.type===20&&["top","left","right","bottom"].indexOf(ln.value)!==-1){ze=Ca(Gt);return}else if(va(ln)){ze=(ya.parse(ge,ln)+Ai(270))%Ai(360);return}}var Sn=Qn(ge,Gt);ut.push(Sn)}),{angle:ze,stops:ut,type:1}},yo=function(ge,De){var ze=Ai(180),ut=[],Gt=1,Wr=0,ln=3,Sn=[];return Xn(De).forEach(function(zn,ji){var Oi=zn[0];if(ji===0){if(gr(Oi)&&Oi.value==="linear"){Gt=1;return}else if(gr(Oi)&&Oi.value==="radial"){Gt=2;return}}if(Oi.type===18){if(Oi.name==="from"){var Zi=Aa.parse(ge,Oi.values[0]);ut.push({stop:ti,color:Zi})}else if(Oi.name==="to"){var Zi=Aa.parse(ge,Oi.values[0]);ut.push({stop:Ci,color:Zi})}else if(Oi.name==="color-stop"){var po=Oi.values.filter(In);if(po.length===2){var Zi=Aa.parse(ge,po[1]),Ao=po[0];Cr(Ao)&&ut.push({stop:{type:16,number:Ao.number*100,flags:Ao.flags},color:Zi})}}}}),Gt===1?{angle:(ze+Ai(180))%Ai(360),stops:ut,type:Gt}:{size:ln,shape:Wr,stops:ut,position:Sn,type:Gt}},Ga="closest-side",Ma="farthest-side",uo="closest-corner",so="farthest-corner",To="circle",No="ellipse",oo="cover",Ja="contain",zo=function(ge,De){var ze=0,ut=3,Gt=[],Wr=[];return Xn(De).forEach(function(ln,Sn){var zn=!0;if(Sn===0){var ji=!1;zn=ln.reduce(function(Zi,po){if(ji)if(gr(po))switch(po.value){case"center":return Wr.push(oi),Zi;case"top":case"left":return Wr.push(ti),Zi;case"right":case"bottom":return Wr.push(Ci),Zi}else(ui(po)||fi(po))&&Wr.push(po);else if(gr(po))switch(po.value){case To:return ze=0,!1;case No:return ze=1,!1;case"at":return ji=!0,!1;case Ga:return ut=0,!1;case oo:case Ma:return ut=1,!1;case Ja:case uo:return ut=2,!1;case so:return ut=3,!1}else if(fi(po)||ui(po))return Array.isArray(ut)||(ut=[]),ut.push(po),!1;return Zi},zn)}if(zn){var Oi=Qn(ge,ln);Gt.push(Oi)}}),{size:ut,shape:ze,stops:Gt,position:Wr,type:2}},Eo=function(ge,De){var ze=0,ut=3,Gt=[],Wr=[];return Xn(De).forEach(function(ln,Sn){var zn=!0;if(Sn===0?zn=ln.reduce(function(Oi,Zi){if(gr(Zi))switch(Zi.value){case"center":return Wr.push(oi),!1;case"top":case"left":return Wr.push(ti),!1;case"right":case"bottom":return Wr.push(Ci),!1}else if(ui(Zi)||fi(Zi))return Wr.push(Zi),!1;return Oi},zn):Sn===1&&(zn=ln.reduce(function(Oi,Zi){if(gr(Zi))switch(Zi.value){case To:return ze=0,!1;case No:return ze=1,!1;case Ja:case Ga:return ut=0,!1;case Ma:return ut=1,!1;case uo:return ut=2,!1;case oo:case so:return ut=3,!1}else if(fi(Zi)||ui(Zi))return Array.isArray(ut)||(ut=[]),ut.push(Zi),!1;return Oi},zn)),zn){var ji=Qn(ge,ln);Gt.push(ji)}}),{size:ut,shape:ze,stops:Gt,position:Wr,type:2}},Ea=function(ge){return ge.type===1},jo=function(ge){return ge.type===2},Zo={name:"image",parse:function(ge,De){if(De.type===22){var ze={url:De.value,type:0};return ge.cache.addImage(De.value),ze}if(De.type===18){var ut=Xo[De.name];if(typeof ut=="undefined")throw new Error('Attempting to parse an unsupported image function "'+De.name+'"');return ut(ge,De.values)}throw new Error("Unsupported image type "+De.type)}};function Za(hr){return!(hr.type===20&&hr.value==="none")&&(hr.type!==18||!!Xo[hr.name])}var Xo={"linear-gradient":wo,"-moz-linear-gradient":ho,"-ms-linear-gradient":ho,"-o-linear-gradient":ho,"-webkit-linear-gradient":ho,"radial-gradient":zo,"-moz-radial-gradient":Eo,"-ms-radial-gradient":Eo,"-o-radial-gradient":Eo,"-webkit-radial-gradient":Eo,"-webkit-gradient":yo},qo={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ge,De){if(De.length===0)return[];var ze=De[0];return ze.type===20&&ze.value==="none"?[]:De.filter(function(ut){return In(ut)&&Za(ut)}).map(function(ut){return Zo.parse(ge,ut)})}},cs={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ge,De){return De.map(function(ze){if(gr(ze))switch(ze.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Oo={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ge,De){return Xn(De).map(function(ze){return ze.filter(ui)}).map(qn)}},ss={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ge,De){return Xn(De).map(function(ze){return ze.filter(gr).map(function(ut){return ut.value}).join(" ")}).map(Io)}},Io=function(ge){switch(ge){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},lo;(function(hr){hr.AUTO="auto",hr.CONTAIN="contain",hr.COVER="cover"})(lo||(lo={}));var ks={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ge,De){return Xn(De).map(function(ze){return ze.filter(As)})}},As=function(ge){return gr(ge)||ui(ge)},ko=function(ge){return{name:"border-"+ge+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ys=ko("top"),es=ko("right"),ts=ko("bottom"),_s=ko("left"),Ts=function(ge){return{name:"border-radius-"+ge,initialValue:"0 0",prefix:!1,type:1,parse:function(ze,ut){return qn(ut.filter(ui))}}},$s=Ts("top-left"),Ms=Ts("top-right"),Fs=Ts("bottom-right"),as=Ts("bottom-left"),vs=function(ge){return{name:"border-"+ge+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ze,ut){switch(ut){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ho=vs("top"),Ns=vs("right"),Us=vs("bottom"),ka=vs("left"),Go=function(ge){return{name:"border-"+ge+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ze,ut){return Ft(ut)?ut.number:0}}},xl=Go("top"),ul=Go("right"),gl=Go("bottom"),_l=Go("left"),Xs={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Yo={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ge,De){switch(De){case"rtl":return 1;case"ltr":default:return 0}}},al={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ge,De){return De.filter(gr).reduce(function(ze,ut){return ze|Wl(ut.value)},0)}},Wl=function(ge){switch(ge){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},Ps={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ge,De){switch(De){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},nl={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ge,De){return De.type===20&&De.value==="normal"?0:De.type===17||De.type===15?De.number:0}},$o;(function(hr){hr.NORMAL="normal",hr.STRICT="strict"})($o||($o={}));var Sl={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ge,De){switch(De){case"strict":return $o.STRICT;case"normal":default:return $o.NORMAL}}},Pc={name:"line-height",initialValue:"normal",prefix:!1,type:4},nc=function(ge,De){return gr(ge)&&ge.value==="normal"?1.2*De:ge.type===17?De*ge.number:ui(ge)?Pi(ge,De):De},hc={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ge,De){return De.type===20&&De.value==="none"?null:Zo.parse(ge,De)}},ic={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ge,De){switch(De){case"inside":return 0;case"outside":default:return 1}}},Jl={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ge,De){switch(De){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Yl=function(ge){return{name:"margin-"+ge,initialValue:"0",prefix:!1,type:4}},Al=Yl("top"),zs=Yl("right"),Tl=Yl("bottom"),vl=Yl("left"),Cl={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ge,De){return De.filter(gr).map(function(ze){switch(ze.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},dn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ge,De){switch(De){case"break-word":return"break-word";case"normal":default:return"normal"}}},bl=function(ge){return{name:"padding-"+ge,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Lc=bl("top"),bc=bl("right"),pc=bl("bottom"),fs=bl("left"),Ks={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ge,De){switch(De){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ol={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ge,De){switch(De){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Hs={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ge,De){return De.length===1&&en(De[0],"none")?[]:Xn(De).map(function(ze){for(var ut={color:sn.TRANSPARENT,offsetX:ti,offsetY:ti,blur:ti},Gt=0,Wr=0;Wr<ze.length;Wr++){var ln=ze[Wr];fi(ln)?(Gt===0?ut.offsetX=ln:Gt===1?ut.offsetY=ln:ut.blur=ln,Gt++):ut.color=Aa.parse(ge,ln)}return ut})}},ol={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(ge,De){switch(De){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Gs={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(ge,De){if(De.type===20&&De.value==="none")return null;if(De.type===18){var ze=mc[De.name];if(typeof ze=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+De.name+'"');return ze(De.values)}return null}},Il=function(ge){var De=ge.filter(function(ze){return ze.type===17}).map(function(ze){return ze.number});return De.length===6?De:null},Uc=function(ge){var De=ge.filter(function(zn){return zn.type===17}).map(function(zn){return zn.number}),ze=De[0],ut=De[1];De[2],De[3];var Gt=De[4],Wr=De[5];De[6],De[7],De[8],De[9],De[10],De[11];var ln=De[12],Sn=De[13];return De[14],De[15],De.length===16?[ze,ut,Gt,Wr,ln,Sn]:null},mc={matrix:Il,matrix3d:Uc},yc={type:16,number:50,flags:ct},ac=[yc,yc],Ql={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(ge,De){var ze=De.filter(ui);return ze.length!==2?ac:[ze[0],ze[1]]}},gc={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(ge,De){switch(De){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Mt;(function(hr){hr.NORMAL="normal",hr.BREAK_ALL="break-all",hr.KEEP_ALL="keep-all"})(Mt||(Mt={}));for(var Vt={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(ge,De){switch(De){case"break-all":return Mt.BREAK_ALL;case"keep-all":return Mt.KEEP_ALL;case"normal":default:return Mt.NORMAL}}},wn={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(ge,De){if(De.type===20)return{auto:!0,order:0};if(Cr(De))return{auto:!1,order:De.number};throw new Error("Invalid z-index number parsed")}},ci={name:"time",parse:function(ge,De){if(De.type===15)switch(De.unit.toLowerCase()){case"s":return 1e3*De.number;case"ms":return De.number}throw new Error("Unsupported time type")}},Et={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(ge,De){return Cr(De)?De.number:1}},ce={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Se={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(ge,De){return De.filter(gr).map(function(ze){switch(ze.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(ze){return ze!==0})}},Oe={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(ge,De){var ze=[],ut=[];return De.forEach(function(Gt){switch(Gt.type){case 20:case 0:ze.push(Gt.value);break;case 17:ze.push(Gt.number.toString());break;case 4:ut.push(ze.join(" ")),ze.length=0;break}}),ze.length&&ut.push(ze.join(" ")),ut.map(function(Gt){return Gt.indexOf(" ")===-1?Gt:"'"+Gt+"'"})}},Xe={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},wt={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(ge,De){if(Cr(De))return De.number;if(gr(De))switch(De.value){case"bold":return 700;case"normal":default:return 400}return 400}},Ht={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(ge,De){return De.filter(gr).map(function(ze){return ze.value})}},Pr={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(ge,De){switch(De){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Xr=function(ge,De){return(ge&De)!==0},yn={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(ge,De){if(De.length===0)return[];var ze=De[0];return ze.type===20&&ze.value==="none"?[]:De}},Jn={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(ge,De){if(De.length===0)return null;var ze=De[0];if(ze.type===20&&ze.value==="none")return null;for(var ut=[],Gt=De.filter(cn),Wr=0;Wr<Gt.length;Wr++){var ln=Gt[Wr],Sn=Gt[Wr+1];if(ln.type===20){var zn=Sn&&Cr(Sn)?Sn.number:1;ut.push({counter:ln.value,increment:zn})}}return ut}},Ei={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(ge,De){if(De.length===0)return[];for(var ze=[],ut=De.filter(cn),Gt=0;Gt<ut.length;Gt++){var Wr=ut[Gt],ln=ut[Gt+1];if(gr(Wr)&&Wr.value!=="none"){var Sn=ln&&Cr(ln)?ln.number:0;ze.push({counter:Wr.value,reset:Sn})}}return ze}},Ji={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(ge,De){return De.filter(Ft).map(function(ze){return ci.parse(ge,ze)})}},wa={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(ge,De){if(De.length===0)return null;var ze=De[0];if(ze.type===20&&ze.value==="none")return null;var ut=[],Gt=De.filter(Yr);if(Gt.length%2!==0)return null;for(var Wr=0;Wr<Gt.length;Wr+=2){var ln=Gt[Wr].value,Sn=Gt[Wr+1].value;ut.push({open:ln,close:Sn})}return ut}},Ya=function(ge,De,ze){if(!ge)return"";var ut=ge[Math.min(De,ge.length-1)];return ut?ze?ut.open:ut.close:""},mo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ge,De){return De.length===1&&en(De[0],"none")?[]:Xn(De).map(function(ze){for(var ut={color:255,offsetX:ti,offsetY:ti,blur:ti,spread:ti,inset:!1},Gt=0,Wr=0;Wr<ze.length;Wr++){var ln=ze[Wr];en(ln,"inset")?ut.inset=!0:fi(ln)?(Gt===0?ut.offsetX=ln:Gt===1?ut.offsetY=ln:Gt===2?ut.blur=ln:ut.spread=ln,Gt++):ut.color=Aa.parse(ge,ln)}return ut})}},Mo={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(ge,De){var ze=[0,1,2],ut=[];return De.filter(gr).forEach(function(Gt){switch(Gt.value){case"stroke":ut.push(1);break;case"fill":ut.push(0);break;case"markers":ut.push(2);break}}),ze.forEach(function(Gt){ut.indexOf(Gt)===-1&&ut.push(Gt)}),ut}},us={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},ws={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(ge,De){return Ft(De)?De.number:0}},Os=function(){function hr(ge,De){var ze,ut;this.animationDuration=ro(ge,Ji,De.animationDuration),this.backgroundClip=ro(ge,Hn,De.backgroundClip),this.backgroundColor=ro(ge,Ln,De.backgroundColor),this.backgroundImage=ro(ge,qo,De.backgroundImage),this.backgroundOrigin=ro(ge,cs,De.backgroundOrigin),this.backgroundPosition=ro(ge,Oo,De.backgroundPosition),this.backgroundRepeat=ro(ge,ss,De.backgroundRepeat),this.backgroundSize=ro(ge,ks,De.backgroundSize),this.borderTopColor=ro(ge,ys,De.borderTopColor),this.borderRightColor=ro(ge,es,De.borderRightColor),this.borderBottomColor=ro(ge,ts,De.borderBottomColor),this.borderLeftColor=ro(ge,_s,De.borderLeftColor),this.borderTopLeftRadius=ro(ge,$s,De.borderTopLeftRadius),this.borderTopRightRadius=ro(ge,Ms,De.borderTopRightRadius),this.borderBottomRightRadius=ro(ge,Fs,De.borderBottomRightRadius),this.borderBottomLeftRadius=ro(ge,as,De.borderBottomLeftRadius),this.borderTopStyle=ro(ge,Ho,De.borderTopStyle),this.borderRightStyle=ro(ge,Ns,De.borderRightStyle),this.borderBottomStyle=ro(ge,Us,De.borderBottomStyle),this.borderLeftStyle=ro(ge,ka,De.borderLeftStyle),this.borderTopWidth=ro(ge,xl,De.borderTopWidth),this.borderRightWidth=ro(ge,ul,De.borderRightWidth),this.borderBottomWidth=ro(ge,gl,De.borderBottomWidth),this.borderLeftWidth=ro(ge,_l,De.borderLeftWidth),this.boxShadow=ro(ge,mo,De.boxShadow),this.color=ro(ge,Xs,De.color),this.direction=ro(ge,Yo,De.direction),this.display=ro(ge,al,De.display),this.float=ro(ge,Ps,De.cssFloat),this.fontFamily=ro(ge,Oe,De.fontFamily),this.fontSize=ro(ge,Xe,De.fontSize),this.fontStyle=ro(ge,Pr,De.fontStyle),this.fontVariant=ro(ge,Ht,De.fontVariant),this.fontWeight=ro(ge,wt,De.fontWeight),this.letterSpacing=ro(ge,nl,De.letterSpacing),this.lineBreak=ro(ge,Sl,De.lineBreak),this.lineHeight=ro(ge,Pc,De.lineHeight),this.listStyleImage=ro(ge,hc,De.listStyleImage),this.listStylePosition=ro(ge,ic,De.listStylePosition),this.listStyleType=ro(ge,Jl,De.listStyleType),this.marginTop=ro(ge,Al,De.marginTop),this.marginRight=ro(ge,zs,De.marginRight),this.marginBottom=ro(ge,Tl,De.marginBottom),this.marginLeft=ro(ge,vl,De.marginLeft),this.opacity=ro(ge,Et,De.opacity);var Gt=ro(ge,Cl,De.overflow);this.overflowX=Gt[0],this.overflowY=Gt[Gt.length>1?1:0],this.overflowWrap=ro(ge,dn,De.overflowWrap),this.paddingTop=ro(ge,Lc,De.paddingTop),this.paddingRight=ro(ge,bc,De.paddingRight),this.paddingBottom=ro(ge,pc,De.paddingBottom),this.paddingLeft=ro(ge,fs,De.paddingLeft),this.paintOrder=ro(ge,Mo,De.paintOrder),this.position=ro(ge,Ol,De.position),this.textAlign=ro(ge,Ks,De.textAlign),this.textDecorationColor=ro(ge,ce,(ze=De.textDecorationColor)!==null&&ze!==void 0?ze:De.color),this.textDecorationLine=ro(ge,Se,(ut=De.textDecorationLine)!==null&&ut!==void 0?ut:De.textDecoration),this.textShadow=ro(ge,Hs,De.textShadow),this.textTransform=ro(ge,ol,De.textTransform),this.transform=ro(ge,Gs,De.transform),this.transformOrigin=ro(ge,Ql,De.transformOrigin),this.visibility=ro(ge,gc,De.visibility),this.webkitTextStrokeColor=ro(ge,us,De.webkitTextStrokeColor),this.webkitTextStrokeWidth=ro(ge,ws,De.webkitTextStrokeWidth),this.wordBreak=ro(ge,Vt,De.wordBreak),this.zIndex=ro(ge,wn,De.zIndex)}return hr.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},hr.prototype.isTransparent=function(){return za(this.backgroundColor)},hr.prototype.isTransformed=function(){return this.transform!==null},hr.prototype.isPositioned=function(){return this.position!==0},hr.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},hr.prototype.isFloating=function(){return this.float!==0},hr.prototype.isInlineLevel=function(){return Xr(this.display,4)||Xr(this.display,33554432)||Xr(this.display,268435456)||Xr(this.display,536870912)||Xr(this.display,67108864)||Xr(this.display,134217728)},hr}(),il=function(){function hr(ge,De){this.content=ro(ge,yn,De.content),this.quotes=ro(ge,wa,De.quotes)}return hr}(),Ys=function(){function hr(ge,De){this.counterIncrement=ro(ge,Jn,De.counterIncrement),this.counterReset=ro(ge,Ei,De.counterReset)}return hr}(),ro=function(ge,De,ze){var ut=new Bn,Gt=ze!==null&&typeof ze!="undefined"?ze.toString():De.initialValue;ut.write(Gt);var Wr=new tt(ut.read());switch(De.type){case 2:var ln=Wr.parseComponentValue();return De.parse(ge,gr(ln)?ln.value:De.initialValue);case 0:return De.parse(ge,Wr.parseComponentValue());case 1:return De.parse(ge,Wr.parseComponentValues());case 4:return Wr.parseComponentValue();case 3:switch(De.format){case"angle":return ya.parse(ge,Wr.parseComponentValue());case"color":return Aa.parse(ge,Wr.parseComponentValue());case"image":return Zo.parse(ge,Wr.parseComponentValue());case"length":var Sn=Wr.parseComponentValue();return fi(Sn)?Sn:ti;case"length-percentage":var zn=Wr.parseComponentValue();return ui(zn)?zn:ti;case"time":return ci.parse(ge,Wr.parseComponentValue())}break}},Ws="data-html2canvas-debug",bs=function(ge){var De=ge.getAttribute(Ws);switch(De){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Rl=function(ge,De){var ze=bs(ge);return ze===1||De===ze},sl=function(){function hr(ge,De){if(this.context=ge,this.textNodes=[],this.elements=[],this.flags=0,Rl(De,3))debugger;this.styles=new Os(ge,window.getComputedStyle(De,null)),Nd(De)&&(this.styles.animationDuration.some(function(ze){return ze>0})&&(De.style.animationDuration="0s"),this.styles.transform!==null&&(De.style.transform="none")),this.bounds=l(this.context,De),Rl(De,4)&&(this.flags|=16)}return hr}(),el="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",dl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$l=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),zl=0;zl<dl.length;zl++)$l[dl.charCodeAt(zl)]=zl;for(var Kl=function(ge){var De=ge.length*.75,ze=ge.length,ut,Gt=0,Wr,ln,Sn,zn;ge[ge.length-1]==="="&&(De--,ge[ge.length-2]==="="&&De--);var ji=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(De):new Array(De),Oi=Array.isArray(ji)?ji:new Uint8Array(ji);for(ut=0;ut<ze;ut+=4)Wr=$l[ge.charCodeAt(ut)],ln=$l[ge.charCodeAt(ut+1)],Sn=$l[ge.charCodeAt(ut+2)],zn=$l[ge.charCodeAt(ut+3)],Oi[Gt++]=Wr<<2|ln>>4,Oi[Gt++]=(ln&15)<<4|Sn>>2,Oi[Gt++]=(Sn&3)<<6|zn&63;return ji},ql=function(ge){for(var De=ge.length,ze=[],ut=0;ut<De;ut+=2)ze.push(ge[ut+1]<<8|ge[ut]);return ze},Vl=function(ge){for(var De=ge.length,ze=[],ut=0;ut<De;ut+=4)ze.push(ge[ut+3]<<24|ge[ut+2]<<16|ge[ut+1]<<8|ge[ut]);return ze},Nc=5,Zc=6+5,Zl=2,ll=Zc-Nc,Fl=65536>>Nc,Mc=1<<Nc,fc=Mc-1,Cc=1024>>Nc,Oc=Fl+Cc,Ac=Oc,Wc=2048>>6,Dc=Ac+Wc,jc=65536>>Zc,wc=1<<ll,ps=wc-1,xo=function(ge,De,ze){return ge.slice?ge.slice(De,ze):new Uint16Array(Array.prototype.slice.call(ge,De,ze))},ls=function(ge,De,ze){return ge.slice?ge.slice(De,ze):new Uint32Array(Array.prototype.slice.call(ge,De,ze))},Ds=function(ge,De){var ze=Kl(ge),ut=Array.isArray(ze)?Vl(ze):new Uint32Array(ze),Gt=Array.isArray(ze)?ql(ze):new Uint16Array(ze),Wr=24,ln=xo(Gt,Wr/2,ut[4]/2),Sn=ut[5]===2?xo(Gt,(Wr+ut[4])/2):ls(ut,Math.ceil((Wr+ut[4])/4));return new Nl(ut[0],ut[1],ut[2],ut[3],ln,Sn)},Nl=function(){function hr(ge,De,ze,ut,Gt,Wr){this.initialValue=ge,this.errorValue=De,this.highStart=ze,this.highValueIndex=ut,this.index=Gt,this.data=Wr}return hr.prototype.get=function(ge){var De;if(ge>=0){if(ge<55296||ge>56319&&ge<=65535)return De=this.index[ge>>Nc],De=(De<<Zl)+(ge&fc),this.data[De];if(ge<=65535)return De=this.index[Fl+(ge-55296>>Nc)],De=(De<<Zl)+(ge&fc),this.data[De];if(ge<this.highStart)return De=Dc-jc+(ge>>Zc),De=this.index[De],De+=ge>>Nc&ps,De=this.index[De],De=(De<<Zl)+(ge&fc),this.data[De];if(ge<=1114111)return this.data[this.highValueIndex]}return this.errorValue},hr}(),vc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ec=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Xl=0;Xl<vc.length;Xl++)ec[vc.charCodeAt(Xl)]=Xl;var hl=1,tl=2,Ll=3,Qs=4,xc=5,ku=7,$c=8,hu=9,Rc=10,fu=11,au=12,Cd=13,od=14,Ed=15,_d=function(ge){for(var De=[],ze=0,ut=ge.length;ze<ut;){var Gt=ge.charCodeAt(ze++);if(Gt>=55296&&Gt<=56319&&ze<ut){var Wr=ge.charCodeAt(ze++);(Wr&64512)===56320?De.push(((Gt&1023)<<10)+(Wr&1023)+65536):(De.push(Gt),ze--)}else De.push(Gt)}return De},Xu=function(){for(var ge=[],De=0;De<arguments.length;De++)ge[De]=arguments[De];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ge);var ze=ge.length;if(!ze)return"";for(var ut=[],Gt=-1,Wr="";++Gt<ze;){var ln=ge[Gt];ln<=65535?ut.push(ln):(ln-=65536,ut.push((ln>>10)+55296,ln%1024+56320)),(Gt+1===ze||ut.length>16384)&&(Wr+=String.fromCharCode.apply(String,ut),ut.length=0)}return Wr},Ec=Ds(el),Gl="\xD7",Bc="\xF7",Fu=function(ge){return Ec.get(ge)},sd=function(ge,De,ze){var ut=ze-2,Gt=De[ut],Wr=De[ze-1],ln=De[ze];if(Wr===tl&&ln===Ll)return Gl;if(Wr===tl||Wr===Ll||Wr===Qs)return Bc;if(ln===tl||ln===Ll||ln===Qs)return Bc;if(Wr===$c&&[$c,hu,fu,au].indexOf(ln)!==-1)return Gl;if((Wr===fu||Wr===hu)&&(ln===hu||ln===Rc))return Gl;if((Wr===au||Wr===Rc)&&ln===Rc)return Gl;if(ln===Cd||ln===xc)return Gl;if(ln===ku)return Gl;if(Wr===hl)return Gl;if(Wr===Cd&&ln===od){for(;Gt===xc;)Gt=De[--ut];if(Gt===od)return Gl}if(Wr===Ed&&ln===Ed){for(var Sn=0;Gt===Ed;)Sn++,Gt=De[--ut];if(Sn%2===0)return Gl}return Bc},ld=function(ge){var De=_d(ge),ze=De.length,ut=0,Gt=0,Wr=De.map(Fu);return{next:function(){if(ut>=ze)return{done:!0,value:null};for(var Sn=Gl;ut<ze&&(Sn=sd(De,Wr,++ut))===Gl;);if(Sn!==Gl||ut===ze){var zn=Xu.apply(null,De.slice(Gt,ut));return Gt=ut,{value:zn,done:!1}}return{done:!0,value:null}}}},Gu=function(ge){for(var De=ld(ge),ze=[],ut;!(ut=De.next()).done;)ut.value&&ze.push(ut.value.slice());return ze},Tu=function(ge){var De=123;if(ge.createRange){var ze=ge.createRange();if(ze.getBoundingClientRect){var ut=ge.createElement("boundtest");ut.style.height=De+"px",ut.style.display="block",ge.body.appendChild(ut),ze.selectNode(ut);var Gt=ze.getBoundingClientRect(),Wr=Math.round(Gt.height);if(ge.body.removeChild(ut),Wr===De)return!0}}return!1},jd=function(ge){var De=ge.createElement("boundtest");De.style.width="50px",De.style.display="block",De.style.fontSize="12px",De.style.letterSpacing="0px",De.style.wordSpacing="0px",ge.body.appendChild(De);var ze=ge.createRange();De.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var ut=De.firstChild,Gt=t(ut.data).map(function(zn){return a(zn)}),Wr=0,ln={},Sn=Gt.every(function(zn,ji){ze.setStart(ut,Wr),ze.setEnd(ut,Wr+zn.length);var Oi=ze.getBoundingClientRect();Wr+=zn.length;var Zi=Oi.x>ln.x||Oi.y>ln.y;return ln=Oi,ji===0?!0:Zi});return ge.body.removeChild(De),Sn},cd=function(){return typeof new Image().crossOrigin!="undefined"},Td=function(){return typeof new XMLHttpRequest().responseType=="string"},qc=function(ge){var De=new Image,ze=ge.createElement("canvas"),ut=ze.getContext("2d");if(!ut)return!1;De.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{ut.drawImage(De,0,0),ze.toDataURL()}catch(Gt){return!1}return!0},ou=function(ge){return ge[0]===0&&ge[1]===255&&ge[2]===0&&ge[3]===255},Pu=function(ge){var De=ge.createElement("canvas"),ze=100;De.width=ze,De.height=ze;var ut=De.getContext("2d");if(!ut)return Promise.reject(!1);ut.fillStyle="rgb(0, 255, 0)",ut.fillRect(0,0,ze,ze);var Gt=new Image,Wr=De.toDataURL();Gt.src=Wr;var ln=Ou(ze,ze,0,0,Gt);return ut.fillStyle="red",ut.fillRect(0,0,ze,ze),eu(ln).then(function(Sn){ut.drawImage(Sn,0,0);var zn=ut.getImageData(0,0,ze,ze).data;ut.fillStyle="red",ut.fillRect(0,0,ze,ze);var ji=ge.createElement("div");return ji.style.backgroundImage="url("+Wr+")",ji.style.height=ze+"px",ou(zn)?eu(Ou(ze,ze,0,0,ji)):Promise.reject(!1)}).then(function(Sn){return ut.drawImage(Sn,0,0),ou(ut.getImageData(0,0,ze,ze).data)}).catch(function(){return!1})},Ou=function(ge,De,ze,ut,Gt){var Wr="http://www.w3.org/2000/svg",ln=document.createElementNS(Wr,"svg"),Sn=document.createElementNS(Wr,"foreignObject");return ln.setAttributeNS(null,"width",ge.toString()),ln.setAttributeNS(null,"height",De.toString()),Sn.setAttributeNS(null,"width","100%"),Sn.setAttributeNS(null,"height","100%"),Sn.setAttributeNS(null,"x",ze.toString()),Sn.setAttributeNS(null,"y",ut.toString()),Sn.setAttributeNS(null,"externalResourcesRequired","true"),ln.appendChild(Sn),Sn.appendChild(Gt),ln},eu=function(ge){return new Promise(function(De,ze){var ut=new Image;ut.onload=function(){return De(ut)},ut.onerror=ze,ut.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ge))})},Sc={get SUPPORT_RANGE_BOUNDS(){var hr=Tu(document);return Object.defineProperty(Sc,"SUPPORT_RANGE_BOUNDS",{value:hr}),hr},get SUPPORT_WORD_BREAKING(){var hr=Sc.SUPPORT_RANGE_BOUNDS&&jd(document);return Object.defineProperty(Sc,"SUPPORT_WORD_BREAKING",{value:hr}),hr},get SUPPORT_SVG_DRAWING(){var hr=qc(document);return Object.defineProperty(Sc,"SUPPORT_SVG_DRAWING",{value:hr}),hr},get SUPPORT_FOREIGNOBJECT_DRAWING(){var hr=typeof Array.from=="function"&&typeof window.fetch=="function"?Pu(document):Promise.resolve(!1);return Object.defineProperty(Sc,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:hr}),hr},get SUPPORT_CORS_IMAGES(){var hr=cd();return Object.defineProperty(Sc,"SUPPORT_CORS_IMAGES",{value:hr}),hr},get SUPPORT_RESPONSE_TYPE(){var hr=Td();return Object.defineProperty(Sc,"SUPPORT_RESPONSE_TYPE",{value:hr}),hr},get SUPPORT_CORS_XHR(){var hr="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Sc,"SUPPORT_CORS_XHR",{value:hr}),hr},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var hr=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Sc,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:hr}),hr}},Uu=function(){function hr(ge,De){this.text=ge,this.bounds=De}return hr}(),su=function(ge,De,ze,ut){var Gt=pu(De,ze),Wr=[],ln=0;return Gt.forEach(function(Sn){if(ze.textDecorationLine.length||Sn.trim().length>0)if(Sc.SUPPORT_RANGE_BOUNDS){var zn=Od(ut,ln,Sn.length).getClientRects();if(zn.length>1){var ji=ju(Sn),Oi=0;ji.forEach(function(po){Wr.push(new Uu(po,d.fromDOMRectList(ge,Od(ut,Oi+ln,po.length).getClientRects()))),Oi+=po.length})}else Wr.push(new Uu(Sn,d.fromDOMRectList(ge,zn)))}else{var Zi=ut.splitText(Sn.length);Wr.push(new Uu(Sn,Yu(ge,ut))),ut=Zi}else Sc.SUPPORT_RANGE_BOUNDS||(ut=ut.splitText(Sn.length));ln+=Sn.length}),Wr},Yu=function(ge,De){var ze=De.ownerDocument;if(ze){var ut=ze.createElement("html2canvaswrapper");ut.appendChild(De.cloneNode(!0));var Gt=De.parentNode;if(Gt){Gt.replaceChild(ut,De);var Wr=l(ge,ut);return ut.firstChild&&Gt.replaceChild(ut.firstChild,ut),Wr}}return d.EMPTY},Od=function(ge,De,ze){var ut=ge.ownerDocument;if(!ut)throw new Error("Node has no owner document");var Gt=ut.createRange();return Gt.setStart(ge,De),Gt.setEnd(ge,De+ze),Gt},ju=function(ge){if(Sc.SUPPORT_NATIVE_TEXT_SEGMENTATION){var De=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(De.segment(ge)).map(function(ze){return ze.segment})}return Gu(ge)},Iu=function(ge,De){if(Sc.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ze=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(ze.segment(ge)).map(function(ut){return ut.segment})}return Id(ge,De)},pu=function(ge,De){return De.letterSpacing!==0?ju(ge):Iu(ge,De)},Lu=[32,160,4961,65792,65793,4153,4241],Id=function(ge,De){for(var ze=bn(ge,{lineBreak:De.lineBreak,wordBreak:De.overflowWrap==="break-word"?"break-word":De.wordBreak}),ut=[],Gt,Wr=function(){if(Gt.value){var Sn=Gt.value.slice(),zn=t(Sn),ji="";zn.forEach(function(Oi){Lu.indexOf(Oi)===-1?ji+=a(Oi):(ji.length&&ut.push(ji),ut.push(a(Oi)),ji="")}),ji.length&&ut.push(ji)}};!(Gt=ze.next()).done;)Wr();return ut},ud=function(){function hr(ge,De,ze){this.text=dd(De.data,ze.textTransform),this.textBounds=su(ge,this.text,ze,De)}return hr}(),dd=function(ge,De){switch(De){case 1:return ge.toLowerCase();case 3:return ge.replace(Hu,hd);case 2:return ge.toUpperCase();default:return ge}},Hu=/(^|\s|:|-|\(|\))([a-z])/g,hd=function(ge,De,ze){return ge.length>0?De+ze.toUpperCase():ge},fd=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this;return ut.src=ze.currentSrc||ze.src,ut.intrinsicWidth=ze.naturalWidth,ut.intrinsicHeight=ze.naturalHeight,ut.context.cache.addImage(ut.src),ut}return ge}(sl),Ld=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this;return ut.canvas=ze,ut.intrinsicWidth=ze.width,ut.intrinsicHeight=ze.height,ut}return ge}(sl),Xc=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this,Gt=new XMLSerializer,Wr=l(De,ze);return ze.setAttribute("width",Wr.width+"px"),ze.setAttribute("height",Wr.height+"px"),ut.svg="data:image/svg+xml,"+encodeURIComponent(Gt.serializeToString(ze)),ut.intrinsicWidth=ze.width.baseVal.value,ut.intrinsicHeight=ze.height.baseVal.value,ut.context.cache.addImage(ut.svg),ut}return ge}(sl),Gc=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this;return ut.value=ze.value,ut}return ge}(sl),Jc=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this;return ut.start=ze.start,ut.reversed=typeof ze.reversed=="boolean"&&ze.reversed===!0,ut}return ge}(sl),Qu=[{type:15,flags:0,unit:"px",number:3}],pd=[{type:16,flags:0,number:50}],lu=function(ge){return ge.width>ge.height?new d(ge.left+(ge.width-ge.height)/2,ge.top,ge.height,ge.height):ge.width<ge.height?new d(ge.left,ge.top+(ge.height-ge.width)/2,ge.width,ge.width):ge},Yc=function(ge){var De=ge.type===Hd?new Array(ge.value.length+1).join("\u2022"):ge.value;return De.length===0?ge.placeholder||"":De},Wu="checkbox",Zu="radio",Hd="password",md=707406591,Ju=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this;ut.type=ze.type.toLowerCase(),ut.checked=ze.checked,ut.value=Yc(ze),(ut.type===Wu||ut.type===Zu)&&(ut.styles.backgroundColor=3739148031,ut.styles.borderTopColor=ut.styles.borderRightColor=ut.styles.borderBottomColor=ut.styles.borderLeftColor=2779096575,ut.styles.borderTopWidth=ut.styles.borderRightWidth=ut.styles.borderBottomWidth=ut.styles.borderLeftWidth=1,ut.styles.borderTopStyle=ut.styles.borderRightStyle=ut.styles.borderBottomStyle=ut.styles.borderLeftStyle=1,ut.styles.backgroundClip=[0],ut.styles.backgroundOrigin=[0],ut.bounds=lu(ut.bounds));switch(ut.type){case Wu:ut.styles.borderTopRightRadius=ut.styles.borderTopLeftRadius=ut.styles.borderBottomRightRadius=ut.styles.borderBottomLeftRadius=Qu;break;case Zu:ut.styles.borderTopRightRadius=ut.styles.borderTopLeftRadius=ut.styles.borderBottomRightRadius=ut.styles.borderBottomLeftRadius=pd;break}return ut}return ge}(sl),$u=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this,Gt=ze.options[ze.selectedIndex||0];return ut.value=Gt&&Gt.text||"",ut}return ge}(sl),qu=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this;return ut.value=ze.value,ut}return ge}(sl),tu=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this;ut.src=ze.src,ut.width=parseInt(ze.width,10)||0,ut.height=parseInt(ze.height,10)||0,ut.backgroundColor=ut.styles.backgroundColor;try{if(ze.contentWindow&&ze.contentWindow.document&&ze.contentWindow.document.documentElement){ut.tree=nu(De,ze.contentWindow.document.documentElement);var Gt=ze.contentWindow.document.documentElement?tn(De,getComputedStyle(ze.contentWindow.document.documentElement).backgroundColor):sn.TRANSPARENT,Wr=ze.contentWindow.document.body?tn(De,getComputedStyle(ze.contentWindow.document.body).backgroundColor):sn.TRANSPARENT;ut.backgroundColor=za(Gt)?za(Wr)?ut.styles.backgroundColor:Wr:Gt}}catch(ln){}return ut}return ge}(sl),cu=["OL","UL","MENU"],ru=function hr(ge,De,ze,ut){for(var Gt=De.firstChild,Wr=void 0;Gt;Gt=Wr)if(Wr=Gt.nextSibling,zd(Gt)&&Gt.data.trim().length>0)ze.textNodes.push(new ud(ge,Gt,ze.styles));else if(mu(Gt))if(Fe(Gt)&&Gt.assignedNodes)Gt.assignedNodes().forEach(function(Sn){return hr(ge,Sn,ze,ut)});else{var ln=zu(ge,Gt);ln.styles.isVisible()&&($d(Gt,ln,ut)?ln.flags|=4:Wd(ln.styles)&&(ln.flags|=2),cu.indexOf(Gt.tagName)!==-1&&(ln.flags|=8),ze.elements.push(ln),Gt.slot,Gt.shadowRoot?hr(ge,Gt.shadowRoot,ln,ut):!Tr(Gt)&&!Rd(Gt)&&!Vr(Gt)&&hr(ge,Gt,ln,ut))}},zu=function(ge,De){return Ee(De)?new fd(ge,De):Nu(De)?new Ld(ge,De):Rd(De)?new Xc(ge,De):Ad(De)?new Gc(ge,De):Md(De)?new Jc(ge,De):Dd(De)?new Ju(ge,De):Vr(De)?new $u(ge,De):Tr(De)?new qu(ge,De):Qe(De)?new tu(ge,De):new sl(ge,De)},nu=function(ge,De){var ze=zu(ge,De);return ze.flags|=4,ru(ge,De,ze,ze),ze},$d=function(ge,De,ze){return De.styles.isPositionedWithZIndex()||De.styles.opacity<1||De.styles.isTransformed()||gu(ge)&&ze.styles.isTransparent()},Wd=function(ge){return ge.isPositioned()||ge.isFloating()},zd=function(ge){return ge.nodeType===Node.TEXT_NODE},mu=function(ge){return ge.nodeType===Node.ELEMENT_NODE},Nd=function(ge){return mu(ge)&&typeof ge.style!="undefined"&&!gd(ge)},gd=function(ge){return typeof ge.className=="object"},Ad=function(ge){return ge.tagName==="LI"},Md=function(ge){return ge.tagName==="OL"},Dd=function(ge){return ge.tagName==="INPUT"},ed=function(ge){return ge.tagName==="HTML"},Rd=function(ge){return ge.tagName==="svg"},gu=function(ge){return ge.tagName==="BODY"},Nu=function(ge){return ge.tagName==="CANVAS"},Ee=function(ge){return ge.tagName==="IMG"},Qe=function(ge){return ge.tagName==="IFRAME"},xt=function(ge){return ge.tagName==="STYLE"},Jt=function(ge){return ge.tagName==="SCRIPT"},Tr=function(ge){return ge.tagName==="TEXTAREA"},Vr=function(ge){return ge.tagName==="SELECT"},Fe=function(ge){return ge.tagName==="SLOT"},se=function(ge){return ge.tagName.indexOf("-")>0},Ie=function(){function hr(){this.counters={}}return hr.prototype.getCounterValue=function(ge){var De=this.counters[ge];return De&&De.length?De[De.length-1]:1},hr.prototype.getCounterValues=function(ge){var De=this.counters[ge];return De||[]},hr.prototype.pop=function(ge){var De=this;ge.forEach(function(ze){return De.counters[ze].pop()})},hr.prototype.parse=function(ge){var De=this,ze=ge.counterIncrement,ut=ge.counterReset,Gt=!0;ze!==null&&ze.forEach(function(ln){var Sn=De.counters[ln.counter];Sn&&ln.increment!==0&&(Gt=!1,Sn.length||Sn.push(1),Sn[Math.max(0,Sn.length-1)]+=ln.increment)});var Wr=[];return Gt&&ut.forEach(function(ln){var Sn=De.counters[ln.counter];Wr.push(ln.counter),Sn||(Sn=De.counters[ln.counter]=[]),Sn.push(ln.reset)}),Wr},hr}(),Je={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"]},pt={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"]},kt={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"]},Wt={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"]},Kt=function(ge,De,ze,ut,Gt,Wr){return ge<De||ge>ze?Wa(ge,Gt,Wr.length>0):ut.integers.reduce(function(ln,Sn,zn){for(;ge>=Sn;)ge-=Sn,ln+=ut.values[zn];return ln},"")+Wr},Mr=function(ge,De,ze,ut){var Gt="";do ze||ge--,Gt=ut(ge)+Gt,ge/=De;while(ge*De>=De);return Gt},Kr=function(ge,De,ze,ut,Gt){var Wr=ze-De+1;return(ge<0?"-":"")+(Mr(Math.abs(ge),Wr,ut,function(ln){return a(Math.floor(ln%Wr)+De)})+Gt)},Ir=function(ge,De,ze){ze===void 0&&(ze=". ");var ut=De.length;return Mr(Math.abs(ge),ut,!1,function(Gt){return De[Math.floor(Gt%ut)]})+ze},Er=1<<0,zr=1<<1,qr=1<<2,Nn=1<<3,wi=function(ge,De,ze,ut,Gt,Wr){if(ge<-9999||ge>9999)return Wa(ge,4,Gt.length>0);var ln=Math.abs(ge),Sn=Gt;if(ln===0)return De[0]+Sn;for(var zn=0;ln>0&&zn<=4;zn++){var ji=ln%10;ji===0&&Xr(Wr,Er)&&Sn!==""?Sn=De[ji]+Sn:ji>1||ji===1&&zn===0||ji===1&&zn===1&&Xr(Wr,zr)||ji===1&&zn===1&&Xr(Wr,qr)&&ge>100||ji===1&&zn>1&&Xr(Wr,Nn)?Sn=De[ji]+(zn>0?ze[zn-1]:"")+Sn:ji===1&&zn>0&&(Sn=ze[zn-1]+Sn),ln=Math.floor(ln/10)}return(ge<0?ut:"")+Sn},Ki="\u5341\u767E\u5343\u842C",Oa="\u62FE\u4F70\u4EDF\u842C",ta="\u30DE\u30A4\u30CA\u30B9",_o="\uB9C8\uC774\uB108\uC2A4",Wa=function(ge,De,ze){var ut=ze?". ":"",Gt=ze?"\u3001":"",Wr=ze?", ":"",ln=ze?" ":"";switch(De){case 0:return"\u2022"+ln;case 1:return"\u25E6"+ln;case 2:return"\u25FE"+ln;case 5:var Sn=Kr(ge,48,57,!0,ut);return Sn.length<4?"0"+Sn:Sn;case 4:return Ir(ge,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Gt);case 6:return Kt(ge,1,3999,Je,3,ut).toLowerCase();case 7:return Kt(ge,1,3999,Je,3,ut);case 8:return Kr(ge,945,969,!1,ut);case 9:return Kr(ge,97,122,!1,ut);case 10:return Kr(ge,65,90,!1,ut);case 11:return Kr(ge,1632,1641,!0,ut);case 12:case 49:return Kt(ge,1,9999,pt,3,ut);case 35:return Kt(ge,1,9999,pt,3,ut).toLowerCase();case 13:return Kr(ge,2534,2543,!0,ut);case 14:case 30:return Kr(ge,6112,6121,!0,ut);case 15:return Ir(ge,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Gt);case 16:return Ir(ge,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Gt);case 17:case 48:return wi(ge,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ki,"\u8CA0",Gt,zr|qr|Nn);case 47:return wi(ge,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Oa,"\u8CA0",Gt,Er|zr|qr|Nn);case 42:return wi(ge,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ki,"\u8D1F",Gt,zr|qr|Nn);case 41:return wi(ge,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Oa,"\u8D1F",Gt,Er|zr|qr|Nn);case 26:return wi(ge,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",ta,Gt,0);case 25:return wi(ge,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",ta,Gt,Er|zr|qr);case 31:return wi(ge,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",_o,Wr,Er|zr|qr);case 33:return wi(ge,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",_o,Wr,0);case 32:return wi(ge,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",_o,Wr,Er|zr|qr);case 18:return Kr(ge,2406,2415,!0,ut);case 20:return Kt(ge,1,19999,Wt,3,ut);case 21:return Kr(ge,2790,2799,!0,ut);case 22:return Kr(ge,2662,2671,!0,ut);case 22:return Kt(ge,1,10999,kt,3,ut);case 23:return Ir(ge,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Ir(ge,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return Kr(ge,3302,3311,!0,ut);case 28:return Ir(ge,"\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",Gt);case 29:return Ir(ge,"\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",Gt);case 34:return Kr(ge,3792,3801,!0,ut);case 37:return Kr(ge,6160,6169,!0,ut);case 38:return Kr(ge,4160,4169,!0,ut);case 39:return Kr(ge,2918,2927,!0,ut);case 40:return Kr(ge,1776,1785,!0,ut);case 43:return Kr(ge,3046,3055,!0,ut);case 44:return Kr(ge,3174,3183,!0,ut);case 45:return Kr(ge,3664,3673,!0,ut);case 46:return Kr(ge,3872,3881,!0,ut);case 3:default:return Kr(ge,48,57,!0,ut)}},Ko="data-html2canvas-ignore",Lo=function(){function hr(ge,De,ze){if(this.context=ge,this.options=ze,this.scrolledElements=[],this.referenceElement=De,this.counters=new Ie,this.quoteDepth=0,!De.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(De.ownerDocument.documentElement,!1)}return hr.prototype.toIFrame=function(ge,De){var ze=this,ut=Rs(ge,De);if(!ut.contentWindow)return Promise.reject("Unable to find iframe window");var Gt=ge.defaultView.pageXOffset,Wr=ge.defaultView.pageYOffset,ln=ut.contentWindow,Sn=ln.document,zn=ae(ut).then(function(){return p(ze,void 0,void 0,function(){var ji,Oi;return v(this,function(Zi){switch(Zi.label){case 0:return this.scrolledElements.forEach(Ut),ln&&(ln.scrollTo(De.left,De.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(ln.scrollY!==De.top||ln.scrollX!==De.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(ln.scrollX-De.left,ln.scrollY-De.top,0,0))),ji=this.options.onclone,Oi=this.clonedReferenceElement,typeof Oi=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Sn.fonts&&Sn.fonts.ready?[4,Sn.fonts.ready]:[3,2];case 1:Zi.sent(),Zi.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,P(Sn)]:[3,4];case 3:Zi.sent(),Zi.label=4;case 4:return typeof ji=="function"?[2,Promise.resolve().then(function(){return ji(Sn,Oi)}).then(function(){return ut})]:[2,ut]}})})});return Sn.open(),Sn.write(Ve(document.doctype)+"<html></html>"),yt(this.referenceElement.ownerDocument,Gt,Wr),Sn.replaceChild(Sn.adoptNode(this.documentElement),Sn.documentElement),Sn.close(),zn},hr.prototype.createElementClone=function(ge){if(Rl(ge,2))debugger;if(Nu(ge))return this.createCanvasClone(ge);if(xt(ge))return this.createStyleClone(ge);var De=ge.cloneNode(!1);return Ee(De)&&(Ee(ge)&&ge.currentSrc&&ge.currentSrc!==ge.src&&(De.src=ge.currentSrc,De.srcset=""),De.loading==="lazy"&&(De.loading="eager")),se(De)?this.createCustomElementClone(De):De},hr.prototype.createCustomElementClone=function(ge){var De=document.createElement("html2canvascustomelement");return pe(ge.style,De),De},hr.prototype.createStyleClone=function(ge){try{var De=ge.sheet;if(De&&De.cssRules){var ze=[].slice.call(De.cssRules,0).reduce(function(Gt,Wr){return Wr&&typeof Wr.cssText=="string"?Gt+Wr.cssText:Gt},""),ut=ge.cloneNode(!1);return ut.textContent=ze,ut}}catch(Gt){if(this.context.logger.error("Unable to access cssRules property",Gt),Gt.name!=="SecurityError")throw Gt}return ge.cloneNode(!1)},hr.prototype.createCanvasClone=function(ge){var De;if(this.options.inlineImages&&ge.ownerDocument){var ze=ge.ownerDocument.createElement("img");try{return ze.src=ge.toDataURL(),ze}catch(zn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ge)}}var ut=ge.cloneNode(!1);try{ut.width=ge.width,ut.height=ge.height;var Gt=ge.getContext("2d"),Wr=ut.getContext("2d");if(Wr)if(!this.options.allowTaint&&Gt)Wr.putImageData(Gt.getImageData(0,0,ge.width,ge.height),0,0);else{var ln=(De=ge.getContext("webgl2"))!==null&&De!==void 0?De:ge.getContext("webgl");if(ln){var Sn=ln.getContextAttributes();(Sn==null?void 0:Sn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ge)}Wr.drawImage(ge,0,0)}return ut}catch(zn){this.context.logger.info("Unable to clone canvas as it is tainted",ge)}return ut},hr.prototype.appendChildNode=function(ge,De,ze){(!mu(De)||!Jt(De)&&!De.hasAttribute(Ko)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(De)))&&((!this.options.copyStyles||!mu(De)||!xt(De))&&ge.appendChild(this.cloneNode(De,ze)))},hr.prototype.cloneNode=function(ge,De){var ze=this;if(zd(ge))return document.createTextNode(ge.data);if(!ge.ownerDocument)return ge.cloneNode(!1);var ut=ge.ownerDocument.defaultView;if(ut&&mu(ge)&&(Nd(ge)||gd(ge))){var Gt=this.createElementClone(ge);Gt.style.transitionProperty="none";var Wr=ut.getComputedStyle(ge),ln=ut.getComputedStyle(ge,":before"),Sn=ut.getComputedStyle(ge,":after");this.referenceElement===ge&&Nd(Gt)&&(this.clonedReferenceElement=Gt),gu(Gt)&&Si(Gt);var zn=this.counters.parse(new Ys(this.context,Wr)),ji=this.resolvePseudoContent(ge,Gt,ln,ds.BEFORE);se(ge)&&(De=!0);for(var Oi=ge.shadowRoot?ge.shadowRoot.firstChild:ge.firstChild;Oi;Oi=Oi.nextSibling)if(mu(Oi)&&Fe(Oi)&&typeof Oi.assignedNodes=="function"){var Zi=Oi.assignedNodes();Zi.length&&Zi.forEach(function(Ao){return ze.appendChildNode(Gt,Ao,De)})}else this.appendChildNode(Gt,Oi,De);ji&&Gt.insertBefore(ji,Gt.firstChild);var po=this.resolvePseudoContent(ge,Gt,Sn,ds.AFTER);return po&&Gt.appendChild(po),this.counters.pop(zn),(Wr&&(this.options.copyStyles||gd(ge))&&!Qe(ge)||De)&&pe(Wr,Gt),(ge.scrollTop!==0||ge.scrollLeft!==0)&&this.scrolledElements.push([Gt,ge.scrollLeft,ge.scrollTop]),(Tr(ge)||Vr(ge))&&(Tr(Gt)||Vr(Gt))&&(Gt.value=ge.value),Gt}return ge.cloneNode(!1)},hr.prototype.resolvePseudoContent=function(ge,De,ze,ut){var Gt=this;if(!ze)return;var Wr=ze.content,ln=De.ownerDocument;if(!ln||!Wr||Wr==="none"||Wr==="-moz-alt-content"||ze.display==="none")return;this.counters.parse(new Ys(this.context,ze));var Sn=new il(this.context,ze),zn=ln.createElement("html2canvaspseudoelement");pe(ze,zn),Sn.content.forEach(function(Oi){if(Oi.type===0)zn.appendChild(ln.createTextNode(Oi.value));else if(Oi.type===22){var Zi=ln.createElement("img");Zi.src=Oi.value,Zi.style.opacity="1",zn.appendChild(Zi)}else if(Oi.type===18){if(Oi.name==="attr"){var po=Oi.values.filter(gr);po.length&&zn.appendChild(ln.createTextNode(ge.getAttribute(po[0].value)||""))}else if(Oi.name==="counter"){var Ao=Oi.values.filter(In),Fo=Ao[0],Bs=Ao[1];if(Fo&&gr(Fo)){var hs=Gt.counters.getCounterValue(Fo.value),is=Bs&&gr(Bs)?Jl.parse(Gt.context,Bs.value):3;zn.appendChild(ln.createTextNode(Wa(hs,is,!1)))}}else if(Oi.name==="counters"){var El=Oi.values.filter(In),Fo=El[0],Dl=El[1],Bs=El[2];if(Fo&&gr(Fo)){var fl=Gt.counters.getCounterValues(Fo.value),rs=Bs&&gr(Bs)?Jl.parse(Gt.context,Bs.value):3,Pl=Dl&&Dl.type===0?Dl.value:"",Hl=fl.map(function(Ku){return Wa(Ku,rs,!1)}).join(Pl);zn.appendChild(ln.createTextNode(Hl))}}}else if(Oi.type===20)switch(Oi.value){case"open-quote":zn.appendChild(ln.createTextNode(Ya(Sn.quotes,Gt.quoteDepth++,!0)));break;case"close-quote":zn.appendChild(ln.createTextNode(Ya(Sn.quotes,--Gt.quoteDepth,!1)));break;default:zn.appendChild(ln.createTextNode(Oi.value))}}),zn.className=xn+" "+jn;var ji=ut===ds.BEFORE?" "+xn:" "+jn;return gd(De)?De.className.baseValue+=ji:De.className+=ji,zn},hr.destroy=function(ge){return ge.parentNode?(ge.parentNode.removeChild(ge),!0):!1},hr}(),ds;(function(hr){hr[hr.BEFORE=0]="BEFORE",hr[hr.AFTER=1]="AFTER"})(ds||(ds={}));var Rs=function(ge,De){var ze=ge.createElement("iframe");return ze.className="html2canvas-container",ze.style.visibility="hidden",ze.style.position="fixed",ze.style.left="-10000px",ze.style.top="0px",ze.style.border="0",ze.width=De.width.toString(),ze.height=De.height.toString(),ze.scrolling="no",ze.setAttribute(Ko,"true"),ge.body.appendChild(ze),ze},M=function(ge){return new Promise(function(De){if(ge.complete){De();return}if(!ge.src){De();return}ge.onload=De,ge.onerror=De})},P=function(ge){return Promise.all([].slice.call(ge.images,0).map(M))},ae=function(ge){return new Promise(function(De,ze){var ut=ge.contentWindow;if(!ut)return ze("No window assigned for iframe");var Gt=ut.document;ut.onload=ge.onload=function(){ut.onload=ge.onload=null;var Wr=setInterval(function(){Gt.body.childNodes.length>0&&Gt.readyState==="complete"&&(clearInterval(Wr),De(ge))},50)}})},le=["all","d","content"],pe=function(ge,De){for(var ze=ge.length-1;ze>=0;ze--){var ut=ge.item(ze);le.indexOf(ut)===-1&&De.style.setProperty(ut,ge.getPropertyValue(ut))}return De},Ve=function(ge){var De="";return ge&&(De+="<!DOCTYPE ",ge.name&&(De+=ge.name),ge.internalSubset&&(De+=ge.internalSubset),ge.publicId&&(De+='"'+ge.publicId+'"'),ge.systemId&&(De+='"'+ge.systemId+'"'),De+=">"),De},yt=function(ge,De,ze){ge&&ge.defaultView&&(De!==ge.defaultView.pageXOffset||ze!==ge.defaultView.pageYOffset)&&ge.defaultView.scrollTo(De,ze)},Ut=function(ge){var De=ge[0],ze=ge[1],ut=ge[2];De.scrollLeft=ze,De.scrollTop=ut},sr=":before",fr=":after",xn="___html2canvas___pseudoelement_before",jn="___html2canvas___pseudoelement_after",gi=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,Si=function(ge){la(ge,"."+xn+sr+gi+`
|
|
|
.`+jn+fr+gi)},la=function(ge,De){var ze=ge.ownerDocument;if(ze){var ut=ze.createElement("style");ut.textContent=De,ge.appendChild(ut)}},Ua=function(){function hr(){}return hr.getOrigin=function(ge){var De=hr._link;return De?(De.href=ge,De.href=De.href,De.protocol+De.hostname+De.port):"about:blank"},hr.isSameOrigin=function(ge){return hr.getOrigin(ge)===hr._origin},hr.setContext=function(ge){hr._link=ge.document.createElement("a"),hr._origin=hr.getOrigin(ge.location.href)},hr._origin="about:blank",hr}(),eo=function(){function hr(ge,De){this.context=ge,this._options=De,this._cache={}}return hr.prototype.addImage=function(ge){var De=Promise.resolve();return this.has(ge)||(js(ge)||Do(ge))&&(this._cache[ge]=this.loadImage(ge)).catch(function(){}),De},hr.prototype.match=function(ge){return this._cache[ge]},hr.prototype.loadImage=function(ge){return p(this,void 0,void 0,function(){var De,ze,ut,Gt,Wr=this;return v(this,function(ln){switch(ln.label){case 0:return De=Ua.isSameOrigin(ge),ze=!xs(ge)&&this._options.useCORS===!0&&Sc.SUPPORT_CORS_IMAGES&&!De,ut=!xs(ge)&&!De&&!js(ge)&&typeof this._options.proxy=="string"&&Sc.SUPPORT_CORS_XHR&&!ze,!De&&this._options.allowTaint===!1&&!xs(ge)&&!js(ge)&&!ut&&!ze?[2]:(Gt=ge,ut?[4,this.proxy(Gt)]:[3,2]);case 1:Gt=ln.sent(),ln.label=2;case 2:return this.context.logger.debug("Added image "+ge.substring(0,256)),[4,new Promise(function(Sn,zn){var ji=new Image;ji.onload=function(){return Sn(ji)},ji.onerror=zn,(os(Gt)||ze)&&(ji.crossOrigin="anonymous"),ji.src=Gt,ji.complete===!0&&setTimeout(function(){return Sn(ji)},500),Wr._options.imageTimeout>0&&setTimeout(function(){return zn("Timed out ("+Wr._options.imageTimeout+"ms) loading image")},Wr._options.imageTimeout)})];case 3:return[2,ln.sent()]}})})},hr.prototype.has=function(ge){return typeof this._cache[ge]!="undefined"},hr.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},hr.prototype.proxy=function(ge){var De=this,ze=this._options.proxy;if(!ze)throw new Error("No proxy defined");var ut=ge.substring(0,256);return new Promise(function(Gt,Wr){var ln=Sc.SUPPORT_RESPONSE_TYPE?"blob":"text",Sn=new XMLHttpRequest;Sn.onload=function(){if(Sn.status===200)if(ln==="text")Gt(Sn.response);else{var Oi=new FileReader;Oi.addEventListener("load",function(){return Gt(Oi.result)},!1),Oi.addEventListener("error",function(Zi){return Wr(Zi)},!1),Oi.readAsDataURL(Sn.response)}else Wr("Failed to proxy resource "+ut+" with status code "+Sn.status)},Sn.onerror=Wr;var zn=ze.indexOf("?")>-1?"&":"?";if(Sn.open("GET",""+ze+zn+"url="+encodeURIComponent(ge)+"&responseType="+ln),ln!=="text"&&Sn instanceof XMLHttpRequest&&(Sn.responseType=ln),De._options.imageTimeout){var ji=De._options.imageTimeout;Sn.timeout=ji,Sn.ontimeout=function(){return Wr("Timed out ("+ji+"ms) proxying "+ut)}}Sn.send()})},hr}(),no=/^data:image\/svg\+xml/i,to=/^data:image\/.*;base64,/i,So=/^data:image\/.*/i,Do=function(ge){return Sc.SUPPORT_SVG_DRAWING||!cl(ge)},xs=function(ge){return So.test(ge)},os=function(ge){return to.test(ge)},js=function(ge){return ge.substr(0,4)==="blob"},cl=function(ge){return ge.substr(-3).toLowerCase()==="svg"||no.test(ge)},co=function(){function hr(ge,De){this.type=0,this.x=ge,this.y=De}return hr.prototype.add=function(ge,De){return new hr(this.x+ge,this.y+De)},hr}(),yl=function(ge,De,ze){return new co(ge.x+(De.x-ge.x)*ze,ge.y+(De.y-ge.y)*ze)},oc=function(){function hr(ge,De,ze,ut){this.type=1,this.start=ge,this.startControl=De,this.endControl=ze,this.end=ut}return hr.prototype.subdivide=function(ge,De){var ze=yl(this.start,this.startControl,ge),ut=yl(this.startControl,this.endControl,ge),Gt=yl(this.endControl,this.end,ge),Wr=yl(ze,ut,ge),ln=yl(ut,Gt,ge),Sn=yl(Wr,ln,ge);return De?new hr(this.start,ze,Wr,Sn):new hr(Sn,ln,Gt,this.end)},hr.prototype.add=function(ge,De){return new hr(this.start.add(ge,De),this.startControl.add(ge,De),this.endControl.add(ge,De),this.end.add(ge,De))},hr.prototype.reverse=function(){return new hr(this.end,this.endControl,this.startControl,this.start)},hr}(),jl=function(ge){return ge.type===1},sc=function(){function hr(ge){var De=ge.styles,ze=ge.bounds,ut=Mi(De.borderTopLeftRadius,ze.width,ze.height),Gt=ut[0],Wr=ut[1],ln=Mi(De.borderTopRightRadius,ze.width,ze.height),Sn=ln[0],zn=ln[1],ji=Mi(De.borderBottomRightRadius,ze.width,ze.height),Oi=ji[0],Zi=ji[1],po=Mi(De.borderBottomLeftRadius,ze.width,ze.height),Ao=po[0],Fo=po[1],Bs=[];Bs.push((Gt+Sn)/ze.width),Bs.push((Ao+Oi)/ze.width),Bs.push((Wr+Fo)/ze.height),Bs.push((zn+Zi)/ze.height);var hs=Math.max.apply(Math,Bs);hs>1&&(Gt/=hs,Wr/=hs,Sn/=hs,zn/=hs,Oi/=hs,Zi/=hs,Ao/=hs,Fo/=hs);var is=ze.width-Sn,El=ze.height-Zi,Dl=ze.width-Oi,fl=ze.height-Fo,rs=De.borderTopWidth,Pl=De.borderRightWidth,Hl=De.borderBottomWidth,pl=De.borderLeftWidth,wu=Pi(De.paddingTop,ge.bounds.width),Ku=Pi(De.paddingRight,ge.bounds.width),du=Pi(De.paddingBottom,ge.bounds.width),Vc=Pi(De.paddingLeft,ge.bounds.width);this.topLeftBorderDoubleOuterBox=Gt>0||Wr>0?rl(ze.left+pl/3,ze.top+rs/3,Gt-pl/3,Wr-rs/3,Zs.TOP_LEFT):new co(ze.left+pl/3,ze.top+rs/3),this.topRightBorderDoubleOuterBox=Gt>0||Wr>0?rl(ze.left+is,ze.top+rs/3,Sn-Pl/3,zn-rs/3,Zs.TOP_RIGHT):new co(ze.left+ze.width-Pl/3,ze.top+rs/3),this.bottomRightBorderDoubleOuterBox=Oi>0||Zi>0?rl(ze.left+Dl,ze.top+El,Oi-Pl/3,Zi-Hl/3,Zs.BOTTOM_RIGHT):new co(ze.left+ze.width-Pl/3,ze.top+ze.height-Hl/3),this.bottomLeftBorderDoubleOuterBox=Ao>0||Fo>0?rl(ze.left+pl/3,ze.top+fl,Ao-pl/3,Fo-Hl/3,Zs.BOTTOM_LEFT):new co(ze.left+pl/3,ze.top+ze.height-Hl/3),this.topLeftBorderDoubleInnerBox=Gt>0||Wr>0?rl(ze.left+pl*2/3,ze.top+rs*2/3,Gt-pl*2/3,Wr-rs*2/3,Zs.TOP_LEFT):new co(ze.left+pl*2/3,ze.top+rs*2/3),this.topRightBorderDoubleInnerBox=Gt>0||Wr>0?rl(ze.left+is,ze.top+rs*2/3,Sn-Pl*2/3,zn-rs*2/3,Zs.TOP_RIGHT):new co(ze.left+ze.width-Pl*2/3,ze.top+rs*2/3),this.bottomRightBorderDoubleInnerBox=Oi>0||Zi>0?rl(ze.left+Dl,ze.top+El,Oi-Pl*2/3,Zi-Hl*2/3,Zs.BOTTOM_RIGHT):new co(ze.left+ze.width-Pl*2/3,ze.top+ze.height-Hl*2/3),this.bottomLeftBorderDoubleInnerBox=Ao>0||Fo>0?rl(ze.left+pl*2/3,ze.top+fl,Ao-pl*2/3,Fo-Hl*2/3,Zs.BOTTOM_LEFT):new co(ze.left+pl*2/3,ze.top+ze.height-Hl*2/3),this.topLeftBorderStroke=Gt>0||Wr>0?rl(ze.left+pl/2,ze.top+rs/2,Gt-pl/2,Wr-rs/2,Zs.TOP_LEFT):new co(ze.left+pl/2,ze.top+rs/2),this.topRightBorderStroke=Gt>0||Wr>0?rl(ze.left+is,ze.top+rs/2,Sn-Pl/2,zn-rs/2,Zs.TOP_RIGHT):new co(ze.left+ze.width-Pl/2,ze.top+rs/2),this.bottomRightBorderStroke=Oi>0||Zi>0?rl(ze.left+Dl,ze.top+El,Oi-Pl/2,Zi-Hl/2,Zs.BOTTOM_RIGHT):new co(ze.left+ze.width-Pl/2,ze.top+ze.height-Hl/2),this.bottomLeftBorderStroke=Ao>0||Fo>0?rl(ze.left+pl/2,ze.top+fl,Ao-pl/2,Fo-Hl/2,Zs.BOTTOM_LEFT):new co(ze.left+pl/2,ze.top+ze.height-Hl/2),this.topLeftBorderBox=Gt>0||Wr>0?rl(ze.left,ze.top,Gt,Wr,Zs.TOP_LEFT):new co(ze.left,ze.top),this.topRightBorderBox=Sn>0||zn>0?rl(ze.left+is,ze.top,Sn,zn,Zs.TOP_RIGHT):new co(ze.left+ze.width,ze.top),this.bottomRightBorderBox=Oi>0||Zi>0?rl(ze.left+Dl,ze.top+El,Oi,Zi,Zs.BOTTOM_RIGHT):new co(ze.left+ze.width,ze.top+ze.height),this.bottomLeftBorderBox=Ao>0||Fo>0?rl(ze.left,ze.top+fl,Ao,Fo,Zs.BOTTOM_LEFT):new co(ze.left,ze.top+ze.height),this.topLeftPaddingBox=Gt>0||Wr>0?rl(ze.left+pl,ze.top+rs,Math.max(0,Gt-pl),Math.max(0,Wr-rs),Zs.TOP_LEFT):new co(ze.left+pl,ze.top+rs),this.topRightPaddingBox=Sn>0||zn>0?rl(ze.left+Math.min(is,ze.width-Pl),ze.top+rs,is>ze.width+Pl?0:Math.max(0,Sn-Pl),Math.max(0,zn-rs),Zs.TOP_RIGHT):new co(ze.left+ze.width-Pl,ze.top+rs),this.bottomRightPaddingBox=Oi>0||Zi>0?rl(ze.left+Math.min(Dl,ze.width-pl),ze.top+Math.min(El,ze.height-Hl),Math.max(0,Oi-Pl),Math.max(0,Zi-Hl),Zs.BOTTOM_RIGHT):new co(ze.left+ze.width-Pl,ze.top+ze.height-Hl),this.bottomLeftPaddingBox=Ao>0||Fo>0?rl(ze.left+pl,ze.top+Math.min(fl,ze.height-Hl),Math.max(0,Ao-pl),Math.max(0,Fo-Hl),Zs.BOTTOM_LEFT):new co(ze.left+pl,ze.top+ze.height-Hl),this.topLeftContentBox=Gt>0||Wr>0?rl(ze.left+pl+Vc,ze.top+rs+wu,Math.max(0,Gt-(pl+Vc)),Math.max(0,Wr-(rs+wu)),Zs.TOP_LEFT):new co(ze.left+pl+Vc,ze.top+rs+wu),this.topRightContentBox=Sn>0||zn>0?rl(ze.left+Math.min(is,ze.width+pl+Vc),ze.top+rs+wu,is>ze.width+pl+Vc?0:Sn-pl+Vc,zn-(rs+wu),Zs.TOP_RIGHT):new co(ze.left+ze.width-(Pl+Ku),ze.top+rs+wu),this.bottomRightContentBox=Oi>0||Zi>0?rl(ze.left+Math.min(Dl,ze.width-(pl+Vc)),ze.top+Math.min(El,ze.height+rs+wu),Math.max(0,Oi-(Pl+Ku)),Zi-(Hl+du),Zs.BOTTOM_RIGHT):new co(ze.left+ze.width-(Pl+Ku),ze.top+ze.height-(Hl+du)),this.bottomLeftContentBox=Ao>0||Fo>0?rl(ze.left+pl+Vc,ze.top+fl,Math.max(0,Ao-(pl+Vc)),Fo-(Hl+du),Zs.BOTTOM_LEFT):new co(ze.left+pl+Vc,ze.top+ze.height-(Hl+du))}return hr}(),Zs;(function(hr){hr[hr.TOP_LEFT=0]="TOP_LEFT",hr[hr.TOP_RIGHT=1]="TOP_RIGHT",hr[hr.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",hr[hr.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Zs||(Zs={}));var rl=function(ge,De,ze,ut,Gt){var Wr=4*((Math.sqrt(2)-1)/3),ln=ze*Wr,Sn=ut*Wr,zn=ge+ze,ji=De+ut;switch(Gt){case Zs.TOP_LEFT:return new oc(new co(ge,ji),new co(ge,ji-Sn),new co(zn-ln,De),new co(zn,De));case Zs.TOP_RIGHT:return new oc(new co(ge,De),new co(ge+ln,De),new co(zn,ji-Sn),new co(zn,ji));case Zs.BOTTOM_RIGHT:return new oc(new co(zn,De),new co(zn,De+Sn),new co(ge+ln,ji),new co(ge,ji));case Zs.BOTTOM_LEFT:default:return new oc(new co(zn,ji),new co(zn-ln,ji),new co(ge,De+Sn),new co(ge,De))}},tc=function(ge){return[ge.topLeftBorderBox,ge.topRightBorderBox,ge.bottomRightBorderBox,ge.bottomLeftBorderBox]},lc=function(ge){return[ge.topLeftContentBox,ge.topRightContentBox,ge.bottomRightContentBox,ge.bottomLeftContentBox]},Ml=function(ge){return[ge.topLeftPaddingBox,ge.topRightPaddingBox,ge.bottomRightPaddingBox,ge.bottomLeftPaddingBox]},zc=function(){function hr(ge,De,ze){this.offsetX=ge,this.offsetY=De,this.matrix=ze,this.type=0,this.target=2|4}return hr}(),Au=function(){function hr(ge,De){this.path=ge,this.target=De,this.type=1}return hr}(),vu=function(){function hr(ge){this.opacity=ge,this.type=2,this.target=2|4}return hr}(),rc=function(ge){return ge.type===0},Kc=function(ge){return ge.type===1},_c=function(ge){return ge.type===2},Kd=function(ge,De){return ge.length===De.length?ge.some(function(ze,ut){return ze===De[ut]}):!1},bu=function(ge,De,ze,ut,Gt){return ge.map(function(Wr,ln){switch(ln){case 0:return Wr.add(De,ze);case 1:return Wr.add(De+ut,ze);case 2:return Wr.add(De+ut,ze+Gt);case 3:return Wr.add(De,ze+Gt)}return Wr})},uu=function(){function hr(ge){this.element=ge,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return hr}(),Mu=function(){function hr(ge,De){if(this.container=ge,this.parent=De,this.effects=[],this.curves=new sc(this.container),this.container.styles.opacity<1&&this.effects.push(new vu(this.container.styles.opacity)),this.container.styles.transform!==null){var ze=this.container.bounds.left+this.container.styles.transformOrigin[0].number,ut=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Gt=this.container.styles.transform;this.effects.push(new zc(ze,ut,Gt))}if(this.container.styles.overflowX!==0){var Wr=tc(this.curves),ln=Ml(this.curves);Kd(Wr,ln)?this.effects.push(new Au(Wr,2|4)):(this.effects.push(new Au(Wr,2)),this.effects.push(new Au(ln,4)))}}return hr.prototype.getEffects=function(ge){for(var De=[2,3].indexOf(this.container.styles.position)===-1,ze=this.parent,ut=this.effects.slice(0);ze;){var Gt=ze.effects.filter(function(Sn){return!Kc(Sn)});if(De||ze.container.styles.position!==0||!ze.parent){if(ut.unshift.apply(ut,Gt),De=[2,3].indexOf(ze.container.styles.position)===-1,ze.container.styles.overflowX!==0){var Wr=tc(ze.curves),ln=Ml(ze.curves);Kd(Wr,ln)||ut.unshift(new Au(ln,2|4))}}else ut.unshift.apply(ut,Gt);ze=ze.parent}return ut.filter(function(Sn){return Xr(Sn.target,ge)})},hr}(),kc=function hr(ge,De,ze,ut){ge.container.elements.forEach(function(Gt){var Wr=Xr(Gt.flags,4),ln=Xr(Gt.flags,2),Sn=new Mu(Gt,ge);Xr(Gt.styles.display,2048)&&ut.push(Sn);var zn=Xr(Gt.flags,8)?[]:ut;if(Wr||ln){var ji=Wr||Gt.styles.isPositioned()?ze:De,Oi=new uu(Sn);if(Gt.styles.isPositioned()||Gt.styles.opacity<1||Gt.styles.isTransformed()){var Zi=Gt.styles.zIndex.order;if(Zi<0){var po=0;ji.negativeZIndex.some(function(Fo,Bs){return Zi>Fo.element.container.styles.zIndex.order?(po=Bs,!1):po>0}),ji.negativeZIndex.splice(po,0,Oi)}else if(Zi>0){var Ao=0;ji.positiveZIndex.some(function(Fo,Bs){return Zi>=Fo.element.container.styles.zIndex.order?(Ao=Bs+1,!1):Ao>0}),ji.positiveZIndex.splice(Ao,0,Oi)}else ji.zeroOrAutoZIndexOrTransformedOrOpacity.push(Oi)}else Gt.styles.isFloating()?ji.nonPositionedFloats.push(Oi):ji.nonPositionedInlineLevel.push(Oi);hr(Sn,Oi,Wr?Oi:ze,zn)}else Gt.styles.isInlineLevel()?De.inlineLevel.push(Sn):De.nonInlineLevel.push(Sn),hr(Sn,De,ze,zn);Xr(Gt.flags,8)&&yu(Gt,zn)})},yu=function(ge,De){for(var ze=ge instanceof Jc?ge.start:1,ut=ge instanceof Jc?ge.reversed:!1,Gt=0;Gt<De.length;Gt++){var Wr=De[Gt];Wr.container instanceof Gc&&typeof Wr.container.value=="number"&&Wr.container.value!==0&&(ze=Wr.container.value),Wr.listValue=Wa(ze,Wr.container.styles.listStyleType,!0),ze+=ut?-1:1}},Bd=function(ge){var De=new Mu(ge,null),ze=new uu(De),ut=[];return kc(De,ze,ze,ut),yu(De.container,ut),ze},Vd=function(ge,De){switch(De){case 0:return iu(ge.topLeftBorderBox,ge.topLeftPaddingBox,ge.topRightBorderBox,ge.topRightPaddingBox);case 1:return iu(ge.topRightBorderBox,ge.topRightPaddingBox,ge.bottomRightBorderBox,ge.bottomRightPaddingBox);case 2:return iu(ge.bottomRightBorderBox,ge.bottomRightPaddingBox,ge.bottomLeftBorderBox,ge.bottomLeftPaddingBox);case 3:default:return iu(ge.bottomLeftBorderBox,ge.bottomLeftPaddingBox,ge.topLeftBorderBox,ge.topLeftPaddingBox)}},Sh=function(ge,De){switch(De){case 0:return iu(ge.topLeftBorderBox,ge.topLeftBorderDoubleOuterBox,ge.topRightBorderBox,ge.topRightBorderDoubleOuterBox);case 1:return iu(ge.topRightBorderBox,ge.topRightBorderDoubleOuterBox,ge.bottomRightBorderBox,ge.bottomRightBorderDoubleOuterBox);case 2:return iu(ge.bottomRightBorderBox,ge.bottomRightBorderDoubleOuterBox,ge.bottomLeftBorderBox,ge.bottomLeftBorderDoubleOuterBox);case 3:default:return iu(ge.bottomLeftBorderBox,ge.bottomLeftBorderDoubleOuterBox,ge.topLeftBorderBox,ge.topLeftBorderDoubleOuterBox)}},Lh=function(ge,De){switch(De){case 0:return iu(ge.topLeftBorderDoubleInnerBox,ge.topLeftPaddingBox,ge.topRightBorderDoubleInnerBox,ge.topRightPaddingBox);case 1:return iu(ge.topRightBorderDoubleInnerBox,ge.topRightPaddingBox,ge.bottomRightBorderDoubleInnerBox,ge.bottomRightPaddingBox);case 2:return iu(ge.bottomRightBorderDoubleInnerBox,ge.bottomRightPaddingBox,ge.bottomLeftBorderDoubleInnerBox,ge.bottomLeftPaddingBox);case 3:default:return iu(ge.bottomLeftBorderDoubleInnerBox,ge.bottomLeftPaddingBox,ge.topLeftBorderDoubleInnerBox,ge.topLeftPaddingBox)}},sh=function(ge,De){switch(De){case 0:return qd(ge.topLeftBorderStroke,ge.topRightBorderStroke);case 1:return qd(ge.topRightBorderStroke,ge.bottomRightBorderStroke);case 2:return qd(ge.bottomRightBorderStroke,ge.bottomLeftBorderStroke);case 3:default:return qd(ge.bottomLeftBorderStroke,ge.topLeftBorderStroke)}},qd=function(ge,De){var ze=[];return jl(ge)?ze.push(ge.subdivide(.5,!1)):ze.push(ge),jl(De)?ze.push(De.subdivide(.5,!0)):ze.push(De),ze},iu=function(ge,De,ze,ut){var Gt=[];return jl(ge)?Gt.push(ge.subdivide(.5,!1)):Gt.push(ge),jl(ze)?Gt.push(ze.subdivide(.5,!0)):Gt.push(ze),jl(ut)?Gt.push(ut.subdivide(.5,!0).reverse()):Gt.push(ut),jl(De)?Gt.push(De.subdivide(.5,!1).reverse()):Gt.push(De),Gt},td=function(ge){var De=ge.bounds,ze=ge.styles;return De.add(ze.borderLeftWidth,ze.borderTopWidth,-(ze.borderRightWidth+ze.borderLeftWidth),-(ze.borderTopWidth+ze.borderBottomWidth))},eh=function(ge){var De=ge.styles,ze=ge.bounds,ut=Pi(De.paddingLeft,ze.width),Gt=Pi(De.paddingRight,ze.width),Wr=Pi(De.paddingTop,ze.width),ln=Pi(De.paddingBottom,ze.width);return ze.add(ut+De.borderLeftWidth,Wr+De.borderTopWidth,-(De.borderRightWidth+De.borderLeftWidth+ut+Gt),-(De.borderTopWidth+De.borderBottomWidth+Wr+ln))},Ch=function(ge,De){return ge===0?De.bounds:ge===2?eh(De):td(De)},Nh=function(ge,De){return ge===0?De.bounds:ge===2?eh(De):td(De)},lh=function(ge,De,ze){var ut=Ch(Xd(ge.styles.backgroundOrigin,De),ge),Gt=Nh(Xd(ge.styles.backgroundClip,De),ge),Wr=Eh(Xd(ge.styles.backgroundSize,De),ze,ut),ln=Wr[0],Sn=Wr[1],zn=Mi(Xd(ge.styles.backgroundPosition,De),ut.width-ln,ut.height-Sn),ji=_h(Xd(ge.styles.backgroundRepeat,De),zn,Wr,ut,Gt),Oi=Math.round(ut.left+zn[0]),Zi=Math.round(ut.top+zn[1]);return[ji,Oi,Zi,ln,Sn]},Du=function(ge){return gr(ge)&&ge.value===lo.AUTO},ch=function(ge){return typeof ge=="number"},Eh=function(ge,De,ze){var ut=De[0],Gt=De[1],Wr=De[2],ln=ge[0],Sn=ge[1];if(!ln)return[0,0];if(ui(ln)&&Sn&&ui(Sn))return[Pi(ln,ze.width),Pi(Sn,ze.height)];var zn=ch(Wr);if(gr(ln)&&(ln.value===lo.CONTAIN||ln.value===lo.COVER)){if(ch(Wr)){var ji=ze.width/ze.height;return ji<Wr!==(ln.value===lo.COVER)?[ze.width,ze.width/Wr]:[ze.height*Wr,ze.height]}return[ze.width,ze.height]}var Oi=ch(ut),Zi=ch(Gt),po=Oi||Zi;if(Du(ln)&&(!Sn||Du(Sn))){if(Oi&&Zi)return[ut,Gt];if(!zn&&!po)return[ze.width,ze.height];if(po&&zn){var Ao=Oi?ut:Gt*Wr,Fo=Zi?Gt:ut/Wr;return[Ao,Fo]}var Bs=Oi?ut:ze.width,hs=Zi?Gt:ze.height;return[Bs,hs]}if(zn){var is=0,El=0;return ui(ln)?is=Pi(ln,ze.width):ui(Sn)&&(El=Pi(Sn,ze.height)),Du(ln)?is=El*Wr:(!Sn||Du(Sn))&&(El=is/Wr),[is,El]}var Dl=null,fl=null;if(ui(ln)?Dl=Pi(ln,ze.width):Sn&&ui(Sn)&&(fl=Pi(Sn,ze.height)),Dl!==null&&(!Sn||Du(Sn))&&(fl=Oi&&Zi?Dl/ut*Gt:ze.height),fl!==null&&Du(ln)&&(Dl=Oi&&Zi?fl/Gt*ut:ze.width),Dl!==null&&fl!==null)return[Dl,fl];throw new Error("Unable to calculate background-size for element")},Xd=function(ge,De){var ze=ge[De];return typeof ze=="undefined"?ge[0]:ze},_h=function(ge,De,ze,ut,Gt){var Wr=De[0],ln=De[1],Sn=ze[0],zn=ze[1];switch(ge){case 2:return[new co(Math.round(ut.left),Math.round(ut.top+ln)),new co(Math.round(ut.left+ut.width),Math.round(ut.top+ln)),new co(Math.round(ut.left+ut.width),Math.round(zn+ut.top+ln)),new co(Math.round(ut.left),Math.round(zn+ut.top+ln))];case 3:return[new co(Math.round(ut.left+Wr),Math.round(ut.top)),new co(Math.round(ut.left+Wr+Sn),Math.round(ut.top)),new co(Math.round(ut.left+Wr+Sn),Math.round(ut.height+ut.top)),new co(Math.round(ut.left+Wr),Math.round(ut.height+ut.top))];case 1:return[new co(Math.round(ut.left+Wr),Math.round(ut.top+ln)),new co(Math.round(ut.left+Wr+Sn),Math.round(ut.top+ln)),new co(Math.round(ut.left+Wr+Sn),Math.round(ut.top+ln+zn)),new co(Math.round(ut.left+Wr),Math.round(ut.top+ln+zn))];default:return[new co(Math.round(Gt.left),Math.round(Gt.top)),new co(Math.round(Gt.left+Gt.width),Math.round(Gt.top)),new co(Math.round(Gt.left+Gt.width),Math.round(Gt.height+Gt.top)),new co(Math.round(Gt.left),Math.round(Gt.height+Gt.top))]}},Mh="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",kd="Hidden Text",th=function(){function hr(ge){this._data={},this._document=ge}return hr.prototype.parseMetrics=function(ge,De){var ze=this._document.createElement("div"),ut=this._document.createElement("img"),Gt=this._document.createElement("span"),Wr=this._document.body;ze.style.visibility="hidden",ze.style.fontFamily=ge,ze.style.fontSize=De,ze.style.margin="0",ze.style.padding="0",ze.style.whiteSpace="nowrap",Wr.appendChild(ze),ut.src=Mh,ut.width=1,ut.height=1,ut.style.margin="0",ut.style.padding="0",ut.style.verticalAlign="baseline",Gt.style.fontFamily=ge,Gt.style.fontSize=De,Gt.style.margin="0",Gt.style.padding="0",Gt.appendChild(this._document.createTextNode(kd)),ze.appendChild(Gt),ze.appendChild(ut);var ln=ut.offsetTop-Gt.offsetTop+2;ze.removeChild(Gt),ze.appendChild(this._document.createTextNode(kd)),ze.style.lineHeight="normal",ut.style.verticalAlign="super";var Sn=ut.offsetTop-ze.offsetTop+2;return Wr.removeChild(ze),{baseline:ln,middle:Sn}},hr.prototype.getMetrics=function(ge,De){var ze=ge+" "+De;return typeof this._data[ze]=="undefined"&&(this._data[ze]=this.parseMetrics(ge,De)),this._data[ze]},hr}(),rh=function(){function hr(ge,De){this.context=ge,this.options=De}return hr}(),rd=1e4,vd=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this;return ut._activeEffects=[],ut.canvas=ze.canvas?ze.canvas:document.createElement("canvas"),ut.ctx=ut.canvas.getContext("2d"),ze.canvas||(ut.canvas.width=Math.floor(ze.width*ze.scale),ut.canvas.height=Math.floor(ze.height*ze.scale),ut.canvas.style.width=ze.width+"px",ut.canvas.style.height=ze.height+"px"),ut.fontMetrics=new th(document),ut.ctx.scale(ut.options.scale,ut.options.scale),ut.ctx.translate(-ze.x,-ze.y),ut.ctx.textBaseline="bottom",ut._activeEffects=[],ut.context.logger.debug("Canvas renderer initialized ("+ze.width+"x"+ze.height+") with scale "+ze.scale),ut}return ge.prototype.applyEffects=function(De){for(var ze=this;this._activeEffects.length;)this.popEffect();De.forEach(function(ut){return ze.applyEffect(ut)})},ge.prototype.applyEffect=function(De){this.ctx.save(),_c(De)&&(this.ctx.globalAlpha=De.opacity),rc(De)&&(this.ctx.translate(De.offsetX,De.offsetY),this.ctx.transform(De.matrix[0],De.matrix[1],De.matrix[2],De.matrix[3],De.matrix[4],De.matrix[5]),this.ctx.translate(-De.offsetX,-De.offsetY)),Kc(De)&&(this.path(De.path),this.ctx.clip()),this._activeEffects.push(De)},ge.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},ge.prototype.renderStack=function(De){return p(this,void 0,void 0,function(){var ze;return v(this,function(ut){switch(ut.label){case 0:return ze=De.element.container.styles,ze.isVisible()?[4,this.renderStackContent(De)]:[3,2];case 1:ut.sent(),ut.label=2;case 2:return[2]}})})},ge.prototype.renderNode=function(De){return p(this,void 0,void 0,function(){return v(this,function(ze){switch(ze.label){case 0:if(Xr(De.container.flags,16))debugger;return De.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(De)]:[3,3];case 1:return ze.sent(),[4,this.renderNodeContent(De)];case 2:ze.sent(),ze.label=3;case 3:return[2]}})})},ge.prototype.renderTextWithLetterSpacing=function(De,ze,ut){var Gt=this;if(ze===0)this.ctx.fillText(De.text,De.bounds.left,De.bounds.top+ut);else{var Wr=ju(De.text);Wr.reduce(function(ln,Sn){return Gt.ctx.fillText(Sn,ln,De.bounds.top+ut),ln+Gt.ctx.measureText(Sn).width},De.bounds.left)}},ge.prototype.createFontStyle=function(De){var ze=De.fontVariant.filter(function(Wr){return Wr==="normal"||Wr==="small-caps"}).join(""),ut=Dh(De.fontFamily).join(", "),Gt=Ft(De.fontSize)?""+De.fontSize.number+De.fontSize.unit:De.fontSize.number+"px";return[[De.fontStyle,ze,De.fontWeight,Gt,ut].join(" "),ut,Gt]},ge.prototype.renderTextNode=function(De,ze){return p(this,void 0,void 0,function(){var ut,Gt,Wr,ln,Sn,zn,ji,Oi,Zi=this;return v(this,function(po){return ut=this.createFontStyle(ze),Gt=ut[0],Wr=ut[1],ln=ut[2],this.ctx.font=Gt,this.ctx.direction=ze.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Sn=this.fontMetrics.getMetrics(Wr,ln),zn=Sn.baseline,ji=Sn.middle,Oi=ze.paintOrder,De.textBounds.forEach(function(Ao){Oi.forEach(function(Fo){switch(Fo){case 0:Zi.ctx.fillStyle=Or(ze.color),Zi.renderTextWithLetterSpacing(Ao,ze.letterSpacing,zn);var Bs=ze.textShadow;Bs.length&&Ao.text.trim().length&&(Bs.slice(0).reverse().forEach(function(hs){Zi.ctx.shadowColor=Or(hs.color),Zi.ctx.shadowOffsetX=hs.offsetX.number*Zi.options.scale,Zi.ctx.shadowOffsetY=hs.offsetY.number*Zi.options.scale,Zi.ctx.shadowBlur=hs.blur.number,Zi.renderTextWithLetterSpacing(Ao,ze.letterSpacing,zn)}),Zi.ctx.shadowColor="",Zi.ctx.shadowOffsetX=0,Zi.ctx.shadowOffsetY=0,Zi.ctx.shadowBlur=0),ze.textDecorationLine.length&&(Zi.ctx.fillStyle=Or(ze.textDecorationColor||ze.color),ze.textDecorationLine.forEach(function(hs){switch(hs){case 1:Zi.ctx.fillRect(Ao.bounds.left,Math.round(Ao.bounds.top+zn),Ao.bounds.width,1);break;case 2:Zi.ctx.fillRect(Ao.bounds.left,Math.round(Ao.bounds.top),Ao.bounds.width,1);break;case 3:Zi.ctx.fillRect(Ao.bounds.left,Math.ceil(Ao.bounds.top+ji),Ao.bounds.width,1);break}}));break;case 1:ze.webkitTextStrokeWidth&&Ao.text.trim().length&&(Zi.ctx.strokeStyle=Or(ze.webkitTextStrokeColor),Zi.ctx.lineWidth=ze.webkitTextStrokeWidth,Zi.ctx.lineJoin=window.chrome?"miter":"round",Zi.ctx.strokeText(Ao.text,Ao.bounds.left,Ao.bounds.top+zn)),Zi.ctx.strokeStyle="",Zi.ctx.lineWidth=0,Zi.ctx.lineJoin="miter";break}})}),[2]})})},ge.prototype.renderReplacedElement=function(De,ze,ut){if(ut&&De.intrinsicWidth>0&&De.intrinsicHeight>0){var Gt=eh(De),Wr=Ml(ze);this.path(Wr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(ut,0,0,De.intrinsicWidth,De.intrinsicHeight,Gt.left,Gt.top,Gt.width,Gt.height),this.ctx.restore()}},ge.prototype.renderNodeContent=function(De){return p(this,void 0,void 0,function(){var ze,ut,Gt,Wr,ln,Sn,zn,zn,ji,Oi,Zi,po,Ao,Fo,Bs,hs,is,El,Dl,zn,fl,Ao,hs;return v(this,function(rs){switch(rs.label){case 0:this.applyEffects(De.getEffects(4)),ze=De.container,ut=De.curves,Gt=ze.styles,Wr=0,ln=ze.textNodes,rs.label=1;case 1:return Wr<ln.length?(Sn=ln[Wr],[4,this.renderTextNode(Sn,Gt)]):[3,4];case 2:rs.sent(),rs.label=3;case 3:return Wr++,[3,1];case 4:if(!(ze instanceof fd))return[3,8];rs.label=5;case 5:return rs.trys.push([5,7,,8]),[4,this.context.cache.match(ze.src)];case 6:return zn=rs.sent(),this.renderReplacedElement(ze,ut,zn),[3,8];case 7:return rs.sent(),this.context.logger.error("Error loading image "+ze.src),[3,8];case 8:if(ze instanceof Ld&&this.renderReplacedElement(ze,ut,ze.canvas),!(ze instanceof Xc))return[3,12];rs.label=9;case 9:return rs.trys.push([9,11,,12]),[4,this.context.cache.match(ze.svg)];case 10:return zn=rs.sent(),this.renderReplacedElement(ze,ut,zn),[3,12];case 11:return rs.sent(),this.context.logger.error("Error loading svg "+ze.svg.substring(0,255)),[3,12];case 12:return ze instanceof tu&&ze.tree?(ji=new ge(this.context,{scale:this.options.scale,backgroundColor:ze.backgroundColor,x:0,y:0,width:ze.width,height:ze.height}),[4,ji.render(ze.tree)]):[3,14];case 13:Oi=rs.sent(),ze.width&&ze.height&&this.ctx.drawImage(Oi,0,0,ze.width,ze.height,ze.bounds.left,ze.bounds.top,ze.bounds.width,ze.bounds.height),rs.label=14;case 14:if(ze instanceof Ju&&(Zi=Math.min(ze.bounds.width,ze.bounds.height),ze.type===Wu?ze.checked&&(this.ctx.save(),this.path([new co(ze.bounds.left+Zi*.39363,ze.bounds.top+Zi*.79),new co(ze.bounds.left+Zi*.16,ze.bounds.top+Zi*.5549),new co(ze.bounds.left+Zi*.27347,ze.bounds.top+Zi*.44071),new co(ze.bounds.left+Zi*.39694,ze.bounds.top+Zi*.5649),new co(ze.bounds.left+Zi*.72983,ze.bounds.top+Zi*.23),new co(ze.bounds.left+Zi*.84,ze.bounds.top+Zi*.34085),new co(ze.bounds.left+Zi*.39363,ze.bounds.top+Zi*.79)]),this.ctx.fillStyle=Or(md),this.ctx.fill(),this.ctx.restore()):ze.type===Zu&&(ze.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ze.bounds.left+Zi/2,ze.bounds.top+Zi/2,Zi/4,0,Math.PI*2,!0),this.ctx.fillStyle=Or(md),this.ctx.fill(),this.ctx.restore()))),bd(ze)&&ze.value.length){po=this.createFontStyle(Gt),Ao=po[0],Fo=po[1],Bs=this.fontMetrics.getMetrics(Ao,Fo).baseline,this.ctx.font=Ao,this.ctx.fillStyle=Or(Gt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ph(ze.styles.textAlign),hs=eh(ze),is=0;switch(ze.styles.textAlign){case 1:is+=hs.width/2;break;case 2:is+=hs.width;break}El=hs.add(is,0,0,-hs.height/2+1),this.ctx.save(),this.path([new co(hs.left,hs.top),new co(hs.left+hs.width,hs.top),new co(hs.left+hs.width,hs.top+hs.height),new co(hs.left,hs.top+hs.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Uu(ze.value,El),Gt.letterSpacing,Bs),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Xr(ze.styles.display,2048))return[3,20];if(!(ze.styles.listStyleImage!==null))return[3,19];if(Dl=ze.styles.listStyleImage,!(Dl.type===0))return[3,18];zn=void 0,fl=Dl.url,rs.label=15;case 15:return rs.trys.push([15,17,,18]),[4,this.context.cache.match(fl)];case 16:return zn=rs.sent(),this.ctx.drawImage(zn,ze.bounds.left-(zn.width+10),ze.bounds.top),[3,18];case 17:return rs.sent(),this.context.logger.error("Error loading list-style-image "+fl),[3,18];case 18:return[3,20];case 19:De.listValue&&ze.styles.listStyleType!==-1&&(Ao=this.createFontStyle(Gt)[0],this.ctx.font=Ao,this.ctx.fillStyle=Or(Gt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",hs=new d(ze.bounds.left,ze.bounds.top+Pi(ze.styles.paddingTop,ze.bounds.width),ze.bounds.width,nc(Gt.lineHeight,Gt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Uu(De.listValue,hs),Gt.letterSpacing,nc(Gt.lineHeight,Gt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),rs.label=20;case 20:return[2]}})})},ge.prototype.renderStackContent=function(De){return p(this,void 0,void 0,function(){var ze,ut,Gt,Wr,ln,Gt,Sn,zn,Gt,ji,Oi,Gt,Zi,po,Gt,Ao,Fo,Gt,Bs,hs,Gt;return v(this,function(is){switch(is.label){case 0:if(Xr(De.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(De.element)];case 1:is.sent(),ze=0,ut=De.negativeZIndex,is.label=2;case 2:return ze<ut.length?(Gt=ut[ze],[4,this.renderStack(Gt)]):[3,5];case 3:is.sent(),is.label=4;case 4:return ze++,[3,2];case 5:return[4,this.renderNodeContent(De.element)];case 6:is.sent(),Wr=0,ln=De.nonInlineLevel,is.label=7;case 7:return Wr<ln.length?(Gt=ln[Wr],[4,this.renderNode(Gt)]):[3,10];case 8:is.sent(),is.label=9;case 9:return Wr++,[3,7];case 10:Sn=0,zn=De.nonPositionedFloats,is.label=11;case 11:return Sn<zn.length?(Gt=zn[Sn],[4,this.renderStack(Gt)]):[3,14];case 12:is.sent(),is.label=13;case 13:return Sn++,[3,11];case 14:ji=0,Oi=De.nonPositionedInlineLevel,is.label=15;case 15:return ji<Oi.length?(Gt=Oi[ji],[4,this.renderStack(Gt)]):[3,18];case 16:is.sent(),is.label=17;case 17:return ji++,[3,15];case 18:Zi=0,po=De.inlineLevel,is.label=19;case 19:return Zi<po.length?(Gt=po[Zi],[4,this.renderNode(Gt)]):[3,22];case 20:is.sent(),is.label=21;case 21:return Zi++,[3,19];case 22:Ao=0,Fo=De.zeroOrAutoZIndexOrTransformedOrOpacity,is.label=23;case 23:return Ao<Fo.length?(Gt=Fo[Ao],[4,this.renderStack(Gt)]):[3,26];case 24:is.sent(),is.label=25;case 25:return Ao++,[3,23];case 26:Bs=0,hs=De.positiveZIndex,is.label=27;case 27:return Bs<hs.length?(Gt=hs[Bs],[4,this.renderStack(Gt)]):[3,30];case 28:is.sent(),is.label=29;case 29:return Bs++,[3,27];case 30:return[2]}})})},ge.prototype.mask=function(De){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(De.slice(0).reverse()),this.ctx.closePath()},ge.prototype.path=function(De){this.ctx.beginPath(),this.formatPath(De),this.ctx.closePath()},ge.prototype.formatPath=function(De){var ze=this;De.forEach(function(ut,Gt){var Wr=jl(ut)?ut.start:ut;Gt===0?ze.ctx.moveTo(Wr.x,Wr.y):ze.ctx.lineTo(Wr.x,Wr.y),jl(ut)&&ze.ctx.bezierCurveTo(ut.startControl.x,ut.startControl.y,ut.endControl.x,ut.endControl.y,ut.end.x,ut.end.y)})},ge.prototype.renderRepeat=function(De,ze,ut,Gt){this.path(De),this.ctx.fillStyle=ze,this.ctx.translate(ut,Gt),this.ctx.fill(),this.ctx.translate(-ut,-Gt)},ge.prototype.resizeImage=function(De,ze,ut){var Gt;if(De.width===ze&&De.height===ut)return De;var Wr=(Gt=this.canvas.ownerDocument)!==null&&Gt!==void 0?Gt:document,ln=Wr.createElement("canvas");ln.width=Math.max(1,ze),ln.height=Math.max(1,ut);var Sn=ln.getContext("2d");return Sn.drawImage(De,0,0,De.width,De.height,0,0,ze,ut),ln},ge.prototype.renderBackgroundImage=function(De){return p(this,void 0,void 0,function(){var ze,ut,Gt,Wr,ln,Sn;return v(this,function(zn){switch(zn.label){case 0:ze=De.styles.backgroundImage.length-1,ut=function(Oi){var Zi,po,Ao,Fo,Bs,hs,is,El,Dl,fl,Fo,Bs,hs,is,El,rs,Pl,Hl,pl,wu,Ku,du,Vc,nh,Dl,yd,Fo,Gd,Ru,is,El,wd,Bs,hs,Fd,nd,Yd,ih,Qd,cc,xu,xd;return v(this,function(ah){switch(ah.label){case 0:if(!(Oi.type===0))return[3,5];Zi=void 0,po=Oi.url,ah.label=1;case 1:return ah.trys.push([1,3,,4]),[4,Gt.context.cache.match(po)];case 2:return Zi=ah.sent(),[3,4];case 3:return ah.sent(),Gt.context.logger.error("Error loading background-image "+po),[3,4];case 4:return Zi&&(Ao=lh(De,ze,[Zi.width,Zi.height,Zi.width/Zi.height]),Fo=Ao[0],Bs=Ao[1],hs=Ao[2],is=Ao[3],El=Ao[4],Dl=Gt.ctx.createPattern(Gt.resizeImage(Zi,is,El),"repeat"),Gt.renderRepeat(Fo,Dl,Bs,hs)),[3,6];case 5:Ea(Oi)?(fl=lh(De,ze,[null,null,null]),Fo=fl[0],Bs=fl[1],hs=fl[2],is=fl[3],El=fl[4],rs=Ui(Oi.angle,is,El),Pl=rs[0],Hl=rs[1],pl=rs[2],wu=rs[3],Ku=rs[4],du=document.createElement("canvas"),du.width=is,du.height=El,Vc=du.getContext("2d"),nh=Vc.createLinearGradient(Hl,wu,pl,Ku),yi(Oi.stops,Pl).forEach(function(Ah){return nh.addColorStop(Ah.stop,Or(Ah.color))}),Vc.fillStyle=nh,Vc.fillRect(0,0,is,El),is>0&&El>0&&(Dl=Gt.ctx.createPattern(du,"repeat"),Gt.renderRepeat(Fo,Dl,Bs,hs))):jo(Oi)&&(yd=lh(De,ze,[null,null,null]),Fo=yd[0],Gd=yd[1],Ru=yd[2],is=yd[3],El=yd[4],wd=Oi.position.length===0?[oi]:Oi.position,Bs=Pi(wd[0],is),hs=Pi(wd[wd.length-1],El),Fd=vo(Oi,Bs,hs,is,El),nd=Fd[0],Yd=Fd[1],nd>0&&Yd>0&&(ih=Gt.ctx.createRadialGradient(Gd+Bs,Ru+hs,0,Gd+Bs,Ru+hs,nd),yi(Oi.stops,nd*2).forEach(function(Ah){return ih.addColorStop(Ah.stop,Or(Ah.color))}),Gt.path(Fo),Gt.ctx.fillStyle=ih,nd!==Yd?(Qd=De.bounds.left+.5*De.bounds.width,cc=De.bounds.top+.5*De.bounds.height,xu=Yd/nd,xd=1/xu,Gt.ctx.save(),Gt.ctx.translate(Qd,cc),Gt.ctx.transform(1,0,0,xu,0,0),Gt.ctx.translate(-Qd,-cc),Gt.ctx.fillRect(Gd,xd*(Ru-cc)+cc,is,El*xd),Gt.ctx.restore()):Gt.ctx.fill())),ah.label=6;case 6:return ze--,[2]}})},Gt=this,Wr=0,ln=De.styles.backgroundImage.slice(0).reverse(),zn.label=1;case 1:return Wr<ln.length?(Sn=ln[Wr],[5,ut(Sn)]):[3,4];case 2:zn.sent(),zn.label=3;case 3:return Wr++,[3,1];case 4:return[2]}})})},ge.prototype.renderSolidBorder=function(De,ze,ut){return p(this,void 0,void 0,function(){return v(this,function(Gt){return this.path(Vd(ut,ze)),this.ctx.fillStyle=Or(De),this.ctx.fill(),[2]})})},ge.prototype.renderDoubleBorder=function(De,ze,ut,Gt){return p(this,void 0,void 0,function(){var Wr,ln;return v(this,function(Sn){switch(Sn.label){case 0:return ze<3?[4,this.renderSolidBorder(De,ut,Gt)]:[3,2];case 1:return Sn.sent(),[2];case 2:return Wr=Sh(Gt,ut),this.path(Wr),this.ctx.fillStyle=Or(De),this.ctx.fill(),ln=Lh(Gt,ut),this.path(ln),this.ctx.fill(),[2]}})})},ge.prototype.renderNodeBackgroundAndBorders=function(De){return p(this,void 0,void 0,function(){var ze,ut,Gt,Wr,ln,Sn,zn,ji,Oi=this;return v(this,function(Zi){switch(Zi.label){case 0:return this.applyEffects(De.getEffects(2)),ze=De.container.styles,ut=!za(ze.backgroundColor)||ze.backgroundImage.length,Gt=[{style:ze.borderTopStyle,color:ze.borderTopColor,width:ze.borderTopWidth},{style:ze.borderRightStyle,color:ze.borderRightColor,width:ze.borderRightWidth},{style:ze.borderBottomStyle,color:ze.borderBottomColor,width:ze.borderBottomWidth},{style:ze.borderLeftStyle,color:ze.borderLeftColor,width:ze.borderLeftWidth}],Wr=uh(Xd(ze.backgroundClip,0),De.curves),ut||ze.boxShadow.length?(this.ctx.save(),this.path(Wr),this.ctx.clip(),za(ze.backgroundColor)||(this.ctx.fillStyle=Or(ze.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(De.container)]):[3,2];case 1:Zi.sent(),this.ctx.restore(),ze.boxShadow.slice(0).reverse().forEach(function(po){Oi.ctx.save();var Ao=tc(De.curves),Fo=po.inset?0:rd,Bs=bu(Ao,-Fo+(po.inset?1:-1)*po.spread.number,(po.inset?1:-1)*po.spread.number,po.spread.number*(po.inset?-2:2),po.spread.number*(po.inset?-2:2));po.inset?(Oi.path(Ao),Oi.ctx.clip(),Oi.mask(Bs)):(Oi.mask(Ao),Oi.ctx.clip(),Oi.path(Bs)),Oi.ctx.shadowOffsetX=po.offsetX.number+Fo,Oi.ctx.shadowOffsetY=po.offsetY.number,Oi.ctx.shadowColor=Or(po.color),Oi.ctx.shadowBlur=po.blur.number,Oi.ctx.fillStyle=po.inset?Or(po.color):"rgba(0,0,0,1)",Oi.ctx.fill(),Oi.ctx.restore()}),Zi.label=2;case 2:ln=0,Sn=0,zn=Gt,Zi.label=3;case 3:return Sn<zn.length?(ji=zn[Sn],ji.style!==0&&!za(ji.color)&&ji.width>0?ji.style===2?[4,this.renderDashedDottedBorder(ji.color,ji.width,ln,De.curves,2)]:[3,5]:[3,11]):[3,13];case 4:return Zi.sent(),[3,11];case 5:return ji.style===3?[4,this.renderDashedDottedBorder(ji.color,ji.width,ln,De.curves,3)]:[3,7];case 6:return Zi.sent(),[3,11];case 7:return ji.style===4?[4,this.renderDoubleBorder(ji.color,ji.width,ln,De.curves)]:[3,9];case 8:return Zi.sent(),[3,11];case 9:return[4,this.renderSolidBorder(ji.color,ln,De.curves)];case 10:Zi.sent(),Zi.label=11;case 11:ln++,Zi.label=12;case 12:return Sn++,[3,3];case 13:return[2]}})})},ge.prototype.renderDashedDottedBorder=function(De,ze,ut,Gt,Wr){return p(this,void 0,void 0,function(){var ln,Sn,zn,ji,Oi,Zi,po,Ao,Fo,Bs,hs,is,El,Dl,fl,rs,fl,rs;return v(this,function(Pl){return this.ctx.save(),ln=sh(Gt,ut),Sn=Vd(Gt,ut),Wr===2&&(this.path(Sn),this.ctx.clip()),jl(Sn[0])?(zn=Sn[0].start.x,ji=Sn[0].start.y):(zn=Sn[0].x,ji=Sn[0].y),jl(Sn[1])?(Oi=Sn[1].end.x,Zi=Sn[1].end.y):(Oi=Sn[1].x,Zi=Sn[1].y),ut===0||ut===2?po=Math.abs(zn-Oi):po=Math.abs(ji-Zi),this.ctx.beginPath(),Wr===3?this.formatPath(ln):this.formatPath(Sn.slice(0,2)),Ao=ze<3?ze*3:ze*2,Fo=ze<3?ze*2:ze,Wr===3&&(Ao=ze,Fo=ze),Bs=!0,po<=Ao*2?Bs=!1:po<=Ao*2+Fo?(hs=po/(2*Ao+Fo),Ao*=hs,Fo*=hs):(is=Math.floor((po+Fo)/(Ao+Fo)),El=(po-is*Ao)/(is-1),Dl=(po-(is+1)*Ao)/is,Fo=Dl<=0||Math.abs(Fo-El)<Math.abs(Fo-Dl)?El:Dl),Bs&&(Wr===3?this.ctx.setLineDash([0,Ao+Fo]):this.ctx.setLineDash([Ao,Fo])),Wr===3?(this.ctx.lineCap="round",this.ctx.lineWidth=ze):this.ctx.lineWidth=ze*2+1.1,this.ctx.strokeStyle=Or(De),this.ctx.stroke(),this.ctx.setLineDash([]),Wr===2&&(jl(Sn[0])&&(fl=Sn[3],rs=Sn[0],this.ctx.beginPath(),this.formatPath([new co(fl.end.x,fl.end.y),new co(rs.start.x,rs.start.y)]),this.ctx.stroke()),jl(Sn[1])&&(fl=Sn[1],rs=Sn[2],this.ctx.beginPath(),this.formatPath([new co(fl.end.x,fl.end.y),new co(rs.start.x,rs.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},ge.prototype.render=function(De){return p(this,void 0,void 0,function(){var ze;return v(this,function(ut){switch(ut.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Or(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),ze=Bd(De),[4,this.renderStack(ze)];case 1:return ut.sent(),this.applyEffects([]),[2,this.canvas]}})})},ge}(rh),bd=function(ge){return ge instanceof qu||ge instanceof $u?!0:ge instanceof Ju&&ge.type!==Zu&&ge.type!==Wu},uh=function(ge,De){switch(ge){case 0:return tc(De);case 2:return lc(De);case 1:default:return Ml(De)}},ph=function(ge){switch(ge){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Th=["-apple-system","system-ui"],Dh=function(ge){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?ge.filter(function(De){return Th.indexOf(De)===-1}):ge},mh=function(hr){m(ge,hr);function ge(De,ze){var ut=hr.call(this,De,ze)||this;return ut.canvas=ze.canvas?ze.canvas:document.createElement("canvas"),ut.ctx=ut.canvas.getContext("2d"),ut.options=ze,ut.canvas.width=Math.floor(ze.width*ze.scale),ut.canvas.height=Math.floor(ze.height*ze.scale),ut.canvas.style.width=ze.width+"px",ut.canvas.style.height=ze.height+"px",ut.ctx.scale(ut.options.scale,ut.options.scale),ut.ctx.translate(-ze.x,-ze.y),ut.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+ze.width+"x"+ze.height+" at "+ze.x+","+ze.y+") with scale "+ze.scale),ut}return ge.prototype.render=function(De){return p(this,void 0,void 0,function(){var ze,ut;return v(this,function(Gt){switch(Gt.label){case 0:return ze=Ou(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,De),[4,gh(ze)];case 1:return ut=Gt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Or(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(ut,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},ge}(rh),gh=function(ge){return new Promise(function(De,ze){var ut=new Image;ut.onload=function(){De(ut)},ut.onerror=ze,ut.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ge))})},ef=function(){function hr(ge){var De=ge.id,ze=ge.enabled;this.id=De,this.enabled=ze,this.start=Date.now()}return hr.prototype.debug=function(){for(var ge=[],De=0;De<arguments.length;De++)ge[De]=arguments[De];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,f([this.id,this.getTime()+"ms"],ge)):this.info.apply(this,ge))},hr.prototype.getTime=function(){return Date.now()-this.start},hr.prototype.info=function(){for(var ge=[],De=0;De<arguments.length;De++)ge[De]=arguments[De];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,f([this.id,this.getTime()+"ms"],ge)))},hr.prototype.warn=function(){for(var ge=[],De=0;De<arguments.length;De++)ge[De]=arguments[De];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,f([this.id,this.getTime()+"ms"],ge)):this.info.apply(this,ge))},hr.prototype.error=function(){for(var ge=[],De=0;De<arguments.length;De++)ge[De]=arguments[De];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,f([this.id,this.getTime()+"ms"],ge)):this.info.apply(this,ge))},hr.instances={},hr}(),tf=function(){function hr(ge,De){var ze;this.windowBounds=De,this.instanceName="#"+hr.instanceCount++,this.logger=new ef({id:this.instanceName,enabled:ge.logging}),this.cache=(ze=ge.cache)!==null&&ze!==void 0?ze:new eo(this,ge)}return hr.instanceCount=1,hr}(),rf=function(ge,De){return De===void 0&&(De={}),nf(ge,De)};typeof window!="undefined"&&Ua.setContext(window);var nf=function(ge,De){return p(void 0,void 0,void 0,function(){var ze,ut,Gt,Wr,ln,Sn,zn,ji,Oi,Zi,po,Ao,Fo,Bs,hs,is,El,Dl,fl,rs,Pl,Hl,Pl,pl,wu,Ku,du,Vc,nh,yd,Gd,Ru,wd,Fd,nd,Yd,ih,Qd,cc,xu;return v(this,function(xd){switch(xd.label){case 0:if(!ge||typeof ge!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(ze=ge.ownerDocument,!ze)throw new Error("Element is not attached to a Document");if(ut=ze.defaultView,!ut)throw new Error("Document is not attached to a Window");return Gt={allowTaint:(pl=De.allowTaint)!==null&&pl!==void 0?pl:!1,imageTimeout:(wu=De.imageTimeout)!==null&&wu!==void 0?wu:15e3,proxy:De.proxy,useCORS:(Ku=De.useCORS)!==null&&Ku!==void 0?Ku:!1},Wr=E({logging:(du=De.logging)!==null&&du!==void 0?du:!0,cache:De.cache},Gt),ln={windowWidth:(Vc=De.windowWidth)!==null&&Vc!==void 0?Vc:ut.innerWidth,windowHeight:(nh=De.windowHeight)!==null&&nh!==void 0?nh:ut.innerHeight,scrollX:(yd=De.scrollX)!==null&&yd!==void 0?yd:ut.pageXOffset,scrollY:(Gd=De.scrollY)!==null&&Gd!==void 0?Gd:ut.pageYOffset},Sn=new d(ln.scrollX,ln.scrollY,ln.windowWidth,ln.windowHeight),zn=new tf(Wr,Sn),ji=(Ru=De.foreignObjectRendering)!==null&&Ru!==void 0?Ru:!1,Oi={allowTaint:(wd=De.allowTaint)!==null&&wd!==void 0?wd:!1,onclone:De.onclone,ignoreElements:De.ignoreElements,inlineImages:ji,copyStyles:ji},zn.logger.debug("Starting document clone with size "+Sn.width+"x"+Sn.height+" scrolled to "+-Sn.left+","+-Sn.top),Zi=new Lo(zn,ge,Oi),po=Zi.clonedReferenceElement,po?[4,Zi.toIFrame(ze,Sn)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return Ao=xd.sent(),Fo=gu(po)||ed(po)?n(po.ownerDocument):l(zn,po),Bs=Fo.width,hs=Fo.height,is=Fo.left,El=Fo.top,Dl=af(zn,po,De.backgroundColor),fl={canvas:De.canvas,backgroundColor:Dl,scale:(nd=(Fd=De.scale)!==null&&Fd!==void 0?Fd:ut.devicePixelRatio)!==null&&nd!==void 0?nd:1,x:((Yd=De.x)!==null&&Yd!==void 0?Yd:0)+is,y:((ih=De.y)!==null&&ih!==void 0?ih:0)+El,width:(Qd=De.width)!==null&&Qd!==void 0?Qd:Math.ceil(Bs),height:(cc=De.height)!==null&&cc!==void 0?cc:Math.ceil(hs)},ji?(zn.logger.debug("Document cloned, using foreign object rendering"),Pl=new mh(zn,fl),[4,Pl.render(po)]):[3,3];case 2:return rs=xd.sent(),[3,5];case 3:return zn.logger.debug("Document cloned, element located at "+is+","+El+" with size "+Bs+"x"+hs+" using computed rendering"),zn.logger.debug("Starting DOM parsing"),Hl=nu(zn,po),Dl===Hl.styles.backgroundColor&&(Hl.styles.backgroundColor=sn.TRANSPARENT),zn.logger.debug("Starting renderer for element at "+fl.x+","+fl.y+" with size "+fl.width+"x"+fl.height),Pl=new vd(zn,fl),[4,Pl.render(Hl)];case 4:rs=xd.sent(),xd.label=5;case 5:return((xu=De.removeContainer)!==null&&xu!==void 0?xu:!0)&&(Lo.destroy(Ao)||zn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),zn.logger.debug("Finished rendering"),[2,rs]}})})},af=function(ge,De,ze){var ut=De.ownerDocument,Gt=ut.documentElement?tn(ge,getComputedStyle(ut.documentElement).backgroundColor):sn.TRANSPARENT,Wr=ut.body?tn(ge,getComputedStyle(ut.body).backgroundColor):sn.TRANSPARENT,ln=typeof ze=="string"?tn(ge,ze):ze===null?sn.TRANSPARENT:4294967295;return De===ut.documentElement?za(Gt)?za(Wr)?ln:Wr:Gt:ln};return rf})},wPlo:function(U,R,i){"use strict";i.d(R,"a",function(){return y});var y="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("ygfH")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CheckOutlined";var l=p.forwardRef(d);R.default=l},wYyv:function(U,R,i){"use strict";var y=i("GmyR"),m=i("47nA"),E=function(f,d,l){var n=d<0?f.length+d:d;if(n>=0&&n<f.length){var t=l<0?f.length+l:l,a=f.splice(d,1),s=m(a,1),r=s[0];f.splice(t,0,r)}},p=function(f,d,l){return f=y(f),E(f,d,l),f};U.exports=p,U.exports.mutate=E},wgjA:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},whVF:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=i("lNSK"),m=E(i("1q3G"));function E(l){return l&&l.__esModule?l:{default:l}}function p(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}function v(l,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,a.key,a)}}function f(l,n,t){return n&&v(l.prototype,n),t&&v(l,t),l}var d=function(){function l(){p(this,l),this.strm=new m.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,y.deflateInit)(this.strm,this.windowBits)}return f(l,[{key:"deflate",value:function(t){this.strm.input=t,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0,this.strm.output=this.outputBuffer,this.strm.avail_out=this.chunkSize,this.strm.next_out=0;var a=(0,y.deflate)(this.strm,y.Z_FULL_FLUSH),s=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(a<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var r=[s],c=s.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,a=(0,y.deflate)(this.strm,y.Z_FULL_FLUSH),a<0)throw new Error("zlib deflate failed");var e=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);c+=e.length,r.push(e)}while(this.strm.avail_in>0);for(var o=new Uint8Array(c),u=0,h=0;h<r.length;h++)o.set(r[h],u),u+=r[h].length;s=o}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,s}}]),l}();R.default=d},wlus:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="MinusCircleOutlined";var d=R.a=m.forwardRef(f)},wr5s:function(U,R,i){var y=i("IwbS"),m=y.extendShape,E=m({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(p,v){var f=v.cx,d=v.cy,l=Math.max(v.r0||0,0),n=Math.max(v.r,0),t=(n-l)*.5,a=l+t,s=v.startAngle,r=v.endAngle,c=v.clockwise,e=Math.cos(s),o=Math.sin(s),u=Math.cos(r),h=Math.sin(r),g=c?r-s<Math.PI*2:s-r<Math.PI*2;g&&(p.moveTo(e*l+f,o*l+d),p.arc(e*a+f,o*a+d,t,-Math.PI+s,s,!c)),p.arc(f,d,n,s,r,!c),p.moveTo(u*n+f,h*n+d),p.arc(u*a+f,h*a+d,t,r-Math.PI*2,r-Math.PI,!c),l!==0&&(p.arc(f,d,l,r,s,c),p.moveTo(e*l+f,h*l+d)),p.closePath()}});U.exports=E},wt3j:function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("/IIm"),p=i("EMyp"),v=p.layoutCovers,f=y.extendComponentView({type:"brush",init:function(l,n){this.ecModel=l,this.api=n,this.model,(this._brushController=new E(n.getZr())).on("brush",m.bind(this._onBrush,this)).mount()},render:function(l){return this.model=l,d.apply(this,arguments)},updateTransform:function(l,n){return v(n),d.apply(this,arguments)},updateView:d,dispose:function(){this._brushController.dispose()},_onBrush:function(l,n){var t=this.model.id;this.model.brushTargetManager.setOutputRanges(l,this.ecModel),(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:m.clone(l),$from:t}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:m.clone(l),$from:t})}});function d(l,n,t,a){(!a||a.$from!==l.id)&&this._brushController.setPanels(l.brushTargetManager.makePanelOpts(t)).enableBrush(l.brushOption).updateCovers(l.areas.slice())}U.exports=f},wy8a:function(U,R,i){var y=i("KxBF");function m(E,p,v){var f=E.length;return v=v===void 0?f:v,!p&&v>=f?E:y(E,p,v)}U.exports=m},x3X8:function(U,R,i){var y=i("KxfA"),m=y.retrieveRawValue;function E(p,v){var f=p.mapDimension("defaultedLabel",!0),d=f.length;if(d===1)return m(p,v,f[0]);if(d){for(var l=[],n=0;n<f.length;n++){var t=m(p,v,f[n]);l.push(t)}return l.join(" ")}}R.getDefaultLabel=E},x54q:function(U,R,i){},x6Kt:function(U,R,i){var y=i("y+Vt"),m=i("VpOo"),E=i("nPnh"),p=E.subPixelOptimizeRect,v={},f=y.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(l,n){var t,a,s,r;this.subPixelOptimize?(p(v,n,this.style),t=v.x,a=v.y,s=v.width,r=v.height,v.r=n.r,n=v):(t=n.x,a=n.y,s=n.width,r=n.height),n.r?m.buildPath(l,n):l.rect(t,a,s,r),l.closePath();return}});U.exports=f},xGfz:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="PlusSquareOutlined";var d=R.a=m.forwardRef(f)},xKMd:function(U,R){function i(m,E){this.getAllNames=function(){var p=E();return p.mapArray(p.getName)},this.containName=function(p){var v=E();return v.indexOfName(p)>=0},this.indexOfName=function(p){var v=m();return v.indexOfName(p)},this.getItemVisual=function(p,v){var f=m();return f.getItemVisual(p,v)}}var y=i;U.exports=y},xO64:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y=m(i("8K/p"));function m(e){return e&&e.__esModule?e:{default:e}}function E(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(u){return typeof u}:E=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},E(e)}function p(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function v(e,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(e,h.key,h)}}function f(e,o,u){return o&&v(e.prototype,o),u&&v(e,u),e}function d(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),o&&l(e,o)}function l(e,o){return l=Object.setPrototypeOf||function(h,g){return h.__proto__=g,h},l(e,o)}function n(e){var o=s();return function(){var h=r(e),g;if(o){var A=r(this).constructor;g=Reflect.construct(h,arguments,A)}else g=h.apply(this,arguments);return t(this,g)}}function t(e,o){return o&&(E(o)==="object"||typeof o=="function")?o:a(e)}function a(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},r(e)}var c=function(e){d(u,e);var o=n(u);function u(){return p(this,u),o.apply(this,arguments)}return f(u,[{key:"_pngRect",value:function(g,A,w,x,C,T,O){var S=this._readData(C);return S===null?!1:(T.imageRect(g,A,w,x,"image/png",S),!0)}},{key:"_basicRect",value:function(g,A,w,x,C,T,O,S){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(y.default);R.default=c},xOOu:function(U,R,i){(function(y,m){var E,E;/*!
|
|
|
|
|
|
JSZip v3.7.1 - A JavaScript class for generating and reading zip files
|
|
|
<http://stuartk.com/jszip>
|
|
|
|
|
|
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|
|
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
|
|
|
|
|
|
JSZip uses the library pako released under the MIT license :
|
|
|
https://github.com/nodeca/pako/blob/master/LICENSE
|
|
|
*/!function(p){U.exports=p()}(function(){return function p(v,f,d){function l(a,s){if(!f[a]){if(!v[a]){var r=typeof E=="function"&&E;if(!s&&r)return E(a,!0);if(n)return n(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var e=f[a]={exports:{}};v[a][0].call(e.exports,function(o){var u=v[a][1][o];return l(u||o)},e,e.exports,p,v,f,d)}return f[a].exports}for(var n=typeof E=="function"&&E,t=0;t<d.length;t++)l(d[t]);return l}({1:[function(p,v,f){"use strict";var d=p("./utils"),l=p("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";f.encode=function(t){for(var a,s,r,c,e,o,u,h=[],g=0,A=t.length,w=A,x=d.getTypeOf(t)!=="string";g<t.length;)w=A-g,r=x?(a=t[g++],s=g<A?t[g++]:0,g<A?t[g++]:0):(a=t.charCodeAt(g++),s=g<A?t.charCodeAt(g++):0,g<A?t.charCodeAt(g++):0),c=a>>2,e=(3&a)<<4|s>>4,o=1<w?(15&s)<<2|r>>6:64,u=2<w?63&r:64,h.push(n.charAt(c)+n.charAt(e)+n.charAt(o)+n.charAt(u));return h.join("")},f.decode=function(t){var a,s,r,c,e,o,u=0,h=0,g="data:";if(t.substr(0,g.length)===g)throw new Error("Invalid base64 input, it looks like a data url.");var A,w=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===n.charAt(64)&&w--,t.charAt(t.length-2)===n.charAt(64)&&w--,w%1!=0)throw new Error("Invalid base64 input, bad content length.");for(A=l.uint8array?new Uint8Array(0|w):new Array(0|w);u<t.length;)a=n.indexOf(t.charAt(u++))<<2|(c=n.indexOf(t.charAt(u++)))>>4,s=(15&c)<<4|(e=n.indexOf(t.charAt(u++)))>>2,r=(3&e)<<6|(o=n.indexOf(t.charAt(u++))),A[h++]=a,e!==64&&(A[h++]=s),o!==64&&(A[h++]=r);return A}},{"./support":30,"./utils":32}],2:[function(p,v,f){"use strict";var d=p("./external"),l=p("./stream/DataWorker"),n=p("./stream/Crc32Probe"),t=p("./stream/DataLengthProbe");function a(s,r,c,e,o){this.compressedSize=s,this.uncompressedSize=r,this.crc32=c,this.compression=e,this.compressedContent=o}a.prototype={getContentWorker:function(){var r=new l(d.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new t("data_length")),c=this;return r.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),r},getCompressedWorker:function(){return new l(d.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(s,r,c){return s.pipe(new n).pipe(new t("uncompressedSize")).pipe(r.compressWorker(c)).pipe(new t("compressedSize")).withStreamInfo("compression",r)},v.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(p,v,f){"use strict";var d=p("./stream/GenericWorker");f.STORE={magic:"\0\0",compressWorker:function(n){return new d("STORE compression")},uncompressWorker:function(){return new d("STORE decompression")}},f.DEFLATE=p("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(p,v,f){"use strict";var d=p("./utils"),l=function(){for(var n,t=[],a=0;a<256;a++){n=a;for(var s=0;s<8;s++)n=1&n?3988292384^n>>>1:n>>>1;t[a]=n}return t}();v.exports=function(n,t){return n!==void 0&&n.length?d.getTypeOf(n)!=="string"?function(a,s,r,c){var e=l,o=c+r;a^=-1;for(var u=c;u<o;u++)a=a>>>8^e[255&(a^s[u])];return-1^a}(0|t,n,n.length,0):function(a,s,r,c){var e=l,o=c+r;a^=-1;for(var u=c;u<o;u++)a=a>>>8^e[255&(a^s.charCodeAt(u))];return-1^a}(0|t,n,n.length,0):0}},{"./utils":32}],5:[function(p,v,f){"use strict";f.base64=!1,f.binary=!1,f.dir=!1,f.createFolders=!0,f.date=null,f.compression=null,f.compressionOptions=null,f.comment=null,f.unixPermissions=null,f.dosPermissions=null},{}],6:[function(p,v,f){"use strict";var d=null;d=typeof Promise!="undefined"?Promise:p("lie"),v.exports={Promise:d}},{lie:37}],7:[function(p,v,f){"use strict";var d=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",l=p("pako"),n=p("./utils"),t=p("./stream/GenericWorker"),a=d?"uint8array":"array";function s(r,c){t.call(this,"FlateWorker/"+r),this._pako=null,this._pakoAction=r,this._pakoOptions=c,this.meta={}}f.magic="\b\0",n.inherits(s,t),s.prototype.processChunk=function(r){this.meta=r.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(a,r.data),!1)},s.prototype.flush=function(){t.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},s.prototype.cleanUp=function(){t.prototype.cleanUp.call(this),this._pako=null},s.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var r=this;this._pako.onData=function(c){r.push({data:c,meta:r.meta})}},f.compressWorker=function(r){return new s("Deflate",r)},f.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(p,v,f){"use strict";function d(e,o){var u,h="";for(u=0;u<o;u++)h+=String.fromCharCode(255&e),e>>>=8;return h}function l(e,o,u,h,g,A){var w,x,C=e.file,T=e.compression,O=A!==a.utf8encode,S=n.transformTo("string",A(C.name)),_=n.transformTo("string",a.utf8encode(C.name)),L=C.comment,D=n.transformTo("string",A(L)),F=n.transformTo("string",a.utf8encode(L)),j=_.length!==C.name.length,k=F.length!==L.length,K="",Z="",B="",V=C.dir,z=C.date,X={crc32:0,compressedSize:0,uncompressedSize:0};o&&!u||(X.crc32=e.crc32,X.compressedSize=e.compressedSize,X.uncompressedSize=e.uncompressedSize);var W=0;o&&(W|=8),O||!j&&!k||(W|=2048);var q=0,Y=0;V&&(q|=16),g==="UNIX"?(Y=798,q|=function(ne,we){var ie=ne;return ne||(ie=we?16893:33204),(65535&ie)<<16}(C.unixPermissions,V)):(Y=20,q|=function(ne){return 63&(ne||0)}(C.dosPermissions)),w=z.getUTCHours(),w<<=6,w|=z.getUTCMinutes(),w<<=5,w|=z.getUTCSeconds()/2,x=z.getUTCFullYear()-1980,x<<=4,x|=z.getUTCMonth()+1,x<<=5,x|=z.getUTCDate(),j&&(Z=d(1,1)+d(s(S),4)+_,K+="up"+d(Z.length,2)+Z),k&&(B=d(1,1)+d(s(D),4)+F,K+="uc"+d(B.length,2)+B);var re="";return re+=`
|
|
|
\0`,re+=d(W,2),re+=T.magic,re+=d(w,2),re+=d(x,2),re+=d(X.crc32,4),re+=d(X.compressedSize,4),re+=d(X.uncompressedSize,4),re+=d(S.length,2),re+=d(K.length,2),{fileRecord:r.LOCAL_FILE_HEADER+re+S+K,dirRecord:r.CENTRAL_FILE_HEADER+d(Y,2)+re+d(D.length,2)+"\0\0\0\0"+d(q,4)+d(h,4)+S+K+D}}var n=p("../utils"),t=p("../stream/GenericWorker"),a=p("../utf8"),s=p("../crc32"),r=p("../signature");function c(e,o,u,h){t.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=o,this.zipPlatform=u,this.encodeFileName=h,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(c,t),c.prototype.push=function(e){var o=e.meta.percent||0,u=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,t.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:u?(o+100*(u-h-1))/u:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var o=this.streamFiles&&!e.file.dir;if(o){var u=l(e,o,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var o=this.streamFiles&&!e.file.dir,u=l(e,o,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),o)this.push({data:function(h){return r.DATA_DESCRIPTOR+d(h.crc32,4)+d(h.compressedSize,4)+d(h.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:u.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,o=0;o<this.dirRecords.length;o++)this.push({data:this.dirRecords[o],meta:{percent:100}});var u=this.bytesWritten-e,h=function(g,A,w,x,C){var T=n.transformTo("string",C(x));return r.CENTRAL_DIRECTORY_END+"\0\0\0\0"+d(g,2)+d(g,2)+d(A,4)+d(w,4)+d(T.length,2)+T}(this.dirRecords.length,u,e,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var o=this;return e.on("data",function(u){o.processChunk(u)}),e.on("end",function(){o.closedSource(o.previous.streamInfo),o._sources.length?o.prepareNextSource():o.end()}),e.on("error",function(u){o.error(u)}),this},c.prototype.resume=function(){return!!t.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(e){var o=this._sources;if(!t.prototype.error.call(this,e))return!1;for(var u=0;u<o.length;u++)try{o[u].error(e)}catch(h){}return!0},c.prototype.lock=function(){t.prototype.lock.call(this);for(var e=this._sources,o=0;o<e.length;o++)e[o].lock()},v.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(p,v,f){"use strict";var d=p("../compressions"),l=p("./ZipFileWorker");f.generateWorker=function(n,t,a){var s=new l(t.streamFiles,a,t.platform,t.encodeFileName),r=0;try{n.forEach(function(c,e){r++;var o=function(A,w){var x=A||w,C=d[x];if(!C)throw new Error(x+" is not a valid compression method !");return C}(e.options.compression,t.compression),u=e.options.compressionOptions||t.compressionOptions||{},h=e.dir,g=e.date;e._compressWorker(o,u).withStreamInfo("file",{name:c,dir:h,date:g,comment:e.comment||"",unixPermissions:e.unixPermissions,dosPermissions:e.dosPermissions}).pipe(s)}),s.entriesCount=r}catch(c){s.error(c)}return s}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(p,v,f){"use strict";function d(){if(!(this instanceof d))return new d;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var l=new d;for(var n in this)typeof this[n]!="function"&&(l[n]=this[n]);return l}}(d.prototype=p("./object")).loadAsync=p("./load"),d.support=p("./support"),d.defaults=p("./defaults"),d.version="3.7.1",d.loadAsync=function(l,n){return new d().loadAsync(l,n)},d.external=p("./external"),v.exports=d},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(p,v,f){"use strict";var d=p("./utils"),l=p("./external"),n=p("./utf8"),t=p("./zipEntries"),a=p("./stream/Crc32Probe"),s=p("./nodejsUtils");function r(c){return new l.Promise(function(e,o){var u=c.decompressed.getContentWorker().pipe(new a);u.on("error",function(h){o(h)}).on("end",function(){u.streamInfo.crc32!==c.decompressed.crc32?o(new Error("Corrupted zip : CRC32 mismatch")):e()}).resume()})}v.exports=function(c,e){var o=this;return e=d.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),s.isNode&&s.isStream(c)?l.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):d.prepareContent("the loaded zip file",c,!0,e.optimizedBinaryString,e.base64).then(function(u){var h=new t(e);return h.load(u),h}).then(function(u){var h=[l.Promise.resolve(u)],g=u.files;if(e.checkCRC32)for(var A=0;A<g.length;A++)h.push(r(g[A]));return l.Promise.all(h)}).then(function(u){for(var h=u.shift(),g=h.files,A=0;A<g.length;A++){var w=g[A];o.file(w.fileNameStr,w.decompressed,{binary:!0,optimizedBinaryString:!0,date:w.date,dir:w.dir,comment:w.fileCommentStr.length?w.fileCommentStr:null,unixPermissions:w.unixPermissions,dosPermissions:w.dosPermissions,createFolders:e.createFolders})}return h.zipComment.length&&(o.comment=h.zipComment),o})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(p,v,f){"use strict";var d=p("../utils"),l=p("../stream/GenericWorker");function n(t,a){l.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(a)}d.inherits(n,l),n.prototype._bindStream=function(t){var a=this;(this._stream=t).pause(),t.on("data",function(s){a.push({data:s,meta:{percent:0}})}).on("error",function(s){a.isPaused?this.generatedError=s:a.error(s)}).on("end",function(){a.isPaused?a._upstreamEnded=!0:a.end()})},n.prototype.pause=function(){return!!l.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},v.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(p,v,f){"use strict";var d=p("readable-stream").Readable;function l(n,t,a){d.call(this,t),this._helper=n;var s=this;n.on("data",function(r,c){s.push(r)||s._helper.pause(),a&&a(c)}).on("error",function(r){s.emit("error",r)}).on("end",function(){s.push(null)})}p("../utils").inherits(l,d),l.prototype._read=function(){this._helper.resume()},v.exports=l},{"../utils":32,"readable-stream":16}],14:[function(p,v,f){"use strict";v.exports={isNode:typeof y!="undefined",newBufferFrom:function(l,n){if(y.from&&y.from!==Uint8Array.from)return y.from(l,n);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new y(l,n)},allocBuffer:function(l){if(y.alloc)return y.alloc(l);var n=new y(l);return n.fill(0),n},isBuffer:function(l){return y.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(p,v,f){"use strict";function d(C,T,O){var S,_=n.getTypeOf(T),L=n.extend(O||{},s);L.date=L.date||new Date,L.compression!==null&&(L.compression=L.compression.toUpperCase()),typeof L.unixPermissions=="string"&&(L.unixPermissions=parseInt(L.unixPermissions,8)),L.unixPermissions&&16384&L.unixPermissions&&(L.dir=!0),L.dosPermissions&&16&L.dosPermissions&&(L.dir=!0),L.dir&&(C=g(C)),L.createFolders&&(S=h(C))&&A.call(this,S,!0);var D=_==="string"&&L.binary===!1&&L.base64===!1;O&&O.binary!==void 0||(L.binary=!D),(T instanceof r&&T.uncompressedSize===0||L.dir||!T||T.length===0)&&(L.base64=!1,L.binary=!0,T="",L.compression="STORE",_="string");var F=null;F=T instanceof r||T instanceof t?T:o.isNode&&o.isStream(T)?new u(C,T):n.prepareContent(C,T,L.binary,L.optimizedBinaryString,L.base64);var j=new c(C,F,L);this.files[C]=j}var l=p("./utf8"),n=p("./utils"),t=p("./stream/GenericWorker"),a=p("./stream/StreamHelper"),s=p("./defaults"),r=p("./compressedObject"),c=p("./zipObject"),e=p("./generate"),o=p("./nodejsUtils"),u=p("./nodejs/NodejsStreamInputAdapter"),h=function(T){T.slice(-1)==="/"&&(T=T.substring(0,T.length-1));var O=T.lastIndexOf("/");return 0<O?T.substring(0,O):""},g=function(T){return T.slice(-1)!=="/"&&(T+="/"),T},A=function(T,O){return O=O!==void 0?O:s.createFolders,T=g(T),this.files[T]||d.call(this,T,null,{dir:!0,createFolders:O}),this.files[T]};function w(C){return Object.prototype.toString.call(C)==="[object RegExp]"}var x={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(T){var O,S,_;for(O in this.files)_=this.files[O],(S=O.slice(this.root.length,O.length))&&O.slice(0,this.root.length)===this.root&&T(S,_)},filter:function(T){var O=[];return this.forEach(function(S,_){T(S,_)&&O.push(_)}),O},file:function(T,O,S){if(arguments.length!==1)return T=this.root+T,d.call(this,T,O,S),this;if(w(T)){var _=T;return this.filter(function(D,F){return!F.dir&&_.test(D)})}var L=this.files[this.root+T];return L&&!L.dir?L:null},folder:function(T){if(!T)return this;if(w(T))return this.filter(function(L,D){return D.dir&&T.test(L)});var O=this.root+T,S=A.call(this,O),_=this.clone();return _.root=S.name,_},remove:function(T){T=this.root+T;var O=this.files[T];if(O||(T.slice(-1)!=="/"&&(T+="/"),O=this.files[T]),O&&!O.dir)delete this.files[T];else for(var S=this.filter(function(L,D){return D.name.slice(0,T.length)===T}),_=0;_<S.length;_++)delete this.files[S[_].name];return this},generate:function(T){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(T){var O,S={};try{if((S=n.extend(T||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:l.utf8encode})).type=S.type.toLowerCase(),S.compression=S.compression.toUpperCase(),S.type==="binarystring"&&(S.type="string"),!S.type)throw new Error("No output type specified.");n.checkSupport(S.type),S.platform!=="darwin"&&S.platform!=="freebsd"&&S.platform!=="linux"&&S.platform!=="sunos"||(S.platform="UNIX"),S.platform==="win32"&&(S.platform="DOS");var _=S.comment||this.comment||"";O=e.generateWorker(this,S,_)}catch(L){(O=new t("error")).error(L)}return new a(O,S.type||"string",S.mimeType)},generateAsync:function(T,O){return this.generateInternalStream(T).accumulate(O)},generateNodeStream:function(T,O){return(T=T||{}).type||(T.type="nodebuffer"),this.generateInternalStream(T).toNodejsStream(O)}};v.exports=x},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(p,v,f){v.exports=p("stream")},{stream:void 0}],17:[function(p,v,f){"use strict";var d=p("./DataReader");function l(n){d.call(this,n);for(var t=0;t<this.data.length;t++)n[t]=255&n[t]}p("../utils").inherits(l,d),l.prototype.byteAt=function(n){return this.data[this.zero+n]},l.prototype.lastIndexOfSignature=function(n){for(var t=n.charCodeAt(0),a=n.charCodeAt(1),s=n.charCodeAt(2),r=n.charCodeAt(3),c=this.length-4;0<=c;--c)if(this.data[c]===t&&this.data[c+1]===a&&this.data[c+2]===s&&this.data[c+3]===r)return c-this.zero;return-1},l.prototype.readAndCheckSignature=function(n){var t=n.charCodeAt(0),a=n.charCodeAt(1),s=n.charCodeAt(2),r=n.charCodeAt(3),c=this.readData(4);return t===c[0]&&a===c[1]&&s===c[2]&&r===c[3]},l.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},v.exports=l},{"../utils":32,"./DataReader":18}],18:[function(p,v,f){"use strict";var d=p("../utils");function l(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}l.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var a,s=0;for(this.checkOffset(t),a=this.index+t-1;a>=this.index;a--)s=(s<<8)+this.byteAt(a);return this.index+=t,s},readString:function(t){return d.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},v.exports=l},{"../utils":32}],19:[function(p,v,f){"use strict";var d=p("./Uint8ArrayReader");function l(n){d.call(this,n)}p("../utils").inherits(l,d),l.prototype.readData=function(n){this.checkOffset(n);var t=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},v.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(p,v,f){"use strict";var d=p("./DataReader");function l(n){d.call(this,n)}p("../utils").inherits(l,d),l.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},l.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},l.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},l.prototype.readData=function(n){this.checkOffset(n);var t=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},v.exports=l},{"../utils":32,"./DataReader":18}],21:[function(p,v,f){"use strict";var d=p("./ArrayReader");function l(n){d.call(this,n)}p("../utils").inherits(l,d),l.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},v.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(p,v,f){"use strict";var d=p("../utils"),l=p("../support"),n=p("./ArrayReader"),t=p("./StringReader"),a=p("./NodeBufferReader"),s=p("./Uint8ArrayReader");v.exports=function(r){var c=d.getTypeOf(r);return d.checkSupport(c),c!=="string"||l.uint8array?c==="nodebuffer"?new a(r):l.uint8array?new s(d.transformTo("uint8array",r)):new n(d.transformTo("array",r)):new t(r)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(p,v,f){"use strict";f.LOCAL_FILE_HEADER="PK",f.CENTRAL_FILE_HEADER="PK",f.CENTRAL_DIRECTORY_END="PK",f.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",f.ZIP64_CENTRAL_DIRECTORY_END="PK",f.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(p,v,f){"use strict";var d=p("./GenericWorker"),l=p("../utils");function n(t){d.call(this,"ConvertWorker to "+t),this.destType=t}l.inherits(n,d),n.prototype.processChunk=function(t){this.push({data:l.transformTo(this.destType,t.data),meta:t.meta})},v.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(p,v,f){"use strict";var d=p("./GenericWorker"),l=p("../crc32");function n(){d.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}p("../utils").inherits(n,d),n.prototype.processChunk=function(t){this.streamInfo.crc32=l(t.data,this.streamInfo.crc32||0),this.push(t)},v.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(p,v,f){"use strict";var d=p("../utils"),l=p("./GenericWorker");function n(t){l.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}d.inherits(n,l),n.prototype.processChunk=function(t){if(t){var a=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=a+t.data.length}l.prototype.processChunk.call(this,t)},v.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(p,v,f){"use strict";var d=p("../utils"),l=p("./GenericWorker");function n(t){l.call(this,"DataWorker");var a=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(s){a.dataIsReady=!0,a.data=s,a.max=s&&s.length||0,a.type=d.getTypeOf(s),a.isPaused||a._tickAndRepeat()},function(s){a.error(s)})}d.inherits(n,l),n.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,d.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(d.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,a=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,a);break;case"uint8array":t=this.data.subarray(this.index,a);break;case"array":case"nodebuffer":t=this.data.slice(this.index,a)}return this.index=a,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},v.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(p,v,f){"use strict";function d(l){this.name=l||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}d.prototype={push:function(n){this.emit("data",n)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(n){this.emit("error",n)}return!0},error:function(n){return!this.isFinished&&(this.isPaused?this.generatedError=n:(this.isFinished=!0,this.emit("error",n),this.previous&&this.previous.error(n),this.cleanUp()),!0)},on:function(n,t){return this._listeners[n].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(n,t){if(this._listeners[n])for(var a=0;a<this._listeners[n].length;a++)this._listeners[n][a].call(this,t)},pipe:function(n){return n.registerPrevious(this)},registerPrevious:function(n){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=n.streamInfo,this.mergeStreamInfo(),this.previous=n;var t=this;return n.on("data",function(a){t.processChunk(a)}),n.on("end",function(){t.end()}),n.on("error",function(a){t.error(a)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var n=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),n=!0),this.previous&&this.previous.resume(),!n},flush:function(){},processChunk:function(n){this.push(n)},withStreamInfo:function(n,t){return this.extraStreamInfo[n]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var n in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(n)&&(this.streamInfo[n]=this.extraStreamInfo[n])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var n="Worker "+this.name;return this.previous?this.previous+" -> "+n:n}},v.exports=d},{}],29:[function(p,v,f){"use strict";var d=p("../utils"),l=p("./ConvertWorker"),n=p("./GenericWorker"),t=p("../base64"),a=p("../support"),s=p("../external"),r=null;if(a.nodestream)try{r=p("../nodejs/NodejsStreamOutputAdapter")}catch(o){}function c(o,u){return new s.Promise(function(h,g){var A=[],w=o._internalType,x=o._outputType,C=o._mimeType;o.on("data",function(T,O){A.push(T),u&&u(O)}).on("error",function(T){A=[],g(T)}).on("end",function(){try{var T=function(O,S,_){switch(O){case"blob":return d.newBlob(d.transformTo("arraybuffer",S),_);case"base64":return t.encode(S);default:return d.transformTo(O,S)}}(x,function(O,S){var _,L=0,D=null,F=0;for(_=0;_<S.length;_++)F+=S[_].length;switch(O){case"string":return S.join("");case"array":return Array.prototype.concat.apply([],S);case"uint8array":for(D=new Uint8Array(F),_=0;_<S.length;_++)D.set(S[_],L),L+=S[_].length;return D;case"nodebuffer":return y.concat(S);default:throw new Error("concat : unsupported type '"+O+"'")}}(w,A),C);h(T)}catch(O){g(O)}A=[]}).resume()})}function e(o,u,h){var g=u;switch(u){case"blob":case"arraybuffer":g="uint8array";break;case"base64":g="string"}try{this._internalType=g,this._outputType=u,this._mimeType=h,d.checkSupport(g),this._worker=o.pipe(new l(g)),o.lock()}catch(A){this._worker=new n("error"),this._worker.error(A)}}e.prototype={accumulate:function(u){return c(this,u)},on:function(u,h){var g=this;return u==="data"?this._worker.on(u,function(A){h.call(g,A.data,A.meta)}):this._worker.on(u,function(){d.delay(h,arguments,g)}),this},resume:function(){return d.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(u){if(d.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new r(this,{objectMode:this._outputType!=="nodebuffer"},u)}},v.exports=e},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(p,v,f){"use strict";if(f.base64=!0,f.array=!0,f.string=!0,f.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",f.nodebuffer=typeof y!="undefined",f.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")f.blob=!1;else{var d=new ArrayBuffer(0);try{f.blob=new Blob([d],{type:"application/zip"}).size===0}catch(n){try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(d),f.blob=l.getBlob("application/zip").size===0}catch(t){f.blob=!1}}}try{f.nodestream=!!p("readable-stream").Readable}catch(n){f.nodestream=!1}},{"readable-stream":16}],31:[function(p,v,f){"use strict";for(var d=p("./utils"),l=p("./support"),n=p("./nodejsUtils"),t=p("./stream/GenericWorker"),a=new Array(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;a[254]=a[254]=1;function r(){t.call(this,"utf-8 decode"),this.leftOver=null}function c(){t.call(this,"utf-8 encode")}f.utf8encode=function(e){return l.nodebuffer?n.newBufferFrom(e,"utf-8"):function(o){var u,h,g,A,w,x=o.length,C=0;for(A=0;A<x;A++)(64512&(h=o.charCodeAt(A)))==55296&&A+1<x&&(64512&(g=o.charCodeAt(A+1)))==56320&&(h=65536+(h-55296<<10)+(g-56320),A++),C+=h<128?1:h<2048?2:h<65536?3:4;for(u=l.uint8array?new Uint8Array(C):new Array(C),A=w=0;w<C;A++)(64512&(h=o.charCodeAt(A)))==55296&&A+1<x&&(64512&(g=o.charCodeAt(A+1)))==56320&&(h=65536+(h-55296<<10)+(g-56320),A++),h<128?u[w++]=h:(h<2048?u[w++]=192|h>>>6:(h<65536?u[w++]=224|h>>>12:(u[w++]=240|h>>>18,u[w++]=128|h>>>12&63),u[w++]=128|h>>>6&63),u[w++]=128|63&h);return u}(e)},f.utf8decode=function(e){return l.nodebuffer?d.transformTo("nodebuffer",e).toString("utf-8"):function(o){var u,h,g,A,w=o.length,x=new Array(2*w);for(u=h=0;u<w;)if((g=o[u++])<128)x[h++]=g;else if(4<(A=a[g]))x[h++]=65533,u+=A-1;else{for(g&=A===2?31:A===3?15:7;1<A&&u<w;)g=g<<6|63&o[u++],A--;1<A?x[h++]=65533:g<65536?x[h++]=g:(g-=65536,x[h++]=55296|g>>10&1023,x[h++]=56320|1023&g)}return x.length!==h&&(x.subarray?x=x.subarray(0,h):x.length=h),d.applyFromCharCode(x)}(e=d.transformTo(l.uint8array?"uint8array":"array",e))},d.inherits(r,t),r.prototype.processChunk=function(e){var o=d.transformTo(l.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var u=o;(o=new Uint8Array(u.length+this.leftOver.length)).set(this.leftOver,0),o.set(u,this.leftOver.length)}else o=this.leftOver.concat(o);this.leftOver=null}var h=function(A,w){var x;for((w=w||A.length)>A.length&&(w=A.length),x=w-1;0<=x&&(192&A[x])==128;)x--;return x<0||x===0?w:x+a[A[x]]>w?x:w}(o),g=o;h!==o.length&&(l.uint8array?(g=o.subarray(0,h),this.leftOver=o.subarray(h,o.length)):(g=o.slice(0,h),this.leftOver=o.slice(h,o.length))),this.push({data:f.utf8decode(g),meta:e.meta})},r.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:f.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},f.Utf8DecodeWorker=r,d.inherits(c,t),c.prototype.processChunk=function(e){this.push({data:f.utf8encode(e.data),meta:e.meta})},f.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(p,v,f){"use strict";var d=p("./support"),l=p("./base64"),n=p("./nodejsUtils"),t=p("set-immediate-shim"),a=p("./external");function s(h){return h}function r(h,g){for(var A=0;A<h.length;++A)g[A]=255&h.charCodeAt(A);return g}f.newBlob=function(h,g){f.checkSupport("blob");try{return new Blob([h],{type:g})}catch(w){try{var A=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return A.append(h),A.getBlob(g)}catch(x){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(g,A,w){var x=[],C=0,T=g.length;if(T<=w)return String.fromCharCode.apply(null,g);for(;C<T;)A==="array"||A==="nodebuffer"?x.push(String.fromCharCode.apply(null,g.slice(C,Math.min(C+w,T)))):x.push(String.fromCharCode.apply(null,g.subarray(C,Math.min(C+w,T)))),C+=w;return x.join("")},stringifyByChar:function(g){for(var A="",w=0;w<g.length;w++)A+=String.fromCharCode(g[w]);return A},applyCanBeUsed:{uint8array:function(){try{return d.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(h){return!1}}(),nodebuffer:function(){try{return d.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch(h){return!1}}()}};function e(h){var g=65536,A=f.getTypeOf(h),w=!0;if(A==="uint8array"?w=c.applyCanBeUsed.uint8array:A==="nodebuffer"&&(w=c.applyCanBeUsed.nodebuffer),w)for(;1<g;)try{return c.stringifyByChunk(h,A,g)}catch(x){g=Math.floor(g/2)}return c.stringifyByChar(h)}function o(h,g){for(var A=0;A<h.length;A++)g[A]=h[A];return g}f.applyFromCharCode=e;var u={};u.string={string:s,array:function(g){return r(g,new Array(g.length))},arraybuffer:function(g){return u.string.uint8array(g).buffer},uint8array:function(g){return r(g,new Uint8Array(g.length))},nodebuffer:function(g){return r(g,n.allocBuffer(g.length))}},u.array={string:e,array:s,arraybuffer:function(g){return new Uint8Array(g).buffer},uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return n.newBufferFrom(g)}},u.arraybuffer={string:function(g){return e(new Uint8Array(g))},array:function(g){return o(new Uint8Array(g),new Array(g.byteLength))},arraybuffer:s,uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return n.newBufferFrom(new Uint8Array(g))}},u.uint8array={string:e,array:function(g){return o(g,new Array(g.length))},arraybuffer:function(g){return g.buffer},uint8array:s,nodebuffer:function(g){return n.newBufferFrom(g)}},u.nodebuffer={string:e,array:function(g){return o(g,new Array(g.length))},arraybuffer:function(g){return u.nodebuffer.uint8array(g).buffer},uint8array:function(g){return o(g,new Uint8Array(g.length))},nodebuffer:s},f.transformTo=function(h,g){if(g=g||"",!h)return g;f.checkSupport(h);var A=f.getTypeOf(g);return u[A][h](g)},f.getTypeOf=function(h){return typeof h=="string"?"string":Object.prototype.toString.call(h)==="[object Array]"?"array":d.nodebuffer&&n.isBuffer(h)?"nodebuffer":d.uint8array&&h instanceof Uint8Array?"uint8array":d.arraybuffer&&h instanceof ArrayBuffer?"arraybuffer":void 0},f.checkSupport=function(h){if(!d[h.toLowerCase()])throw new Error(h+" is not supported by this platform")},f.MAX_VALUE_16BITS=65535,f.MAX_VALUE_32BITS=-1,f.pretty=function(h){var g,A,w="";for(A=0;A<(h||"").length;A++)w+="\\x"+((g=h.charCodeAt(A))<16?"0":"")+g.toString(16).toUpperCase();return w},f.delay=function(h,g,A){t(function(){h.apply(A||null,g||[])})},f.inherits=function(h,g){function A(){}A.prototype=g.prototype,h.prototype=new A},f.extend=function(){var h,g,A={};for(h=0;h<arguments.length;h++)for(g in arguments[h])arguments[h].hasOwnProperty(g)&&A[g]===void 0&&(A[g]=arguments[h][g]);return A},f.prepareContent=function(h,g,A,w,x){return a.Promise.resolve(g).then(function(C){return d.blob&&(C instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(C))!==-1)&&typeof FileReader!="undefined"?new a.Promise(function(T,O){var S=new FileReader;S.onload=function(_){T(_.target.result)},S.onerror=function(_){O(_.target.error)},S.readAsArrayBuffer(C)}):C}).then(function(C){var T=f.getTypeOf(C);return T?(T==="arraybuffer"?C=f.transformTo("uint8array",C):T==="string"&&(x?C=l.decode(C):A&&w!==!0&&(C=function(O){return r(O,d.uint8array?new Uint8Array(O.length):new Array(O.length))}(C))),C):a.Promise.reject(new Error("Can't read the data of '"+h+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(p,v,f){"use strict";var d=p("./reader/readerFor"),l=p("./utils"),n=p("./signature"),t=p("./zipEntry"),a=(p("./utf8"),p("./support"));function s(r){this.files=[],this.loadOptions=r}s.prototype={checkSignature:function(c){if(!this.reader.readAndCheckSignature(c)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+l.pretty(e)+", expected "+l.pretty(c)+")")}},isSignature:function(c,e){var o=this.reader.index;this.reader.setIndex(c);var u=this.reader.readString(4)===e;return this.reader.setIndex(o),u},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var c=this.reader.readData(this.zipCommentLength),e=a.uint8array?"uint8array":"array",o=l.transformTo(e,c);this.zipComment=this.loadOptions.decodeFileName(o)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var c,e,o,u=this.zip64EndOfCentralSize-44;0<u;)c=this.reader.readInt(2),e=this.reader.readInt(4),o=this.reader.readData(e),this.zip64ExtensibleData[c]={id:c,length:e,value:o}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var c,e;for(c=0;c<this.files.length;c++)e=this.files[c],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var c;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(c=new t({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(c);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var c=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(c<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(c);var e=c;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===l.MAX_VALUE_16BITS||this.diskWithCentralDirStart===l.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===l.MAX_VALUE_16BITS||this.centralDirRecords===l.MAX_VALUE_16BITS||this.centralDirSize===l.MAX_VALUE_32BITS||this.centralDirOffset===l.MAX_VALUE_32BITS){if(this.zip64=!0,(c=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(c),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var o=this.centralDirOffset+this.centralDirSize;this.zip64&&(o+=20,o+=12+this.zip64EndOfCentralSize);var u=e-o;if(0<u)this.isSignature(e,n.CENTRAL_FILE_HEADER)||(this.reader.zero=u);else if(u<0)throw new Error("Corrupted zip: missing "+Math.abs(u)+" bytes.")},prepareReader:function(c){this.reader=d(c)},load:function(c){this.prepareReader(c),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},v.exports=s},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(p,v,f){"use strict";var d=p("./reader/readerFor"),l=p("./utils"),n=p("./compressedObject"),t=p("./crc32"),a=p("./utf8"),s=p("./compressions"),r=p("./support");function c(e,o){this.options=e,this.loadOptions=o}c.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(o){var u,h;if(o.skip(22),this.fileNameLength=o.readInt(2),h=o.readInt(2),this.fileName=o.readData(this.fileNameLength),o.skip(h),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((u=function(g){for(var A in s)if(s.hasOwnProperty(A)&&s[A].magic===g)return s[A];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+l.pretty(this.compressionMethod)+" unknown (inner file : "+l.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,u,o.readData(this.compressedSize))},readCentralPart:function(o){this.versionMadeBy=o.readInt(2),o.skip(2),this.bitFlag=o.readInt(2),this.compressionMethod=o.readString(2),this.date=o.readDate(),this.crc32=o.readInt(4),this.compressedSize=o.readInt(4),this.uncompressedSize=o.readInt(4);var u=o.readInt(2);if(this.extraFieldsLength=o.readInt(2),this.fileCommentLength=o.readInt(2),this.diskNumberStart=o.readInt(2),this.internalFileAttributes=o.readInt(2),this.externalFileAttributes=o.readInt(4),this.localHeaderOffset=o.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");o.skip(u),this.readExtraFields(o),this.parseZIP64ExtraField(o),this.fileComment=o.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var o=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),o==0&&(this.dosPermissions=63&this.externalFileAttributes),o==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(o){if(this.extraFields[1]){var u=d(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=u.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=u.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=u.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=u.readInt(4))}},readExtraFields:function(o){var u,h,g,A=o.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});o.index+4<A;)u=o.readInt(2),h=o.readInt(2),g=o.readData(h),this.extraFields[u]={id:u,length:h,value:g};o.setIndex(A)},handleUTF8:function(){var o=r.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var u=this.findExtraFieldUnicodePath();if(u!==null)this.fileNameStr=u;else{var h=l.transformTo(o,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(h)}var g=this.findExtraFieldUnicodeComment();if(g!==null)this.fileCommentStr=g;else{var A=l.transformTo(o,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(A)}}},findExtraFieldUnicodePath:function(){var o=this.extraFields[28789];if(o){var u=d(o.value);return u.readInt(1)!==1||t(this.fileName)!==u.readInt(4)?null:a.utf8decode(u.readData(o.length-5))}return null},findExtraFieldUnicodeComment:function(){var o=this.extraFields[25461];if(o){var u=d(o.value);return u.readInt(1)!==1||t(this.fileComment)!==u.readInt(4)?null:a.utf8decode(u.readData(o.length-5))}return null}},v.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(p,v,f){"use strict";function d(o,u,h){this.name=o,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=u,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var l=p("./stream/StreamHelper"),n=p("./stream/DataWorker"),t=p("./utf8"),a=p("./compressedObject"),s=p("./stream/GenericWorker");d.prototype={internalStream:function(u){var h=null,g="string";try{if(!u)throw new Error("No output type specified.");var A=(g=u.toLowerCase())==="string"||g==="text";g!=="binarystring"&&g!=="text"||(g="string"),h=this._decompressWorker();var w=!this._dataBinary;w&&!A&&(h=h.pipe(new t.Utf8EncodeWorker)),!w&&A&&(h=h.pipe(new t.Utf8DecodeWorker))}catch(x){(h=new s("error")).error(x)}return new l(h,g,"")},async:function(u,h){return this.internalStream(u).accumulate(h)},nodeStream:function(u,h){return this.internalStream(u||"nodebuffer").toNodejsStream(h)},_compressWorker:function(u,h){if(this._data instanceof a&&this._data.compression.magic===u.magic)return this._data.getCompressedWorker();var g=this._decompressWorker();return this._dataBinary||(g=g.pipe(new t.Utf8EncodeWorker)),a.createWorkerFrom(g,u,h)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof s?this._data:new n(this._data)}};for(var r=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},e=0;e<r.length;e++)d.prototype[r[e]]=c;v.exports=d},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(p,v,f){(function(d){"use strict";var l,n,t=d.MutationObserver||d.WebKitMutationObserver;if(t){var a=0,s=new t(o),r=d.document.createTextNode("");s.observe(r,{characterData:!0}),l=function(){r.data=a=++a%2}}else if(d.setImmediate||d.MessageChannel===void 0)l="document"in d&&"onreadystatechange"in d.document.createElement("script")?function(){var u=d.document.createElement("script");u.onreadystatechange=function(){o(),u.onreadystatechange=null,u.parentNode.removeChild(u),u=null},d.document.documentElement.appendChild(u)}:function(){setTimeout(o,0)};else{var c=new d.MessageChannel;c.port1.onmessage=o,l=function(){c.port2.postMessage(0)}}var e=[];function o(){var u,h;n=!0;for(var g=e.length;g;){for(h=e,e=[],u=-1;++u<g;)h[u]();g=e.length}n=!1}v.exports=function(u){e.push(u)!==1||n||l()}}).call(this,typeof m!="undefined"?m:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(p,v,f){"use strict";var d=p("immediate");function l(){}var n={},t=["REJECTED"],a=["FULFILLED"],s=["PENDING"];function r(g){if(typeof g!="function")throw new TypeError("resolver must be a function");this.state=s,this.queue=[],this.outcome=void 0,g!==l&&u(this,g)}function c(g,A,w){this.promise=g,typeof A=="function"&&(this.onFulfilled=A,this.callFulfilled=this.otherCallFulfilled),typeof w=="function"&&(this.onRejected=w,this.callRejected=this.otherCallRejected)}function e(g,A,w){d(function(){var x;try{x=A(w)}catch(C){return n.reject(g,C)}x===g?n.reject(g,new TypeError("Cannot resolve promise with itself")):n.resolve(g,x)})}function o(g){var A=g&&g.then;if(g&&(typeof g=="object"||typeof g=="function")&&typeof A=="function")return function(){A.apply(g,arguments)}}function u(g,A){var w=!1;function x(O){w||(w=!0,n.reject(g,O))}function C(O){w||(w=!0,n.resolve(g,O))}var T=h(function(){A(C,x)});T.status==="error"&&x(T.value)}function h(g,A){var w={};try{w.value=g(A),w.status="success"}catch(x){w.status="error",w.value=x}return w}(v.exports=r).prototype.finally=function(g){if(typeof g!="function")return this;var A=this.constructor;return this.then(function(w){return A.resolve(g()).then(function(){return w})},function(w){return A.resolve(g()).then(function(){throw w})})},r.prototype.catch=function(g){return this.then(null,g)},r.prototype.then=function(g,A){if(typeof g!="function"&&this.state===a||typeof A!="function"&&this.state===t)return this;var w=new this.constructor(l);return this.state!==s?e(w,this.state===a?g:A,this.outcome):this.queue.push(new c(w,g,A)),w},c.prototype.callFulfilled=function(g){n.resolve(this.promise,g)},c.prototype.otherCallFulfilled=function(g){e(this.promise,this.onFulfilled,g)},c.prototype.callRejected=function(g){n.reject(this.promise,g)},c.prototype.otherCallRejected=function(g){e(this.promise,this.onRejected,g)},n.resolve=function(g,A){var w=h(o,A);if(w.status==="error")return n.reject(g,w.value);var x=w.value;if(x)u(g,x);else{g.state=a,g.outcome=A;for(var C=-1,T=g.queue.length;++C<T;)g.queue[C].callFulfilled(A)}return g},n.reject=function(g,A){g.state=t,g.outcome=A;for(var w=-1,x=g.queue.length;++w<x;)g.queue[w].callRejected(A);return g},r.resolve=function(g){return g instanceof this?g:n.resolve(new this(l),g)},r.reject=function(g){var A=new this(l);return n.reject(A,g)},r.all=function(g){var A=this;if(Object.prototype.toString.call(g)!=="[object Array]")return this.reject(new TypeError("must be an array"));var w=g.length,x=!1;if(!w)return this.resolve([]);for(var C=new Array(w),T=0,O=-1,S=new this(l);++O<w;)_(g[O],O);return S;function _(L,D){A.resolve(L).then(function(F){C[D]=F,++T!==w||x||(x=!0,n.resolve(S,C))},function(F){x||(x=!0,n.reject(S,F))})}},r.race=function(g){var A=this;if(Object.prototype.toString.call(g)!=="[object Array]")return this.reject(new TypeError("must be an array"));var w=g.length,x=!1;if(!w)return this.resolve([]);for(var C=-1,T=new this(l);++C<w;)O=g[C],A.resolve(O).then(function(S){x||(x=!0,n.resolve(T,S))},function(S){x||(x=!0,n.reject(T,S))});var O;return T}},{immediate:36}],38:[function(p,v,f){"use strict";var d={};(0,p("./lib/utils/common").assign)(d,p("./lib/deflate"),p("./lib/inflate"),p("./lib/zlib/constants")),v.exports=d},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(p,v,f){"use strict";var d=p("./zlib/deflate"),l=p("./utils/common"),n=p("./utils/strings"),t=p("./zlib/messages"),a=p("./zlib/zstream"),s=Object.prototype.toString,r=0,c=-1,e=0,o=8;function u(g){if(!(this instanceof u))return new u(g);this.options=l.assign({level:c,method:o,chunkSize:16384,windowBits:15,memLevel:8,strategy:e,to:""},g||{});var A=this.options;A.raw&&0<A.windowBits?A.windowBits=-A.windowBits:A.gzip&&0<A.windowBits&&A.windowBits<16&&(A.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var w=d.deflateInit2(this.strm,A.level,A.method,A.windowBits,A.memLevel,A.strategy);if(w!==r)throw new Error(t[w]);if(A.header&&d.deflateSetHeader(this.strm,A.header),A.dictionary){var x;if(x=typeof A.dictionary=="string"?n.string2buf(A.dictionary):s.call(A.dictionary)==="[object ArrayBuffer]"?new Uint8Array(A.dictionary):A.dictionary,(w=d.deflateSetDictionary(this.strm,x))!==r)throw new Error(t[w]);this._dict_set=!0}}function h(g,A){var w=new u(A);if(w.push(g,!0),w.err)throw w.msg||t[w.err];return w.result}u.prototype.push=function(g,A){var w,x,C=this.strm,T=this.options.chunkSize;if(this.ended)return!1;x=A===~~A?A:A===!0?4:0,typeof g=="string"?C.input=n.string2buf(g):s.call(g)==="[object ArrayBuffer]"?C.input=new Uint8Array(g):C.input=g,C.next_in=0,C.avail_in=C.input.length;do{if(C.avail_out===0&&(C.output=new l.Buf8(T),C.next_out=0,C.avail_out=T),(w=d.deflate(C,x))!==1&&w!==r)return this.onEnd(w),!(this.ended=!0);C.avail_out!==0&&(C.avail_in!==0||x!==4&&x!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(l.shrinkBuf(C.output,C.next_out))):this.onData(l.shrinkBuf(C.output,C.next_out)))}while((0<C.avail_in||C.avail_out===0)&&w!==1);return x===4?(w=d.deflateEnd(this.strm),this.onEnd(w),this.ended=!0,w===r):x!==2||(this.onEnd(r),!(C.avail_out=0))},u.prototype.onData=function(g){this.chunks.push(g)},u.prototype.onEnd=function(g){g===r&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=g,this.msg=this.strm.msg},f.Deflate=u,f.deflate=h,f.deflateRaw=function(g,A){return(A=A||{}).raw=!0,h(g,A)},f.gzip=function(g,A){return(A=A||{}).gzip=!0,h(g,A)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(p,v,f){"use strict";var d=p("./zlib/inflate"),l=p("./utils/common"),n=p("./utils/strings"),t=p("./zlib/constants"),a=p("./zlib/messages"),s=p("./zlib/zstream"),r=p("./zlib/gzheader"),c=Object.prototype.toString;function e(u){if(!(this instanceof e))return new e(u);this.options=l.assign({chunkSize:16384,windowBits:0,to:""},u||{});var h=this.options;h.raw&&0<=h.windowBits&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),!(0<=h.windowBits&&h.windowBits<16)||u&&u.windowBits||(h.windowBits+=32),15<h.windowBits&&h.windowBits<48&&(15&h.windowBits)==0&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var g=d.inflateInit2(this.strm,h.windowBits);if(g!==t.Z_OK)throw new Error(a[g]);this.header=new r,d.inflateGetHeader(this.strm,this.header)}function o(u,h){var g=new e(h);if(g.push(u,!0),g.err)throw g.msg||a[g.err];return g.result}e.prototype.push=function(u,h){var g,A,w,x,C,T,O=this.strm,S=this.options.chunkSize,_=this.options.dictionary,L=!1;if(this.ended)return!1;A=h===~~h?h:h===!0?t.Z_FINISH:t.Z_NO_FLUSH,typeof u=="string"?O.input=n.binstring2buf(u):c.call(u)==="[object ArrayBuffer]"?O.input=new Uint8Array(u):O.input=u,O.next_in=0,O.avail_in=O.input.length;do{if(O.avail_out===0&&(O.output=new l.Buf8(S),O.next_out=0,O.avail_out=S),(g=d.inflate(O,t.Z_NO_FLUSH))===t.Z_NEED_DICT&&_&&(T=typeof _=="string"?n.string2buf(_):c.call(_)==="[object ArrayBuffer]"?new Uint8Array(_):_,g=d.inflateSetDictionary(this.strm,T)),g===t.Z_BUF_ERROR&&L===!0&&(g=t.Z_OK,L=!1),g!==t.Z_STREAM_END&&g!==t.Z_OK)return this.onEnd(g),!(this.ended=!0);O.next_out&&(O.avail_out!==0&&g!==t.Z_STREAM_END&&(O.avail_in!==0||A!==t.Z_FINISH&&A!==t.Z_SYNC_FLUSH)||(this.options.to==="string"?(w=n.utf8border(O.output,O.next_out),x=O.next_out-w,C=n.buf2string(O.output,w),O.next_out=x,O.avail_out=S-x,x&&l.arraySet(O.output,O.output,w,x,0),this.onData(C)):this.onData(l.shrinkBuf(O.output,O.next_out)))),O.avail_in===0&&O.avail_out===0&&(L=!0)}while((0<O.avail_in||O.avail_out===0)&&g!==t.Z_STREAM_END);return g===t.Z_STREAM_END&&(A=t.Z_FINISH),A===t.Z_FINISH?(g=d.inflateEnd(this.strm),this.onEnd(g),this.ended=!0,g===t.Z_OK):A!==t.Z_SYNC_FLUSH||(this.onEnd(t.Z_OK),!(O.avail_out=0))},e.prototype.onData=function(u){this.chunks.push(u)},e.prototype.onEnd=function(u){u===t.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=u,this.msg=this.strm.msg},f.Inflate=e,f.inflate=o,f.inflateRaw=function(u,h){return(h=h||{}).raw=!0,o(u,h)},f.ungzip=o},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(p,v,f){"use strict";var d=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";f.assign=function(t){for(var a=Array.prototype.slice.call(arguments,1);a.length;){var s=a.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var r in s)s.hasOwnProperty(r)&&(t[r]=s[r])}}return t},f.shrinkBuf=function(t,a){return t.length===a?t:t.subarray?t.subarray(0,a):(t.length=a,t)};var l={arraySet:function(a,s,r,c,e){if(s.subarray&&a.subarray)a.set(s.subarray(r,r+c),e);else for(var o=0;o<c;o++)a[e+o]=s[r+o]},flattenChunks:function(a){var s,r,c,e,o,u;for(s=c=0,r=a.length;s<r;s++)c+=a[s].length;for(u=new Uint8Array(c),s=e=0,r=a.length;s<r;s++)o=a[s],u.set(o,e),e+=o.length;return u}},n={arraySet:function(a,s,r,c,e){for(var o=0;o<c;o++)a[e+o]=s[r+o]},flattenChunks:function(a){return[].concat.apply([],a)}};f.setTyped=function(t){t?(f.Buf8=Uint8Array,f.Buf16=Uint16Array,f.Buf32=Int32Array,f.assign(f,l)):(f.Buf8=Array,f.Buf16=Array,f.Buf32=Array,f.assign(f,n))},f.setTyped(d)},{}],42:[function(p,v,f){"use strict";var d=p("./common"),l=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch(r){l=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(r){n=!1}for(var t=new d.Buf8(256),a=0;a<256;a++)t[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function s(r,c){if(c<65537&&(r.subarray&&n||!r.subarray&&l))return String.fromCharCode.apply(null,d.shrinkBuf(r,c));for(var e="",o=0;o<c;o++)e+=String.fromCharCode(r[o]);return e}t[254]=t[254]=1,f.string2buf=function(r){var c,e,o,u,h,g=r.length,A=0;for(u=0;u<g;u++)(64512&(e=r.charCodeAt(u)))==55296&&u+1<g&&(64512&(o=r.charCodeAt(u+1)))==56320&&(e=65536+(e-55296<<10)+(o-56320),u++),A+=e<128?1:e<2048?2:e<65536?3:4;for(c=new d.Buf8(A),u=h=0;h<A;u++)(64512&(e=r.charCodeAt(u)))==55296&&u+1<g&&(64512&(o=r.charCodeAt(u+1)))==56320&&(e=65536+(e-55296<<10)+(o-56320),u++),e<128?c[h++]=e:(e<2048?c[h++]=192|e>>>6:(e<65536?c[h++]=224|e>>>12:(c[h++]=240|e>>>18,c[h++]=128|e>>>12&63),c[h++]=128|e>>>6&63),c[h++]=128|63&e);return c},f.buf2binstring=function(r){return s(r,r.length)},f.binstring2buf=function(r){for(var c=new d.Buf8(r.length),e=0,o=c.length;e<o;e++)c[e]=r.charCodeAt(e);return c},f.buf2string=function(r,c){var e,o,u,h,g=c||r.length,A=new Array(2*g);for(e=o=0;e<g;)if((u=r[e++])<128)A[o++]=u;else if(4<(h=t[u]))A[o++]=65533,e+=h-1;else{for(u&=h===2?31:h===3?15:7;1<h&&e<g;)u=u<<6|63&r[e++],h--;1<h?A[o++]=65533:u<65536?A[o++]=u:(u-=65536,A[o++]=55296|u>>10&1023,A[o++]=56320|1023&u)}return s(A,o)},f.utf8border=function(r,c){var e;for((c=c||r.length)>r.length&&(c=r.length),e=c-1;0<=e&&(192&r[e])==128;)e--;return e<0||e===0?c:e+t[r[e]]>c?e:c}},{"./common":41}],43:[function(p,v,f){"use strict";v.exports=function(d,l,n,t){for(var a=65535&d|0,s=d>>>16&65535|0,r=0;n!==0;){for(n-=r=2e3<n?2e3:n;s=s+(a=a+l[t++]|0)|0,--r;);a%=65521,s%=65521}return a|s<<16|0}},{}],44:[function(p,v,f){"use strict";v.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(p,v,f){"use strict";var d=function(){for(var l,n=[],t=0;t<256;t++){l=t;for(var a=0;a<8;a++)l=1&l?3988292384^l>>>1:l>>>1;n[t]=l}return n}();v.exports=function(l,n,t,a){var s=d,r=a+t;l^=-1;for(var c=a;c<r;c++)l=l>>>8^s[255&(l^n[c])];return-1^l}},{}],46:[function(p,v,f){"use strict";var d,l=p("../utils/common"),n=p("./trees"),t=p("./adler32"),a=p("./crc32"),s=p("./messages"),r=0,c=4,e=0,o=-2,u=-1,h=4,g=2,A=8,w=9,x=286,C=30,T=19,O=2*x+1,S=15,_=3,L=258,D=L+_+1,F=42,j=113,k=1,K=2,Z=3,B=4;function V(ee,he){return ee.msg=s[he],he}function z(ee){return(ee<<1)-(4<ee?9:0)}function X(ee){for(var he=ee.length;0<=--he;)ee[he]=0}function W(ee){var he=ee.state,Ze=he.pending;Ze>ee.avail_out&&(Ze=ee.avail_out),Ze!==0&&(l.arraySet(ee.output,he.pending_buf,he.pending_out,Ze,ee.next_out),ee.next_out+=Ze,he.pending_out+=Ze,ee.total_out+=Ze,ee.avail_out-=Ze,he.pending-=Ze,he.pending===0&&(he.pending_out=0))}function q(ee,he){n._tr_flush_block(ee,0<=ee.block_start?ee.block_start:-1,ee.strstart-ee.block_start,he),ee.block_start=ee.strstart,W(ee.strm)}function Y(ee,he){ee.pending_buf[ee.pending++]=he}function re(ee,he){ee.pending_buf[ee.pending++]=he>>>8&255,ee.pending_buf[ee.pending++]=255&he}function ne(ee,he){var Ze,oe,Q=ee.max_chain_length,G=ee.strstart,te=ee.prev_length,xe=ee.nice_match,fe=ee.strstart>ee.w_size-D?ee.strstart-(ee.w_size-D):0,Be=ee.window,Ne=ee.w_mask,de=ee.prev,ve=ee.strstart+L,Me=Be[G+te-1],qe=Be[G+te];ee.prev_length>=ee.good_match&&(Q>>=2),xe>ee.lookahead&&(xe=ee.lookahead);do if(Be[(Ze=he)+te]===qe&&Be[Ze+te-1]===Me&&Be[Ze]===Be[G]&&Be[++Ze]===Be[G+1]){G+=2,Ze++;do;while(Be[++G]===Be[++Ze]&&Be[++G]===Be[++Ze]&&Be[++G]===Be[++Ze]&&Be[++G]===Be[++Ze]&&Be[++G]===Be[++Ze]&&Be[++G]===Be[++Ze]&&Be[++G]===Be[++Ze]&&Be[++G]===Be[++Ze]&&G<ve);if(oe=L-(ve-G),G=ve-L,te<oe){if(ee.match_start=he,xe<=(te=oe))break;Me=Be[G+te-1],qe=Be[G+te]}}while((he=de[he&Ne])>fe&&--Q!=0);return te<=ee.lookahead?te:ee.lookahead}function we(ee){var he,Ze,oe,Q,G,te,xe,fe,Be,Ne,de=ee.w_size;do{if(Q=ee.window_size-ee.lookahead-ee.strstart,ee.strstart>=de+(de-D)){for(l.arraySet(ee.window,ee.window,de,de,0),ee.match_start-=de,ee.strstart-=de,ee.block_start-=de,he=Ze=ee.hash_size;oe=ee.head[--he],ee.head[he]=de<=oe?oe-de:0,--Ze;);for(he=Ze=de;oe=ee.prev[--he],ee.prev[he]=de<=oe?oe-de:0,--Ze;);Q+=de}if(ee.strm.avail_in===0)break;if(te=ee.strm,xe=ee.window,fe=ee.strstart+ee.lookahead,Be=Q,Ne=void 0,Ne=te.avail_in,Be<Ne&&(Ne=Be),Ze=Ne===0?0:(te.avail_in-=Ne,l.arraySet(xe,te.input,te.next_in,Ne,fe),te.state.wrap===1?te.adler=t(te.adler,xe,Ne,fe):te.state.wrap===2&&(te.adler=a(te.adler,xe,Ne,fe)),te.next_in+=Ne,te.total_in+=Ne,Ne),ee.lookahead+=Ze,ee.lookahead+ee.insert>=_)for(G=ee.strstart-ee.insert,ee.ins_h=ee.window[G],ee.ins_h=(ee.ins_h<<ee.hash_shift^ee.window[G+1])&ee.hash_mask;ee.insert&&(ee.ins_h=(ee.ins_h<<ee.hash_shift^ee.window[G+_-1])&ee.hash_mask,ee.prev[G&ee.w_mask]=ee.head[ee.ins_h],ee.head[ee.ins_h]=G,G++,ee.insert--,!(ee.lookahead+ee.insert<_)););}while(ee.lookahead<D&&ee.strm.avail_in!==0)}function ie(ee,he){for(var Ze,oe;;){if(ee.lookahead<D){if(we(ee),ee.lookahead<D&&he===r)return k;if(ee.lookahead===0)break}if(Ze=0,ee.lookahead>=_&&(ee.ins_h=(ee.ins_h<<ee.hash_shift^ee.window[ee.strstart+_-1])&ee.hash_mask,Ze=ee.prev[ee.strstart&ee.w_mask]=ee.head[ee.ins_h],ee.head[ee.ins_h]=ee.strstart),Ze!==0&&ee.strstart-Ze<=ee.w_size-D&&(ee.match_length=ne(ee,Ze)),ee.match_length>=_)if(oe=n._tr_tally(ee,ee.strstart-ee.match_start,ee.match_length-_),ee.lookahead-=ee.match_length,ee.match_length<=ee.max_lazy_match&&ee.lookahead>=_){for(ee.match_length--;ee.strstart++,ee.ins_h=(ee.ins_h<<ee.hash_shift^ee.window[ee.strstart+_-1])&ee.hash_mask,Ze=ee.prev[ee.strstart&ee.w_mask]=ee.head[ee.ins_h],ee.head[ee.ins_h]=ee.strstart,--ee.match_length!=0;);ee.strstart++}else ee.strstart+=ee.match_length,ee.match_length=0,ee.ins_h=ee.window[ee.strstart],ee.ins_h=(ee.ins_h<<ee.hash_shift^ee.window[ee.strstart+1])&ee.hash_mask;else oe=n._tr_tally(ee,0,ee.window[ee.strstart]),ee.lookahead--,ee.strstart++;if(oe&&(q(ee,!1),ee.strm.avail_out===0))return k}return ee.insert=ee.strstart<_-1?ee.strstart:_-1,he===c?(q(ee,!0),ee.strm.avail_out===0?Z:B):ee.last_lit&&(q(ee,!1),ee.strm.avail_out===0)?k:K}function me(ee,he){for(var Ze,oe,Q;;){if(ee.lookahead<D){if(we(ee),ee.lookahead<D&&he===r)return k;if(ee.lookahead===0)break}if(Ze=0,ee.lookahead>=_&&(ee.ins_h=(ee.ins_h<<ee.hash_shift^ee.window[ee.strstart+_-1])&ee.hash_mask,Ze=ee.prev[ee.strstart&ee.w_mask]=ee.head[ee.ins_h],ee.head[ee.ins_h]=ee.strstart),ee.prev_length=ee.match_length,ee.prev_match=ee.match_start,ee.match_length=_-1,Ze!==0&&ee.prev_length<ee.max_lazy_match&&ee.strstart-Ze<=ee.w_size-D&&(ee.match_length=ne(ee,Ze),ee.match_length<=5&&(ee.strategy===1||ee.match_length===_&&4096<ee.strstart-ee.match_start)&&(ee.match_length=_-1)),ee.prev_length>=_&&ee.match_length<=ee.prev_length){for(Q=ee.strstart+ee.lookahead-_,oe=n._tr_tally(ee,ee.strstart-1-ee.prev_match,ee.prev_length-_),ee.lookahead-=ee.prev_length-1,ee.prev_length-=2;++ee.strstart<=Q&&(ee.ins_h=(ee.ins_h<<ee.hash_shift^ee.window[ee.strstart+_-1])&ee.hash_mask,Ze=ee.prev[ee.strstart&ee.w_mask]=ee.head[ee.ins_h],ee.head[ee.ins_h]=ee.strstart),--ee.prev_length!=0;);if(ee.match_available=0,ee.match_length=_-1,ee.strstart++,oe&&(q(ee,!1),ee.strm.avail_out===0))return k}else if(ee.match_available){if((oe=n._tr_tally(ee,0,ee.window[ee.strstart-1]))&&q(ee,!1),ee.strstart++,ee.lookahead--,ee.strm.avail_out===0)return k}else ee.match_available=1,ee.strstart++,ee.lookahead--}return ee.match_available&&(oe=n._tr_tally(ee,0,ee.window[ee.strstart-1]),ee.match_available=0),ee.insert=ee.strstart<_-1?ee.strstart:_-1,he===c?(q(ee,!0),ee.strm.avail_out===0?Z:B):ee.last_lit&&(q(ee,!1),ee.strm.avail_out===0)?k:K}function _e(ee,he,Ze,oe,Q){this.good_length=ee,this.max_lazy=he,this.nice_length=Ze,this.max_chain=oe,this.func=Q}function Te(){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=A,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 l.Buf16(2*O),this.dyn_dtree=new l.Buf16(2*(2*C+1)),this.bl_tree=new l.Buf16(2*(2*T+1)),X(this.dyn_ltree),X(this.dyn_dtree),X(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(S+1),this.heap=new l.Buf16(2*x+1),X(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*x+1),X(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 We(ee){var he;return ee&&ee.state?(ee.total_in=ee.total_out=0,ee.data_type=g,(he=ee.state).pending=0,he.pending_out=0,he.wrap<0&&(he.wrap=-he.wrap),he.status=he.wrap?F:j,ee.adler=he.wrap===2?0:1,he.last_flush=r,n._tr_init(he),e):V(ee,o)}function Ae(ee){var he=We(ee);return he===e&&function(Ze){Ze.window_size=2*Ze.w_size,X(Ze.head),Ze.max_lazy_match=d[Ze.level].max_lazy,Ze.good_match=d[Ze.level].good_length,Ze.nice_match=d[Ze.level].nice_length,Ze.max_chain_length=d[Ze.level].max_chain,Ze.strstart=0,Ze.block_start=0,Ze.lookahead=0,Ze.insert=0,Ze.match_length=Ze.prev_length=_-1,Ze.match_available=0,Ze.ins_h=0}(ee.state),he}function je(ee,he,Ze,oe,Q,G){if(!ee)return o;var te=1;if(he===u&&(he=6),oe<0?(te=0,oe=-oe):15<oe&&(te=2,oe-=16),Q<1||w<Q||Ze!==A||oe<8||15<oe||he<0||9<he||G<0||h<G)return V(ee,o);oe===8&&(oe=9);var xe=new Te;return(ee.state=xe).strm=ee,xe.wrap=te,xe.gzhead=null,xe.w_bits=oe,xe.w_size=1<<xe.w_bits,xe.w_mask=xe.w_size-1,xe.hash_bits=Q+7,xe.hash_size=1<<xe.hash_bits,xe.hash_mask=xe.hash_size-1,xe.hash_shift=~~((xe.hash_bits+_-1)/_),xe.window=new l.Buf8(2*xe.w_size),xe.head=new l.Buf16(xe.hash_size),xe.prev=new l.Buf16(xe.w_size),xe.lit_bufsize=1<<Q+6,xe.pending_buf_size=4*xe.lit_bufsize,xe.pending_buf=new l.Buf8(xe.pending_buf_size),xe.d_buf=1*xe.lit_bufsize,xe.l_buf=3*xe.lit_bufsize,xe.level=he,xe.strategy=G,xe.method=Ze,Ae(ee)}d=[new _e(0,0,0,0,function(ee,he){var Ze=65535;for(Ze>ee.pending_buf_size-5&&(Ze=ee.pending_buf_size-5);;){if(ee.lookahead<=1){if(we(ee),ee.lookahead===0&&he===r)return k;if(ee.lookahead===0)break}ee.strstart+=ee.lookahead,ee.lookahead=0;var oe=ee.block_start+Ze;if((ee.strstart===0||ee.strstart>=oe)&&(ee.lookahead=ee.strstart-oe,ee.strstart=oe,q(ee,!1),ee.strm.avail_out===0))return k;if(ee.strstart-ee.block_start>=ee.w_size-D&&(q(ee,!1),ee.strm.avail_out===0))return k}return ee.insert=0,he===c?(q(ee,!0),ee.strm.avail_out===0?Z:B):(ee.strstart>ee.block_start&&(q(ee,!1),ee.strm.avail_out),k)}),new _e(4,4,8,4,ie),new _e(4,5,16,8,ie),new _e(4,6,32,32,ie),new _e(4,4,16,16,me),new _e(8,16,32,32,me),new _e(8,16,128,128,me),new _e(8,32,128,256,me),new _e(32,128,258,1024,me),new _e(32,258,258,4096,me)],f.deflateInit=function(ee,he){return je(ee,he,A,15,8,0)},f.deflateInit2=je,f.deflateReset=Ae,f.deflateResetKeep=We,f.deflateSetHeader=function(ee,he){return ee&&ee.state?ee.state.wrap!==2?o:(ee.state.gzhead=he,e):o},f.deflate=function(ee,he){var Ze,oe,Q,G;if(!ee||!ee.state||5<he||he<0)return ee?V(ee,o):o;if(oe=ee.state,!ee.output||!ee.input&&ee.avail_in!==0||oe.status===666&&he!==c)return V(ee,ee.avail_out===0?-5:o);if(oe.strm=ee,Ze=oe.last_flush,oe.last_flush=he,oe.status===F)if(oe.wrap===2)ee.adler=0,Y(oe,31),Y(oe,139),Y(oe,8),oe.gzhead?(Y(oe,(oe.gzhead.text?1:0)+(oe.gzhead.hcrc?2:0)+(oe.gzhead.extra?4:0)+(oe.gzhead.name?8:0)+(oe.gzhead.comment?16:0)),Y(oe,255&oe.gzhead.time),Y(oe,oe.gzhead.time>>8&255),Y(oe,oe.gzhead.time>>16&255),Y(oe,oe.gzhead.time>>24&255),Y(oe,oe.level===9?2:2<=oe.strategy||oe.level<2?4:0),Y(oe,255&oe.gzhead.os),oe.gzhead.extra&&oe.gzhead.extra.length&&(Y(oe,255&oe.gzhead.extra.length),Y(oe,oe.gzhead.extra.length>>8&255)),oe.gzhead.hcrc&&(ee.adler=a(ee.adler,oe.pending_buf,oe.pending,0)),oe.gzindex=0,oe.status=69):(Y(oe,0),Y(oe,0),Y(oe,0),Y(oe,0),Y(oe,0),Y(oe,oe.level===9?2:2<=oe.strategy||oe.level<2?4:0),Y(oe,3),oe.status=j);else{var te=A+(oe.w_bits-8<<4)<<8;te|=(2<=oe.strategy||oe.level<2?0:oe.level<6?1:oe.level===6?2:3)<<6,oe.strstart!==0&&(te|=32),te+=31-te%31,oe.status=j,re(oe,te),oe.strstart!==0&&(re(oe,ee.adler>>>16),re(oe,65535&ee.adler)),ee.adler=1}if(oe.status===69)if(oe.gzhead.extra){for(Q=oe.pending;oe.gzindex<(65535&oe.gzhead.extra.length)&&(oe.pending!==oe.pending_buf_size||(oe.gzhead.hcrc&&oe.pending>Q&&(ee.adler=a(ee.adler,oe.pending_buf,oe.pending-Q,Q)),W(ee),Q=oe.pending,oe.pending!==oe.pending_buf_size));)Y(oe,255&oe.gzhead.extra[oe.gzindex]),oe.gzindex++;oe.gzhead.hcrc&&oe.pending>Q&&(ee.adler=a(ee.adler,oe.pending_buf,oe.pending-Q,Q)),oe.gzindex===oe.gzhead.extra.length&&(oe.gzindex=0,oe.status=73)}else oe.status=73;if(oe.status===73)if(oe.gzhead.name){Q=oe.pending;do{if(oe.pending===oe.pending_buf_size&&(oe.gzhead.hcrc&&oe.pending>Q&&(ee.adler=a(ee.adler,oe.pending_buf,oe.pending-Q,Q)),W(ee),Q=oe.pending,oe.pending===oe.pending_buf_size)){G=1;break}G=oe.gzindex<oe.gzhead.name.length?255&oe.gzhead.name.charCodeAt(oe.gzindex++):0,Y(oe,G)}while(G!==0);oe.gzhead.hcrc&&oe.pending>Q&&(ee.adler=a(ee.adler,oe.pending_buf,oe.pending-Q,Q)),G===0&&(oe.gzindex=0,oe.status=91)}else oe.status=91;if(oe.status===91)if(oe.gzhead.comment){Q=oe.pending;do{if(oe.pending===oe.pending_buf_size&&(oe.gzhead.hcrc&&oe.pending>Q&&(ee.adler=a(ee.adler,oe.pending_buf,oe.pending-Q,Q)),W(ee),Q=oe.pending,oe.pending===oe.pending_buf_size)){G=1;break}G=oe.gzindex<oe.gzhead.comment.length?255&oe.gzhead.comment.charCodeAt(oe.gzindex++):0,Y(oe,G)}while(G!==0);oe.gzhead.hcrc&&oe.pending>Q&&(ee.adler=a(ee.adler,oe.pending_buf,oe.pending-Q,Q)),G===0&&(oe.status=103)}else oe.status=103;if(oe.status===103&&(oe.gzhead.hcrc?(oe.pending+2>oe.pending_buf_size&&W(ee),oe.pending+2<=oe.pending_buf_size&&(Y(oe,255&ee.adler),Y(oe,ee.adler>>8&255),ee.adler=0,oe.status=j)):oe.status=j),oe.pending!==0){if(W(ee),ee.avail_out===0)return oe.last_flush=-1,e}else if(ee.avail_in===0&&z(he)<=z(Ze)&&he!==c)return V(ee,-5);if(oe.status===666&&ee.avail_in!==0)return V(ee,-5);if(ee.avail_in!==0||oe.lookahead!==0||he!==r&&oe.status!==666){var xe=oe.strategy===2?function(fe,Be){for(var Ne;;){if(fe.lookahead===0&&(we(fe),fe.lookahead===0)){if(Be===r)return k;break}if(fe.match_length=0,Ne=n._tr_tally(fe,0,fe.window[fe.strstart]),fe.lookahead--,fe.strstart++,Ne&&(q(fe,!1),fe.strm.avail_out===0))return k}return fe.insert=0,Be===c?(q(fe,!0),fe.strm.avail_out===0?Z:B):fe.last_lit&&(q(fe,!1),fe.strm.avail_out===0)?k:K}(oe,he):oe.strategy===3?function(fe,Be){for(var Ne,de,ve,Me,qe=fe.window;;){if(fe.lookahead<=L){if(we(fe),fe.lookahead<=L&&Be===r)return k;if(fe.lookahead===0)break}if(fe.match_length=0,fe.lookahead>=_&&0<fe.strstart&&(de=qe[ve=fe.strstart-1])===qe[++ve]&&de===qe[++ve]&&de===qe[++ve]){Me=fe.strstart+L;do;while(de===qe[++ve]&&de===qe[++ve]&&de===qe[++ve]&&de===qe[++ve]&&de===qe[++ve]&&de===qe[++ve]&&de===qe[++ve]&&de===qe[++ve]&&ve<Me);fe.match_length=L-(Me-ve),fe.match_length>fe.lookahead&&(fe.match_length=fe.lookahead)}if(fe.match_length>=_?(Ne=n._tr_tally(fe,1,fe.match_length-_),fe.lookahead-=fe.match_length,fe.strstart+=fe.match_length,fe.match_length=0):(Ne=n._tr_tally(fe,0,fe.window[fe.strstart]),fe.lookahead--,fe.strstart++),Ne&&(q(fe,!1),fe.strm.avail_out===0))return k}return fe.insert=0,Be===c?(q(fe,!0),fe.strm.avail_out===0?Z:B):fe.last_lit&&(q(fe,!1),fe.strm.avail_out===0)?k:K}(oe,he):d[oe.level].func(oe,he);if(xe!==Z&&xe!==B||(oe.status=666),xe===k||xe===Z)return ee.avail_out===0&&(oe.last_flush=-1),e;if(xe===K&&(he===1?n._tr_align(oe):he!==5&&(n._tr_stored_block(oe,0,0,!1),he===3&&(X(oe.head),oe.lookahead===0&&(oe.strstart=0,oe.block_start=0,oe.insert=0))),W(ee),ee.avail_out===0))return oe.last_flush=-1,e}return he!==c?e:oe.wrap<=0?1:(oe.wrap===2?(Y(oe,255&ee.adler),Y(oe,ee.adler>>8&255),Y(oe,ee.adler>>16&255),Y(oe,ee.adler>>24&255),Y(oe,255&ee.total_in),Y(oe,ee.total_in>>8&255),Y(oe,ee.total_in>>16&255),Y(oe,ee.total_in>>24&255)):(re(oe,ee.adler>>>16),re(oe,65535&ee.adler)),W(ee),0<oe.wrap&&(oe.wrap=-oe.wrap),oe.pending!==0?e:1)},f.deflateEnd=function(ee){var he;return ee&&ee.state?(he=ee.state.status)!==F&&he!==69&&he!==73&&he!==91&&he!==103&&he!==j&&he!==666?V(ee,o):(ee.state=null,he===j?V(ee,-3):e):o},f.deflateSetDictionary=function(ee,he){var Ze,oe,Q,G,te,xe,fe,Be,Ne=he.length;if(!ee||!ee.state)return o;if((G=(Ze=ee.state).wrap)===2||G===1&&Ze.status!==F||Ze.lookahead)return o;for(G===1&&(ee.adler=t(ee.adler,he,Ne,0)),Ze.wrap=0,Ne>=Ze.w_size&&(G===0&&(X(Ze.head),Ze.strstart=0,Ze.block_start=0,Ze.insert=0),Be=new l.Buf8(Ze.w_size),l.arraySet(Be,he,Ne-Ze.w_size,Ze.w_size,0),he=Be,Ne=Ze.w_size),te=ee.avail_in,xe=ee.next_in,fe=ee.input,ee.avail_in=Ne,ee.next_in=0,ee.input=he,we(Ze);Ze.lookahead>=_;){for(oe=Ze.strstart,Q=Ze.lookahead-(_-1);Ze.ins_h=(Ze.ins_h<<Ze.hash_shift^Ze.window[oe+_-1])&Ze.hash_mask,Ze.prev[oe&Ze.w_mask]=Ze.head[Ze.ins_h],Ze.head[Ze.ins_h]=oe,oe++,--Q;);Ze.strstart=oe,Ze.lookahead=_-1,we(Ze)}return Ze.strstart+=Ze.lookahead,Ze.block_start=Ze.strstart,Ze.insert=Ze.lookahead,Ze.lookahead=0,Ze.match_length=Ze.prev_length=_-1,Ze.match_available=0,ee.next_in=xe,ee.input=fe,ee.avail_in=te,Ze.wrap=G,e},f.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(p,v,f){"use strict";v.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(p,v,f){"use strict";v.exports=function(d,l){var n,t,a,s,r,c,e,o,u,h,g,A,w,x,C,T,O,S,_,L,D,F,j,k,K;n=d.state,t=d.next_in,k=d.input,a=t+(d.avail_in-5),s=d.next_out,K=d.output,r=s-(l-d.avail_out),c=s+(d.avail_out-257),e=n.dmax,o=n.wsize,u=n.whave,h=n.wnext,g=n.window,A=n.hold,w=n.bits,x=n.lencode,C=n.distcode,T=(1<<n.lenbits)-1,O=(1<<n.distbits)-1;e:do{w<15&&(A+=k[t++]<<w,w+=8,A+=k[t++]<<w,w+=8),S=x[A&T];t:for(;;){if(A>>>=_=S>>>24,w-=_,(_=S>>>16&255)===0)K[s++]=65535&S;else{if(!(16&_)){if((64&_)==0){S=x[(65535&S)+(A&(1<<_)-1)];continue t}if(32&_){n.mode=12;break e}d.msg="invalid literal/length code",n.mode=30;break e}L=65535&S,(_&=15)&&(w<_&&(A+=k[t++]<<w,w+=8),L+=A&(1<<_)-1,A>>>=_,w-=_),w<15&&(A+=k[t++]<<w,w+=8,A+=k[t++]<<w,w+=8),S=C[A&O];r:for(;;){if(A>>>=_=S>>>24,w-=_,!(16&(_=S>>>16&255))){if((64&_)==0){S=C[(65535&S)+(A&(1<<_)-1)];continue r}d.msg="invalid distance code",n.mode=30;break e}if(D=65535&S,w<(_&=15)&&(A+=k[t++]<<w,(w+=8)<_&&(A+=k[t++]<<w,w+=8)),e<(D+=A&(1<<_)-1)){d.msg="invalid distance too far back",n.mode=30;break e}if(A>>>=_,w-=_,(_=s-r)<D){if(u<(_=D-_)&&n.sane){d.msg="invalid distance too far back",n.mode=30;break e}if(j=g,(F=0)===h){if(F+=o-_,_<L){for(L-=_;K[s++]=g[F++],--_;);F=s-D,j=K}}else if(h<_){if(F+=o+h-_,(_-=h)<L){for(L-=_;K[s++]=g[F++],--_;);if(F=0,h<L){for(L-=_=h;K[s++]=g[F++],--_;);F=s-D,j=K}}}else if(F+=h-_,_<L){for(L-=_;K[s++]=g[F++],--_;);F=s-D,j=K}for(;2<L;)K[s++]=j[F++],K[s++]=j[F++],K[s++]=j[F++],L-=3;L&&(K[s++]=j[F++],1<L&&(K[s++]=j[F++]))}else{for(F=s-D;K[s++]=K[F++],K[s++]=K[F++],K[s++]=K[F++],2<(L-=3););L&&(K[s++]=K[F++],1<L&&(K[s++]=K[F++]))}break}}break}}while(t<a&&s<c);t-=L=w>>3,A&=(1<<(w-=L<<3))-1,d.next_in=t,d.next_out=s,d.avail_in=t<a?a-t+5:5-(t-a),d.avail_out=s<c?c-s+257:257-(s-c),n.hold=A,n.bits=w}},{}],49:[function(p,v,f){"use strict";var d=p("../utils/common"),l=p("./adler32"),n=p("./crc32"),t=p("./inffast"),a=p("./inftrees"),s=1,r=2,c=0,e=-2,o=1,u=852,h=592;function g(F){return(F>>>24&255)+(F>>>8&65280)+((65280&F)<<8)+((255&F)<<24)}function A(){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 d.Buf16(320),this.work=new d.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function w(F){var j;return F&&F.state?(j=F.state,F.total_in=F.total_out=j.total=0,F.msg="",j.wrap&&(F.adler=1&j.wrap),j.mode=o,j.last=0,j.havedict=0,j.dmax=32768,j.head=null,j.hold=0,j.bits=0,j.lencode=j.lendyn=new d.Buf32(u),j.distcode=j.distdyn=new d.Buf32(h),j.sane=1,j.back=-1,c):e}function x(F){var j;return F&&F.state?((j=F.state).wsize=0,j.whave=0,j.wnext=0,w(F)):e}function C(F,j){var k,K;return F&&F.state?(K=F.state,j<0?(k=0,j=-j):(k=1+(j>>4),j<48&&(j&=15)),j&&(j<8||15<j)?e:(K.window!==null&&K.wbits!==j&&(K.window=null),K.wrap=k,K.wbits=j,x(F))):e}function T(F,j){var k,K;return F?(K=new A,(F.state=K).window=null,(k=C(F,j))!==c&&(F.state=null),k):e}var O,S,_=!0;function L(F){if(_){var j;for(O=new d.Buf32(512),S=new d.Buf32(32),j=0;j<144;)F.lens[j++]=8;for(;j<256;)F.lens[j++]=9;for(;j<280;)F.lens[j++]=7;for(;j<288;)F.lens[j++]=8;for(a(s,F.lens,0,288,O,0,F.work,{bits:9}),j=0;j<32;)F.lens[j++]=5;a(r,F.lens,0,32,S,0,F.work,{bits:5}),_=!1}F.lencode=O,F.lenbits=9,F.distcode=S,F.distbits=5}function D(F,j,k,K){var Z,B=F.state;return B.window===null&&(B.wsize=1<<B.wbits,B.wnext=0,B.whave=0,B.window=new d.Buf8(B.wsize)),K>=B.wsize?(d.arraySet(B.window,j,k-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(K<(Z=B.wsize-B.wnext)&&(Z=K),d.arraySet(B.window,j,k-K,Z,B.wnext),(K-=Z)?(d.arraySet(B.window,j,k-K,K,0),B.wnext=K,B.whave=B.wsize):(B.wnext+=Z,B.wnext===B.wsize&&(B.wnext=0),B.whave<B.wsize&&(B.whave+=Z))),0}f.inflateReset=x,f.inflateReset2=C,f.inflateResetKeep=w,f.inflateInit=function(F){return T(F,15)},f.inflateInit2=T,f.inflate=function(F,j){var k,K,Z,B,V,z,X,W,q,Y,re,ne,we,ie,me,_e,Te,We,Ae,je,ee,he,Ze,oe,Q=0,G=new d.Buf8(4),te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!F||!F.state||!F.output||!F.input&&F.avail_in!==0)return e;(k=F.state).mode===12&&(k.mode=13),V=F.next_out,Z=F.output,X=F.avail_out,B=F.next_in,K=F.input,z=F.avail_in,W=k.hold,q=k.bits,Y=z,re=X,he=c;e:for(;;)switch(k.mode){case o:if(k.wrap===0){k.mode=13;break}for(;q<16;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if(2&k.wrap&&W===35615){G[k.check=0]=255&W,G[1]=W>>>8&255,k.check=n(k.check,G,2,0),q=W=0,k.mode=2;break}if(k.flags=0,k.head&&(k.head.done=!1),!(1&k.wrap)||(((255&W)<<8)+(W>>8))%31){F.msg="incorrect header check",k.mode=30;break}if((15&W)!=8){F.msg="unknown compression method",k.mode=30;break}if(q-=4,ee=8+(15&(W>>>=4)),k.wbits===0)k.wbits=ee;else if(ee>k.wbits){F.msg="invalid window size",k.mode=30;break}k.dmax=1<<ee,F.adler=k.check=1,k.mode=512&W?10:12,q=W=0;break;case 2:for(;q<16;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if(k.flags=W,(255&k.flags)!=8){F.msg="unknown compression method",k.mode=30;break}if(57344&k.flags){F.msg="unknown header flags set",k.mode=30;break}k.head&&(k.head.text=W>>8&1),512&k.flags&&(G[0]=255&W,G[1]=W>>>8&255,k.check=n(k.check,G,2,0)),q=W=0,k.mode=3;case 3:for(;q<32;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}k.head&&(k.head.time=W),512&k.flags&&(G[0]=255&W,G[1]=W>>>8&255,G[2]=W>>>16&255,G[3]=W>>>24&255,k.check=n(k.check,G,4,0)),q=W=0,k.mode=4;case 4:for(;q<16;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}k.head&&(k.head.xflags=255&W,k.head.os=W>>8),512&k.flags&&(G[0]=255&W,G[1]=W>>>8&255,k.check=n(k.check,G,2,0)),q=W=0,k.mode=5;case 5:if(1024&k.flags){for(;q<16;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}k.length=W,k.head&&(k.head.extra_len=W),512&k.flags&&(G[0]=255&W,G[1]=W>>>8&255,k.check=n(k.check,G,2,0)),q=W=0}else k.head&&(k.head.extra=null);k.mode=6;case 6:if(1024&k.flags&&(z<(ne=k.length)&&(ne=z),ne&&(k.head&&(ee=k.head.extra_len-k.length,k.head.extra||(k.head.extra=new Array(k.head.extra_len)),d.arraySet(k.head.extra,K,B,ne,ee)),512&k.flags&&(k.check=n(k.check,K,ne,B)),z-=ne,B+=ne,k.length-=ne),k.length))break e;k.length=0,k.mode=7;case 7:if(2048&k.flags){if(z===0)break e;for(ne=0;ee=K[B+ne++],k.head&&ee&&k.length<65536&&(k.head.name+=String.fromCharCode(ee)),ee&&ne<z;);if(512&k.flags&&(k.check=n(k.check,K,ne,B)),z-=ne,B+=ne,ee)break e}else k.head&&(k.head.name=null);k.length=0,k.mode=8;case 8:if(4096&k.flags){if(z===0)break e;for(ne=0;ee=K[B+ne++],k.head&&ee&&k.length<65536&&(k.head.comment+=String.fromCharCode(ee)),ee&&ne<z;);if(512&k.flags&&(k.check=n(k.check,K,ne,B)),z-=ne,B+=ne,ee)break e}else k.head&&(k.head.comment=null);k.mode=9;case 9:if(512&k.flags){for(;q<16;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if(W!==(65535&k.check)){F.msg="header crc mismatch",k.mode=30;break}q=W=0}k.head&&(k.head.hcrc=k.flags>>9&1,k.head.done=!0),F.adler=k.check=0,k.mode=12;break;case 10:for(;q<32;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}F.adler=k.check=g(W),q=W=0,k.mode=11;case 11:if(k.havedict===0)return F.next_out=V,F.avail_out=X,F.next_in=B,F.avail_in=z,k.hold=W,k.bits=q,2;F.adler=k.check=1,k.mode=12;case 12:if(j===5||j===6)break e;case 13:if(k.last){W>>>=7&q,q-=7&q,k.mode=27;break}for(;q<3;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}switch(k.last=1&W,q-=1,3&(W>>>=1)){case 0:k.mode=14;break;case 1:if(L(k),k.mode=20,j!==6)break;W>>>=2,q-=2;break e;case 2:k.mode=17;break;case 3:F.msg="invalid block type",k.mode=30}W>>>=2,q-=2;break;case 14:for(W>>>=7&q,q-=7&q;q<32;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if((65535&W)!=(W>>>16^65535)){F.msg="invalid stored block lengths",k.mode=30;break}if(k.length=65535&W,q=W=0,k.mode=15,j===6)break e;case 15:k.mode=16;case 16:if(ne=k.length){if(z<ne&&(ne=z),X<ne&&(ne=X),ne===0)break e;d.arraySet(Z,K,B,ne,V),z-=ne,B+=ne,X-=ne,V+=ne,k.length-=ne;break}k.mode=12;break;case 17:for(;q<14;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if(k.nlen=257+(31&W),W>>>=5,q-=5,k.ndist=1+(31&W),W>>>=5,q-=5,k.ncode=4+(15&W),W>>>=4,q-=4,286<k.nlen||30<k.ndist){F.msg="too many length or distance symbols",k.mode=30;break}k.have=0,k.mode=18;case 18:for(;k.have<k.ncode;){for(;q<3;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}k.lens[te[k.have++]]=7&W,W>>>=3,q-=3}for(;k.have<19;)k.lens[te[k.have++]]=0;if(k.lencode=k.lendyn,k.lenbits=7,Ze={bits:k.lenbits},he=a(0,k.lens,0,19,k.lencode,0,k.work,Ze),k.lenbits=Ze.bits,he){F.msg="invalid code lengths set",k.mode=30;break}k.have=0,k.mode=19;case 19:for(;k.have<k.nlen+k.ndist;){for(;_e=(Q=k.lencode[W&(1<<k.lenbits)-1])>>>16&255,Te=65535&Q,!((me=Q>>>24)<=q);){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if(Te<16)W>>>=me,q-=me,k.lens[k.have++]=Te;else{if(Te===16){for(oe=me+2;q<oe;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if(W>>>=me,q-=me,k.have===0){F.msg="invalid bit length repeat",k.mode=30;break}ee=k.lens[k.have-1],ne=3+(3&W),W>>>=2,q-=2}else if(Te===17){for(oe=me+3;q<oe;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}q-=me,ee=0,ne=3+(7&(W>>>=me)),W>>>=3,q-=3}else{for(oe=me+7;q<oe;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}q-=me,ee=0,ne=11+(127&(W>>>=me)),W>>>=7,q-=7}if(k.have+ne>k.nlen+k.ndist){F.msg="invalid bit length repeat",k.mode=30;break}for(;ne--;)k.lens[k.have++]=ee}}if(k.mode===30)break;if(k.lens[256]===0){F.msg="invalid code -- missing end-of-block",k.mode=30;break}if(k.lenbits=9,Ze={bits:k.lenbits},he=a(s,k.lens,0,k.nlen,k.lencode,0,k.work,Ze),k.lenbits=Ze.bits,he){F.msg="invalid literal/lengths set",k.mode=30;break}if(k.distbits=6,k.distcode=k.distdyn,Ze={bits:k.distbits},he=a(r,k.lens,k.nlen,k.ndist,k.distcode,0,k.work,Ze),k.distbits=Ze.bits,he){F.msg="invalid distances set",k.mode=30;break}if(k.mode=20,j===6)break e;case 20:k.mode=21;case 21:if(6<=z&&258<=X){F.next_out=V,F.avail_out=X,F.next_in=B,F.avail_in=z,k.hold=W,k.bits=q,t(F,re),V=F.next_out,Z=F.output,X=F.avail_out,B=F.next_in,K=F.input,z=F.avail_in,W=k.hold,q=k.bits,k.mode===12&&(k.back=-1);break}for(k.back=0;_e=(Q=k.lencode[W&(1<<k.lenbits)-1])>>>16&255,Te=65535&Q,!((me=Q>>>24)<=q);){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if(_e&&(240&_e)==0){for(We=me,Ae=_e,je=Te;_e=(Q=k.lencode[je+((W&(1<<We+Ae)-1)>>We)])>>>16&255,Te=65535&Q,!(We+(me=Q>>>24)<=q);){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}W>>>=We,q-=We,k.back+=We}if(W>>>=me,q-=me,k.back+=me,k.length=Te,_e===0){k.mode=26;break}if(32&_e){k.back=-1,k.mode=12;break}if(64&_e){F.msg="invalid literal/length code",k.mode=30;break}k.extra=15&_e,k.mode=22;case 22:if(k.extra){for(oe=k.extra;q<oe;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}k.length+=W&(1<<k.extra)-1,W>>>=k.extra,q-=k.extra,k.back+=k.extra}k.was=k.length,k.mode=23;case 23:for(;_e=(Q=k.distcode[W&(1<<k.distbits)-1])>>>16&255,Te=65535&Q,!((me=Q>>>24)<=q);){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if((240&_e)==0){for(We=me,Ae=_e,je=Te;_e=(Q=k.distcode[je+((W&(1<<We+Ae)-1)>>We)])>>>16&255,Te=65535&Q,!(We+(me=Q>>>24)<=q);){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}W>>>=We,q-=We,k.back+=We}if(W>>>=me,q-=me,k.back+=me,64&_e){F.msg="invalid distance code",k.mode=30;break}k.offset=Te,k.extra=15&_e,k.mode=24;case 24:if(k.extra){for(oe=k.extra;q<oe;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}k.offset+=W&(1<<k.extra)-1,W>>>=k.extra,q-=k.extra,k.back+=k.extra}if(k.offset>k.dmax){F.msg="invalid distance too far back",k.mode=30;break}k.mode=25;case 25:if(X===0)break e;if(ne=re-X,k.offset>ne){if((ne=k.offset-ne)>k.whave&&k.sane){F.msg="invalid distance too far back",k.mode=30;break}we=ne>k.wnext?(ne-=k.wnext,k.wsize-ne):k.wnext-ne,ne>k.length&&(ne=k.length),ie=k.window}else ie=Z,we=V-k.offset,ne=k.length;for(X<ne&&(ne=X),X-=ne,k.length-=ne;Z[V++]=ie[we++],--ne;);k.length===0&&(k.mode=21);break;case 26:if(X===0)break e;Z[V++]=k.length,X--,k.mode=21;break;case 27:if(k.wrap){for(;q<32;){if(z===0)break e;z--,W|=K[B++]<<q,q+=8}if(re-=X,F.total_out+=re,k.total+=re,re&&(F.adler=k.check=k.flags?n(k.check,Z,re,V-re):l(k.check,Z,re,V-re)),re=X,(k.flags?W:g(W))!==k.check){F.msg="incorrect data check",k.mode=30;break}q=W=0}k.mode=28;case 28:if(k.wrap&&k.flags){for(;q<32;){if(z===0)break e;z--,W+=K[B++]<<q,q+=8}if(W!==(4294967295&k.total)){F.msg="incorrect length check",k.mode=30;break}q=W=0}k.mode=29;case 29:he=1;break e;case 30:he=-3;break e;case 31:return-4;case 32:default:return e}return F.next_out=V,F.avail_out=X,F.next_in=B,F.avail_in=z,k.hold=W,k.bits=q,(k.wsize||re!==F.avail_out&&k.mode<30&&(k.mode<27||j!==4))&&D(F,F.output,F.next_out,re-F.avail_out)?(k.mode=31,-4):(Y-=F.avail_in,re-=F.avail_out,F.total_in+=Y,F.total_out+=re,k.total+=re,k.wrap&&re&&(F.adler=k.check=k.flags?n(k.check,Z,re,F.next_out-re):l(k.check,Z,re,F.next_out-re)),F.data_type=k.bits+(k.last?64:0)+(k.mode===12?128:0)+(k.mode===20||k.mode===15?256:0),(Y==0&&re===0||j===4)&&he===c&&(he=-5),he)},f.inflateEnd=function(F){if(!F||!F.state)return e;var j=F.state;return j.window&&(j.window=null),F.state=null,c},f.inflateGetHeader=function(F,j){var k;return F&&F.state?(2&(k=F.state).wrap)==0?e:((k.head=j).done=!1,c):e},f.inflateSetDictionary=function(F,j){var k,K=j.length;return F&&F.state?(k=F.state).wrap!==0&&k.mode!==11?e:k.mode===11&&l(1,j,K,0)!==k.check?-3:D(F,j,K,K)?(k.mode=31,-4):(k.havedict=1,c):e},f.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(p,v,f){"use strict";var d=p("../utils/common"),l=[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],n=[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],a=[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];v.exports=function(s,r,c,e,o,u,h,g){var A,w,x,C,T,O,S,_,L,D=g.bits,F=0,j=0,k=0,K=0,Z=0,B=0,V=0,z=0,X=0,W=0,q=null,Y=0,re=new d.Buf16(16),ne=new d.Buf16(16),we=null,ie=0;for(F=0;F<=15;F++)re[F]=0;for(j=0;j<e;j++)re[r[c+j]]++;for(Z=D,K=15;1<=K&&re[K]===0;K--);if(K<Z&&(Z=K),K===0)return o[u++]=20971520,o[u++]=20971520,g.bits=1,0;for(k=1;k<K&&re[k]===0;k++);for(Z<k&&(Z=k),F=z=1;F<=15;F++)if(z<<=1,(z-=re[F])<0)return-1;if(0<z&&(s===0||K!==1))return-1;for(ne[1]=0,F=1;F<15;F++)ne[F+1]=ne[F]+re[F];for(j=0;j<e;j++)r[c+j]!==0&&(h[ne[r[c+j]]++]=j);if(O=s===0?(q=we=h,19):s===1?(q=l,Y-=257,we=n,ie-=257,256):(q=t,we=a,-1),F=k,T=u,V=j=W=0,x=-1,C=(X=1<<(B=Z))-1,s===1&&852<X||s===2&&592<X)return 1;for(;;){for(S=F-V,L=h[j]<O?(_=0,h[j]):h[j]>O?(_=we[ie+h[j]],q[Y+h[j]]):(_=96,0),A=1<<F-V,k=w=1<<B;o[T+(W>>V)+(w-=A)]=S<<24|_<<16|L|0,w!==0;);for(A=1<<F-1;W&A;)A>>=1;if(A!==0?(W&=A-1,W+=A):W=0,j++,--re[F]==0){if(F===K)break;F=r[c+h[j]]}if(Z<F&&(W&C)!==x){for(V===0&&(V=Z),T+=k,z=1<<(B=F-V);B+V<K&&!((z-=re[B+V])<=0);)B++,z<<=1;if(X+=1<<B,s===1&&852<X||s===2&&592<X)return 1;o[x=W&C]=Z<<24|B<<16|T-u|0}}return W!==0&&(o[T+W]=F-V<<24|64<<16|0),g.bits=Z,0}},{"../utils/common":41}],51:[function(p,v,f){"use strict";v.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(p,v,f){"use strict";var d=p("../utils/common"),l=0,n=1;function t(Q){for(var G=Q.length;0<=--G;)Q[G]=0}var a=0,s=29,r=256,c=r+1+s,e=30,o=19,u=2*c+1,h=15,g=16,A=7,w=256,x=16,C=17,T=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],S=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=new Array(2*(c+2));t(D);var F=new Array(2*e);t(F);var j=new Array(512);t(j);var k=new Array(256);t(k);var K=new Array(s);t(K);var Z,B,V,z=new Array(e);function X(Q,G,te,xe,fe){this.static_tree=Q,this.extra_bits=G,this.extra_base=te,this.elems=xe,this.max_length=fe,this.has_stree=Q&&Q.length}function W(Q,G){this.dyn_tree=Q,this.max_code=0,this.stat_desc=G}function q(Q){return Q<256?j[Q]:j[256+(Q>>>7)]}function Y(Q,G){Q.pending_buf[Q.pending++]=255&G,Q.pending_buf[Q.pending++]=G>>>8&255}function re(Q,G,te){Q.bi_valid>g-te?(Q.bi_buf|=G<<Q.bi_valid&65535,Y(Q,Q.bi_buf),Q.bi_buf=G>>g-Q.bi_valid,Q.bi_valid+=te-g):(Q.bi_buf|=G<<Q.bi_valid&65535,Q.bi_valid+=te)}function ne(Q,G,te){re(Q,te[2*G],te[2*G+1])}function we(Q,G){for(var te=0;te|=1&Q,Q>>>=1,te<<=1,0<--G;);return te>>>1}function ie(Q,G,te){var xe,fe,Be=new Array(h+1),Ne=0;for(xe=1;xe<=h;xe++)Be[xe]=Ne=Ne+te[xe-1]<<1;for(fe=0;fe<=G;fe++){var de=Q[2*fe+1];de!==0&&(Q[2*fe]=we(Be[de]++,de))}}function me(Q){var G;for(G=0;G<c;G++)Q.dyn_ltree[2*G]=0;for(G=0;G<e;G++)Q.dyn_dtree[2*G]=0;for(G=0;G<o;G++)Q.bl_tree[2*G]=0;Q.dyn_ltree[2*w]=1,Q.opt_len=Q.static_len=0,Q.last_lit=Q.matches=0}function _e(Q){8<Q.bi_valid?Y(Q,Q.bi_buf):0<Q.bi_valid&&(Q.pending_buf[Q.pending++]=Q.bi_buf),Q.bi_buf=0,Q.bi_valid=0}function Te(Q,G,te,xe){var fe=2*G,Be=2*te;return Q[fe]<Q[Be]||Q[fe]===Q[Be]&&xe[G]<=xe[te]}function We(Q,G,te){for(var xe=Q.heap[te],fe=te<<1;fe<=Q.heap_len&&(fe<Q.heap_len&&Te(G,Q.heap[fe+1],Q.heap[fe],Q.depth)&&fe++,!Te(G,xe,Q.heap[fe],Q.depth));)Q.heap[te]=Q.heap[fe],te=fe,fe<<=1;Q.heap[te]=xe}function Ae(Q,G,te){var xe,fe,Be,Ne,de=0;if(Q.last_lit!==0)for(;xe=Q.pending_buf[Q.d_buf+2*de]<<8|Q.pending_buf[Q.d_buf+2*de+1],fe=Q.pending_buf[Q.l_buf+de],de++,xe===0?ne(Q,fe,G):(ne(Q,(Be=k[fe])+r+1,G),(Ne=O[Be])!==0&&re(Q,fe-=K[Be],Ne),ne(Q,Be=q(--xe),te),(Ne=S[Be])!==0&&re(Q,xe-=z[Be],Ne)),de<Q.last_lit;);ne(Q,w,G)}function je(Q,G){var te,xe,fe,Be=G.dyn_tree,Ne=G.stat_desc.static_tree,de=G.stat_desc.has_stree,ve=G.stat_desc.elems,Me=-1;for(Q.heap_len=0,Q.heap_max=u,te=0;te<ve;te++)Be[2*te]!==0?(Q.heap[++Q.heap_len]=Me=te,Q.depth[te]=0):Be[2*te+1]=0;for(;Q.heap_len<2;)Be[2*(fe=Q.heap[++Q.heap_len]=Me<2?++Me:0)]=1,Q.depth[fe]=0,Q.opt_len--,de&&(Q.static_len-=Ne[2*fe+1]);for(G.max_code=Me,te=Q.heap_len>>1;1<=te;te--)We(Q,Be,te);for(fe=ve;te=Q.heap[1],Q.heap[1]=Q.heap[Q.heap_len--],We(Q,Be,1),xe=Q.heap[1],Q.heap[--Q.heap_max]=te,Q.heap[--Q.heap_max]=xe,Be[2*fe]=Be[2*te]+Be[2*xe],Q.depth[fe]=(Q.depth[te]>=Q.depth[xe]?Q.depth[te]:Q.depth[xe])+1,Be[2*te+1]=Be[2*xe+1]=fe,Q.heap[1]=fe++,We(Q,Be,1),2<=Q.heap_len;);Q.heap[--Q.heap_max]=Q.heap[1],function(qe,gt){var ht,Pe,It,nt,Nt,Bt,Pt=gt.dyn_tree,jt=gt.max_code,er=gt.stat_desc.static_tree,at=gt.stat_desc.has_stree,Ce=gt.stat_desc.extra_bits,ue=gt.stat_desc.extra_base,Dt=gt.stat_desc.max_length,rt=0;for(nt=0;nt<=h;nt++)qe.bl_count[nt]=0;for(Pt[2*qe.heap[qe.heap_max]+1]=0,ht=qe.heap_max+1;ht<u;ht++)Dt<(nt=Pt[2*Pt[2*(Pe=qe.heap[ht])+1]+1]+1)&&(nt=Dt,rt++),Pt[2*Pe+1]=nt,jt<Pe||(qe.bl_count[nt]++,Nt=0,ue<=Pe&&(Nt=Ce[Pe-ue]),Bt=Pt[2*Pe],qe.opt_len+=Bt*(nt+Nt),at&&(qe.static_len+=Bt*(er[2*Pe+1]+Nt)));if(rt!==0){do{for(nt=Dt-1;qe.bl_count[nt]===0;)nt--;qe.bl_count[nt]--,qe.bl_count[nt+1]+=2,qe.bl_count[Dt]--,rt-=2}while(0<rt);for(nt=Dt;nt!==0;nt--)for(Pe=qe.bl_count[nt];Pe!==0;)jt<(It=qe.heap[--ht])||(Pt[2*It+1]!==nt&&(qe.opt_len+=(nt-Pt[2*It+1])*Pt[2*It],Pt[2*It+1]=nt),Pe--)}}(Q,G),ie(Be,Me,Q.bl_count)}function ee(Q,G,te){var xe,fe,Be=-1,Ne=G[1],de=0,ve=7,Me=4;for(Ne===0&&(ve=138,Me=3),G[2*(te+1)+1]=65535,xe=0;xe<=te;xe++)fe=Ne,Ne=G[2*(xe+1)+1],++de<ve&&fe===Ne||(de<Me?Q.bl_tree[2*fe]+=de:fe!==0?(fe!==Be&&Q.bl_tree[2*fe]++,Q.bl_tree[2*x]++):de<=10?Q.bl_tree[2*C]++:Q.bl_tree[2*T]++,Be=fe,Me=(de=0)===Ne?(ve=138,3):fe===Ne?(ve=6,3):(ve=7,4))}function he(Q,G,te){var xe,fe,Be=-1,Ne=G[1],de=0,ve=7,Me=4;for(Ne===0&&(ve=138,Me=3),xe=0;xe<=te;xe++)if(fe=Ne,Ne=G[2*(xe+1)+1],!(++de<ve&&fe===Ne)){if(de<Me)for(;ne(Q,fe,Q.bl_tree),--de!=0;);else fe!==0?(fe!==Be&&(ne(Q,fe,Q.bl_tree),de--),ne(Q,x,Q.bl_tree),re(Q,de-3,2)):de<=10?(ne(Q,C,Q.bl_tree),re(Q,de-3,3)):(ne(Q,T,Q.bl_tree),re(Q,de-11,7));Be=fe,Me=(de=0)===Ne?(ve=138,3):fe===Ne?(ve=6,3):(ve=7,4)}}t(z);var Ze=!1;function oe(Q,G,te,xe){re(Q,(a<<1)+(xe?1:0),3),function(fe,Be,Ne,de){_e(fe),de&&(Y(fe,Ne),Y(fe,~Ne)),d.arraySet(fe.pending_buf,fe.window,Be,Ne,fe.pending),fe.pending+=Ne}(Q,G,te,!0)}f._tr_init=function(Q){Ze||(function(){var G,te,xe,fe,Be,Ne=new Array(h+1);for(fe=xe=0;fe<s-1;fe++)for(K[fe]=xe,G=0;G<1<<O[fe];G++)k[xe++]=fe;for(k[xe-1]=fe,fe=Be=0;fe<16;fe++)for(z[fe]=Be,G=0;G<1<<S[fe];G++)j[Be++]=fe;for(Be>>=7;fe<e;fe++)for(z[fe]=Be<<7,G=0;G<1<<S[fe]-7;G++)j[256+Be++]=fe;for(te=0;te<=h;te++)Ne[te]=0;for(G=0;G<=143;)D[2*G+1]=8,G++,Ne[8]++;for(;G<=255;)D[2*G+1]=9,G++,Ne[9]++;for(;G<=279;)D[2*G+1]=7,G++,Ne[7]++;for(;G<=287;)D[2*G+1]=8,G++,Ne[8]++;for(ie(D,c+1,Ne),G=0;G<e;G++)F[2*G+1]=5,F[2*G]=we(G,5);Z=new X(D,O,r+1,c,h),B=new X(F,S,0,e,h),V=new X(new Array(0),_,0,o,A)}(),Ze=!0),Q.l_desc=new W(Q.dyn_ltree,Z),Q.d_desc=new W(Q.dyn_dtree,B),Q.bl_desc=new W(Q.bl_tree,V),Q.bi_buf=0,Q.bi_valid=0,me(Q)},f._tr_stored_block=oe,f._tr_flush_block=function(Q,G,te,xe){var fe,Be,Ne=0;0<Q.level?(Q.strm.data_type===2&&(Q.strm.data_type=function(de){var ve,Me=4093624447;for(ve=0;ve<=31;ve++,Me>>>=1)if(1&Me&&de.dyn_ltree[2*ve]!==0)return l;if(de.dyn_ltree[18]!==0||de.dyn_ltree[20]!==0||de.dyn_ltree[26]!==0)return n;for(ve=32;ve<r;ve++)if(de.dyn_ltree[2*ve]!==0)return n;return l}(Q)),je(Q,Q.l_desc),je(Q,Q.d_desc),Ne=function(de){var ve;for(ee(de,de.dyn_ltree,de.l_desc.max_code),ee(de,de.dyn_dtree,de.d_desc.max_code),je(de,de.bl_desc),ve=o-1;3<=ve&&de.bl_tree[2*L[ve]+1]===0;ve--);return de.opt_len+=3*(ve+1)+5+5+4,ve}(Q),fe=Q.opt_len+3+7>>>3,(Be=Q.static_len+3+7>>>3)<=fe&&(fe=Be)):fe=Be=te+5,te+4<=fe&&G!==-1?oe(Q,G,te,xe):Q.strategy===4||Be===fe?(re(Q,2+(xe?1:0),3),Ae(Q,D,F)):(re(Q,4+(xe?1:0),3),function(de,ve,Me,qe){var gt;for(re(de,ve-257,5),re(de,Me-1,5),re(de,qe-4,4),gt=0;gt<qe;gt++)re(de,de.bl_tree[2*L[gt]+1],3);he(de,de.dyn_ltree,ve-1),he(de,de.dyn_dtree,Me-1)}(Q,Q.l_desc.max_code+1,Q.d_desc.max_code+1,Ne+1),Ae(Q,Q.dyn_ltree,Q.dyn_dtree)),me(Q),xe&&_e(Q)},f._tr_tally=function(Q,G,te){return Q.pending_buf[Q.d_buf+2*Q.last_lit]=G>>>8&255,Q.pending_buf[Q.d_buf+2*Q.last_lit+1]=255&G,Q.pending_buf[Q.l_buf+Q.last_lit]=255&te,Q.last_lit++,G===0?Q.dyn_ltree[2*te]++:(Q.matches++,G--,Q.dyn_ltree[2*(k[te]+r+1)]++,Q.dyn_dtree[2*q(G)]++),Q.last_lit===Q.lit_bufsize-1},f._tr_align=function(Q){re(Q,2,3),ne(Q,w,D),function(G){G.bi_valid===16?(Y(G,G.bi_buf),G.bi_buf=0,G.bi_valid=0):8<=G.bi_valid&&(G.pending_buf[G.pending++]=255&G.bi_buf,G.bi_buf>>=8,G.bi_valid-=8)}(Q)}},{"../utils/common":41}],53:[function(p,v,f){"use strict";v.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(p,v,f){"use strict";v.exports=typeof setImmediate=="function"?setImmediate:function(){var d=[].slice.apply(arguments);d.splice(1,0,0),setTimeout.apply(null,d)}},{}]},{},[10])(10)})}).call(this,i("HDXh").Buffer,i("yLpj"))},xRUu:function(U,R,i){i("hJvP"),i("hFmY"),i("sAZ8")},xSIq:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var y={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"};R.default=y},xSat:function(U,R){var i={axisPointer:1,tooltip:1,brush:1};function y(m,E,p){var v=E.getComponentByElement(m.topTarget),f=v&&v.coordinateSystem;return v&&v!==p&&!i[v.mainType]&&f&&f.model!==p}R.onIrrelevantElement=y},xTNl:function(U,R){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],y={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};U.exports=y},xb2K:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("5yev")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="RedoOutlined";var l=p.forwardRef(d);R.default=l},xiyX:function(U,R,i){var y=i("bYtY"),m=i("bLfw"),E=i("nkfE"),p=i("ICMv"),v=m.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),f={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 d(n,t){return t.type||(t.data?"category":"value")}y.merge(v.prototype,p),E("single",v,d,f);var l=v;U.exports=l},xlC8:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=y;function y(m,E,p,v){for(var f=m&65535|0,d=m>>>16&65535|0,l=0;p!==0;){l=p>2e3?2e3:p,p-=l;do f=f+E[v++]|0,d=d+f|0;while(--l);f%=65521,d%=65521}return f|d<<16|0}},xvlK:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="PlusOutlined";var d=R.a=m.forwardRef(f)},xzDV:function(U,R,i){},"y+Vt":function(U,R,i){var y=i("Gev7"),m=i("bYtY"),E=i("IMiH"),p=i("2DNl"),v=i("3C/r"),f=v.prototype.getCanvasPattern,d=Math.abs,l=new E(!0);function n(a){y.call(this,a),this.path=null}n.prototype={constructor:n,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(s,r){var c=this.style,e=this.path||l,o=c.hasStroke(),u=c.hasFill(),h=c.fill,g=c.stroke,A=u&&!!h.colorStops,w=o&&!!g.colorStops,x=u&&!!h.image,C=o&&!!g.image;if(c.bind(s,this,r),this.setTransform(s),this.__dirty){var T;A&&(T=T||this.getBoundingRect(),this._fillGradient=c.getGradient(s,h,T)),w&&(T=T||this.getBoundingRect(),this._strokeGradient=c.getGradient(s,g,T))}A?s.fillStyle=this._fillGradient:x&&(s.fillStyle=f.call(h,s)),w?s.strokeStyle=this._strokeGradient:C&&(s.strokeStyle=f.call(g,s));var O=c.lineDash,S=c.lineDashOffset,_=!!s.setLineDash,L=this.getGlobalScale();if(e.setScale(L[0],L[1],this.segmentIgnoreThreshold),this.__dirtyPath||O&&!_&&o?(e.beginPath(s),O&&!_&&(e.setLineDash(O),e.setLineDashOffset(S)),this.buildPath(e,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(s.beginPath(),this.path.rebuildPath(s)),u)if(c.fillOpacity!=null){var D=s.globalAlpha;s.globalAlpha=c.fillOpacity*c.opacity,e.fill(s),s.globalAlpha=D}else e.fill(s);if(O&&_&&(s.setLineDash(O),s.lineDashOffset=S),o)if(c.strokeOpacity!=null){var D=s.globalAlpha;s.globalAlpha=c.strokeOpacity*c.opacity,e.stroke(s),s.globalAlpha=D}else e.stroke(s);O&&_&&s.setLineDash([]),c.text!=null&&(this.restoreTransform(s),this.drawRectText(s,this.getBoundingRect()))},buildPath:function(s,r,c){},createPathProxy:function(){this.path=new E},getBoundingRect:function(){var s=this._rect,r=this.style,c=!s;if(c){var e=this.path;e||(e=this.path=new E),this.__dirtyPath&&(e.beginPath(),this.buildPath(e,this.shape,!1)),s=e.getBoundingRect()}if(this._rect=s,r.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=s.clone());if(this.__dirty||c){o.copy(s);var u=r.lineWidth,h=r.strokeNoScale?this.getLineScale():1;r.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 s},contain:function(s,r){var c=this.transformCoordToLocal(s,r),e=this.getBoundingRect(),o=this.style;if(s=c[0],r=c[1],e.contain(s,r)){var u=this.path.data;if(o.hasStroke()){var h=o.lineWidth,g=o.strokeNoScale?this.getLineScale():1;if(g>1e-10&&(o.hasFill()||(h=Math.max(h,this.strokeContainThreshold)),p.containStroke(u,h/g,s,r)))return!0}if(o.hasFill())return p.contain(u,s,r)}return!1},dirty:function(s){s==null&&(s=!0),s&&(this.__dirtyPath=s,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(s){return this.animate("shape",s)},attrKV:function(s,r){s==="shape"?(this.setShape(r),this.__dirtyPath=!0,this._rect=null):y.prototype.attrKV.call(this,s,r)},setShape:function(s,r){var c=this.shape;if(c){if(m.isObject(s))for(var e in s)s.hasOwnProperty(e)&&(c[e]=s[e]);else c[s]=r;this.dirty(!0)}return this},getLineScale:function(){var s=this.transform;return s&&d(s[0]-1)>1e-10&&d(s[3]-1)>1e-10?Math.sqrt(d(s[0]*s[3]-s[2]*s[1])):1}},n.extend=function(a){var s=function(e){n.call(this,e),a.style&&this.style.extendFrom(a.style,!1);var o=a.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])}a.init&&a.init.call(this,e)};m.inherits(s,n);for(var r in a)r!=="style"&&r!=="shape"&&(s.prototype[r]=a[r]);return s},m.inherits(n,y);var t=n;U.exports=t},"y+lR":function(U,R,i){var y=i("bYtY"),m=i("mFDi"),E=i("z35g");function p(f){E.call(this,f)}p.prototype={constructor:p,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(f){var d=this.getAxis("x"),l=this.getAxis("y");return d.contain(d.toLocalCoord(f[0]))&&l.contain(l.toLocalCoord(f[1]))},containData:function(f){return this.getAxis("x").containData(f[0])&&this.getAxis("y").containData(f[1])},dataToPoint:function(f,d,l){var n=this.getAxis("x"),t=this.getAxis("y");return l=l||[],l[0]=n.toGlobalCoord(n.dataToCoord(f[0])),l[1]=t.toGlobalCoord(t.dataToCoord(f[1])),l},clampData:function(f,d){var l=this.getAxis("x").scale,n=this.getAxis("y").scale,t=l.getExtent(),a=n.getExtent(),s=l.parse(f[0]),r=n.parse(f[1]);return d=d||[],d[0]=Math.min(Math.max(Math.min(t[0],t[1]),s),Math.max(t[0],t[1])),d[1]=Math.min(Math.max(Math.min(a[0],a[1]),r),Math.max(a[0],a[1])),d},pointToData:function(f,d){var l=this.getAxis("x"),n=this.getAxis("y");return d=d||[],d[0]=l.coordToData(l.toLocalCoord(f[0])),d[1]=n.coordToData(n.toLocalCoord(f[1])),d},getOtherAxis:function(f){return this.getAxis(f.dim==="x"?"y":"x")},getArea:function(){var f=this.getAxis("x").getGlobalExtent(),d=this.getAxis("y").getGlobalExtent(),l=Math.min(f[0],f[1]),n=Math.min(d[0],d[1]),t=Math.max(f[0],f[1])-l,a=Math.max(d[0],d[1])-n,s=new m(l,n,t,a);return s}},y.inherits(p,E);var v=p;U.exports=v},"y0+3":function(U,R,i){"use strict";i.d(R,"a",function(){return a}),i.d(R,"b",function(){return r});var y=/margin|padding|width|height|max|min|offset/,m={left:!0,top:!0},E={cssFloat:1,styleFloat:1,float:1};function p(c){return c.nodeType===1?c.ownerDocument.defaultView.getComputedStyle(c,null):{}}function v(c,e,o){if(e=e.toLowerCase(),o==="auto"){if(e==="height")return c.offsetHeight;if(e==="width")return c.offsetWidth}return e in m||(m[e]=y.test(e)),m[e]?parseFloat(o)||0:o}function f(c,e){var o=arguments.length,u=p(c);return e=E[e]?"cssFloat"in c.style?"cssFloat":"styleFloat":e,o===1?u:v(c,e,u[e]||c.style[e])}function d(c,e,o){var u=arguments.length;if(e=E[e]?"cssFloat"in c.style?"cssFloat":"styleFloat":e,u===3)return typeof o=="number"&&y.test(e)&&(o="".concat(o,"px")),c.style[e]=o,o;for(var h in e)e.hasOwnProperty(h)&&d(c,h,e[h]);return p(c)}function l(c){return c===document.body?document.documentElement.clientWidth:c.offsetWidth}function n(c){return c===document.body?window.innerHeight||document.documentElement.clientHeight:c.offsetHeight}function t(){var c=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:c,height:e}}function a(){var c=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:c,height:e}}function s(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(c){var e=c.getBoundingClientRect(),o=document.documentElement;return{left:e.left+(window.pageXOffset||o.scrollLeft)-(o.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||o.scrollTop)-(o.clientTop||document.body.clientTop||0)}}},"y1t/":function(U,R,i){"use strict";i.d(R,"a",function(){return y});function y(m){if(m==null)throw new TypeError("Cannot destructure undefined")}},y23F:function(U,R){function i(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}i.prototype={constructor:i,_dragStart:function(p){for(var v=p.target;v&&!v.draggable;)v=v.parent;v&&(this._draggingTarget=v,v.dragging=!0,this._x=p.offsetX,this._y=p.offsetY,this.dispatchToElement(y(v,p),"dragstart",p.event))},_drag:function(p){var v=this._draggingTarget;if(v){var f=p.offsetX,d=p.offsetY,l=f-this._x,n=d-this._y;this._x=f,this._y=d,v.drift(l,n,p),this.dispatchToElement(y(v,p),"drag",p.event);var t=this.findHover(f,d,v).target,a=this._dropTarget;this._dropTarget=t,v!==t&&(a&&t!==a&&this.dispatchToElement(y(a,p),"dragleave",p.event),t&&t!==a&&this.dispatchToElement(y(t,p),"dragenter",p.event))}},_dragEnd:function(p){var v=this._draggingTarget;v&&(v.dragging=!1),this.dispatchToElement(y(v,p),"dragend",p.event),this._dropTarget&&this.dispatchToElement(y(this._dropTarget,p),"drop",p.event),this._draggingTarget=null,this._dropTarget=null}};function y(E,p){return{target:E,topTarget:p&&p.topTarget}}var m=i;U.exports=m},y2l5:function(U,R,i){var y=i("MwEJ"),m=i("T4UG"),E=m.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(p,v){return y(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var p=this.option.progressive;return p==null?this.option.large?5e3:this.get("progressive"):p},getProgressiveThreshold:function(){var p=this.option.progressiveThreshold;return p==null?this.option.large?1e4:this.get("progressiveThreshold"):p},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});U.exports=E},y3Kf:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="UpOutlined";var d=R.a=m.forwardRef(f)},y3NT:function(U,R,i){var y=i("OELB"),m=y.parsePercent,E=i("bYtY"),p=Math.PI/180;function v(l,n,t,a){n.eachSeriesByType(l,function(s){var r=s.get("center"),c=s.get("radius");E.isArray(c)||(c=[0,c]),E.isArray(r)||(r=[r,r]);var e=t.getWidth(),o=t.getHeight(),u=Math.min(e,o),h=m(r[0],e),g=m(r[1],o),A=m(c[0],u/2),w=m(c[1],u/2),x=-s.get("startAngle")*p,C=s.get("minAngle")*p,T=s.getData().tree.root,O=s.getViewRoot(),S=O.depth,_=s.get("sort");_!=null&&f(O,_);var L=0;E.each(O.children,function(Y){!isNaN(Y.getValue())&&L++});var D=O.getValue(),F=Math.PI/(D||L)*2,j=O.depth>0,k=O.height-(j?-1:1),K=(w-A)/(k||1),Z=s.get("clockwise"),B=s.get("stillShowZeroSum"),V=Z?1:-1,z=function(Y,re){if(!Y)return;var ne=re;if(Y!==T){var we=Y.getValue(),ie=D===0&&B?F:we*F;ie<C&&(ie=C),ne=re+V*ie;var me=Y.depth-S-(j?-1:1),_e=A+K*me,Te=A+K*(me+1),We=Y.getModel();We.get("r0")!=null&&(_e=m(We.get("r0"),u/2)),We.get("r")!=null&&(Te=m(We.get("r"),u/2)),Y.setLayout({angle:ie,startAngle:re,endAngle:ne,clockwise:Z,cx:h,cy:g,r0:_e,r:Te})}if(Y.children&&Y.children.length){var Ae=0;E.each(Y.children,function(je){Ae+=z(je,re+Ae)})}return ne-re};if(j){var X=A,W=A+K,q=Math.PI*2;T.setLayout({angle:q,startAngle:x,endAngle:x+q,clockwise:Z,cx:h,cy:g,r0:X,r:W})}z(O,x)})}function f(l,n){var t=l.children||[];l.children=d(t,n),t.length&&E.each(l.children,function(a){f(a,n)})}function d(l,n){if(typeof n=="function")return l.sort(n);var t=n==="asc";return l.sort(function(a,s){var r=(a.getValue()-s.getValue())*(t?1:-1);return r===0?(a.dataIndex-s.dataIndex)*(t?-1:1):r})}U.exports=v},y3Yb:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("HBhm")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="PaperClipOutlined";var l=p.forwardRef(d);R.default=l},"y4/Y":function(U,R,i){var y=i("ProS"),m=i("bYtY"),E=i("zTMp"),p=i("62sa");i("SKx+"),i("1LEl"),i("Sp2Z"),y.registerPreprocessor(function(v){if(v){(!v.axisPointer||v.axisPointer.length===0)&&(v.axisPointer={});var f=v.axisPointer.link;f&&!m.isArray(f)&&(v.axisPointer.link=[f])}}),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,function(v,f){v.getComponent("axisPointer").coordSysAxesInfo=E.collect(v,f)}),y.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},p)},y7Aq:function(U,R,i){var y=i("bYtY"),m=i("+TT/"),E=m.getLayoutRect;function p(f,d,l){var n=f.option,t=n.align;if(t!=null&&t!=="auto")return t;for(var a={width:d.getWidth(),height:d.getHeight()},s=n.orient==="horizontal"?1:0,r=[["left","right","width"],["top","bottom","height"]],c=r[s],e=[0,null,10],o={},u=0;u<3;u++)o[r[1-s][u]]=e[u],o[c[u]]=u===2?l[0]:n[c[u]];var h=[["x","width",3],["y","height",0]][s],g=E(o,a,n.padding);return c[(g.margin[h[2]]||0)+g[h[0]]+g[h[1]]*.5<a[h[1]]*.5?0:1]}function v(f,d){return y.each(f||[],function(l){l.dataIndex!=null&&(l.dataIndexInside=l.dataIndex,l.dataIndex=null),l.highlightKey="visualMap"+(d?d.componentIndex:"")}),f}R.getItemAlign=p,R.makeHighDownBatch=v},y8nQ:function(U,R,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("gwTy"),p=i.n(E),v=i("1GLa")},yEEn:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="ArrowDownOutlined";var d=R.a=m.forwardRef(f)},yO87:function(U,R,i){var y=i("bYtY"),m=i("oVpE"),E=m.createSymbol,p=i("IwbS"),v=p.Group,f=i("OELB"),d=f.parsePercent,l=i("FBjb"),n=3;function t(e){return y.isArray(e)||(e=[+e,+e]),e}function a(e,o){var u=o.rippleEffectColor||o.color;e.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 s(e,o){v.call(this);var u=new l(e,o),h=new v;this.add(u),this.add(h),h.beforeUpdate=function(){this.attr(u.getScale())},this.updateData(e,o)}var r=s.prototype;r.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.startEffectAnimation=function(e){for(var o=e.symbolType,u=e.color,h=this.childAt(1),g=0;g<n;g++){var A=E(o,-1,-1,2,2,u);A.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var w=-g/n*e.period+e.effectOffset;A.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(w).start(),A.animateStyle(!0).when(e.period,{opacity:0}).delay(w).start(),h.add(A)}a(h,e)},r.updateEffectAnimation=function(e){for(var o=this._effectCfg,u=this.childAt(1),h=["symbolType","period","rippleScale"],g=0;g<h.length;g++){var A=h[g];if(o[A]!==e[A]){this.stopEffectAnimation(),this.startEffectAnimation(e);return}}a(u,e)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateData=function(e,o){var u=e.hostModel;this.childAt(0).updateData(e,o);var h=this.childAt(1),g=e.getItemModel(o),A=e.getItemVisual(o,"symbol"),w=t(e.getItemVisual(o,"symbolSize")),x=e.getItemVisual(o,"color");h.attr("scale",w),h.traverse(function(F){F.attr({fill:x})});var C=g.getShallow("symbolOffset");if(C){var T=h.position;T[0]=d(C[0],w[0]),T[1]=d(C[1],w[1])}var O=e.getItemVisual(o,"symbolRotate");h.rotation=(O||0)*Math.PI/180||0;var S={};if(S.showEffectOn=u.get("showEffectOn"),S.rippleScale=g.get("rippleEffect.scale"),S.brushType=g.get("rippleEffect.brushType"),S.period=g.get("rippleEffect.period")*1e3,S.effectOffset=o/e.count(),S.z=g.getShallow("z")||0,S.zlevel=g.getShallow("zlevel")||0,S.symbolType=A,S.color=x,S.rippleEffectColor=g.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 _=this.childAt(0),L=function(){_.highlight(),S.showEffectOn!=="render"&&this.startEffectAnimation(S)},D=function(){_.downplay(),S.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",L,this).on("mouseout",D,this).on("emphasis",L,this).on("normal",D,this)}this._effectCfg=S},r.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},y.inherits(s,v);var c=s;U.exports=c},yS9w:function(U,R,i){var y=i("MEGo"),m=y.parseSVG,E=y.makeViewBoxTransform,p=i("4fz+"),v=i("x6Kt"),f=i("bYtY"),d=f.assert,l=f.createHashMap,n=i("mFDi"),t=i("4NO4"),a=t.makeInner,s=a(),r={load:function(e,o){var u=s(o).originRoot;if(u)return{root:u,boundingRect:s(o).boundingRect};var h=c(o);return s(o).originRoot=h.root,s(o).boundingRect=h.boundingRect,h},makeGraphic:function(e,o,u){var h=s(o),g=h.rootMap||(h.rootMap=l()),A=g.get(u);if(A)return A;var w=h.originRoot,x=h.boundingRect;return h.originRootHostKey?A=c(o,x).root:(h.originRootHostKey=u,A=w),g.set(u,A)},removeGraphic:function(e,o,u){var h=s(o),g=h.rootMap;g&&g.removeKey(u),u===h.originRootHostKey&&(h.originRootHostKey=null)}};function c(e,o){var u=e.svgXML,h,g;try{h=u&&m(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},g=h.root,d(g!=null)}catch(O){throw new Error(`Invalid svg format
|
|
|
`+O.message)}var A=h.width,w=h.height,x=h.viewBoxRect;if(o||(o=A==null||w==null?g.getBoundingRect():new n(0,0,0,0),A!=null&&(o.width=A),w!=null&&(o.height=w)),x){var C=E(x,o.width,o.height),T=g;g=new p,g.add(T),T.scale=C.scale,T.position=C.position}return g.setClipPath(new v({shape:o.plain()})),{root:g,boundingRect:o}}U.exports=r},yWXo:function(U,R,i){var y=i("IwbS"),m=i("oVpE"),E=m.createSymbol,p=i("OS9S"),v=4,f=y.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,a){var s=a.points,r=a.size,c=this.symbolProxy,e=c.shape,o=t.getContext?t.getContext():t,u=o&&r[0]<v;if(u)return;for(var h=0;h<s.length;){var g=s[h++],A=s[h++];if(isNaN(g)||isNaN(A))continue;if(this.softClipShape&&!this.softClipShape.contain(g,A))continue;e.x=g-r[0]/2,e.y=A-r[1]/2,e.width=r[0],e.height=r[1],c.buildPath(t,e,!0)}},afterBrush:function(t){var a=this.shape,s=a.points,r=a.size,c=r[0]<v;if(!c)return;this.setTransform(t);for(var e=0;e<s.length;){var o=s[e++],u=s[e++];if(isNaN(o)||isNaN(u))continue;if(this.softClipShape&&!this.softClipShape.contain(o,u))continue;t.fillRect(o-r[0]/2,u-r[1]/2,r[0],r[1])}this.restoreTransform(t)},findDataIndex:function(t,a){for(var s=this.shape,r=s.points,c=s.size,e=Math.max(c[0],4),o=Math.max(c[1],4),u=r.length/2-1;u>=0;u--){var h=u*2,g=r[h]-e/2,A=r[h+1]-o/2;if(t>=g&&a>=A&&t<=g+e&&a<=A+o)return u}return-1}});function d(){this.group=new y.Group}var l=d.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(t,a){this.group.removeAll();var s=new f({rectHover:!0,cursor:"default"});s.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(s,t,!1,a),this.group.add(s),this._incremental=null},l.updateLayout=function(t){if(this._incremental)return;var a=t.getLayout("symbolPoints");this.group.eachChild(function(s){if(s.startIndex!=null){var r=(s.endIndex-s.startIndex)*2,c=s.startIndex*4*2;a=new Float32Array(a.buffer,c,r)}s.setShape("points",a)})},l.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new p({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(t,a,s){var r;this._incremental?(r=new f,this._incremental.addDisplayable(r,!0)):(r=new f({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:a.getLayout("symbolPoints")}),this._setCommon(r,a,!!this._incremental,s)},l._setCommon=function(t,a,s,r){var c=a.hostModel;r=r||{};var e=a.getVisual("symbolSize");t.setShape("size",e instanceof Array?e:[e,e]),t.softClipShape=r.clipShape||null,t.symbolProxy=E(a.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<v;t.useStyle(c.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var u=a.getVisual("color");u&&t.setColor(u),s||(t.seriesIndex=c.seriesIndex,t.on("mousemove",function(h){t.dataIndex=null;var g=t.findDataIndex(h.offsetX,h.offsetY);g>=0&&(t.dataIndex=g+(t.startIndex||0))}))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var n=d;U.exports=n},ycre:function(U,R,i){var y=i("711d"),m=y("length");U.exports=m},ye1Q:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="LoadingOutlined";var d=R.a=m.forwardRef(f)},ygfH:function(U,R,i){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var y={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"};R.default=y},yik8:function(U,R,i){var y=i("bZqE"),m=y.eachAfter,E=y.eachBefore,p=i("Itpr"),v=p.init,f=p.firstWalk,d=p.secondWalk,l=p.separation,n=p.radialCoordinate,t=p.getViewRect;function a(r,c){r.eachSeriesByType("tree",function(e){s(e,c)})}function s(r,c){var e=t(r,c);r.layoutInfo=e;var o=r.get("layout"),u=0,h=0,g=null;o==="radial"?(u=2*Math.PI,h=Math.min(e.height,e.width)/2,g=l(function(k,K){return(k.parentNode===K.parentNode?1:2)/k.depth})):(u=e.width,h=e.height,g=l());var A=r.getData().tree.root,w=A.children[0];if(w){v(A),m(w,f,g),A.hierNode.modifier=-w.hierNode.prelim,E(w,d);var x=w,C=w,T=w;E(w,function(k){var K=k.getLayout().x;K<x.getLayout().x&&(x=k),K>C.getLayout().x&&(C=k),k.depth>T.depth&&(T=k)});var O=x===C?1:g(x,C)/2,S=O-x.getLayout().x,_=0,L=0,D=0,F=0;if(o==="radial")_=u/(C.getLayout().x+O+S),L=h/(T.depth-1||1),E(w,function(k){D=(k.getLayout().x+S)*_,F=(k.depth-1)*L;var K=n(D,F);k.setLayout({x:K.x,y:K.y,rawX:D,rawY:F},!0)});else{var j=r.getOrient();j==="RL"||j==="LR"?(L=h/(C.getLayout().x+O+S),_=u/(T.depth-1||1),E(w,function(k){F=(k.getLayout().x+S)*L,D=j==="LR"?(k.depth-1)*_:u-(k.depth-1)*_,k.setLayout({x:D,y:F},!0)})):(j==="TB"||j==="BT")&&(_=u/(C.getLayout().x+O+S),L=h/(T.depth-1||1),E(w,function(k){D=(k.getLayout().x+S)*_,F=j==="TB"?(k.depth-1)*L:h-(k.depth-1)*L,k.setLayout({x:D,y:F},!0)}))}}}U.exports=a},ynwM:function(U,R,i){var y=i("MFOe"),m=y.Global;U.exports={name:"oldFF-globalStorage",read:p,write:v,each:f,remove:d,clearAll:l};var E=m.globalStorage;function p(n){return E[n]}function v(n,t){E[n]=t}function f(n){for(var t=E.length-1;t>=0;t--){var a=E.key(t);n(E[a],a)}}function d(n){return E.removeItem(n)}function l(){f(function(n,t){delete E[n]})}},ypgQ:function(U,R,i){var y=i("bYtY"),m=i("4NO4"),E=i("bLfw"),p=y.each,v=y.clone,f=y.map,d=y.merge,l=/^(min|max)?(.+)$/;function n(o){this._api=o,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}n.prototype={constructor:n,setOption:function(o,u){o&&y.each(m.normalizeToArray(o.series),function(A){A&&A.data&&y.isTypedArray(A.data)&&y.setAsPrimitive(A.data)}),o=v(o);var h=this._optionBackup,g=t.call(this,o,u,!h);this._newBaseOption=g.baseOption,h?(c(h.baseOption,g.baseOption),g.timelineOptions.length&&(h.timelineOptions=g.timelineOptions),g.mediaList.length&&(h.mediaList=g.mediaList),g.mediaDefault&&(h.mediaDefault=g.mediaDefault)):this._optionBackup=g},mountOption:function(o){var u=this._optionBackup;return this._timelineOptions=f(u.timelineOptions,v),this._mediaList=f(u.mediaList,v),this._mediaDefault=v(u.mediaDefault),this._currentMediaIndices=[],v(o?u.baseOption:this._newBaseOption)},getTimelineOption:function(o){var u,h=this._timelineOptions;if(h.length){var g=o.getComponent("timeline");g&&(u=v(h[g.getCurrentIndex()],!0))}return u},getMediaOption:function(o){var u=this._api.getWidth(),h=this._api.getHeight(),g=this._mediaList,A=this._mediaDefault,w=[],x=[];if(!g.length&&!A)return x;for(var C=0,T=g.length;C<T;C++)a(g[C].query,u,h)&&w.push(C);return!w.length&&A&&(w=[-1]),w.length&&!r(w,this._currentMediaIndices)&&(x=f(w,function(O){return v(O===-1?A.option:g[O].option)})),this._currentMediaIndices=w,x}};function t(o,u,h){var g=[],A=[],w,x,C=o.timeline;if(o.baseOption&&(x=o.baseOption),(C||o.options)&&(x=x||{},g=(o.options||[]).slice()),o.media){x=x||{};var T=o.media;p(T,function(O){O&&O.option&&(O.query?A.push(O):w||(w=O))})}return x||(x=o),x.timeline||(x.timeline=C),p([x].concat(g).concat(y.map(A,function(O){return O.option})),function(O){p(u,function(S){S(O,h)})}),{baseOption:x,timelineOptions:g,mediaDefault:w,mediaList:A}}function a(o,u,h){var g={width:u,height:h,aspectratio:u/h},A=!0;return y.each(o,function(w,x){var C=x.match(l);if(!C||!C[1]||!C[2])return;var T=C[1],O=C[2].toLowerCase();s(g[O],w,T)||(A=!1)}),A}function s(o,u,h){return h==="min"?o>=u:h==="max"?o<=u:o===u}function r(o,u){return o.join(",")===u.join(",")}function c(o,u){u=u||{},p(u,function(h,g){if(h==null)return;var A=o[g];if(!E.hasClass(g))o[g]=d(A,h,!0);else{h=m.normalizeToArray(h),A=m.normalizeToArray(A);var w=m.mappingToExists(A,h);o[g]=f(w,function(x){return x.option&&x.exist?d(x.exist,x.option,!0):x.exist||x.option})}})}var e=n;U.exports=e},yxFR:function(U,R,i){var y=i("y+Vt"),m=i("nPnh"),E=m.subPixelOptimizeLine,p={},v=y.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(d,l){var n,t,a,s;this.subPixelOptimize?(E(p,l,this.style),n=p.x1,t=p.y1,a=p.x2,s=p.y2):(n=l.x1,t=l.y1,a=l.x2,s=l.y2);var r=l.percent;if(r===0)return;d.moveTo(n,t),r<1&&(a=n*(1-r)+a*r,s=t*(1-r)+s*r),d.lineTo(a,s)},pointAt:function(d){var l=this.shape;return[l.x1*(1-d)+l.x2*d,l.y1*(1-d)+l.y2*d]}});U.exports=v},z35g:function(U,R,i){var y=i("bYtY");function m(v){return this._axes[v]}var E=function(v){this._axes={},this._dimList=[],this.name=v||""};E.prototype={constructor:E,type:"cartesian",getAxis:function(v){return this._axes[v]},getAxes:function(){return y.map(this._dimList,m,this)},getAxesByScale:function(v){return v=v.toLowerCase(),y.filter(this.getAxes(),function(f){return f.scale.type===v})},addAxis:function(v){var f=v.dim;this._axes[f]=v,this._dimList.push(f)},dataToCoord:function(v){return this._dataCoordConvert(v,"dataToCoord")},coordToData:function(v){return this._dataCoordConvert(v,"coordToData")},_dataCoordConvert:function(v,f){for(var d=this._dimList,l=v instanceof Array?[]:{},n=0;n<d.length;n++){var t=d[n],a=this._axes[t];l[t]=a[f](v[t])}return l}};var p=E;U.exports=p},z7Xi:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="UploadOutlined";var d=R.a=m.forwardRef(f)},zAh6:function(U,R,i){"use strict";i.d(R,"a",function(){return v});var y=i("xEkU"),m=i.n(y),E=i("i6bk");function p(f,d,l,n){var t=l-d;return f/=n/2,f<1?t/2*f*f*f+d:t/2*((f-=2)*f*f+2)+d}function v(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=d.getContainer,n=l===void 0?function(){return window}:l,t=d.callback,a=d.duration,s=a===void 0?450:a,r=n(),c=Object(E.a)(r,!0),e=Date.now(),o=function u(){var h=Date.now(),g=h-e,A=p(g>s?s:g,c,f,s);Object(E.b)(r)?r.scrollTo(window.pageXOffset,A):r instanceof HTMLDocument||r.constructor.name==="HTMLDocument"?r.documentElement.scrollTop=A:r.scrollTop=A,g<s?m()(u):typeof t=="function"&&t()};m()(o)}},zDms:function(U,R,i){var y=i("bYtY"),m=i("OELB"),E=i("UOVi"),p=i("72pK"),v=y.each,f=m.asc,d=function(r,c,e,o){this._dimName=r,this._axisIndex=c,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=o,this._dataZoomModel=e};d.prototype={constructor:d,hostedBy:function(r){return this._dataZoomModel===r},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var r=[],c=this.ecModel;return c.eachSeries(function(e){if(E.isCoordSupported(e.get("coordinateSystem"))){var o=this._dimName,u=c.queryComponents({mainType:o+"Axis",index:e.get(o+"AxisIndex"),id:e.get(o+"AxisId")})[0];this._axisIndex===(u&&u.componentIndex)&&r.push(e)}},this),r},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var r=this._dimName,c=this.ecModel,e=this.getAxisModel(),o=r==="x"||r==="y",u,h;o?(h="gridIndex",u=r==="x"?"y":"x"):(h="polarIndex",u=r==="angle"?"radius":"angle");var g;return c.eachComponent(u+"Axis",function(A){(A.get(h)||0)===(e.get(h)||0)&&(g=A)}),g},getMinMaxSpan:function(){return y.clone(this._minMaxSpan)},calculateDataWindow:function(r){var c=this._dataExtent,e=this.getAxisModel(),o=e.axis.scale,u=this._dataZoomModel.getRangePropMode(),h=[0,100],g=[],A=[],w;v(["start","end"],function(T,O){var S=r[T],_=r[T+"Value"];u[O]==="percent"?(S==null&&(S=h[O]),_=o.parse(m.linearMap(S,h,c))):(w=!0,_=_==null?c[O]:o.parse(_),S=m.linearMap(_,c,h)),A[O]=_,g[O]=S}),f(A),f(g);var x=this._minMaxSpan;w?C(A,g,c,h,!1):C(g,A,h,c,!0);function C(T,O,S,_,L){var D=L?"Span":"ValueSpan";p(0,T,S,"all",x["min"+D],x["max"+D]);for(var F=0;F<2;F++)O[F]=m.linearMap(T[F],S,_,!0),L&&(O[F]=o.parse(O[F]))}return{valueWindow:A,percentWindow:g}},reset:function(r){if(r!==this._dataZoomModel)return;var c=this.getTargetSeriesModels();this._dataExtent=l(this,this._dimName,c),a(this);var e=this.calculateDataWindow(r.settledOption);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,t(this)},restore:function(r){if(r!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,t(this,!0)},filterData:function(r,c){if(r!==this._dataZoomModel)return;var e=this._dimName,o=this.getTargetSeriesModels(),u=r.get("filterMode"),h=this._valueWindow;if(u==="none")return;v(o,function(A){var w=A.getData(),x=w.mapDimension(e,!0);if(!x.length)return;u==="weakFilter"?w.filterSelf(function(C){for(var T,O,S,_=0;_<x.length;_++){var L=w.get(x[_],C),D=!isNaN(L),F=L<h[0],j=L>h[1];if(D&&!F&&!j)return!0;D&&(S=!0),F&&(T=!0),j&&(O=!0)}return S&&T&&O}):v(x,function(C){if(u==="empty")A.setData(w=w.map(C,function(O){return g(O)?O:NaN}));else{var T={};T[C]=h,w.selectRange(T)}}),v(x,function(C){w.setApproximateExtent(h,C)})});function g(A){return A>=h[0]&&A<=h[1]}}};function l(r,c,e){var o=[Infinity,-Infinity];return v(e,function(u){var h=u.getData();h&&v(h.mapDimension(c,!0),function(g){var A=h.getApproximateExtent(g);A[0]<o[0]&&(o[0]=A[0]),A[1]>o[1]&&(o[1]=A[1])})}),o[1]<o[0]&&(o=[NaN,NaN]),n(r,o),o}function n(r,c){var e=r.getAxisModel(),o=e.getMin(!0),u=e.get("type")==="category",h=u&&e.getCategories().length;o!=null&&o!=="dataMin"&&typeof o!="function"?c[0]=o:u&&(c[0]=h>0?0:NaN);var g=e.getMax(!0);return g!=null&&g!=="dataMax"&&typeof g!="function"?c[1]=g:u&&(c[1]=h>0?h-1:NaN),e.get("scale",!0)||(c[0]>0&&(c[0]=0),c[1]<0&&(c[1]=0)),c}function t(r,c){var e=r.getAxisModel(),o=r._percentWindow,u=r._valueWindow;if(!o)return;var h=m.getPixelPrecision(u,[0,500]);h=Math.min(h,20);var g=c||o[0]===0&&o[1]===100;e.setRange(g?null:+u[0].toFixed(h),g?null:+u[1].toFixed(h))}function a(r){var c=r._minMaxSpan={},e=r._dataZoomModel,o=r._dataExtent;v(["min","max"],function(u){var h=e.get(u+"Span"),g=e.get(u+"ValueSpan");g!=null&&(g=r.getAxisModel().axis.scale.parse(g)),g!=null?h=m.linearMap(o[0]+g,o,[0,100],!0):h!=null&&(g=m.linearMap(h,[0,100],o,!0)-o[0]),c[u+"Span"]=h,c[u+"ValueSpan"]=g})}var s=d;U.exports=s},zM3Q:function(U,R,i){var y=i("4NO4"),m=y.makeInner;function E(){var p=m();return function(v){var f=p(v),d=v.pipelineContext,l=f.large,n=f.progressiveRender,t=f.large=d&&d.large,a=f.progressiveRender=d&&d.progressiveRender;return!!(l^t||n^a)&&"reset"}}U.exports=E},zRKj:function(U,R,i){i("Ae16"),i("Sp2Z"),i("y4/Y")},zTMp:function(U,R,i){var y=i("bYtY"),m=i("Qxkt"),E=y.each,p=y.curry;function v(o,u){var h={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return f(h,o,u),h.seriesInvolved&&l(h,o),h}function f(o,u,h){var g=u.getComponent("tooltip"),A=u.getComponent("axisPointer"),w=A.get("link",!0)||[],x=[];E(h.getCoordinateSystems(),function(C){if(!C.axisPointerEnabled)return;var T=e(C.model),O=o.coordSysAxesInfo[T]={};o.coordSysMap[T]=C;var S=C.model,_=S.getModel("tooltip",g);if(E(C.getAxes(),p(j,!1,null)),C.getTooltipAxes&&g&&_.get("show")){var L=_.get("trigger")==="axis",D=_.get("axisPointer.type")==="cross",F=C.getTooltipAxes(_.get("axisPointer.axis"));(L||D)&&E(F.baseAxes,p(j,D?"cross":!0,L)),D&&E(F.otherAxes,p(j,"cross",!1))}function j(k,K,Z){var B=Z.model.getModel("axisPointer",A),V=B.get("show");if(!V||V==="auto"&&!k&&!c(B))return;K==null&&(K=B.get("triggerTooltip")),B=k?d(Z,_,A,u,k,K):B;var z=B.get("snap"),X=e(Z.model),W=K||z||Z.type==="category",q=o.axesInfo[X]={key:X,axis:Z,coordSys:C,axisPointerModel:B,triggerTooltip:K,involveSeries:W,snap:z,useHandle:c(B),seriesModels:[]};O[X]=q,o.seriesInvolved|=W;var Y=n(w,Z);if(Y!=null){var re=x[Y]||(x[Y]={axesInfo:{}});re.axesInfo[X]=q,re.mapper=w[Y].mapper,q.linkGroup=re}}})}function d(o,u,h,g,A,w){var x=u.getModel("axisPointer"),C={};E(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(_){C[_]=y.clone(x.get(_))}),C.snap=o.type!=="category"&&!!w,x.get("type")==="cross"&&(C.type="line");var T=C.label||(C.label={});if(T.show==null&&(T.show=!1),A==="cross"){var O=x.get("label.show");if(T.show=O!=null?O:!0,!w){var S=C.lineStyle=x.get("crossStyle");S&&y.defaults(T,S.textStyle)}}return o.model.getModel("axisPointer",new m(C,h,g))}function l(o,u){u.eachSeries(function(h){var g=h.coordinateSystem,A=h.get("tooltip.trigger",!0),w=h.get("tooltip.show",!0);if(!g||A==="none"||A===!1||A==="item"||w===!1||h.get("axisPointer.show",!0)===!1)return;E(o.coordSysAxesInfo[e(g.model)],function(x){var C=x.axis;g.getAxis(C.dim)===C&&(x.seriesModels.push(h),x.seriesDataCount==null&&(x.seriesDataCount=0),x.seriesDataCount+=h.getData().count())})},this)}function n(o,u){for(var h=u.model,g=u.dim,A=0;A<o.length;A++){var w=o[A]||{};if(t(w[g+"AxisId"],h.id)||t(w[g+"AxisIndex"],h.componentIndex)||t(w[g+"AxisName"],h.name))return A}}function t(o,u){return o==="all"||y.isArray(o)&&y.indexOf(o,u)>=0||o===u}function a(o){var u=s(o);if(!u)return;var h=u.axisPointerModel,g=u.axis.scale,A=h.option,w=h.get("status"),x=h.get("value");x!=null&&(x=g.parse(x));var C=c(h);w==null&&(A.status=C?"show":"hide");var T=g.getExtent().slice();T[0]>T[1]&&T.reverse(),(x==null||x>T[1])&&(x=T[1]),x<T[0]&&(x=T[0]),A.value=x,C&&(A.status=u.axis.scale.isBlank()?"hide":"show")}function s(o){var u=(o.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return u&&u.axesInfo[e(o)]}function r(o){var u=s(o);return u&&u.axisPointerModel}function c(o){return!!o.get("handle.show")}function e(o){return o.type+"||"+o.id}R.collect=v,R.fixValue=a,R.getAxisInfo=s,R.getAxisPointerModel=r,R.makeKey=e},zYTA:function(U,R,i){var y=i("bYtY"),m=256;function E(){var v=y.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}E.prototype={update:function(v,f,d,l,n,t){var a=this._getBrush(),s=this._getGradient(v,n,"inRange"),r=this._getGradient(v,n,"outOfRange"),c=this.pointSize+this.blurSize,e=this.canvas,o=e.getContext("2d"),u=v.length;e.width=f,e.height=d;for(var h=0;h<u;++h){var g=v[h],A=g[0],w=g[1],x=g[2],C=l(x);o.globalAlpha=C,o.drawImage(a,A-c,w-c)}if(!e.width||!e.height)return e;for(var T=o.getImageData(0,0,e.width,e.height),O=T.data,S=0,_=O.length,L=this.minOpacity,D=this.maxOpacity,F=D-L;S<_;){var C=O[S+3]/256,j=Math.floor(C*(m-1))*4;if(C>0){var k=t(C)?s:r;C>0&&(C=C*F+L),O[S++]=k[j],O[S++]=k[j+1],O[S++]=k[j+2],O[S++]=k[j+3]*C*256}else S+=4}return o.putImageData(T,0,0),e},_getBrush:function(){var v=this._brushCanvas||(this._brushCanvas=y.createCanvas()),f=this.pointSize+this.blurSize,d=f*2;v.width=d,v.height=d;var l=v.getContext("2d");return l.clearRect(0,0,d,d),l.shadowOffsetX=d,l.shadowBlur=this.blurSize,l.shadowColor="#000",l.beginPath(),l.arc(-f,f,this.pointSize,0,Math.PI*2,!0),l.closePath(),l.fill(),v},_getGradient:function(v,f,d){for(var l=this._gradientPixels,n=l[d]||(l[d]=new Uint8ClampedArray(256*4)),t=[0,0,0,0],a=0,s=0;s<256;s++)f[d](s/255,!0,t),n[a++]=t[0],n[a++]=t[1],n[a++]=t[2],n[a++]=t[3];return n}};var p=E;U.exports=p},zarK:function(U,R,i){var y=i("YH21"),m=y.addEventListener,E=y.removeEventListener,p=y.normalizeEvent,v=y.getNativeEvent,f=i("bYtY"),d=i("H6uX"),l=i("ItGF"),n=300,t=l.domSupported,a=function(){var k=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],K=["touchstart","touchend","touchmove"],Z={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},B=f.map(k,function(V){var z=V.replace("mouse","pointer");return Z.hasOwnProperty(z)?z:V});return{mouse:k,touch:K,pointer:B}}(),s={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function r(k){return k==="mousewheel"&&l.browser.firefox?"DOMMouseScroll":k}function c(k){var K=k.pointerType;return K==="pen"||K==="touch"}function e(k){k.touching=!0,k.touchTimer!=null&&(clearTimeout(k.touchTimer),k.touchTimer=null),k.touchTimer=setTimeout(function(){k.touching=!1,k.touchTimer=null},700)}function o(k){k&&(k.zrByTouch=!0)}function u(k,K){return p(k.dom,new g(k,K),!0)}function h(k,K){for(var Z=K,B=!1;Z&&Z.nodeType!==9&&!(B=Z.domBelongToZr||Z!==K&&Z===k.painterRoot);)Z=Z.parentNode;return B}function g(k,K){this.type=K.type,this.target=this.currentTarget=k.dom,this.pointerType=K.pointerType,this.clientX=K.clientX,this.clientY=K.clientY}var A=g.prototype;A.stopPropagation=A.stopImmediatePropagation=A.preventDefault=f.noop;var w={mousedown:function(K){K=p(this.dom,K),this._mayPointerCapture=[K.zrX,K.zrY],this.trigger("mousedown",K)},mousemove:function(K){K=p(this.dom,K);var Z=this._mayPointerCapture;Z&&(K.zrX!==Z[0]||K.zrY!==Z[1])&&_(this,!0),this.trigger("mousemove",K)},mouseup:function(K){K=p(this.dom,K),_(this,!1),this.trigger("mouseup",K)},mouseout:function(K){K=p(this.dom,K),this._pointerCapturing&&(K.zrEventControl="no_globalout");var Z=K.toElement||K.relatedTarget;K.zrIsToLocalDOM=h(this,Z),this.trigger("mouseout",K)},touchstart:function(K){K=p(this.dom,K),o(K),this._lastTouchMoment=new Date,this.handler.processGesture(K,"start"),w.mousemove.call(this,K),w.mousedown.call(this,K)},touchmove:function(K){K=p(this.dom,K),o(K),this.handler.processGesture(K,"change"),w.mousemove.call(this,K)},touchend:function(K){K=p(this.dom,K),o(K),this.handler.processGesture(K,"end"),w.mouseup.call(this,K),+new Date-this._lastTouchMoment<n&&w.click.call(this,K)},pointerdown:function(K){w.mousedown.call(this,K)},pointermove:function(K){c(K)||w.mousemove.call(this,K)},pointerup:function(K){w.mouseup.call(this,K)},pointerout:function(K){c(K)||w.mouseout.call(this,K)}};f.each(["click","mousewheel","dblclick","contextmenu"],function(k){w[k]=function(K){K=p(this.dom,K),this.trigger(k,K)}});var x={pointermove:function(K){c(K)||x.mousemove.call(this,K)},pointerup:function(K){x.mouseup.call(this,K)},mousemove:function(K){this.trigger("mousemove",K)},mouseup:function(K){var Z=this._pointerCapturing;_(this,!1),this.trigger("mouseup",K),Z&&(K.zrEventControl="only_globalout",this.trigger("mouseout",K))}};function C(k,K){var Z=K.domHandlers;l.pointerEventsSupported?f.each(a.pointer,function(B){O(K,B,function(V){Z[B].call(k,V)})}):(l.touchEventsSupported&&f.each(a.touch,function(B){O(K,B,function(V){Z[B].call(k,V),e(K)})}),f.each(a.mouse,function(B){O(K,B,function(V){V=v(V),K.touching||Z[B].call(k,V)})}))}function T(k,K){l.pointerEventsSupported?f.each(s.pointer,Z):l.touchEventsSupported||f.each(s.mouse,Z);function Z(B){function V(z){z=v(z),h(k,z.target)||(z=u(k,z),K.domHandlers[B].call(k,z))}O(K,B,V,{capture:!0})}}function O(k,K,Z,B){k.mounted[K]=Z,k.listenerOpts[K]=B,m(k.domTarget,r(K),Z,B)}function S(k){var K=k.mounted;for(var Z in K)K.hasOwnProperty(Z)&&E(k.domTarget,r(Z),K[Z],k.listenerOpts[Z]);k.mounted={}}function _(k,K){if(k._mayPointerCapture=null,t&&k._pointerCapturing^K){k._pointerCapturing=K;var Z=k._globalHandlerScope;K?T(k,Z):S(Z)}}function L(k,K){this.domTarget=k,this.domHandlers=K,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function D(k,K){d.call(this),this.dom=k,this.painterRoot=K,this._localHandlerScope=new L(k,w),t&&(this._globalHandlerScope=new L(document,x)),this._pointerCapturing=!1,this._mayPointerCapture=null,C(this,this._localHandlerScope)}var F=D.prototype;F.dispose=function(){S(this._localHandlerScope),t&&S(this._globalHandlerScope)},F.setCursor=function(k){this.dom.style&&(this.dom.style.cursor=k||"default")},f.mixin(D,d);var j=D;U.exports=j},zdCA:function(U,R,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("PSzr")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="BarsOutlined";var l=p.forwardRef(d);R.default=l},zeV3:function(U,R,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("H84U"),t=function(r,c){var e={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&c.indexOf(o)<0&&(e[o]=r[o]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,o=Object.getOwnPropertySymbols(r);u<o.length;u++)c.indexOf(o[u])<0&&Object.prototype.propertyIsEnumerable.call(r,o[u])&&(e[o[u]]=r[o[u]]);return e},a={small:8,middle:16,large:24},s=function(c){var e,o=v.useContext(n.b),u=o.getPrefixCls,h=o.space,g=o.direction,A=c.size,w=A===void 0?(h==null?void 0:h.size)||"small":A,x=c.align,C=c.className,T=c.children,O=c.direction,S=O===void 0?"horizontal":O,_=c.prefixCls,L=t(c,["size","align","className","children","direction","prefixCls"]),D=v.Children.count(T);if(D===0)return null;var F=x===void 0&&S==="horizontal"?"center":x,j=u("space",_),k=l()(j,"".concat(j,"-").concat(S),(e={},p()(e,"".concat(j,"-rtl"),g==="rtl"),p()(e,"".concat(j,"-align-").concat(F),F),e),C),K="".concat(j,"-item"),Z=g==="rtl"?"marginLeft":"marginRight";return v.createElement("div",m()({className:k},L),v.Children.map(T,function(B,V){return v.createElement("div",{className:K,key:"".concat(K,"-").concat(V),style:V===D-1||B===null||B===void 0?{}:p()({},S==="vertical"?"marginBottom":Z,typeof w=="string"?a[w]:w)},B)}))};R.a=s},zoYe:function(U,R,i){var y=i("nmnc"),m=i("eUgh"),E=i("Z0cm"),p=i("/9aa"),v=1/0,f=y?y.prototype:void 0,d=f?f.toString:void 0;function l(n){if(typeof n=="string")return n;if(E(n))return m(n,l)+"";if(p(n))return d?d.call(n):"";var t=n+"";return t=="0"&&1/n==-v?"-0":t}U.exports=l},zs7G:function(U,R,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DoubleRightOutlined";var d=R.a=m.forwardRef(f)},zuHt:function(U,R,i){var y=i("bYtY");function m(E){var p={};E.eachSeriesByType("map",function(v){var f=v.getMapType();if(v.getHostGeoModel()||p[f])return;var d={};y.each(v.seriesGroup,function(n){var t=n.coordinateSystem,a=n.originalData;n.get("showLegendSymbol")&&E.getComponent("legend")&&a.each(a.mapDimension("value"),function(s,r){var c=a.getName(r),e=t.getRegion(c);if(!e||isNaN(s))return;var o=d[c]||0,u=t.dataToPoint(e.center);d[c]=o+1,a.setItemLayout(r,{point:u,offset:o})})});var l=v.getData();l.each(function(n){var t=l.getName(n),a=l.getItemLayout(n)||{};a.showLabel=!d[t],l.setItemLayout(n,a)}),p[f]=!0})}U.exports=m}}]);
|